/* 设置根字体大小(rem基准) */
html {
  font-size: 18px;
}
@media screen and (max-width: 1714.28571429px) {
  html {
    font-size: calc(100vw * 10 / 1200px * 0.7);
  }
}
.center {
  width: 65%;
  max-width: 1200px;
  min-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
  /* 响应式处理 */
  transition: width 0.3s ease-in-out;
}
@media screen and (max-width: 1200px) {
  .center {
    width: 80%;
    min-width: unset;
  }
}
@media (max-width: 630px) {
  html,
  body {
    min-width: 630px;
    overflow-x: auto;
  }
}
/* 可选：添加CSS层面的限制（与JavaScript中的min/max对应） */
html {
  font-size: clamp(12px, 1.6vw, 20px);
  /* 作为备用方案 */
}
.body {
  width: 100%;
  background-color: #fff;
}
.banner {
  position: relative;
  height: 28rem;
  margin: 0 auto;
  overflow: hidden;
  /*
    .arrow{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        .px2rem(42, font-size);
        z-index: 100;
        color: #fff;
        cursor: pointer;
        

    }
    .left{
        .px2rem(28, left);
    }
    .right{
        .px2rem(28, right);
    }


    .slider{
        height: 100%;
        display: flex;
        transition: transform 0.5s ease-in-out;
       
        .slide{
            min-width: 100%;
            height: 100%;
         
        }
    }
    .xuangou{
        position: absolute;
        .px2rem(125, bottom);
        .px2rem(@center-percent*5.3%, left);
        .px2rem(210, width);
        .px2rem(60px, height);
        background-color: #fbfcfe;
        text-align: center;
        .px2rem(60, line-height);
        color: #666666;
        .px2rem(30, font-size);
        .px2rem(28, border-radius);
        cursor: pointer;
    }

    .buttons{
        position: absolute;
        .px2rem(37, bottom);
        left: 50%;
        transform: translateX(-50%);

        .btn{
            float: left;
            cursor: pointer;
            .px2rem(68, width);
            .px2rem(8, height);
            background-color: #f0f5fd;
            .px2rem(4, border-radius);
            margin: 0 .3rem;
        }
        .on{
            background-color: #ffffff;
        }
            
    }*/
}
.banner .carousel-item img {
  width: 100%;
  height: 28rem;
}
#carouselExampleIndicators .carousel-control-prev-icon,
#carouselExampleIndicators .carousel-control-next-icon {
  width: 1.55555556rem;
  height: 1.55555556rem;
}
.product {
  overflow: hidden;
}
.same-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 7.5rem;
  width: 100%;
}
.same-head .zhongwen {
  color: #333333;
  font-size: 1.66666667rem;
}
.same-head .line {
  background-color: #c3272b;
  width: 0.11111111rem;
  height: 1.77777778rem;
  margin-left: 0.72222222rem;
  margin-right: 1.27777778rem;
}
.same-head .yingwen {
  color: #dbdbdb;
  font-size: 1.33333333rem;
}
.pro-body {
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  overflow: hidden;
  margin-bottom: 2.22222222rem;
}
.pro-body .pro-item {
  cursor: pointer;
  width: 15.5%;
  margin-right: 1.11%;
  border: solid rgba(195, 39, 43, 0);
  border-width: 0.05555556rem;
  border-radius: 0.38888889rem;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: #f8f8f8;
}
.pro-body .pro-item .name {
  text-align: center;
  color: #000;
  line-height: 3.33333333rem;
  font-size: 1rem;
}
.pro-body .pro-item img {
  width: 100%;
  aspect-ratio: 1 / 0.95;
  /* 强制宽高比1:1 */
  object-fit: cover;
  /* 控制图片显示方式 */
  border-bottom-left-radius: 0.38888889rem;
  border-bottom-right-radius: 0.38888889rem;
}
.pro-body .pro-item:nth-of-type(6n) {
  margin-right: 0;
}
.pro-body .pro-item:hover {
  border-color: rgba(195, 39, 43);
  transition: all 0.5s;
}
.service-box {
  width: 100%;
  height: 38.88888889rem;
  background-color: #fbfbfb;
}
.service {
  height: 100%;
  position: relative;
}
.ser-body {
  height: 25rem;
  background-color: powderblue;
  background: url(../img/ser7.jpg) no-repeat center top;
  background-size: 100% 300px;
  overflow: hidden;
}
.ser-box {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  width: 95%;
}
.ser-item {
  width: 24%;
  border-radius: 7px;
}
.ser-item .icon {
  width: 100%;
  height: 3.72222222rem;
  background-color: #626262;
  text-align: center;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  line-height: 3.72222222rem;
}
.ser-item .ser-on {
  background-color: #bf262a;
}
.ser-item .content {
  position: relative;
  width: 100%;
  height: 17.38888889rem;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  background: url(../img/service2.png) no-repeat;
  background-color: #f7f7f7;
  background-size: auto;
  color: #666666;
  text-align: center;
  overflow: hidden;
  font-size: 0.88888889rem;
}
.ser-item .content .title {
  line-height: 2.77777778rem;
  margin-top: 2.11111111rem;
  margin-bottom: 0.38888889rem;
  font-size: 1.22222222rem;
}
.ser-item .content .option {
  line-height: 1.83333333rem;
}
.ser-item .content .detail {
  position: absolute;
  bottom: 1rem;
  line-height: 2.77777778rem;
  left: 50%;
  transform: translateX(-50%);
}
.ser-item .content .detail a {
  color: #c3272b;
}
.ser-item .content .detail i {
  font-weight: bold;
  font-size: 1rem;
}
.study {
  position: relative;
  padding-bottom: 3.33333333rem;
}
@media screen and (max-width: 1200px) {
  .study .tab-box {
    display: none;
    transition: all 0.3s;
  }
  .study .date {
    display: none;
    transition: all 0.3s;
  }
  .study .stu-list {
    z-index: 500;
  }
}
@media screen and (max-width: 700px) {
  .study .show-name {
    display: none;
    transition: all 0.3s;
  }
}
.study-body {
  display: flex;
  justify-content: space-between;
}
.stu-box {
  position: relative;
  width: 47%;
  height: 22.5rem;
}
.stu-box .stu-wrap {
  width: 100%;
  height: 100%;
  background: url(../img/ketang1.jpg) no-repeat;
  background-size: 100% 100%;
}
.stu-box .stu-wrap .show-name {
  position: absolute;
  top: 2.77777778rem;
  left: 1.77777778rem;
  width: 13.16666667rem;
  line-height: 3.5rem;
  color: #666666;
  font-size: 2.55555556rem;
}
.stu-box img {
  width: 100%;
  height: 100%;
  border-radius: 0.44444444rem;
}
#carouselExampleIndicators2 {
  width: 100%;
  height: 100%;
}
#carouselExampleIndicators2 .carousel-inner {
  width: 100%;
  height: 100%;
}
#carouselExampleIndicators2 .carousel-item {
  width: 100%;
  height: 100%;
  position: relative;
}
#carouselExampleIndicators2 .carousel-item .article-title {
  height: 7.77777778rem;
  width: 20rem;
  overflow: hidden;
  position: absolute;
  right: 5%;
  bottom: 18%;
  box-sizing: border-box;
  font-size: 3.05555556rem;
  line-height: 3.88888889rem;
  color: #666666;
  font-weight: bold;
}
.stu-btns {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: 2.11111111rem;
  bottom: 1.11111111rem;
  font-size: 1rem;
  width: 1.88888889rem;
  height: 1.27777778rem;
  line-height: 1.27777778rem;
  color: #ffffff;
}
.stu-btns .stu-on {
  color: #c84c52;
}
.stu-btns i {
  cursor: pointer;
}
.stu-list {
  height: 100%;
  width: 47%;
  border-bottom: 1px solid #dbdbdb;
}
.stu-list .stu-item {
  display: flex;
  justify-content: flex-start;
  padding-top: 1.66666667rem;
  padding-right: 1.88888889rem;
  height: 9.44444444rem;
  border-top: 1px solid #dbdbdb;
}
.stu-list .stu-item .date {
  width: 5rem;
  height: 5rem;
  border-radius: 0.38888889rem;
  color: #333333;
  margin-right: 1.88888889rem;
}
.stu-list .stu-item .date p {
  margin-left: 1rem;
}
.stu-list .stu-item .date .year {
  line-height: 1.38888889rem;
  margin-top: 1.05555556rem;
  font-size: 0.66666667rem;
}
.stu-list .stu-item .date .month {
  line-height: 1.44444444rem;
  font-size: 0.88888889rem;
}
.stu-list .stu-item .news {
  width: 25.83333333rem;
  height: 100%;
}
.stu-list .stu-item .news .news_tit {
  line-height: 1.66666667rem;
  color: #333333;
  font-size: 1.11111111rem;
  margin-bottom: 0.77777778rem;
}
.stu-list .stu-item .news .news_con {
  line-height: 1.38888889rem;
  font-size: 0.88888889rem;
}
.stu-list .dateon .date {
  background-image: url(../img/ser4.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.study-body {
  display: none;
}
.study-body:first-of-type {
  display: flex;
}
.tab-box {
  position: absolute;
  right: 0;
  top: 3.88888889rem;
  display: flex;
  justify-content: flex-end;
}
.tab-box .tab-opt {
  padding-top: 0rem;
  padding-right: 2.22222222rem;
  padding-bottom: 0rem;
  padding-left: 2.22222222rem;
  line-height: 2.22222222rem;
  font-size: 0.88888889rem;
  color: #666666;
  cursor: pointer;
  margin-left: 2.77777778rem;
}
.tab-box .opton {
  background-color: #c3272b;
  color: #fff;
  border-radius: 1.11111111rem;
}
.tab-box .opton a {
  color: #fff;
}
