main .banner {
  padding: 2.4% 9%;
  position: relative;
}
main .banner img {
  width: 100%;
}
main .banner .sp1 {
  position: absolute;
  top: 29%;
  left: 11%;
  color: #ed1c24;
  font-family: 思源黑体 CN;
  font-size: 1.75rem;
  font-weight: 700;
}
main .banner .sp2 {
  width: 35%;
  position: absolute;
  top: 43%;
  left: 11%;
  color: #ffffff;
  font-family: 思源黑体 CN;
  font-size: 1.625rem;
}
main .about {
  padding: 2.4% 11.25%;
  display: flex;
  flex-direction: column;
  background: url(../imgs/about-p.png) no-repeat 93.75% center;
  background-size: 20.875rem 19.375rem;
  font-size: 1rem;
}
main .about .sp1 {
  color: #000000;
  font-family: 思源黑体 CN;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 2.25rem;
}
main .about .sp2 {
  /* text-align: justify; */
  font-size: 1.2rem;
  width: 85%;
  line-height: 1.75;
}
main .about .sp3 {
  color: #f89602;
}
main .card {
  padding: 2.4% 9%;
  display: flex;
  justify-content: space-between;
}
main .card .one {
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 27%;
  background: url("../imgs/card1.png") center / cover no-repeat;
  color: #fff;
  padding: 2.625rem;
}
main .card .one .sp1 {
  z-index: 9999;
  color: #ffffff;
  font-family: Avenir;
  font-size: 2.625rem;
}
main .card .one .sp2 {
  z-index: 9999;
  color: #ffffff;
  font-family: 思源黑体 CN;
  font-size: 1.5rem;
  margin-bottom: 8.9375rem;
}
main .card .one .sp3 {
  z-index: 9999;
  color: #ffffff;
  font-family: 思源黑体 CN;
  font-size: 1.5rem;
}
main .card .one::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ed1c24e6;
  /* 设置半透明的黑色蒙版 */
  opacity: 1;
  /* 初始透明度为0 */
  transition: background 0.3s ease;
  /* 添加过渡效果 */
}
main .card .one:hover::after {
  background: rgba(0, 0, 0, 0.9);
  opacity: 0.5;
  /* 鼠标移入时设置透明度为1，显示蒙版 */
}
main .card .two {
  background: url("../imgs/card2.png") center / cover no-repeat;
}
main .card .three {
  background: url("../imgs/card3.png") center / cover no-repeat;
}
main .aptitude {
  padding: 2.4% 9%;
  position: relative;
}
main .aptitude .title {
  padding-left: 2.25%;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
main .aptitude .title .sp1 {
  z-index: 9999;
  color: #282c30;
  font-family: 思源黑体 CN;
  font-size: 1.75rem;
}
main .aptitude .title .pr1 {
  height: 0.25rem;
  border-radius: 2.1875rem;
  background-color: #e6e6e6;
}
main .aptitude .title .pr1 .swiper-scrollbar-drag {
  background-color: #ed1c24;
  position: relative;
}
main .aptitude .title .pr1 .swiper-scrollbar-drag::after {
  content: "";
  position: absolute;
  left: -1000%;
  width: 1000%;
  height: 100%;
  background-color: #ed1c24;
}
main .aptitude .title .pr1 .swiper-scrollbar-drag::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: white url("../imgs/path.png") no-repeat center / 50%;
  border: 0.125rem solid #ed1c24;
  transform: translateY(-50%);
  border-radius: 100%;
}
main .aptitude .title .pr2 {
  height: 0.25rem;
  border-radius: 2.1875rem;
  background-color: #e6e6e6;
}
main .aptitude .title .pr2 .swiper-scrollbar-drag {
  background-color: #ed1c24;
  position: relative;
}
main .aptitude .title .pr2 .swiper-scrollbar-drag::after {
  content: "";
  position: absolute;
  left: -1000%;
  width: 1000%;
  height: 100%;
  background-color: #ed1c24;
}
main .aptitude .title .pr2 .swiper-scrollbar-drag::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: white url("../imgs/path.png") no-repeat center / 50%;
  border: 0.125rem solid #ed1c24;
  transform: translateY(-50%);
  border-radius: 100%;
}
main .aptitude .sp2 {
  margin-left: 2.25%;
  color: #282c30;
  font-family: 思源黑体 CN;
  font-size: 1.25rem;
  font-weight: 400;
}
main .aptitude .Overlay {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  background-color: #fff;
}
main .certificate {
  margin-left: 9%;
  margin-right: 9%;
}
main .certificate .swiper-slide {
  height: 37rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  cursor: zoom-in;
}
main .certificate .swiper-slide img {
  margin: auto;
}
main .certificate .swiper-slide span {
  display: none;
  margin-top: 16px;
  font-size: 16px;
}
main .certificatetwo {
  background: url("../imgs/xian.png") no-repeat;
  margin-left: 9%;
  margin-right: 9%;
  padding-bottom: 5%;
}
main .certificatetwo .swiper-slide {
  height: 37rem;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  flex-direction: column;
}
main .certificatetwo .swiper-slide img {
  margin: auto;
}
main .certificatetwo .swiper-slide span {
  display: none;
  margin-top: 16px;
  font-size: 16px;
}
main .environment {
  padding: 2.4% 9%;
  padding-bottom: 3%;
}
main .environment .img {
  position: relative;
  margin-bottom: 1.25rem;
}
main .environment .img img {
  width: 100%;
}
main .environment .img .sp1 {
  position: absolute;
  bottom: 40%;
  left: 11%;
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 700;
}
main .environment .imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
main .environment .imgs img {
  width: 31%;
  margin-bottom: 1.8rem;
  margin-top: 1.8rem;
}
/* 窗口宽度<960,设计宽度=768 */
@media screen and (max-width: 959px) {
  main .banner {
    padding: 0;
    height: 150px;
  }
  main .banner img {
    height: 100%;
  }
  main .banner .sp1 {
    font-size: 14px;
    top: 20%;
  }
  main .banner .sp2 {
    top: 45%;
    width: auto;
    font-size: 18px;
  }
  main .about .sp1 {
    font-size: 18px;
  }
  main .about .sp2 {
    font-size: 16px;
    width: auto;
  }
  main .card {
    overflow: hidden;
    flex-direction: column;
  }
  main .card .one {
    width: 100%;
    padding: 0;
    margin-bottom: 5%;
  }
  main .card .one .sp1,
  main .card .one .sp2,
  main .card .one .sp3 {
    margin-left: 5%;
    font-size: 16px;
  }
  main .card .one .sp1 {
    margin-top: 5%;
  }
  main .card .one .sp2 {
    margin-top: 5%;
    margin-bottom: 5%;
  }
  main .card .one .sp3 {
    margin-bottom: 5%;
    font-size: 18px;
  }
  main .aptitude .title .sp1 {
    margin: auto;
    font-size: 18px;
  }
  main .aptitude .title .pr1 {
    display: none;
  }
  main .aptitude .title .pr2 {
    display: none;
  }
  main .certificate .swiper-slide {
    height: 255px;
  }
  main .certificate .swiper-slide img {
    height: 75%;
    object-fit: contain;
  }
  main .certificatetwo .swiper-slide {
    height: 255px;
  }
  main .certificatetwo .swiper-slide img {
    height: 75%;
    object-fit: contain;
  }
  main .environment .img {
    height: 100px;
  }
  main .environment .img img {
    height: 100%;
  }
  main .environment .img .sp1 {
    font-size: 18px;
  }
  main .environment .imgs img {
    width: 48.5%;
  }
}
