@media (max-width: 768px) {
  html {
    font-size: calc(100vw / 18);
  }
}
@media (min-width: 768px) and (max-width: 1358.99px) {
  html {
    font-size: calc(100vw / 19.5);
  }
}
@media (min-width: 1359px) and (max-width: 1401.99px) {
  html {
    font-size: calc(100vw / 19.2);
  }
}
@media (min-width: 1402px) and (max-width: 1681.99px) {
  html {
    font-size: calc(100vw / 18.8);
  }
}
@media (min-width: 1682px) and (max-width: 1921.99px) {
  html {
    font-size: calc(100vw / 19.2);
  }
}
@media (min-width: 1922px) and (max-width: 4000px) {
  html {
    font-size: calc(100vw / 25.6);
  }
}
/* 手机 */
@media (max-width: 768px) {
  /* banner */
  .banner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner .con {
    position: relative;
    height: 10rem;
  }
  .banner .sabuubanner .con .mySwiper_banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    overflow: hidden;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide {
    width: 100% !important;
    position: relative;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde {
    width: 100%;
    height: 10rem;
    overflow: hidden;
    position: relative;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    transition: 0.8s linear 1s;
    transform: scale(1);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1a74c5, #1a75c5af, #4495e100);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 {
    position: absolute;
    top: 5.33333333rem;
    width: 100%;
    margin: 0 auto;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 h3 {
    width: 100%;
    font-size: 0.93333333rem;
    color: #fff;
    text-align: center;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-duplicate-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con1 {
    display: none;
  }
  /* 企业资质 */
  .qyzz {
    width: 100%;
    height: 100%;
    padding: 10% 5%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .qyzz .w-1320 {
    width: 100%;
    margin: 0 auto;
  }
  .qyzz .w-1320 .qyzzlist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.66666667rem;
  }
  .qyzz .w-1320 .qyzzlist .itemlist {
    width: 47.9%;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0.33333333rem;
    padding: 0.66666667rem 0;
    box-shadow: 0 0.13333333rem 0.33333333rem 0 #33333323;
    transition: all 0.5s;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a {
    display: block;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a .imgshcuan {
    width: 100%;
    height: 8rem;
    margin: 0 auto;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a .imgshcuan img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a .caosic {
    padding: 0.66666667rem 6% 0;
    text-align: center;
    font-size: 0.53333333rem;
    color: #000;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
/* pc */
@media (min-width: 768px) {
  /* banner */
  .banner {
    width: 100%;
    height: 7rem;
  }
  .banner .sabuubanner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner .con {
    position: relative;
    height: 100%;
    /* ✅ 不再重复 100vh，跟随父级 */
  }
  .banner .sabuubanner .con .mySwiper_banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ✅ 跟随父级一屏 */
    overflow: hidden;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper {
    height: 100%;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide {
    width: 100% !important;
    height: 100%;
    position: relative;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde {
    width: 100%;
    height: 7rem;
    overflow: hidden;
    position: relative;
    z-index: 10;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 100%;
    transition: 0.8s linear 1s;
    transform: scale(1);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1a74c5, #1a75c5af, #4495e100);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 {
    position: absolute;
    z-index: 25;
    /* ✅ 关键：top 不能固定 450rem，必须随屏幕高度变化且保证装得下 */
    top: clamp(3.2rem, 38vh, 3.2rem);
    width: 100%;
    margin: 0 auto;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 h3 {
    text-align: center;
    width: 100%;
    font-size: 0.55rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-duplicate-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con1 {
    display: none;
  }
  /* 企业资质 */
  .qyzz {
    width: 100%;
    height: 100%;
    padding: 1.1rem 0;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .qyzz .w-1320 {
    width: 13.2rem;
    margin: 0 auto;
  }
  .qyzz .w-1320 .qyzzlist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .qyzz .w-1320 .qyzzlist .itemlist {
    width: 23.2%;
    overflow: hidden;
    background-color: #fff;
    border-radius: 0.12rem;
    padding: 0.25rem 0 0.15rem;
    box-shadow: 0 0.05rem 0.1rem 0 #33333323;
    transition: all 0.5s;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a {
    display: block;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a .imgshcuan {
    width: 2.5rem;
    height: 3rem;
    margin: 0 auto;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a .imgshcuan img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .qyzz .w-1320 .qyzzlist .itemlist a .caosic {
    padding: 0.2rem 0.2rem 0.05rem;
    text-align: center;
    font-size: 0.14rem;
    color: #000;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .qyzz .w-1320 .qyzzlist .itemlist:hover {
    transform: translateY(-0.05rem);
    box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.15);
    transition: all 0.5s;
  }
}
