.swiper-slide {
    position: relative;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.seemore {
    display: block;
    width: 2rem;
    height: 0.62rem;
    background: #D61428;
    border-radius: 0.12rem 0.12rem 0.12rem 0.12rem;
    font-size: 0.2rem;
    color: #FFFFFF;
    text-align: center;
    line-height: 0.62rem;
}
.seemore:hover {
    background: #d33c4b;
}
html, body {
    scroll-behavior: smooth;
}

/* 首页顶部轮播 */
.index_one {
    width: 100%;
    padding-top: 1rem;
}
.index_one .index_swiper1 {
    width: 100%;
    height: 9.86rem;
    max-height: calc(100vh - 1rem);
}
.index_one .swiper-slide {
    width: 100%;
    height: 100%;
}
.index_one .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 文字 */
.index_one .txts {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%,-50%);
    width: 15rem;
}
.index_one .txts .t1 {
    font-size: .6rem;
    font-weight: 800;
    color: #FFFFFF;
}
.index_one .txts .t2 {
    margin-top: .5rem;
    font-size: .32rem;
    font-weight: bold;
    color: #FFFFFF;
}
/* 轮播分页 */
.index_one .swiper-pagination {
    color: #fff;
    font-size: .2rem;
    font-weight: bold;
    width: 21%;
    bottom: .4rem !important;
}
.index_one .swiper-pagination-bullet {
    width: 1rem;
    height: .04rem;
    background-color: rgba(255,255,255, 1);
    border-radius: unset;
    background: #fff;
    opacity: 0.5;
}
.index_one .swiper-pagination-bullet-active {
    opacity: 1;
}




/* 关于我们 */
.index_two {
    position: relative;
    width: 100%;
    /* height: 9.86rem; */
    background-image: url('../images/index/about_bgc.jpg');
    background-size: cover;
}
.index_two .two_center {
    width: 15rem;
    margin: 0 auto;
    padding: 1.1rem 0 .8rem;
}
.index_two .about {
    width: 11.65rem;
}
.index_two .about .title {
    font-size: .54rem;
    font-weight: 800;
    color: #FFFFFF;
}
.index_two .about .explain {
    margin-top: .2rem;
    font-size: .2rem;
    color: #FFFFFF;
    line-height: .42rem;
}
.index_two .about .explain p {
    font-size: .2rem;
    color: #FFFFFF;
    line-height: .42rem;
}
.index_two .history {
    width: 7.1rem;
    margin-top: .6rem;
}
.index_two .history .item {
    margin-top: .3rem;
    padding: .1rem 0 0 .05rem;
    border-top: .01rem solid white;
}
.index_two .history .item:first-child {
    margin-top: 0;
}
.index_two .history .txt1 {
    text-align: right;
    font-size: .2rem;
    color: #FFFFFF;
}
.index_two .history .txt2 {
    font-size: .32rem;
    font-weight: 500;
    color: #FFFFFF;
}
.index_two .history .txt2 span {
    font-size: .8rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: .94rem;
}



/* 我们工厂 */
.index_three {
    position: relative;
    width: 100%;
    /* height: 9.86rem; */
}
.index_three .three_center {
    width: 15rem;
    margin: 0 auto;
    padding: .7rem 0 .65rem;
}
.index_three .titleBox {
    text-align: center;
}
.index_three .tit {
    font-size: .54rem;
    font-weight: bold;
    color: #271E1B;
    /*line-height: .63rem;*/
}
.index_three .tie {
    margin-top: .25rem;
    font-size: .2rem;
    font-weight: 500;
    color: #888888;
}
.index_three .videoBox {
    width: 13.2rem;
    height: 6.7rem;
    margin: .5rem auto 0;
}
.index_three .videoBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





/* 产品中心 */
.index_four {
    width: 100%;
    /* height: 9.86rem; */
    background-color: rgb(249,251,253);
}
.index_four .four_center {
    width: 15rem;
    margin: 0 auto;
    padding-top: .7rem;
    padding: .7rem 0 .1rem;
}
/* 标题 */
.index_four .titleBox {
    text-align: center;
}
.index_four .tit {
    font-size: .54rem;
    font-weight: bold;
    color: #271E1B;
    line-height: .63rem;
}
.index_four .tie {
    margin-top: .2rem;
    font-size: .2rem;
    font-weight: 500;
    color: #888888;
}
/* 产品小导航 */
.index_four .pdt_navs {
    width: fit-content;
    margin: 0.7rem auto 0;
    display: flex;
    align-items: center;
}
.index_four .pdt_navs .item {
    width: 2.5rem;
    height: 0.8rem;
    margin-right: 0.57rem;
    background: #FFFFFF;
    border-radius: 0.2rem;
    border: 1px solid #DEDEDE;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.index_four .pdt_navs .item:hover {
    border: 0.01rem solid #D61428;
}
.index_four .pdt_navs .pdt {
    height: 0.5rem;
    margin-right: 0.1rem;
    object-fit: contain;
}
.index_four .pdt_navs .name {
    font-size: 0.24rem;
    color: #333333;
}
.index_four .pdt_navs .active {
    border: 0.01rem solid #D61428;
}
.index_four .pdt_navs .active .name {
    color: #D61428;
}
/* 产品列表 */
.index_four .pdt_swiper {
    position: relative;
    width: 100%;
    margin-top: 1.35rem;
    overflow: visible;
}
.index_four .swiper-slide {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* background: transparent; */
    background: rgb(249,251,253);
    opacity: 0;
    transition: all 0.7s;
}
.index_four .swiper-slide-active {
    opacity: 1;
}
/* 左侧文字 */
.index_four .left_info {
    width: 7.7rem;
}
.index_four .left_info .name {
    width: fit-content;
    font-size: 0.24rem;
    font-weight: 500;
    color: #202020;
}
.index_four .left_info .name::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.01rem;
    margin-top: 0.15rem;
    background-color: #DDDDDD;
    border-radius: 0.1rem;
}
.index_four .left_info .introduce {
    margin-top: 0.4rem;
    font-size: 0.16rem;
    color: #333333;
    line-height: 0.32rem;
}
.index_four .left_info .seemore {
    margin-top: 1.2rem;
}
/* 右侧图片 */
.index_four .right_img {
    width: 6.18rem;
    height: 4.9rem;
    overflow: hidden;
    transition: all 0.3s;
}
.index_four .right_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}
.index_four .right_img:hover {
    background: rgb(249,251,253);
    box-shadow: rgb(0 0 0 / 10%) 0px 20px 80px -20px;
    border-radius: 0.2rem;
}
.index_four .right_img:hover img {
    transform: scale(1.1);
}
/* 左右箭头 */
.index_four .pdt_prev {
    left: 6.3rem;
    top: auto;
    bottom: 1rem;
}
.index_four .pdt_prev::after {
    display: none;
}
.index_four .pdt_prev img {
    height: 0.5rem;
    object-fit: contain;
    display: none;
}
.index_four .pdt_prev .arrow1 {
    display: block;
}
.index_four .pdt_prev:hover .arrow1 {
    display: none;
}
.index_four .pdt_prev:hover .arrow2 {
    display: block;
    transform: rotate(180deg);
}
.index_four .pdt_next {
    right: 7.3rem;
    top: auto;
    bottom: 1rem;
}
.index_four .pdt_next::after {
    display: none;
}
.index_four .pdt_next img {
    height: 0.5rem;
    object-fit: contain;
    display: none;
}
.index_four .pdt_next .arrow1 {
    display: block;
    transform: rotate(180deg);
}
.index_four .pdt_next:hover .arrow1 {
    display: none;
}
.index_four .pdt_next:hover .arrow2 {
    display: block;
}



/* 新闻资讯 */
.index_five {
    position: relative;
    width: 100%;
    /* height: 9.86rem; */
    background-image: url('../images/index/new_bgc.jpg');
    background-size: cover;
}
.index_five .five_center {
    width: 15rem;
    margin: 0 auto;
    padding: .7rem 0 1rem;
}
/* 标题 */
.index_five .titBox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.index_five .titBox .title {
    font-size: 0.54rem;
    font-weight: 800;
    color: #333333;
}
/* 新闻列表 */
.index_five .news {
    margin-top: 0.7rem;
    display: flex;
    justify-content: space-between;
}
.index_five .news .item {
    display: block;
    width: 4.64rem;
    padding: 0.35rem 0.3rem 0.45rem;
    background: #FFFFFF;
    border: 0.01rem solid #D4D4D4;
    transition: all 0.3s;
}
.index_five .news .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.index_five .news .date {
    font-size: 0.17rem;
    color: #D61428;
}
.index_five .news .date span {
    font-size: 0.27rem;
}
.index_five .news .more {
    font-size: 0.15rem;
    color: #666666;
    display: flex;
    align-items: center;
}
.index_five .news .more::before {
    content: "";
    display: block;
    width: 0.28rem;
    height: 0.01rem;
    margin-right: 0.1rem;
    background: #666666;
}
.index_five .news .new_img {
    width: 100%;
    height: 2.38rem;
    margin-top: 0.3rem;
}
.index_five .news .tit {
    width: 4rem;
    margin-top: 0.3rem;
    font-size: 0.17rem;
    font-family: PingFang SC, PingFang SC;
    font-weight: bold;
    color: #000000;
}
.index_five .news .tit::after {
    content: "";
    display: block;
    width: 0.76rem;
    height: 0.02rem;
    margin-top: 0.2rem;
    background: #D61428;
}
.index_five .news .tie {
    margin-top: 0.24rem;
    font-size: 0.13rem;
    color: #333333;
    line-height: 2;
}
/* hover state */
.index_five .news .item:hover {
    border: 0.01rem solid #D61428;
}
.index_five .news .item .tit:hover {
    color: #D61428;
}
.index_five .news .item .tie:hover {
    color:#D61428;
}



/* 侧栏锚点 */
#menu {
    position: fixed;
    top: 50%;
    right: 54px;
    transform: translateY(-50%);
    z-index: 20;
    transition: all .36s ease;
}
#menu .menu_slide p {
    width: 0.07rem;
    height: 0.07rem;
    background-color: #D9D9D9;
    border-radius: 50%;
    position: relative;
    margin-bottom: 0.4rem;
}
#menu .menu_slide p::before {
    content: '';
    position: absolute;
    top: 0;
    height: 0.47rem;
    width: 0.01rem;
    background: #D9D9D9;
    opacity: .31;
    left: 50%;
    transform: translateX(-50%);
}
#menu .menu_slide p::after {
    content: '';
    position: absolute;
    width: 0.2rem;
    height: 0.2rem;
    border: 1px solid #D9D9D9;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .36s ease;
    border-radius: 50%;
    opacity: 0;
}
#menu .active p::after {
    opacity: 1;
}
#menu .menu_slide:last-child p::before {
    display: none;
}

@media only screen and (max-width: 1520px) {
    /* 客户说字体有点小，看不清了，所以先适配一下字体，在1500px以下，字体设置成固定大小 */
    .index_four .left_info .introduce {
        font-size: 14px;
    }
    .index_five .news .more {
        font-size: 14px;
    }
    .index_five .news .date {
        font-size: 14px;
    }
    .index_five .news .tit {
        font-size: 14px;
        width: 100%;
    }
    .index_five .news .tie {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 1024px){
    #menu{
        display: none;
    }.index_one .index_swiper1{
        width: 100%;
        height: 3rem;
        margin-top: 50px;
    }.index_one .txts{
        left: 10px;
        top:50%;
        transform: translateY(-50%);
        width: 100%;
    }.index_one .txts .t1{
        font-size: 14px;
    }.index_one .txts .t2{
        width: 90%;
        font-size: 12px;
        overflow:hidden;

text-overflow:ellipsis;

display:-webkit-box;

-webkit-box-orient:vertical;

-webkit-line-clamp:1;
    }.index_two .two_center{
        width: 94%;
        height: auto;
        margin: 0 auto;
    }.index_two .about{
        width: 100%;
    }.index_two .about .title{
        font-size: 30px;
    }.index_two .about .explain p{
        font-size: 12px;
    }.index_two .history .txt1{
        font-size: 14px;
    }.index_two .history .txt2 span{
        font-size: 30px;
    }.index_three .three_center{
        width: 94%;
        margin: 0 auto;
    }.index_three .tit{
        font-size: 30px;
    }.index_three .tie{
        font-size: 14px;
    }.index_four .four_center{
        width: 94%;
        margin: 0 auto;
    }.index_four .tit{
        font-size: 30px;
    }.index_four .tie{
        font-size: 14px;
    }.index_four .pdt_navs .item{
        width: 45%;
        margin-right: 15px;
        margin-bottom: 10px;
    }.index_four .pdt_navs{
        flex-wrap: wrap;
    }.index_four .pdt_next{
        right: 40%;
    }
    .index_four .pdt_prev{
        left: 40%;
    }.index_five{
        width: 100%;
        background-position: center center;
    }
    .index_five .five_center{
        width: 94%;
        margin: 0 auto;
    }.index_five .titBox .title{
        font-size: 30px;
    }.seemore{
        font-size: 12px;
    }.index_five .news{
        width: 100%;
        flex-wrap: wrap;
    }.index_five .news .item{
        width: 100%;
        margin-bottom: 10px;
    }
    .index_four .pdt_swiper {
        margin-top: 0px;
    }
    .index_five .news .new_img {
        height: 200px;
    }
    .index_one{
        padding-top: 0;
    }
}

