﻿@charset "utf-8";
html,body{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.yd-box{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.yd-box .content{
    width: 16.56rem;
    max-width: 96%;
    position: relative;
    z-index: 5;
}
.yd-box .top h2{
    display: flex;
    align-items: center;
    justify-content: center;
}
.yd-box .top h2 i{
    display: block;
    width: .41rem;
    height: .55rem;
    background: no-repeat 50%/100%;
}
.yd-box .top h2 i.i1{
    background-image: url("../images/yd-img-2.png");
}
.yd-box .top h2 i.i2{
    background-image: url("../images/yd-img-3.png");
}
.yd-box .top h2 span{
    display: block;
    flex-shrink: 0;
    margin: 0 .22rem;
}
.yd-box .top h2 span img{
    display: block;
    max-height: 1.02rem;
}
.yd-box .top h4{
    font-size: .25rem;
    line-height: .51rem;
    color: #05536e;
    text-align: center;
    margin-top: .11rem;
}
.yd-box .ul{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yd-box .ul .li{
    width: 19.20%;
    margin: 0 4.23%;
}
.yd-box .ul .li a{
    display: block;
    position: relative;
}
.yd-box .ul .li .img img{
    display: block;
    width: 100%;
    transition: .5s;
}
.yd-box .ul .li .txt{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yd-box .ul .li .txt h3{
    font-size: .26rem;
    line-height: .36rem;
    color: #f3f3de;
    font-family: 'SourceHanSerifCN-Bold', sans-serif;
    text-shadow: 0 .01rem .03rem rgba(70, 50, 24, 0.38);
}
.yd-box .ul .li .txt h3 span{
    display: block;
}
.yd-box .ul .li2 .txt h3{
    color: #000;
}
.yd-box .ul .li:hover .txt h3{
    line-height: .44rem;
}
.yd-box .ul .li:hover .img img{
    transform: scale(1.05);
}
.yd-box .hisbg{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
    padding-top: 0;
}
.yd-box .hisbg .jzbg{
    height: 5.46rem;
    background: url(../images/yd-img-7.png) no-repeat center;
    background-size: 16.61rem 5.46rem;
}
.yd-box .hisbg .jzl {
    z-index: 5;
    width: .77rem;
    height: 5.46rem;
    background: url(../images/yd-img-9.png) no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    left: -.769rem;
    top: 0
}

.yd-box .hisbg .jzr {
    z-index: 5;
    width: .77rem;
    height: 5.46rem;
    background: url(../images/yd-img-8.png) no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    right: -.765rem;
    top: 0
}
.yd-box .bot{
    position: relative;
    padding: .88rem 0 .53rem;
    margin-top: -.23rem;
}
.yd-box .bg-1{
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: 0;
    height: 24.84375vw;
    background: url("../images/yd-img-10.png") no-repeat bottom center/100% auto;
    z-index: 3;
}
.yd-box .bg-2{
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: url("../images/yd-bg.png") no-repeat 50%/cover;
}
@media (min-width: 1025px) {
    .yd-box .hisbg .jzl {
        transform: translateX(7.9rem);
    }

    .yd-box .hisbg .jzr {
        transform: translateX(-7.9rem);
    }

    .yd-box .hisbg .jzbg {
        width: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        z-index: 0
    }

    .yd-box .bot .hisbg.aos-animate  .jzbg {
        width: 100%;
        transition: 1.5s
    }

    .yd-box .bot .hisbg.aos-animate  .jzl {
        transform: translateX(0);
        transition: 1.7s
    }

    .yd-box .bot .hisbg.aos-animate  .jzr {
        transform: translateX(0);
        transition: 1.7s
    }

    .yd-box .content{
        margin-top: -8vw;
    }
}

@media (max-width: 1025px){
    .yd-box .top h2 span img{
        max-height: .5rem;
    }
    .yd-box .top h2 span{
        margin: 0 .1rem;
    }
    .yd-box .top h2 i{
        width: .25rem;
        height: .33rem;
    }
    .yd-box .top h4{
        font-size: .2rem;
        line-height: .3rem;
        margin-top: .15rem;
    }
    .yd-box .ul .li .txt h3{
        font-size: .2rem;
        line-height: 1.5em;
    }
    .yd-box .ul .li:hover .txt h3{
        line-height: 1.5;
    }
    .yd-box .ul .li{
        width: 24%;
        margin: 0;
    }
    .yd-box .ul{
        gap: 0 4%;
    }
    .yd-box .hisbg{
        display: none;
    }
    .yd-box .bot{
        padding: .3rem 0;
        margin-top: 0;
    }
}
@media (max-width: 481px){
    .yd-box .top h2 span img{
        max-height: .45rem;
    }
    .yd-box .ul .li{
        width: 100%;
    }
    .yd-box .ul .li a{
        max-width: 2rem;
        margin: 0 auto;
    }
    .yd-box .ul{
        flex-wrap: wrap;
        gap: .3rem 0;
    }
}