@font-face { /* 애플산돌고딕 폰트 적용 */
    font-family: "Freesentation-4Regular";
    src: url("../fonts/Freesentation-4Regular.ttf") format("truetype");
    font-weight: normal;
  } 
#wrap * {
    font-family: 'Freesentation-4Regular';
}
header {
    padding: 20px 0 0;
 
}
.header_wrap {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

nav {
   
}

.header_wrap img {
    height: 30px;
    margin-bottom: 20px;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 40px 0;
    border-top: 2px solid #e5e5e5;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.header_wrap ul li {
    margin-right: 10px;
    width: 12%;
    text-align: center;
}

.header_wrap ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 17px;
    padding: 10px 25px;
    border-radius: 10px;
    width: 100%;
    display: inline-block;
    border: 1px solid #d4d4d4;
}
li.selected a {
    color: #ffffff !important; /* 텍스트 색상 */
    font-weight: 400 !important;
    background: linear-gradient(to right, #1159d8, #a860ff);
}



@media screen and (max-width: 767px) {
  
   
    .header_wrap img {
        height: 25px;
        margin-bottom: 20px;
    }

   
    .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: 25px 10px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .header_wrap ul li {
        margin-right: 0;
        width: 25%;
        text-align: center;
    }
    .header_wrap ul li a {
        padding: 5px 15px;
        font-size: 13px;
        border-radius: 5px;
    }
    .header_wrap h1 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
  
   
}