
/* COMMON */



/* SKIP NAV */
#skip_to_container{
    position: absolute;
    width: 100%;
    top: 0;left: 999px;

}
#skip_to_container a{
    position: absolute;
    top: 0;
    width: 100%;
    height: 50px;
    background: transparent;
    color: #fff;
    text-align: center;
    line-height: 50px;
    transform: translateY(-100%);
}
#skip_to_container a:focus,
#skip_to_container a:active{
    transform: translateY(0);
}


/* HD START */

#hd{
    position: fixed;
    left: 0;
    right: 0;
    top: 50px;
    display: flex;
    padding: 0 5.2%;
    justify-content: space-between;
    height: 60px;
    z-index: 100;
    border-bottom: 0.5px solid #fff;
    border-top: 0.5px solid #fff;
    transition: all 0.5s linear;
    font-weight: 400;
}

#hd.down{
    background:rgba(255, 255, 255, 0.4);
    border-bottom: 0.5px solid #404040;
    border-top: 0.5px solid #404040;
    top: 0;
}
#hd.down .gnb_1dli{
    color: #3f4247;
    border-right: 1px solid #404040;
}

#hd.down .gnb_1dli.no0{
    border-left: 1px solid #404040;
}

#hd.down .reser_item a{
    color: #404040;
}

#hd.down .gnb_2dli{
    border: 1px solid #404040;
}


#btn-menu{
    position: fixed;
    right: 0;
    top: 0;
}
#btn-menu.on .line{
    background-color: #3f4247;
}

/* LOGO START */
#logo{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    width: 67px;
}


/* GNB START */

#gnb{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
#gnb_1dul{
    display: flex;
    height: 100%;
   
}
.gnb_1dli{
    position: relative;
    font-size: var(--sm-font-size);
    display: flex;
    align-items: center;
    padding: 0 33px;
	color: #fff;
    height: 100%;
    border-right: 1px solid #fff;
}
.gnb_1dli a{
    position: relative;
    z-index: 10;
}
.gnb_1dli.no0{
    border-left: 1px solid #fff;
}
.gnb_1dli.no4{
    display: none;
}
.gnb_2dul{
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    text-align: center;
    height: 0;
    overflow: hidden;
    padding-top: 60px;
}
.gnb_2dli{
    border: 1px solid #fff;
    padding: 10px 0;
}
.gnb_2dli a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 0;
}
.reser_item a{
    padding: 0 33px;
    color: #fff;
}
/* BTN MENU */
#btn-menu{
    position: fixed;
    right: 25px;
    top: 30px;
    width: 30px;
    height: 15px;
    z-index: 9999;
    display: none;
  
}
#btn-menu .line{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
}
#btn-menu .line.no2{
    top: 50%;
    transform: translate(0, -50%);
}
#btn-menu .line.no3{
    top: 100%;
    transform: translate(0, -50%);
}
#btn-menu.on .line.no1{
    animation: menuAni1 .5s linear forwards;
}

#btn-menu.on .line.no2{
    visibility: hidden;
}
#btn-menu.on .line.no3{
    animation: menuAni2 .5s linear forwards;
}

@keyframes menuAni1 {
    0%{
        transform: translateY(0);
    }
    100%{
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
}
@keyframes menuAni2 {
    0%{
        transform: translateY(0);
    }
    100%{
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }
}

@media(hover :hover){
    .gnb_1dli:hover .gnb_2dul{
        height: 100%;
        overflow: unset;
    }
}


@media screen and (max-width: 1366px) {
    #hd{
        height: 0;
        border: none;
        transition: unset;
        
    }
    #hd.down{
        border-bottom: unset;
        border-top: unset;
    }
    #logo{
        position: fixed;
        left: 25px;
        top: 30px;
        transform: unset;
    }
    #gnb{
        width: 50%;
        height: 100vh;
        position: fixed;
        right: 0;
        top: 0;
        background-color: #fff;
        transform: translateX(100%);
        transition: all 0.5s linear;
        overflow: auto;
        flex-direction: column;
    }
    #gnb.on{
        transform: translate(0);
    }
    .gnb_1dli{
        flex-direction: column;
        height: unset;
    }
    #gnb_1dul{
        width: 100%;
        height: 100%;
        flex-direction: column;
        padding-top: 20%;
    }
    .gnb_1dli a{
        width: 100%;
        padding: 10px 0;
        color: #404040;
    }
    .gnb_2dul{
        position: unset;
        height: 100%;
        overflow: unset;
        padding-top: unset;
        padding-left: 15px;
        text-align: left;
    }
    .gnb_1dli.no4{
        display: block;
    }
    #btn-menu{
        display: block;
    }
    .reser_item{
        display: none;
    }

    #hd.down .gnb_2dli{
        border: unset;
    }

    #hd.down .gnb_1dli.no0{
        border: unset;
    }

}

@media screen and (max-width: 560px) {

    #gnb{
        width: 70%;
    }

    #logo{
        top: 30px;
    }

    #btn-menu{
        top: 40px;
    }

    #gnb_1dul{
        padding-top: 15%;
    }
    #gnb_1dul{
        padding-top: 30%;
    }
}

