/* ==========================================================================
   올웹 비즈니스 템플릿 09 — 시안 09(로웰파이낸셜, 금융그룹)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 퀵메뉴 · 팝업은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 assets/css/reset.css ---------- */
/* reset.css — 최소 리셋입니다. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,dl,dd,ul,ol{margin:0;padding:0}
ul,ol{list-style:none}
img,svg,video,iframe{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
table{border-collapse:collapse;width:100%}
address{font-style:normal}

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색·글꼴 토큰, 공통 라벨·제목·버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼을 담습니다.
   색은 아이보리 바탕 · 짙은 버건디 포인트 · 차분한 골드 가는 선 · 에스프레소 푸터 네 가지가 중심입니다. 바꾸려면 :root 값을 고치시면 됩니다. */

@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }

:root {
  --tpl-ivory: #f6f3ee;           /* 기본 바탕(아이보리) */
  --tpl-paper: #fff;              /* 흰 섹션 · 카드 */
  --tpl-ink: #241b18;             /* 제목 · 강조 글자(따뜻한 검정) */
  --tpl-text: #4a403b;            /* 본문 글자 */
  --tpl-mute: #6f645d;            /* 보조 글자(아이보리 위 5.2:1 · 흰 바탕 5.8:1) */
  --tpl-line: #e4ddd2;            /* 얇은 선 */
  --tpl-gold: #c2a878;            /* 장식용 골드 가는 선 */
  --tpl-gold-text: #7d6233;       /* 골드 글자(아이보리 위 5.2:1) */
  --tpl-wine: #6b1d2a;            /* 포인트 버건디 */
  --tpl-wine-d: #521520;          /* 버건디 눌림 · 마우스 올림 */
  --tpl-espresso: #1d1714;        /* 푸터 */
  --tpl-font: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 72px;               /* 헤더 높이 */
  --tpl-gnb-pad: 26px;            /* 1차 메뉴 글자 양옆 여백(간격 = 이 값 × 2, 모든 메뉴 같음) */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
body { background: var(--tpl-ivory); color: var(--tpl-text); font: 400 18px/1.65 var(--tpl-font); letter-spacing: -.02em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
/* 문구 줄바꿈은 PC 에서는 한 줄로 두고, 768px 이하에서만 지정한 자리에서 끊습니다 */
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
.tpl-wrap { width: calc(100% - var(--tpl-side) * 2); max-width: 1440px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: #fff; color: var(--tpl-ink); padding: 8px 14px; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-wine); outline-offset: 3px; }

/* 스크롤 등장 : 짧은 거리 · 느린 곡선 */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--tpl-ease), transform 1s var(--tpl-ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 공통 : 섹션 여백 · 영문 라벨(골드 가는 선 + 넓은 자간) · 제목 · 글 링크 ---------- */
.tpl-sec { padding: 160px 0; }
.tpl-label { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-label::before { content: ''; width: 28px; height: 1px; background: var(--tpl-gold); }
.tpl-label--light { color: #e6d3a8; }
.tpl-head--center { text-align: center; }
.tpl-head--center .tpl-label { justify-content: center; }
.tpl-head--center .tpl-label::after { content: ''; width: 28px; height: 1px; background: var(--tpl-gold); }
.tpl-head__ko { margin-top: 24px; font-size: 46px; font-weight: 700; line-height: 1.38; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-head__txt { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--tpl-text); }
.tpl-textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--tpl-ink); }
.tpl-textlink .tpl-ico { width: 15px; height: 15px; stroke-width: 2; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-textlink:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--tpl-gold); }
.tpl-textlink:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 공통 버튼 : 사진 위 테두리 버튼(.tpl-btn-line) · 버건디 단색 버튼(.tpl-btn-solid) · 사각 화살표 버튼(.tpl-sqbtn) ---------- */
.tpl-btn-line { display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; padding: 0 30px; height: 56px; border: 1px solid rgba(230, 211, 168, .7); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn-line .tpl-ico { width: 16px; height: 16px; transition: transform .35s var(--tpl-ease); }
.tpl-btn-line:hover { border-color: var(--tpl-ivory); background: var(--tpl-ivory); color: var(--tpl-wine); }
.tpl-btn-line:hover .tpl-ico { transform: translateX(3px); }
.tpl-btn-solid { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; background: var(--tpl-wine); color: #fff; font-size: 16.5px; font-weight: 600; transition: background-color .3s; }
.tpl-btn-solid .tpl-ico { width: 16px; height: 16px; transition: transform .35s var(--tpl-ease); }
.tpl-btn-solid:hover { background: var(--tpl-wine-d); }
.tpl-btn-solid:hover .tpl-ico { transform: translateX(3px); }
.tpl-sqbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d6ccbd; background: transparent; color: var(--tpl-ink); transition: border-color .25s, background-color .25s, color .25s; }
.tpl-sqbtn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.7; }
.tpl-sqbtn:hover { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-sqbtn.is-end { color: #b9ada0; }
.tpl-sqbtn.is-end:hover { border-color: #d6ccbd; background: transparent; color: #b9ada0; }

/* ---------- 로고 : 버건디 사각 심볼(아이보리 L + 골드 선) + 영문 · 국문 워드마크 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.tpl-logo__mark { width: 26px; height: 26px; flex: none; }
.tpl-logo__en { font-size: 20px; font-weight: 700; letter-spacing: .16em; line-height: 1; }
.tpl-logo__ko { padding-left: 10px; border-left: 1px solid currentColor; border-color: rgba(194, 168, 120, .7); font-size: 16px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(짙은 글자) ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: #fff; transition: background-color .35s, color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .18); transition: background-color .35s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open { background: #fff; color: var(--tpl-ink); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after { background: var(--tpl-line); }
.tpl-header__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; min-width: max-content; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
/* 1차 메뉴 칸은 글자 폭 + 양옆 같은 여백이므로 글자 사이 간격이 모두 같습니다. 2차 목록 열은 이 칸과 같은 폭입니다 */
.tpl-gnb__item { position: relative; height: 100%; padding: 0 var(--tpl-gnb-pad); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 18px; font-weight: 600; white-space: nowrap; }
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 2px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-gnb__link::after { background: #e6d3a8; }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after { transform: scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -6px; }
.tpl-util { display: flex; flex: 1 1 0; min-width: max-content; justify-content: flex-end; align-items: center; gap: 26px; font-size: 14.5px; }
.tpl-util p { display: flex; align-items: center; }
.tpl-util__member { gap: 16px; opacity: .85; }
.tpl-util a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 15px; } .tpl-burger i:nth-child(2) { top: 21px; } .tpl-burger i:nth-child(3) { top: 27px; right: 18px; }

/* 메가메뉴 : 흰 패널(.tpl-mega__bg)이 scaleY 로 위에서 아래로 펼쳐지고, 각 2차 목록은 같은 높이·같은 시간·같은 곡선의 clip-path 로 함께 드러납니다.
   두 값이 프레임마다 같은 높이를 가리키므로 패널이 덮지 않은 곳에 글자가 보이지 않습니다. 2차 영역에는 배경색 · 세로선이 없습니다.
   패널 높이(--tpl-mega-h) = 가장 긴 2차 목록 + 위아래 여백 32px 씩이며 common.js 가 잽니다. */
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--tpl-mega-h, 260px); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-gold); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--tpl-ease); pointer-events: none; }
.tpl-gnb__sub { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--tpl-mega-h, 260px); padding: 32px 0; text-align: center; white-space: nowrap; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--tpl-ease), visibility 0s linear .45s; }
.tpl-gnb__sub a { display: inline-block; padding: 5px 2px; font-size: 16px; color: var(--tpl-mute); transition: color .2s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--tpl-gold); }
.tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
/* 표시선은 늘 하나만: 다른 1차 메뉴에 올리거나 포커스하면 현재 메뉴 표시선을 거둡니다 */
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after,
.tpl-gnb__list:has(.tpl-gnb__link:focus-visible) .tpl-gnb__link[aria-current]:not(:focus-visible)::after { transform: scaleX(0); }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-wine); font-weight: 600; }
.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }

/* ---------- 드로어 (1024px 이하) : 오른쪽 아이보리 패널. 1차 줄 전체가 버튼, 2차 영역은 배경색 없음 ---------- */
.tpl-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .5s; }
.tpl-drawer.is-open { visibility: visible; transition-delay: 0s; }
.tpl-drawer__dim { position: absolute; inset: 0; background: rgba(29, 23, 20, .55); opacity: 0; transition: opacity .45s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 100%); background: var(--tpl-ivory); color: var(--tpl-ink); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--tpl-ease); }
.tpl-drawer.is-open .tpl-drawer__panel { transform: none; }
.tpl-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; flex: none; border-bottom: 1px solid var(--tpl-gold); }
.tpl-drawer__head .tpl-logo__mark { width: 24px; height: 24px; }
.tpl-drawer__head .tpl-logo__en { font-size: 18px; }
.tpl-drawer__head .tpl-logo__ko { font-size: 15px; }
.tpl-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.tpl-drawer__close .tpl-ico { width: 24px; height: 24px; }
.tpl-drawer__list { padding: 4px 20px; }
.tpl-drawer__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 19px 0; text-align: left; font: 600 19px/1.3 var(--tpl-font); letter-spacing: -.03em; }
.tpl-drawer__toggle .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease); }
.tpl-drawer__toggle[aria-expanded="true"] { color: var(--tpl-wine); }
.tpl-drawer__toggle[aria-expanded="true"] .tpl-ico { transform: rotate(180deg); color: var(--tpl-wine); }
.tpl-drawer__sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--tpl-ease); }
.tpl-drawer__sub a { display: block; padding: 7px 0 7px 2px; font-size: 17px; color: var(--tpl-mute); }
.tpl-drawer__sub li:last-child a { margin-bottom: 16px; }
.tpl-drawer__sub a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-drawer__sub a[aria-current] { color: var(--tpl-wine); font-weight: 600; }
.tpl-drawer__foot { margin-top: auto; padding: 24px 20px; }
.tpl-drawer__util { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-drawer__tel { display: grid; padding: 18px 20px; background: var(--tpl-wine); color: #fff; line-height: 1.3; }
.tpl-drawer__tel small { font-size: 14px; color: #e6d3a8; }
.tpl-drawer__tel strong { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- 푸터 : 에스프레소, 왼쪽 로고 · 오른쪽 메뉴 열, 투자 유의 문구, 그룹사 바로가기 · 정책 · 주소 · 저작권 ---------- */
.tpl-footer { background: var(--tpl-espresso); color: #a89e96; font-size: 15px; line-height: 1.7; }
.tpl-footer__in { padding: 72px 0 56px; }
.tpl-footer__top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(194, 168, 120, .28); }
.tpl-logo--foot { align-self: flex-start; color: #f6f3ee; }
.tpl-footer__nav { display: flex; }
.tpl-footer__main { width: 140px; display: grid; gap: 12px; align-content: start; font-size: 16.5px; font-weight: 600; color: #f6f3ee; }
.tpl-footer__sub { width: 176px; display: grid; gap: 9px; align-content: start; font-size: 15px; color: #b8aea6; }
.tpl-footer__sub .tpl-ico { display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; }
.tpl-footer__sns { width: 84px; display: grid; gap: 8px; align-content: start; font-size: 15.5px; color: #d8cfc6; }
.tpl-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__notice { margin-top: 28px; font-size: 14px; color: #a89e96; }
.tpl-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 44px; }
.tpl-family { position: relative; }
.tpl-family__btn { display: flex; align-items: center; justify-content: space-between; width: 200px; height: 44px; padding: 0 14px 0 16px; border: 1px solid rgba(194, 168, 120, .55); font-size: 14.5px; color: #f6f3ee; }
.tpl-family__btn .tpl-ico { width: 15px; height: 15px; color: var(--tpl-gold); transition: transform .35s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-family__list { position: absolute; left: 0; bottom: calc(100% + 6px); width: 200px; padding: 8px 0; border: 1px solid rgba(194, 168, 120, .4); background: #2a221e; }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 14.5px; color: #cfc5bc; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #3a2f2a; }
.tpl-footer__info { max-width: 100%; text-align: right; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 26px; margin-bottom: 14px; font-size: 15px; color: #d8cfc6; }
.tpl-footer__policy b { font-weight: 600; color: #e6d3a8; }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address { font-size: 14px; color: #a89e96; }
.tpl-footer address span { display: inline-block; margin-left: 12px; }
.tpl-footer__copy { margin-top: 4px; font-size: 13.5px; letter-spacing: .04em; color: #a89e96; }

/* ---------- TOP 버튼 : 오른쪽 아래 버건디 사각. 맨 위에서는 숨깁니다 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; background: var(--tpl-wine); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--tpl-ease), visibility 0s linear .45s, background-color .25s; }
.tpl-totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-totop .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; }
.tpl-totop:hover { background: var(--tpl-wine-d); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-pad: 22px; }
  .tpl-util { gap: 18px; }
}
@media (max-width: 1180px) {
  :root { --tpl-gnb-pad: 20px; }
  .tpl-header .tpl-logo__ko { display: none; }
  .tpl-util { gap: 14px; font-size: 14px; }
  .tpl-util__member { gap: 12px; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 64px; }
  .tpl-header .tpl-logo__ko { display: inline; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 120px 0; }
  .tpl-head__ko { font-size: 40px; }
  .tpl-footer__top { flex-direction: column; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; margin-top: 40px; }
  .tpl-footer__info { text-align: left; }
  .tpl-footer__policy { justify-content: flex-start; }
  .tpl-footer address span { margin: 0 12px 0 0; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 60px; }
  .tpl-sec { padding: 96px 0; }
  .tpl-head__ko { margin-top: 18px; font-size: 30px; line-height: 1.42; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-label { font-size: 12px; letter-spacing: .18em; }
  .tpl-btn-line { margin-top: 32px; height: 48px; padding: 0 22px; font-size: 14px; }
  .tpl-logo__mark { width: 24px; height: 24px; }
  .tpl-logo__en { font-size: 18px; }
  .tpl-logo__ko { font-size: 15px; }
  .tpl-footer__in { padding: 56px 0 44px; }
  .tpl-footer__nav { flex-wrap: wrap; row-gap: 28px; }
  .tpl-footer__main, .tpl-footer__sub { width: 50%; }
  .tpl-footer__sns { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .tpl-totop { bottom: 20px; }
}
@media (max-width: 360px) {
  .tpl-header .tpl-logo__ko { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 비주얼, Financial Highlights, Our Business, Services for You, Research & Insight, Our Promise, Investor Relations, Gallery, News, Contact 를 담습니다.
   섹션 바탕 순서 : 비주얼(사진) → 아이보리 → 사진 → 흰색 → 아이보리 → 사진 → 흰색 → 아이보리 → 흰색 → 아이보리 → 푸터(에스프레소). 사진 · 색 면 섹션이 서로 붙지 않습니다. */

/* ---------- 메인 비주얼 : 높이 85vh(최소 540px) · 사진은 섹션에 고정(스크롤해도 움직이지 않음) ---------- */
.tpl-visual { position: relative; height: 85vh; min-height: 540px; overflow: hidden; background: var(--tpl-espresso); color: #fff; isolation: isolate; }
.tpl-visual__media { position: absolute; inset: 0; z-index: -2; }
.tpl-visual__media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(29, 23, 20, .5) 0%, rgba(29, 23, 20, 0) 30%), rgba(29, 23, 20, .42); }
.tpl-visual__item { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0s linear var(--tpl-vspeed, 1200ms), visibility 0s linear var(--tpl-vspeed, 1200ms); }
.tpl-visual__item.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity var(--tpl-vspeed, 1200ms) ease, visibility 0s; }
/* 나가는 장은 들어오는 장이 다 덮을 때까지 그대로 보이게 둡니다(두 장이 함께 옅어지며 화면이 어두워지는 순간을 없앱니다) */
.tpl-visual__item > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.tpl-visual__in { position: relative; height: 100%; }
/* 문구는 비주얼 가운데 : 영문 소제목 → 굵은 제목 한 줄 → 설명 한 줄 → 테두리 버튼 순서로 차례로 나타납니다(좌우 화살표를 피해 양옆 120px 안쪽) */
.tpl-visual__caps { position: absolute; inset: var(--tpl-hd-h) 120px 100px; display: grid; place-items: center; text-align: center; }
.tpl-visual__cap { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--tpl-ease); }
.tpl-visual__cap > .tpl-btn-line { transition: opacity .5s, transform .5s var(--tpl-ease), background-color .3s, color .3s, border-color .3s; }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition-duration: 1.1s; }
.tpl-visual__cap.is-active > .tpl-btn-line { transition: opacity 1.1s .55s, transform 1.1s var(--tpl-ease) .55s, background-color .3s, color .3s, border-color .3s; }
.tpl-visual__cap.is-active .tpl-visual__eyebrow { transition-delay: 0s; }
.tpl-visual__cap.is-active .tpl-visual__title { transition-delay: .12s; }
.tpl-visual__cap.is-active .tpl-visual__desc { transition-delay: .32s; }
.tpl-visual__eyebrow { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #e6d3a8; }
.tpl-visual__eyebrow::before, .tpl-visual__eyebrow::after { content: ''; width: 32px; height: 1px; background: rgba(230, 211, 168, .7); }
.tpl-visual__title { margin-top: 26px; font-size: 68px; font-weight: 700; line-height: 1.22; letter-spacing: -.05em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.tpl-visual__desc { margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 1.7; letter-spacing: -.03em; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 16px rgba(0, 0, 0, .3); }
/* 숫자 · 진행선 · 자동재생 버튼은 비주얼 아래 가운데 */
.tpl-visual__ctrl { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.tpl-visual__count { display: flex; align-items: center; gap: 14px; font-size: 15px; letter-spacing: .04em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.tpl-visual__count b { font-weight: 600; color: #fff; }
.tpl-visual__count span { position: relative; width: 80px; height: 1px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__count span::after { content: ''; position: absolute; inset: 0; background: #e6d3a8; transform: scaleX(0); transform-origin: left; }
.tpl-visual.is-run .tpl-visual__count span::after { animation: tplFill var(--tpl-vdelay, 6500ms) linear forwards; }
@keyframes tplFill { to { transform: scaleX(1); } }
.tpl-visual__pause { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: rgba(255, 255, 255, .78); transition: color .25s; }
.tpl-visual__pause i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(230, 211, 168, .7); color: #fff; }
.tpl-visual__pause .tpl-ico { width: 8px; height: 8px; fill: currentColor; stroke: none; }
.tpl-visual__pause:hover { color: #fff; }
.tpl-ico--play, .tpl-visual.is-paused .tpl-ico--pause { display: none; }
.tpl-visual.is-paused .tpl-ico--play { display: block; }
/* 좌우 화살표 : 비주얼 좌우 끝, 세로 가운데 */
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 80px; height: 80px; margin-top: -40px; color: rgba(255, 255, 255, .78); transition: color .25s, transform .35s var(--tpl-ease); }
.tpl-visual__arrow--prev { left: 12px; }
.tpl-visual__arrow--next { right: 12px; }
.tpl-visual__arrow .tpl-ico { width: 64px; height: 64px; stroke-width: 1; }
.tpl-visual__arrow--prev:hover { transform: translateX(-4px); }
.tpl-visual__arrow--next:hover { transform: translateX(4px); }
.tpl-visual__arrow:hover { color: #fff; }

/* ---------- Financial Highlights : 흰 띠 위 지표 4칸(위쪽 버건디 선) + 작은 추이선 ---------- */
.tpl-kpi__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-kpi__item { display: flex; flex-direction: column; padding: 40px 36px 34px; }
.tpl-kpi__item + .tpl-kpi__item { border-left: 1px solid var(--tpl-line); }
.tpl-kpi__name { font-size: 16px; font-weight: 600; color: var(--tpl-mute); }
.tpl-kpi__value { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; color: var(--tpl-ink); }
.tpl-kpi__value b { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tpl-kpi__value span { font-size: 18px; font-weight: 600; color: var(--tpl-text); }
.tpl-kpi__delta { margin-top: 10px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-kpi__delta em { font-style: normal; font-weight: 600; color: var(--tpl-wine); }
.tpl-spark { width: 100%; height: 56px; margin-top: auto; padding-top: 28px; box-sizing: content-box; overflow: visible; }
.tpl-spark__area { fill: rgba(194, 168, 120, .2); }
.tpl-spark__line { fill: none; stroke: var(--tpl-wine); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--tpl-ease) .35s; }
.is-in .tpl-spark__line { stroke-dashoffset: 0; }
/* 신용등급 : 5단계 눈금 중 현재 등급만 버건디 */
.tpl-rating { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: auto; padding-top: 28px; }
.tpl-rating li { padding-top: 12px; border-top: 4px solid var(--tpl-line); font-size: 13px; font-weight: 600; text-align: center; color: var(--tpl-mute); letter-spacing: 0; }
.tpl-rating .is-on { border-top-color: var(--tpl-wine); color: var(--tpl-wine); }
.tpl-kpi__note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 20px; margin-top: 28px; font-size: 15px; color: var(--tpl-mute); text-align: center; }

/* ---------- Our Business : 풀폭 배경 사진 + 짙은 막, 가운데 제목, 사업부문 4열(골드 가는 선) ---------- */
.tpl-biz { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-biz__bg { position: absolute; inset: 0; z-index: -2; background: var(--tpl-espresso) center / cover no-repeat; }
.tpl-biz::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(29, 20, 18, .85); }
.tpl-biz__in { padding: 160px 0 140px; }
.tpl-biz .tpl-head__ko { color: #fff; }
.tpl-biz .tpl-head__txt { color: rgba(255, 255, 255, .82); }
.tpl-biz__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; border-top: 1px solid rgba(194, 168, 120, .6); border-bottom: 1px solid rgba(194, 168, 120, .25); }
.tpl-biz__col + .tpl-biz__col { border-left: 1px solid rgba(255, 255, 255, .14); }
.tpl-biz__col > a { display: flex; flex-direction: column; height: 100%; min-height: 320px; padding: 40px 34px 36px; transition: background-color .4s; }
.tpl-biz__num { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e6d3a8; }
.tpl-biz__tit { margin-top: 22px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
.tpl-biz__txt { margin-top: 14px; font-size: 16.5px; line-height: 1.72; color: rgba(255, 255, 255, .8); }
.tpl-biz__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 32px; font-size: 15px; font-weight: 600; color: #e6d3a8; }
.tpl-biz__more .tpl-ico { width: 15px; height: 15px; transition: transform .35s var(--tpl-ease); }
.tpl-biz__col > a:hover, .tpl-biz__col > a:focus-visible { background: rgba(107, 29, 42, .9); }
.tpl-biz__col > a:hover .tpl-biz__more .tpl-ico, .tpl-biz__col > a:focus-visible .tpl-biz__more .tpl-ico { transform: translateX(4px); }
.tpl-biz__col > a:focus-visible { outline-offset: -3px; outline-color: #e6d3a8; }

/* ---------- Services for You : 흰 바탕, 가운데 탭(개인 · 기업 · 기관) + 사진 / 서비스 목록 ---------- */
.tpl-svc { background: var(--tpl-paper); }
.tpl-svc__tabs { display: flex; justify-content: center; margin-top: 56px; border-bottom: 1px solid var(--tpl-line); }
.tpl-svc__tabs [role="tab"] { position: relative; min-width: 150px; height: 64px; padding: 0 32px; font-size: 20px; font-weight: 600; color: var(--tpl-mute); transition: color .25s; }
.tpl-svc__tabs [role="tab"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .4s var(--tpl-ease); }
.tpl-svc__tabs [role="tab"]:hover { color: var(--tpl-ink); }
.tpl-svc__tabs [aria-selected="true"] { color: var(--tpl-wine); }
.tpl-svc__tabs [aria-selected="true"]::after { transform: scaleX(1); }
.tpl-svc__tabs [role="tab"]:focus-visible { outline-offset: -4px; }
.tpl-svc__panels { margin-top: 64px; }
.tpl-svc__panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.tpl-svc__panel[hidden] { display: none; }
.tpl-svc__panel.is-active { animation: tplPanel .6s var(--tpl-ease); }
@keyframes tplPanel { from { opacity: 0; transform: translateY(12px); } }
.tpl-svc__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-ivory); }
.tpl-svc__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-svc__en { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--tpl-gold-text); }
.tpl-svc__tit { margin-top: 14px; font-size: 34px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-svc__txt { margin-top: 14px; font-size: 18px; line-height: 1.7; }
.tpl-svc__list { margin: 32px 0 36px; border-top: 1px solid var(--tpl-ink); }
.tpl-svc__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-svc__list a { display: grid; grid-template-columns: 190px minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 17px 0; }
.tpl-svc__list strong { font-size: 18px; font-weight: 600; color: var(--tpl-ink); transition: color .25s; }
.tpl-svc__list span { font-size: 16px; color: var(--tpl-mute); }
.tpl-svc__list .tpl-ico { width: 16px; height: 16px; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-svc__list a:hover strong { color: var(--tpl-wine); }
.tpl-svc__list a:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 가로 캐러셀 공용(Research & Insight · Gallery) : --per 장씩 보입니다 ---------- */
.tpl-slider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-slider__side { display: flex; align-items: center; gap: 28px; }
.tpl-slider__arrows { display: flex; gap: 6px; }
.tpl-track { --per: 4; --gap: 24px; display: flex; gap: var(--gap); margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tpl-track::-webkit-scrollbar { display: none; }
.tpl-track > li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }
.tpl-track a:focus-visible { outline-offset: 4px; }

/* ---------- Research & Insight : 세로형 사진 카드 (분류 · 제목 · 두 줄 요약) ---------- */
.tpl-insight__card > a { display: block; }
.tpl-insight__img { position: relative; aspect-ratio: 648 / 900; overflow: hidden; background: var(--tpl-line); }
.tpl-insight__img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tpl-wine); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--tpl-ease); }
.tpl-insight__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-insight__card a:hover img, .tpl-insight__card a:focus-visible img { transform: scale(1.04); }
.tpl-insight__card a:hover .tpl-insight__img::after, .tpl-insight__card a:focus-visible .tpl-insight__img::after { transform: scaleX(1); }
.tpl-insight__cat { display: block; margin-top: 22px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tpl-gold-text); }
.tpl-insight__tit { display: block; margin-top: 8px; font-size: 20px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-insight__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-mute); }

/* ---------- Our Promise : 풀폭 배경 사진 + 짙은 막, 문구는 가운데 ---------- */
.tpl-vision { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-vision__bg { position: absolute; inset: 0; z-index: -2; background: var(--tpl-espresso) center / cover no-repeat; }
.tpl-vision::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(29, 23, 20, .7); }
.tpl-vision__in { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: clamp(540px, 44vw, 720px); padding: 120px 0; text-align: center; }
.tpl-vision__in .tpl-label::after { content: ''; width: 28px; height: 1px; background: var(--tpl-gold); }
.tpl-vision__title { margin-top: 26px; font-size: 54px; font-weight: 700; line-height: 1.3; letter-spacing: -.05em; }
.tpl-vision__txt { margin-top: 24px; font-size: 20px; line-height: 1.8; color: rgba(255, 255, 255, .86); }

/* ---------- Investor Relations : 흰 바탕, 위쪽 버건디 선 + 바로가기 3칸 ---------- */
.tpl-ir { background: var(--tpl-paper); }
.tpl-ir__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; border-top: 2px solid var(--tpl-wine); border-bottom: 1px solid var(--tpl-line); }
.tpl-ir__list li + li { border-left: 1px solid var(--tpl-line); }
.tpl-ir__list a { position: relative; display: grid; gap: 6px; align-content: start; height: 100%; padding: 44px 40px 46px; transition: background-color .3s; }
.tpl-ir__ico { width: 34px; height: 34px; margin-bottom: 22px; stroke-width: 1.3; color: var(--tpl-wine); }
.tpl-ir__en { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--tpl-gold-text); }
.tpl-ir__tit { font-size: 26px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-ir__meta { margin-top: 4px; font-size: 16px; color: var(--tpl-mute); }
.tpl-ir__arrow { position: absolute; right: 36px; top: 44px; width: 22px; height: 22px; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-ir__list a:hover { background: var(--tpl-ivory); }
.tpl-ir__list a:hover .tpl-ir__arrow { transform: translate(3px, -3px); }
.tpl-ir__list a:focus-visible { outline-offset: -3px; }

/* ---------- Gallery : 갤러리 사진 최대 10장, 한 화면 3장(1024↓ 2장, 600↓ 1장) ---------- */
.tpl-gallery__track { --per: 3; --gap: 28px; }
.tpl-gallery__card > a { display: block; }
.tpl-gallery__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-line); }
.tpl-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-gallery__card a:hover img, .tpl-gallery__card a:focus-visible img { transform: scale(1.05); }
.tpl-gallery__cat { display: inline-block; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid var(--tpl-gold); font-size: 14.5px; font-weight: 600; color: var(--tpl-wine); }
.tpl-gallery__tit { display: block; margin-top: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-gallery__card a:hover .tpl-gallery__tit { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--tpl-gold); }
/* 내용은 두 줄까지 보이고 넘치면 … 로 줄입니다(줄 수가 달라도 카드 높이가 같도록 두 줄 높이를 확보) */
.tpl-gallery__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-gallery__date { display: block; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- News & Support : 흰 바탕, 아이보리 최신글 카드 2개(위쪽 버건디 선) ---------- */
.tpl-updates { background: var(--tpl-paper); }
.tpl-updates__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.tpl-latest { min-width: 0; padding: 36px 44px 30px; border-top: 2px solid var(--tpl-wine); background: var(--tpl-ivory); }
.tpl-latest__head { display: flex; align-items: center; justify-content: space-between; }
.tpl-latest__tit { font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-latest__more { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d6ccbd; color: var(--tpl-ink); transition: background-color .25s, border-color .25s, color .25s; }
.tpl-latest__more .tpl-ico { width: 18px; height: 18px; }
.tpl-latest__more:hover { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-latest__list { margin-top: 20px; border-top: 1px solid #d9d0c3; }
.tpl-latest__list li { display: flex; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; }
.tpl-latest__list li:last-child { border-bottom: 0; }
.tpl-latest__list a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #3a302c; }
.tpl-latest__list a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-latest__re { display: inline-block; margin-right: 7px; padding: 0 6px; border: 1px solid var(--tpl-gold); font-size: 13px; line-height: 19px; color: var(--tpl-gold-text); vertical-align: 1px; }
.tpl-latest__date { flex: none; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- Contact : 아이보리 단색 바탕(이미지 없음) + 연락처 + 지도 ---------- */
.tpl-contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px 80px; align-items: center; }
.tpl-contact__tel { display: grid; gap: 8px; margin-top: 44px; }
.tpl-contact__tel div { display: flex; align-items: center; gap: 18px; }
.tpl-contact__tel dt { min-width: 84px; padding: 4px 0; border: 1px solid var(--tpl-gold); font-size: 14px; font-weight: 600; text-align: center; color: var(--tpl-wine); }
.tpl-contact__tel dd { font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-contact__meta { display: grid; gap: 6px; margin: 30px 0 36px; padding-top: 26px; border-top: 1px solid #d9d0c3; font-size: 16.5px; }
.tpl-contact__meta li { display: flex; align-items: center; gap: 10px; }
.tpl-contact__meta .tpl-ico { width: 17px; height: 17px; color: var(--tpl-wine); }
.tpl-contact__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { position: relative; width: 100%; aspect-ratio: 16 / 11; min-height: 340px; background: var(--tpl-line); }
/* 카카오맵 페이지의 왼쪽 검색 패널(약 420px)을 상자 밖으로 밀어 가립니다. */
.tpl-contact__map { position: relative; overflow: hidden; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; display: block; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-wine); color: #fff; font-size: 14.5px; font-weight: 500; }
.tpl-contact__maplink .tpl-ico { width: 14px; height: 14px; }
.tpl-contact__maplink:hover { background: var(--tpl-wine-d); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-visual__title { font-size: 56px; }
  .tpl-kpi__item { padding: 36px 28px 30px; }
  .tpl-kpi__value b { font-size: 44px; }
  .tpl-biz__col > a { padding: 36px 26px 32px; }
  .tpl-biz__tit { font-size: 26px; }
  .tpl-svc__panel { gap: 56px; }
  .tpl-svc__list a { grid-template-columns: 170px minmax(0, 1fr) 18px; }
}
@media (max-width: 1100px) {
  .tpl-visual__title { font-size: 52px; }
}
@media (max-width: 1024px) {
  .tpl-visual__desc { font-size: 19px; }
  .tpl-kpi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .tpl-kpi__item:nth-child(3) { border-left: 0; }
  .tpl-kpi__item:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-biz__in { padding: 120px 0 110px; }
  .tpl-biz__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
  .tpl-biz__col:nth-child(3) { border-left: 0; }
  .tpl-biz__col:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .tpl-biz__col > a { min-height: 260px; }
  .tpl-svc__panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tpl-svc__img { aspect-ratio: 16 / 9; }
  .tpl-insight__track { --per: 2; }
  .tpl-gallery__track { --per: 2; }
  .tpl-vision__title { font-size: 44px; }
  .tpl-ir__list a { padding: 36px 28px 38px; }
  .tpl-ir__arrow { right: 24px; top: 36px; }
  .tpl-ir__tit { font-size: 23px; }
  .tpl-updates__cards { gap: 20px; }
  .tpl-latest { padding: 32px 30px 26px; }
  .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .tpl-visual__caps { inset: var(--tpl-hd-h) 52px 84px; }
  .tpl-visual__eyebrow { font-size: 12px; letter-spacing: .2em; gap: 10px; }
  .tpl-visual__eyebrow::before, .tpl-visual__eyebrow::after { width: 18px; }
  .tpl-visual__title { margin-top: 18px; font-size: 38px; line-height: 1.3; }
  .tpl-visual__desc { margin-top: 16px; font-size: 17px; }
  .tpl-visual__ctrl { gap: 18px; bottom: 30px; }
  .tpl-visual__arrow { width: 48px; height: 48px; margin-top: -24px; }
  .tpl-visual__arrow--prev { left: 2px; }
  .tpl-visual__arrow--next { right: 2px; }
  .tpl-visual__arrow .tpl-ico { width: 40px; height: 40px; }
  .tpl-kpi__item { padding: 28px 20px 24px; }
  .tpl-kpi__value b { font-size: 36px; }
  .tpl-kpi__value span { font-size: 16px; }
  .tpl-kpi__delta { font-size: 14.5px; }
  .tpl-biz__in { padding: 96px 0 84px; }
  .tpl-biz__cols { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .tpl-biz__col + .tpl-biz__col { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .tpl-biz__col > a { min-height: 0; padding: 28px 4px 26px; }
  .tpl-biz__tit { margin-top: 12px; font-size: 24px; }
  .tpl-biz__more { padding-top: 18px; }
  .tpl-svc__tabs { margin-top: 40px; }
  .tpl-svc__tabs [role="tab"] { flex: 1; min-width: 0; height: 56px; padding: 0 8px; font-size: 18px; }
  .tpl-svc__panels { margin-top: 36px; }
  .tpl-svc__panel { gap: 28px; }
  .tpl-svc__tit { font-size: 26px; }
  .tpl-svc__txt { font-size: 17px; }
  .tpl-svc__list a { grid-template-columns: minmax(0, 1fr) 16px; row-gap: 2px; padding: 15px 0; }
  .tpl-svc__list strong { grid-column: 1; }
  .tpl-svc__list span { grid-column: 1; font-size: 15px; }
  .tpl-svc__list .tpl-ico { grid-column: 2; grid-row: 1 / span 2; }
  .tpl-slider__side .tpl-textlink { display: none; }
  .tpl-track { margin-top: 40px; --gap: 16px; }
  .tpl-vision__in { min-height: 500px; padding: 90px 0; }
  .tpl-vision__title { margin-top: 18px; font-size: 32px; }
  .tpl-vision__txt { margin-top: 18px; font-size: 17.5px; line-height: 1.75; }
  .tpl-ir__list { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .tpl-ir__list li + li { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-ir__list a { padding: 28px 48px 30px 0; }
  .tpl-ir__ico { width: 28px; height: 28px; margin-bottom: 14px; }
  .tpl-ir__arrow { right: 4px; top: 30px; }
  .tpl-updates__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 44px; }
  .tpl-latest { padding: 28px 22px 22px; }
  .tpl-latest__tit { font-size: 21px; }
  .tpl-latest__list li { gap: 14px; font-size: 16px; }
  .tpl-contact__tel dd { font-size: 32px; }
  .tpl-contact__tel dt { min-width: 76px; }
  .tpl-contact__map { aspect-ratio: 4 / 3; min-height: 280px; }
}
@media (max-width: 600px) {
  .tpl-visual__pause-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tpl-visual__caps { inset: var(--tpl-hd-h) 50px 84px; }
  .tpl-visual__title { font-size: 32px; }
  .tpl-visual__desc { font-size: 16px; }
  .tpl-visual__eyebrow { white-space: nowrap; font-size: 11.5px; letter-spacing: .16em; }
  .tpl-visual__eyebrow::before, .tpl-visual__eyebrow::after { display: none; }
  .tpl-kpi__grid { grid-template-columns: minmax(0, 1fr); }
  .tpl-kpi__item + .tpl-kpi__item { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-insight__track, .tpl-gallery__track { --per: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { scroll-behavior: auto; }
  .tpl-spark__line { stroke-dashoffset: 0; }
}

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼, 위치 표시 · 2차 메뉴 탭, 본문 블록, 인사말 2단, 그룹 개요 표를 담습니다.
   색 · 글꼴 · 라벨 · 버튼은 common.css 를 그대로 씁니다. 서브 비주얼 사진은 움직이지 않습니다(패럴랙스 없음). */

.tpl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 서브 비주얼 : 사진 + 에스프레소 막, 가운데 라벨 · 큰 제목 · 한 줄 설명 (PC 440px · 1024↓ 400px · 768↓ 340px) ---------- */
.tpl-subvis { position: relative; display: flex; align-items: center; height: 440px; overflow: hidden; background: var(--tpl-espresso); color: #fff; text-align: center; isolation: isolate; }
.tpl-subvis__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29, 23, 20, .5) 0%, rgba(29, 23, 20, 0) 35%), rgba(29, 23, 20, .58); }
.tpl-subvis__in { display: flex; flex-direction: column; align-items: center; padding-top: var(--tpl-hd-h); }
.tpl-subvis__in .tpl-label::after { content: ''; width: 28px; height: 1px; background: var(--tpl-gold); }
.tpl-subvis__in > * { animation: tplRise 1s var(--tpl-ease) both; }
.tpl-subvis__title { margin-top: 22px; font-size: 58px; font-weight: 700; line-height: 1.25; letter-spacing: -.05em; animation-delay: .1s; }
.tpl-subvis__desc { margin-top: 16px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .9); animation-delay: .25s; }
@keyframes tplRise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽, 현재 탭은 버건디 밑줄). 1024px 이하에서는 위아래로 나뉘고 탭은 가로로 밀어 봅니다 ---------- */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: var(--tpl-paper); }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 72px; }
.tpl-loc ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--tpl-mute); }
.tpl-loc li { display: flex; align-items: center; }
.tpl-loc li + li::before { content: ''; width: 6px; height: 6px; margin: 0 14px 0 12px; border-top: 1px solid var(--tpl-gold); border-right: 1px solid var(--tpl-gold); transform: rotate(45deg); }
.tpl-loc a { display: flex; align-items: center; }
.tpl-loc a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-loc .tpl-ico { width: 17px; height: 17px; }
.tpl-loc li[aria-current] { font-weight: 600; color: var(--tpl-ink); }
.tpl-snb__tabs ul { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 72px; padding: 0 22px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a:hover, .tpl-snb__tabs a[aria-current] { color: var(--tpl-ink); }
.tpl-snb__tabs a[aria-current] { font-weight: 600; }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
/* 탭 밑줄은 늘 하나만: 마우스 환경에서만 hover 선을 보이고, 다른 탭에 올리면 현재 탭 선을 거둡니다(터치 후 선이 남지 않음) */
@media (hover: hover) {
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}
.tpl-snb__tabs a:focus-visible { outline-offset: -4px; }
.tpl-snb__tabs li:last-child a { margin-right: -22px; }

/* ---------- 본문 블록 : 흰 블록 · 아이보리 블록(기본 바탕) ---------- */
.tpl-block { padding: 150px 0; }
.tpl-block--paper { background: var(--tpl-paper); }

/* ---------- 인사말 : 위 큰 제목, 아래 왼쪽 글 · 서명(7칸), 오른쪽 세로 사진(5칸, 위쪽 버건디 굵은 선 · 아래 골드 가는 선) ---------- */
.tpl-greet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 96px; align-items: start; }
.tpl-sechead { margin-bottom: 64px; }
.tpl-greet__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-top: 4px solid var(--tpl-wine); background: var(--tpl-ivory); }
.tpl-greet__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--tpl-gold); }
.tpl-greet__media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-greet__lead { padding-bottom: 28px; border-bottom: 1px solid var(--tpl-line); font-size: 23px; font-weight: 600; line-height: 1.6; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-greet__txt { margin-top: 28px; font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-greet__txt p + p { margin-top: 1.1em; }
.tpl-sign { display: flex; justify-content: flex-end; align-items: baseline; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--tpl-gold); font-size: 16px; color: var(--tpl-mute); }
.tpl-sign strong { font-size: 26px; font-weight: 700; letter-spacing: .14em; color: var(--tpl-ink); }

/* ---------- 그룹 개요 : 왼쪽 제목 · 오른쪽 2열 표(위 버건디 굵은 선, 흰 바탕) ---------- */
.tpl-overview { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.tpl-otable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); font-size: 17.5px; }
.tpl-otable th { width: 28%; padding: 20px 28px; border-bottom: 1px solid var(--tpl-line); font-weight: 500; text-align: left; vertical-align: top; color: var(--tpl-gold-text); }
.tpl-otable td { padding: 20px 28px 20px 0; border-bottom: 1px solid var(--tpl-line); color: var(--tpl-ink); }
.tpl-otable strong { font-weight: 700; color: var(--tpl-wine); }
.tpl-otable small { font-size: 15px; color: var(--tpl-mute); }

/* ---------- 반응형 ---------- */
@media (max-width: 1200px) {
  .tpl-greet { gap: 0 56px; }
  .tpl-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 400px; }
  .tpl-subvis__title { font-size: 48px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; }
  .tpl-loc { padding: 18px 0 4px; }
  .tpl-snb__tabs { margin: 0 calc(var(--tpl-side) * -1); }
  .tpl-snb__tabs ul { overflow-x: auto; padding: 0 calc(var(--tpl-side) - 16px); scrollbar-width: none; }
  .tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs a { height: 60px; padding: 0 16px; }
  .tpl-snb__tabs a::after { left: 16px; right: 16px; }
  .tpl-snb__tabs li:last-child a { margin-right: 0; }
  .tpl-block { padding: 110px 0; }
  .tpl-greet { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tpl-greet__media { order: -1; width: min(100%, 480px); }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 340px; }
  .tpl-subvis__title { margin-top: 16px; font-size: 38px; }
  .tpl-subvis__desc { margin-top: 12px; font-size: 16.5px; }
  .tpl-block { padding: 88px 0; }
  .tpl-sechead { margin-bottom: 44px; }
  .tpl-greet__lead { font-size: 20px; }
  .tpl-greet__txt { font-size: 17px; }
  .tpl-sign { margin-top: 36px; }
  .tpl-sign strong { font-size: 22px; }
  .tpl-otable { font-size: 16px; }
  .tpl-otable th { width: 32%; padding: 16px 12px 16px 16px; }
  .tpl-otable td { padding: 16px 16px 16px 0; }
}

/* ==========================================================================
   서브페이지 공통 부품 (2026-11-05 추가) — 사업 · 서비스 · 투자정보 · 고객센터 · 회원 · 약관 화면이 함께 씁니다.
   모서리는 각지게, 위쪽 버건디 굵은 선 · 골드 가는 선 · 얇은 구분선으로 메인과 같은 말씨를 이어 갑니다.
   ========================================================================== */
.tpl-sechead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.tpl-sechead--row .tpl-head__txt { max-width: 560px; color: var(--tpl-mute); }
.tpl-lead { font-size: 23px; font-weight: 600; line-height: 1.6; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-prose { font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-prose p + p { margin-top: 1em; }
.tpl-note { margin-top: 18px; font-size: 15px; color: var(--tpl-mute); }
.tpl-btn-ghost { display: inline-flex; white-space: nowrap; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border: 1px solid #cfc3b3; background: var(--tpl-paper); color: var(--tpl-ink); font-size: 16.5px; font-weight: 600; transition: border-color .25s, color .25s; }
.tpl-btn-ghost .tpl-ico { width: 16px; height: 16px; }
.tpl-btn-ghost:hover { border-color: var(--tpl-wine); color: var(--tpl-wine); }
.tpl-subcon .tpl-btn-solid { white-space: nowrap; }
button.tpl-btn-solid { border: 0; font-family: inherit; cursor: pointer; }
.tpl-badge { display: inline-block; padding: 0 8px; border: 1px solid var(--tpl-gold); font-size: 13.5px; font-weight: 600; line-height: 24px; white-space: nowrap; color: var(--tpl-gold-text); }
.tpl-badge--on { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-badge--mute { border-color: #d6ccbd; color: var(--tpl-mute); }

/* ---------- 사진 + 글 2단 (사진 위쪽 버건디 굵은 선) ---------- */
.tpl-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 88px; align-items: center; }
.tpl-split--rev .tpl-split__media { order: 2; }
.tpl-split__media { position: relative; aspect-ratio: 1100 / 820; overflow: hidden; border-top: 4px solid var(--tpl-wine); background: var(--tpl-line); }
.tpl-split__media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--tpl-gold); }
.tpl-split__media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-split__body .tpl-head__ko { font-size: 38px; }
.tpl-split__body .tpl-lead { margin-top: 28px; }
.tpl-split__body .tpl-prose { margin-top: 20px; font-size: 17.5px; }
.tpl-checks { margin-top: 32px; border-top: 1px solid var(--tpl-ink); }
.tpl-checks li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; line-height: 1.6; color: var(--tpl-ink); }
.tpl-checks li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: .62em; background: var(--tpl-gold); }
.tpl-checks--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 0; }
.tpl-checks--2 li:nth-child(-n+2) { border-top: 1px solid var(--tpl-ink); }

/* 서비스 바로가기 목록 (위 굵은 선 · 항목명 + 설명 + 화살표) */
.tpl-linklist { margin-top: 32px; border-top: 1px solid var(--tpl-ink); }
.tpl-linklist li { border-bottom: 1px solid var(--tpl-line); }
.tpl-linklist a { display: grid; grid-template-columns: 190px minmax(0, 1fr) 18px; align-items: center; gap: 16px; padding: 17px 0; }
.tpl-linklist strong { font-size: 18px; font-weight: 600; color: var(--tpl-ink); transition: color .25s; }
.tpl-linklist span { font-size: 16px; color: var(--tpl-mute); }
.tpl-linklist .tpl-ico { width: 16px; height: 16px; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-linklist a:hover strong { color: var(--tpl-wine); }
.tpl-linklist a:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 번호 열 (위 버건디 선 · 골드 번호) ---------- */
.tpl-numcols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 48px 40px; }
.tpl-numcols > li { padding-top: 28px; border-top: 2px solid var(--tpl-wine); }
.tpl-numcols__num { font-size: 14px; font-weight: 600; letter-spacing: .18em; color: var(--tpl-gold-text); }
.tpl-numcols__tit { display: block; margin-top: 14px; font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-numcols__txt { margin-top: 12px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }

/* ---------- 숫자 띠 (흰 칸 · 골드 위선) ---------- */
.tpl-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--tpl-gold); border-bottom: 1px solid var(--tpl-line); background: var(--tpl-paper); }
.tpl-figs > li { padding: 36px 32px; }
.tpl-figs > li + li { border-left: 1px solid var(--tpl-line); }
.tpl-figs__name { font-size: 16px; color: var(--tpl-mute); }
.tpl-figs__val { margin-top: 10px; font-size: 44px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-wine); font-variant-numeric: tabular-nums; }
.tpl-figs__val span { margin-left: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-figs__note { margin-top: 6px; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 절차 (번호 + 골드 가는 이음선) ---------- */
.tpl-flow { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 40px 0; }
.tpl-flow > li { padding-right: 28px; }
.tpl-flow__step { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; letter-spacing: .18em; color: var(--tpl-wine); }
.tpl-flow__step::after { content: ''; flex: 1; height: 1px; background: var(--tpl-gold); }
.tpl-flow > li:last-child .tpl-flow__step::after { background: transparent; }
.tpl-flow__tit { display: block; margin-top: 20px; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-flow__txt { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--tpl-text); }

/* ---------- 여러 열 표 (좁은 화면에서는 표만 가로로 밀어 봅니다) ---------- */
.tpl-table-wrap { overflow-x: auto; }
.tpl-table { width: 100%; min-width: 640px; border-collapse: collapse; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); font-size: 17px; font-variant-numeric: tabular-nums; }
.tpl-table th, .tpl-table td { padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); text-align: center; vertical-align: middle; }
.tpl-table thead th { font-size: 15.5px; font-weight: 600; color: var(--tpl-gold-text); background: #faf8f4; }
.tpl-table tbody th { font-weight: 600; text-align: left; color: var(--tpl-ink); }
.tpl-table td { color: var(--tpl-text); }
.tpl-table .is-num { text-align: right; }
.tpl-table .is-left { text-align: left; }
.tpl-table strong { font-weight: 700; color: var(--tpl-wine); }

/* ---------- 상담 안내 상자 (골드 테두리 흰 칸) ---------- */
.tpl-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; padding: 48px 56px; border: 1px solid var(--tpl-gold); background: var(--tpl-paper); }
.tpl-cta__tit { font-size: 28px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-cta__txt { margin-top: 8px; font-size: 17px; color: var(--tpl-text); }
.tpl-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.tpl-gap { margin-top: 64px; }

/* ---------- 연혁 : 왼쪽 큰 연대(따라 내려옴) · 오른쪽 연월 목록 ---------- */
.tpl-history__era { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 72px; padding: 56px 0; border-top: 1px solid var(--tpl-line); }
.tpl-history__era:first-child { border-top: 2px solid var(--tpl-wine); }
.tpl-history__year { position: sticky; top: calc(var(--tpl-hd-h) + 32px); align-self: start; font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-wine); font-variant-numeric: tabular-nums; }
.tpl-history__year small { display: block; margin-top: 12px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: var(--tpl-mute); }
.tpl-history__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 13px 0; font-size: 17.5px; line-height: 1.65; color: var(--tpl-ink); }
.tpl-history__list li + li { border-top: 1px dashed var(--tpl-line); }
.tpl-history__list b { font-weight: 700; color: var(--tpl-gold-text); font-variant-numeric: tabular-nums; }

/* ---------- 지배구조 그림 : 상자 + 세로 · 가로 이음선 ---------- */
.tpl-org { display: flex; flex-direction: column; align-items: center; }
.tpl-org__node { position: relative; min-width: 240px; padding: 18px 28px; border: 1px solid var(--tpl-wine); background: var(--tpl-paper); font-size: 19px; font-weight: 700; text-align: center; color: var(--tpl-ink); }
.tpl-org__node--top { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-org__node small { display: block; font-size: 14px; font-weight: 500; color: var(--tpl-mute); }
.tpl-org__node--top small { color: #e6d3a8; }
.tpl-org__line { width: 1px; height: 40px; background: var(--tpl-gold); }
.tpl-org__side { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.tpl-org__side li { padding: 8px 16px; border: 1px solid #d6ccbd; background: #faf8f4; font-size: 15.5px; color: var(--tpl-text); }
.tpl-org__row { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; padding-top: 40px; }
.tpl-org__row::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: var(--tpl-gold); }
.tpl-org__row > li { position: relative; padding: 22px 16px; border-top: 3px solid var(--tpl-wine); background: var(--tpl-paper); text-align: center; }
.tpl-org__row > li::before { content: ''; position: absolute; left: 50%; top: -43px; width: 1px; height: 40px; background: var(--tpl-gold); }
.tpl-org__row strong { display: block; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__row span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--tpl-mute); }

/* ---------- 오시는 길 : 카카오맵 + 교통 안내 ---------- */
.tpl-map { position: relative; aspect-ratio: 16 / 7; min-height: 360px; border-top: 4px solid var(--tpl-wine); background: var(--tpl-line); }
/* 카카오맵 페이지의 왼쪽 검색 패널(약 420px)을 상자 밖으로 밀어 가립니다. */
.tpl-map { position: relative; overflow: hidden; }
.tpl-map iframe { position: absolute; top: 0; left: -420px; display: block; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-map__link { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-wine); color: #fff; font-size: 14.5px; font-weight: 500; }
.tpl-map__link .tpl-ico { width: 14px; height: 14px; }
.tpl-map__link:hover { background: var(--tpl-wine-d); }
.tpl-way { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; border-bottom: 1px solid var(--tpl-line); background: var(--tpl-paper); }
.tpl-way > div { padding: 36px 32px; }
.tpl-way > div + div { border-left: 1px solid var(--tpl-line); }
.tpl-way dt { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--tpl-gold-text); }
.tpl-way dt .tpl-ico { width: 18px; height: 18px; color: var(--tpl-wine); }
.tpl-way dd { margin-top: 12px; font-size: 17px; line-height: 1.75; color: var(--tpl-ink); }
.tpl-way dd + dd { margin-top: 4px; }
.tpl-way dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 게시판 : 상단 건수 · 검색, 목록 표, 페이지 번호, 버튼 ---------- */
.tpl-bd-cate { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tpl-bd-cate a, .tpl-bd-cate button { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid #d6ccbd; background: var(--tpl-paper); font: 500 16px/1 var(--tpl-font); color: var(--tpl-text); cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.tpl-bd-cate a:hover, .tpl-bd-cate button:hover { border-color: var(--tpl-wine); color: var(--tpl-wine); }
.tpl-bd-cate [aria-current], .tpl-bd-cate [aria-pressed="true"] { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-bd-cate [aria-current]:hover, .tpl-bd-cate [aria-pressed="true"]:hover { color: #fff; }
.tpl-bd-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.tpl-bd-total { font-size: 16px; color: var(--tpl-mute); }
.tpl-bd-total b { font-weight: 700; color: var(--tpl-wine); }
.tpl-bd-search { display: flex; gap: 6px; }
.tpl-bd-search select, .tpl-bd-search input { height: 46px; border: 1px solid #d6ccbd; background: var(--tpl-paper); font: 400 16px/1 var(--tpl-font); color: var(--tpl-ink); }
.tpl-bd-search select { padding: 0 12px; }
.tpl-bd-search input { width: 240px; padding: 0 14px; }
.tpl-bd-search button { display: grid; place-items: center; width: 46px; height: 46px; background: var(--tpl-ink); color: #fff; }
.tpl-bd-search button:hover { background: var(--tpl-wine); }
.tpl-bd-list { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); font-size: 17px; }
.tpl-bd-list th, .tpl-bd-list td { padding: 18px 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-bd-list thead th { font-size: 15.5px; font-weight: 600; color: var(--tpl-gold-text); background: #faf8f4; }
.tpl-bd-list .c-num { width: 90px; } .tpl-bd-list .c-cate { width: 120px; } .tpl-bd-list .c-name { width: 130px; } .tpl-bd-list .c-date { width: 130px; } .tpl-bd-list .c-hit { width: 90px; } .tpl-bd-list .c-state { width: 120px; }
.tpl-bd-list td.c-subject { text-align: left; }
.tpl-bd-list td.c-subject a { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--tpl-ink); }
.tpl-bd-list td.c-subject a > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tpl-bd-list td.c-subject a:hover > span { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-bd-list td.c-subject .tpl-ico { width: 15px; height: 15px; color: var(--tpl-mute); }
.tpl-bd-list .is-notice { background: #fbf9f5; }
.tpl-bd-list .is-notice td.c-subject a { font-weight: 600; }
.tpl-bd-list .is-reply td.c-subject a { padding-left: 22px; }
.tpl-bd-re { flex: none; font-size: 14px; font-weight: 600; color: var(--tpl-gold-text); }
.tpl-pager { display: flex; justify-content: center; gap: 4px; margin-top: 48px; }
.tpl-pager a, .tpl-pager strong { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border: 1px solid transparent; font-size: 16px; color: var(--tpl-text); font-variant-numeric: tabular-nums; }
.tpl-pager a:hover { border-color: #d6ccbd; color: var(--tpl-wine); }
.tpl-pager strong { border-color: var(--tpl-wine); background: var(--tpl-wine); font-weight: 600; color: #fff; }
.tpl-pager .tpl-ico { width: 16px; height: 16px; }
.tpl-bd-btns { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tpl-bd-btns--split { justify-content: space-between; }
.tpl-bd-btns--center { justify-content: center; }
.tpl-bd-btns div { display: flex; gap: 10px; }

/* 게시글 보기 */
.tpl-bd-view { border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-bd-view__head { padding: 36px 40px 28px; border-bottom: 1px solid var(--tpl-line); }
.tpl-bd-view__tit { margin-top: 14px; font-size: 30px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-bd-view__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-size: 15.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-bd-view__file { padding: 16px 40px; border-bottom: 1px solid var(--tpl-line); background: #faf8f4; font-size: 16px; }
.tpl-bd-view__file li { display: flex; align-items: center; gap: 8px; }
.tpl-bd-view__file li + li { margin-top: 6px; }
.tpl-bd-view__file a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-ink); }
.tpl-bd-view__file a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-bd-view__file .tpl-ico { width: 16px; height: 16px; color: var(--tpl-wine); }
.tpl-bd-view__file small { font-size: 14px; color: var(--tpl-mute); }
.tpl-bd-view__body { padding: 44px 40px 56px; font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-bd-view__body p + p, .tpl-bd-view__body p + ul, .tpl-bd-view__body ul + p, .tpl-bd-view__body .tpl-table-wrap + p, .tpl-bd-view__body p + .tpl-table-wrap { margin-top: 1.1em; }
.tpl-bd-view__body ul li { position: relative; padding-left: 18px; }
.tpl-bd-view__body ul li::before { content: ''; position: absolute; left: 2px; top: .8em; width: 6px; height: 6px; background: var(--tpl-gold); }
.tpl-bd-view__body h4 { margin-top: 1.6em; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-bd-view__body .tpl-table { min-width: 520px; font-size: 16px; }
.tpl-bd-view__fig { margin-bottom: 36px; }
.tpl-bd-view__fig img { width: 100%; height: auto; }
.tpl-bd-answer { margin-top: 24px; padding: 36px 40px; border-top: 2px solid var(--tpl-gold); background: #faf8f4; }
.tpl-bd-answer__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tpl-bd-answer__head strong { font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-bd-answer__head span { font-size: 15px; color: var(--tpl-mute); }
.tpl-bd-answer__body { margin-top: 18px; font-size: 17.5px; line-height: 1.85; color: var(--tpl-text); }
.tpl-bd-answer__body p + p { margin-top: 1em; }
.tpl-bd-nav { margin-top: 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-bd-nav li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 8px; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-bd-nav li > span:first-child { font-weight: 600; color: var(--tpl-gold-text); }
.tpl-bd-nav a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tpl-ink); }
.tpl-bd-nav a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-bd-nav time { font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 입력 폼 : 왼쪽 항목명 · 오른쪽 입력 칸 ---------- */
.tpl-form { border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-form__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--tpl-line); }
.tpl-form__label { display: flex; align-items: center; padding: 20px 28px; background: #faf8f4; font-size: 16.5px; font-weight: 600; color: var(--tpl-ink); }
.tpl-form__label em { margin-left: 4px; font-style: normal; color: var(--tpl-wine); }
.tpl-form__field { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px 24px; min-width: 0; }
.tpl-form__help { width: 100%; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; max-width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d6ccbd; border-radius: 0; background: #fff; font: 400 17px/1.5 var(--tpl-font); color: var(--tpl-ink); transition: border-color .2s; }
.tpl-input--s { max-width: 320px; }
.tpl-select { max-width: 320px; padding-right: 36px; }
.tpl-textarea { height: auto; min-height: 240px; padding: 14px 16px; resize: vertical; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-wine); outline: 1px solid var(--tpl-wine); outline-offset: 0; }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #8f847c; }
.tpl-file { font: 400 16px/1.5 var(--tpl-font); color: var(--tpl-text); max-width: 100%; }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--tpl-ink); cursor: pointer; }
.tpl-check input { width: 18px; height: 18px; accent-color: var(--tpl-wine); }
.tpl-form__done { margin-top: 24px; padding: 18px 24px; border-left: 3px solid var(--tpl-wine); background: var(--tpl-paper); font-size: 17px; color: var(--tpl-ink); }
.tpl-agree { margin-top: 32px; }
.tpl-agree__box { height: 180px; overflow-y: auto; padding: 20px 24px; border: 1px solid var(--tpl-line); background: #fff; font-size: 15.5px; line-height: 1.8; color: var(--tpl-text); }
.tpl-agree__box p + p { margin-top: .7em; }
.tpl-agree__box:focus-visible { outline-offset: 0; }
.tpl-agree__tit { margin-bottom: 12px; font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-agree__chk { display: flex; justify-content: flex-end; margin-top: 12px; }
.tpl-agree + .tpl-agree { margin-top: 36px; }
.tpl-agree-all { display: flex; align-items: center; padding: 22px 24px; border: 1px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-agree-all .tpl-check { font-size: 18px; font-weight: 700; }
.tpl-formtit { margin: 64px 0 20px; font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-formtit small { margin-left: 10px; font-size: 15px; font-weight: 500; color: var(--tpl-mute); }

/* ---------- 자주 묻는 질문 (details · summary) ---------- */
.tpl-faq { border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-faq__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq__item summary { display: grid; grid-template-columns: 28px 108px minmax(0, 1fr) 20px; align-items: center; gap: 16px; padding: 22px 28px; list-style: none; cursor: pointer; }
.tpl-faq__item summary::-webkit-details-marker { display: none; }
.tpl-faq__q, .tpl-faq__a > b { font-size: 21px; font-weight: 700; color: var(--tpl-wine); }
.tpl-faq__cat { font-size: 15px; color: var(--tpl-gold-text); }
.tpl-faq__tit { font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-faq__item summary .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .35s var(--tpl-ease); }
.tpl-faq__item[open] summary .tpl-ico { transform: rotate(180deg); color: var(--tpl-wine); }
.tpl-faq__item summary:hover .tpl-faq__tit { color: var(--tpl-wine); }
.tpl-faq__item summary:focus-visible { outline-offset: -3px; }
.tpl-faq__a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 24px 28px 28px; background: #faf8f4; font-size: 17px; line-height: 1.85; color: var(--tpl-text); }
.tpl-faq__a > div { padding-left: 124px; }
.tpl-faq__a p + p { margin-top: .8em; }

/* ---------- 사진 카드 목록 (갤러리 · 리서치, 제목 한 줄 · 설명 두 줄 말줄임) ---------- */
.tpl-glist { display: grid; grid-template-columns: repeat(var(--per, 3), minmax(0, 1fr)); gap: 56px 32px; }
.tpl-glist > li > a { display: block; }
.tpl-glist__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-line); }
.tpl-glist--tall .tpl-glist__img { aspect-ratio: 648 / 900; }
.tpl-glist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-glist a:hover img, .tpl-glist a:focus-visible img { transform: scale(1.05); }
.tpl-glist__cat { display: inline-block; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid var(--tpl-gold); font-size: 14.5px; font-weight: 600; color: var(--tpl-wine); }
.tpl-glist__tit { display: block; margin-top: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-glist a:hover .tpl-glist__tit { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--tpl-gold); }
.tpl-glist__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-glist__date { display: block; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 보고서 카드 (표지는 글자로만 그린 버건디 면) ---------- */
.tpl-reports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }
.tpl-reports__cover { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 26px 24px; background: var(--tpl-wine); color: #fff; }
.tpl-reports li:nth-child(even) .tpl-reports__cover { background: var(--tpl-espresso); }
.tpl-reports__cover span { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: #e6d3a8; }
.tpl-reports__cover strong { padding-top: 18px; border-top: 1px solid rgba(230, 211, 168, .6); font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tpl-reports__cover em { display: block; margin-top: 10px; font-size: 15px; font-style: normal; color: rgba(255, 255, 255, .82); }
.tpl-reports__tit { display: block; margin-top: 20px; font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-reports__meta { margin-top: 4px; font-size: 15px; color: var(--tpl-mute); }
.tpl-reports__btns { display: flex; gap: 8px; margin-top: 14px; }
.tpl-reports__btns a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid #d6ccbd; background: var(--tpl-paper); font-size: 14.5px; font-weight: 600; color: var(--tpl-ink); }
.tpl-reports__btns a:hover { border-color: var(--tpl-wine); color: var(--tpl-wine); }
.tpl-reports__btns .tpl-ico { width: 14px; height: 14px; }

/* ---------- 막대 그래프 (CSS 높이, --v 는 최댓값 대비 %) ---------- */
.tpl-bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 28px; height: 320px; padding: 0 12px; border-bottom: 1px solid var(--tpl-ink); }
.tpl-bars li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.tpl-bars b { font-size: 17px; font-weight: 700; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-bars i { display: block; width: min(64px, 100%); height: var(--v); margin-top: 10px; background: #d9c9a8; }
.tpl-bars li:last-child i { background: var(--tpl-wine); }
.tpl-bars__x { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding: 12px 12px 0; font-size: 15.5px; text-align: center; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 일정 목록 (왼쪽 날짜 칸) ---------- */
.tpl-events { border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-events li { display: grid; grid-template-columns: 150px 120px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 24px 28px; border-bottom: 1px solid var(--tpl-line); }
.tpl-events time { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-events time small { display: block; font-size: 14px; font-weight: 500; color: var(--tpl-mute); }
.tpl-events strong { display: block; font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-events p { margin-top: 2px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-events a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-events a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-events a .tpl-ico { width: 15px; height: 15px; color: var(--tpl-wine); }
.tpl-events .tpl-badge { justify-self: start; }
.tpl-next { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding: 40px 48px; border: 1px solid var(--tpl-gold); background: var(--tpl-paper); }
.tpl-next__date { padding-right: 40px; border-right: 1px solid var(--tpl-line); font-size: 54px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--tpl-wine); font-variant-numeric: tabular-nums; }
.tpl-next__date small { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--tpl-gold-text); }
.tpl-next__tit { font-size: 26px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-next__txt { margin-top: 8px; font-size: 16.5px; color: var(--tpl-text); }

/* ---------- 신용등급 눈금 ---------- */
.tpl-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.tpl-scale li { padding-top: 14px; border-top: 5px solid var(--tpl-line); font-size: 15px; font-weight: 600; text-align: center; color: var(--tpl-mute); }
.tpl-scale .is-on { border-top-color: var(--tpl-wine); color: var(--tpl-wine); }

/* ---------- 회원 : 가운데 상자 · 가입 단계 ---------- */
.tpl-member { width: min(100%, 520px); margin: 0 auto; padding: 56px 56px 48px; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-member__tit { font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-member__txt { margin-top: 8px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-member form { margin-top: 32px; }
.tpl-member .tpl-input { height: 54px; }
.tpl-member label.tpl-member__lb { display: block; margin: 18px 0 8px; font-size: 15.5px; font-weight: 600; color: var(--tpl-ink); }
.tpl-member__opt { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.tpl-member .tpl-btn-solid { width: 100%; justify-content: center; height: 58px; margin-top: 28px; font-size: 17.5px; }
.tpl-member__links { display: flex; justify-content: center; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 15.5px; color: var(--tpl-text); }
.tpl-member__links a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-member-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.tpl-member-pair .tpl-member { width: 100%; }
.tpl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-bottom: 1px solid var(--tpl-line); }
.tpl-steps li { position: relative; padding: 0 0 20px; font-size: 17px; font-weight: 600; text-align: center; color: var(--tpl-mute); }
.tpl-steps li span { display: block; font-size: 13px; letter-spacing: .2em; color: #a59a91; }
.tpl-steps li.is-on { color: var(--tpl-wine); }
.tpl-steps li.is-on span { color: var(--tpl-gold-text); }
.tpl-steps li.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tpl-wine); }
.tpl-done { width: min(100%, 720px); margin: 0 auto; padding: 64px 56px; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); text-align: center; }
.tpl-done__ico { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border: 1px solid var(--tpl-gold); color: var(--tpl-wine); }
.tpl-done__ico .tpl-ico { width: 32px; height: 32px; stroke-width: 1.8; }
.tpl-done__tit { margin-top: 28px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done__txt { margin-top: 12px; font-size: 17.5px; color: var(--tpl-text); }
.tpl-done .tpl-otable { margin-top: 36px; text-align: left; }

/* ---------- 약관 · 방침 문서 ---------- */
.tpl-doc { max-width: 1040px; }
.tpl-doc__notice { padding: 20px 24px; border-left: 3px solid var(--tpl-wine); background: var(--tpl-paper); font-size: 16.5px; color: var(--tpl-ink); }
.tpl-doc__toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; margin-top: 32px; padding: 28px 32px; border-top: 1px solid var(--tpl-gold); border-bottom: 1px solid var(--tpl-line); background: var(--tpl-paper); font-size: 16.5px; counter-reset: toc; }
.tpl-doc__toc a { color: var(--tpl-text); }
.tpl-doc__toc a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-doc__sec { margin-top: 56px; scroll-margin-top: calc(var(--tpl-hd-h) + 24px); }
.tpl-doc__sec h3 { padding-bottom: 14px; border-bottom: 1px solid var(--tpl-line); font-size: 22px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-doc__sec > p, .tpl-doc__sec > ol, .tpl-doc__sec > ul, .tpl-doc__sec > .tpl-table-wrap { margin-top: 18px; font-size: 17px; line-height: 1.85; color: var(--tpl-text); }
.tpl-doc__sec ol { padding-left: 1.4em; list-style: decimal; }
.tpl-doc__sec ul li { position: relative; padding-left: 16px; }
.tpl-doc__sec ul li::before { content: ''; position: absolute; left: 0; top: .82em; width: 5px; height: 5px; background: var(--tpl-gold); }
.tpl-doc__sec li + li { margin-top: 4px; }
.tpl-doc__sec .tpl-table { font-size: 15.5px; min-width: 560px; }
.tpl-doc__date { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--tpl-ink); font-size: 16.5px; color: var(--tpl-ink); }

/* ---------- 반응형 (공통 부품) ---------- */
@media (max-width: 1280px) {
  .tpl-split__body .tpl-head__ko { font-size: 34px; }
}
@media (max-width: 1200px) {
  .tpl-split { gap: 40px 56px; }
  .tpl-cta { flex-direction: column; align-items: flex-start; }
  .tpl-figs__val { font-size: 38px; }
  .tpl-reports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-org__row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .tpl-org__row::before { display: none; }
}
@media (max-width: 1024px) {
  .tpl-split, .tpl-split--rev { grid-template-columns: minmax(0, 1fr); }
  .tpl-split--rev .tpl-split__media { order: -1; }
  .tpl-split__body .tpl-head__ko { font-size: 40px; }
  .tpl-numcols { --cols: 2 !important; }
  .tpl-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-figs > li:nth-child(3) { border-left: 0; }
  .tpl-figs > li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .tpl-flow > li:nth-child(2n) .tpl-flow__step::after { background: transparent; }
  .tpl-cta { flex-direction: column; align-items: flex-start; padding: 40px; }
  .tpl-history__era { grid-template-columns: minmax(0, 1fr); padding: 44px 0; }
  .tpl-history__year { position: static; font-size: 42px; }
  .tpl-way { grid-template-columns: minmax(0, 1fr); }
  .tpl-way > div + div { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-glist { --per: 2; }
  .tpl-events li { grid-template-columns: 130px minmax(0, 1fr); gap: 8px 20px; }
  .tpl-events li > :nth-child(2) { grid-column: 2; grid-row: 1; justify-self: start; }
  .tpl-events li > :nth-child(3) { grid-column: 2; }
  .tpl-events li > :nth-child(4) { grid-column: 2; }
  .tpl-events time { grid-row: 1 / span 3; align-self: start; }
  .tpl-next { grid-template-columns: minmax(0, 1fr); padding: 36px; }
  .tpl-next__date { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--tpl-line); }
  .tpl-member-pair { grid-template-columns: minmax(0, 1fr); }
  .tpl-bd-list .c-hit, .tpl-bd-list .c-name { display: none; }
}
@media (max-width: 768px) {
  .tpl-linklist a { grid-template-columns: minmax(0, 1fr) 18px; gap: 2px 12px; }
  .tpl-linklist span { grid-column: 1; }
  .tpl-linklist .tpl-ico { grid-column: 2; grid-row: 1 / span 2; }
  .tpl-lead { font-size: 20px; }
  .tpl-split__body .tpl-head__ko { font-size: 30px; }
  .tpl-prose { font-size: 17px; }
  .tpl-checks--2 { grid-template-columns: minmax(0, 1fr); }
  .tpl-checks--2 li:nth-child(2) { border-top: 0; }
  .tpl-numcols { --cols: 1 !important; }
  .tpl-numcols__tit { font-size: 21px; }
  .tpl-figs > li { padding: 26px 18px; }
  .tpl-figs__val { font-size: 30px; }
  .tpl-figs__val span { font-size: 15px; }
  .tpl-flow { grid-template-columns: minmax(0, 1fr) !important; }
  .tpl-flow .tpl-flow__step::after { background: transparent !important; }
  .tpl-cta { padding: 32px 24px; }
  .tpl-cta__tit { font-size: 23px; }
  .tpl-cta__btns, .tpl-cta__btns a { width: 100%; justify-content: center; }
  .tpl-gap { margin-top: 48px; }
  .tpl-history__year { font-size: 34px; }
  .tpl-history__list li { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; font-size: 16.5px; }
  .tpl-org__node { min-width: 0; width: 100%; }
  .tpl-org__row { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .tpl-map { aspect-ratio: auto; height: 320px; min-height: 0; }
  .tpl-way > div { padding: 26px 20px; }
  .tpl-bd-top { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .tpl-bd-search input { width: auto; flex: 1; min-width: 0; }
  .tpl-bd-list { font-size: 16px; }
  .tpl-bd-list .c-num, .tpl-bd-list .c-cate { display: none; }
  .tpl-bd-list .c-date { width: 96px; font-size: 14px; }
  .tpl-bd-list .c-state { width: 86px; }
  .tpl-bd-list th, .tpl-bd-list td { padding: 16px 6px; }
  .tpl-bd-view__head, .tpl-bd-view__body, .tpl-bd-view__file, .tpl-bd-answer { padding-left: 20px; padding-right: 20px; }
  .tpl-bd-view__tit { font-size: 23px; }
  .tpl-bd-view__body { font-size: 17px; }
  .tpl-bd-nav li { grid-template-columns: 72px minmax(0, 1fr); }
  .tpl-bd-nav time { display: none; }
  .tpl-form__row { grid-template-columns: minmax(0, 1fr); }
  .tpl-form__label { padding: 14px 20px 4px; background: transparent; }
  .tpl-form__field { padding: 8px 20px 18px; }
  .tpl-input--s, .tpl-select { max-width: 100%; }
  .tpl-faq__item summary { grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 4px 12px; padding: 20px; }
  .tpl-faq__cat { grid-column: 2; grid-row: 1; }
  .tpl-faq__tit { grid-column: 2; font-size: 17px; }
  .tpl-faq__item summary .tpl-ico { grid-column: 3; grid-row: 1 / span 2; }
  .tpl-faq__q { grid-row: 1 / span 2; align-self: start; }
  .tpl-faq__a { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 20px; font-size: 16.5px; }
  .tpl-faq__a > div { padding-left: 0; }
  .tpl-glist { --per: 1; row-gap: 44px; }
  .tpl-reports { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .tpl-reports__cover { padding: 18px 16px; }
  .tpl-reports__cover strong { font-size: 32px; }
  .tpl-reports__btns { flex-wrap: wrap; }
  .tpl-bars { gap: 12px; height: 240px; padding: 0; }
  .tpl-bars b { font-size: 14px; }
  .tpl-bars__x { gap: 12px; padding: 10px 0 0; font-size: 14px; }
  .tpl-events li { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .tpl-events li > * { grid-column: 1 !important; grid-row: auto !important; }
  .tpl-next { padding: 28px 22px; }
  .tpl-next__date { font-size: 42px; }
  .tpl-next__tit { font-size: 22px; }
  .tpl-scale li { font-size: 13px; }
  .tpl-member, .tpl-done { padding: 40px 22px 36px; }
  .tpl-member__tit, .tpl-done__tit { font-size: 25px; }
  .tpl-steps li { font-size: 15px; }
  .tpl-doc__toc { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .tpl-doc__sec h3 { font-size: 20px; }
  .tpl-doc__sec > p, .tpl-doc__sec > ol, .tpl-doc__sec > ul { font-size: 16.5px; }
}

/* ==========================================================================
   연결부 — 시안 09 에 없던 것만 둡니다(그누보드 화면 · 올웹 로고 · 지도 · 퀵메뉴 · 맨 위로 · 팝업 · 채용 창).
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 템플릿 강조색과 상관없이 CI 색 그대로 둡니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg { height: 26px; }
/* 콘솔에서 밝은 바탕용 · 어두운 바탕용 로고를 둘 다 올리면 맨 위(투명 머리글)에서는 어두운 바탕용을 냅니다 */
.tpl-header .logo-img--dark { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-logo .logo-img:not(.logo-img--dark) { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-logo .logo-img--dark { display: block; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 고정 배경 : 스크롤해도 사진은 멈춰 있고 내용만 움직입니다. PC 에서만 켭니다(지침 3-4) ----------
   원본 09 는 Our Business · Our Promise 사진을 섹션에 붙여 두었지만, 가로 100% 배경 띠는 고정 배경이 규칙입니다. */
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-vision__bg { background-attachment: fixed; }
  .tpl-biz__bg { background-attachment: fixed; }
}

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 #allweb-map 에 그립니다. 키가 없으면 지도 자리에 단추만 나옵니다 ---------- */
.tpl-contact__map .biz-map, .tpl-map .biz-map { position: absolute; inset: 0; overflow: hidden; }
.biz-map iframe.biz-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; background: var(--tpl-wine); font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; transition: background-color .25s; }
.loc-map-go:hover { background: var(--tpl-wine-d); }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본은 지도 위 「카카오맵에서 보기」 단추가 같은 일을 합니다 */
.tpl-contact__maplink { z-index: 2; }

/* ---------- 그누보드 화면(전체검색 · 새글 · 기본 스킨)을 템플릿 폭 안에 넣습니다 ---------- */
.allweb-gnu { --gut: var(--tpl-side); padding-top: 120px; padding-bottom: 120px; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 0; background: var(--tpl-wine); color: #fff; }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2) */
#captcha #captcha_img { display: inline-block; vertical-align: middle; }
#captcha #captcha_key { height: 50px; vertical-align: middle; border: 1px solid #d6ccbd; }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 14px; color: var(--tpl-mute); }

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bd-list .c-subject .tpl-new { margin-left: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--tpl-gold-text); }
.tpl-bd-list td.tpl-bd-empty { padding: 64px 0; text-align: center; color: var(--tpl-mute); }
.tpl-bd-view__body img { max-width: 100%; height: auto; }
.tpl-bd-view__body iframe { max-width: 100%; }
/* 그누보드 정화기가 figure 를 지워 예시 글의 사진은 p > img 입니다. 원본 .tpl-bd-view__fig 와 같게 맞춥니다 */
.tpl-bd-view__body > p > img { display: block; width: 100%; height: auto; }
.tpl-bd-empty-note { padding: 64px 0; text-align: center; color: var(--tpl-mute); }
.tpl-cmt { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--tpl-line); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt__tit b { color: var(--tpl-wine); }
.tpl-cmt__list { margin-top: 16px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-ink); }
.tpl-cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.tpl-cmt__form .tpl-textarea { min-height: 110px; }
.tpl-cmt__form .tpl-btn-solid { justify-self: end; }
.tpl-bd-answer__head a { margin-left: auto; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.tpl-form #captcha { margin-top: 4px; }
.tpl-member .frm_info { display: block; margin-top: 6px; font-size: 14px; color: var(--tpl-mute); }
.tpl-member .tpl-input[readonly], .tpl-form .tpl-input[readonly] { background: var(--tpl-ivory); }
.tpl-find__captcha { margin-top: 32px; text-align: center; }
.tpl-member__cert { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.tpl-form .tpl-member__cert { justify-content: flex-start; margin-top: 0; }
/* 회원가입 정보 입력 : 원본에 없는 그누보드 칸(주소 검색 · 정보 수신 · 회원 사진)입니다 */
.mb-addr { display: grid; gap: 8px; }
.mb-addr__zip { display: flex; gap: 8px; max-width: 420px; }
.mb-addr__zip .tpl-input { flex: 1; min-width: 0; }
.mb-addr__zip .tpl-btn-ghost { flex: none; height: 50px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { font-size: 14px; color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tpl-gold); }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 0 26px; }
.mb-file-now { margin-top: 8px; }
.mb-file-now img { display: inline-block; max-width: 60px; vertical-align: middle; }
/* 가입 완료 : 원본 09 는 720px 로 좁혔지만 회원가입 · 정보 입력 · 가입 완료는 다른 본문과 같은 전체 폭입니다(지침 3-2) */
.tpl-done { width: auto; }

/* ---------- 채용 공고 상세 : 공고명을 누르면 뜨는 창(dialog)입니다. 창 안은 시안의 글 보기(.tpl-bd-view) 모양입니다 ---------- */
.tpl-table th[scope="row"] a[data-job-open] { color: var(--tpl-ink); }
.tpl-table th[scope="row"] a[data-job-open]:hover, .tpl-table th[scope="row"] a[data-job-open]:focus-visible { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--tpl-gold); }
.cs-job-dialog { width: min(780px, calc(100% - 40px)); max-height: calc(100% - 80px); padding: 48px 48px 40px; border: 0; border-top: 2px solid var(--tpl-wine); background: var(--tpl-paper); color: var(--tpl-text); box-shadow: 0 30px 80px rgba(29, 23, 20, .38); overflow-y: auto; }
.cs-job-dialog::backdrop { background: rgba(29, 23, 20, .62); }
.cs-job-dialog .tpl-bd-btns { margin-top: 32px; }
@media (max-width: 768px) {
  .cs-job-dialog { padding: 32px 22px 28px; }
}

/* ---------- 퀵메뉴 : 오른쪽 가운데에 칸 사이를 띄운 정사각 칸(배치 2). 버건디 면 · 골드 가는 안쪽 선 · 각진 모서리(시안 말씨).
   올리거나 키보드로 가면 이름이 칸 왼쪽으로 미끄러져 나옵니다(효과 1). 칸은 화면 오른쪽 여백(40px) 안에 서서 본문 글자를 가리지 않습니다.
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). ---------- */
.tpl-quick { position: fixed; right: 0; top: 50%; z-index: 95; opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tpl-quick li { position: relative; }
.tpl-quick a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 0; background: var(--tpl-wine); color: #e6d3a8; box-shadow: inset 0 0 0 1px rgba(230, 211, 168, .35), 0 6px 16px rgba(29, 23, 20, .18); transition: background-color .3s, color .3s; }
.tpl-quick a .tpl-ico { width: 19px; height: 19px; stroke-width: 1.6; }
.tpl-quick__img { object-fit: contain; }
/* 이름 : 칸 왼쪽에 붙은 에스프레소 띠. 평소에는 칸 뒤에 접혀 있다가 왼쪽으로 미끄러져 나옵니다 */
.tpl-quick a span { position: absolute; right: 100%; top: 0; display: flex; align-items: center; height: 100%; padding: 0 16px; border-left: 2px solid var(--tpl-gold); background: var(--tpl-espresso); font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: #f6f3ee; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; clip-path: inset(0 0 0 100%); transform: translateX(14px); transition: clip-path .35s var(--tpl-ease), transform .35s var(--tpl-ease), opacity .25s, visibility 0s linear .35s; }
.tpl-quick a:hover, .tpl-quick a:focus-visible { background: var(--tpl-wine-d); color: #fff; }
.tpl-quick a:hover span, .tpl-quick a:focus-visible span { opacity: 1; visibility: visible; clip-path: inset(0); transform: translateX(0); transition-delay: 0s; }
.tpl-quick a:focus-visible { outline: 2px solid var(--tpl-gold); outline-offset: 2px; }
/* 터치 화면은 올릴 수 없습니다. 아이콘 칸만 두고 한 번 누르면 바로 이동합니다(이름은 나오지 않습니다) */
@media (hover: none) {
  .tpl-quick a:hover { background: var(--tpl-wine); color: #e6d3a8; }
  .tpl-quick a:hover span { opacity: 0; visibility: hidden; }
}
@media (max-width: 1024px) {
  .tpl-quick { right: 0; }
}
@media (max-width: 768px) {
  .tpl-quick { top: auto; right: var(--tpl-side); bottom: 76px; transform: translateY(10px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick a { width: 44px; height: 44px; }
  .tpl-quick a .tpl-ico { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* ---------- 맨 위로 : 정사각 · 가는 선만(칠 없음) · 퀵메뉴와 따로 오른쪽 아래(원본 TOP 자리)입니다.
   어두운 띠(사진 띠 · 푸터) 위에 오면 js/main.js 가 is-on-dark 를 붙여 선과 화살표를 골드로 바꿉니다 ---------- */
.tpl-totop { border-radius: 0; background: transparent; border: 1px solid var(--tpl-wine); color: var(--tpl-wine); transition: opacity .35s, transform .45s var(--tpl-ease), visibility 0s linear .45s, color .25s, border-color .25s; }
.tpl-totop .tpl-ico { stroke-width: 1.5; }
.tpl-totop:hover, .tpl-totop:focus-visible { background: transparent; border-color: var(--tpl-gold); color: var(--tpl-gold-text); }
.tpl-totop.is-on-dark { border-color: rgba(230, 211, 168, .75); color: #e6d3a8; }
.tpl-totop.is-on-dark:hover, .tpl-totop.is-on-dark:focus-visible { border-color: #fff; color: #fff; }

/* ---------- 팝업 : 아이보리 판 · 윗변 버건디 2px 선 · 제목 위 골드 가는 선(시안 라벨 말씨) · 에스프레소 아래 띠 ---------- */
.tpl-pop__item { background: var(--tpl-ivory); border-top: 2px solid var(--tpl-wine); box-shadow: 0 26px 60px rgba(29, 23, 20, .42); }
.tpl-pop__body { padding: 40px 36px 34px; }
.tpl-pop__title { margin: 0 0 14px; padding-top: 22px; background: linear-gradient(var(--tpl-gold), var(--tpl-gold)) 0 0 / 28px 1px no-repeat; font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__text { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 15.5px; font-weight: 600; color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--tpl-gold); }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { color: var(--tpl-wine-d); }
.tpl-pop__foot { background: var(--tpl-espresso); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 13.5px; color: #a89e96; transition: background-color .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid rgba(194, 168, 120, .28); color: #e6d3a8; font-weight: 600; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: #2a221e; color: #fff; }
