@media screen and (min-width: 1921px) {
  html {
    font-size: 5.208vw;
  }

}
@media screen and (max-width: 1920px) {
  html {
    font-size: 5.208vw;
  }

}

@media screen and (max-width: 1200px) {
  html {
    font-size: 8.333vw;
  }

  .w {
    width: 92%;
    margin: 0 auto;
  }

  .header {
    height: 1rem;
  }

  .logo img {
    width: 60%;
    height: auto;
  }

  .nav>ul>li {
    font-size: .14rem;
    margin-left: .6rem;
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 10.08vw;
  }

  .w {
    width: 88%;
    margin: 0 auto;
  }

  .header {
    height: 1rem;
  }


}

@media screen and (max-width: 768px) {
  html {
    font-size: 11.020vw;
  }

  .w {
    width: 82%;
    margin: 0 auto;
  }

  .an {
    display: block;
  }

  .logo {
    width: 3rem;
    left: 8%;
  }

  .header {
    height: .9rem;
    top: 0px;
    z-index: 999;
  }

  .nav {
    width: 100%;
    top: .9rem;
    height: calc(100% - .9rem);
    position: fixed;
    display: none;
    left: 0;
    transform: translate(0%, 0%);
    transition: auto;
    border-top: 1px rgb(0, 0, 0, 0.1) solid;
    z-index: 999999;
    background-color: #fff;
    text-align: center;
  }

  .nav>ul>li {
    width: 100%;
    float: none;
    text-align: center;
    border-bottom: 1px rgb(0, 0, 0, 0.1) solid;
    font-size: 16px;
    margin-left: 0px;
  }

  .nav_cen>a {
    color: #000;
    text-align: center;
    background-position: right;
    background-size: .08rem .08rem;
    background-repeat: no-repeat;
    margin: auto;
    width: 18%;
    font-size: .22rem;
  }

  .nav_ul {
    position: static;
    width: 40%;
    float: right;
    margin-right: .1rem;
  }

  .nav_ul a {
    width: 100%;
    background: none;
  }

  .header-search {
    width: 2.8rem;
    right: 2.4rem;
  }

  .header-search input {
    width: 2.4rem;
    height: .5rem;
    border-radius: .25rem;
    background-size: .24rem;
    padding-left: .6rem;
  }

  .an {
    margin-right: .4rem;
  }

  .logo img {
    width: 60%;
    height: auto;
  }

  .nav>ul>li {
    font-size: .12rem;
  }

  .swiper-content {
    margin-top: 15%;
  }

  .swiper-content h3 {
    line-height: .6rem;
    font-size: .4rem;
  }

  .swiper-content p {
    font-size: .22rem;
    margin-top: .5rem;
    margin-bottom: .2rem;
  }

  .swiper-content .swiper-a a {
    display: block;
    width: 18%;
    font-size: .2rem;
  }
.index-about-right{
    margin-top: 0.1rem;
}
  .index-about,
  .index-product,
  .index-news,
  .about-box1,
  .about-box2,
  .product-main,
  .product-content,
  .news-main,
  .news-content-main,
  .jiance-main,
  .liuyan-main,
  .contact-main {
    padding-top: .6rem;
  }

  .index-about>h3,
  .index-product>h3,
  .index-fangan>h3,
  .index-news>h3,
  .product-content h3,
  .jiance-main h3,
  .liuyan-main h3 {
    font-size: .26rem;
    height: .4rem;
  }

  .index-about>p,
  .index-product>p,
  .index-fangan>p,
  .index-news p,
  .news-content-main p,
  .jiance-main p,
  .liuyan-main>p {
    font-size: .18rem;
  }

  .index-product-all {
    margin-top: .2rem;
  }

  .index-product-all li {
    height: 3rem;
    padding-top: .1rem;
    transition: width 0s;
  }

  .index-product-all li h5 {
    font-size: .16rem;
  }

  .index-product-all li p {
    font-size: .14rem;
  }

  .index-product-all li a {
    font-size: .12rem;
    width: .9rem;
    height: .3rem;
    line-height: .3rem;
    border-radius: .15rem;
    margin-top: .3rem;
    margin-bottom: .2rem;
  }

  .index-fangan {
    padding-bottom: .2rem;
  }

  .index-fangan-card {
    margin-top: .3rem;
    margin-bottom: .8rem;
  }

  .index-fangan-card li {
    height: .8rem;
    line-height: .8rem;
    font-size: .16rem;
  }

  .index-fangan-card li div h4 {
    font-size: .18rem;
    padding-top: .3rem;
  }

  .index-fangan-card li div p {
    font-size: .12rem;
    padding-right: .2rem;
  }

  .index-fangan-card li div a {
    height: .3rem;
    line-height: .3rem;
    font-size: .12rem;
    border-radius: .15rem;
  }

  .index-news-left h5 {
    font-size: .16rem;
    height: .4rem;
    line-height: .4rem;
  }

  .index-news-left h5 span {
    font-size: .12rem;
  }

  .index-news-left p {
    font-size: .14rem;
  }

  .index-news-left a {
    height: .4rem;
    line-height: .4rem;
    font-size: .14rem;
    border-radius: .2rem;
    margin-top: .2rem;
  }

  .index-news-right div {
    display: flex;
    margin-bottom: .15rem;
  }

  .index-news-right img {
    width: 1.8rem;
    height: 1.2rem;
    margin-right: .2rem;
  }

  .index-news-right div div h5 {
    font-size: .16rem;
    height: .2rem;
    line-height: .2rem;
    margin-bottom: .1rem;
  }

  .index-news-right div div p {
    font-size: .12rem;
    line-height: 1.5;
  }

  .index-news-right div div a {
    font-size: .14rem;

  }

  .index-news-right div div a span {
    font-size: .12rem;
  }

  .about-box1-right {
    top: .2rem;
  }

  #about-swiper .swiper-slide {
    height: 1.2rem !important;
    margin: auto;
  }

  #about-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
  }

  #about-swiper .swiper-slide-active {
    height: 1.8rem !important;
  }

  #about-swiper .swiper-slide-prev {
    height: 1.5rem !important;
    margin: auto;
  }

  #about-swiper .swiper-slide-next {
    height: 1.5rem !important;
    margin: auto;
  }

  #product-layui .layui-tab-title,
  #news-layui .layui-tab-title {
    width: 100%;
  }

  #product-layui .layui-tab-title .layui-tab-bar {
    display: none;
  }

  #product-layui .layui-tab-item div,
  #news-layui .layui-tab-item div {
    margin: .1rem;
  }

  #product-layui .layui-tab-item div img {
    height: 1.8rem;
  }

  #product-layui .layui-tab-item div p {
    bottom: 1rem;
    font-size: .16rem;
  }

  #product-layui .layui-tab-item div:hover p {
    bottom: 1rem;
    font-size: .16rem;
  }

  #product-layui .layui-tab-item div span {
    bottom: .7rem;
    width: 30%;
    left: 35%;
  }

  #product-layui .layui-tab-item div:hover span {
    bottom: .7rem;
    width: 30%;
    left: 35%;
  }

  #product-layui .layui-tab-item div a {
    opacity: 1;
    bottom: .2rem;
  }

  #news-layui .layui-tab-item div {
    height: 2.6rem;
  }

  #news-layui .layui-tab-item div a,
  #news-layui .layui-tab-item div span {
    font-size: .14rem;
  }

  .jiance-box1-all div {
    width: 22%;
  }

  .jiance-box2,
  .jiance-box3,
  .jiance-box4 {
    margin-top: .4rem;
  }

  .fanglei-box1 div::before {
    left: 0rem;
  }

  .fanglei-box1 div:nth-child(2)::after {
    left: 2rem;
  }

  .jclc div:nth-child(10)::after {
    width: 3rem;
    left: -147%;
  }

  .fwnr-all div {
    width: 22%;
    height: 1.6rem;
  }
  .liuyan-main form{
    width: 92%;
  }
  .contact-box1{
    justify-content: space-around;
  }
  .contact-box1 img{
    width: 3rem;
    height: 2.2rem;
  }
  #map{
    width: 90%;
    margin: auto;
    margin-top: .4rem;
  }
  /* =========================footer========================= */
  footer {
    margin-top: .1rem;
  }

  .footer-left {
    width: 30%;
  }

  .footer-left h4 {
    font-size: .18rem;
  }

  .footer-left h5 {
    font-size: .14rem;
    margin-top: .2rem;
  }

  .footer-middle {
    width: 40%;
  }

  .footer-middle p {
    font-size: .18rem;
    margin-bottom: .1rem;
  }

  .footer-middle input {
    width: 45%;
    background-color: #292e35;
    border: 1px solid #555;
    padding-left: .1rem;
  }

  .footer-middle input::placeholder {
    font-size: .14rem;
  }

  .footer-middle textarea {
    margin-top: .1rem;
  }

  .footer-middle a {
    height: .3rem;
    line-height: .3rem;
    font-size: .14rem;
    border-radius: .15rem;
    margin-top: .1rem;
  }

  .footer-right {
    width: 18%;
  }

  .footer-bottom {
    height: .5rem;
    line-height: .5rem;
    margin-top: .3rem;
  }

}

@media screen and (max-width: 750px) {
  html {
    font-size: 11.020vw;
  }

  .w {
    width: 82%;
    margin: 0 auto;
  }

  .header {
    height: 1.6rem;
  }

  .logo {
    width: 40%;
    left: 10%;
  }

  .nav {
    top: 1.6rem;
    height: calc(100% - 1.6rem);
    position: fixed;
    display: none;
    left: 0;
    transform: translate(0%, 0%);
    transition: auto;
    border-top: 1px rgb(0, 0, 0, 0.1) solid;

    background-color: #fff;
    text-align: center;
  }

  .nav_cen>a {
    color: #000;
    text-align: center;
    background-position: right;
    background-size: .08rem .08rem;
    background-repeat: no-repeat;
    margin: auto;
    font-size: .16rem;
  }

  .nav>ul>li {
    font-size: 12px;
  }

  .nav_cen>a {
    background-size: .12rem .12rem;
    width: 24%;
  }

  .an {
    margin-right: 0;
  }

  .header-search {
    width: 2rem;
    right: 2.6rem;
  }

  .header-search input {
    width: 2.4rem;
    height: .5rem;
    border-radius: .25rem;
    background-size: .24rem;
    padding-left: .6rem;
  }

  .swiper-content {
    margin-top: 30%;
  }

  .swiper-content h3 {
    line-height: .3rem;
    font-size: .26rem;
  }

  .index-about,
  .index-product,
  .index-news,
  .product-main,
  .news-main,
  .news-content-main {
    padding-top: .4rem;
  }

  .swiper-content p {
    font-size: .12rem;
    margin-top: .5rem;
    margin-bottom: .2rem;
  }

  .swiper-content .swiper-a a {
    display: block;
    width: 18%;
    font-size: .12rem;
    border-width: 1px;
  }
.index-fangan {
    padding-bottom: .6rem;
  }
  .index-fangan>p{
      margin: .2rem auto;
  }
  .index-fangan-card li div{
    height: 5.6rem;
}
  .index-fangan-card li div a{
    width: 30%;
    height: .4rem;
    line-height: .4rem;
    border-radius: .2rem;
    margin-bottom: .4rem ;
    font-size: .12rem;
}
.index-news-all{
    flex-direction:column ;
}
.index-news-right div{
}
.index-news-right div div p{
    margin-bottom: .2rem;
}
.index-news-right div div a{
    bottom: -.1rem;
}
.index-news-left{
    width: 100%;
    margin: auto;
    margin-bottom: 0.15rem;
}
.index-news-left img {
    width: 50%;
    height: 1.6rem;
    float: left;
}
.index-news-left h5 {
    width: 45%;
    float: left;
    margin-left: .2rem;
}
.index-news-left  span {
    width: fit-content;
    height: .2rem;
    color: #999;
    float: right;
    margin-top: .15rem;
    margin-right: .1rem;
}
.index-news-left p {
    line-height: 1.5;
    width: 45%;
    float: left;
    margin-left: .2rem;
    -webkit-line-clamp: 2;
}

.index-news-left a {
    
    height: 0.2rem;
    line-height: .2rem;
    font-size: .14rem;
    border-radius: 0.2rem;
    margin-top: 0.2rem;
    float: left;
    margin-left: .2rem;
    background-color: unset;
     color: #999;
    width: fit-content;
}
.index-news-right {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.index-news-right div {
    width: 100%;
}
.index-news-right img {
    width: 50%;
    height: 1.6rem;
    margin-right: 0rem;
}
.index-news-right>div div {
    width: 45%;
}
.index-news-right div div h5 {
    height: 0.4rem;
    line-height: .4rem;
    margin-bottom: 0;
}
  .about-box1-right {
    top: 0.9rem;
  }

  .about-box1-content p:nth-child(2) {
    width: 100%;
  }

  .product-main {
    width: 100%;
    padding-top: 0;
  }

  #product-layui {
    display: flex;
    margin: 0;
  }

  #product-layui .layui-tab-title {
    flex-direction: column;
    z-index: 1;
    background-color: antiquewhite;
    height: 100%;
    width: 30%;
  }

  #product-layui .layui-tab-title li,
  #news-layui .layui-tab-title li {
    font-size: .12rem;
  }

  #product-layui .layui-tab-content {
    width: 100%;
  }

  #product-layui .layui-tab-content .layui-show {
    display: flex;
  }

  .layui-tab-bar {
    display: none;
  }

  #product-layui .layui-tab-item div,
  #news-layui .layui-tab-item div {
    width: 44%;
    height: 4.2rem;
  }

  #product-layui .layui-tab-item div img {
    height: 2.2rem;
  }

  #product-layui .layui-tab-item div p {
    font-size: .12rem;
  }

  #product-layui .layui-tab-item div a {
    width: 50%;
    left: 25%;
    height: .4rem;
    line-height: .4rem;
    font-size: .12rem;
  }

  #product-page .total,
  #product-page .active,
  #news-page .total,
  #news-page .active {
    font-size: .12rem;
  }

  #news-layui .layui-tab-title {
    width: 100%;
  }

  #news-layui .layui-tab-title li {
    width: 10%;
  }

  .news-content-main div span {
    font-size: .12rem;
  }

  .content-box1-bottom img {
    width: 46%;
    height: 5rem;
    margin-top: .6rem;
  }

  .content-font {
    width: 40%;
  }

  .jiance-box1-all div {
    width: 21%;
  }

  .fanglei-box1 div:nth-child(2)::after {
    left: 1.4rem;
  }

  .jclc div::after {
    width: .3rem;
    height: .3rem;
    right: -.35rem;
  }

  .jclc div:nth-child(10)::after {
    width: 2.4rem;
    left: -144%;
  }

  .fwnr-all div {
    width: 21%;
  }
  .liuyan-main form{
    width: 100%;
  }
  .liuyan-main form div{
    flex-direction: column;
    
  }
  .liuyan-main form div input{
    width: 98%;
    margin-bottom: .2rem;
  }
  .liuyan-main form div input::placeholder{
    font-size: .18rem;
  }
  .liuyan-main form input[type=radio]{
    width: .2rem;
    height: .2rem;
    line-height: .2rem;
    margin-top: .2rem;
  }
  .liuyan-main form input[type=radio]:checked::before{
    text-indent: .03rem;
    width: .2rem;
    height: .2rem;
  }
  .liuyan-main form span{
    font-size: .12rem;
    margin-left: .1rem;
  }
  .liuyan-main form input[type=button]{
    width: 30%;
    height: .6rem;
    line-height: .6rem;
    border-radius: .3rem;
  }
  .contact-box1{
    flex-direction: column;

  }
  .contact-box1 img{
    width: 100%;
    height: auto;
  }
  .contact-right{
    width: 100%;
  }
  #map{
    height: 3rem;
    margin-bottom: .3rem
  }
  #allmap{
    height: 3rem;
  }
  .footer-top {
    flex-direction: column;
    position: relative;
  }
  .footer-left{
    width: 50%;
  }
  .footer-middle{
    width: 100%;
    margin-top: .3rem;
  }
  .footer-middle a{
    width: 100%;
    height: .6rem;
    line-height: .6rem;
    border-radius: .3rem;
    margin: .2rem auto;
  }
  .footer-right{
    width: 36%;
    position: absolute;
    top: .2rem;
    right: 0;
    text-align: center;
  }
  .footer-right img{
    width: 80%;
  }
  .footer-bottom{
    font-size: .12rem;
    height: auto;
  }
}

@media screen and (max-width: 664px) {
  html {
    font-size: 13.060vw;
  }

  /*  .w {
    width: 82%;
    margin: 0 auto;
  } */

}