@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

header {
 
 position: fixed;
 top: 0;
 width: 100vw;
 background-color: white;
 /* box-shadow: 0 2px 5px rgba(110, 110, 110, 0.212); */

z-index: 9999;

}

#header {
    
}

.header_center{
    border-bottom: 1px solid #d7d7d7;
}

#header a {
    text-decoration: none; 
    /* transition: color 0.5s; */
}

.h01 {
    width: 73%;
    height: 110px;
    margin: 0 auto;

    box-sizing: border-box;
    position: relative;
    /* border-bottom: 1px solid #d7d7d7; */
}

.h01 ul.menu{
    /* width: 34%; */
    /* height: 100%; */
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translate(0, -50%);
    display: flex;
    align-items: center;
    /* gap: 60px; */
}

.h01 ul.menu a{
    font-family: 'Pretendard-Bold', sans-serif;
    color: #222222;
    font-size: 22px;
}

#header .lang{
    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-family: 'pop-semi-bold', sans-serif;
    background-color: var(--yellow2);

    width:90px;
    height:40px;
    border-radius: 24px;
}

.h01 .header_img{
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(0, -50%); 
}

.h02{
    position: relative;
    width: 73%;
    margin: 0 auto;
    height: 230px;
}

.h02 nav{
    display: flex; 
    /* gap: 60px; */

    position: absolute;
    right: 0%;
    top: 50%;
    transform: translate(0, -50%);
}

#header .h02 .lang{
    visibility: hidden;
}

.h02 ul li{
    margin-bottom: 10px;
}


.h02 ul li a{
    font-family: 'Pretendard-Medium', sans-serif;
    font-size: 17px;
    color: #454545;
    transition: 0.2s;
}

.h02 ul li a:hover{
    color: var(--yellow2);
    font-weight: bold;
}

.h01 ul.menu li:nth-child(1),
.h02 .first{
    width: 160px;
}

.h01 ul.menu li:nth-child(2),
.h02 .second{
    width: 130px;
}

.h01 ul.menu li:nth-child(3),
.h02 .third{
    width: 130px;
}

.h01 ul.menu li:nth-child(4),
.h02 .fourth{
    width: 200px;
}



/* 
.hd .logo {}

.hd .logo img {} 
*/

.hd_nav {
 gap: 2vw;
}

.hd_nav>ul {
 position: relative;
 gap: 2.5vw;
}

.hd_nav>ul>li {
 white-space: nowrap;
 padding-right: 6px;
 position: relative;
 display: inline-block;
 transition: color 0.3s ease;
}

.hd_nav>ul>li.on,
.hd_nav>ul>li:hover {
 color: var(--main-color);
 font-weight: bold;
}




/*검색*/
.input_search {
 width: 15vw;
 border: none;
 font-size: 16px;
 outline: none;
 border-bottom: 1px solid #c5c3c3bd;
}

.input_search::placeholder {
 color: #969696;
 font-size: 1vw;
 font-family: "Poppins", sans-serif;
 font-weight: 200;
 font-style: normal;
}

.search_submit {
 width: 5vw;
 height: 2.5vw;
 border-radius: 30px;
}


#m_header{
    display:none;
}





/* mobile */
@media screen and (max-width: 767px) {
    .h01,
    .h02{
        display:none;
    }

    
    #m_header{
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: background-color .5s;

        background-color: var(--yellow2);
    }

    #m_header.hide{
        opacity: 0;
        visibility: hidden;
    }

    #m_header.scroll{
        /* background-color: #fff; */
    }

    #m_header .center{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center a img{
        width: 75%;
    }

    #m_header.scroll .center a img{
        content: url(../images/logo_color.png);
    }


    .m_lang_menu{
        display: flex;
        align-items: center;
    }

    .m_lang,
    .m_menu{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_lang{
        margin-right: 15px;
    }

    .m_lang i,
    .m_menu i{
        color: white;
        font-size: 24px;
    }

    #m_header.scroll .m_lang i,
    #m_header.scroll .m_menu i{
        color: #111;
    }

    .m_menu_box{
        width: 100%;
        height: 100%;
        background-color: var(--yellow2);
        position: fixed;
        top: 0;
        left: 0;
        padding: 0 5%;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 1s;
        color: white;
    }

    .m_menu_box.show{
        transform: translateX(0);
    }

    .m_menu_top{
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .m_menu_top a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_top a img{
        width: 75%;
    }

    .close{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close i{
        color: white;
        font-size: 24px;
    }

    .m_menu_inner{
        width: 100%;
        height: calc(100% - 60px);
        overflow: auto;
        padding: 40% 0;
        box-sizing: border-box;
    }

    ul.m_main_menu{
         /*width: max-content;*/
        width: 200px;
        margin: 0 auto;

        text-align: center;
    }

    ul.m_main_menu>li{
        width: 100%;
        padding: 20px 0;
    }

    ul.m_main_menu>li p{
        width: 100%;
        font-size: 20px;
        text-transform: uppercase;
        font-family: 'Pretendard-Semibold', sans-serif;
        font-weight: 700;
        color: white;
        padding: 0 10px;
        box-sizing: border-box;
    }

    ul.m_sub_menu{
        width: 100%;
        margin-top: 20px;
        padding: 0 15px;
        box-sizing: border-box;
        display: none;
    }

    ul.m_sub_menu li{
        width: 100%;
        margin-bottom: 15px;
        font-size: 16px;
        color: white;
        font-family: 'Pretendard-Semibold', sans-serif;
    }

    ul.m_sub_menu li:last-child{
        margin-bottom: 0;
    }



}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .h01,
    .h02{
        display:none;
    }

    #m_header{
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: background-color .5s;

        background-color: var(--yellow2);
    }

    #m_header.hide{
        opacity: 0;
        visibility: hidden;
    }

    #m_header.scroll{
        /* background-color: #fff; */
    }

    #m_header .center{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center a img{
        width: 100px;
    }

    #m_header.scroll .center a img{
        content: url(../images/logo_color.png);
    }


    .m_lang_menu{
        display: flex;
        align-items: center;
    }

    .m_lang,
    .m_menu{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_lang{
        margin-right: 15px;
    }

    .m_lang i,
    .m_menu i{
        color: white;
        font-size: 24px;
    }

    #m_header.scroll .m_lang i,
    #m_header.scroll .m_menu i{
        color: #111;
    }

    .m_menu_box{
        width: 50%;
        height: 100%;
        background-color: var(--yellow2);
        position: fixed;
        top: 0;
        left: 0;
        padding: 0 5%;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 1s;
        color: white;
    }

    .m_menu_box.show{
        transform: translateX(0);
    }

    .m_menu_top{
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .m_menu_top a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_top a img{
        width: 75%;
    }

    .close{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close i{
        color: white;
        font-size: 24px;
    }

    .m_menu_inner{
        width: 100%;
        height: calc(100% - 60px);
        overflow: auto;
        padding: 40% 0;
        box-sizing: border-box;
    }

    ul.m_main_menu{
        /*width: max-content;*/
        width: 200px;
        margin: 0 auto;

        text-align: center;
    }

    ul.m_main_menu>li{
        width: 100%;
        padding: 20px 0;
    }

    ul.m_main_menu>li p{
        width: 100%;
        font-size: 24px;
        text-transform: uppercase;
        font-family: 'Pretendard-Semibold', sans-serif;
        font-weight: 700;
        color: white;
        padding: 0 10px;
        box-sizing: border-box;
    }

    ul.m_sub_menu{
        width: 100%;
        margin-top: 20px;
        padding: 0 15px;
        box-sizing: border-box;
        display: none;
    }

    ul.m_sub_menu li{
        width: 100%;
        margin-bottom: 15px;
        font-size: 20px;
        color: white;
        font-family: 'Pretendard-Semibold', sans-serif;
    }

    ul.m_sub_menu li:last-child{
        margin-bottom: 0;
    }


}