@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;
} 
body {
    overflow-x: hidden;
}
#wrap * {
    font-family: 'NanumSquareNeo';
}
header {
    padding: 30px;
    border-bottom: 1px solid #f9e9ea;
    text-align: center;
}

.header_wrap {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header_wrap h1 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.header_wrap h1 img {
    width: 60%;
}

.header_wrap img {
    width: 50%;
}

.header_wrap .right1 {
    cursor: pointer;
    justify-content: center;
}
#wrap header nav ul li.selected {
    background-color: #b7485d;
  
}
#wrap header nav ul li.selected span {
    font-weight: 800;
    color: #fff;
}
#wrap {
    width: 100%;
}
header nav {
    position: fixed;
    top: 0;
    left: -71%; 
    width: 30%;
    min-height: 100vh;
    background: #fff;
    z-index: 999;
    transition: .3s;
    display: block;
    background-color: #f7dfe1;
}
.back {
    position: fixed;
    width: 100% !important;
    height: 100%;
    top: 0;
    display: none;
    z-index: 998;
    left: 0;
}
nav.open + .back {
    display: block;
}
nav.open {
    left: 0; 
}
.nav_logo {
    width: 100%;
    height: 6rem;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 1.5rem;
}
.close {
    display: block;
    background: url(../img/btn-x.png) no-repeat center/contain;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.nav_menu {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
}
.nav_menu li {
    padding: 25px;
    background-color: #f7dfe1;
    text-align: center;
}
.nav_menu li:last-child {
    border-bottom: none;
}
.nav_menu li a {
    display: block;
}
.nav_menu li a span {
    font-size: 20px;
    color: #2c2f2d;
    font-weight: 800;
    white-space: nowrap;
}
.nav_menu li .n {
    padding: 0;
}
.content1 {
    width: 1200px;
    margin: 0 auto;
}
.top {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.image-container {
    position: relative;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 10%; /* 왼쪽에 위치 */
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    width: auto;
    box-sizing: border-box; 
    max-width: 1200px;
    transform: translateY(-50%); /* 세로 중앙 정렬 */
    overflow-x: hidden;
}

.text-overlay .sub_title {
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    text-align: left;
}

@media (min-width: 768px) and (max-width: 1200px) {
   .header_wrap {
        width: 767px;
    }
    .content1 {
        width: 767px;
        margin: 0 auto;
    }

}
@media (max-width: 767px){
    .header_wrap {
        width: 100%;
    }
    header nav {
        width: 50%;
    }
    .nav_menu li {
        padding: 25px 15px;
    }
    .nav_menu li a span {
        font-size: 16px;
    }
    .nav_menu {
        
    }
    .text-overlay {
        position: absolute;
        top: 50%;
        left: 5%; /* 왼쪽에 위치 */
        text-align: center;
        padding: 10px;
        border-radius: 5px;
        width: auto;
        box-sizing: border-box; 
        max-width: 1200px;
        transform: translateY(-50%); /* 세로 중앙 정렬 */
    }
    
    .text-overlay .sub_title {
        color: #fff;
        font-size: 18px;
        font-weight: 800;
    }
 
    
}
    