.fw1 {
  padding: 2rem 0 4rem;
}
.fw1 ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 14px;
}
.fw1 ul li {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 0.4rem;
}
.fw1 ul li:hover {
  color: var(--c1);
  border-image: linear-gradient(90deg, var(--c1) 0%, var(--c2));
  border-image-slice: 1;
}
.fw1 ul li:hover span {
  transition: all 1s ease;
  transform: perspective(800px) rotateY(360deg);
  -webkit-transform: perspective(800px) rotateY(360deg);
  -moz-transform: perspective(800px) rotateY(360deg);
}
.fw1 ul li h1 {
  font-size: 24px;
  margin: 10px auto;
}
.fw1 ul li span {
  font-size: 34px;
  border-radius: 100%;
  border: 1px solid var(--c1);
  width: 77px;
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.fw1 ul li p {
  font-size: 14px;
}

#ysbj {
  padding: 5rem 0;
}

#why {
  position: relative;
  margin-top: 3%;
}
#why .swiper-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0 10px 10px;
}
#why .swiper-slide {
  text-align: left;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  background: url('../img/yspic_bj.jpg') no-repeat right top;
  background-size: 100% 100%;
  padding: 3%;
  /* Center slide text vertically */
  flex-direction: column;
  display: flex;
  justify-content: center;
}
#why .swiper-slide:before {
  position: absolute;
  left: -50px;
  bottom: -50px;
  content: '';
  width: 100%;
  height: 100%;
  background: url('../img/yspic_bj1.png') no-repeat left bottom;
  background-size: 100%;
  opacity: 0;
  transition: 0.5s;
}
#why .swiper-slide:hover {
  background: var(--c1);
  box-shadow: 10px 10px 0 #1770455c;
}
#why .swiper-slide:hover:before {
  opacity: 1;
  left: 0;
  bottom: 0;
}

#why .swiper-slide .num {
  color: #000000;
  font-family: 'shuzi';
  font-size: 36px;
  position: relative;
  padding-left: 35px;
  transition: 0.3s;
}
#why .swiper-slide .num:before {
  position: absolute;
  left: 0;
  bottom: 3px;
  content: '';
  width: 30px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}
#why .swiper-slide .pic {
  width: 79px;
  height: 79px;
  overflow: hidden;
  margin-top: 20%;
}
#why .swiper-slide .pic img {
  margin-left: 0;
  transition: 0.3s;
  filter: sepia(0) hue-rotate(163deg) saturate(1);
}
#why .swiper-slide:hover .pic img {
  margin-left: -79px;
}
#why .swiper-slide h3 {
  color: #2a2a2a;
  font-size: 24px;
  font-weight: bold !important;
  margin: 14% 0 7% !important;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}
#why .swiper-slide p {
  color: #666666;
  font-size: 16px;
  position: relative;
  z-index: 1;
  transition: 0.3s;
  min-height: 120px;
}
#why .swiper-slide:hover h3,
#why .swiper-slide:hover p {
  color: #fff;
}
#why .swiper-slide:hover .num {
  color: #fff;
  padding-left: 0;
}
#why .swiper-slide:hover .num:before {
  background: #fff;
  width: 0;
}

/* 标题 */
.tit_in {
  text-align: center;
  line-height: 40px;
}
.tit_in span {
  color: var(--c1);
  font-size: 18px;
  text-transform: uppercase;
}
.tit_in h3 {
  color: #303030;
  font-size: 40px;
  font-weight: bold !important;
  text-transform: uppercase;
}
.tit_in p {
  color: #666666;
  font-size: 16px;
  line-height: 24px;
}

.hui {
  padding: 3rem 0;
}

.anli {
  position: relative;
}
.anli .swiper-container {
  padding-bottom: 2%;
}
.swiper-container-horizontal > .swiper-scrollbar {
  left: 0;
}
.anli .swiper-slide {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 3% 0;
}
.anli .swiper-slide .pic {
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  position: relative;
  overflow: hidden;
}
.anli .swiper-slide .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 0;
  position: absolute;
  text-align: center;
  transition: 0.5s;
}
.anli .swiper-slide .tit {
  width: 100%;
  padding: 8%;
  background: #fff;
  transition: 0.5s;
}
.anli .swiper-slide .tit p {
  width: 80%;
  color: #303030;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.anli .swiper-slide .tit span {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 100%;
  line-height: 50px;
  background: #f5f5f5;
  transition: 0.3s;
  margin-top: 5%;
}
.anli .swiper-slide .tit span i {
  transform: rotate(-45deg);
  font-size: 20px;
}
.anli .swiper-slide:hover .pic img {
  transform: scale(1.1);
}
.anli .swiper-slide:hover .tit span {
  background: var(--c1);
}
.anli .swiper-slide:hover .tit span i {
  color: #fff;
}

.swiper-horizontal > .swiper-scrollbar {
  height: 5px !important;
  left: 0;
  bottom: 10px;
  background: #e0e0e0;
  z-index: 1 !important;
  width: 100%;
}
.swiper-scrollbar-drag {
  background: var(--c1) !important;
  height: 5px !important;
  margin-top: 0;
}

.gywm {
  background: linear-gradient(rgb(0 0 0 / 49%), rgb(0 0 0 / 0%)), url(../img/bg02.jpg) no-repeat center;
  padding: 5rem 0;
  background-size: cover;
}

.gy1 {
  width: 50%;
}

.gy1 .g_title {
  color: #fff;
  margin-bottom: 1rem;
}

.gy1 .g_title h1 {
  text-transform: uppercase;
}

.gy1 .cont {
  color: #fff;
  margin: 3rem 0 2rem;
  line-height: 1.8rem;
  position: relative;
  padding-top: 20px;
}
.gy1 .cont::after {
  content: '';
  position: absolute;
  left: 0;
  top: -13px;
  background: #fff;
  width: 114px;
  height: 2px;
}

.gy1 a {
  color: #fff;
  background: var(--c1);
  font-size: 20px;
  padding: 10px 36px;
  display: block;
  width: max-content;
  border-radius: 4px;
  margin: 1rem 0;
  transition: all 0.6s;
}

.gy1 a:hover {
  background: #fff;
  color: var(--c1);
}

.shuzi {
  margin-top: 3rem;
}

.shuzi ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px 1px;
}

.shuzi ul li {
  color: #fff;
  text-align: center;
  padding: 2rem 10px;
  background: var(--c1);
  font-size: 18px;
}

.shuzi ul li:nth-child(1),
.shuzi ul li:nth-child(2) {
  background: #f3f3f3;
  color: #000;
}

.shuzi ul li p:nth-child(1) {
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}

.shuzi ul li p:nth-child(1) span {
  font-size: 16px;
}

.cplist {
  padding: 0rem 0 5rem;
}

.cp1 {
  display: block;
  text-align: center;
  border: 1px solid #c5c5c5;
  transition: all 0.6s;
}

.cp1 .tit {
  padding: 10px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.6s;
}

.cp1:hover .tit {
  background: var(--c1);
  color: #fff;
}

@media screen and (max-width: 700px) {
  .SERVICES ul {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .a_title h1,
  .tit_in h3 {
    font-size: 24px;
    margin: 0;
  }

  .a_title h1::after {
    top: 0;
  }

  .gy1 {
    width: 100%;
  }

  .shuzi ul {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }

  #why .swiper-slide h3 {
    font-size: 18px;
    margin: 10px 0 !important;
  }
  .shuzi ul li p:nth-child(1) {
    font-size: 21px;
  }

  #why .swiper-slide p,
  .gy1 .cont,
  .shuzi ul li,
  .tit_in p,
  .cp1 .tit,
  .about1 .cont_text,
  .anli .swiper-slide .tit p,
  .qa-content,
  .c_dz,
  .lys p {
    font-size: 14px !important;
  }
  .lys h2 {
    font-size: 18px;
  }

  .about1 {
    padding-bottom: 0 !important;
  }

  .about1 h2 {
    font-size: 24px !important;
  }

  #why .swiper-slide .pic {
    margin-top: 10%;
  }
  #why .swiper-slide .num {
    margin-top: 1rem;
  }

  #ysbj {
    padding: 3rem 0;
  }

  #why .swiper-slide {
    padding: 7%;
  }

  .cplist {
    padding: 0rem 0px 2rem;
  }
  #why {
    margin-top: 8%;
  }

  .contact {
    margin-top: 2rem !important;
  }
}
