@font-face {
    font-family: 'NanumSquare';
    font-weight: 400;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Regular.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Regular.eot?#iefix') format('embedded-opentype'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Regular.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Regular.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Regular.ttf') format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: 'NanumSquare';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Bold.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Bold.eot?#iefix') format('embedded-opentype'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Bold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Bold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-Bold.ttf') format("truetype");
    font-display: swap;
} 
@font-face {
    font-family: 'NanumSquare';
    font-weight: 800;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-ExtraBold.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-ExtraBold.eot?#iefix') format('embedded-opentype'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-ExtraBold.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-ExtraBold.woff') format('woff'),
         url('https://cdn.jsdelivr.net/gh/webfontworld/NanumSquare/NanumSquare-ExtraBold.ttf') format("truetype");
    font-display: swap;
} 
#wrap * {
    font-family: 'NanumSquare';
}
header {
    padding: 20px 0 0;
 
}
.header_wrap {
    width: 100%;
    max-width: 1200px;
    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;
    width: 33%;
    text-align: center;
}

.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_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_wrap img {
        height: 25px;
        margin-bottom: 20px;
    }
    .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: center;
        position: relative;
        border-bottom: none;
    }
    .header_wrap ul {
        display: flex;
        list-style-type: none;
        margin: 0;
        padding: 15px 10px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .header_wrap ul li {
        margin-right: 0;
        width: 33%;
        text-align: center;
    }
    .header_wrap ul li a {
        padding: 0;
    }
    .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;
    }
   
}