@font-face { /* 애플산돌고딕 폰트 적용 */
    font-family: "Freesentation-4Regular";
    src: url("../fonts/Freesentation-4Regular.ttf") format("truetype");
    font-weight: normal;
  } 
@font-face { /* 애플산돌고딕 폰트 적용 */
    font-family: "Freesentation-7Bold";
    src: url("../fonts/Freesentation-7Bold.ttf") format("truetype");
    font-weight: normal;
  } 
@font-face { /* 애플산돌고딕 폰트 적용 */
    font-family: "Freesentation-6SemiBold";
    src: url("../fonts/Freesentation-6SemiBold.ttf") format("truetype");
    font-weight: normal;
  } 
#wrap * {
    font-family: 'Freesentation-4Regular';
}
main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
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: 25px;
    margin-bottom: 20px;
}

.header_wrap ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 20px;
    width: 45%;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #f2f7fb;
    border-radius: 40px;
}

.header_wrap ul li {
    width:33.333%;
    text-align: center;
}

.header_wrap ul li a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    padding:10px 25px;
    border-radius: 30px;
    width: 100%;
    display: inline-block;
    background-color: #fff;
}
li.selected a {
    color: #ffffff !important; /* 텍스트 색상 */
    background: #0051ff !important;
    font-weight: 400 !important;
}



@media screen and (max-width: 767px) {
    .header_wrap img {
        height: 15px;
        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: 10px 13px;
        width: 100%;
        align-items: center;
        justify-content: center;
        border-radius: 0;
    }
    .header_wrap ul li {
        margin-right: 0;
        text-align: center;
    }
    .header_wrap ul li a {
        font-size: 15px;
        padding: 10px 10px;
    }
    .header_wrap h1 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
  
   
}