@font-face {
    font-family: 'Source Han Serif';
    src: url('../font/sy2.otf');

}

body,
html {
    margin: 0;
    padding: 0;
    position: relative;
    background: #f8f8f8;
    font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';
}

li {
    list-style: none;
}

.header {
    width: 100%;
    background: rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    padding: 20px 70px;
    box-sizing: border-box;
    z-index: 10;
}

.headerSroll {
    background: #6b9a5b;
    transition: all 1s;
}

.header .menu {
    cursor: pointer;

}

.header .menu:hover {
    transform: scale(1.3);
}

.header .search {
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.header .search:hover {
    transform: scale(1.3);
}

.header .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header .logo .title {
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
    font-family: 'Source Han Serif';
}


.menu_box .title {
    font-size: 24px;
    margin-top: 20%;
    text-align: center;

}

.menu_box {
    color: #fff;
    font-size: 16px;
    width: 100%;
}

.menu_box .close {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: rotate(0deg);
    font-size: 20px;

}

.menu_box .close:hover {
    transform: rotate(180deg);
}

.menu_box ul {
    width: 70%;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: 8vw;
}

.menu_box li {
    text-align: center;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
}

.menu_box>ul>li:hover a {
    color: #6b9a5b;
    font-weight: bold;
}

.menu_box>ul>li a {
    position: relative;

}

.menu_box>ul>li .active::after {
    content: '';
    width: 40px;
    height: 4px;
    background: #6b9a5b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    border-radius: 5px;
    transform: translateX(-50%);

}

.headerSroll .menu_box>ul>li .active::after {
    content: '';
    width: 40px;
    height: 4px;
    background: #fff;
    position: absolute;
    bottom: -10px;
    left: 50%;
    border-radius: 5px;
    transform: translateX(-50%);

}

.headerSroll .menu_box>ul>li:hover a {
    color: #fff;
    font-weight: bold;
}

.menu_box li a {
    color: #fff;
}

.header_bottom .menu_box li a {
    color: #333333;
}

.banner_box {
    width: 100%;
    height: auto;
    line-height: 0;
}

.banner_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.nav ul {
    display: flex;
    padding: 0 120px;
    box-sizing: border-box;

}

.nav ul li {
    width: 160px;
    height: 100%;
    line-height: 80px;
    text-align: center;
    cursor: pointer;

}

.nav ul li {
    text-align: center;
    color: #222222;
    font-size: 16px;
}

.nav ul .active {
    background: #6b9a5b;
}

.nav ul .active {
    color: #fff;

}

.nav ul .active a {
    color: #fff;

}

.contact .content {
    padding: 90px 120px;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    justify-content: space-between;

}

.contact .title div {
    color: #222;
    font-size: 40px;
    font-weight: bold;
    position: relative;
}

.contact .title div::after {
    content: '';
    background: url('../images/after_icon.png') no-repeat;
    position: absolute;
    bottom: -150%;
    left: 0;
    width: 100%;
    height: 100%;

}

.contact .left .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    margin-top: 80px;
}

.contact .right {
    width: 50%;
    height: 30vw;

}

.contact .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.contact .left .info div img {
    width: 96px;
    height: 97px;
}

.message {
    padding: 90px 120px;
    box-sizing: border-box;
    background: #f0f5f8;
}

.message .title div {
    color: #222;
    font-size: 40px;
    font-weight: bold;
    position: relative;
}

.message .title div::after {
    content: '';
    background: url('../images/after_icon.png') no-repeat;
    position: absolute;
    bottom: -150%;
    left: 0;
    width: 100%;
    height: 100%;

}


.info_box {
    width: 100%;
    padding: 45px 45px 80px 45px;
    box-sizing: border-box;
    background: #fff;
    margin-top: 80px;
}

.info_box .top {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.info_box .center {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info_box .center div {
    height: 60px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    font-size: 16px;
    outline: none;
    margin-top: 20px;
    line-height: 60px;
    display: flex;
    justify-content: space-between;

}

.info_box .center div label {
    color: gray;

}

.info_box .center div select {
    border: none;
    outline: none;
    background: #fff;
    width: 35%;
    font-size: 16px;
    color: gray;

}

.info_box .top input {
    height: 60px;
    text-indent: 20px;
    border: 1px solid #eaeaea;
    font-size: 16px;
    outline: none;
    background: #fff;
    color: gray;
    font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';

}

.address input {
    width: 100%;
    height: 60px;
    text-indent: 20px;
    border: 1px solid #eaeaea;
    font-size: 16px;
    outline: none;
    margin-top: 20px;
    box-sizing: border-box;
    background: #fff;
    color: gray;
    font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';

}

.letter textarea {
    width: 100%;
    height: 200px;
    text-indent: 20px;
    border: 1px solid #eaeaea;
    font-size: 16px;
    outline: none;
    margin-top: 20px;
    line-height: 50px;
    box-sizing: border-box;
    background: #fff;
    color: gray;
    font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';


}

.code {
    display: flex;
    margin-top: 20px;

}

.code input {
    width: 30%;
    height: 60px;
    text-indent: 20px;
    border: 1px solid #eaeaea;
    font-size: 16px;
    outline: none;
    background: #fff;
    color: #666;
    font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';

}

.code img {
    width: 180px;
    height: 60px;
    margin-left: 20px;
}

.code .submit {
    width: 228px;
    height: 60px;
    margin-left: 60px;
    background: #6b9a5b;
    text-align: center;
    line-height: 60px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    border: none;
    outline: none;
}

.footer {
    width: 100%;
    background: url('../images/footer_bg2.png') no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    color: #555454;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 120px 20px;
    box-sizing: border-box;

}

.footer>a {
    margin: 0 auto;
}

.footer .top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.footer .top .left {
    color: #555454;
    font-size: 14px;
}

.footer .top .right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.footer .top .right span {
    color: #fff;
}

.footer .top .right p {
    color: #fff;
}

.footer .top .left>div {
    margin-bottom: 20px;
}

.footer .center {
    display: flex;
    width: 50%;
    align-items: flex-start;

}

.footer .center ul {
    width: 20%;
}

.footer .center ul li {
    height: 50px;

}
.footer .center ul li:not(:first-child){
    height: 36px;

}

.footer .center ul li a {
    color: #fff;
    font-size: 14px;
}

.footer .center ul li:nth-child(1) a {
    font-size: 18px;
    font-weight: bold;
}

.footer>.top .right div span {
    font-size: 16px;
}

.footer>.top .right img {
    width: 106px;
    height: 106px;
}

.footer .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0px;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .bottom a {
    color: #fff;
}

.footer .bottom div {
    color: #fff;
}
@media screen and (max-width:1900px) {
  .footer>.top .right div span {
        font-size: 15px;
    }
}
@media screen and (max-width:1800px) {
  .footer>.top .right div span {
        font-size: 14px;
    }
    .footer {
        padding: 100px 100px 20px;
    }
    .footer .center {
        margin-left: 10%;
    }
}
@media screen and (max-width:1700px) {
    .footer {
        padding: 100px 100px 20px;
    }

    .footer>.top .right div span {
        font-size: 13px;
    }

    .news_box {
        margin-top: 23.5%;
    }

    .swiper-button-next {
        right: 44%;
        left: auto;
        top: 80%;
    }

    .swiper-button-prev {
        left: 44%;
        right: auto;
        top: 80%;

    }

    /*.footer .top .right {*/
    /*    width: 32%;*/

    /*}*/

    .footer .center {
        display: flex;
        width: 60%;
        align-items: flex-start;
        margin-left: 0%;
    }

    .content .item p {
        font-size: 15px;
    }

    input::placeholder {
        color: gray !important;
        font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';
    }

    textarea::placeholder {
        color: gray !important;
        font-family: 'Source Han Serif', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'sans-serif';
    }
}

@media screen and (max-width:1500px) {
    .footer>.top .right div span {
        font-size: 14px;
    }

    .footer>.top .right div:nth-child(3) span {
        font-size: 14px;
        line-height: 24px;
    }

    /* .footer .center ul li a {
        font-size: 12px;
    } */

    .news_box {
        margin-top: 28.5%;
    }

    .news_box .new_item .date {
        margin-top: 20px
    }

    .content .item p {
        font-size: 14px;
    }

    .footer {
        padding: 100px 110px 20px;
    }
}

@media screen and (max-width:1400px) {
    .swiper-button-next {
        right: 43%;
        left: auto;
        top: 80%;
    }

    .swiper-button-prev {
        left: 43%;
        right: auto;
        top: 80%;

    }

    .footer {
        padding: 80px 60px 20px;
    }

    .info_box .top input {
        font-size: 12px;


    }

    input::placeholder {
        color: gray !important;
    }

    textarea::placeholder {
        color: gray !important;
    }

    .info_box .center div label {
        font-size: 12px;

    }

    .info_box .center div select {
        border: none;
        outline: none;
        background: #fff;
        width: 45%;
        font-size: 12px;
    }

    .address input {
        font-size: 12px;

    }

    .letter textarea {
        font-size: 12px;

    }

    .code input {
        font-size: 12px;

    }

    .code .submit {
        font-size: 14px;

    }

    .code_box {
        margin-top: 40px !important;
    }

    .footer .top .right img {
        width: 70px;
        height: 70px;
    }
        .footer .center ul li {
        height: 40px;

    }

    .footer .center ul li:not(:first-child) {
        height: 36px;

    }
    .footer .top .right>div:not(:first-child){
        margin-top:24px !important;
    }
}