/* ==========================================================================
   올웹 비즈니스 템플릿 54 — 시안 54(서린파트너스, 독립 자문 · 금융 서비스 기업)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본은 메인(main.css)과 서브(sub.css)를 따로 불러 같은 이름 .tpl-faq · .tpl-faq__a 가 서로 다른 모양이었습니다. 한 파일로 이으면서
   메인 자주 묻는 질문은 .tpl-faq__list 아래로, 서브 FAQ 게시판은 .tpl-page 아래로만 좁혔습니다(규칙 값은 그대로).
   비주얼 옆 바로가기 4칸의 클래스 .tpl-quick 은 콘솔 퀵메뉴(<nav class="tpl-quick">, 지침 3-4)와 이름이 겹쳐 .tpl-shortcut 으로만 바꿨습니다.
   그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz054) · 퀵메뉴 · 팝업 · 고정 배경은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 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 버튼, 스크롤 등장 효과를 담습니다.
   색은 흰 바탕 · 먹색 글자 · 아주 옅은 웜그레이 면 · 와인(#5c2333) 하나만 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

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

:root {
  --tpl-wine: #5c2333;            /* 주색 : 표식 · 버튼 · 강조 (흰 바탕 대비 12.0:1) */
  --tpl-wine-d: #45192a;          /* 주색 hover */
  --tpl-ink: #1b1718;             /* 제목 · 강조 글자 */
  --tpl-text: #3d3638;            /* 본문 */
  --tpl-mute: #655c5e;            /* 보조 글자 (흰 바탕 6.5:1 · 옅은 면 5.9:1) */
  --tpl-line: #e3dddc;            /* 얇은 선 */
  --tpl-soft: #f6f3f2;            /* 아주 옅은 웜그레이 면 */
  --tpl-foot: #1d1819;            /* 푸터 */
  --tpl-font: 'Wanted Sans', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.3, .7, .2, 1);
  --tpl-hd-h: 88px;               /* 헤더 높이 */
  --tpl-gnb-pad: 30px;            /* 1차 메뉴 글자 양옆 여백(모든 칸이 같아 글자 사이 간격이 같습니다) */
  --tpl-side: 48px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
#main { overflow-x: clip; } /* 옆에서 들어오는 등장 효과(fade-left · right)가 가로 스크롤을 만들지 않게 합니다 */
body { background: #fff; color: var(--tpl-text); font: 400 18px/1.7 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: 1520px; 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-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--tpl-wine); color: #fff; padding: 8px 14px; font-weight: 600; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-wine); outline-offset: 3px; }

/* ---------- 스크롤 등장 효과(data-aos) : 블록이 화면 아래에서 절반쯤 올라오면 실행됩니다. common.js 가 .is-aos 를 붙입니다 ---------- */
[data-aos] { opacity: 0; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-left"] { transform: translateX(48px); }
[data-aos="fade-right"] { transform: translateX(-48px); }
[data-aos="zoom-in"] { transform: scale(.94); }
[data-aos].is-aos { opacity: 1; transform: none; }

/* ---------- 공통 : 섹션 여백 · 라벨(와인 짧은 선 + 영문) · 제목 · 글 링크 ---------- */
.tpl-sec { padding: 140px 0; }
.tpl-sec--soft { background: var(--tpl-soft); }
.tpl-label { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-label::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.tpl-label--light { color: #fff; }
.tpl-head__ko { margin-top: 20px; font-size: 44px; font-weight: 700; line-height: 1.34; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-head__txt { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--tpl-text); }
.tpl-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.tpl-textlink { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-textlink .tpl-ico { width: 15px; height: 15px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-textlink:hover { color: var(--tpl-wine); }
.tpl-textlink:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 공통 버튼 : 와인 면 버튼 · 흰 테두리 버튼(사진 위) · 사각 화살표 버튼 ---------- */
.tpl-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px; border: 1px solid var(--tpl-wine); border-radius: 4px; background: var(--tpl-wine); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-btn:hover { background: var(--tpl-wine-d); border-color: var(--tpl-wine-d); }
.tpl-btn:hover .tpl-ico { transform: translateX(3px); }
.tpl-btn--line { background: transparent; border-color: rgba(255, 255, 255, .75); }
.tpl-btn--line:hover { background: #fff; border-color: #fff; color: var(--tpl-wine); }
.tpl-btn--ghost { background: #fff; color: var(--tpl-wine); }
.tpl-btn--ghost:hover { background: var(--tpl-soft); border-color: var(--tpl-wine); }
.tpl-sqbtn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--tpl-line); border-radius: 4px; background: #fff; color: var(--tpl-ink); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-sqbtn .tpl-ico { width: 18px; height: 18px; stroke-width: 1.8; }
.tpl-sqbtn:hover { background: var(--tpl-wine); border-color: var(--tpl-wine); color: #fff; }
.tpl-sqbtn.is-end { color: #b9b1b2; }
.tpl-sqbtn.is-end:hover { background: #fff; border-color: var(--tpl-line); color: #b9b1b2; }

/* ---------- 로고 : 와인 사각 심볼(흰 사선 두 줄) + 영문 워드마크 · 국문 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 11px; }
.tpl-logo__mark { width: 30px; height: 30px; flex: none; }
.tpl-logo__en { font-size: 19px; font-weight: 700; letter-spacing: .06em; line-height: 1; white-space: nowrap; color: var(--tpl-ink); }
.tpl-logo__ko { padding-left: 11px; border-left: 1px solid var(--tpl-line); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--tpl-mute); }

/* ---------- 헤더 : 늘 흰 바탕. 스크롤하면 아래 선이 진해집니다 ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; background: #fff; color: var(--tpl-ink); }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: transparent; transition: background-color .3s; }
.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__sub)은 칸 안에 left:0 · right:0 으로 놓여 칸 폭을 그대로 따릅니다 */
.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; }
/* hover 표시는 글자 아래 와인 선 하나뿐입니다 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after { transform: scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -10px; }
.tpl-util { display: flex; flex: 1 1 0; justify-content: flex-end; align-items: center; gap: 22px; min-width: max-content; font-size: 15px; font-weight: 500; }
.tpl-util a { white-space: nowrap; }
.tpl-util__login:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-util__join { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--tpl-wine); border-radius: 4px; color: var(--tpl-wine); font-weight: 600; transition: background-color .25s, color .25s; }
.tpl-util__join:hover { background: var(--tpl-wine); color: #fff; }
.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: 2px; 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; left: 19px; }

/* 메가메뉴 : 흰 패널(.tpl-mega__bg)이 scaleY 로 위에서 아래로 펼쳐지고, 각 2차 목록은 같은 높이 · 같은 시간 · 같은 곡선의 clip-path 로 함께 드러납니다.
   두 값이 프레임마다 같은 높이를 가리키므로 패널이 덮지 않은 곳에 글자가 보이지 않습니다. 2차 영역에는 배경색이 없습니다.
   패널 높이(--tpl-mega-h) = 가장 긴 2차 목록 + 위아래 여백 28px 씩이며 common.js 가 잽니다. */
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--tpl-mega-h, 220px); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line); 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, 220px); padding: 28px 0; text-align: center; 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 0; font-size: 16px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .2s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 6px; }
/* 현재 페이지 표시(서브페이지) : 1차 와인 선을 보이되, 다른 1차에 올리면 거둬 선이 늘 하나만 보이게 합니다 */
.tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-wine); font-weight: 700; }
.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(20, 14, 16, .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(420px, 100%); background: #fff; 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-line); }
.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__member { display: flex; gap: 8px; padding: 18px 20px 6px; }
.tpl-drawer__member a { flex: 1; display: grid; place-items: center; height: 46px; border: 1px solid var(--tpl-wine); border-radius: 4px; font-size: 16px; font-weight: 600; color: var(--tpl-wine); }
.tpl-drawer__member a + a { background: var(--tpl-wine); color: #fff; }
.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: 700 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; 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: 700; }
.tpl-drawer__foot { margin-top: auto; padding: 24px 20px; }
.tpl-drawer__tel { display: grid; padding: 18px 20px; border-radius: 4px; background: var(--tpl-soft); color: var(--tpl-ink); line-height: 1.3; }
.tpl-drawer__tel small { font-size: 14px; font-weight: 500; color: var(--tpl-mute); }
.tpl-drawer__tel strong { margin-top: 4px; font-size: 24px; font-weight: 700; color: var(--tpl-wine); }

/* ---------- 푸터 : 짙은 먹색. 왼쪽 회사 정보 · 오른쪽 메뉴 열 → 아래 정책 · 저작권 ---------- */
.tpl-footer { background: var(--tpl-foot); color: #a8a0a2; font-size: 15px; line-height: 1.75; }
.tpl-footer__in { width: calc(100% - var(--tpl-side) * 2); max-width: 1520px; margin: 0 auto; padding: 72px 0 48px; }
.tpl-footer__top { display: flex; justify-content: space-between; gap: 48px; }
.tpl-logo--foot .tpl-logo__en { color: #fff; }
.tpl-footer__info { max-width: 520px; }
.tpl-footer address { margin-top: 26px; font-size: 15px; }
.tpl-footer address p + p { margin-top: 2px; }
.tpl-footer address b { margin-right: 8px; font-weight: 600; color: #ddd6d7; }
.tpl-footer__cs { margin-top: 26px; }
.tpl-footer__cs strong { display: block; font-size: 15px; font-weight: 600; color: #ddd6d7; }
.tpl-footer__cs a { display: inline-block; margin-top: 4px; font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.tpl-footer__nav { display: flex; gap: 0; }
.tpl-footer__col { width: 150px; }
.tpl-footer__col > a { display: block; margin-bottom: 14px; font-size: 16.5px; font-weight: 600; color: #fff; }
.tpl-footer__col ul { display: grid; gap: 7px; font-size: 15px; }
.tpl-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; margin-top: 64px; padding-top: 28px; border-top: 1px solid #38302f; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15px; color: #d6cfd0; }
.tpl-footer__policy b { font-weight: 700; color: #fff; }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__copy { font-size: 14px; letter-spacing: 0; color: #a8a0a2; }

/* ---------- TOP 버튼 : 오른쪽 아래 와인 사각. 맨 위에서는 숨깁니다 ---------- */
.tpl-totop { position: fixed; right: 24px; bottom: 32px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; 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: 18px; height: 18px; stroke-width: 2; }
.tpl-totop:hover { background: var(--tpl-wine-d); }

/* ---------- 반응형 ---------- */
@media (max-width: 1440px) {
  :root { --tpl-gnb-pad: 26px; --tpl-side: 40px; }
}
@media (max-width: 1280px) {
  :root { --tpl-gnb-pad: 22px; }
  .tpl-logo__ko { display: none; }
  .tpl-util { gap: 18px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-pad: 18px; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 68px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 110px 0; }
  .tpl-head__ko { font-size: 38px; }
  .tpl-footer__top { flex-direction: column; }
  .tpl-footer__nav { flex-wrap: wrap; row-gap: 28px; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 60px; }
  body { font-size: 17px; }
  .tpl-sec { padding: 88px 0; }
  .tpl-head__ko { margin-top: 16px; font-size: 30px; line-height: 1.4; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-head--row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tpl-btn { height: 50px; padding: 0 22px; font-size: 15px; }
  .tpl-logo__mark { width: 26px; height: 26px; }
  .tpl-logo__en { font-size: 17px; }
  .tpl-footer__in { padding-top: 56px; }
  .tpl-footer__col { width: 50%; }
  .tpl-footer__cs a { font-size: 26px; }
  .tpl-totop { right: 16px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1; transform: none; }
}

/* ---------- 푸터 메뉴 열 폭 보정 (2026-11-22 덧붙임) ----------
   1025 ~ 1065px 에서 메뉴 다섯 열(150px × 5)과 회사 정보가 한 줄에 들어가지 못해 화면 오른쪽으로 최대 41px 넘쳤습니다. 이 폭에서만 열을 120px 로 줄입니다. */
@media (min-width: 1025px) and (max-width: 1280px) { .tpl-footer__col { width: 120px; } }

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 섹션 스타일입니다. 공통 토큰 · 헤더 · 푸터는 common.css 에 있습니다.
   섹션 순서 : 비주얼+바로가기 → 사업 분야 → 회사 개요 · 숫자 → 원칙(사진) → 고객 후기 → 상담 절차 → 갤러리 → 게시판 → 인증 · 협력 → 자주 묻는 질문 → 문의 띠 → 연락처 */

/* ---------- 메인 비주얼 + 바로가기 : 흰 바탕 안에 들여 놓은 비주얼(높이 70vh)과 오른쪽 바로가기 4칸 ---------- */
.tpl-hero { padding-top: calc(var(--tpl-hd-h) + 12px); }
.tpl-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.tpl-visual { position: relative; height: 70vh; overflow: hidden; border-radius: 6px; background: #2a2224; color: #fff; isolation: isolate; container-type: size; }
.tpl-visual__slides { position: absolute; inset: 0; }
.tpl-visual__slide { position: absolute; inset: 0; display: flex; align-items: center; transition: transform var(--tpl-vspeed, 900ms) var(--tpl-ease); }
.tpl-visual__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.tpl-visual__video { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .5s; }
/* 실제로 재생이 시작되어야(.is-ready) 대체 사진 위로 드러납니다. 그 전에는 대체 사진이 덮고 있어 검은 화면 · 유튜브 표시가 보이지 않습니다. */
.tpl-visual__video.is-ready { opacity: 1; }
/* reset.css 의 iframe { max-width: 100% } 가 가로를 칸 폭으로 묶어 영상이 16:9 로 덮지 못하고 위아래 검은 띠가 생기던 것을 풉니다. */
.tpl-visual__video iframe { position: absolute; max-width: none; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%); }
/* 왼쪽이 더 짙은 막 : 흰 글자 대비를 지킵니다 */
.tpl-visual__slide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 14, 17, .72) 0%, rgba(24, 14, 17, .45) 48%, rgba(24, 14, 17, .12) 100%); }
.tpl-visual__cap { width: 100%; padding: 0 112px 40px; }
.tpl-visual__en { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.tpl-visual__en::before { content: ''; width: 22px; height: 2px; background: #fff; }
.tpl-visual__title { margin-top: 20px; font-size: 54px; font-weight: 700; line-height: 1.24; letter-spacing: -.045em; white-space: nowrap; }
.tpl-visual__desc { margin-top: 18px; font-size: 19px; font-weight: 500; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.tpl-visual__cap .tpl-btn { margin-top: 40px; }
/* 전환 시 라벨 → 제목 → 설명 → 버튼이 차례로 올라옵니다(슬라이드가 거의 들어온 뒤 시작) */
.tpl-visual__cap > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--tpl-ease), transform .8s var(--tpl-ease); }
.tpl-visual__slide.is-active .tpl-visual__cap > * { opacity: 1; transform: none; }
.tpl-visual__slide.is-active .tpl-visual__cap > :nth-child(1) { transition-delay: .45s; }
.tpl-visual__slide.is-active .tpl-visual__cap > :nth-child(2) { transition-delay: .6s; }
.tpl-visual__slide.is-active .tpl-visual__cap > :nth-child(3) { transition-delay: .75s; }
.tpl-visual__slide.is-active .tpl-visual__cap > :nth-child(4) { transition-delay: .9s; }
/* 좌우 끝 세로 가운데 화살표 */
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-visual__arrow .tpl-ico { width: 24px; height: 24px; stroke-width: 1.6; }
.tpl-visual__arrow:hover { background: #fff; border-color: #fff; color: var(--tpl-wine); }
.tpl-visual__arrow--prev { left: 28px; }
.tpl-visual__arrow--next { right: 28px; }
/* 아래 : 번호 · 진행선 · 멈춤 */
.tpl-visual__ctrl { position: absolute; left: 112px; bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 18px; }
.tpl-visual__count { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .75); }
.tpl-visual__count b { color: #fff; font-weight: 700; }
.tpl-visual__count span { position: relative; width: 120px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__count span i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.tpl-visual.is-run .tpl-visual__count span i { animation: tplBar var(--tpl-vdelay, 7000ms) linear forwards; }
@keyframes tplBar { to { transform: scaleX(1); } }
.tpl-visual__pause { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; color: #fff; }
.tpl-visual__pause:hover { background: #fff; color: var(--tpl-wine); }
.tpl-visual__pause .tpl-ico { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.tpl-ico--play, .tpl-visual.is-paused .tpl-ico--pause { display: none; }
.tpl-visual.is-paused .tpl-ico--play { display: block; }

/* 바로가기 4칸 : 2×2. 첫 칸만 와인 면, 나머지는 옅은 웜그레이 */
.tpl-shortcut ul { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; }
.tpl-shortcut__item { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 150px; padding: 24px 22px 22px; border-radius: 6px; background: var(--tpl-soft); color: var(--tpl-ink); transition: background-color .25s; }
.tpl-shortcut__en { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-shortcut__item strong { margin-top: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.tpl-shortcut__txt { margin-top: 6px; padding-right: 26px; font-size: 15px; line-height: 1.55; color: var(--tpl-mute); }
.tpl-shortcut__item .tpl-ico { position: absolute; right: 18px; bottom: 18px; width: 22px; height: 22px; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-shortcut__item:hover { background: #ede6e5; }
.tpl-shortcut__item:hover .tpl-ico { transform: translate(3px, -3px); }
.tpl-shortcut__item--wine { background: var(--tpl-wine); color: #fff; }
.tpl-shortcut__item--wine .tpl-shortcut__en, .tpl-shortcut__item--wine .tpl-shortcut__txt, .tpl-shortcut__item--wine .tpl-ico { color: rgba(255, 255, 255, .88); }
.tpl-shortcut__item--wine:hover { background: var(--tpl-wine-d); }

/* ---------- 사업 분야 : 첫 카드가 넓은 비대칭 3칸 ---------- */
.tpl-biz__list { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; margin-top: 60px; }
.tpl-biz__item a { display: block; }
.tpl-biz__img { height: 440px; overflow: hidden; border-radius: 4px; background: var(--tpl-soft); }
.tpl-biz__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tpl-ease); }
.tpl-biz__item a:hover .tpl-biz__img img { transform: scale(1.04); }
.tpl-biz__no { margin-top: 24px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-biz__title { margin-top: 8px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-biz__txt { margin-top: 10px; font-size: 17px; line-height: 1.65; color: var(--tpl-text); }

/* ---------- 회사 개요 : 문구(왼쪽 위) · 큰 사진 · 좁은 세로 사진 + 숫자 4칸 ---------- */
.tpl-about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 28px; row-gap: 56px; }
.tpl-about__text { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 40px; align-items: end; }
.tpl-about__text .tpl-label, .tpl-about__text .tpl-head__ko { grid-column: 1 / -1; }
.tpl-about__text .tpl-head__txt { max-width: 900px; }
.tpl-about__text .tpl-textlink { justify-self: end; margin-bottom: 6px; }
.tpl-about__img { overflow: hidden; border-radius: 4px; height: 480px; }
.tpl-about__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-about__img--main { grid-column: 1 / 9; }
.tpl-about__img--side { grid-column: 9 / -1; }
.tpl-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 2px solid var(--tpl-ink); }
.tpl-stats > div { padding: 30px 28px 6px; border-left: 1px solid var(--tpl-line); }
.tpl-stats > div:first-child { padding-left: 0; border-left: 0; }
.tpl-stats dt { font-size: 16px; font-weight: 600; color: var(--tpl-mute); }
.tpl-stats dd { margin-top: 8px; font-size: 20px; font-weight: 600; color: var(--tpl-ink); }
.tpl-stats dd b { margin-right: 4px; font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-wine); }
.tpl-stats p { margin-top: 6px; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 원칙 : 가장자리까지 찬 사진(고정 · 패럴랙스 없음) + 오른쪽 문구 ---------- */
.tpl-principle { position: relative; display: flex; align-items: center; min-height: 680px; padding: 100px 0; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-principle__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tpl-principle::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(30, 16, 20, .86) 0%, rgba(30, 16, 20, .7) 45%, rgba(30, 16, 20, .25) 100%); }
.tpl-principle__in { display: flex; justify-content: flex-end; }
.tpl-principle__box { width: min(640px, 100%); }
.tpl-principle__title { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.3; letter-spacing: -.045em; }
.tpl-principle__txt { margin-top: 18px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.tpl-principle__list { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .35); }
.tpl-principle__list li { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 17px; color: rgba(255, 255, 255, .92); }
.tpl-principle__list b { flex: none; font-weight: 700; color: #fff; }

/* ---------- 상담 절차 : 가운데 제목 + 세로 선으로 나눈 4칸 ---------- */
.tpl-head--center { text-align: center; }
.tpl-head--center .tpl-label { justify-content: center; }
.tpl-process__list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); counter-reset: step; }
.tpl-process__list li { padding: 40px 32px 44px; border-left: 1px solid var(--tpl-line); }
.tpl-process__list li:first-child { border-left: 0; }
.tpl-process__no { display: block; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-wine); }
.tpl-process__list h3 { margin-top: 44px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-process__list p { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--tpl-text); }

/* ---------- 갤러리 : 4장씩 보이는 가로 스크롤 스냅 ---------- */
.tpl-gallery__nav { display: flex; gap: 8px; }
.tpl-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tpl-gallery__track::-webkit-scrollbar { display: none; }
.tpl-card { scroll-snap-align: start; }
.tpl-card a { display: block; }
.tpl-card figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e8e2e1; }
.tpl-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tpl-ease); }
.tpl-card a:hover img { transform: scale(1.05); }
.tpl-card__tag { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 3px; background: #fff; font-size: 13px; font-weight: 600; color: var(--tpl-wine); }
.tpl-card__title { margin-top: 20px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: var(--tpl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-card a:hover .tpl-card__title { color: var(--tpl-wine); }
.tpl-card__txt { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--tpl-text); -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.tpl-card time { display: block; margin-top: 14px; font-size: 14px; color: var(--tpl-mute); }
.tpl-gallery__bar { position: relative; height: 2px; margin-top: 44px; background: #ddd5d4; overflow: hidden; }
.tpl-gallery__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tpl-wine); transition: transform .2s; }

/* ---------- 게시판 : 두 목록 나란히, 줄 구분선 ---------- */
.tpl-board__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 56px; }
.tpl-board__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--tpl-ink); }
.tpl-board__head h3 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-board__more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--tpl-mute); }
.tpl-board__more .tpl-ico { width: 15px; height: 15px; }
.tpl-board__more:hover { color: var(--tpl-wine); }
.tpl-board__list a { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-board__tag { flex: none; padding: 2px 8px; border: 1px solid var(--tpl-line); border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--tpl-wine); }
.tpl-board__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; font-weight: 500; color: var(--tpl-ink); }
.tpl-board__list a:hover .tpl-board__title { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-board__list time { flex: none; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 인증 · 협력 : 위 선 + 6칸 ---------- */
.tpl-partner { padding: 0 0 120px; }
.tpl-partner__in { display: grid; grid-template-columns: 200px 1fr; align-items: stretch; border-top: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); }
.tpl-partner__title { display: flex; align-items: center; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-partner__list { display: grid; grid-template-columns: repeat(6, 1fr); }
.tpl-partner__list li { display: grid; gap: 4px; align-content: center; padding: 30px 22px; border-left: 1px solid var(--tpl-line); text-align: center; }
.tpl-partner__list b { font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-partner__list span { font-size: 14px; color: var(--tpl-mute); }

/* ---------- 고객 후기 : 왼쪽 큰 후기(위 굵은 선) + 오른쪽 짧은 후기 세 편(줄 구분선) ---------- */
.tpl-review__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: 60px; align-items: start; }
.tpl-review__main { display: flex; flex-direction: column; align-items: flex-start; padding-top: 36px; border-top: 2px solid var(--tpl-ink); }
.tpl-review__main blockquote { margin-top: 32px; font-size: 30px; font-weight: 600; line-height: 1.6; letter-spacing: -.035em; color: var(--tpl-ink); text-wrap: pretty; }
.tpl-review__main figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--tpl-line); align-self: stretch; }
.tpl-review__main figcaption b, .tpl-review__who b { font-size: 17px; font-weight: 700; color: var(--tpl-ink); }
.tpl-review__main figcaption span, .tpl-review__who span { font-size: 15px; color: var(--tpl-mute); }
.tpl-review__list { border-top: 2px solid var(--tpl-ink); }
.tpl-review__list li { padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-review__list blockquote { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--tpl-text); }
.tpl-review__who { display: flex; align-items: baseline; gap: 12px; margin-top: 12px; }
.tpl-review .tpl-board__tag { background: #fff; }

/* ---------- 자주 묻는 질문 : 왼쪽 고객상담센터 · 오른쪽 아코디언(높이는 grid-template-rows 로 펼칩니다) ---------- */
.tpl-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; margin-top: 56px; align-items: start; }
.tpl-faq__cs { padding: 34px 32px 36px; border-radius: 4px; background: var(--tpl-soft); }
.tpl-faq__cs h3 { font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-faq__tel { display: block; margin-top: 10px; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--tpl-wine); }
.tpl-faq__cs p { margin: 14px 0 28px; font-size: 16px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-faq__list { border-top: 2px solid var(--tpl-ink); }
.tpl-faq__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq__q { display: flex; align-items: center; gap: 20px; width: 100%; padding: 26px 4px 26px 0; text-align: left; font-size: 19px; font-weight: 600; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-faq__q:hover { color: var(--tpl-wine); }
.tpl-faq__no { flex: none; width: 34px; font-size: 16px; font-weight: 700; color: var(--tpl-wine); }
.tpl-faq__q .tpl-ico { margin-left: auto; width: 22px; height: 22px; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-faq__q[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-faq__list .tpl-faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--tpl-ease), visibility 0s .4s; }
.tpl-faq__list .tpl-faq__a > div { overflow: hidden; }
.tpl-faq__list .tpl-faq__a p { padding: 0 40px 28px 54px; font-size: 17px; line-height: 1.7; color: var(--tpl-text); }
.tpl-faq__list li.is-open .tpl-faq__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--tpl-ease), visibility 0s; }

/* ---------- 문의 띠 : 와인 단색 면 ---------- */
.tpl-cta { background: var(--tpl-wine); color: #fff; }
.tpl-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 72px 0; }
.tpl-cta__title { font-size: 38px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.tpl-cta__txt { margin-top: 10px; font-size: 18px; color: rgba(255, 255, 255, .88); }
.tpl-cta__btns { display: flex; gap: 10px; flex: none; }
.tpl-cta .tpl-btn--ghost { border-color: #fff; }

/* ---------- 연락처 + 지도 ---------- */
.tpl-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: stretch; }
.tpl-contact__dl { margin: 36px 0 32px; border-top: 1px solid var(--tpl-ink); }
.tpl-contact__dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-contact__dl dt { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--tpl-ink); }
.tpl-contact__dl dt .tpl-ico { width: 17px; height: 17px; color: var(--tpl-wine); }
.tpl-contact__dl dd { font-size: 17px; color: var(--tpl-text); }
.tpl-contact__dl a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { min-height: 460px; overflow: hidden; border-radius: 4px; background: var(--tpl-soft); }
.tpl-contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.85); }

/* ---------- 반응형 ---------- */
@media (max-width: 1440px) {
  .tpl-hero__in { grid-template-columns: minmax(0, 1fr) 300px; }
  .tpl-visual__title { font-size: 50px; }
  .tpl-visual__cap { padding: 0 100px 40px; }
  .tpl-visual__ctrl { left: 100px; }
  .tpl-shortcut__item { padding: 22px 18px 20px; }
  .tpl-shortcut__item strong { font-size: 19px; }
  .tpl-shortcut__txt { font-size: 14.5px; }
  .tpl-partner__in { grid-template-columns: 150px 1fr; }
}
/* 1280px 이하 : 바로가기를 비주얼 아래 한 줄 4칸으로 내립니다 */
@media (max-width: 1280px) {
  .tpl-hero__in { grid-template-columns: 1fr; }
  .tpl-shortcut ul { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
  .tpl-shortcut__item { min-height: 140px; }
  .tpl-biz__img, .tpl-about__img { height: 380px; }
  .tpl-partner__in { grid-template-columns: 1fr; }
  .tpl-partner__title { padding: 24px 0 0; }
  .tpl-partner__list li:first-child { border-left: 0; }
  .tpl-partner__list li { padding: 24px 12px; }
}
@media (max-width: 1024px) {
  .tpl-visual__title { font-size: 44px; }
  .tpl-visual__cap { padding: 0 96px 40px; }
  .tpl-visual__ctrl { left: 96px; }
  .tpl-biz__list { grid-template-columns: 1fr 1fr; }
  .tpl-biz__item:first-child { grid-column: 1 / -1; }
  .tpl-biz__img { height: 340px; }
  .tpl-stats { grid-template-columns: 1fr 1fr; }
  .tpl-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-process__list { grid-template-columns: 1fr 1fr; }
  .tpl-process__list li:nth-child(3) { border-left: 0; }
  .tpl-process__list li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-gallery__track { grid-auto-columns: calc((100% - 24px) / 2.3); }
  .tpl-board__grid { grid-template-columns: 1fr; gap: 64px; }
  .tpl-partner__list { grid-template-columns: repeat(3, 1fr); }
  .tpl-partner__list li:nth-child(4) { border-left: 0; }
  .tpl-partner__list li:nth-child(n+4) { border-top: 1px solid var(--tpl-line); }
  .tpl-review__grid, .tpl-faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .tpl-review__main blockquote { font-size: 24px; }
  .tpl-faq__cs { order: 2; }
  .tpl-cta__in { flex-direction: column; align-items: flex-start; }
  .tpl-cta__title { font-size: 32px; }
  .tpl-contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .tpl-principle__title { font-size: 40px; }
}
@media (max-width: 768px) {
  .tpl-hero { padding-top: calc(var(--tpl-hd-h) + 8px); }
  .tpl-hero__in { gap: 10px; }
  .tpl-visual { border-radius: 4px; }
  .tpl-visual__cap { padding: 0 60px 56px; }
  .tpl-visual__title { margin-top: 14px; font-size: 30px; line-height: 1.32; white-space: normal; }
  .tpl-visual__en { font-size: 13px; }
  .tpl-visual__desc { margin-top: 12px; font-size: 16px; }
  .tpl-visual__cap .tpl-btn { margin-top: 28px; }
  .tpl-visual__arrow { width: 40px; height: 40px; margin-top: -20px; }
  .tpl-visual__arrow .tpl-ico { width: 20px; height: 20px; }
  .tpl-visual__arrow--prev { left: 10px; }
  .tpl-visual__arrow--next { right: 10px; }
  .tpl-visual__ctrl { left: 60px; bottom: 24px; }
  .tpl-visual__count span { width: 64px; }
  .tpl-shortcut ul { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tpl-shortcut__item { min-height: 128px; padding: 18px 16px; }
  .tpl-shortcut__item strong { font-size: 18px; margin-top: 6px; }
  .tpl-shortcut__txt { font-size: 14px; padding-right: 20px; }
  .tpl-biz__list { grid-template-columns: 1fr; gap: 44px; margin-top: 44px; }
  .tpl-biz__img { height: 260px; }
  .tpl-biz__title { font-size: 22px; }
  .tpl-about__grid { row-gap: 36px; column-gap: 12px; }
  .tpl-about__text { grid-template-columns: 1fr; row-gap: 20px; }
  .tpl-about__text .tpl-textlink { justify-self: start; }
  .tpl-about__img { height: 240px; }
  .tpl-stats { margin-top: 48px; }
  .tpl-stats > div { padding: 22px 0 18px 16px; }
  .tpl-stats dd b { font-size: 38px; }
  .tpl-stats dd { font-size: 17px; }
  .tpl-principle { min-height: 0; padding: 88px 0; }
  .tpl-principle::before { background: rgba(30, 16, 20, .74); }
  .tpl-principle__title { font-size: 30px; }
  .tpl-process__list { grid-template-columns: 1fr; margin-top: 44px; }
  .tpl-process__list li { padding: 28px 0; border-left: 0; }
  .tpl-process__list li + li { border-top: 1px solid var(--tpl-line); }
  .tpl-process__list h3 { margin-top: 14px; font-size: 21px; }
  .tpl-gallery__track { grid-auto-columns: 82%; gap: 16px; margin-top: 40px; }
  .tpl-board__list a { flex-wrap: wrap; gap: 6px 12px; padding: 16px 0; }
  .tpl-board__title { flex-basis: calc(100% - 60px); }
  .tpl-board__list time { width: 100%; font-size: 14px; }
  .tpl-partner { padding-bottom: 88px; }
  .tpl-partner__list { grid-template-columns: 1fr 1fr; }
  .tpl-partner__list li:nth-child(n) { border-left: 1px solid var(--tpl-line); border-top: 0; }
  .tpl-partner__list li:nth-child(odd) { border-left: 0; }
  .tpl-partner__list li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-review__grid { margin-top: 44px; }
  .tpl-review__main { padding-top: 28px; }
  .tpl-review__main blockquote { margin-top: 20px; font-size: 20px; }
  .tpl-review__main figcaption { margin-top: 28px; padding-top: 18px; }
  .tpl-review__main figcaption, .tpl-review__who { flex-wrap: wrap; gap: 4px 12px; }
  .tpl-faq__grid { margin-top: 40px; }
  .tpl-faq__q { gap: 12px; padding: 20px 0; font-size: 17px; }
  .tpl-faq__no { width: 28px; font-size: 15px; }
  .tpl-faq__list .tpl-faq__a p { padding: 0 0 22px 40px; font-size: 16px; }
  .tpl-faq__cs { padding: 28px 22px; }
  .tpl-faq__tel { font-size: 32px; }
  .tpl-cta__in { padding: 56px 0; }
  .tpl-cta__title { font-size: 26px; }
  .tpl-cta__txt { font-size: 16px; }
  .tpl-cta__btns { flex-wrap: wrap; }
  .tpl-contact__dl > div { grid-template-columns: 1fr; gap: 4px; }
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 320px; }
}

/* ---------- 연락처 지도 : 카카오맵 (2026-11-22 구글 지도에서 바꿈) ----------
   카카오 화면 왼쪽 검색 창은 상자 overflow:hidden + iframe 을 왼쪽으로 420px 밀어 가립니다. 흑백 filter 는 끕니다. */
.tpl-contact__map { position: relative; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; min-height: 0; filter: none; }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-wine); color: #fff; font-size: 15px; font-weight: 600; }
.tpl-contact__maplink .tpl-ico { width: 15px; height: 15px; }
.tpl-contact__maplink:hover { background: var(--tpl-wine-d); }
@media (max-width: 768px) { .tpl-contact__map { min-height: 460px; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 레이아웃과 콘텐츠 부품입니다. 색 · 글꼴 · 라벨 · 버튼은 common.css 를 그대로 씁니다.
   서브 비주얼 사진은 스크롤해도 움직이지 않습니다(패럴랙스 없음). */

/* ---------- 서브 비주얼 : 헤더 아래 들여 놓은 사진 + 어두운 막, 왼쪽 영문 라벨 · 큰 제목 · 한 줄 설명 (PC 440px · 1024↓ 380px · 768↓ 300px) ---------- */
.tpl-subvis { position: relative; display: flex; align-items: center; width: calc(100% - var(--tpl-side) * 2); max-width: 1520px; height: 440px; margin: calc(var(--tpl-hd-h) + 12px) auto 0; overflow: hidden; border-radius: 6px; background: #2a2224; color: #fff; isolation: isolate; }
.tpl-subvis__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 14, 17, .74) 0%, rgba(24, 14, 17, .5) 55%, rgba(24, 14, 17, .25) 100%); }
.tpl-subvis__in { width: 100%; max-width: none; padding: 0 72px; }
.tpl-subvis__in > * { animation: tplRise .9s var(--tpl-ease) both; }
.tpl-subvis__en { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.tpl-subvis__en::before { content: ''; width: 22px; height: 2px; background: #fff; }
.tpl-subvis__title { margin-top: 16px; font-size: 56px; font-weight: 700; line-height: 1.2; letter-spacing: -.05em; animation-delay: .1s; }
.tpl-subvis__desc { margin-top: 16px; font-size: 19px; font-weight: 500; color: rgba(255, 255, 255, .9); animation-delay: .22s; }
@keyframes tplRise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽). 1024px 이하에서는 위아래로 나뉘고 탭은 가로로 밀어 봅니다 ---------- */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 76px; }
.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: 1.5px solid #a39a9b; border-right: 1.5px solid #a39a9b; transform: rotate(45deg); }
.tpl-loc a { display: flex; align-items: center; }
.tpl-loc a:hover { color: var(--tpl-wine); }
.tpl-loc .tpl-ico { width: 17px; height: 17px; }
.tpl-loc li[aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs ul { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 76px; padding: 0 22px; font-size: 17px; font-weight: 600; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 0; right: 0; 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: 700; color: var(--tpl-wine); }
.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: -8px; }

/* ---------- 인사말 : 왼쪽 글(7) · 오른쪽 사진(5) ---------- */
.tpl-greet { padding: 130px 0; }
.tpl-greet__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: start; }
.tpl-greet__title { margin-top: 20px; font-size: 42px; font-weight: 700; line-height: 1.36; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-greet__body { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--tpl-line); }
.tpl-greet__body p { font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-greet__body p + p { margin-top: 20px; }
.tpl-greet__sign { display: flex; align-items: baseline; justify-content: flex-end; gap: 18px; margin-top: 48px; }
.tpl-greet__sign span { font-size: 16px; color: var(--tpl-mute); }
.tpl-greet__sign strong { font-size: 26px; font-weight: 700; letter-spacing: .2em; color: var(--tpl-ink); }
.tpl-greet__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--tpl-soft); }
.tpl-greet__img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }

/* ---------- 회사 개요 : 숫자 4칸 + 표 ---------- */
.tpl-overview { padding: 120px 0 140px; background: var(--tpl-soft); }
.tpl-overview__title { margin-top: 18px; font-size: 40px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-overview__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 2px solid var(--tpl-ink); }
.tpl-overview__stats > div { padding: 28px 28px 30px; border-left: 1px solid var(--tpl-line); }
.tpl-overview__stats > div:first-child { padding-left: 0; border-left: 0; }
.tpl-overview__stats dt { font-size: 16px; font-weight: 600; color: var(--tpl-mute); }
.tpl-overview__stats dd { margin-top: 6px; font-size: 19px; font-weight: 600; color: var(--tpl-ink); }
.tpl-overview__stats dd b { margin-right: 4px; font-size: 46px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-wine); }
.tpl-overview__table { margin-top: 24px; border-top: 1px solid var(--tpl-ink); background: #fff; }
.tpl-overview__table th, .tpl-overview__table td { padding: 20px 24px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; font-size: 17px; }
.tpl-overview__table th { width: 150px; background: #faf8f7; font-weight: 600; color: var(--tpl-ink); }
.tpl-overview__table td { color: var(--tpl-text); }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .tpl-subvis { height: 380px; }
  .tpl-subvis__in { padding: 0 48px; }
  .tpl-subvis__title { font-size: 46px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; }
  .tpl-loc { padding: 18px 0 4px; }
  .tpl-snb__tabs ul { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--tpl-side) * -1); padding: 0 calc(var(--tpl-side) - 22px); }
  .tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs a { height: 60px; }
  .tpl-greet { padding: 100px 0; }
  .tpl-greet__grid { grid-template-columns: 1fr; gap: 56px; }
  .tpl-greet__img { aspect-ratio: 16 / 9; }
  .tpl-overview__stats { grid-template-columns: 1fr 1fr; }
  .tpl-overview__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-overview__stats > div:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 300px; margin-top: calc(var(--tpl-hd-h) + 8px); border-radius: 4px; }
  .tpl-subvis__in { padding: 0 24px; }
  .tpl-subvis__title { font-size: 36px; }
  .tpl-subvis__desc { font-size: 16px; }
  .tpl-snb__tabs a { padding: 0 16px; font-size: 16px; }
  .tpl-snb__tabs ul { padding: 0 calc(var(--tpl-side) - 16px); }
  .tpl-greet { padding: 72px 0; }
  .tpl-greet__title { font-size: 28px; }
  .tpl-greet__body { margin-top: 28px; padding-top: 28px; }
  .tpl-greet__body p { font-size: 17px; }
  .tpl-greet__sign strong { font-size: 22px; }
  .tpl-overview { padding: 80px 0 96px; }
  .tpl-overview__title { font-size: 30px; }
  .tpl-overview__stats > div { padding: 20px 0 20px 16px; }
  .tpl-overview__stats dd b { font-size: 36px; }
  .tpl-overview__table, .tpl-overview__table tbody, .tpl-overview__table tr, .tpl-overview__table th, .tpl-overview__table td { display: block; width: 100%; }
  /* 좁은 화면 : 항목명(th)과 내용(td)을 위아래로 쌓습니다 */
  .tpl-overview__table th { padding: 14px 16px 2px; border-bottom: 0; }
  .tpl-overview__table td { padding: 0 16px 14px; }
}


/* ==========================================================================
   서브페이지 추가 (2026-11-22) — 연혁 · 경영 이념 · 조직도 · 오시는 길 · 사업분야 4장 · 서비스 · 홍보센터 · 고객지원 · 회원 · 약관 화면 부품입니다.
   위의 기존 줄은 고치지 않고 아래에만 덧붙였습니다. 본문 폭은 인사말과 같은 .tpl-wrap(최대 1520px)이고, 좁은 것은 로그인 상자(.tpl-mbox)뿐입니다.
   ========================================================================== */

/* ---------- 섹션 틀 : 흰 바탕 · 아주 옅은 웜그레이 바탕, 머리(라벨 · 제목 · 설명) ---------- */
.tpl-page { padding: 120px 0 140px; }
.tpl-page--soft { background: var(--tpl-soft); }
.tpl-page--tight { padding-top: 0; }
.tpl-page__head { margin-bottom: 52px; }
.tpl-page__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.tpl-page__title { margin-top: 18px; font-size: 40px; font-weight: 700; line-height: 1.34; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-page__lead { margin-top: 16px; font-size: 18px; line-height: 1.75; color: var(--tpl-text); }
.tpl-h3 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-note { margin-top: 18px; font-size: 15px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-note li { position: relative; padding-left: 14px; }
.tpl-note li::before { content: ''; position: absolute; left: 0; top: .78em; width: 5px; height: 1px; background: currentColor; }

/* ---------- 표 : 위 굵은 먹색 선 + 얇은 줄 선. 좁은 화면에서는 표만 가로로 밀어 봅니다 ---------- */
.tpl-scroll { overflow-x: auto; }
.tpl-dtable { width: 100%; border-top: 2px solid var(--tpl-ink); background: #fff; font-size: 17px; }
.tpl-dtable th, .tpl-dtable td { padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; line-height: 1.6; }
.tpl-dtable thead th { background: #faf8f7; font-size: 16px; font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable td { color: var(--tpl-text); }
.tpl-dtable .is-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tpl-dtable strong { color: var(--tpl-wine); font-weight: 700; }

/* ---------- 꼬리표 · 상태 배지 ---------- */
.tpl-tag { display: inline-block; padding: 2px 8px; border: 1px solid var(--tpl-line); border-radius: 3px; font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--tpl-wine); white-space: nowrap; background: #fff; }
.tpl-badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap; background: var(--tpl-wine); color: #fff; }
.tpl-badge--end { background: #fff; border: 1px solid var(--tpl-line); color: var(--tpl-mute); }
.tpl-badge--wait { background: var(--tpl-soft); color: var(--tpl-text); }

/* ---------- 연혁 : 왼쪽 시기(따라 내려옴) · 오른쪽 해마다 한 일 ---------- */
.tpl-hist { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--tpl-line); }
.tpl-page__head + .tpl-hist { border-top: 2px solid var(--tpl-ink); }
.tpl-hist__side { position: sticky; top: calc(var(--tpl-hd-h) + 32px); align-self: start; }
.tpl-hist__range { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--tpl-wine); white-space: nowrap; }
.tpl-hist__name { margin-top: 14px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-hist__txt { margin-top: 10px; font-size: 17px; color: var(--tpl-mute); }
.tpl-hist__year { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__year:first-child { padding-top: 0; }
.tpl-hist__year dt { font-size: 24px; font-weight: 700; color: var(--tpl-ink); }
.tpl-hist__year li + li { margin-top: 6px; }
.tpl-hist__year li { position: relative; padding-left: 64px; font-size: 17px; color: var(--tpl-text); }
.tpl-hist__year li span { position: absolute; left: 0; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 경영 이념 : 큰 문장 · 원칙 세 줄(번호 + 선) · 행동 기준 표 ---------- */
.tpl-mission { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 64px; align-items: end; }
.tpl-mission__head { grid-column: 1 / -1; }
.tpl-mission__text p { font-size: 20px; line-height: 1.7; color: var(--tpl-text); }
.tpl-mission__text p + p { margin-top: 10px; }
.tpl-mission__text p:last-child { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 17px; color: var(--tpl-mute); }
.tpl-mission__quote { margin-top: 20px;  font-size: 44px; font-weight: 700; line-height: 1.36; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-mission__quote em { font-style: normal; color: var(--tpl-wine); }
.tpl-mission__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.tpl-mission__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-rules { border-top: 2px solid var(--tpl-ink); }
.tpl-rules li { display: grid; grid-template-columns: 120px minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--tpl-line); align-items: baseline; }
.tpl-rules b { font-size: 40px; font-weight: 700; color: var(--tpl-wine); letter-spacing: -.03em; }
.tpl-rules h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-rules p { font-size: 17px; line-height: 1.75; color: var(--tpl-text); }

/* ---------- 조직도 ---------- */
.tpl-org { position: relative; text-align: center; }
.tpl-org__box { display: inline-flex; flex-direction: column; justify-content: center; min-width: 220px; padding: 18px 28px; border: 1px solid var(--tpl-line); border-radius: 4px; background: #fff; }
.tpl-org__box b { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__box small { font-size: 14px; color: var(--tpl-mute); }
.tpl-org__box--top { background: var(--tpl-wine); border-color: var(--tpl-wine); }
.tpl-org__box--top b, .tpl-org__box--top small { color: #fff; }
.tpl-org__line { width: 1px; height: 36px; margin: 0 auto; background: #b9b0b1; }
.tpl-org__side { display: flex; justify-content: center; gap: 24px; }
.tpl-org__divs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 36px; border-top: 1px solid #b9b0b1; margin: 0 calc(12.5% - 18px); }
.tpl-org__divs > li { position: relative; }
.tpl-org__divs > li::before { content: ''; position: absolute; left: 50%; top: -36px; width: 1px; height: 36px; background: #b9b0b1; }
.tpl-org__divs .tpl-org__box { display: flex; width: 100%; min-width: 0; padding: 16px 12px; border-top: 3px solid var(--tpl-wine); }
.tpl-org__teams { margin-top: 12px; }
.tpl-org__teams li { padding: 11px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-text); }

/* ---------- 오시는 길 : 카카오 지도(왼쪽 검색 창은 상자 밖으로 밀어 가림) + 정보 ---------- */
.tpl-kmap { position: relative; height: 560px; overflow: hidden; border-radius: 4px; background: var(--tpl-soft); }
.tpl-kmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-kmap__link { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-wine); color: #fff; font-size: 15px; font-weight: 600; }
.tpl-kmap__link .tpl-ico { width: 15px; height: 15px; }
.tpl-kmap__link:hover { background: var(--tpl-wine-d); }
.tpl-locinfo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; border-top: 2px solid var(--tpl-ink); }
.tpl-locinfo > div { padding: 26px 28px 28px; border-left: 1px solid var(--tpl-line); }
.tpl-locinfo > div:first-child { padding-left: 0; border-left: 0; }
.tpl-locinfo dt { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--tpl-mute); }
.tpl-locinfo dt .tpl-ico { width: 17px; height: 17px; color: var(--tpl-wine); }
.tpl-locinfo dd { margin-top: 8px; font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-way { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.tpl-way h3 { padding-bottom: 14px; border-bottom: 2px solid var(--tpl-ink); font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-way li { padding: 14px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; color: var(--tpl-text); }
.tpl-way li b { display: block; font-weight: 600; color: var(--tpl-ink); }

/* ---------- 사업분야 : 세로 사진(5) + 설명 · 숫자 3칸(7) ---------- */
.tpl-bizov { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-bizov__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--tpl-soft); }
.tpl-bizov__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-bizov__body p { font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-bizov__body p + p { margin-top: 16px; }
.tpl-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--tpl-ink); }
.tpl-kpis > div { padding: 24px 24px 0; border-left: 1px solid var(--tpl-line); }
.tpl-kpis > div:first-child { padding-left: 0; border-left: 0; }
.tpl-kpis dt { font-size: 16px; font-weight: 600; color: var(--tpl-mute); }
.tpl-kpis dd { margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-kpis dd b { margin-right: 4px; font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-wine); }
/* 서비스 항목 : 번호 · 제목 · 설명 · 산출물 네 칸 줄 */
.tpl-svc { border-top: 2px solid var(--tpl-ink); }
.tpl-svc li { display: grid; grid-template-columns: 80px minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--tpl-line); align-items: baseline; }
.tpl-svc b { font-size: 18px; font-weight: 700; color: var(--tpl-wine); }
.tpl-svc h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-svc p { font-size: 17px; line-height: 1.75; color: var(--tpl-text); }
.tpl-svc small { font-size: 15px; line-height: 1.6; color: var(--tpl-mute); }
/* 문의 상자 : 옅은 면 + 왼쪽 와인 선 (색 띠가 아니라 흰 섹션 안의 상자입니다) */
.tpl-ask { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 72px; padding: 40px 48px; border-left: 4px solid var(--tpl-wine); border-radius: 4px; background: var(--tpl-soft); }
.tpl-ask h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-ask p { margin-top: 8px; font-size: 17px; color: var(--tpl-text); }
.tpl-ask__btns { display: flex; flex: none; gap: 10px; }
.tpl-btn--plain { background: #fff; color: var(--tpl-ink); border-color: var(--tpl-line); }
.tpl-btn--plain:hover { background: #fff; border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-page--soft .tpl-ask { background: #fff; }

/* ---------- 상담 절차 : 세로 단계(왼쪽 큰 번호) ---------- */
.tpl-steps { border-top: 2px solid var(--tpl-ink); }
.tpl-steps > li { display: grid; grid-template-columns: 160px minmax(0, 1fr) 280px; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-steps__no { font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--tpl-mute); }
.tpl-steps__no b { display: block; font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-wine); }
.tpl-steps h3 { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-steps p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }
.tpl-steps dl { padding: 18px 22px; border-radius: 4px; background: var(--tpl-soft); font-size: 15px; }
.tpl-steps dl div + div { margin-top: 8px; }
.tpl-steps dt { font-weight: 600; color: var(--tpl-ink); }
.tpl-steps dd { color: var(--tpl-text); }
.tpl-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 2px solid var(--tpl-ink); }
.tpl-checks li { display: flex; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; color: var(--tpl-text); }
.tpl-checks .tpl-ico { margin-top: 4px; width: 18px; height: 18px; stroke-width: 2.2; color: var(--tpl-wine); }

/* ---------- 분류 줄 · 쪽 번호 ---------- */
.tpl-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-cats a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--tpl-line); border-radius: 4px; font-size: 16px; font-weight: 600; color: var(--tpl-mute); white-space: nowrap; }
.tpl-cats a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-cats a[aria-current] { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.tpl-pager a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-pager a:hover { border-color: var(--tpl-line); color: var(--tpl-ink); }
.tpl-pager a[aria-current] { border-color: var(--tpl-ink); font-weight: 700; color: var(--tpl-ink); }
.tpl-pager .tpl-ico { width: 17px; height: 17px; }

/* ---------- 카드 목록(사례 · 인사이트 · 갤러리) : 사진 + 꼬리표 · 제목 한 줄 · 내용 두 줄 말줄임 ---------- */
.tpl-cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; margin-top: 40px; }
.tpl-cgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.tpl-gcard a { display: block; }
.tpl-gcard figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #e8e2e1; }
.tpl-gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--tpl-ease); }
.tpl-gcard a:hover img { transform: scale(1.05); }
.tpl-gcard figure .tpl-tag { position: absolute; left: 14px; top: 14px; border-color: #fff; }
.tpl-gcard h3 { margin-top: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-gcard a:hover h3 { color: var(--tpl-wine); }
.tpl-gcard p { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--tpl-text); -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.tpl-gcard small { display: block; margin-top: 14px; font-size: 14px; color: var(--tpl-mute); }

/* ---------- 게시판 목록 : 위(글 수 · 검색) + 표 + 아래(쪽 번호 · 글쓰기) ---------- */
.tpl-bbs__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.tpl-bbs__count { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbs__count b { color: var(--tpl-wine); }
.tpl-search { display: flex; gap: 6px; }
.tpl-search select, .tpl-search input { height: 46px; padding: 0 14px; border: 1px solid var(--tpl-line); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--tpl-ink); }
.tpl-search input { width: 260px; }
.tpl-search button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 4px; background: var(--tpl-ink); color: #fff; }
.tpl-search button:hover { background: var(--tpl-wine); }
.tpl-search .tpl-ico { width: 18px; height: 18px; }
.tpl-list { width: 100%; border-top: 2px solid var(--tpl-ink); font-size: 17px; }
.tpl-list th, .tpl-list td { padding: 20px 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; white-space: nowrap; color: var(--tpl-mute); }
.tpl-list thead th { background: #faf8f7; font-size: 16px; font-weight: 600; color: var(--tpl-ink); }
.tpl-list .is-title { width: 60%; text-align: left; white-space: normal; }
.tpl-list .is-title a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; font-weight: 500; color: var(--tpl-ink); }
.tpl-list .is-title a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-list .is-title a:hover > span { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-list .is-title .tpl-ico { width: 16px; height: 16px; color: var(--tpl-mute); }
.tpl-list tr.is-notice { background: #fcfbfa; }
.tpl-list tr.is-notice td:first-child { font-weight: 700; color: var(--tpl-wine); }
.tpl-list tr.is-reply .is-title a { padding-left: 22px; color: var(--tpl-text); }
.tpl-bbs__foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.tpl-bbs__foot + .tpl-pager { margin-top: 8px; }

/* ---------- 게시글 보기 ---------- */
.tpl-view__head { padding: 32px 0 26px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-view__title { margin-top: 12px; font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-view__meta b { margin-right: 6px; font-weight: 600; color: var(--tpl-text); }
.tpl-view__body { padding: 48px 0 56px; font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-view__body p + p, .tpl-view__body p + ul, .tpl-view__body ul + p, .tpl-view__body figure + p, .tpl-view__body p + figure { margin-top: 20px; }
.tpl-view__body h3 { margin: 40px 0 12px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-view__body ul { padding-left: 4px; }
.tpl-view__body ul li { position: relative; padding-left: 16px; }
.tpl-view__body ul li::before { content: ''; position: absolute; left: 0; top: .85em; width: 6px; height: 2px; background: var(--tpl-wine); }
.tpl-view__body figure { overflow: hidden; border-radius: 4px; }
.tpl-view__body figure img { width: 100%; }
.tpl-view__files { padding: 20px 24px; border-radius: 4px; background: var(--tpl-soft); font-size: 16px; }
.tpl-view__files li + li { margin-top: 6px; }
.tpl-view__files a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-ink); }
.tpl-view__files a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-view__files .tpl-ico { width: 16px; height: 16px; color: var(--tpl-mute); }
.tpl-view__files small { color: var(--tpl-mute); }
.tpl-pn { margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-pn li { border-bottom: 1px solid var(--tpl-line); }
.tpl-pn a, .tpl-pn li > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 8px; font-size: 17px; }
.tpl-pn span { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tpl-mute); }
.tpl-pn span .tpl-ico { width: 16px; height: 16px; }
.tpl-pn div strong { color: var(--tpl-mute); }
.tpl-pn strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--tpl-ink); }
.tpl-pn a:hover strong { color: var(--tpl-wine); }
.tpl-pn time { font-size: 15px; color: var(--tpl-mute); }
.tpl-btnrow { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.tpl-btnrow--end { justify-content: flex-end; }
/* Q&A 답변 상자 */
.tpl-answer { margin-top: 8px; padding: 36px 40px; border-left: 4px solid var(--tpl-wine); border-radius: 4px; background: var(--tpl-soft); }
.tpl-answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__head strong { font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-answer p { margin-top: 16px; font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
/* 갤러리 · 사례 보기 : 큰 사진 + 사진 2장, 사례는 본문(7) + 사진(5) */
.tpl-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 40px; }
.tpl-photos figure { overflow: hidden; border-radius: 4px; background: var(--tpl-soft); }
.tpl-photos figure:first-child { grid-row: span 2; aspect-ratio: 4 / 3; }
.tpl-photos img { width: 100%; height: 100%; object-fit: cover; }
.tpl-caseview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.tpl-caseview__img { position: sticky; top: calc(var(--tpl-hd-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.tpl-caseview__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-caseview .tpl-dtable { margin-top: 40px; }

/* ---------- 입력 화면(글쓰기 · 상담 신청 · 회원가입) : 왼쪽 항목명 · 오른쪽 입력 칸 ---------- */
.tpl-form { border-top: 2px solid var(--tpl-ink); }
.tpl-field { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); align-items: center; }
.tpl-field--top { align-items: start; }
.tpl-field__label { font-size: 17px; font-weight: 600; color: var(--tpl-ink); }
.tpl-field__label em { margin-left: 4px; font-style: normal; color: var(--tpl-wine); }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; max-width: 560px; height: 52px; padding: 0 16px; border: 1px solid #d3cbca; border-radius: 4px; background: #fff; font: inherit; font-size: 17px; color: var(--tpl-ink); }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-wine); outline: 2px solid rgba(92, 35, 51, .18); outline-offset: 0; }
.tpl-input--wide, .tpl-textarea { max-width: none; }
.tpl-input--sm { max-width: 260px; }
.tpl-textarea { height: auto; min-height: 260px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-input[type="file"] { height: auto; padding: 11px 14px; font-size: 15px; }
.tpl-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.tpl-inline .tpl-input { flex: 1 1 160px; max-width: 220px; }
.tpl-help { margin-top: 8px; font-size: 15px; color: var(--tpl-mute); }
.tpl-chk { display: inline-flex; align-items: center; gap: 8px; margin-right: 22px; font-size: 17px; color: var(--tpl-text); cursor: pointer; }
.tpl-chk input { width: 20px; height: 20px; accent-color: var(--tpl-wine); }
.tpl-captcha { display: inline-grid; place-items: center; width: 130px; height: 52px; border: 1px solid var(--tpl-line); border-radius: 4px; background: var(--tpl-soft); font-size: 22px; font-weight: 700; letter-spacing: .35em; color: var(--tpl-ink); }
.tpl-agree { margin-top: 40px; }
.tpl-agree__box { height: 180px; overflow-y: auto; margin-top: 12px; padding: 20px 22px; border: 1px solid var(--tpl-line); border-radius: 4px; background: #fcfbfa; font-size: 15px; line-height: 1.8; color: var(--tpl-text); }
.tpl-agree__box p + p { margin-top: 10px; }
.tpl-agree .tpl-chk { margin-top: 14px; }
.tpl-btnrow .tpl-btn { justify-content: center; min-width: 160px; }

/* ---------- 채용 : 인재상 · 전형 4단계 ---------- */
.tpl-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--tpl-ink); }
.tpl-people li { padding: 32px 32px 8px; border-left: 1px solid var(--tpl-line); }
.tpl-people li:first-child { padding-left: 0; border-left: 0; }
.tpl-people span { font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--tpl-wine); }
.tpl-people h3 { margin-top: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-people p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: flow; }
.tpl-flow li { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--tpl-line); counter-increment: flow; }
.tpl-flow li::before { content: '0' counter(flow); display: block; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-wine); }
.tpl-flow li:first-child { border-top-color: var(--tpl-wine); }
.tpl-flow h3 { margin-top: 8px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-flow p { margin-top: 8px; font-size: 16px; line-height: 1.7; color: var(--tpl-text); }

/* ---------- FAQ : details · summary 로 접고 폅니다(스크립트 없음) ---------- */
.tpl-page .tpl-faq { margin-top: 32px; border-top: 2px solid var(--tpl-ink); }
.tpl-page .tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-page .tpl-faq summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 24px 4px; cursor: pointer; list-style: none; }
.tpl-page .tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-page .tpl-faq summary > b { font-size: 20px; font-weight: 700; color: var(--tpl-wine); }
.tpl-page .tpl-faq summary > span { font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-page .tpl-faq summary small { margin-right: 10px; font-size: 14px; font-weight: 600; color: var(--tpl-mute); }
.tpl-page .tpl-faq summary .tpl-ico { transition: transform .3s var(--tpl-ease); }
.tpl-page .tpl-faq details[open] summary .tpl-ico { transform: rotate(45deg); }
.tpl-page .tpl-faq summary:hover > span { color: var(--tpl-wine); }
.tpl-page .tpl-faq__a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 0 4px 28px; }
.tpl-page .tpl-faq__a b { font-size: 20px; font-weight: 700; color: var(--tpl-mute); }
.tpl-page .tpl-faq__a p { font-size: 17px; line-height: 1.8; color: var(--tpl-text); }

/* ---------- 회원 : 로그인 상자(좁게) · 가입 단계 · 가입 완료 ---------- */
.tpl-mbox { max-width: 480px; margin: 0 auto; }
.tpl-mbox__title { font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); text-align: center; }
.tpl-mbox__lead { margin-top: 10px; font-size: 17px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox form { margin-top: 36px; }
.tpl-mbox .tpl-input { max-width: none; }
.tpl-mbox .tpl-input + .tpl-input { margin-top: 10px; }
.tpl-mbox__opt { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.tpl-mbox__opt .tpl-chk { margin: 0; font-size: 16px; }
.tpl-mbox .tpl-btn { width: 100%; justify-content: center; margin-top: 24px; }
.tpl-mbox__links { display: flex; justify-content: center; gap: 0; margin-top: 24px; font-size: 16px; color: var(--tpl-mute); }
.tpl-mbox__links a + a::before { content: ''; display: inline-block; width: 1px; height: 12px; margin: 0 16px; background: var(--tpl-line); }
.tpl-mbox__links a:hover { color: var(--tpl-wine); }
.tpl-mbox__join { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--tpl-line); text-align: center; font-size: 16px; color: var(--tpl-text); }
.tpl-jsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-top: 2px solid var(--tpl-line); }
.tpl-jsteps li { padding-top: 16px; font-size: 17px; font-weight: 600; color: var(--tpl-mute); }
.tpl-jsteps li span { margin-right: 10px; font-weight: 700; }
.tpl-jsteps li[aria-current] { margin-top: -2px; border-top: 2px solid var(--tpl-wine); color: var(--tpl-wine); }
.tpl-done { padding: 64px 40px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done__ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tpl-wine); color: #fff; }
.tpl-done__ico .tpl-ico { width: 30px; height: 30px; stroke-width: 2.4; }
.tpl-done h2 { margin-top: 24px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done p { margin-top: 12px; font-size: 18px; color: var(--tpl-text); }
.tpl-done dl { display: inline-grid; grid-template-columns: auto auto; gap: 8px 28px; margin-top: 32px; padding: 22px 32px; border-radius: 4px; background: var(--tpl-soft); text-align: left; font-size: 17px; }
.tpl-done dt { font-weight: 600; color: var(--tpl-ink); }
.tpl-done dd { color: var(--tpl-text); }
.tpl-find { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; }

/* ---------- 약관 · 정책 ---------- */
.tpl-policy { max-width: 1040px; }
.tpl-policy__date { padding: 16px 20px; border-radius: 4px; background: var(--tpl-soft); font-size: 16px; color: var(--tpl-text); }
.tpl-policy h2 { margin-top: 48px; padding-bottom: 12px; border-bottom: 1px solid var(--tpl-line); font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-policy p, .tpl-policy li { margin-top: 12px; font-size: 17px; line-height: 1.85; color: var(--tpl-text); }
.tpl-policy ol { padding-left: 22px; list-style: decimal; }
.tpl-policy ol li { margin-top: 6px; }
.tpl-policy .tpl-dtable { margin-top: 16px; font-size: 16px; }

/* ---------- 반응형 (서브페이지 추가분) ---------- */
@media (max-width: 1280px) {
  .tpl-mission { grid-template-columns: 1fr; gap: 40px; }
  .tpl-bizov { grid-template-columns: 1fr; gap: 48px; }
  .tpl-bizov__img { aspect-ratio: 16 / 9; }
  .tpl-svc li { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 2fr); }
  .tpl-svc small { grid-column: 3; margin-top: -18px; }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .tpl-cgrid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .tpl-page { padding: 96px 0 110px; }
  .tpl-page--tight { padding-top: 0; }
  .tpl-page__title { font-size: 34px; }
  .tpl-page__head--row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tpl-hist { grid-template-columns: 1fr; gap: 32px; }
  .tpl-hist__side { position: static; }
  .tpl-mission { grid-template-columns: 1fr; gap: 40px; }
  .tpl-mission__quote { font-size: 36px; }
  .tpl-rules li { grid-template-columns: 80px minmax(0, 1fr); gap: 12px 24px; }
  .tpl-rules p { grid-column: 2; }
  .tpl-org__divs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 40px 24px; border-top: 0; padding-top: 0; }
  .tpl-org__divs > li::before { display: none; }
  .tpl-locinfo { grid-template-columns: 1fr 1fr; }
  .tpl-locinfo > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-locinfo > div:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-way { grid-template-columns: 1fr; gap: 40px; }
  .tpl-bizov { grid-template-columns: 1fr; gap: 48px; }
  .tpl-bizov__img { aspect-ratio: 16 / 9; }
  .tpl-ask { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
  .tpl-steps > li { grid-template-columns: 110px minmax(0, 1fr); gap: 16px 32px; }
  .tpl-steps dl { grid-column: 2; }
  .tpl-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .tpl-cgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-caseview { grid-template-columns: 1fr; gap: 40px; }
  .tpl-caseview__img { position: static; aspect-ratio: 16 / 9; }
  .tpl-people { grid-template-columns: 1fr; }
  .tpl-people li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--tpl-line); }
  .tpl-bbs__top { flex-direction: column; align-items: stretch; }
  .tpl-search input { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 768px) {
  .tpl-page { padding: 72px 0 88px; }
  .tpl-page--tight { padding-top: 0; }
  .tpl-page__head { margin-bottom: 36px; }
  .tpl-page__title { font-size: 28px; }
  .tpl-page__lead { font-size: 17px; }
  .tpl-h3 { font-size: 21px; }
  .tpl-dtable { font-size: 16px; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 12px; }
  .tpl-scroll .tpl-dtable { min-width: 640px; }
  .tpl-hist { padding: 40px 0; }
  .tpl-hist__range { font-size: 40px; }
  .tpl-hist__year { grid-template-columns: 1fr; gap: 10px; }
  .tpl-hist__year dt { font-size: 22px; }
  .tpl-hist__year li { padding-left: 52px; font-size: 16px; }
  .tpl-mission__quote { font-size: 28px; }
  .tpl-mission__text p { font-size: 18px; }
  .tpl-rules li { grid-template-columns: 1fr; padding: 28px 0; }
  .tpl-rules p { grid-column: auto; }
  .tpl-rules b { font-size: 30px; }
  .tpl-rules h3 { font-size: 22px; }
  .tpl-org__box { min-width: 0; width: 100%; }
  .tpl-org__side { flex-direction: column; gap: 10px; }
  .tpl-org__divs { grid-template-columns: 1fr; }
  .tpl-kmap { height: 460px; }
  .tpl-locinfo { grid-template-columns: 1fr; }
  .tpl-locinfo > div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-locinfo > div:first-child { border-top: 0; }
  .tpl-kpis { grid-template-columns: 1fr; }
  .tpl-kpis > div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--tpl-line); }
  .tpl-kpis dd b { font-size: 34px; }
  .tpl-svc li { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .tpl-svc small { grid-column: auto; margin-top: 0; }
  .tpl-ask { margin-top: 56px; padding: 28px 24px; }
  .tpl-ask h3 { font-size: 22px; }
  .tpl-ask__btns { flex-direction: column; width: 100%; }
  .tpl-ask__btns .tpl-btn { justify-content: center; }
  .tpl-steps > li { grid-template-columns: 1fr; padding: 32px 0; }
  .tpl-steps dl { grid-column: auto; }
  .tpl-steps__no b { font-size: 40px; }
  .tpl-steps h3 { font-size: 22px; }
  .tpl-checks { grid-template-columns: 1fr; }
  .tpl-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tpl-cats::-webkit-scrollbar { display: none; }
  .tpl-cgrid, .tpl-cgrid--4 { grid-template-columns: 1fr; gap: 40px; }
  .tpl-flow { grid-template-columns: 1fr; gap: 28px; }
  .tpl-flow li { padding-right: 0; }
  /* 게시판 목록 : 좁은 화면에서는 줄마다 제목 위 · 정보 아래로 쌓습니다 */
  .tpl-list thead { display: none; }
  .tpl-list, .tpl-list tbody { display: block; }
  .tpl-list tr { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 16px 4px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-list td { padding: 0; border: 0; font-size: 14px; }
  .tpl-list td.is-hide-m { display: none; }
  .tpl-list .is-title { order: -1; width: 100%; font-size: 17px; }
  .tpl-search { flex-wrap: wrap; }
  .tpl-search select { flex: 1 1 100%; }
  .tpl-view__title { font-size: 24px; }
  .tpl-view__body { padding: 36px 0 40px; font-size: 17px; }
  .tpl-pn a, .tpl-pn li > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
  .tpl-pn time { display: none; }
  .tpl-answer { padding: 28px 22px; }
  .tpl-photos { grid-template-columns: 1fr; }
  .tpl-photos figure:first-child { grid-row: auto; }
  .tpl-photos figure { aspect-ratio: 4 / 3; }
  .tpl-field { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .tpl-btnrow { flex-direction: column-reverse; }
  .tpl-btnrow .tpl-btn { width: 100%; }
  .tpl-done { padding: 48px 8px; }
  .tpl-done h2 { font-size: 26px; }
  .tpl-done dl { grid-template-columns: 1fr; gap: 2px; padding: 18px 22px; }
  .tpl-done dd + dt { margin-top: 10px; }
  .tpl-jsteps li { font-size: 15px; }
  .tpl-jsteps li span { display: block; }
  .tpl-policy h2 { font-size: 20px; }
}

[hidden] { display: none !important; }

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz054) · 퀵메뉴 · 팝업 · 고정 배경입니다.
   위의 원본 CSS 는 .tpl-faq 범위와 .tpl-shortcut 이름 말고는 고치지 않았습니다. 색 · 글꼴은 원본 common.css 의 토큰(와인 · 먹색 · 옅은 웜그레이 면)을 씁니다.
   「맨 위로」 단추는 원본 .tpl-totop 을 퀵메뉴 맨 아래 칸으로 붙인 흰 정사각(그림자)입니다(「쓴 조합」 biz054 맨 위로 「정사각 · 흰 바탕 그림자 · 퀵메뉴 맨 아래 칸」).
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 템플릿 강조색과 상관없이 CI 색 그대로 둡니다. 글자는 머리글 먹색 · 푸터 흰색을 따릅니다 ---------- */
.tpl-logo { --accent: #12c29a; color: var(--tpl-ink); }
.tpl-logo--foot { color: #fff; }
.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; }   /* 원본 머리글은 늘 흰 바탕이라 어두운 바탕용 로고는 푸터에서만 씁니다 */
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 메인 비주얼 · 바로가기 : 콘솔에서 바로가기를 모두 비우면 비주얼이 한 칸을 다 씁니다(원본 README 「두 번째 열을 지우십시오」) ---------- */
.tpl-hero__in--solo { grid-template-columns: minmax(0, 1fr); }

/* ---------- 고정 배경 : 가로 100% 사진 띠(원칙 Our Principle)는 스크롤해도 사진은 멈춰 있고 내용만 움직입니다. PC 에서만 켭니다(지침 3-4) ---------- */
.tpl-principle__bg { position: absolute; inset: 0; background-color: #2a2224; z-index: -2; background-position: center; background-size: cover; background-repeat: no-repeat; }
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-principle__bg { background-attachment: fixed; }
}

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 #allweb-map 에 그립니다. 키가 없으면 카카오맵 화면을 넣고 원본처럼 왼쪽 검색 창을 상자 밖으로 밀어 가립니다 ---------- */
.tpl-contact__map .biz-map, .tpl-kmap .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%; min-height: 0; border: 0; filter: none; }
.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: 52px; padding: 0 24px; border-radius: 4px; 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; }   /* 키가 있을 때 지도 아래 링크 — 원본은 지도 위 「카카오맵 큰 지도 보기」 단추가 같은 일을 합니다 */

/* ---------- 그누보드 화면(전체검색 · 새글 · 기본 스킨)을 템플릿 폭 안에 넣습니다 ---------- */
.allweb-gnu { width: calc(100% - var(--tpl-side) * 2); max-width: 1520px; margin: 0 auto; padding-top: 110px; padding-bottom: 110px; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 4px; background: var(--tpl-wine); color: #fff; }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2). 원본 .tpl-captcha 자리에 그누보드 그림이 들어갑니다 */
#captcha #captcha_img { display: inline-block; vertical-align: middle; height: 52px; border-radius: 4px; }
#captcha #captcha_key { height: 52px; padding: 0 16px; border: 1px solid #d3cbca; border-radius: 4px; vertical-align: middle; font: 400 17px var(--tpl-font); }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 8px; font-size: 15px; color: var(--tpl-mute); }
.tpl-field #captcha { margin: 0; }

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-list td.tpl-list__empty { padding: 64px 0; text-align: center; color: var(--tpl-mute); }
.tpl-cgrid__empty { margin-top: 40px; padding: 64px 0; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); }
.tpl-view__body img { max-width: 100%; height: auto; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-view__body > p > img { display: block; width: 100%; max-height: 640px; border-radius: 4px; object-fit: cover; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.tpl-view__files { margin-bottom: 8px; }
.tpl-answer__head a { font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.tpl-answer > * + * { margin-top: 16px; }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--tpl-ink); }
.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: 12px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; 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-input { max-width: none; }
.tpl-cmt__form .tpl-textarea { min-height: 120px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
/* FAQ 게시판 : 답 안의 문단 · 관리자 수정 링크 · 질문이 없을 때만 더합니다 */
.tpl-page .tpl-faq__a > div > * + * { margin-top: 10px; }
.tpl-page .tpl-faq__a > div { font-size: 17px; line-height: 1.8; color: var(--tpl-text); }
.tpl-page .tpl-faq__a a { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 3px; }
.tpl-faq__empty { padding: 48px 0; text-align: center; color: var(--tpl-mute); }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.mb-addr { display: grid; gap: 10px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-addr__zip .tpl-input { width: min(100%, 180px); }
.mb-addr .tpl-btn, .mb-cert .tpl-btn { height: 52px; }
.mb-textarea { min-height: 120px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { padding: 0; border: 0; background: none; font: 600 15px var(--tpl-font); color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; width: 100%; margin-top: 10px; padding-left: 28px; }
.mb-file-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mb-file-now img { max-width: 120px; height: auto; }
.mb-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-input[readonly] { background: var(--tpl-soft); }

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz054(가 8 · 나 2 · 다 1 · 라 4 · 마 7, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 8 : 1차에 올리면 그 글자가 굵어지고(글자 폭이 바뀌지 않게 같은 색 그림자로 굵힘) 나머지 1차가 옅어집니다. 원본의 아래 와인 밑줄은 쓰지 않습니다.
          서브페이지 현재 메뉴는 와인 굵은 글자이고, 다른 1차에 올리면 다른 1차와 함께 옅어집니다(표시는 늘 하나).
   나 2 : 원본의 전체 메가(1차마다 2차 열)는 쓰지 않고, 올린 1차의 2차만 헤더 아래 한 줄 탭으로 그 1차 글자 가운데 바로 아래에 가운데 맞춰 놓습니다(js/main.js 가 --tpl-sub-dx 로 헤더 안쪽에 맞춥니다).
   다 1 : 탭 패널(.tpl-mega__bg)은 원본 메가 패널과 같은 흰 바탕 · 아래 옅은 선이고 옅은 그림자를 더했습니다. 2차 열 배경색 · 열 hover 배경은 없습니다.
   라 4 : 패널과 2차 줄이 같은 clip-path · 같은 시간(0.4초)으로 위에서 아래로 덮이며 열리고, 줄 안의 2차가 한 칸씩 0.05초 차이로 위에서 내려옵니다(줄과 같은 clip-path 안이라 패널 밖 글자가 없습니다).
          패널이 다 열린 뒤(.is-tab-ready) 다른 1차로 옮기면 기다림 없이 바로 바뀝니다. Esc 로 닫은 칸(.is-shut)은 패널도 닫습니다.
   마 7 : 2차에 올리면 글자가 먹색으로 굵어집니다(원본의 밑줄은 쓰지 않습니다). 지금 화면의 2차는 원본처럼 와인 굵은 글자입니다. ---------- */
:root { --tpl-tab-h: 72px; }
.tpl-gnb__link::after { display: none; }
.tpl-gnb__link { transition: opacity .3s, color .3s, text-shadow .3s; }
.tpl-gnb__item:hover > .tpl-gnb__link, .tpl-gnb__item:focus-within > .tpl-gnb__link { text-shadow: .45px 0 0 currentColor, -.45px 0 0 currentColor; }
.tpl-gnb__link[aria-current] { color: var(--tpl-wine); text-shadow: .45px 0 0 currentColor, -.45px 0 0 currentColor; }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) > .tpl-gnb__link,
.tpl-gnb__list:focus-within .tpl-gnb__item:not(:focus-within) > .tpl-gnb__link { opacity: .42; text-shadow: none; }
.tpl-header .tpl-mega__bg, .tpl-header.is-mega-open .tpl-mega__bg { z-index: 1; height: var(--tpl-tab-h); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line), 0 10px 24px rgba(40, 20, 26, .07); transform: none; pointer-events: none; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .4s var(--tpl-ease), visibility 0s linear .4s; }
.tpl-header.is-tab-open .tpl-mega__bg { visibility: visible; clip-path: inset(0 0 -40px 0); transition-delay: 0s; }
.tpl-gnb__sub, .tpl-header.is-mega-open .tpl-gnb__sub { left: 50%; right: auto; display: flex; align-items: center; gap: 0 36px; width: max-content; height: var(--tpl-tab-h); padding: 0; transform: translateX(calc(-50% + var(--tpl-sub-dx, 0px))); visibility: hidden; clip-path: inset(0 -2000px 100% -2000px); transition: clip-path .4s var(--tpl-ease), visibility 0s linear .4s; }
.tpl-gnb__item:hover > .tpl-gnb__sub, .tpl-gnb__item:focus-within > .tpl-gnb__sub,
.tpl-header.is-mega-open .tpl-gnb__item:hover > .tpl-gnb__sub, .tpl-header.is-mega-open .tpl-gnb__item:focus-within > .tpl-gnb__sub { visibility: visible; clip-path: inset(0 -2000px 0 -2000px); transition-delay: 0s; }
.tpl-gnb__item.is-shut > .tpl-gnb__sub, .tpl-header.is-mega-open .tpl-gnb__item.is-shut > .tpl-gnb__sub { visibility: hidden; clip-path: inset(0 -2000px 100% -2000px); }
.tpl-header.is-tab-ready .tpl-gnb__sub { transition: none; }
.tpl-gnb__sub li { flex: none; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover > .tpl-gnb__sub li, .tpl-gnb__item:focus-within > .tpl-gnb__sub li { opacity: 1; transform: none; }
.tpl-gnb__item:hover > .tpl-gnb__sub li:nth-child(2), .tpl-gnb__item:focus-within > .tpl-gnb__sub li:nth-child(2) { transition-delay: .05s; }
.tpl-gnb__item:hover > .tpl-gnb__sub li:nth-child(3), .tpl-gnb__item:focus-within > .tpl-gnb__sub li:nth-child(3) { transition-delay: .1s; }
.tpl-gnb__item:hover > .tpl-gnb__sub li:nth-child(4), .tpl-gnb__item:focus-within > .tpl-gnb__sub li:nth-child(4) { transition-delay: .15s; }
.tpl-gnb__item:hover > .tpl-gnb__sub li:nth-child(5), .tpl-gnb__item:focus-within > .tpl-gnb__sub li:nth-child(5) { transition-delay: .2s; }
.tpl-gnb__item:hover > .tpl-gnb__sub li:nth-child(n+6), .tpl-gnb__item:focus-within > .tpl-gnb__sub li:nth-child(n+6) { transition-delay: .25s; }
.tpl-gnb__item.is-shut > .tpl-gnb__sub li { opacity: 0; transition-delay: 0s; }
.tpl-gnb__sub a { padding: 0; line-height: 28px; transition: color .25s, text-shadow .25s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-ink); text-decoration: none; text-shadow: .4px 0 0 currentColor, -.4px 0 0 currentColor; }
@media (prefers-reduced-motion: reduce) {
  .tpl-gnb__link, .tpl-mega__bg, .tpl-gnb__sub, .tpl-gnb__sub li, .tpl-gnb__sub a { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz054(배치 6 · 효과 4). 오른쪽 가운데 화면 끝에 6px 씩 띄워 쌓은 흰 가로 카드(왼쪽만 4px 둥근 모서리 · 옅은 선)입니다.
   카드는 와인 선 아이콘 + 먹색 이름 한 줄이고, 본문 여백이 넉넉한 1840px 이상 PC 에서는 이름이 늘 보입니다.
   본문 여백이 좁은 1025~1839px PC 는 여백 폭만 한 아이콘 칸만 두고, 올리면 그 칸이 왼쪽으로 늘어나며 이름이 나옵니다.
   올리거나 키보드로 가면 아이콘이 3px 위로 뜨고 카드에 그림자가 생깁니다(효과 4). 터치 화면(hover: none)은 늘어나지 않고 한 번 누르면 바로 이동합니다.
   이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다. 맨 아래 칸은 원본 .tpl-totop 을 옮겨 붙인 흰 정사각(그림자 · 와인 화살표)이고,
   768px 이하는 오른쪽 아래 44px 아이콘 칸입니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show) ---------- */
:root { --tpl-qw: 44px; --tpl-qh: 48px; }
.tpl-quick { position: fixed; right: 0; top: 50%; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; opacity: 0; visibility: hidden; transform: translate(12px, -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 { display: flex; justify-content: flex-end; }
.tpl-quick a { position: relative; display: flex; align-items: center; justify-content: flex-end; max-width: var(--tpl-qw); height: var(--tpl-qh); overflow: hidden; border: 1px solid var(--tpl-line); border-right: 0; border-radius: 4px 0 0 4px; background: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.02em; color: var(--tpl-ink); white-space: nowrap; transition: max-width .35s var(--tpl-ease), box-shadow .3s, border-color .3s; }
.tpl-quick a span { order: -1; padding: 0 2px 0 16px; }
.tpl-quick a .tpl-ico, .tpl-quick__img { flex: none; width: calc(var(--tpl-qw) - 1px); height: 20px; stroke-width: 1.7; color: var(--tpl-wine); transition: transform .3s var(--tpl-ease); }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a:focus-visible { max-width: 280px; border-color: #d3cbca; box-shadow: 0 10px 22px rgba(40, 20, 26, .14); outline: 2px solid var(--tpl-wine); outline-offset: -2px; }
.tpl-quick a:focus-visible .tpl-ico, .tpl-quick a:focus-visible .tpl-quick__img { transform: translateY(-3px); }
@media (hover: hover) {
  .tpl-quick a:hover { max-width: 280px; border-color: #d3cbca; box-shadow: 0 10px 22px rgba(40, 20, 26, .14); }
  .tpl-quick a:hover .tpl-ico, .tpl-quick a:hover .tpl-quick__img { transform: translateY(-3px); }
}
.tpl-quick .tpl-totop { position: static; display: grid; place-items: center; width: var(--tpl-qw); height: var(--tpl-qw); border: 1px solid var(--tpl-line); border-right: 0; border-radius: 0; background: #fff; color: var(--tpl-wine); box-shadow: 0 6px 18px rgba(40, 20, 26, .14); opacity: 1; visibility: inherit; transform: none; transition: background-color .25s, color .25s; }
.tpl-quick .tpl-totop .tpl-ico { width: 18px; height: 18px; stroke-width: 2; }
.tpl-quick .tpl-totop:hover, .tpl-quick .tpl-totop:focus-visible { background: var(--tpl-wine); color: #fff; }
.tpl-quick .tpl-totop:focus-visible { outline: 2px solid var(--tpl-wine); outline-offset: 2px; }
@media (min-width: 1840px) {
  :root { --tpl-qw: 50px; }
  .tpl-quick a { max-width: none; justify-content: flex-start; gap: 10px; padding: 0 20px 0 16px; }
  .tpl-quick a span { order: 0; padding: 0; }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: 20px; }
  .tpl-quick a:hover, .tpl-quick a:focus-visible { max-width: none; }
}
@media (max-width: 1440px) { :root { --tpl-qw: 38px; --tpl-qh: 44px; } .tpl-quick a .tpl-ico, .tpl-quick__img { height: 18px; } }
@media (max-width: 1140px) { :root { --tpl-qw: 32px; --tpl-qh: 40px; } .tpl-quick a .tpl-ico, .tpl-quick__img { height: 16px; } }
@media (max-width: 768px) {
  :root { --tpl-qw: 44px; --tpl-qh: 44px; }
  .tpl-quick { top: auto; right: 12px; bottom: 16px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick a, .tpl-quick .tpl-totop { border-right: 1px solid var(--tpl-line); border-radius: 4px; }
  .tpl-quick a span { display: none; }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: calc(var(--tpl-qw) - 2px); height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick *, .tpl-quick a .tpl-ico { transition: none !important; }
}

/* ---------- 팝업 : 흰 판 · 6px 둥근 모서리(원본 비주얼 · 서브 비주얼) · 제목 위 와인 짧은 선 라벨(원본 .tpl-label) · 와인 면 4px 단추 · 옅은 웜그레이 아래 띠(닫기는 와인 굵은 글자) ---------- */
.tpl-pop__item { overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 18px 40px rgba(29, 24, 25, .26); }
.tpl-pop__body { padding: 34px 34px 36px; }
.tpl-pop__title { margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__title::before { content: ''; display: block; width: 22px; height: 2px; margin-bottom: 16px; background: var(--tpl-wine); }
.tpl-pop__text { margin: 0; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 12px; height: 50px; margin-top: 24px; padding: 0 22px; border-radius: 4px; background: var(--tpl-wine); font-size: 15.5px; font-weight: 600; color: #fff; transition: background-color .25s; }
.tpl-pop__more::after { content: '→'; font-size: 15px; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-wine-d); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-soft); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 15px; color: var(--tpl-mute); transition: color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); color: var(--tpl-wine); font-weight: 700; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { color: var(--tpl-ink); }
