#hd{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99999 !important;
}

#hd_wrapper .btn-menu{
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 14px;
    background: #fff;
    width: 58px;
    height: 58px;
    border-radius: 100%;
    border: 2px solid #b4bdc7;
    text-align: center;
    color: #003567;
    line-height: 1.1;
    padding-top: 12px;
    cursor: pointer;
    z-index: 99999;
}

#hd_wrapper .btn-menu .m_close{
    display: none;
    color: #003567;
    text-align: center;
    margin-top: 2px;
}

#hd_wrapper .btn-menu.on .m_open{
    display: none;
}

#hd_wrapper .btn-menu.on .m_close{
    display: block;
}

#hd_wrapper .btn-reserve{
    position: fixed;
    top: 0;
    right: 0;
    font-size: 12px;
    color: #8d9aae;
    z-index: 99999;
}

#hd_wrapper .btn-reserve a{
    display: block;
    padding-top: 10px;
    padding-right: 20px;
}

#hd_wrapper .btn-reserve .icon-reserve{
    margin-right: 10px;
}

#hd_wrapper .btn-reserve .bg{
    position: absolute;
    right: -150px;
    top: -20px;
    z-index: -1;
}

#hd.on #hd_wrapper .btn-reserve .bg{
	width: 100px;
}

#gnb .bg1,
#gnb .bg2{
    display: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#gnb{
    visibility: collapse;
    height: 100%;
    width: 100%;
    opacity: 0;
    position: relative;
    transition: 1s ease;
    -webkit-transition: 1s ease;
}

#gnb a{
    color: #829bb2 !important;
}



/* 큰 기기들 (큰 데스크탑, 1200px 이상) */
@media (min-width: 1460px) {
    #hd{
        height: 0;
    }
    #hd_wrapper .btn-menu{
        left: 55px;
        top: 50%;
        transform: translateY(-50%);
    }

    #wrap.sub #hd_wrapper .btn-menu{
        top: 50px;
        transform: none;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
    }

    #wrap.sub #hd_wrapper .btn-menu.on{
        top: 20px;
        transform: none;
    }

    #gnb{
        top: -100px;
    }

    #gnb .bg1,
    #gnb .bg2{
        display: block;
        top: -200px;
		width:100%;
    }
	#gnb .bg1 img,
	#gnb .bg2 img {
		width:100%;
	}
    #gnb .bg1{
        position: absolute;
        left: 0;
        /* top: -70px; */
        z-index: 2;
        opacity: 0;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
    }

    #gnb .bg2{
        position: absolute;
        left: 0;
        /* top: -100px; */
        z-index: 3;
        opacity: 0;
        transition: 1.5s ease;
        -webkit-transition: 1.5s ease;
    }

    #gnb #gnb_1dul{
        display: inline-block;
        width: 100%;
        padding-left: 23%;
        z-index: 1000;
        position: relative;
        margin-top: 0px;
        opacity: 0;
    }

    #gnb #gnb_1dul>li{
        float: left;
        position: relative;
        margin-right: 4%;
    }

    #gnb #gnb_1dul>li.no3>a{
        font-size: 25px;
        margin-top: -5px;
    }

    #gnb #gnb_1dul>li a{
        color: #456a8c !important;
    }

    #gnb #gnb_1dul>li>a{
        font-size: 18px;
        display: inline-block;
        padding-bottom: 2px;
        border-bottom: 1px solid transparent;
        font-family: 'Cardo', serif;
    }

    #gnb #gnb_1dul>li>ul{
        font-size: 13px;
        font-family: 'Nanum Barun Go thic', sans-serif;
        opacity: 0;
        visibility:collapse;
        width: 100%;
        transition: 1s ease;
        -webkit-transition: 1s ease;
        padding-top: 5px;
    }

    #gnb #gnb_1dul>li>ul>li{
        line-height: 1.6;
        font-weight: bold;
    }


    #hd.on #gnb{
        display: block;
        visibility: visible;
        opacity: 1;
        top: 0;
    }

    #hd.on #gnb .bg1{
        top: -40px;
        opacity: 1;
    }

    #hd.on #gnb .bg2.on{
        opacity: 1;
        top: 0;
    }

    #hd.on #gnb #gnb_1dul{
        opacity: 1;
        margin-top: 15px;
        transition: 1s ease;
        -webkit-transition: 1s ease;
        transition-delay: 0.5s;

    }

    #hd.on #hd_wrapper .btn-menu{
        top: 50px;
    }

    #hd.on #gnb #gnb_1dul:hover .gnb_2dul{
        opacity: 1;
        visibility: visible;

    }
}

@media (max-width: 1459px){
    #gnb{
        background: rgba(255, 255, 255, 0.95);
        text-align: left;
        padding: 50px;
        top: 0;
        text-align: center;
        bottom: 0;
        margin: 0;
        position: fixed;
        z-index: 1000;
        overflow: auto;
    }

    #gnb #gnb_1dul a{
        color: #819ab2;
        font-size: 40px;
    }

    #gnb #gnb_1dul>li>a{
        font-family: 'Cardo', serif;
    }

    #gnb #gnb_1dul>li>ul{
        font-family: 'Nanum Barun Gothic', sans-serif;
        display: inline-block;
        width: 100%;
        font-size: 0;
    }

    #gnb #gnb_1dul>li>ul a{
        font-size: 16px;
    }

    #gnb #gnb_1dul>li>ul>li{
        display: inline-block;
        font-size: 16px;
        margin-bottom: 20px;
        padding: 0 6px;
        border-right: 1px solid #ccc;
    }

    #gnb #gnb_1dul>li>ul>li:last-child{
        border: none;
    }

    #hd.on #gnb{
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 1200px) {

}

@media (max-width: 992px) {

}

@media (max-width: 768px) {


    #hd_wrapper .btn-reserve .bg{
        top: -20px;
        display: none;
    }

    #hd_wrapper .btn-reserve{
        background: #fff;
        top: 15px;
        right: 15px;
        border: 2px solid #b4bdc7;
    }

    #hd_wrapper .btn-reserve img{
        width: 25px;
    }

    #hd_wrapper .btn-menu{
        left: 10px;
        top: 10px;
        font-size: 12px;
        padding-top: 10px;
        width: 50px;
        height: 50px;
    }

    #hd_wrapper .btn-reserve a{
        text-align: center;
        padding: 5px;
    }

    #hd_wrapper .btn-reserve a span{
        font-size: 10px;
    }

    #gnb{
        padding: 80px 20px;
    }

    #gnb #gnb_1dul a{
        font-size: 20px;
    }

    #gnb #gnb_1dul>li>ul a{
        font-size: 14px;
    }

    #gnb #gnb_1dul>li>ul>li{
        margin-bottom: 5px;
    }

    #gnb #gnb_1dul>li>ul{
        margin-bottom: 20px;
        /* max-height: 0;
        transition: 0.5s ease;
        -webkit-transition: 0.5s ease;
        overflow: hidden; */
    }

    /* #gnb #gnb_1dul>li.gnb_1dli_on>ul,
    #gnb #gnb_1dul>li:hover>ul{
        max-height: 1000px;
    } */





}

@media (max-width: 520px) {

}
