@charset "UTF-8";
/* Banner容器样式 */
.banner-container {
    width: 100%;
    margin: auto;
    overflow: visible;
    margin-top: 12rem;
}

/* Banner样式 */
.swiper-container {
    width: 100%;
    position: relative;
    overflow: visible;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5vw;
    height: 5vw;
    color: #666;
}

.swiper-button-next {
    right: 8%;
}

.swiper-button-prev {
    left: 8%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 25px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none;
}

/* banner1 部分*/
/* 悬浮图片 */
.floating-image-p1 {
    position: absolute;
    width: 42% !important;
    height: auto !important;
    bottom: 0;
    left: 32%;
    transform: translateX(-50%);
    z-index: 1;
    transition: transform 1.3s ease;
}

.floating-image-p1:hover {
    left: 32%;
    z-index: 1;
    transform: scale(1.26) translateX(-33%) translateY(-10.4%);
    bottom: 0;
}

.b1_container {
    position: absolute;
    bottom: 0;
    right: 12%;
    width: 50%;
    height: 87%;
    display: -webkit-box; /* Safari 6.1+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Standard */
    flex-direction: column;
    align-items: flex-end;
}

.b1_top {
    width: 47%;
    text-align: center;
    white-space: nowrap;
}

.b2_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 87%;
    display: -webkit-box; /* Safari 6.1+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Standard */
    flex-direction: column;
}

.b2_top {
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.b3_container {
    position: absolute;
    bottom: 0;
    left: 12%;
    width: 30%;
    height: 82%;
    display: -webkit-box; /* Safari 6.1+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Standard */
    flex-direction: column;
}

.b3_top {
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.b1_top .b1_text,
.b2_top .b2_text,
.b3_top .b3_text {
    font-size: 1.9vw;
    letter-spacing: 0.1vw;
    font-weight: 500;
}

.b1_top .b1_text_2,
.b2_top .b2_text_2,
.b3_top .b3_text_2 {
    font-size: 2.3vw;
    font-weight: 600;
    letter-spacing: 0.3vw;
    white-space: nowrap;
}

.b2_top .b2_text {
    margin-top: 36%
}

.b1_button {
    width: 45%;
    height: 28%;
    display: -webkit-box; /* Safari 6.1+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Standard */
    align-items: center;
    justify-content: center;
}

.b3_button {
    width: 100%;
    height: 28%;
    display: -webkit-box; /* Safari 6.1+ */
    display: -ms-flexbox; /* IE 10 */
    display: flex; /* Standard */
    align-items: center;
    justify-content: center;
}

.b1_button .Banner1-button,
.b3_button .Banner3-button {
    padding: 0.55vw 1.2vw;
    font-size: 1.1vw;
    color: #000;
    background-color: transparent;
    border: 1px solid #666;
    border-radius: 0.45vw;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.22vw;
    font-weight: 500;
}

.b1_button .Banner1-button:hover,
.b3_button .Banner3-button:hover {
    background-color: #333;
    color: #FFF !important;
    transition: all 0.5s ease !important;
}

/*banner1 底部文字*/
.b1_bottom {
    margin-top: auto;
    width: 100%;
    text-align: right;
    color: #fff;
}

.b1_bottom .b1_bottom_text {
    font-size: 7.9vw;
    text-align: right;
    font-weight: 600;
    line-height: 8vw;
    white-space: nowrap;
}

.b1_bottom .b1_bottom_text2 {
    font-size: 7.5vw;
    text-align: right;
    font-weight: 600;
    line-height: 7.6vw;
    white-space: nowrap;
}

/* Banner2 黑白机器 */
.floating-image-white,
.floating-image-black {
    position: absolute;
    width: 50% !important;
    height: auto !important;
    transform: rotate(35deg);
    transform-origin: center center;
    z-index: 1;
}

.floating-image-black {
    top: 75%;
    left: 10%;
    transition: all 0.8s ease;
}

.floating-image-white {
    transform: rotate(35deg) scaleX(-1) scaleY(-1);
    top: -15%;
    left: 40%;
    transition: all 1.1s ease;
}

.floating-image-white.active,
.floating-image-black.active {
    top: 53%;
    left: 50%;
    width: 68% !important;
    height: auto !important;
    /* max-height: 90%; */
    object-fit: contain;
    z-index: 2;
}

.floating-image-black.active {
    transform: rotate(0deg) translate(-50%, -50%);
    transition: all 0.8s ease;
}

.floating-image-white.active {
    transform: rotate(360deg) translate(-50%, -50%);
    transform-origin: -30% -10%;
    -webkit-transform-origin: -20% 0%; 
    transition: all 1.1s ease;
}

.floating-image-white.inactive,
.floating-image-black.inactive {
    opacity: 0;
    pointer-events: none;
}

/* Banner2 按钮*/
.Banner2-button {
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    padding: 0.55vw 1.2vw;
    font-size: 1.1vw;
    color: #000;
    background-color: transparent;
    border: 1px solid #666;
    border-radius: 0.45vw;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.22vw;
    font-weight: 500;
    transition: all 0.5s ease;
}

.Banner2-button:hover {
    background-color: #333;
    color: #FFF;
    transition: all 0.5s ease;
}

/*
.Banner2-button.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
    transition: all 0.5s ease;
}
*/

@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 1rem;
    }

    .banner-container {
        margin-top: 0.8rem;
        /* 在小屏幕上减小间距 */
    }

    
    .m-ban01 {
        position: absolute;
        text-align: center;
        width: 100%;
        top: 9%;
    }

    .m-ban02 {
        position: absolute;
        text-align: center;
        width: 100%;
        top: 40%;
    }

    .m-ban-title1 {
        font-size: 4.3vw;
        letter-spacing: 0.6vw;
        color: #666;
    }

    .m-ban-title2 {
        font-size: 4.9vw;
        letter-spacing: 0.8vw;
        font-weight: 600;
        color: #666;
        margin-top: 0.9vw;
        margin-bottom: 0.9vw;
    }

    .m-ban-but {
        margin-top: 2.8vw;
        padding: 0.4vw 4vw;
        font-size: 2.5vw;
        height: 6.8vw;
        color: #666;
        border: 1px solid #ccc;
        border-radius: 1.2vw;
        letter-spacing: 0.8vw;
        background-color: transparent;
    }

    .m-ban1-text {
        position: absolute;
        width: 40%;
        right: 0%;
        bottom: 1%;
        text-align: left;
        font-size: 7.2vw;
        font-weight: 600;
        line-height: 9vw;
        color: #EEE;
    }

}
