#header{
    background-color: #ffffff;
    height: 100px;
    width: 100%;
    position: relative;

    left: 0;
    z-index: 9999;
}
#header .center1{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu_box{
    display: flex;
    align-items: center;
    gap: 0 32vw;
}
.main_menu{
    display: flex;
    gap: 0 90px;
    align-items: center;
    text-align: center;
}
.main_menu>li{
    position: relative;
}
.main_menu>li>a{
    position: relative;
    padding: 10px 0;
}
.sub_menu a{
    padding: 10px 0;
}
.sub_menu li{
    opacity: 0.9;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
}
.main_menu>li:hover .sub_menu li{
    visibility: visible;
    opacity: 1;
}
.main_menu>li:hover .sub_menu li:first-child{
    transition-delay:0.1s;
}
.main_menu>li:hover .sub_menu li:nth-child(2){
    transition-delay:0.2s;
}
.main_menu>li:hover .sub_menu li:nth-child(3){
    transition-delay:0.3s;
}
.sub_menu{
    position: absolute;
    width: 150px;
    background-color: rgba(17,17,17,0.8);
    padding: 14px 0px;
    box-sizing: border-box;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    text-align: center;
}
.main_menu>li:hover .sub_menu{
    opacity: 1;
    visibility: visible;
}
.sub_menu li:hover a{
   color: #0063b7;
}
.lang_box{
    padding: 8.5px 17px;
    border: 2pt solid #d7d7d7;
    box-sizing: border-box;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 15px;
}
.lang_box a.on{
    color: #111111;
}
.lang_box a{
    color: #bbbbbb;
}
/*
.lang_box li:first-child a{
    position: relative;
}
.lang_box li:first-child a::after{
    position: absolute;
    content: "";
    width: 2px;
    height: 13px;
    background-color: #bbbbbb;
    top: 50%;
    right: -50%;
    transform: translate(-50%,-50%);
}
*/
.lang_box .line p{
    width: 2px;
    height: 13px;
    background-color: #bbbbbb;
}

.menu_icon, #sitemap{
    display: none;
}

br.m_br{
    display: none;
}

/* mobile */
@media screen and (max-width: 767px){
    #header{
        height: 80px;
    }
    #header .center1>a{
        width: 150px;
    }
    #header .center1>a img{
        width: 100%;
    }
    .main_menu{
        display: none;
    }
    .menu_box{
        gap: 0 5vw;
    }
    .lang_box{
        padding: 5.5px 8px;
        gap: 0 10px;
    }
/*
    .lang_box li:first-child a::after{
        right: -12px;
    }
*/
    .menu_icon{
        display: block;
    }
    .menu_icon i{
        font-size: 24px;
    }

    /* site_map */
    #sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,99,183,0.7);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 16px;
        padding-top: 38px;
    }
    #sitemap i{
        font-size: 24px;
        color: #fff;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p{
        font-size: 18px;
        color: #fff;
        font-family: 'Pretendard-Bold', sans-serif;
        padding: 15px 0;
    }
    .st_menu li{
        padding: 10px 0;
    }
    .st_menu a{
        font-size: 16px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }

    br.m_br{
        display: block;
    }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    #header .center1>a{
        width: 200px;
    }
    #header .center1>a img{
        width: 100%;
    }
    .main_menu{
        display: none;
    }
    .menu_box{
        gap: 0 3vw;
    }
    .lang_box{
        padding: 3.5px 13px;
        gap: 0 20px;
    }
    .menu_icon{
        display: block;
    }
    .menu_icon i{
        font-size: 27px;
    }

    /* site_map */
    #sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,99,183,0.7);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 50px;
        padding-top: 38px;
    }
    #sitemap i{
        font-size: 27px;
        color: #fff;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p{
        font-size: 22px;
        color: #fff;
        font-family: 'Pretendard-Bold', sans-serif;
        padding: 20px 0;
    }
    .st_menu li{
        padding: 15px 0;
    }
    .st_menu a{
        font-size: 20px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }

}