/* =========================================================
   오시는 길 (club/location) - 2026.11 리뉴얼
   ========================================================= */

/* =========================================================
   상단 골프장 · 항목 탭 (예약안내 · 이용정보 공통 디자인)
   - 하나의 띠 안에 칸을 나누고, 선택한 칸은 금색 + 아래 화살표
   ========================================================= */
.lc_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);
}
.lc_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;
}
/* 칸 사이 구분선 */
.lc_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;
}
.lc_page .it_tabs a:hover { border: 0; background: rgba(158, 134, 33, .07); color: #9e8621; box-shadow: none; transform: none; }
/* 선택한 칸 */
.lc_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);
}
.lc_page .it_tabs a.cur:before,
.lc_page .it_tabs a.cur + a:before { opacity: 0; }
.lc_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;
}
.lc_page .it_tabs a:focus-visible { outline: 2px solid rgba(158,134,33,.55); outline-offset: -2px; }
/* 번호(01 ...)는 감추고 이름만 */
.lc_page .it_tabs .it_ext { width: 12px; height: 12px; color: #b9a85f; }
.lc_page .it_tabs a.cur .it_ext { color: #fff; }

@media (max-width: 768px) {
    .lc_page .it_tabs { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 4px; }
    .lc_page .it_tabs a { height: 42px; padding: 0 4px; font-size: 13px; white-space: normal; line-height: 1.25; }
    .lc_page .it_tabs a:before { display: none; }
    .lc_page .it_tabs a.cur:after { display: none; }
}

/* 상단 탭: 조금 차분하게 (그림자 · 그라데이션 · 화살표 약하게) */
.lc_page .it_tabs { border-color: #ebe6d4; background: #fff; box-shadow: 0 4px 14px rgba(110, 92, 20, .04); }
.lc_page .it_tabs a:hover { background: rgba(158, 134, 33, .05); }
.lc_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);
}
.lc_page .it_tabs a.cur:after { bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: #9e8621; }
.lc_page .it_tabs a + a:before { background: #eeeadb; }

/* ---------- 본문: 지도를 위로, 길 안내를 아래 카드로 ---------- */
.lc_page .tab_content_wrap { margin-top: 36px; }
.lc_page .tab_content_wrap .content_tabs .tab1.cur { display: flex; flex-direction: column; }
.lc_page #map { order: -2; height: 520px; margin: 0; border: 1px solid #e3e3e3; background: #f3f3f3; }
.lc_page .content_tabs .tab1:before {
    content: "자동차로 오시는 길";
    order: -1;
    position: relative;
    display: block;
    margin: 52px 0 18px;
    padding: 0 0 14px 14px;
    border-bottom: 2px solid #333;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    background: linear-gradient(#9e8621, #9e8621) left 6px / 4px 20px no-repeat;
}

/* 길 안내 카드 */
.lc_page .info_box,
.lc_page .info_box.type1 {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
    margin: 0;
    padding: 26px 28px;
    border: 1px solid #e3e3e3;
    background: #fff;
}
.lc_page .info_box + .info_box { margin-top: 12px; }
.lc_page .info_box .tit {
    position: static;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
}
.lc_page .info_box .tit:before {
    content: "";
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin-top: -6px;
    border-radius: 50%;
    background: #f5f0dc 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16V10.5L7 6h10l2 4.5V16z'/%3E%3Cpath d='M5 16v2.5M19 16v2.5M5 11.5h14'/%3E%3Ccircle cx='8.5' cy='13.75' r='.6'/%3E%3Ccircle cx='15.5' cy='13.75' r='.6'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* 경로: 단계 칩 + 화살표 */
.lc_page .info_box .method { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; font-size: 0; }
.lc_page .info_box .method + .method { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #e5e5e5; }
.lc_page .info_box .method strong { flex: 0 0 100%; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #9e8621; }
.lc_page .info_box .method span {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 6px 12px;
    background: #f6f6f6;
    font-size: 15px;
    line-height: 1.4;
    color: #444;
    text-transform: none;
}
.lc_page .info_box .method span:empty { display: none; }
.lc_page .info_box .method span.arr {
    width: 16px;
    height: 16px;
    padding: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a85f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
    font-size: 0;
    color: transparent;
}
/* 출발 · 도착 강조 */
.lc_page .info_box .method strong + span,
.lc_page .info_box .method > span:first-child { background: #fff; box-shadow: inset 0 0 0 1px #d8cc9c; font-weight: 600; color: #6f5f17; }
.lc_page .info_box .method > span:last-child { background: #9e8621; font-weight: 600; color: #fff; }

/* 기타 안내 (문단 · 표 · 참고) */
.lc_page .info_box .txt > p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; color: #555; }
.lc_page .info_box .location_guide { margin-top: 20px; padding: 16px 20px; background: #faf8f1; }
.lc_page .info_box .location_guide dl + dl { margin-top: 12px; }
.lc_page .info_box .location_guide dl dt { padding-left: 0; font-size: 15px; font-weight: 600; color: #333; }
.lc_page .info_box .location_guide dl dt:before { display: none; }
.lc_page .info_box .location_guide dl dd { padding-left: 0; font-size: 15px; line-height: 1.7; color: #666; }
.lc_page .info_box .info_tb table thead th { background: #f7f5ef; color: #6f5f17; font-size: 15px; font-weight: 600; }
.lc_page .info_box .info_tb table tbody th,
.lc_page .info_box .info_tb table tbody td { font-size: 15px; }

@media (max-width: 1024px) {
    .lc_page .info_box, .lc_page .info_box.type1 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .lc_page .info_box .tit br { display: none; }
    .lc_page #map { height: 420px; }
}
@media (max-width: 768px) {
    .lc_page .tab_content_wrap { margin-top: 22px; }
    .lc_page #map { height: 320px; }
    .lc_page .content_tabs .tab1:before { margin: 32px 0 12px; padding-bottom: 10px; font-size: 18px; background-position: left 5px; background-size: 4px 16px; }
    .lc_page .info_box, .lc_page .info_box.type1 { gap: 12px; padding: 18px 16px; }
    .lc_page .info_box .tit { font-size: 15px; gap: 10px; }
    .lc_page .info_box .tit:before { width: 32px; height: 32px; margin-top: -5px; background-size: 17px; }
    .lc_page .info_box .method { gap: 6px 4px; }
    .lc_page .info_box .method span { padding: 5px 9px; font-size: 13px; }
    .lc_page .info_box .method span.arr { width: 13px; height: 13px; background-size: 13px; }
    .lc_page .info_box .txt > p,
    .lc_page .info_box .location_guide dl dt,
    .lc_page .info_box .location_guide dl dd { font-size: 13px; }
}

/* =========================================================
   길 안내: 칩 나열 → 번호가 있는 세로 경로(타임라인)
   - 출발 → 경유 → 도착을 번호 · 이어진 선으로
   ========================================================= */
.lc_page .info_box,
.lc_page .info_box.type1 { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 32px 36px; }
.lc_page .info_box .tit { font-size: 19px; line-height: 1.45; }
.lc_page .info_box .tit:before { width: 44px; height: 44px; margin-top: -8px; background-size: 22px; }

.lc_page .info_box .method { display: block; counter-reset: lc_step; }
.lc_page .info_box .method + .method { margin-top: 26px; padding-top: 24px; }
.lc_page .info_box .method strong {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 0 12px;
    border-radius: 13px;
    background: #f5f0dc;
    font-size: 13px;
    line-height: 26px;
}
.lc_page .info_box .method span.arr { display: none; }
.lc_page .info_box .method span:not(.arr) {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 30px;
    margin: 0;
    padding: 4px 0 4px 44px;
    background: none;
    box-shadow: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #444;
    counter-increment: lc_step;
}
.lc_page .info_box .method span:not(.arr) + span.arr + span:not(.arr) { margin-top: 10px; }
/* 번호 동그라미 */
.lc_page .info_box .method span:not(.arr):before {
    content: counter(lc_step);
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    border: 1.5px solid #d8cc9c;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 25px;
    text-align: center;
    color: #9e8621;
    box-sizing: border-box;
}
/* 다음 단계로 이어지는 선 */
.lc_page .info_box .method span:not(.arr):not(:last-child):after {
    content: "";
    position: absolute;
    left: 13px;
    top: calc(50% + 14px);
    height: calc(100% - 4px);
    width: 2px;
    background: linear-gradient(180deg, #e3d9b4 0%, #efe8cf 100%);
}
/* 출발 */
.lc_page .info_box .method strong + span:before,
.lc_page .info_box .method > span:first-child:before { border-color: #9e8621; background: #fff; }
.lc_page .info_box .method strong + span,
.lc_page .info_box .method > span:first-child { font-weight: 600; color: #333; }
/* 도착 */
.lc_page .info_box .method > span:last-child { font-weight: 700; color: #9e8621; }
.lc_page .info_box .method > span:last-child:before {
    content: "";
    border-color: #9e8621;
    background: #9e8621 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.3-6-10a6 6 0 1 1 12 0c0 4.7-6 10-6 10z'/%3E%3Ccircle cx='12' cy='11' r='2'/%3E%3C/svg%3E") center / 15px no-repeat;
    box-shadow: 0 0 0 4px rgba(158,134,33,.15);
}
.lc_page .info_box .method > span:last-child { margin-top: 10px; }

/* 경로가 길면 PC 에서 2열로 (번호 순서는 위→아래, 왼→오) */
@media (min-width: 1200px) {
    .lc_page .info_box .method { column-count: 2; column-gap: 48px; }
    .lc_page .info_box .method strong { column-span: all; }
    .lc_page .info_box .method span:not(.arr) { break-inside: avoid; }
    .lc_page .info_box .method span:not(.arr):not(:last-child):after { display: none; }
    .lc_page .info_box .method span:not(.arr) { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 1024px) {
    .lc_page .info_box, .lc_page .info_box.type1 { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 22px; }
}
@media (max-width: 768px) {
    .lc_page .info_box, .lc_page .info_box.type1 { padding: 20px 16px; }
    .lc_page .info_box .tit { font-size: 16px; }
    .lc_page .info_box .tit:before { width: 34px; height: 34px; background-size: 18px; }
    .lc_page .info_box .method span:not(.arr) { min-height: 26px; padding-left: 36px; font-size: 14px; }
    .lc_page .info_box .method span:not(.arr):before { width: 24px; height: 24px; margin-top: -12px; font-size: 11px; line-height: 21px; }
    .lc_page .info_box .method span:not(.arr):not(:last-child):after { left: 11px; top: calc(50% + 12px); }
    .lc_page .info_box .method > span:last-child:before { background-size: 13px; }
}
/* 2열 대신 한 줄로 이어진 경로 유지 (선이 끊기지 않게) */
@media (min-width: 1200px) {
    .lc_page .info_box .method { column-count: 1; }
    .lc_page .info_box .method span:not(.arr):not(:last-child):after { display: block; }
    .lc_page .info_box .method span:not(.arr) { padding-top: 4px; padding-bottom: 4px; }
}

/* =========================================================
   길 안내: PC 는 좌우(가로) 경로 — 번호 동그라미가 선으로 이어지고 설명은 그 아래
   (모바일 · 태블릿은 위의 세로 경로 그대로)
   ========================================================= */
@media (min-width: 1025px) {
    .lc_page .info_box,
    .lc_page .info_box.type1 { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px 32px 34px; }
    .lc_page .info_box .tit { align-items: center; }
    .lc_page .info_box .tit br { display: none; }
    .lc_page .info_box .tit:before { margin-top: 0; }

    .lc_page .info_box .method { display: flex; flex-wrap: wrap; align-items: flex-start; row-gap: 22px; }
    .lc_page .info_box .method strong { flex: 0 0 100%; align-self: flex-start; margin: 0 0 2px; max-width: max-content; }
    .lc_page .info_box .method span:not(.arr) {
        flex: 1 1 0;
        min-width: 96px;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 0;
        margin: 0 !important;
        padding: 42px 6px 0;
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
        word-break: keep-all;
    }
    .lc_page .info_box .method span:not(.arr):before { left: 50%; top: 0; margin: 0 0 0 -15px; width: 30px; height: 30px; line-height: 27px; }
    .lc_page .info_box .method span:not(.arr):not(:last-child):after {
        display: block;
        left: calc(50% + 19px);
        right: calc(-50% + 19px);
        top: 14px;
        width: auto;
        height: 2px;
        background: linear-gradient(90deg, #e3d9b4 0%, #efe8cf 100%);
    }
    .lc_page .info_box .method > span:last-child:before { margin-left: -15px; }
}

/* 연결선이 번호 동그라미에 딱 붙도록: 선을 동그라미 중심에서 다음 동그라미 중심까지 긋고 동그라미가 위를 덮게 */
.lc_page .info_box .method span:not(.arr):not(:last-child):after { z-index: 0; top: 50%; height: calc(100% + 10px); background: #e0d5aa; }
.lc_page .info_box .method span:not(.arr):before { z-index: 1; }
@media (min-width: 1025px) {
    .lc_page .info_box .method span:not(.arr):not(:last-child):after { left: 50%; right: -50%; top: 14px; height: 2px; }
}


/* =========================================================
   경로 선: 출발 → 도착으로 금빛이 흘러가는 애니메이션
   ========================================================= */
@keyframes lc_flow_x { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes lc_flow_y { 0% { background-position: 0 100%; } 100% { background-position: 0 0; } }
.lc_page .info_box .method span:not(.arr):not(:last-child):after {
    background: linear-gradient(180deg, #e6dcb8 0%, #e6dcb8 30%, #9e8621 50%, #e6dcb8 70%, #e6dcb8 100%);
    background-size: 100% 300%;
    animation: lc_flow_y 2.4s linear infinite;
}
@media (min-width: 1025px) {
    .lc_page .info_box .method span:not(.arr):not(:last-child):after {
        background: linear-gradient(90deg, #e6dcb8 0%, #e6dcb8 30%, #9e8621 50%, #e6dcb8 70%, #e6dcb8 100%);
        background-size: 300% 100%;
        animation-name: lc_flow_x;
    }
}
.lc_page .info_box .method > :nth-child(1):after { animation-delay: 0.00s; }
.lc_page .info_box .method > :nth-child(2):after { animation-delay: 0.18s; }
.lc_page .info_box .method > :nth-child(3):after { animation-delay: 0.36s; }
.lc_page .info_box .method > :nth-child(4):after { animation-delay: 0.54s; }
.lc_page .info_box .method > :nth-child(5):after { animation-delay: 0.72s; }
.lc_page .info_box .method > :nth-child(6):after { animation-delay: 0.90s; }
.lc_page .info_box .method > :nth-child(7):after { animation-delay: 1.08s; }
.lc_page .info_box .method > :nth-child(8):after { animation-delay: 1.26s; }
.lc_page .info_box .method > :nth-child(9):after { animation-delay: 1.44s; }
.lc_page .info_box .method > :nth-child(10):after { animation-delay: 1.62s; }
.lc_page .info_box .method > :nth-child(11):after { animation-delay: 1.80s; }
.lc_page .info_box .method > :nth-child(12):after { animation-delay: 1.98s; }
.lc_page .info_box .method > :nth-child(13):after { animation-delay: 2.16s; }
.lc_page .info_box .method > :nth-child(14):after { animation-delay: 2.34s; }
.lc_page .info_box .method > :nth-child(15):after { animation-delay: 2.52s; }
.lc_page .info_box .method > :nth-child(16):after { animation-delay: 2.70s; }
.lc_page .info_box .method > :nth-child(17):after { animation-delay: 2.88s; }
.lc_page .info_box .method > :nth-child(18):after { animation-delay: 3.06s; }
.lc_page .info_box .method > :nth-child(19):after { animation-delay: 3.24s; }
.lc_page .info_box .method > :nth-child(20):after { animation-delay: 3.42s; }
.lc_page .info_box .method > :nth-child(21):after { animation-delay: 3.60s; }
.lc_page .info_box .method > :nth-child(22):after { animation-delay: 3.78s; }
.lc_page .info_box .method > :nth-child(23):after { animation-delay: 3.96s; }
.lc_page .info_box .method > :nth-child(24):after { animation-delay: 4.14s; }
.lc_page .info_box .method > :nth-child(25):after { animation-delay: 4.32s; }
.lc_page .info_box .method > :nth-child(26):after { animation-delay: 4.50s; }
.lc_page .info_box .method > :nth-child(27):after { animation-delay: 4.68s; }
.lc_page .info_box .method > :nth-child(28):after { animation-delay: 4.86s; }
.lc_page .info_box .method > :nth-child(29):after { animation-delay: 5.04s; }
.lc_page .info_box .method > :nth-child(30):after { animation-delay: 5.22s; }
@media (prefers-reduced-motion: reduce) {
    .lc_page .info_box .method span:not(.arr):not(:last-child):after { animation: none; background: #e0d5aa; }
}

/* 단계 사이 빈 간격 제거 (예전 2열 설정의 column-gap 이 가로 배치에도 적용되어 선이 끊겨 보였음) */
.lc_page .info_box .method { column-gap: 0; }

/* PC: 경로가 길어도 줄바꿈 없이 한 줄 (단계 폭을 나눠 쓰고, 단계가 많으면 글씨 조금 작게) */
@media (min-width: 1025px) {
    .lc_page .info_box .method { flex-wrap: nowrap; }
    .lc_page .info_box .method:has(> strong) { flex-wrap: wrap; }
    .lc_page .info_box .method:has(> strong) span:not(.arr) { flex-basis: 0; }
    .lc_page .info_box .method span:not(.arr) { min-width: 0; padding-left: 4px; padding-right: 4px; }
    .lc_page .info_box .method:has(> span:not(.arr):nth-of-type(17)) span:not(.arr) { font-size: 13px; letter-spacing: -.03em; }
}

/* 원본에 비어 있는 단계(<span></span>)는 숨기고 번호도 건너뜀 */
.lc_page .info_box .method span:not(.arr):empty { display: none; }

/* 셔틀버스 시간표: 공항 → 에버리스 사이 화살표 아이콘 */
.info_tb tbody th span.arr { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 12px; border-radius: 50%; background: #f5f0dc; color: #9e8621; vertical-align: middle; }
.info_tb tbody th span.arr svg { display: block; width: 17px; height: 17px; }
.info_tb tbody th span { vertical-align: middle; }
@media (max-width: 768px) {
    .info_tb tbody th span.arr { width: 24px; height: 24px; margin: 0 6px; }
    .info_tb tbody th span.arr svg { width: 14px; height: 14px; }
}
.info_tb tbody th span.arr { width: auto; height: auto; border-radius: 0; background: none; }
.info_tb tbody th span.arr svg { width: 20px; height: 20px; }

/* =========================================================
   글씨 크기 통일 (클럽소개 하위 페이지)
   - 사진과 함께 보이는 큰 제목(섹션 28 · 시설명 28 · 슬라이드 제목 등)은 클럽소개 안에서 이미 같아 유지
   - 본문 · 소제목 · 보조 글씨만 공통 단계에 맞춤
     PC 소제목 18 · 본문 16 · 보조 15 · 안내 14 / 모바일 소제목 16 · 본문 14 · 보조 13 · 안내 12
   ========================================================= */
#content .info_box.type1 > .tit { font-size: 18px; }           /* 경로 제목 (기존 19) */
#content .info_box.type1 .txt .method span,
#content .info_box.type1 .txt .method strong { font-size: 14px; } /* 상세 경로 (골프장마다 13 · 14 섞여 있던 것) */
@media (max-width: 768px) {
    #content .info_box.type1 > .tit { font-size: 16px; }       /* 경로 제목 (모바일은 원래대로 16) */
}

/* 상단 탭 글씨 크기 통일 (이용안내 guide/info 탭과 같게: PC 18px · 모바일 15px) */
.lc_page .it_tabs a { font-size: 18px; }
@media (max-width: 768px) {
    .lc_page .it_tabs a { height: 50px; font-size: 15px; }
}
