header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: var(--top--);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.head {
    width: var(--width--);
    height: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
    align-items: stretch;
    border-radius: 5px;
    transition: all .6s ease;
}

header.on>.head {
    background-color: #fff;
    padding: 0 20px;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

header>.head>.logo {
    position: relative;
    align-self: center;
}

header>.head>.logo>a>img {
    transition: all .3s ease;
}

header>.head>.logo>a>img:nth-child(2) {
    /* display: none; */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

header.on>.head>.logo>a>img:nth-child(1) {
    /* display: none; */
    opacity: 0;
}

header.on>.head>.logo>a>img:nth-child(2) {
    /* display: block; */
    opacity: 1;
}

.head>.nav {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.nav a {
    color: #fff;
    transition: all .3s ease;
}

.on .nav a,
.childNav a {
    color: #000;
}

.nav>li {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav>li>a {
    font-size: var(--16px--);
}

.childNav {
    min-width: max(200px, 15vw);
    overflow: hidden;
    top: calc(100% - 10px);
    left: -10%;
    position: absolute;
    text-align: center;
    padding: 0;
    transition: all .5s ease;
    max-height: 0;
}

.childNav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.09);
}

.childNav>a {
    font-size: var(--14px--);
    display: block;
    color: #333;
    transition: all 0.5s;
    padding: 0 max(20px, 1.1vw);
    position: relative;
    white-space: nowrap;
    line-height: 300%;
    text-align: left;
}

.childNav>a:hover {
    background: #347236;
    color: #fff !important;
    border-radius: 5px;
}

.NavLis {
    cursor: pointer;
}

.NavLis:hover .childNav {
    padding: 10px 0 10px;
    max-height: 100vh;
    box-shadow: 0px 4px 5px 1px rgba(0, 0, 0, 0.1);
}

.langBox {
    display: flex;
    justify-self: end;
    align-items: stretch;
    color: #fff;
}

.langBox>div:first-child {
    display: flex;
    align-items: center;
    position: relative;
}

.langBox>div:first-child>span {
    display: flex;
    align-items: center;
}

.langBox>div:first-child>span>svg {
    margin-left: 5px;
}

header.on .langBox>div:first-child>span>svg>path {
    fill: rgb(52, 114, 54);
}

.langIco {
    transform: rotate(90deg);
    transition: all .6s ease;
}

.langBox>.lang:hover .langIco {
    transform: rotate(0deg);
}

header.on .langBox {
    color: #000;
}

.langBox .childNav {
    min-width: 100%;
    left: 0;
}

.lang {
    margin-right: 35px;
}

.searchIco {
    margin: auto 0;
    cursor: pointer;
}

header.on .searchIco>path {
    fill: #000;
}

/* Mo */
.MoBox {
    width: 100%;
    height: 0;
    display: none;
    transition: all .3s ease;
    overflow: hidden;
}

.MoBox>ul {
    width: 100%;
    box-sizing: border-box;
    padding: 150px 5% 0 5%;
}

.MoBox>ul>li {
    line-height: 300%;
    border-bottom: 1px solid #eee;
    /* display: flex; */
    position: relative;
    transition: all .3s ease;
}

.MoBox>ul>li>div:nth-child(1) {
    width: 100%;
    display: flex;
}

.MoBox>ul>li>div:nth-child(1)>a {
    width: 100%;
    text-transform: capitalize;
}

.HeadMoIcon {
    float: right;
    margin-left: auto;
    transition: all .3s ease;
}

.HeadMoIcon>.icon {
    width: 16px;
    height: 16px;

    transform: rotate(180deg);

}

.HeadNavLevel2 {
    max-height: 0px;
    background: #fff;
    transition: all 1s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding: 0 5%;
}

.HeadNavLevel2>a {
    line-height: 200%;
    color: #666;
}

/* footer */
footer {
    width: 100%;
    /* height: 400px; */
    padding-top: clamp(40px, 4.1666666667vw, 80px);
    border-radius: 10px;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fBox {
    width: var(--width--);
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 0.8fr 0.7fr;
    margin-bottom: 50px;
    column-gap: 20px;
}

.f1>p {
    font-size: var(--16px--);
    color: #999999;
    margin-bottom: 10px;
}

.f1>h6 {
    color: #347236;
    margin-bottom: 30px;
    line-height: 100%;
}

.f1>.IcoBox {
    display: flex;
    gap: 10px;
}

.f1>.IcoBox>a {
    width: 50px;
    aspect-ratio: 1 / 1;
    background-color: #f2f8f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .6s;
}

.f1>.IcoBox>a:hover {
    transform: translateY(-5px);
}

.f1>.IcoBox>a>svg {
    width: 25px;
    height: 25px;
}

.f1>img {
    margin-bottom: 30px;
}

.f2 {
    display: flex;
    flex-direction: column;
}

.f2>a {
    font-size: var(--16px--);
    color: #000;
    margin-bottom: 30px;
    transition: color .3s;
}

.f2>ul>li>a {
    font-size: var(--16px--);
    color: #666666;
    line-height: 30px;
    transition: color .3s;
}

.f2>ul>li>a:hover,
.f2>a:hover {
    color: #347236;
}

.f3 {
    display: flex;
    flex-direction: column;
}

.f3>a {
    color: #000;
    font-size: var(--16px--);
    margin-bottom: 30px;
}

/* .f4>img {
    margin-bottom: 45px;
} */

.f4>p {
    font-size: var(--16px--);
    color: #000;
    line-height: 24px;
}

.f4>p>b {
    font-family: Onsite standard Bold;
}

.f4>span {
    font-size: var(--16px--);
    color: #666666;

    line-height: 24px;
}

footer>.f4 {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 80px;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

footer>hr {
    width: 100%;
    height: 1px;
    opacity: 0.1;
    /* background-color: rgba(0, 0, 0, 0.1); */
}


/* search */
.searchBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 51;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all .6s;
}

.searchBox[state=true] {
    height: 100vh;
}

.searchBox .Search {
    display: inline-block;
    cursor: auto;
    width: 94%;
    max-width: max(300px, 36.458vw);
    position: relative;
}

.searchClose {
    width: max(35px, 3.125vw);
    height: max(35px, 3.125vw);
    position: absolute;
    top: max(20px, 2.083vw);
    right: max(20px, 2.083vw);
    border: 1px solid #347236;
    background-color: transparent;
    border-radius: 50%;
    transition: all ease 0.4s;
    fill: #347236;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchClose:hover {
    transform: rotate(180deg);
    background-color: #fff;
    fill: #347236;
}

.searchBox .Search input#search-input {
    font-size: max(16px, 0.938vw);
    line-height: max(45px, 3.438vw);
    width: 100%;
    border: 2px solid #347236;
    background-color: transparent;
    color: #fff;
    border-radius: max(50px, 2.604vw);
    padding: 0 max(15px, 1.302vw);
    padding-right: max(40px, 3.5vw);
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

.sear_ico {
    position: absolute;
    top: 0;
    background-color: transparent;
    border: none;
    right: 0.625vw;
    cursor: pointer;
    width: max(45px, 3.646vw);
    height: max(45px, 3.646vw);
    -webkit-transition: all ease 0.4s;
    transition: all ease 0.4s;
    -webkit-transform: scale(1.001);
    -ms-transform: scale(1.001);
    transform: scale(1.001);
    display: flex;
}

.sear_ico>svg {
    fill: #fff;
    margin: auto;
    width: max(20px, 1.406vw);
    height: auto;
}

@media (max-width:1200px) {
    .head {
        /* display: flex; */
        grid-template-columns: 0.6fr 1.4fr 0.6fr;
    }

    .fBox {
        grid-template-columns: 1.4fr 1.3fr 0.6fr 0.8fr;
    }
}

@media (max-width: 768px) {

    /* t */
    .head {
        display: flex;
        justify-content: space-between;
    }

    .nav,
    .langBox>.lang {
        display: none !important;
    }

    .nav,
    .langBox {
        margin-left: auto;
        margin-right: 20px;
    }

    .Hamburg {
        display: flex;
    }

    .MoBox {
        display: flex;
        justify-content: center;
        position: absolute;
        top: -50px;
        left: 0;
        background-color: #fff;
        z-index: -1;
        overflow-x: hidden;
        overflow-y: scroll;
    }


    /* d */
    .f-container>.phone,
    .f-container>.email {
        display: none;
    }

    .moInfo {
        display: flex;
        align-items: center;
    }

    .f-container {
        padding: 60px 0;
        justify-content: center;
    }

    .fNav {
        padding: 20px 0;
    }

    /* .f2,
    .f3 {
        display: none !important;
    } */

    .fBox {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        column-gap: 10px;
    }

    /* .f1{
        order: 1;
    }

    .f4{
        order: 2;
        margin-right: 10px;
    } */

    /* .f1 {
        order: 1;
    }

    .f2 {
        order: 4;
    }

    .f3 {
        order: 2;
    }

    .f4 {
        display: none;
        order: 3;
    }

    .f2>a {
        margin-bottom: 10px;
    }

    .fBox>div {
        width: calc(50% - 5px);
    }

    .fBox>div:last-child {
        margin-bottom: 20px;
    } */
    .fBox>.f4 {
        display: none;
    }

    .fb {
        flex: 1;
        display: flex;
        flex-direction: column-reverse;
    }

    .f1 {
        margin-right: 5%;
    }

    .f2>a {
        margin-bottom: 15px;
    }

    .f3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    footer>.f4 {
        height: 60px;
        padding: 0;
    }
}

@media (max-width: 480px) {
    header {
        height: 60px;

    }

    .bars {
        height: 2px;
    }

    .toggle {
        width: 30px;
    }


    .fNav>ul,
    .fNav>p {
        width: 80%;
        flex-wrap: wrap;
    }

    .fNav>ul>li {
        margin-bottom: 5px;
    }

    .fNav>ul>li>span {
        display: none;
    }

    .fNav>ul>li>a {
        margin-right: 0;
    }

    .fBox {
        flex-direction: column;
        justify-content: start;
    }

    .f2,
    .f3 {
        display: none;
    }

    .f1,
    .f4 {
        width: 100% !important;
    }

    .fb {
        display: none;
    }

    /* footer>.f4 {
        flex-wrap: wrap;

    } */

    footer>.f4 {
        height: auto;
        padding: 20px 0;
    }

    /* footer>.f4{
        flex-direction: column;
    } */
    footer>.f4>* {
        text-align: center;
    }
}