/* 시설소개 (club/facility) - 2026.11 리뉴얼 */

/* =========================================================
   상단 골프장 · 항목 탭 (예약안내 · 이용정보 공통 디자인)
   - 하나의 띠 안에 칸을 나누고, 선택한 칸은 금색 + 아래 화살표
   ========================================================= */
.fc_page .it_tabs {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 5px;
    border: 1px solid #e6dfc6;
    background: linear-gradient(180deg, #fff 0%, #fbf9f2 100%);
    box-shadow: 0 10px 28px rgba(110, 92, 20, .07);
}
.fc_page .it_tabs a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 54px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: #666;
    text-align: center;
    white-space: nowrap;
    transform: none;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
/* 칸 사이 구분선 */
.fc_page .it_tabs a + a:before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    width: 1px;
    height: 18px;
    margin-top: -9px;
    background: #e6dfc6;
    transition: opacity .2s ease;
}
.fc_page .it_tabs a:hover { border: 0; background: rgba(158, 134, 33, .07); color: #9e8621; box-shadow: none; transform: none; }
/* 선택한 칸 */
.fc_page .it_tabs a.cur {
    z-index: 1;
    background: linear-gradient(180deg, #b29a3a 0%, #9e8621 55%, #8c7619 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px rgba(158,134,33,.35);
}
.fc_page .it_tabs a.cur:before,
.fc_page .it_tabs a.cur + a:before { opacity: 0; }
.fc_page .it_tabs a.cur:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #8c7619;
    transform: rotate(45deg);
    z-index: -1;
}
.fc_page .it_tabs a:focus-visible { outline: 2px solid rgba(158,134,33,.55); outline-offset: -2px; }
/* 번호(01 ...)는 감추고 이름만 */
.fc_page .it_tabs .it_ext { width: 12px; height: 12px; color: #b9a85f; }
.fc_page .it_tabs a.cur .it_ext { color: #fff; }

@media (max-width: 768px) {
    .fc_page .it_tabs { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 4px; }
    .fc_page .it_tabs a { height: 42px; padding: 0 4px; font-size: 13px; white-space: normal; line-height: 1.25; }
    .fc_page .it_tabs a:before { display: none; }
    .fc_page .it_tabs a.cur:after { display: none; }
}

/* 상단 탭: 조금 차분하게 (그림자 · 그라데이션 · 화살표 약하게) */
.fc_page .it_tabs { border-color: #ebe6d4; background: #fff; box-shadow: 0 4px 14px rgba(110, 92, 20, .04); }
.fc_page .it_tabs a:hover { background: rgba(158, 134, 33, .05); }
.fc_page .it_tabs a.cur {
    background: linear-gradient(180deg, #a68e2d 0%, #9e8621 100%);
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(158,134,33,.2);
}
.fc_page .it_tabs a.cur:after { bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: #9e8621; }
.fc_page .it_tabs a + a:before { background: #eeeadb; }

/* ---------- 시설 목록: 사진 · 설명 교차 배치 ---------- */
.fc_page .facility_list { margin-top: 56px; counter-reset: fc_item; }
.fc_page .facility_list .item {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    overflow: visible;
    counter-increment: fc_item;
}
.fc_page .facility_list .item + .item { margin-top: 72px; padding-top: 72px; border-top: 1px solid #efefef; }
.fc_page .facility_list .item .img,
.fc_page .facility_list .item.odd .img,
.fc_page .facility_list .item.even .img { float: none; width: auto; overflow: hidden; background: #f3f3f3; }
.fc_page .facility_list .item.even .img { order: 2; }
.fc_page .facility_list .item .img img { display: block; width: 100%; height: auto; margin: 0; transition: transform .8s ease; }
.fc_page .facility_list .item:hover .img img { transform: scale(1.04); }

.fc_page .facility_list .item .txt,
.fc_page .facility_list .item.odd .txt,
.fc_page .facility_list .item.even .txt { float: none; width: auto; min-height: 0; }
.fc_page .facility_list .item .txt:before {
    content: counter(fc_item, decimal-leading-zero);
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #9e8621;
}
.fc_page .facility_list .item .txt > strong { position: relative; padding-bottom: 18px; font-size: 28px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; color: #333; }
.fc_page .facility_list .item .txt > strong:after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: #9e8621; }
.fc_page .facility_list .item .txt .desc { margin-top: 20px; font-size: 16px; line-height: 1.85; color: #666; }

/* 문의전화 */
.fc_page .facility_list .item .txt ul { margin-top: 26px; }
.fc_page .facility_list .item .txt ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 14px 18px;
    background: #faf8f1;
    font-size: 15px;
}
.fc_page .facility_list .item .txt ul li span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #9e8621;
}
.fc_page .facility_list .item .txt ul li span:before {
    content: "";
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e8621' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.5 4-2 1.5a11 11 0 0 0 6.5 6.5l1.5-2 4 1.5V19a1.5 1.5 0 0 1-1.5 1.5A16.5 16.5 0 0 1 3.5 5.5 1.5 1.5 0 0 1 5 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fc_page .facility_list .item .txt ul li p { margin: 0; font-size: 15px; font-weight: 500; color: #333; }
.fc_page .facility_list .item .txt ul li p + p:before { content: "·"; margin-right: 14px; color: #ccc; }

/* 자세히 보기 */
.fc_page .facility_list .item .txt .more_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #9e8621;
    font-size: 0;
    color: #9e8621;
    transition: background .2s ease, color .2s ease;
}
.fc_page .facility_list .item .txt .more_btn > * { display: inline; margin: 0; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 500; line-height: 1; color: inherit; }
.fc_page .facility_list .item .txt .more_btn > span:first-child { display: none; }
.fc_page .facility_list .item .txt .more_btn:after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .2s ease;
}
.fc_page .facility_list .item .txt .more_btn:hover { background: #9e8621; color: #fff; }
.fc_page .facility_list .item .txt .more_btn:hover:after { transform: translateX(3px); }

@media (max-width: 1024px) {
    .fc_page .facility_list .item { gap: 32px; }
    .fc_page .facility_list .item .txt .desc br { display: none; }
}
@media (max-width: 768px) {
    .fc_page .facility_list { margin-top: 30px; }
    .fc_page .facility_list .item { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .fc_page .facility_list .item.even .img { order: 0; }
    .fc_page .facility_list .item + .item { margin-top: 40px; padding-top: 40px; }
    .fc_page .facility_list .item .txt:before { margin-bottom: 6px; font-size: 12px; }
    .fc_page .facility_list .item .txt > strong { padding-bottom: 12px; font-size: 20px; }
    .fc_page .facility_list .item .txt .desc { margin-top: 14px; font-size: 14px; line-height: 1.8; }
    .fc_page .facility_list .item .txt ul { margin-top: 18px; }
    .fc_page .facility_list .item .txt ul li { padding: 12px 14px; }
    .fc_page .facility_list .item .txt ul li p { font-size: 14px; }
    .fc_page .facility_list .item .txt .more_btn { height: 40px; margin-top: 14px; }
    .fc_page .facility_list .item .txt .more_btn > * { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .fc_page .facility_list .item .img img { transition: none; }
}

/* 자세히보기: 오른쪽 아래 구석(절대 위치) 대신 문의전화 바로 아래, 글자 + 동그란 화살표 */
.fc_page .facility_list .item .txt { position: relative; }
.fc_page .facility_list .item .txt .more_btn {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: auto;
    margin-top: 22px;
    padding: 0;
    border: 0;
    background: none;
    color: #333;
}
.fc_page .facility_list .item .txt .more_btn > * { font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.fc_page .facility_list .item .txt .more_btn:after {
    order: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #9e8621;
    border-radius: 50%;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e8621' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
    -webkit-mask: none;
            mask: none;
    box-sizing: border-box;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.fc_page .facility_list .item .txt .more_btn:hover { background: none; color: #9e8621; }
.fc_page .facility_list .item .txt .more_btn:hover:after {
    background-color: #9e8621;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    transform: translateX(4px);
    box-shadow: 0 6px 14px rgba(158,134,33,.3);
}
@media (max-width: 768px) {
    .fc_page .facility_list .item .txt .more_btn { gap: 10px; margin-top: 16px; }
    .fc_page .facility_list .item .txt .more_btn > * { font-size: 14px; }
    .fc_page .facility_list .item .txt .more_btn:after { width: 32px; height: 32px; background-size: 14px; }
}

/* 자세히보기 버튼 다시: 차분한 짙은 버튼 + 작은 화살표 (마우스 올리면 금색) */
.fc_page .facility_list .item .txt .more_btn {
    gap: 10px;
    height: 46px;
    margin-top: 22px;
    padding: 0 20px 0 22px;
    border-radius: 23px;
    background: #2f3033;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.fc_page .facility_list .item .txt .more_btn > * { font-size: 14px; font-weight: 500; color: #fff; }
.fc_page .facility_list .item .txt .more_btn:after {
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    box-shadow: none;
}
.fc_page .facility_list .item .txt .more_btn:hover { background: #9e8621; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(158,134,33,.3); }
.fc_page .facility_list .item .txt .more_btn:hover:after {
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    box-shadow: none;
    transform: translateX(3px);
}
@media (max-width: 768px) {
    .fc_page .facility_list .item .txt .more_btn { height: 40px; padding: 0 16px 0 18px; }
    .fc_page .facility_list .item .txt .more_btn > * { font-size: 13px; }
    .fc_page .facility_list .item .txt .more_btn:after { width: 14px; height: 14px; }
}

/* 문의전화 · 운영시간을 한 상자에 촘촘하게 */
.fc_page .facility_list .item .txt ul { padding: 12px 18px; background: #faf8f1; }
.fc_page .facility_list .item .txt ul li { padding: 0; background: none; gap: 2px 12px; }
.fc_page .facility_list .item .txt ul li + li { margin-top: 6px; padding-top: 6px; border-top: 1px solid #efe9d6; }
.fc_page .facility_list .item .txt ul li span { min-width: 76px; }
.fc_page .facility_list .item .txt ul li p { line-height: 1.6; }
@media (max-width: 768px) {
    .fc_page .facility_list .item .txt ul { padding: 10px 14px; }
    .fc_page .facility_list .item .txt ul li span { min-width: 70px; }
}

/* 문의전화 · 운영시간을 한 줄로 (사이에 세로선) */
.fc_page .facility_list .item .txt ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.fc_page .facility_list .item .txt ul li { flex-wrap: nowrap; gap: 0 8px; }
.fc_page .facility_list .item .txt ul li span { min-width: 0; }
.fc_page .facility_list .item .txt ul li + li { position: relative; margin: 0 0 0 18px; padding: 0 0 0 18px; border-top: 0; }
.fc_page .facility_list .item .txt ul li + li:before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: #ddd3ad; }
/* 운영시간 뒤 안내(*석식 …)는 다음 줄로 */
.fc_page .facility_list .item .txt ul li { flex-wrap: wrap; }
.fc_page .facility_list .item .txt ul li p + p { flex: 1 1 100%; font-size: 13px; font-weight: 400; color: #888; }
.fc_page .facility_list .item .txt ul li p + p:before { content: none; }
@media (max-width: 768px) {
    .fc_page .facility_list .item .txt ul li + li { margin-left: 12px; padding-left: 12px; }
}
/* 번호가 둘인 경우(남자 · 여자)는 같은 줄, '*' 로 시작하는 안내만 다음 줄 */
.fc_page .facility_list .item .txt ul li p + p { flex: 0 1 auto; font-size: 15px; font-weight: 500; color: #333; }
.fc_page .facility_list .item .txt ul li p + p:before { content: "·"; margin-right: 8px; color: #ccc; }
.fc_page .facility_list .item .txt ul li p.note { flex: 1 1 100%; font-size: 13px; font-weight: 400; color: #888; }
.fc_page .facility_list .item .txt ul li p.note:before { content: none; }

/* 시설 번호 (01, 02 …) 크게 */
.fc_page .facility_list .item .txt:before { margin-bottom: 6px; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #9e8621; opacity: .9; }
@media (max-width: 768px) {
    .fc_page .facility_list .item .txt:before { font-size: 30px; }
}

/* 항목 아이콘: 전화(문의전화 · 이용문의) / 시계(운영시간 · 이용시간) / 그 외는 아이콘 없음 */
.fc_page .facility_list .item .txt ul li span:before { display: none; }
.fc_page .facility_list .item .txt ul li span.is_tel:before,
.fc_page .facility_list .item .txt ul li span.is_time:before { display: block; }
.fc_page .facility_list .item .txt ul li span.is_time:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239e8621' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
}

/* 문의전화 · 운영시간은 한 줄, '*석식…' 안내는 그 아래 줄
   (안내를 운영시간 칸 안에서 줄바꿈하면 운영시간까지 다음 줄로 밀려서, 상자 아래쪽에 따로 배치) */
.fc_page .facility_list .item .txt ul:has(p.note) { position: relative; padding-bottom: 36px; }
.fc_page .facility_list .item .txt ul li:has(p.note) { position: static; flex-wrap: nowrap; }
.fc_page .facility_list .item .txt ul li p.note { position: absolute; left: 18px; right: 18px; bottom: 11px; margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
    .fc_page .facility_list .item .txt ul:has(p.note) { padding-bottom: 32px; }
    .fc_page .facility_list .item .txt ul li p.note { left: 14px; right: 14px; bottom: 9px; font-size: 12px; }
}
/* 위에서 칸을 static 으로 바꾼 경우 세로 구분선은 테두리로 */
.fc_page .facility_list .item .txt ul li + li:has(p.note):before { display: none; }
.fc_page .facility_list .item .txt ul li + li:has(p.note) { border-left: 1px solid #ddd3ad; padding-top: 0; }
.fc_page .facility_list .item .txt ul li + li:has(p.note) { border-left: 0; background: linear-gradient(#ddd3ad, #ddd3ad) left center / 1px 12px no-repeat; }

/* 시설 번호 조금 작게 */
.fc_page .facility_list .item .txt:before { font-size: 36px; }
@media (max-width: 768px) { .fc_page .facility_list .item .txt:before { font-size: 26px; } }

/* =========================================================
   글씨 크기 통일 (클럽소개 하위 페이지)
   - 사진과 함께 보이는 큰 제목(섹션 28 · 시설명 28 · 슬라이드 제목 등)은 클럽소개 안에서 이미 같아 유지
   - 본문 · 소제목 · 보조 글씨만 공통 단계에 맞춤
     PC 소제목 18 · 본문 16 · 보조 15 · 안내 14 / 모바일 소제목 16 · 본문 14 · 보조 13 · 안내 12
   ========================================================= */
@media (max-width: 768px) {
    #content .item .txt ul li p { font-size: 14px; }           /* 문의전화 번호 (15 · 14 섞여 있던 것) */
}

/* 상단 탭 글씨 크기 통일 (이용안내 guide/info 탭과 같게: PC 18px · 모바일 15px) */
.fc_page .it_tabs a { font-size: 18px; }
@media (max-width: 768px) {
    .fc_page .it_tabs a { height: 50px; font-size: 15px; }
}
