@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;
    transition: all 0.5s;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde {
    width: 100%;
    height: 10rem;
    overflow: hidden;
  }
  .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 .cjaioso {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    z-index: 12;
    top: 4.66666667rem;
    text-align: center;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .cjaioso p {
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0.06666667rem -0.06666667rem 0.33333333rem #000000d0;
    margin-bottom: 0.33333333rem;
    font-weight: 200;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .cjaioso h3 {
    font-size: 1.06666667rem;
    color: #fff;
    text-shadow: 0.06666667rem -0.06666667rem 0.33333333rem #000000d0;
    letter-spacing: 0.13333333rem;
    font-weight: 500;
  }
  .banner .sabuubanner .con1 {
    display: none;
  }
  /* 家长好评 */
  .jzhp {
    width: 100%;
    height: 100%;
    padding: 10% 5%;
  }
  .jzhp .w-1520 {
    width: 100%;
    margin: 0 auto;
  }
  .jzhp .w-1520 .titlejei {
    width: 100%;
    margin-bottom: 1.33333333rem;
  }
  .jzhp .w-1520 .titlejei h3 {
    font-size: 0.8rem;
    color: #000;
    margin-bottom: 0.66666667rem;
  }
  .jzhp .w-1520 .titlejei .shansaucu {
    font-size: 0.53333333rem !important;
    color: #000 !important;
    font-family: '微软雅黑' !important;
    line-height: 1.8 !important;
    font-weight: 200 !important;
  }
  .jzhp .w-1520 .titlejei .shansaucu * {
    width: 100%;
    font-weight: 200 !important;
    font-size: 0.53333333rem !important;
    color: #000 !important;
    font-family: '微软雅黑' !important;
    line-height: 1.8 !important;
  }
  .jzhp .w-1520 .haopinglist {
    width: 100%;
  }
  .jzhp .w-1520 .haopinglist .listsuaucb {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .jzhp .w-1520 .haopinglist .listsuaucb .asncianli {
    width: 43%;
    height: 13.33333333rem;
  }
  .jzhp .w-1520 .haopinglist .listsuaucb .asncianli img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.33333333rem;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi a {
    display: none;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi .shouiduan {
    display: block;
    width: 100%;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi .shouiduan i {
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 2.33333333rem auto 0;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi .shouiduan i .icon {
    display: block;
    /* 关键：让 transform 生效更稳定 */
    animation: floatY 2s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
    width: 1rem;
    height: 1rem;
    fill: #f5ca60;
  }
  @keyframes floatY {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-0.8rem);
    }
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi .shouiduan p {
    display: none;
    width: 100%;
    text-align: center;
    font-size: 0.53333333rem;
    color: #999;
    margin-top: 1.33333333rem;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi .shouiduan.is-done p {
    display: block;
  }
}
/* pc */
@media (min-width: 768px) {
  /* banner */
  .banner {
    width: 100%;
    height: 9.5rem;
  }
  .banner .sabuubanner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner .con {
    position: relative;
    height: 100%;
  }
  .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: 100%;
    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: bottom;
    min-height: 100%;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .cjaioso {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    z-index: 12;
    top: 4rem;
    text-align: center;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .cjaioso p {
    font-size: 0.36rem;
    color: #fff;
    text-shadow: 0.01rem -0.01rem 0.05rem #000000d0;
    margin-bottom: 0.2rem;
    font-weight: 200;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .cjaioso h3 {
    font-size: 0.6rem;
    color: #fff;
    text-shadow: 0.01rem -0.01rem 0.05rem #000000d0;
    letter-spacing: 0.02rem;
    font-weight: 500;
  }
  .banner .sabuubanner .con1 {
    display: none;
  }
  /* 家长好评 */
  .jzhp {
    width: 100%;
    height: 100%;
    padding: 1.1rem 0;
  }
  .jzhp .w-1520 {
    width: 15.2rem;
    margin: 0 auto;
  }
  .jzhp .w-1520 .titlejei {
    width: 100%;
    margin-bottom: 0.8rem;
  }
  .jzhp .w-1520 .titlejei h3 {
    font-size: 0.36rem;
    color: #000;
    margin-bottom: 0.3rem;
  }
  .jzhp .w-1520 .titlejei .shansaucu {
    font-size: 0.24rem !important;
    color: #000 !important;
    font-family: '微软雅黑' !important;
    line-height: 1.8 !important;
    font-weight: 200 !important;
  }
  .jzhp .w-1520 .titlejei .shansaucu * {
    width: 100%;
    font-weight: 200 !important;
    font-size: 0.24rem !important;
    color: #000 !important;
    font-family: '微软雅黑' !important;
    line-height: 1.8 !important;
  }
  .jzhp .w-1520 .haopinglist {
    width: 100%;
  }
  .jzhp .w-1520 .haopinglist .listsuaucb {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
  }
  .jzhp .w-1520 .haopinglist .listsuaucb .asncianli {
    width: 4.1rem;
    height: 8.2rem;
  }
  .jzhp .w-1520 .haopinglist .listsuaucb .asncianli img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
    margin-top: 1rem;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi .shouiduan {
    display: none;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi a {
    display: block;
    font-size: 0.14rem;
    padding: 0.05rem 0.22rem;
    color: #333;
    text-align: center;
    line-height: 1.8;
    border: 0.01rem solid #ffffff00;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.1rem 0 #3333333e;
    transition: all 0.5s;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi a .icon {
    display: block;
    width: 0.2rem;
    height: 0.2rem;
    fill: #000;
  }
  .jzhp .w-1520 .haopinglist .fenyezhuanshi a.active {
    background-color: #f5ca60;
    color: #fff;
    border: 0.03rem solid #fff;
  }
}
