/* =========================================================
   입지환경 (location.php) - 텍스트 코딩 버전
   레이아웃/모션 참고 : parkroche-seoulone.com 입지환경
   - .mo 가 화면 90% 지점에 들어오면 .active
   - .ln > span : 줄 단위 아래→위 마스크 업 (0.8s)
   - .pl        : 문단 줄이 오른쪽→제자리로 슬라이드 + 페이드 (0.8s, 0.1s 간격)
   - 딜레이는 JS 가 --d 로 자동 지정
========================================================= */

/* 영문 폰트 : SUITE (참고 사이트와 동일) */
@font-face { font-family: 'SUITE'; font-weight: 300; font-display: swap; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Light.woff2') format('woff2'); }
@font-face { font-family: 'SUITE'; font-weight: 400; font-display: swap; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Regular.woff2') format('woff2'); }
@font-face { font-family: 'SUITE'; font-weight: 500; font-display: swap; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Medium.woff2') format('woff2'); }
@font-face { font-family: 'SUITE'; font-weight: 600; font-display: swap; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'SUITE'; font-weight: 700; font-display: swap; src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Bold.woff2') format('woff2'); }

.lcWrap {
    --green: #0f4a25;
    --green2: #3f6b4f;
    --ink: #0f1718;
    --gray: #8c8c8c;
    --line: #eaeaea;
    --ease: cubic-bezier(.25, .46, .45, .94);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    font-family: 'Pretendard', 'Noto Sans KR', 'malgun gothic', sans-serif;
    color: var(--ink);
    letter-spacing: -0.05em;
    padding-bottom: 10.4167vw;
    background: #fff;
    overflow-x: clip;   /* 캐러셀이 화면 밖으로 나가는 부분만 자르고 sticky 탭은 유지 */
}
.lcWrap * { font-family: inherit; }
.lcWrap small { font-size: .5em; font-weight: 500; letter-spacing: -0.02em; margin-left: .1em; }

/* ---------------------------------------------------------
   MOTION
--------------------------------------------------------- */
.lcWrap .ln { display: block; overflow: hidden; }
.lcWrap .ln > span {
    display: block;
    transform: translate(0, 100%);
    transition: transform .8s var(--ease);
}
.lcWrap .mo.active .ln > span,
.lcWrap .mo.active.ln > span {
    transform: none;
    transition-delay: var(--d, 0s);
}

.lcWrap .pl {
    opacity: 0;
    transform: translate(5%, 0);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.lcWrap .mo.active .pl,
.lcWrap .mo.active.pl {
    opacity: 1;
    transform: none;
    transition-delay: var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
    .lcWrap .ln > span, .lcWrap .pl, .lcWrap .lc-map img, .lcWrap .route li, .lcWrap .route::before,
    .lcWrap .lc-pm-media, .lcWrap .lc-pm-media .ph img, .lcWrap .lc-pm-item .bar, .lcWrap .lc-pm-item .ico, .lcWrap .lc-tram .illust img, .lcWrap .lc-map .img {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        clip-path: none !important;
    }
}

/* ---------------------------------------------------------
   본문 컨테이너 (70%)
--------------------------------------------------------- */
.lc-con { position: relative; width: 70%; min-width: 1100px; margin: 0 auto; padding-top: 6.25vw; }

/* ---------- 인트로 ---------- */
.lc-intro { position: relative; }
.lc-intro .t1 { margin-bottom: .4vw; }
.lc-intro .t1 p { font-size: max(1.354vw, 20px); font-weight: 600; line-height: 1.5; color: var(--green2); }
.lc-intro .t2 { margin-bottom: .6vw; }
.lc-intro .t2 p { font-size: max(2.5vw, 36px); font-weight: 700; line-height: 1.3; color: var(--green); }
.lc-intro .t3 { margin-bottom: 2.4vw; }
.lc-intro .t3 p {
    font-family: 'SUITE', 'Pretendard', sans-serif;
    font-size: max(2.083vw, 30px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
}
.lc-intro .t4 { display: flex; justify-content: flex-end; }
.lc-intro .t4 p { font-size: max(1.145vw, 16px); line-height: 1.75; }

/* ===== 인트로 모션 : 블러·흐림 없이 '움직임'만으로 =====
   모든 글자/줄은 보이지 않는 틀(마스크) 안에서 아래 → 제자리로 올라옴.
   전체 약 4초. 진입 상태(.play)에만 긴 이징·딜레이를 둠 */
.lc-intro .sp .s { display: inline-block; width: .28em; }
.lc-intro .sp .m { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.lc-intro .sp .c { display: inline-block; }

/* 1) 작은 제목 : 글자마다 마스크 안에서 올라옴 (글자 간격 0.035s) */
.lc-intro .t1 .c { transform: translate3d(0, 105%, 0); }
.lc-intro.play .t1 .c {
    transform: none;
    transition: transform 1.5s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(.15s + var(--i) * .035s);
}

/* 2) 큰 제목 : 글자마다 살짝 기울어진 채 올라오며 바로 섬 (글자 간격 0.06s) */
.lc-intro .t2 .c {
    transform: translate3d(0, 110%, 0) rotate(6deg);
    transform-origin: 0 100%;
}
.lc-intro.play .t2 .c {
    transform: none;
    transition: transform 1.9s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(.75s + var(--i) * .06s);
}

/* 3) 영문(초록) : 한 줄이 마스크 안에서 올라오며, 넓은 자간이 함께 좁혀짐 */
.lc-intro .t3 p { color: var(--green); overflow: hidden; padding-bottom: .08em; }
.lc-intro .t3 p span {
    display: inline-block;
    letter-spacing: .28em;
    transform: translate3d(0, 105%, 0);
}
.lc-intro.play .t3 p span {
    letter-spacing: 0;
    transform: none;
    transition: transform 1.8s cubic-bezier(.16, 1, .3, 1) 1.5s, letter-spacing 2.6s cubic-bezier(.16, 1, .3, 1) 1.5s;
}

/* 4) 가는 초록 선 : 왼쪽에서 그려짐 */
.lc-intro .rule {
    display: block;
    width: 140px;
    height: 1px;
    margin-bottom: 2.2vw;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
}
.lc-intro.play .rule { transform: none; transition: transform 1.6s cubic-bezier(.65, .05, .36, 1) 2.4s; }

/* 5) 설명 문단 : 줄마다 마스크 안에서 올라옴 (줄 간격 0.12s) */
.lc-intro .il { overflow: hidden; }
.lc-intro .il > span { display: block; transform: translate3d(0, 105%, 0); }
.lc-intro.play .il > span {
    transform: none;
    transition: transform 1.6s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(2.7s + var(--i) * .12s);
}

/* 스크롤에 따라 영문이 아주 천천히 흘러가는 패럴랙스 (JS 가 --sx 지정) */
.lc-intro .t3 p { transform: translate3d(var(--sx, 0px), 0, 0); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    .lc-intro .c, .lc-intro .t3 p span, .lc-intro .rule, .lc-intro .il > span {
        transform: none !important; letter-spacing: 0 !important; transition: none !important;
    }
    .lc-intro .t3 p { transform: none !important; }
}

/* ---------- 지도 ---------- */
.lc-map { margin-top: 5.7292vw; }
.lc-map .img {
    position: relative;
    border: 1px solid #637174;
    overflow: hidden;
    background: #f3f3f4;
    container-type: inline-size;
    /* 위→아래로 열리는 커튼 */
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.4s cubic-bezier(.77, 0, .18, 1);
}
.lc-map.active .img { clip-path: inset(0 0 0 0); }
.lc-map img {
    display: block;
    width: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s var(--ease), transform 2.4s var(--ease-out);
}
.lc-map.active img { opacity: 1; transform: none; transition-delay: .2s; }

/* 현장 위치 : 퍼지는 원 (참고 사이트 단지도 마커와 같은 방식) */
.lc-map .pin {
    position: absolute;
    width: 5.2cqw;
    height: 5.2cqw;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .8s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: none;
}
.lc-map.active .pin { transform: translate(-50%, -50%); transition-delay: 1.4s; }
.lc-map .pin em {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #c2185b;
    background: rgba(194, 24, 91, .12);
    animation: lcPin 3s linear infinite;
}
.lc-map .pin em:nth-child(2) { animation-delay: 1s; }
.lc-map .pin em:nth-child(3) { animation-delay: 2s; }
@keyframes lcPin {
    0% { transform: scale(.4); opacity: 1; }
    80% { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* 지도 하단 문구 */
.lc-map .map-copy {
    position: absolute;
    left: 2.2cqw;
    top: 69.6cqw;       /* 로고 줄 아래 */
    font-size: max(3.4cqw, 24px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.05em;
    color: var(--green);
    opacity: 0;
    transform: translate(0, 12px);
    transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.lc-map.active .map-copy { opacity: 1; transform: none; transition-delay: 1s; }
.lc-ori { margin-top: 1.2vw; text-align: right; font-size: 13px; line-height: 1.5; color: var(--gray); }
.lc-ori .pl { display: inline-block; }

/* ---------- 교통 카드 ----------
   제목은 원본 이미지와 같은 굵은 디스플레이 서체(Black Han Sans), 노선표 앞에 역 사인(누끼) */
.lc-traffic { display: grid; grid-template-columns: 1fr 380px; gap: 0 18px; margin-top: 5.2vw; }
.lc-gtx .tit, .lc-gtx .foot p, .lc-tram .tit, .lc-gtx .route li.pt b {
    font-family: 'Black Han Sans', 'Pretendard', sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.lc-gtx {
    position: relative;
    padding: 34px 44px 0 150px;
    background: #f3f3f4;
    overflow: hidden;
}
/* 역 사인 : 왼쪽, 아래 바에 서 있듯 + 아래에서 솟아오르며 등장 */
.lc-gtx .pillar {
    position: absolute;
    z-index: 3;
    left: 38px;
    bottom: 0;
    width: 84px;
    height: auto;
    transform: translate3d(0, 50px, 0);
    opacity: 0;
    transition: transform 1.2s var(--ease-out), opacity .8s var(--ease);
}
.lc-gtx.active .pillar { transform: none; opacity: 1; transition-delay: .3s; }
.lc-gtx .head { display: flex; align-items: center; }
.lc-gtx .tit { font-size: 40px; color: #003a1f; }
.lc-gtx .tit small { font-family: 'Pretendard', sans-serif; font-size: .42em; font-weight: 500; color: #555; }

/* 노선도 */
.lc-gtx .route {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 30px 40px 0 0;
    padding-bottom: 30px;
    list-style: none;
}
.lc-gtx .route::before {
    /* 노선 라인 : 좌→우로 그려짐 */
    content: '';
    position: absolute;
    left: 10px;
    right: -30px;
    bottom: 39px;
    height: 4px;
    background: linear-gradient(90deg, #2f3170 0, #2f3170 calc(100% - 40px), transparent calc(100% - 40px)),
                repeating-linear-gradient(90deg, #2f3170 0 5px, transparent 5px 9px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.6s var(--ease);
}
.lc-gtx.active .route::before { transform: none; transition-delay: .5s; }
.lc-gtx .route li {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 12px 0;
    opacity: 0;
    transform: translate(0, 10px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.lc-gtx.active .route li { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.lc-gtx .route li b { font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; color: #333; }
.lc-gtx .route li.pt b { font-size: 23px; line-height: 1.1; color: #c4161c; }
.lc-gtx .route li::after {
    /* 환승역 마크 */
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #2f3170;
    background: conic-gradient(from 200deg, #c4161c 0 180deg, #1e4fa1 180deg 360deg);
    box-shadow: inset 0 0 0 3px #fff;
}

.lc-gtx .foot {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin: 0 -44px 0 -150px;
    padding-left: 106px;
    background: #2f3170;
    border-radius: 0 60px 0 0;
}
.lc-gtx .foot p { font-size: 40px; color: #fff7a8; }
.lc-gtx .foot strong { font-weight: 400; }   /* Black Han Sans 는 400 하나뿐 → 합성 볼드로 번지는 것 방지 */
.lc-gtx .foot small { font-family: 'Pretendard', sans-serif; font-size: .45em; color: #fff; }
.lc-gtx .legend {
    /* 제목의 (예정)과 겹치지 않게 아래 파란 띠 오른쪽으로 */
    position: absolute;
    z-index: 4;
    right: 44px;
    top: auto;
    bottom: 37px;
    display: inline-flex;
    align-items: center;
    gap: 0 6px;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
}
.lc-gtx .legend i {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: conic-gradient(from 200deg, #c4161c 0 180deg, #1e4fa1 180deg 360deg);
}

/* 트램 배너 : 원본 이미지 느낌 (제목 + 갈색 태그 + 일러스트) */
.lc-tram {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding-top: 30px;
    background: #feefe4;
    overflow: hidden;
    text-align: center;
}
.lc-tram .tit { font-size: 34px; color: #d8586f; }
.lc-tram .tag {
    margin-top: 10px;
    padding: 5px 14px;
    border-radius: 6px;
    background: #ab8d75;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}
.lc-tram .illust { width: 88%; margin: auto 0 0 auto; overflow: hidden; }
.lc-tram .illust img {
    display: block;
    width: 100%;
    transform: translate(-12%, 0);
    opacity: 0;
    transition: transform 1.6s var(--ease-out), opacity 1s var(--ease);
}
.lc-tram.active .illust img { transform: none; opacity: 1; transition-delay: .5s; }

/* ---------- 입지 프리미엄 (스크롤 연동) ----------
   왼쪽 라벨·오른쪽 사진은 sticky 로 고정, 가운데 항목이 스크롤되며
   현재 항목(.current)의 사진이 아래→위로 덮이며 교체됨 */
.lc-premium {
    /* 고정 헤더(120) 아래 남은 화면의 세로 가운데에 사진이 오도록 */
    --pm-top: max(140px, calc(120px + (100vh - 120px - 500px) / 2));
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 520px;
    gap: 0 3vw;
    align-items: start;
    margin-top: 8vw;
}
.lc-pm-label {
    position: sticky;
    top: var(--pm-top);
    font-size: 30px;
    font-weight: 800;
    color: var(--ink);
}

.lc-pm-list { list-style: none; }
.lc-pm-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-content: center;
    min-height: calc(100vh - 120px);   /* 항목 하나가 한 화면 */
    padding: 6vh 0;
    opacity: .3;
    transition: opacity .8s var(--ease);
}
.lc-pm-item.current { opacity: 1; }
.lc-pm-item .num {
    padding-top: 1.1em;
    font-family: 'SUITE', 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink);
}
.lc-pm-item .tit {
    font-size: max(2.7vw, 40px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.05em;
    color: var(--ink);
}
.lc-pm-item .tit .hl { color: var(--green); }
.lc-pm-item .tit small { font-size: .42em; font-weight: 500; color: #666; }
.lc-pm-item .tit small.nm { font-size: .5em; }
.lc-pm-item .desc { margin-top: 2.2vw; }
.lc-pm-item .desc p { font-size: max(1.04vw, 16px); line-height: 1.75; color: #444; }
.lc-pm-item .desc b { color: var(--ink); font-weight: 700; }
.lc-pm-item .desc p:first-child { margin-bottom: 4px; font-size: max(1.15vw, 17px); }

/* 구분선 : 왼쪽부터 그려짐 */
.lc-pm-item .bar {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 1px;
    margin-top: 3vw;
    background: #d6d6d6;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s var(--ease);
}
.lc-pm-item.active .bar { transform: none; transition-delay: 1s; }
/* 아이콘 : 구분선 아래 오른쪽 */
.lc-pm-item .ico {
    display: block;
    height: 60px;
    width: auto;
    margin: 3vw 0 0 auto;
    margin-right: calc(100% - min(100%, 560px));
    opacity: 0;
    transform: translate(0, 20px) scale(.8);
    transition: opacity .8s var(--ease), transform 1s cubic-bezier(.34, 1.56, .64, 1);
}
.lc-pm-item.active .ico { opacity: 1; transform: none; transition-delay: 1.3s; }
.lc-pm-item .m-img { display: none; }

/* 오른쪽 고정 사진 */
.lc-pm-media {
    position: sticky;
    top: var(--pm-top);
    margin-top: calc((100vh - 120px - 500px) / 2);
    opacity: 0;
    transform: translate(0, 60px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease-out);
}
.lc-pm-media.active { opacity: 1; transform: none; }
.lc-pm-media .frame {
    position: relative;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: #eee;
}
.lc-pm-media .ph {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s cubic-bezier(.77, 0, .18, 1);
}
.lc-pm-media .ph:first-child { clip-path: inset(0 0 0 0); }
.lc-pm-media .ph.on { clip-path: inset(0 0 0 0); }
.lc-pm-media .ph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.18);
    transition: transform 1.8s var(--ease-out);
}
.lc-pm-media .ph.on img,
.lc-pm-media.active .ph:first-child img { transform: none; }
.lc-pm-media .ph[data-idx="1"] { z-index: 2; }
.lc-pm-media .ph[data-idx="2"] { z-index: 3; }
.lc-pm-media .ph[data-idx="3"] { z-index: 4; }

.lc-pm-media .count {
    display: flex;
    align-items: center;
    gap: 0 14px;
    margin-top: 22px;
    font-family: 'SUITE', 'Pretendard', sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    color: var(--gray);
}
.lc-pm-media .count b { color: var(--ink); font-weight: 600; }
.lc-pm-media .count em { position: relative; flex: 1; height: 1px; background: #ddd; overflow: hidden; }
.lc-pm-media .count em i {
    position: absolute;
    inset: 0;
    background: var(--green);
    transform: scaleX(var(--p, .25));
    transform-origin: left;
    transition: transform .8s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
    .lcWrap .lc-pm-media .ph { transition: none; }
}

/* 화면이 좁을 때 : 사진을 각 항목 안에서 보여줌 */
@media (max-width: 1400px) {
    .lc-premium { grid-template-columns: 1fr; }
    .lc-pm-label { position: static; margin-bottom: 40px; }
    .lc-pm-media { display: none; }
    .lc-pm-item { min-height: 0; opacity: 1; padding-bottom: 8vh; }
    .lc-pm-item .m-img { display: block; margin-top: 30px; max-width: 600px; overflow: hidden; }
    .lc-pm-item .m-img img { display: block; width: 100%; }
}


/* ---------- 유의사항 ---------- */
.lc-notice { display: flex; gap: 0 18px; margin-top: 6vw; padding-top: 30px; border-top: 1px solid var(--line); }
.lc-notice .ico {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ccc;
    color: #bbb;
    font-family: Georgia, serif;
    font-style: normal;
    font-size: 22px;
}
.lc-notice p { font-size: 13px; line-height: 1.7; color: var(--gray); letter-spacing: -0.03em; }
.lc-notice .pl { transform: translate(2%, 0); }

/* ---------- 상단 비주얼 영문 타이틀 : SUITE + 자간이 넓게 퍼졌다가 모이며 등장 ----------
   (참고 : 센트레빌 그랑포레 서브 상단) 넓은 자간·투명 → 제자리 자간으로 천천히 모임
   padding-left 를 자간과 같이 움직여 가운데 정렬이 흔들리지 않게 보정
   기존 AOS(fade-down) 움직임은 끄고 이 모션만 사용 */
.subTopWrap .imageWrap .sTitle .t1 {
    font-family: 'SUITE', 'Pretendard', sans-serif;
    font-weight: 600;
    letter-spacing: .1em;
    padding-left: .1em;
    transform: none !important;
    animation: stTitleSpace 2.4s cubic-bezier(.22, .61, .36, 1) .4s both, stTitleFade 1.6s ease .4s both;
}
@keyframes stTitleSpace {
    from { letter-spacing: .6em; padding-left: .6em; }
    to   { letter-spacing: .1em; padding-left: .1em; }
}
@keyframes stTitleFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .subTopWrap .imageWrap .sTitle .t1 { animation: none; opacity: 1 !important; }
}

/* 교통 구간(GTX-B 노선 + 송도 트램) : 원본 시안 이미지로 교체 — 폰트 대신 이미지 글씨 (2026-10-27) */
.lc-traffic--img { display: grid; grid-template-columns: 2445fr 1007fr; gap: 0 .4%; margin-top: 5.2vw; }
.lc-tx img { display: block; width: 100%; height: auto; }
.lc-tx { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); }
.lc-tx.active { opacity: 1; transform: none; }
.lc-tx--tram { transition-delay: .15s; }

/* TEST — 교통 구간 제목 3곳만 시안 이미지 글씨로 (원본 PDF 에서 잘라낸 투명 배경 이미지)
   높이(--h)를 글자 크기(em)에 맞추고, 폭은 비율(--r)로 직접 계산해 줄어들지 않게 함 */
.lc-gtx .ti, .lcm-gtx .ti, .lc-tram .ti, .lcm-tram .ti { display: block; max-width: none; flex: none; height: var(--h); width: calc(var(--h) * var(--r)); margin: -.07em 0; }
.lc-gtx .tit .ti,    .lcm-gtx .tit .ti    { --h: 1.185em; }
.lc-gtx .foot p .ti, .lcm-gtx .foot p .ti { --h: 1.10em; }
.lc-tram .tit .ti,   .lcm-tram .tit .ti   { --h: 1.095em; }

/* ---- 역 사인(기둥)·열차 배경 쉐이프·빨간 역명 : 원본 시안 이미지 ---- */
.lc-gtx .route li.pt b .rl, .lcm-gtx .route li.pt b .rl { display: block; max-width: none; height: var(--h); width: calc(var(--h) * var(--r)); }
.lc-gtx .route li.pt:first-child b .rl  { --h: 2.15em; }
.lc-gtx .route li.pt:last-child b .rl   { --h: 1.15em; }
.lcm-gtx .route li.pt:first-child b .rl { --h: 1.08em; }
.lcm-gtx .route li.pt:last-child b .rl  { --h: 1.10em; }

/* PC : 열차 모양 바(글씨·환승역 표시 포함)를 시안 비율 그대로 */
.lc-gtx .pillar { left: 2.86%; width: 7.69%; bottom: 0; height: auto; }
.lc-gtx .foot { position: relative; display: block; height: auto; aspect-ratio: 2445 / 331; margin: 0 -44px 0 -150px; padding: 0; background: none; border-radius: 0; }
.lc-gtx .foot .bar { position: absolute; left: 10.43%; bottom: 0; width: 86.1%; height: auto; opacity: 0; transform: translate3d(-30px, 0, 0); transition: opacity .9s var(--ease), transform 1.2s var(--ease-out); }
.lc-gtx.active .foot .bar { opacity: 1; transform: none; transition-delay: .4s; }
.lc-gtx .legend { display: none; }

/* 모바일 */
.lcm-gtx .pillar { width: 82px; }
.lcm-gtx .foot { display: block; gap: 0; padding: 0; background: none; border-radius: 0; margin: 0 -20px; }
.lcm-gtx .foot .bar { display: block; width: 100%; height: auto; }
.lcm-gtx .legend { display: none; }
