@charset "utf-8";

#shGnb {
    display: flex;
    flex-flow: column;
    gap: 40px;
    padding-top: 50px
}

/* 로고 */
#shGnb .sh_logo {
    margin-left: 15%
}
#shGnb .sh_logo img {
    height: 35px;
}
/* 대분류  */
#shGnb .sh_nav>ul>li>a {
    display: block;
    padding: 15px 0 15px 15%;
    font-size: 16px;
    font-weight: 500;
    color: #fff
}

#shGnb .sh_nav>ul>li+li {
    margin-top: 10px
}

/* 소분류 */
#shGnb .sh_nav .sh_lnb_s {
    display: none;
    position: relative;
    width: 100%;
    background: #333
}

 

#shGnb .sh_nav .sh_lnb_s li a {
    display: block;
    position: relative;
    padding: 10px 0 10px 15%;
    font-size: 14px;
    font-weight: 500;
    color: rgb(255, 255, 255, 0.6);
    transition: all .2s
}

/* 상단 버튼 및 오픈메뉴 */
#topmenuM {
    display: none;
    width: 100%;
    line-height: 1.8;
    padding: 15px
}

#m_navBtn {
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 30;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    cursor: pointer
}

#m_navBtn span {
    display: block;
    position: relative;
    top: 50%;
    width: 100%;
    height: 2px;
    transform: translateY(-50%)
}

#m_navBtn span::before {
    display: block;
    position: absolute;
    top: -6px;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    content: ""
}

#m_navBtn span::after {
    display: block;
    position: absolute;
    top: 6px;
    right: 0%;
    width: 40%;
    height: 100%;
    background-color: var(--primary);
    content: ""
}

#m_navBtn.on {
    position: fixed;
    top: 27px
}

#m_navBtn.on span:before {
    top: 0;
    right: -4px;
    transform: rotate(45deg);
    background-color: #000
}

#m_navBtn.on span:after {
    top: 0;
    right: -4px;
    width: 100%;
    transform: rotate(-45deg);
    background-color: #222
}

#navWrap {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 15;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7)
}

#navWrap .inner {
    overflow-y: scroll;
    opacity: 0;
    position: fixed;
    right: -40px;
    top: 0;
    z-index: 999;
    min-width: 300px;
    width: 75%;
    height: 100%;
    padding: 60px 0;
    background-color: #fff;
    -webkit-transition: all .1s;
    transition: all .1s
}

#navWrap.on .inner {
    opacity: 1;
    right: 0;
    -webkit-transition: all .4s;
    transition: all .4s
}

#navWrap .inner:before,
#navWrap .inner:after {
    opacity: 0;
    display: block;
    position: fixed;
    top: 0;
    right: -40px;
    z-index: 1;
    content: "";
    min-width: 300px;
    width: 70%;
    height: 60px;
    background-color: #fff;
    -webkit-transition: all .1s;
    transition: all .1s
}

#navWrap .inner:after {
    top: auto;
    bottom: 0
}

#navWrap.on .inner:before,
#navWrap.on .inner:after {
    opacity: 1;
    right: 0;
    -webkit-transition: all .4s;
    transition: all .4s
}

#navWrap .inner .mo_hd_copy {
    position: fixed;
    right: 0;
    bottom: 15px;
    z-index: 2;
    min-width: 300px;
    width: 70%;
    font-size: 12px;
    text-align: center;
    color: #888
}

#navWrap .user_tip {
    padding: 10px 20px;
    background-color: #f5f5f5
}

#navWrap .user_tip li {
    display: inline-block
}

#navWrap .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-weight: 500;
    font-family: 'Noto Sans KR'
}

#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
}

/* 반응형 [s] */
@media (hover:hover) {
    #shGnb .sh_nav .sh_lnb_s li a:hover {
        color: #fff;
        background: var(--primary)
    }
}

@media (max-width:1024px) {
    #shGnb {
        display: none
    }

    #topmenuM {
        display: block
    }

    #navWrap {
        display: none
    }
}

/* 반응형 [e] */