@font-face {
    font-family: '4Regular';
    src: url(../fonts/Freesentation-4Regular.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '5Medium';
    src: url(../fonts/Freesentation-5Medium.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '6SemiBold';
    src: url(../fonts/Freesentation-6SemiBold.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '7Bold';
    src: url(../fonts/Freesentation-7Bold.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: '8ExtraBold';
    src: url(../fonts/Freesentation-8ExtraBold.ttf) format('woff2');
    font-weight: 400;
    font-style: normal;
}

#wrap *{
    font-family: '4Regular';
}

header {
    padding: 15px
}
.header_wrap {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   justify-content: flex-end;
}
.header_wrap img {
    height:35px;
}

.header_wrap ul li {
    margin-right: 0;
    display: flex; 
    align-items: center; 
    height: 60%; 
    padding: 0 5px;
}

.header_wrap ul li:last-child {
    border-right: none;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 60%;
    justify-content: flex-end;
    align-items: center;
    position: relative; /* 필요시 조정 */
}

.header_wrap ul li a {
    text-decoration: none;
    font-size: 18px;
    padding: 8px 15px;
    border-radius: 5px;
    font-family: '6SemiBold' !important;
}


#wrap header ul li.selected a {
    padding: 5px 15px;
    background-color: #ffc708;
    border-radius: 30px;
}



@media screen and (max-width: 767px) {
.header_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_wrap img {
    height: 20px;
}
.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: 100%;
    justify-content: center;
    align-items: center;
    position: relative; /* 필요시 조정 */
}
.header_wrap ul li {
    padding: 0 0 0 0;
}
.header_wrap ul li a {
    text-decoration: none;
    font-size: 15px;
    padding: 5px 15px;
    border-radius: 5px;
}
}