@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: 1.5rem;
    
}
.header_wrap {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
}

nav {
   
}

.header_wrap img {
    height: 35px;
}



.header_wrap ul li {
    margin-right: 0;
    border-right: 1px solid #98989b;
    display: flex; 
    align-items: center; 
    height: 30%; 
}

.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: 5px 20px;
    border-radius: 5px;
    font-weight: 400;
    font-family: '6SemiBold' !important;
}


#wrap header ul li.selected a {
    color: #ff4600;
}


@media screen and (max-width: 767px) {
    header {
        padding: 1.5rem 0rem 1rem 1.5rem;
    }
    .header_wrap {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .header_wrap img {
        height: 25px;
    }
    .header_wrap ul {
        width: 100%;
        justify-content: center;
        position: relative;
    }
    .header_wrap ul li {
        border-right: 1px solid #98989b;
        height: 8px;
    }
    .header_wrap ul li a {
        font-size: 14px;
        padding: 5px 9px;
        width: 100%;
        text-align: center;
    }
}