﻿@charset "UTF-8";
:root {
  --primary: #2D6BAC;
  --secondary: #FAAD14;
}

a {
    text-decoration:none;
    color:#333
}
/* 固定比例 */
[class*="wy-ratio-"] {
  width: 100%;
  height: 0;
  overflow: hidden;
  position: relative;
}

[class*="wy-ratio-"] > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wy-ratio-4-3 {
  padding-bottom: calc(100% / 4 * 3);
}

/* 页面流 */
body {
  background-color: #f5f5f5;
}

header {
  width: 100%;
  background-color: #fff;
}

.head {
  margin: 0 auto;
}

.head .logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.head .nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.head .nav-ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  text-align: center;
}

.head .nav-ul .nav-li {
  position: relative;
  flex-basis: 80px;
  margin-left: 10px;
}

.head .nav-ul .nav-li::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  translate: -50%;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
  transition: all 0.3s;
}

.head .nav-ul .nav-li:hover, .head .nav-ul .nav-li.active {
  color: var(--primary);
  cursor: pointer;
}

.head .nav-ul .nav-li:hover::after, .head .nav-ul .nav-li.active::after {
  width: 80%;
}

.head .nav-ul .nav-li.active {
  color: var(--primary);
}

.head .nav-ul .nav-li.active::after {
  width: 80%;
}

.head .nav-m {
  width: 32px;
  height: 32px;
}

.head .nav-m-box {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

.head .nav-m-box .nav-m-ul {
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.head .nav-m-box .nav-li {
  position: relative;
  text-align: center;
  margin: 10px 0;
  background-color: #e1ecf7;
  border: 1px solid var(--primary);
  width: 40%;
  transition: all 0.3s;
  -ms-flex: 0 0 60px;
  flex: 0 0 60px;
  max-height: 60px;
  line-height: 60px;
}

.head .nav-m-box .nav-li::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  translate: -50%;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--primary);
  transition: all 0.3s;
}

.head .nav-m-box .nav-li:hover, .head .nav-m-box .nav-li.active {
  color: var(--primary);
  cursor: pointer;
  background-color: #fff;
}

.head .nav-m-box .nav-li:hover::after, .head .nav-m-box .nav-li.active::after {
  width: 50%;
}

.head .nav-m-box .nav-m-tips {
  position: absolute;
  left: 50%;
  bottom: 5%;
  font-size: 14px;
  color: #999;
  translate: -50%;
}

/* banner */
.bannerSwiper {
  --swiper-theme-color: $primary;
  width: 100%;
  height: 100%;
}

.bannerSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
}

.bannerSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bannerSwiper .swiper-pagination-bullet-active {
  background-color: var(--secondary);
}

.bannerSwiper .swiper-button-prev:after,
.bannerSwiper .swiper-button-next:after {
  font-size: 24px;
  color: #fff;
  line-height: 1;
}

/* 关于我们 */
.about {
  width: 100%;
  margin: 0 auto;
}

.about-head {
  margin: 0 auto 30px;
  text-align: center;
}

.about-head img {
  width: 187px;
  height: 27px;
  margin-bottom: 10px;
}

.about-head .subtitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
}

.about-head .subtitle::before, .about-head .subtitle::after {
  content: '';
  width: 30px;
  height: 1px;
  background-color: #999;
  margin: 10px;
}

.about-body .facade {
  width: 100%;
  flex-basis: 50%;
}

.about-body .facade > div {
  overflow: hidden;
  border-radius: 16px;
}

.about-body .introduce {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-basis: 50%;
  text-indent: 30px;
}

.about-body button {
  width: 157px;
  height: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 5px;
  transition: all .3s;
  cursor: pointer;
}

.about-body button:hover {
  background-color: var(--secondary);
  color: #fff;
}

/* 产品服务 */
.project-service {
  background-color: var(--primary);
}

.service {
  width: 100%;
  margin: 0 auto;
}

.service-head {
  margin: 0 auto 30px;
  text-align: center;
}

.service-head img {
  width: 332px;
  height: 27px;
  margin-bottom: 10px;
}

.service-head .subtitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.service-head .subtitle::before, .service-head .subtitle::after {
  content: '';
  width: 30px;
  height: 1px;
  background-color: #999;
  margin: 10px;
}

.service-head .tips {
  font-size: 14px;
  color: #fff;
  margin-top: 12px;
}

.service-body {
  position: relative;
}

.service-body .serviceSwiper {
  --swiper-theme-color: $primary;
  width: 100%;
  height: 100%;
}

.service-body .serviceSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

.service-body .serviceSwiper .swiper-slide figcaption {
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  color: #333;
  text-align: center;
  background-color: #fff;
  padding: 0 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  transition: all .3s;
}

.service-body .serviceSwiper .swiper-slide:hover {
  cursor: pointer;
}

.service-body .serviceSwiper .swiper-slide:hover figcaption {
  color: #fff;
  background-color: var(--secondary);
}

.service-body [class^="swiper-button"] {
  width: unset;
  height: unset;
  margin: 0;
}

.service-body [class^="swiper-button"]::after {
  content: '';
  background-size: cover;
  background-repeat: no-repeat;
}

.service-body .swiper-button-prev::after {
  background-image: url(/images/prev.png);
}

.service-body .swiper-button-next::after {
  background-image: url(/images/next.png);
}

.service-body button {
  width: 157px;
  height: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  border: 1px solid #fff;
  border-radius: 100px;
  margin: 30px auto 0;
  transition: all .3s;
  cursor: pointer;
}

.service-body button:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* 工程案例 */
.showcase {
  width: 100%;
  margin: 0 auto;
}

.showcase-head {
  margin: 0 auto 30px;
  text-align: center;
}

.showcase-head img {
  width: 274px;
  height: 26px;
  margin-bottom: 10px;
}

.showcase-head .subtitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333;
}

.showcase-head .subtitle::before, .showcase-head .subtitle::after {
  content: '';
  width: 30px;
  height: 1px;
  background-color: #999;
  margin: 10px;
}

.showcase-head .tips {
  font-size: 14px;
  color: #999;
  margin-top: 12px;
}

.showcase-body .showcaseSwiper {
  --swiper-theme-color: $primary;
  width: 100%;
  height: 100%;
}

.showcase-body .showcaseSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

.showcase-body .showcaseSwiper .swiper-slide figcaption {
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  color: #333;
  text-align: center;
  background-color: #fff;
  padding: 0 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  transition: all .3s;
}

.showcase-body .showcaseSwiper .swiper-slide:hover {
  cursor: pointer;
}

.showcase-body .showcaseSwiper .swiper-slide:hover figcaption {
  color: #fff;
  background-color: var(--secondary);
}

.showcase-body button {
  width: 157px;
  height: 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  border: 1px solid #fff;
  border-radius: 100px;
  margin: 30px auto 0;
  transition: all .3s;
  cursor: pointer;
}

.showcase-body button:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

/* 底部 */
footer {
  background-color: #222222;
}

.foot {
  padding: 30px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.foot .foot-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.foot .tel-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.foot .tel-top img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.foot .tel-top .tips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
}

.foot .tel-top .tips span {
  font-size: 18px;
  color: #fff;
  line-height: 1.5;
}

.foot .tel-top .tips .telephone {
  font-size: 28px;
  color: #fff;
}

.foot .address {
  margin-top: 10px;
}

.foot .address p {
  font-size: 14px;
  color: #999;
  line-height: 2.2;
}

.foot .foot-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.foot .wechat {
  margin-right: 20px;
}

.foot .wechat img {
  width: 100px;
  height: 100px;
}

.foot .wechat figcaption {
  font-size: 14px;
  color: #999;
  line-height: 2;
  text-align: center;
  padding: 0 10px;
}

.foot .official-account img {
  width: 100px;
  height: 100px;
}

.foot .official-account figcaption {
  font-size: 14px;
  color: #999;
  line-height: 2;
  text-align: center;
  padding: 0 10px;
}

.copy-right {
  padding: 10px;
  margin: 0 auto;
  text-align: center;
  background-color: #191919;
  font-size: 14px;
  color: #999;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 媒体查询 */
@media (max-width: 639px) {
  .about,
.service,
.showcase,
.foot {
    padding: 20px 10px;
  }
  .tel-top,
.nav-ul {
    display: none !important;
  }
  .head {
    padding: 8px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .head .logo {
    max-width: 50vw;
    margin-right: 5px;
  }
  .head .nav {
    align-self: center;
  }
  .about-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .facade {
    margin: 0 auto;
  }
  .facade img {
    width: 100%;
  }
  .introduce {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
  }
  .introduce button {
    margin: 10px auto;
  }
  .service-body [class^="swiper-button"] {
    display: none;
  }
  .foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 640px) and (max-width: 868px) {
  .head,
.about,
.service,
.showcase,
.foot {
    padding: 20px 10px;
  }
  .tel-top,
.nav-ul {
    display: none !important;
  }
  .head {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .head .logo {
    max-width: 30vw;
    margin-right: 10px;
  }
  .facade {
    margin: 0 auto;
  }
  .facade img {
    width: 100%;
  }
  .introduce {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-top: 20px;
  }
  .introduce button {
    margin: 20px auto;
  }
  .project-service [class^="swiper-button"]::after {
    width: 30px;
    height: 36px;
  }
  .project-service .swiper-button-prev {
    translate: 0 -100%;
  }
  .project-service .swiper-button-next {
    translate: 0 -100%;
  }
}

@media (min-width: 869px) {
  .head,
.about,
.service,
.showcase,
.foot {
    padding: 20px 10px;
  }
  .tel-top,
.nav-m {
    display: none;
  }
  .head {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .head .logo {
    max-width: 30vw;
    margin-right: 10px;
  }
  .about-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
  }
  .facade {
    max-width: 600px;
    margin-right: 30px;
  }
  .introduce {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
  }
  .introduce button {
    margin: 20px 0;
  }
  .project-service [class^="swiper-button"]::after {
    width: 30px;
    height: 36px;
  }
  .project-service .swiper-button-prev {
    translate: 0 -100%;
  }
  .project-service .swiper-button-next {
    translate: 0 -100%;
  }
}

@media (min-width: 1200px) {
  .head,
.about,
.service,
.showcase,
.foot {
    max-width: 1220px;
    padding: 50px 10px;
  }
  .head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 10px;
  }
  .head .logo {
    max-width: 402px;
    margin-right: 20px;
  }
  .head .nav {
    align-self: stretch;
  }
  .head .tel-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .head .tel-top img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
  .facade {
    max-width: 600px;
    margin-right: 60px;
  }
  .introduce {
    font-size: 16px;
    color: #666;
    line-height: 2.5;
  }
  .project-service [class^="swiper-button"]::after {
    width: 65px;
    height: 78px;
  }
}

@media (min-width: 1400px) {
  .project-service .swiper-button-prev {
    translate: -85px -100%;
  }
  .project-service .swiper-button-next {
    translate: 85px -100%;
  }
}

/* 右侧客服 */
.right-bar {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 10;
}

.right-bar ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
}

.right-bar li {
  position: relative;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background-color: #2D6BAC;
  margin-top: 2px;
  margin-bottom: 2px;
  opacity: 0.8;
  transition: all .5s;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.right-bar li:hover {
  opacity: 1;
  cursor: pointer;
  background-color: #FAAD14;
}

.right-bar li > img {
  width: 24px;
  height: 24px;
  margin: 8px 10px;
}

.right-bar li > span {
  color: #FFF;
  font-size: 14px;
  margin-right: 10px;
}

.rtbar-tel {
  position: relative;
  width: max-content;
}

.rtbar-wechat:hover .rtbar-ewm {
  display: block;
}

.rtbar-ewm {
  display: none;
  position: absolute;
  right: 120%;
}

.rtbar-ewm img {
  width: 132px;
  height: 132px;
  padding: 5px;
  border: 1px solid #2D6BAC;
  border-radius: 5px;
  background-color: #FFF;
}
