@charset "utf-8";

#shGnb {
    display: flex;
    align-items: center;
    height: 90px;
    padding: 0 70px
}

#shGnb .top_logo {
    position: relative;
    z-index: 102
}

#shGnb .top_logo img {
    max-height: 18px
}

#shResv {
    position: fixed;
    right: 70px;
    bottom: 70px;
    padding: 16px 25px;
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, .1);
    transition: opacity .2s;
    font-family: 'Marcellus'
}

#shResv:before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background: #fff;
    transition: all .45s cubic-bezier(0.165, 0.840, 0.440, 1)
}

/* 메뉴버튼 */
#shGnb .nav_btn {
    position: relative;
    z-index: 102;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 18px;
    color: #fff;
    font-family: 'Marcellus'
}

#shGnb .nav_btn span {
    margin-right: 12px;
    padding-top: 1px
}

#shGnb .nav_btn span:before,
#shGnb .nav_btn span:after {
    display: block;
    content: "";
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, .5);
    transition: all .2s
}

#shGnb .nav_btn span:after {
    margin-top: 6px
}

#shGnb .nav_btn.on span:before,
#shGnb .nav_btn.on span:after {
    width: 15px;
    background: #fff
}

#shGnb .nav_btn.on span:before {
    transform: rotate(45deg) translate(6.5px, 0px)
}

#shGnb .nav_btn.on span:after {
    transform: rotate(-45deg) translate(6.5px, 0px)
}

/* 메뉴오픈 */
#navWrap {
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 101;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, .9);
    transition: all .45s cubic-bezier(0.165, 0.840, 0.440, 1)
}

#navWrap ul {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    transition: all .45s cubic-bezier(0.165, 0.840, 0.440, 1)
}

#navWrap.on {
    height: 100vh
}

#navWrap ul li a {
    display: block;
    overflow: hidden;
    position: relative;
    font-size: 42px;
    color: #fff;
    transition: all .2s 0s;
    line-height: 1.6;
    font-family: 'Marcellus', 'Pretendard'
}

#navWrap ul li a:before {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: bottom left;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform .3s cubic-bezier(0.165, 0.840, 0.440, 1)
}

#navWrap ul li span {
    display: block;
    transform: translateY(60px)
}

#navWrap ul li+li {
    margin-top: 15px
}

#navWrap ul.on li span {
    opacity: 1;
    transform: translateY(0);
    transition: all .8s .4s cubic-bezier(0.165, 0.840, 0.440, 1)
}

/* 대분류  */
#shGnb .sh_nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    display: flex;
    gap: 1rem;
}

#shGnb .sh_nav>li { 
    position: relative;
    padding: 0 25px;
    line-height: 70px
}

#shGnb .sh_nav>li>a {
    display: block;
    font-size: 20px;
    color: #fff;
    transition: all .2s; 
}

/* 소분류 */
#shGnb .sh_lnb_s {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    width: max-content;
    display: flex;
    min-height: 145px;
    flex-direction: column;
    gap: 1rem;
}

#shGnb .sh_lnb_s li a {
    display: block;
    font-size: 16px;
    line-height: 2;
    text-align: center;
    color: #fff;
    transition: all .2s; 
}

.sh_lnb_bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background-color: rgba(0, 0, 0, .75)
}

/* 반응형 메뉴 [s] */
#topmenuM {
    display: none;
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 14px 15px 12px 60px;
    line-height: 1.8;
    background-color: #fff;
    font-family: 'Noto Sans KR'
}

/* 로고 */
#m_logo {
    position: relative
}

#m_logo a {
    display: inline-block
}

/* 전화걸기 */
#topmenuM .tel {
    display: block;
    position: absolute;
    right: 15px;
    top: 7px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    line-height: 47px;
    color: #fff;
    background-color: #111
}

/* 상단 버튼 및 오픈메뉴 */
#m_navBtn {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    width: 24px;
    height: 30px
}

#m_navBtn span {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background-color: #222
}

#m_navBtn span:before,
#m_navBtn span:after {
    display: block;
    content: "";
    position: absolute;
    top: -8px;
    width: 24px;
    height: 2px;
    background-color: #222;
    transition: all .1s
}

#m_navBtn span:after {
    top: 8px
}

#m_navBtn.on {
    position: fixed
}

#m_navBtn.on span {
    background-color: transparent
}

#m_navBtn.on span:before {
    top: 0;
    transform: rotate(45deg)
}

#m_navBtn.on span:after {
    top: 0;
    transform: rotate(-45deg)
}

#mnavWrap {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 4;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7)
}

#mnavWrap .inner {
    overflow-y: scroll;
    opacity: 0;
    position: fixed;
    left: -40px;
    top: 0;
    z-index: 6;
    min-width: 300px;
    width: 75%;
    height: 100%;
    padding: 60px 0;
    background-color: #fff;
    transition: all .1s
}

#mnavWrap.on .inner {
    opacity: 1;
    left: 0;
    transition: all .4s
}

#mnavWrap .inner:before,
#mnavWrap .inner:after {
    opacity: 0;
    display: block;
    position: fixed;
    top: 0;
    left: -40px;
    z-index: 1;
    content: "";
    min-width: 300px;
    width: 70%;
    height: 60px;
    background-color: #fff;
    transition: all .1s
}

#mnavWrap .inner:after {
    top: auto;
    bottom: 0
}

#mnavWrap.on .inner:before,
#mnavWrap.on .inner:after {
    opacity: 1;
    left: 0;
    transition: all .4s
}

#mnavWrap .inner .mo_hd_copy {
    position: fixed;
    left: 0;
    bottom: 15px;
    z-index: 2;
    min-width: 300px;
    width: 70%;
    font-size: 12px;
    text-align: center;
    color: #888
}

#mnavWrap .user_tip {
    padding: 10px 20px;
    background-color: #f5f5f5
}

#mnavWrap .user_tip li {
    display: inline-block
}

#mnavWrap .user_tip li+li {
    margin-left: 10px
}

/* 대분류 */
#topmenuM .m_lnb .m_bmenu {
    display: block;
    position: relative;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: none;
    font-size: 16px;
    line-height: 52px;
    color: #222;
    text-align: left;
    font-family: 'Noto Sans KR';
    font-weight: 500
}

#topmenuM .m_lnb .m_bmenu:after {
    float: right;
    content: "\f107";
    font-family: 'fontawesome'
}

#topmenuM .m_lnb .m_bmenu.on:after {
    content: "\f106"
}

/* 소분류 */
#topmenuM .m_smenu {
    display: none;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background-color: #f2f3f5
}

#topmenuM .m_smenu li a {
    font-size: 14px;
    color: #777
}

@media(hover:hover) {
    #shResv:hover {
        color: #111
    }

    #shResv:hover:before {
        width: 100%
    }

    #navWrap ul li a:hover:before {
        transform: scaleX(1);
        transform-origin: bottom right
    }

    #shGnb .sh_lnb_s li a:hover {
        opacity: .65
    }
}

@media (max-width:1240px) {
    #shGnb {
        padding: 0 30px
    }

    #shGnb .sh_nav>li {
        padding: 0 15px
    }
}

@media (max-width:1024px) {
    #shGnb {
        display: none
    }

    #topmenuM {
        display: block
    }

    #shResv {
        right: 40px
    }
}

@media (max-width:768px) {
    #shResv {
        right: 20px;
        bottom: 50px;
        padding: 12px 15px;
        font-size: 14px
    }
}

/* 반응형 메뉴 [e] */