@font-face {
    font-family: 'YeogiOttaeJalnan';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

/* home */
.home .section1 ul{display: grid;grid-template-columns: repeat(2, 1fr);gap: 2rem;}
.home .section1 ul li{border-radius: 2rem;background-size: 4rem 4rem;}
.home .section1 ul li:nth-child(1) {background: #f8f8f8 url(../img/main-icon-1.png) no-repeat right 2rem bottom 2rem; background-size: 4rem 4rem;}
.home .section1 ul li:nth-child(2) {background: #f8f8f8 url(../img/main-icon-2.png) no-repeat right 2rem bottom 2rem; background-size: 4rem 4rem;}
.home .section1 ul li:nth-child(3) {background: #f8f8f8 url(../img/main-icon-3.png) no-repeat right 2rem bottom 2rem; background-size: 4rem 4rem;}
.home .section1 ul li:nth-child(4) {background: #f8f8f8 url(../img/main-icon-4.png) no-repeat right 2rem bottom 2rem; background-size: 4rem 4rem;}
.home .section1 ul li a{padding: 3rem;width: 100%;}
.home .section1 ul li .btn_header{display: flex;justify-content: space-between;align-items: center;}
.home .section1 ul li .btn_header span{font-size: 1.8rem;font-weight: 500;}
.home .section1 ul li p{font-size: 1.3rem;color: #7c7c7c;line-height: 1.4;margin-top: 1rem;margin-bottom: 4rem;}

.home .section2{margin-top:4rem;}
.home .section_header{display: flex;justify-content: space-between;margin-bottom: 2rem;}
.home .section_header h2{font-size: 1.8rem;font-weight: 500;}
.home .section_header a{font-size: 1.5rem;}
.home .section2 ul{display: flex;gap: 2rem;}
.home .section2 ul li{flex: 1;min-width: 0;}
.home .section2 ul li figure{height: 11.5rem;width: 100%;background: #7c7c7c;margin-bottom: 1rem;overflow: hidden;}
.home .section2 ul li figure img{width: 100%;height: 100%;object-fit: cover;}
.home .section2 ul li p{font-size: 1.4rem;line-height: 1.3;display: -webkit-box;-webkit-line-clamp: 2;line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}

.home .section3{margin-top: 4rem;}
.home .section3 ul li, .faq ul li{border: 1px solid #E8E8E8;border-radius: 1.5rem;margin-bottom: 1rem;overflow: hidden;}
.home .section3 ul li a, .faq ul li a{display: block;padding: 2rem;}
.home .section3 ul li p, .faq ul li p{font-size: 1.5rem;}
.home .section3 ul li span, .faq ul li span{font-size: 1.5rem; color: #844911;margin-right: 0.5rem;}
.brown{color: #844911;font-weight: 500;}

.page_header {margin-top: 4rem;margin-bottom: 1rem;display: flex;align-items: center;justify-content: center;position: relative;background: #ffffff;}
.page_header a {position: absolute;left: 20px;display: flex;align-items: center;justify-content: center;width: 32px;height: 32px;}
.page_header a img {width: 10px;height: auto;}

.page_header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #1A1A1A;
    font-family: 'YeogiOttaeJalnan';
}


/* =====================
   검색 폼
   ===================== */
.search {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.select_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* =====================
   커스텀 셀렉트
   ===================== */
.custom_select {
    position: relative;
    width: 100%;
}

.select_trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid #E8E8E8;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #555555;
    transition: border-color 0.2s;
}

.select_trigger:hover {
    border-color: #E8E8E8;
}

.select_trigger:focus,
.select_trigger:focus-visible {
    outline: none;
    box-shadow: none;
}

.select_trigger .select_value {
    font-size: 14px;
    color: #555555;
}

.select_trigger .select_arrow {
    width: 15px;
    height: auto;
    transition: transform 0.2s ease;
    filter: brightness(0.4) sepia(1) hue-rotate(10deg);
}

/* 열렸을 때 화살표 회전 */
.custom_select.open .select_arrow {
    transform: rotate(180deg);
}

.custom_select.open .select_trigger {
    border-color: #e8e8e8;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* 드롭다운 옵션 리스트 */
.select_options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e8e0d8;
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    list-style: none;
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 6px 16px rgba(139, 94, 60, 0.12);
    scrollbar-width: thin;
    scrollbar-color: #d4b89a #f5ede4;
}

.select_options::-webkit-scrollbar {
    width: 5px;
}

.select_options::-webkit-scrollbar-track {
    background: #f5ede4;
    border-radius: 0 0 12px 0;
}

.select_options::-webkit-scrollbar-thumb {
    background: #d4b89a;
    border-radius: 4px;
}

.custom_select.open .select_options {
    display: block;
}

.select_option {
    padding: 13px 16px;
    font-size: 14px;
    color: #555555;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #e8e8e8;
}

.select_option:hover {
    background: #F5EDE4;
}

.select_option.selected {
    color: #8B5E3C;
    font-weight: 700;
    background: #FFF9F4;
}

.btn_search {
    width: 100%;
    padding: 14px;
    background: #8B5E3C;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}

.btn_search:hover {
    background: #6B4226;
}

.place_list {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    width: 100%;
}
.place_list .ads_item {
    grid-column: 1 / -1;
}

.place_list li a {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    background: #ffffff;
    transition: box-shadow 0.2s;
}

.place_list figure {
    width: 100%;
    background: #e8e0d8;
    overflow: hidden;
    height: 11.7rem;
}

.place_list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.place_info {
    padding-top: 1rem;
}

.place_info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #252525;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.place_info p {
    font-size: 1.3rem;
    color: #999999;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.place_info span {
    display: block;
    text-align: center;
    padding: 1rem 0;
    background: #8B5E3C;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 8px;
    letter-spacing: 0.2px;
    transition: background 0.2s;
}

.place_list li a:hover .place_info span {
    background: #6B4226;
}

/* =====================
   페이지네이션
   ===================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    padding-bottom: 32px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #555555;
    transition: all 0.15s;
}

.pagination a:hover {
    background: #F5EDE4;
    color: #8B5E3C;
}

.pagination .active {
    background: #8B5E3C;
    color: #ffffff;
}

.place_detail .summery{margin-bottom: 2rem;}
.place_detail figure{height: 180px;background: #fff;overflow: hidden;}
.place_detail figure img{width: 100%;height: 100%;object-fit: cover;display: block;}
.place_detail .txt h3{font-size: 1.8rem;font-weight: 500;margin: 2rem 0;line-height: 1.3;}
.place_detail .txt span{display: flex;gap: 1rem;font-size: 1.3rem;color: #7C7C7C;align-items: center;margin-bottom: 1rem;}
.info_common{margin-bottom: 2rem;}
.info_common h3{font-size: 1.8rem;color: #844911;font-weight: 500;margin-bottom: 1rem;}
.info_common p{font-size: 1.3rem;color: #7C7C7C;line-height: 1.6;}
.person{border: 1px solid #e8e8e8;display: flex;flex-direction: column;align-items: center;border-bottom: none;}
.person:last-child{border-bottom: 1px solid #e8e8e8;}
.person span{width: 100%;height: 48px;display: flex;justify-content: center;align-items: center;font-size: 1.5rem;color: #7c7c7c;}
.person .hd{border-bottom: 1px solid #e8e8e8;background: #FFF9F4;color: #844911;}
.intro{margin-bottom: 2rem;}
.intro h4{font-size: 1.6rem;font-weight: 500;margin-bottom: 1rem;}
.intro p{font-size: 1.3rem;color: #7C7C7C;line-height: 1.3;}
.sub_detail{margin-top: 1rem;}
.sub_detail .info_common .brown{font-size: 1.3rem;}
.sub_detail .info_common p{margin-bottom: 1rem;}
.sub_detail span{font-size: 1.3rem;}
.box h4{display: flex;align-items: center;height: 48px;background: #FFF9F4;padding: 2rem;border-radius: 1.5rem;font-size: 1.5rem;color: #844911;font-weight: 500;margin-bottom: 1rem;}
.box h4 img{margin-right: 1rem;}
.box p{font-size: 1.3rem;line-height: 1.5;color: #7C7C7C;}



.schedule_table{width: 100%;border-collapse: collapse;margin-top: 0.5rem;table-layout: fixed;}
.schedule_table th{background: #FFF9F4;color: #844911;font-weight: 500;padding: 0.8rem 0.5rem;text-align: center;border: 1px solid #E8E8E8;font-size: 1.3rem;}
.schedule_table th:nth-child(1){width: 14%;}
.schedule_table th:nth-child(2){width: 28%;}
.schedule_table th:nth-child(3){width: 58%;}
.schedule_table td{padding: 0.8rem 0.5rem;border: 1px solid #E8E8E8;color: #555;line-height: 1.5;vertical-align: middle;word-break: keep-all;overflow-wrap: break-word;font-size: 1.3rem;text-align: center;}
.schedule_table td.day{text-align: center;font-weight: 500;color: #844911;}
.schedule_table td.time{text-align: center;color: #7C7C7C;}

.faq ul{margin-top: 2rem;}
/* 아코디언 열렸을 때 */
.faq-question > p{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: 25.5rem;}
.faq-item.open .faq-question{background: #FFF9F4;}
.faq-item.open .faq-answer {
    display: block;
}

.faq-answer {
    display: none;
    padding: 1rem 2rem;
    border-top: 1px solid #E8E8E8;
}

.faq .faq-answer p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
}

/* 질문 버튼 기본 스타일 */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 2rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 화살표 아이콘 (이미지에서 ^ 모양) */
.faq-question::after {
    content: '';
    width: 1rem;
    height: 1rem;
    border-right: 2px solid #844911;
    border-top: 2px solid #844911;
    transform: rotate(135deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-question::after {
    transform: rotate(-45deg);  /* 열리면 ∨ → ∧ */
}
