@charset "utf-8";

header {
    background: #fcfcff;
    padding-top: var(--pd-xs);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header_inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    position: relative;
}
.header_logo {
    width: 132px;
}
.menu_wrap{
    display: flex;
    align-items: center;
    position: relative;
    z-index: 4000;
}
.menu{
    position: relative;
    padding: 16px 24px;
}
.menu_hover{
    width: 16px;
    opacity: 0;
    -webkit-transition:.6s;
	transition:.6s;
    position: absolute;
    top: 10px;
}
.menu>a:hover>.menu_hover{
    display: inline-block;
    opacity: 1;
}
.sub_menu{
    position: absolute;
    top: 100%;
    left: 0;
    text-align: center;
    opacity: 0;
    -webkit-transition:.6s;
    transition:.6s;
}
.sub_menu>li {
    width: 100%;
    background-color: #FCFCFF;
    padding: 8px 24px;
}
.sub_menu>li:last-child {
    border-radius: 0 0 16px 16px;
}
.sub_menu>.menu:hover{
    color: var(--color-orange-1);
}
.menu:hover>.sub_menu {
    opacity: 1;
}
.mobile_menu{
    display: none;
    line-height: inherit;
    z-index: 5000;
    position: relative;
}
.mobile_menu::after {
    content: 'MENU';
    font-size: 12px;
    font-weight: 700;
    color: var(--color-navy-1);
    position: absolute;
    bottom: -16px;
}
.bar{
    display: block;
    width: 36px;
    height: 3px;
    margin: 12px 0;
    border-radius: 12px;
    background: var(--color-navy-1);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
.mobile_menu.active::after {
    content: 'CLOSE';
    color: var(--color-light-1);
}

/*--------------------------------------------------
    Responsive
    ---------------------------------------------------*/
@media screen and (max-width: 1023px){
    header {
        padding-top: var(--pd-xxs);
    }
    header>.section_inner {
        width: 100%;
        margin: 0;
        padding: 0 var(--pd-xxs) var(--pd-xxxs);
    }
    header>.section_inner>.container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header_inner {
        height: 60px;
    }
    .menu_wrap {
        width: 100vw;
        height: 100vh;
        background: var(--color-navy-1);
        color: var(--color-light-1);
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        right: -100%;
        transition: 0.3s;
    }
    .menu {
        font-size: var(--p-font-md);
        font-weight: 700;
    }
    .sub_menu {
        display: none;
    }
    .mobile_menu{
        display: block;
    }
    .mobile_menu.active .bar:nth-child(1){
        transform: translateY(0px) rotate(45deg);
        background: #FCFCFF !important;
    }
    .mobile_menu.active .bar:nth-child(2){
        transform: translateY(-14px) rotate(-45deg);
        background: #FCFCFF !important;
    }
    .menu_wrap.active {
        right: 0;
    }
}
@media screen and (max-width: 767px){
    header {
        padding-top: 0px;
    }
    .header_logo {
        width: 96px;
    }
    .mobile_menu::after {
        font-size: 10px;
        right: 1px;
    }
    .bar {
        width: 30px;
        height: 2px;
        margin: 6px 0;
    }
    .mobile_menu.active .bar:nth-child(2){
        transform: translateY(-8px) rotate(-45deg);
    }
}