
.video-show {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}
.video-show .mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.video-show .con {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: fit-content;
}
.video-show .con .close_p {
    background: url('../image/guanbia.png') no-repeat center;
    position: absolute;
    right:0;
    top:-60px;
    height: 50px;
    width: 50px;
    background-size: 30px;
    cursor: pointer;
    z-index: 10;
}
#r4 .swiper {
    padding: 100px 0 15%;
}
#r4 .swiper-slide {
    text-align: center;
}
#r4 .swiper-slide .img {
    transform: scale(0.5);
    transform-origin: left;
    transition: all 0.5s;
    position: relative;
}
#r4 .swiper-slide img {
    border-radius: 50%;
    width: 100%;
}
#r4 .swiper-slide .img::after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
}

#r4 .swiper-slide .text {
    opacity: 0;
    position: absolute;
    bottom: -70%;
    width: 150%;
    margin-left: -75%;
    left: 50%;
}
#r4 .swiper-slide .text .title {
    font-size: 24px;
    color:#fff;
    font-weight: 600;
    margin-bottom: 20px;
}
#r4 .swiper-slide .text .summary {
    color:#fff;
    font-size: 16px;
    opacity: 0.6;
    line-height: 1.8;
}
#r4 .swiper-slide.swiper-slide-active {
}
#r4 .swiper-slide.swiper-slide-active .text {
    opacity: 1;
    display: block;
}
#r4 .swiper-slide.swiper-slide-active .img{
    transform: scale(1);
    transition: all 0.5s;
}
#r4 .swiper-slide.swiper-slide-next .img,
#r4 .swiper-slide.swiper-slide-next ~ .swiper-slide .img{
    transform-origin: right;
}
#r4 .swiper-slide.swiper-slide-active .img::before,
#r4 .swiper-slide.swiper-slide-active .img::after {
    content: '';
    position: absolute;
}
#r4 .swiper-slide.swiper-slide-active .img::before {
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    background: #fff;
    opacity: 0.1;
    left: -30px;
    top: -30px;
    border-radius: 50%;
}
#r4 .swiper-slide.swiper-slide-active .img::after {
    width: calc(100% + 120px);
    height: calc(100% + 120px);
    opacity: 0.1;
    background: #fff;
    left: -60px;
    top: -60px;
    border-radius: 50%;
}
#r4 .swiper-slide.swiper-slide-active img {
    z-index: 10;
    position: relative;
}

#r4 .button-box {
    position: absolute;
    bottom: 18%;
    left: 0;
    right: 0;
    margin: auto;
    width: 60%;
}
#home #main #roll #r4 .rowMain .con {
    padding-bottom: 0;
    padding-top: 100px;
}
#r4 .swiper-button-prev,
#r4 .swiper-button-next {
    position: inherit;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 55px;
    height: 55px;
}
#r4 .swiper-button-prev::after,
#r4 .swiper-button-next::after {
    font-size: 16px;
    color:#fff
}
#r4 .swiper-button-prev:hover,
#r4 .swiper-button-next:hover {
    background: var(--dominant-color);;
    border-color: var(--dominant-color);;
}



#banner .swiper-pagination {
    height: 100%;
    left: 5%;
    width: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#banner .swiper-pagination-bullet {
    --swiper-pagination-bullet-width:13px;
    --swiper-pagination-bullet-height:13px;
    --swiper-pagination-bullet-inactive-opacity:1
}
#banner .swiper-pagination-bullet {
    border: 1px solid #fff;
    background: none;
    margin-bottom: 50px;
    position: relative;
}
#banner .swiper-pagination-bullet::after {
    content:'';
    width: 1px;
    height: 40px;
    position: absolute;
    left: 0;
    right: 0;
    top: 16px;
    background: #fff;
    margin: auto;
}
#banner .swiper-pagination-bullet:last-child {
    margin-bottom: 0;
}
#banner .swiper-pagination-bullet:last-child::after {
    display: none;
}
#banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff;
}

#home #main #roll #banner .swiper-slide .item .video {
    cursor: pointer;
    width: fit-content;
    margin: 40px auto 0;
    display: none;
}
@media screen and (max-width: 768px) {
    #home #main #roll #banner .swiper-slide .item .video {
        display: block;
    }
}
#home #main #roll #banner .swiper-slide .item p {
    opacity: 1;
    font-size: 16px;
}

#banner::after {
    content: '';
    background: url('../image/shubiao.png') no-repeat center;
    width: 22px;
    height: 32px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5%;
    z-index: 1;
    margin: auto;
    animation: up 2s infinite linear;
}
#banner video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
 }
@keyframes up {
    0% {
        transform: translateY(-10px);
    }
    25% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    75% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

#r3 .swiperBox img {
    width: 100%;
}
#r3 .swiperBox {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
#r3 .swiper-big {
    width: 30%;
    overflow: hidden;
    max-width: 580px;
    display: flex;
}



#r3 .swiper-big .swiper-slide {
    height: auto;
}
#r3 .swiper-big img {
    height: 100%;
    object-fit: cover;
}

#r3 .swiper-right {
    width: 65%;
    margin-right: 0;
}
#r3 .swiper-small {

}
#r3 .swiper-small .swiper-slide {
    height: auto;
}
#r3 .swiper-small .SlideImg {
    height: 100%;
    position: relative;
    cursor: pointer;
}
#r3 .swiper-small .SlideImg::after {
    content:'';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    position: absolute;
}
#r3 .swiper-slide.swiper-slide-thumb-active .SlideImg::after {
    opacity: 0;
}
#r3 .swiper-small img {
    height: 100%;
    object-fit: cover;
}

#r3 .swiper-text .text .title {
    font-size: 48px;
    color: #cdb57d;
}
#r3 .swiper-text .text .sub {
    font-size: 20px;
    color:#fff;
    font-weight: 600;
    margin: 20px 0 30px;
}
#r3 .swiper-text .text .summary {
    font-size: 16px;
    color:#fff;
    font-weight: 100;
}

#r3 .swiper-text {
    margin-bottom: 10%;
    width: 100%;
    margin-left: 0;
}

.powered {
    color:#d6d6d6
}


.swiper-phone {
    display: none;
}





#home #main #roll #r2 .rowMain .con .left .items {
    transform: translateY(100px);
    opacity: 0;
    transition: all 1s;
}
#home #main #roll #r2.on .rowMain .con .left .items {
    transform: translateY(0);
    opacity: 1;
    transition: all 1s;
}

#home #main #roll #r2 .rowMain .con .right {
    transform: translateY(100px);
    opacity: 0;
    transition: all 1s;

}
#home #main #roll #r2.on .rowMain .con .right {
    transform: translateY(0);
    opacity: 1;
    transition: all 1s;
    transition-delay: .8s;
}



.location {
    width: 100px;
    position: fixed;
    top: 25%;
    right: 0;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    z-index: 9;
}
.location a {
    margin-bottom: 18px ;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background:rgba(51, 51, 51 , 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.codeShow {
    width: 100px;
    height: 100px;
    position: absolute;
    right: 60px;
    background: #fff;
    display: none;
}
.codeShow img {
    width: 100%;
}
.tel {
    position: absolute;
    right: 60px;
    background: var(--dominant-color);;
    width: 150px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #fff;
    display: none;
}
.location a:hover .codeShow ,.location a:hover .tel{
    display: block;
}
.location a:hover {
    background: var(--dominant-color);;
}

@media screen and (max-width: 1920px) {
    #home #main #roll #r2 .rowMain .con .left .items {
        width: 4.5rem;
    }
    #r3 .swiper-big {
        width: 30%;
    }
    #r3 .swiper-right {
        width: 60%
    }
}

@media screen and (max-width: 1000px) {
    #home #main #roll #r2 .rowMain .con .left .items {
        width: 100%;
    }

    .swiper-phone .summary  {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }


    #home #main #roll #banner .swiper-slide .item .title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    #home #main #roll #banner .swiper-slide .item .summary {
        font-size: 16px;
        max-width: 80%;
        margin: auto;
    }

    #home #main #roll #r1 .item .text .img {
        display: none;
    }
    #home #main #roll #r1 .item .text .title {
        font-size: 18px;
        margin-bottom: 0;
    }
    #home #main #roll #r1 .item .text {
        width: 98%;
    }
    #home #main #roll #r1 .item:hover .summary {
        font-size: 14px;
    }
    #home #main #roll #r1 .item:hover .text {
        transform: translateY(-40%);
    }
    #home #main #roll #r1 .item .text .more {
        font-size: 12px;
        height: 30px;
        line-height: 30px;
        margin-top: 10px;
    }


    #home #main #roll #r4 .top .title {
        font-size: 18px;
    }

    #r4 .button-box {
        display: none;
    }
    #home #main #roll #r4 .top .more {
        width: 120px;
        height: 30px;
        line-height: 30px;
    }
    #r4 .swiper-slide.swiper-slide-active .img::before {
        width: calc(100% + 20px);
        height: calc(100% + 20px);
        left: -10px;
        top: -10px;
    }
    #r4 .swiper-slide.swiper-slide-active .img::after {
        display: none;
    }
    #r4 .swiper-slide .text {
       display: none;
        width: 200%;
        bottom: -140%;
        position: initial;
        margin-left: -50%;
        margin-top: 30px;
    }
    #r4 .swiper-slide .text .summary {
        font-size: 14px;
    }
    #r4 .swiper {
        padding: 50px 0;
    }
    #r4 .swiper-slide .text .title {
        font-size: 20px;
        margin-bottom: 0;
        margin-top: 10px;
    }
    #home #main #roll #r5 .rowMain .con .right .inner .b1 > div > a .itemImg {
        height: 50px;
        /*flex-basis: 50px;*/
        /*width: 50px;*/
    }
    #home #main #roll #r5 .rowMain .con .right .inner .b1 > div > a .itemImg img {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }


    #r3 .swiperBox {
        display: none;
    }


    .swiper-phone {
        width: 90%;
        display: block;
    }
    .phoneImg img {
        width: 100%;
    }
    .swiper-phone .text {
        color:#fff;
        margin-top: 20px;
    }
    .swiper-phone .title {
        font-size: 16px;
    }
    .swiper-phone .summary {
        font-size: 14px;
    }
    .swiper-phone .sub {
        font-weight: 600;
        font-size: 14px;
        margin: 10px 0;
    }

    .homeLocation {
        display: none;
    }
}
