@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 400;
    font-style: normal;
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-bRg.eot');
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-bRg.eot?#iefix') format('embedded-opentype'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-bRg.woff2') format('woff2'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-bRg.woff') format('woff'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-bRg.ttf') format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 700;
    font-style: normal;
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-cBd.eot');
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-cBd.eot?#iefix') format('embedded-opentype'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-cBd.woff2') format('woff2'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-cBd.woff') format('woff'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-cBd.ttf') format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 800;
    font-style: normal;
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-dEb.eot');
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-dEb.eot?#iefix') format('embedded-opentype'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-dEb.woff2') format('woff2'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-dEb.woff') format('woff'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-dEb.ttf') format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: 'NanumSquareNeo';
    font-weight: 900;
    font-style: normal;
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-eHv.eot');
    src: url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-eHv.eot?#iefix') format('embedded-opentype'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-eHv.woff2') format('woff2'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-eHv.woff') format('woff'),
         url('https://webfontworld.github.io/NanumSquareNeo/NanumSquareNeo-eHv.ttf') format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: 'JalnanGothic';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_231029@1.1/JalnanGothic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
#wrap * {
    font-family: 'NanumSquareNeo';
}
header {
    padding: 20px 0 0;
 
}
.header_wrap {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

nav {
   
}

.header_wrap img {
    height: 40px;
    margin-bottom: 20px;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.header_wrap ul li {
    margin-right: 20px;
}

.header_wrap ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 17px;
    padding: 5px 50px;
    border-radius: 5px;
}


.header_mo  {
    display: none;
}

@media screen and (max-width: 767px) {
    header {
        display: none;
    }
    .header_mo {
        display: block;
        text-align: center;
        border-bottom: none;
        padding: 20px 15px;
        border-bottom: 1px solid #f0f0f0;
        height: 57px;
    }
    .header_mo .ham {
        width: 20px;
    }
    .header_mo img {
        width: 70%;
        height: 20%;
        margin-bottom: 0;
    }
    .header_mo a {
        width: unset;
        text-align: left;
    }
    .header_mo nav {
        position: fixed;
        top: 0;
        left: -71%; 
        width: 50%;
        min-height: 80vh;
        background: #fff;
        z-index: 999;
        transition: .3s;
        display: block;
        background-color: #fff;
        
    }
    .header_wrap {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        border-bottom: none;
    }
    .header_wrap h1 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    .back1 {
        position: fixed;
        width: 100% !important;
        height: 100%;
        top: 0;
        display: none;
        z-index: 998;
        left: 0;
        background: #00000038;
    }
    nav.open + .back1 {
        display: block;
    }
    nav.open {
        left: 0;
        max-height: 80vh;
        width: 50%;
        background-image: url(../img/mo/menu-img.png);
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: bottom  right;
    }
    .nav_logo {
        width: 100%;
        height: 6rem;
        display: flex;
        justify-content: left; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding: 20px 15px;
        border-bottom: 1px solid #f0f0f0;
        height: 57px;
    }
    .close {
        display: block;
        background: url(../img/mo/menu-btn.png) no-repeat center/contain;
        width: 20px;
        height: 30px;
        cursor: pointer;
    }
    .nav_menu {
        flex-direction: column;
        padding: 15px;
        display: flex;
        gap: 10px;
    }
    .nav_menu li {
        padding: 15px;
        background-color: #fff;
        text-align: left;
    }
    .nav_menu li:last-child {
        border-bottom: none;
    }
    .nav_menu li a {
        display: block;
        font-size: 18px;
        color: #2c2f2d;
        font-weight: 600;
    }
    .nav_menu li a span {
        font-size: 16px;
        color: #2c2f2d;
        font-weight: 800;
        white-space: nowrap;
    }
    .nav_menu li .n {
        padding: 0;
    }
   
}