#header {
    position: fixed;
    top: 40px;
    left: 45px;
    z-index: 99;
}

#header a {
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.main_menu {
    width: max-content;
    margin-top: 60px;
}

ul.main_menu>li {
    margin-bottom: 20px;
}

ul.main_menu>li:last-child {
    margin-bottom: 0;
}

ul.main_menu>li>p {
    width: max-content;
    font-size: 15px;
    color: #bbb;
    font-family: 'Pretendard-Light', sans-serif;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
}

ul.main_menu>li>p:after {
    content: " ";
    width: 0;
    height: 1px;
    background-color: #bbb;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateX(10px);
    transition: width .3s;
}

ul.main_menu>li.on>p:after,
ul.main_menu>li:hover>p:after {
    width: 15px;
}

ul.sub_menu {
    padding: 20px 0 0 15px;
    display: none;
}

ul.sub_menu li {
    width: max-content;
    font-size: 14px;
    color: #666;
    font-family: 'Pretendard-Light', sans-serif;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color .3s;
}

ul.sub_menu li:last-child {
    margin-bottom: 0;
}

ul.sub_menu li.on,
ul.sub_menu li:hover {
    color: #bbb;
    font-family: 'Pretendard-SemiBold', sans-serif;
}

#m_header {
    display: none;
}




































/* mobile */
@media screen and (max-width: 767px) {

    #header {
        display: none;
    }

    #m_header {
        display: block;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
    }

    #m_header .center {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center>a {
        width: 100px;
    }

    #m_header .center>a img {
        width: 100%;
    }

    .menu_icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu_icon i {
        font-size: 26px;
        color: #bbb;
    }

    .m_menubox {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform .5s;
    }

    .m_menubox.show{
        transform: translateX(0);
    }

    .mb_inner {
        width: 300px;
        height: 100%;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
    }

    .mb_bg {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .m_menubox.show .mb_bg{
        opacity: 1;
        transition: opacity .5s .3s;
    }

    ul.main_menu {
        margin: 0;
    }

    ul.main_menu>li {
        margin-bottom: 40px;
    }

    ul.main_menu>li>p:after {
        content: none;
    }

    ul.main_menu>li>p {
        font-size: 18px;
        cursor: inherit;
        color: #111;
        font-family: 'Pretendard-SemiBold', sans-serif;
    }

    ul.sub_menu li {
        font-size: 16px;
        cursor: inherit;
        margin-bottom: 15px;
    }

    ul.sub_menu li.on,
    ul.sub_menu li:hover {
        color: #666;
        font-family: 'Pretendard-Light', sans-serif;
    }

}










































/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #header {
        display: none;
    }

    #m_header {
        display: block;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99;
    }

    #m_header .center {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center>a {
        width: 100px;
    }

    #m_header .center>a img {
        width: 100%;
    }

    .menu_icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu_icon i {
        font-size: 26px;
        color: #bbb;
    }

    .m_menubox {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform .5s;
    }

    .m_menubox.show{
        transform: translateX(0);
    }

    .mb_inner {
        width: 300px;
        height: 100%;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
    }

    .mb_bg {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .m_menubox.show .mb_bg{
        opacity: 1;
        transition: opacity .5s .3s;
    }

    ul.main_menu {
        margin: 0;
    }

    ul.main_menu>li {
        margin-bottom: 40px;
    }

    ul.main_menu>li>p:after {
        content: none;
    }

    ul.main_menu>li>p {
        font-size: 18px;
        cursor: inherit;
        color: #111;
        font-family: 'Pretendard-SemiBold', sans-serif;
    }

    ul.sub_menu li {
        font-size: 16px;
        cursor: inherit;
        margin-bottom: 15px;
    }

    ul.sub_menu li.on,
    ul.sub_menu li:hover {
        color: #666;
        font-family: 'Pretendard-Light', sans-serif;
    }

}






































/* pc */
@media screen and (min-width: 1025px) and (max-width: 1400px) {

    #header {
        top: 30px;
        left: 30px;
    }

    #header a {
        width: 150px;
    }

    #header a img {
        width: 100%;
    }

    ul.main_menu {
        margin-top: 30px;
    }

    ul.main_menu>li {
        margin-bottom: 15px;
    }

    ul.main_menu>li>p {
        font-size: 14px;
    }

    ul.sub_menu {
        padding: 15px 0 0 10px;
    }

    ul.sub_menu li {
        font-size: 13px;
    }

}



/* pc */
@media screen and (min-width: 1401px) and (max-width: 1600px) {

    #header {
        top: 30px;
        left: 30px;
    }

    ul.main_menu {
        margin-top: 40px;
    }

}