@font-face {
    font-family: 'esamanru';
    src: url(../fonts/esamanru\ Bold.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'NanumSquareR';
    src: url(../fonts/NanumSquareR.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'NanumSquareB';
    src: url(../fonts/NanumSquareB.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'NanumSquare_acEB';
    src: url(../fonts/NanumSquare_acEB.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}

#wrap  * {
    font-family: 'NanumSquareR';
}

header {
    padding: 1rem 1.5rem;
    
}
.header_wrap {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
}

nav {
   
}

.header_wrap img {
    height: 50px;
}

.header_wrap ul li {
    margin-right: 0;
    display: flex; 
    align-items: center; 
    height: 60%; 
    position: relative;
}

.header_wrap ul li:last-child {
    border-right: none;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 65%;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

.header_wrap ul li a {
    text-decoration: none;
    font-size: 18px;
    padding: 5px ;
    border-radius: 5px;
    font-weight: 600;
    font-family: 'NanumSquare_acEB' !important;
}



ul li.selected a {
    color: #005fb8; 
    border-bottom: 3px solid  #005fb8;
    border-radius: 0;
}
footer {
    border-top: 1px solid #dfe0e3;
    padding: 15px 20px;
    background-color: #eef2f7;
}
footer p{
    line-height: 1.3;
    font-size: 1.4rem;
    font-family: 'GmarketSans';
    font-weight: 300;
    color: #7e7e7e;
}
footer  span{
    line-height: 1.5;
    font-size: 1.4rem;
    color: #686868;
    font-weight: 300;
    font-family: 'GmarketSans';
}

@media screen and (max-width: 767px) {
header {
    padding: 1rem .5rem;
}
.header_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}
.header_wrap img {
    height: 30px;
}
.header_wrap ul li {
    margin-right: 0;
    display: flex; 
    align-items: center; 
    height: 60%; 
}

.header_wrap ul li:last-child {
    border-right: none;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 95%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header_wrap ul li a {
    text-decoration: none;
    font-size: 15px;
    padding: 5px 6px;
    border-radius: 0;
    font-weight: 700;
}


}