/*通用样式*/
:root {
    --public-color: #cf1f2a;
    --max: 1430px;
}

.header,
.dropdown.lang .dropdown-toggle {
    background-color: transparent;
    color: #fff;
}

.navbar-custom .navbar-nav .nav-link,
.top-search-box .search-tb i,
.dropdown.lang .dropdown-toggle:after {
    color: #fff;
}

.header.fadeInDown,
.header.fadeInDown .dropdown.lang .dropdown-toggle {
    background-color: white;
    color: #333333;
}

.header.fadeInDown .navbar-custom .navbar-nav .nav-link,
.header.fadeInDown .top-search-box .search-tb i,
.header.fadeInDown .dropdown.lang .dropdown-toggle:after {
    color: #333333;
}

.header #logo1 {
    display: none !important;
}

.header #logo2 {
    display: block !important;
}

.header.fadeInDown #logo1 {
    display: block !important;
}

.header.fadeInDown #logo2 {
    display: none !important;
}

.other-color {
    color: var(--public-color);
}

/* middle */
/* middle-one */
.middle-one {
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.middle-one .container-xl>div:nth-child(1) {
    margin-bottom: 155px;
}

.middle-one .container-xl>div:nth-child(1) h1 {
    font-size: 64px;
    line-height: 72px;
    color: #fff;
    font-weight: 400;
}

/* middle-two */
.middle-two {
    padding: 170px 0 100px 0;
    background: #fff;
}

.middle-two .up {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 90px;
    border-bottom: 4px solid var(--public-color);
}

.middle-two .up .left {
    width: 50%;
    font-size: 42px;
    line-height: 56px;
    color: #333333;
    font-weight: 400;
}

.middle-two .up .right {
    width: 50%;
    font-size: 18px;
    line-height: 32px;
    color: #666666;
    font-weight: 300;
}

.middle-two .down {
    margin-top: 75px;
}

.middle-two .down .col-md-4>div {
    height: 100%;
    display: flex;
    align-items: center;
}

.middle-two .down .col-md-4>div .image {
    max-width: 108px;
    max-height: 93px;
    margin-right: 20px;
}

.middle-two .down .col-md-4>div .image img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.middle-two .down .col-md-4>div .txt p:nth-of-type(1) {
    font-size: 18px;
    line-height: 42px;
    color: #333333;
    font-weight: 600;
    text-transform: uppercase;
}

.middle-two .down .col-md-4>div .txt p:nth-of-type(2) {
    font-size: 18px;
    line-height: 42px;
    color: #666666;
    font-weight: 300;
}

.middle-two .down .col-md-4>div .txt p:nth-of-type(2) span {
    font-size: 36px;
    color: var(--public-color);
}

/* middle-three */
.middle-three {
    padding: 120px 0 150px 0;
    position: relative;
}

.middle-three::before {
    content: "";
    position: absolute;
    width: 100%;
    max-width: 1600px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: #f8f8f8;
    height: 100%;
    z-index: 1;
}

.middle-three .up {
    position: relative;
    z-index: 2;
}

.middle-three .up::before {
    content: "";
    position: absolute;
    width: 100%;
    max-width: 1600px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: transparent;
    height: 100%;
    z-index: 1;
    border-left: 5px solid var(--public-color);
}

.middle-three .up .container-xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1665px;
    margin-right: 0;
    padding-right: 0;
}

.middle-three .up .container-xl .left {
    width: 41%;
}

.middle-three .up .container-xl .left .t1 {
    font-size: 42px;
    line-height: 52px;
    color: #333333;
    font-weight: 400;
}

.middle-three .up .container-xl .left .t2 {
    margin-top: 55px;
    font-size: 18px;
    line-height: 32px;
    color: #666666;
    font-weight: 300;
}

.middle-three .up .container-xl .right {
    width: 53%;
}

.middle-three .mid {
    margin-top: 100px;
    position: relative;
    z-index: 2;
}

.middle-three .mid .container-xl {
    font-size: 42px;
    line-height: 52px;
    color: #333333;
    font-weight: 400;
}

.middle-three .down {
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

.middle-three .down .container-xl {
    position: relative;
}

.middle-three .down .container-xl .mySwiper4 {
    overflow: hidden;
    margin-top: 100px;
}

@media (max-width: 1760px) {
    .button-prev1 {
        left: 10px !important;
    }

    .button-next1 {
        right: 10px !important;
    }
}

/* middle-four */
.middle-four {
    padding: 130px 0 125px 0;
    background: #fff;
}

.middle-four .container-xl {
    max-width: 1665px;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.middle-four .left {
    width: 60%;
}

.middle-four .right {
    width: 35%;
}

.middle-four .right .t1 {
    font-size: 42px;
    line-height: 52px;
    color: #333333;
    font-weight: 400;
}

.middle-four .right .t2 {
    margin-top: 55px;
    font-size: 18px;
    line-height: 32px;
    color: #666666;
    font-weight: 300;
}

/* middle-five */
.middle-five {
    padding: 0 0 200px 0;
    background: #fff;
}

.middle-five .col-md-3 {
    padding-bottom: 15px;
}

.middle-five .col-md-3>div {
    padding: 25px;
    padding-bottom: 15px;
    background: #f7f7f7;
    border-top: 4px solid var(--public-color);
}

.middle-five .col-md-3>div .image {
    display: flex;
}

.middle-five .col-md-3>div .image img {
    margin: auto;
}

.middle-five .col-md-3>div p {
    font-size: 20px;
    line-height: 52px;
    color: #333333;
    font-weight: 400;
}

@media (max-width: 768px) {
    .middle-one{min-height: 150px;}
    .middle-one .container-xl>div:nth-child(1){margin-bottom: 15px;padding-left: 16px;}
    .middle-two{padding: 30px 0 30px 0;}
    .middle-two .up{padding-bottom: 15px;}
    .middle-two .up .left{font-size: 24px;line-height: 32px;}
    .middle-two .up .right{width: 100%;font-size: 14px;line-height: 22px;}
    .middle-two .down{margin-top: 15px;}
    .middle-three{padding: 30px 0 30px 0;}
    .middle-three::before{display: none;}
    .middle-three .up::before{display: none;}
    .middle-three .up .container-xl{padding-right: 15px;}
    .middle-three .up .container-xl .left{width: 100%;}
    .middle-three .up .container-xl .left .t2{margin-top: 15px;}
    .middle-three .up .container-xl .right{width: 100%;margin-top: 15px;}
    .middle-three .mid{margin-top: 15px;}
    .middle-three .mid .container-xl{font-size: 24px;line-height: 32px;}
    .middle-three .down{margin-top: 15px;}
    .middle-three .down .container-xl .mySwiper4{margin-top: 0;}
    .button-prev1{width: 110px;height: 30px;left: 0 !important;gap: 10px;}
    .button-prev1::before{width: 50%;}
    .button-prev1 p:nth-child(1){line-height: 30px;}
    .button-prev1 p:nth-child(2){line-height: 30px;padding-right: 15px;}
    .button-next1{width: 110px;height: 30px;right: 0 !important;gap: 10px;}
    .button-next1::before{width: 50%;}
    .button-next1 p:nth-child(2){line-height: 30px;}
    .button-next1 p:nth-child(1){line-height: 30px;padding-left: 15px;}
    .middle-four{padding: 30px 0 30px 0;}
    .middle-four .container-xl{padding-left: 15px;}
    .middle-four .left{width: 100%;}
    .middle-four .right{width: 100%;}
    .middle-four .right .t2{margin-top: 15px;}
    .middle-five{padding: 0 0 30px 0;}
    .middle-five .col-md-3{width: 50%;}
    .middle-five .col-md-3>div{padding: 10px;height: 100%;}
    .middle-five .col-md-3>div p{font-size: 16px;line-height: 24px;}
}