@charset "utf-8";


@font-face {
    font-family: "阿里妈妈东方大楷";
    src: url("../fonts/font.ttf");
}
.head-page .index_item>a span::after{
    transform: scaleX(1);
    opacity: 1;
}
.page-headh {
    background: #ffffff;
    position: fixed;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
}
.head-page .item:nth-child(1) a:after{
   transform: scale(1);opacity: 1;
}
.index_page {
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
}
.index_page_slide:last-of-type {
    height: auto;
}
.h-banner{
    display: none;
}

.index_pg{
    height: calc(100% - 98px);
    margin-top: 98px;
    position: relative;
}
.index_pg .advice{
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.index_pg .index_advice_title{
    color: #FFFFFF;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.36);
    /* font-family: "阿里妈妈东方大楷"; */
}

/* 视频播放 */
#indexVideo{
    display: none;
}
.video_play_btn {
    background-color: transparent;
    width: 40px;
    height: 36px;
    margin-left: 14px;
    overflow: hidden;
    position: relative;
    z-index: 11111;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/video_btn.png) no-repeat center/cover;
}
.video_play_btn img{
    position: relative;
    /* z-index: -1; */
}
.video_play_btn>.video{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    background: transparent;
    opacity: 0;
}
.video_play_btn .vjs-fullscreen{
    opacity: 1;
}
.video_play_btn .video-js .vjs-control{
    width: 40px;
}
.video_play_btn>.video.none{
    display: none;
}
.vclose {
    position: absolute;
    right: 1%;
    top: 1%;
    border-radius: 100%;
    cursor: pointer;
}
.video_play_btn .video-js .vjs-big-play-button {
    font-size: 3em;
    height: 36px;
    width: 40px;
    line-height: 36px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    border-radius: 50%;
    opacity: 0;
    display: none;
}

 
.index_pg .index_advice_con{
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.36);
    color: #FFFFFF;
    margin: 15px 0 40px;
}
.watch_more {
    width: 140px;
    height: 46px;
    border-radius: 4px;
    border: 2px solid #fff;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all .4s;
}
.watch_more::before{
    content: "";
    display: block;
    width: 0;
    height: 102%;
    background: #EA222D;
    position: absolute;
    left: -1%;
    top: -1%;
    z-index: -1;
    transition: all .4s;
}
.watch_more:hover{
    border: 2px solid #EA222D;
}
.watch_more:hover::before{
    width: 102%;
}
.swiper-slide .index_pg{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.swiper-slide .index_pg .advice_box{
    max-width: 663px;
}
.swiper-slide:nth-child(2n - 1) .index_pg .advice_box{
    margin-left: 5%;
}
.swiper-slide:nth-child(2n) .index_pg .advice_box{
    margin-right: 80px;
    margin-left: auto;
}
.swiper-pagination{
    right: 4%!important;
}
.swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,.4);
    border-radius: 50%;
    opacity: 1;
    margin: 10px 0!important;
    transition: all .4s;
}
.swiper-pagination-bullet-active{
    background: #EA222D;
}
@media only screen and (max-width: 1400px) {
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 60px;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 60px;
    }
}
@media only screen and (max-width: 1366px) {
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 50px;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 50px;
    }
}
@media only screen and (max-width: 1280px) {
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 40px;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 40px;
    }
}
@media only screen and (max-width: 1200px) {
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 30px;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 30px;
    }
}
@media only screen and (max-width: 1180px) {
    .swiper-pagination{
        display: none;
    }
    .index_page{
        height: auto;
    }
    .index_pg {
        height: auto;
        margin-top: 0;
    }
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 20px;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 20px;
    }
    .h-banner {
        display: block;
    }
    .swiper-slide .index_pg{
        background: none!important;
    }
    #indexVideo{
        display: block;
    }
    .video_play_btn {
        width: 26px;
        height: 23px;
        margin-left: 10px;
        background: url(../img/video_btn_phone.png) no-repeat center/cover;
        display: none;
    }
}
@media only screen and (max-width: 1043px) {
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 0;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 0;
    }
}
@media only screen and (max-width: 960px) {
    /* video{
        display: none;
    }
    .swiper-slide .index_pg{
        background: none!important;
    } */
    .swiper-slide:nth-child(2n - 1) .index_pg .advice_box {
        margin-left: 0;
    }
    .swiper-slide:nth-child(2n) .index_pg .advice_box{
        margin-right: 0;
    }
    .swiper-slide .index_pg .advice_box{
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    .index_pg .advice{
        position: initial;
        transform: translate(0);
        margin: 20px 0 30px;
    }
    /* .swiper-slide .index_pg {
        display: block;
    } */
    .index_advice_tit {
        color: #333;
        text-shadow: 0px 2px 4px rgba(255, 255, 255, 0.36);
    }
    .index_pg .index_advice_con{
        color: #666;
        text-shadow: 0px 2px 4px rgba(255, 255, 255, 0.36);
    }
    .watch_more{
        display: flex;
        border: 1px solid #999;
        color: #999;
        height: 36px;
        width: 98px;
        margin: 0 auto;
    }
    .index_pg .index_advice_con{
        margin: 6px 0 15px;
    }
    .video{
        transform: translate(0);
        position: initial;
    }
}