/* ==========================================================================
   올웹 비즈니스 템플릿 52 — 시안 52(하윤앤코, 설계 · 생산 지원 · 물류 · 공간 솔루션 종합 기업)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 다만 비주얼 아래 바로가기 띠의 클래스 .tpl-quick 은 콘솔 퀵메뉴(<nav class="tpl-quick">, 지침 3-4)와 이름이 겹쳐
   .tpl-shortcut 으로만 바꿨습니다(규칙 값은 그대로, biz036 과 같은 방법). 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz052) · 퀵메뉴 · 팝업 · 고정 배경은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 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 — 메인과 서브페이지가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 라벨 · 제목 · 버튼, 헤더, 1차별 드롭다운, 드로어, 푸터, TOP 버튼, 스크롤 등장(data-aos)을 담습니다.
   색은 흰 바탕 · 먹색 글자 · 버건디(#6b1f2a) 포인트 · 아주 옅은 회색 면(#f6f4f3)만 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

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

:root {
  --tpl-wine: #6b1f2a;            /* 버건디 : 라벨 · 선 · 버튼 면 · 숫자 띠 (흰 바탕 11.4:1) */
  --tpl-wine-dk: #561722;         /* 버튼에 마우스를 올렸을 때 */
  --tpl-wine-lt: #e9c9ce;         /* 버건디 면 위 보조 글자 (버건디 바탕 7.9:1) */
  --tpl-ink: #1e1a1b;             /* 제목 · 강조 글자 */
  --tpl-text: #3b3536;            /* 본문 글자 (흰 바탕 11.9:1) */
  --tpl-mute: #6a6264;            /* 보조 글자 (흰 바탕 5.9:1 · 옅은 회색 면 5.4:1) */
  --tpl-line: #e4dfdd;            /* 얇은 선 */
  --tpl-paper: #f6f4f3;           /* 아주 옅은 회색 면 */
  --tpl-foot: #1c1718;            /* 푸터 */
  --tpl-font: 'SUIT', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 84px;               /* 헤더 높이 */
  --tpl-gnb-gap: 64px;            /* 1차 메뉴 글자 사이 간격(모든 칸이 같습니다) */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
body { background: #fff; color: var(--tpl-text); font: 400 17.5px/1.75 var(--tpl-font); letter-spacing: -.015em; word-break: keep-all; -webkit-font-smoothing: antialiased; padding-top: var(--tpl-hd-h); }
body.tpl-lock { overflow: hidden; }
/* 문구 줄바꿈은 PC 에서는 한 줄로 두고, 768px 이하에서만 지정한 자리에서 끊습니다 */
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
.tpl-wrap { width: calc(100% - var(--tpl-side) * 2); max-width: 1440px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; 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: #fff; color: var(--tpl-ink); padding: 8px 14px; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-wine); outline-offset: 3px; }

/* ---------- 스크롤 등장(data-aos) : common.js 가 블록이 화면 가운데까지 올라오면 is-aos-in 을 붙입니다 ---------- */
[data-aos] { transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
.tpl-aos-on [data-aos]:not(.is-aos-in) { opacity: 0; }
.tpl-aos-on [data-aos="fade-up"]:not(.is-aos-in) { transform: translateY(40px); }
.tpl-aos-on [data-aos="fade-left"]:not(.is-aos-in) { transform: translateX(40px); }
.tpl-aos-on [data-aos="fade-right"]:not(.is-aos-in) { transform: translateX(-40px); }
.tpl-aos-on [data-aos="zoom-in"]:not(.is-aos-in) { transform: scale(.94); }

/* ---------- 공통 : 섹션 여백 · 라벨(영문 대문자) · 제목 · 글 링크 ---------- */
.tpl-sec { padding: 140px 0; }
.tpl-sec--top0 { padding-top: 0; }
.tpl-label { font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-label--light { color: var(--tpl-wine-lt); }
.tpl-head__ko { margin-top: 16px; font-size: 44px; font-weight: 800; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-head__txt { margin-top: 14px; font-size: 18px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-head--center { text-align: center; }
.tpl-head--center .tpl-head__ko::after { content: ''; display: block; width: 32px; height: 3px; margin: 22px auto 0; background: var(--tpl-wine); }
.tpl-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.tpl-textlink { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 16.5px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-textlink .tpl-ico { width: 16px; height: 16px; 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-textlink--light, .tpl-textlink--light:hover { color: #fff; }

/* ---------- 공통 버튼 : 모서리 없는 사각 버튼 ---------- */
.tpl-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; height: 56px; padding: 0 22px 0 26px; border: 1px solid transparent; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn .tpl-ico { width: 18px; height: 18px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-btn:hover .tpl-ico { transform: translateX(4px); }
.tpl-btn--wine { background: var(--tpl-wine); color: #fff; }
.tpl-btn--wine:hover { background: var(--tpl-wine-dk); }
.tpl-btn--light { background: #fff; color: var(--tpl-ink); }
.tpl-btn--light:hover { background: var(--tpl-wine); color: #fff; }
.tpl-btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.tpl-btn--line:hover { border-color: #fff; background: #fff; color: var(--tpl-ink); }
.tpl-btn--ghost { border-color: #cfc8c6; color: var(--tpl-ink); background: #fff; }
.tpl-btn--ghost:hover { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-sqbtn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #cfc8c6; background: #fff; color: var(--tpl-ink); transition: background-color .25s, border-color .25s, color .25s; }
.tpl-sqbtn .tpl-ico { width: 18px; height: 18px; }
.tpl-sqbtn:hover { border-color: var(--tpl-wine); background: var(--tpl-wine); color: #fff; }
.tpl-sqbtn.is-end, .tpl-sqbtn.is-end:hover { border-color: var(--tpl-line); background: #fff; color: #bdb5b3; cursor: default; }

/* ---------- 로고 : 버건디 사각 심볼 + 국문 워드마크 + 영문 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--tpl-ink); }
.tpl-logo__mark { width: 28px; height: 28px; flex: none; }
.tpl-logo__ko { font-size: 23px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tpl-logo__en { padding-left: 10px; border-left: 1px solid #cfc8c6; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1; color: var(--tpl-mute); }

/* ---------- 헤더 : 처음부터 흰 바탕에 고정. 스크롤하면 아래 선이 그림자로 바뀝니다 ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; background: #fff; color: var(--tpl-ink); box-shadow: inset 0 -1px 0 var(--tpl-line); transition: box-shadow .3s; }
.tpl-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--tpl-line), 0 6px 18px rgba(30, 20, 22, .06); }
.tpl-header__in { position: relative; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
/* 1차 메뉴 칸은 양옆 같은 여백(간격의 절반)을 가지므로 글자 사이 간격이 모두 같습니다 */
.tpl-gnb__item { position: relative; height: 100%; padding: 0 calc(var(--tpl-gnb-gap) / 2); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 18px; font-weight: 700; white-space: nowrap; transition: color .25s; }
/* hover 표시는 글자 폭의 버건디 선 하나뿐입니다. 서브페이지의 현재 메뉴 선은 다른 1차에 올리면 거둡니다 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover > .tpl-gnb__link::after, .tpl-gnb__item:focus-within > .tpl-gnb__link::after, .tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) > .tpl-gnb__link[aria-current]::after, .tpl-gnb__list:focus-within .tpl-gnb__item:not(:focus-within) > .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-gnb__item:hover > .tpl-gnb__link, .tpl-gnb__link[aria-current] { color: var(--tpl-wine); }
.tpl-gnb__link:focus-visible { outline-offset: -10px; }

/* 1차별 드롭다운 : 올린 1차의 2차만 그 아래 흰 목록으로 나옵니다.
   흰 배경과 글자가 한 요소에 있어 clip-path 하나로 위에서 아래로 함께 드러나고 함께 거둬지므로, 배경 밖에 글자가 보이는 프레임이 없습니다.
   목록 높이 = 2차 항목 + 위아래 여백 24px 씩, 폭 = 1차 칸 폭 이상(가장 긴 2차가 한 줄). */
.tpl-gnb__sub { position: absolute; left: 50%; top: 100%; min-width: 100%; padding: 24px 0; background: #fff; border: 1px solid var(--tpl-line); border-top: 0; box-shadow: 0 10px 24px rgba(30, 20, 22, .07); text-align: center; transform: translateX(-50%); visibility: hidden; clip-path: inset(0 -30px 100% -30px); transition: clip-path .4s var(--tpl-ease), visibility 0s linear .4s; }
.tpl-gnb__sub a { display: block; padding: 6px 30px; 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: 5px; }
.tpl-gnb__sub a:focus-visible { outline-offset: -4px; }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-ink); font-weight: 700; }
.tpl-gnb__item:hover > .tpl-gnb__sub, .tpl-gnb__item:focus-within > .tpl-gnb__sub { visibility: visible; clip-path: inset(0 -30px -40px -30px); transition-delay: 0s; }
/* Esc 로 닫은 칸은 마우스가 떠날 때까지 다시 열지 않습니다 */
.tpl-gnb__item.is-shut > .tpl-gnb__sub { visibility: hidden; clip-path: inset(0 -30px 100% -30px); transition: clip-path .4s var(--tpl-ease), visibility 0s linear .4s; }

.tpl-util { display: flex; flex: 1 1 0; justify-content: flex-end; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; 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: 40px; padding: 0 18px; background: var(--tpl-wine); color: #fff; font-weight: 700; transition: background-color .25s; }
.tpl-util__join:hover { background: var(--tpl-wine-dk); }
.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; left: 17px; } .tpl-burger i:nth-child(3) { top: 27px; }

/* ---------- 드로어 (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(28, 20, 22, .55); opacity: 0; transition: opacity .45s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 100%); background: #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: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 20px 6px; }
.tpl-drawer__member a { display: grid; place-items: center; height: 46px; border: 1px solid #cfc8c6; font-size: 15.5px; font-weight: 700; }
.tpl-drawer__member a.is-join { border-color: var(--tpl-wine); 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 7px 2px; font-size: 17px; color: var(--tpl-mute); }
.tpl-drawer__sub li:last-child a { margin-bottom: 16px; }
.tpl-drawer__sub a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-drawer__sub a[aria-current] { color: var(--tpl-wine); font-weight: 700; }
.tpl-drawer__foot { margin-top: auto; padding: 24px 20px; }
.tpl-drawer__tel { display: grid; padding: 18px 20px; border-left: 3px solid var(--tpl-wine); background: var(--tpl-paper); line-height: 1.3; }
.tpl-drawer__tel small { font-size: 14px; color: var(--tpl-mute); }
.tpl-drawer__tel strong { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- 푸터 : 짙은 먹색. 위 로고 · 정책 링크, 아래 회사 정보 · 저작권 · 관계사 ---------- */
.tpl-footer { background: var(--tpl-foot); color: #aaa0a2; font-size: 15px; line-height: 1.75; }
.tpl-footer__in { padding: 64px 0 56px; }
.tpl-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
a.tpl-logo--foot { color: #fff; }
.tpl-logo--foot .tpl-logo__en { color: #aaa0a2; border-color: rgba(255, 255, 255, .25); }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15.5px; color: #ddd5d6; }
.tpl-footer__policy b { font-weight: 700; color: #fff; }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 32px; }
.tpl-footer address { font-size: 14.5px; }
.tpl-footer address span { display: inline-block; margin-right: 18px; }
.tpl-footer__copy { margin-top: 10px; font-size: 13.5px; letter-spacing: .04em; }
.tpl-family { position: relative; flex: none; }
.tpl-family__btn { display: flex; align-items: center; justify-content: space-between; width: 210px; height: 46px; padding: 0 14px 0 16px; border: 1px solid rgba(255, 255, 255, .3); font-size: 14.5px; color: #fff; }
.tpl-family__btn .tpl-ico { width: 15px; height: 15px; transition: transform .35s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-family__list { position: absolute; left: 0; bottom: calc(100% + 6px); width: 210px; padding: 8px 0; border: 1px solid rgba(255, 255, 255, .2); background: #151112; }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 14.5px; color: #d3cacb; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #2a2224; }

/* ---------- TOP 버튼 : 오른쪽 아래 버건디 사각 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; 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: 1.9; }
.tpl-totop:hover { background: var(--tpl-ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1440px) {
  :root { --tpl-gnb-gap: 56px; }
}
@media (max-width: 1280px) {
  :root { --tpl-gnb-gap: 44px; }
  .tpl-util { gap: 18px; }
}
@media (max-width: 1160px) {
  :root { --tpl-gnb-gap: 34px; --tpl-side: 32px; }
  .tpl-logo__en { display: none; }
  .tpl-gnb__link { font-size: 17px; }
  .tpl-util { gap: 16px; }
  .tpl-util__join { padding: 0 14px; }
}
@media (max-width: 1100px) {
  :root { --tpl-gnb-gap: 28px; }
}
@media (max-width: 1024px) {
  :root { --tpl-hd-h: 68px; }
  .tpl-gnb, .tpl-util { display: none; }
  .tpl-burger { display: block; }
  .tpl-logo__en { display: inline; }
  .tpl-sec { padding: 110px 0; }
  .tpl-sec--top0 { padding-top: 0; }
  .tpl-head__ko { font-size: 38px; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 60px; }
  body { font-size: 17px; }
  .tpl-sec { padding: 88px 0; }
  .tpl-sec--top0 { padding-top: 0; }
  .tpl-head__ko { margin-top: 12px; font-size: 30px; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-head--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tpl-btn { height: 50px; padding: 0 18px 0 20px; font-size: 15.5px; gap: 16px; }
  .tpl-logo__mark { width: 24px; height: 24px; }
  .tpl-logo__ko { font-size: 20px; }
  .tpl-logo__en { font-size: 11px; padding-left: 8px; letter-spacing: .08em; }
  .tpl-sqbtn { width: 42px; height: 42px; }
  .tpl-footer__in { padding: 52px 0 44px; }
  .tpl-footer__top { flex-direction: column; align-items: flex-start; }
  .tpl-footer__policy { gap: 4px 20px; font-size: 15px; }
  .tpl-totop { bottom: 20px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .tpl-aos-on [data-aos]:not(.is-aos-in) { opacity: 1; transform: none; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 섹션 순서대로 적었습니다. 섹션을 뺄 때는 index.html 의 해당 주석 블록과 여기 같은 이름의 블록을 함께 지우시면 됩니다. */

/* ===== 메인 비주얼 : 높이 80vh(화면 높이의 80%), 슬라이드는 서서히 겹쳐 바뀝니다 ===== */
.tpl-visual { --tpl-cap-w: min(1440px, calc(100% - 240px)); position: relative; height: 80vh; overflow: hidden; background: var(--tpl-foot); color: #fff; }
.tpl-visual__items, .tpl-visual__item { position: absolute; inset: 0; }
/* 나가는 장은 들어오는 장이 다 덮을 때까지 그대로 보이다가 사라집니다(두 장이 함께 옅어져 어두워지는 순간이 없습니다). */
.tpl-visual__item { opacity: 0; visibility: hidden; transition: opacity 0s linear var(--tpl-vspeed, 1200ms), visibility 0s linear var(--tpl-vspeed, 1200ms); }
.tpl-visual__item.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity var(--tpl-vspeed, 1200ms) ease; }
.tpl-visual__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 유튜브 배경 영상 : 화면을 빈틈없이 덮도록 16:9 비율로 키우고 가운데에 둡니다. 마우스 · 키보드 조작은 받지 않습니다 */
/* reset.css 의 iframe { max-width: 100% } 가 가로를 칸 폭으로 묶어 영상이 16:9 로 덮지 못하고 위아래 검은 띠가 생기던 것을 풉니다. */
.tpl-visual__video { position: absolute; max-width: none; left: 50%; top: 50%; width: max(100%, calc(80vh * 16 / 9)); height: max(100%, calc(100vw * 9 / 16)); border: 0; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity .5s; }
/* 실제로 재생이 시작되어야(.is-ready) 대체 사진 위로 드러납니다. 그 전에는 대체 사진이 덮고 있어 검은 화면 · 유튜브 표시가 보이지 않습니다. */
.tpl-visual__video.is-ready { opacity: 1; }
/* 글자를 읽기 쉽게 왼쪽을 어둡게 하는 막(검정 단색의 농도만 바뀝니다) */
.tpl-visual__items::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(18, 12, 14, .66) 0%, rgba(18, 12, 14, .34) 55%, rgba(18, 12, 14, .14) 100%); }
.tpl-visual__caps { position: absolute; inset: 0; z-index: 3; display: grid; align-items: center; width: var(--tpl-cap-w); margin: 0 auto; pointer-events: none; }
.tpl-visual__cap { grid-area: 1 / 1; padding-bottom: 40px; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; pointer-events: auto; transition-delay: 0s; }
/* 글자 등장 : 라벨 → 제목 → 설명 → 버튼 순서로 아래에서 올라옵니다 */
.tpl-visual__cap > * { opacity: 0; transform: translateY(32px); transition: opacity .5s ease, transform .5s ease; }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition: opacity .9s var(--tpl-ease), transform 1s var(--tpl-ease); }
.tpl-visual__cap.is-active > :nth-child(1) { transition-delay: .35s; }
.tpl-visual__cap.is-active > :nth-child(2) { transition-delay: .5s; }
.tpl-visual__cap.is-active > :nth-child(3) { transition-delay: .68s; }
.tpl-visual__cap.is-active > :nth-child(4) { transition-delay: .86s; }
.tpl-visual__label { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tpl-visual__label::before { content: ''; width: 28px; height: 2px; background: #fff; }
.tpl-visual__title { margin-top: 22px; font-size: clamp(30px, 3.6vw, 60px); font-weight: 800; line-height: 1.28; letter-spacing: -.045em; }
.tpl-visual__txt { margin-top: 20px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .9); }
.tpl-visual__cap .tpl-btn { margin-top: 40px; }
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 4; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; border: 1px solid rgba(255, 255, 255, .5); color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-visual__arrow--prev { left: 32px; }
.tpl-visual__arrow--next { right: 32px; }
.tpl-visual__arrow .tpl-ico { width: 24px; height: 24px; stroke-width: 1.6; }
.tpl-visual__arrow:hover { border-color: #fff; background: #fff; color: var(--tpl-wine); }
.tpl-visual__ctrl { position: absolute; left: 50%; bottom: 56px; z-index: 4; display: flex; align-items: center; gap: 18px; width: var(--tpl-cap-w); transform: translateX(-50%); }
.tpl-visual__count { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .75); letter-spacing: .04em; }
.tpl-visual__count b { font-weight: 800; color: #fff; }
.tpl-visual__count i { font-style: normal; opacity: .6; }
.tpl-visual__bar { position: relative; width: 180px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.tpl-visual.is-run .tpl-visual__bar i { animation: tpl-vbar var(--tpl-vdelay, 6000ms) linear forwards; }
@keyframes tpl-vbar { to { transform: scaleX(1); } }
.tpl-visual__pause { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; transition: background-color .25s, color .25s; }
.tpl-visual__pause .tpl-ico { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.tpl-visual__pause:hover { background: #fff; color: var(--tpl-wine); }
.tpl-ico--play, .tpl-visual.is-paused .tpl-ico--pause { display: none; }
.tpl-visual.is-paused .tpl-ico--play { display: block; }

/* ===== 바로가기 퀵메뉴 : 비주얼 바로 아래 가로 4칸 ===== */
.tpl-shortcut { border-bottom: 1px solid var(--tpl-line); }
.tpl-shortcut__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl-shortcut__list li + li { border-left: 1px solid var(--tpl-line); }
.tpl-shortcut__link { position: relative; display: grid; gap: 6px; padding: 36px 72px 36px 36px; transition: background-color .3s; }
.tpl-shortcut__en { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-mute); }
.tpl-shortcut__link strong { font-size: 20px; font-weight: 800; letter-spacing: -.035em; color: var(--tpl-ink); transition: color .25s; }
.tpl-shortcut__link .tpl-ico { position: absolute; right: 32px; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: var(--tpl-wine); transition: transform .35s var(--tpl-ease); }
.tpl-shortcut__link:hover { background: var(--tpl-paper); }
.tpl-shortcut__link:hover strong { color: var(--tpl-wine); }
.tpl-shortcut__link:hover .tpl-ico { transform: translate(3px, -3px); }
.tpl-shortcut__link:focus-visible { outline-offset: -4px; }

/* ===== 회사소개 요약 : 왼쪽 글, 오른쪽 사진 두 장 엇갈림 ===== */
.tpl-about__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; }
.tpl-about__lead { margin-top: 30px; font-size: 21px; font-weight: 700; line-height: 1.6; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-about__body { margin: 18px 0 40px; color: var(--tpl-text); }
.tpl-about__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tpl-about__pic { overflow: hidden; }
.tpl-about__pic img { width: 100%; height: 100%; object-fit: cover; }
.tpl-about__pic--a { aspect-ratio: 4 / 5; }
.tpl-about__pic--b { aspect-ratio: 4 / 5; margin-top: 140px; }

/* ===== 사업분야 : 펼침 패널(누른 패널이 넓어지고 설명이 나타남) ===== */
.tpl-biz .tpl-head { margin-bottom: 48px; }
.tpl-biz__panels { display: flex; gap: 10px; height: 580px; }
.tpl-biz__panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; color: #fff; background: var(--tpl-foot); transition: flex-grow .7s var(--tpl-ease); }
.tpl-biz__panel.is-active { flex-grow: 4.2; }
.tpl-biz__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-biz__panel::after { content: ''; position: absolute; inset: 0; background: rgba(18, 12, 14, .52); transition: background-color .6s; }
.tpl-biz__panel.is-active::after { background: linear-gradient(0deg, rgba(18, 12, 14, .78) 0%, rgba(18, 12, 14, .2) 70%); }
.tpl-biz__panel:not(.is-active):hover img { transform: scale(1.05); }
.tpl-biz__tab { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 30px 26px; text-align: left; color: #fff; }
.tpl-biz__tab span { font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.tpl-biz__tab em { font-style: normal; font-size: 19px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.tpl-biz__tab:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.tpl-biz__panel.is-active .tpl-biz__tab { inset: 0 auto auto 0; padding: 34px 40px; pointer-events: none; }
.tpl-biz__panel.is-active .tpl-biz__tab em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tpl-biz__body { position: absolute; left: 0; bottom: 0; z-index: 2; width: min(560px, 100%); padding: 0 40px 44px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.tpl-biz__panel.is-active .tpl-biz__body { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--tpl-ease) .35s, transform .8s var(--tpl-ease) .35s; }
.tpl-biz__body h3 { font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -.04em; }
.tpl-biz__body p { margin: 14px 0 26px; font-size: 17px; color: rgba(255, 255, 255, .88); }

/* ===== 숫자 실적 : 버건디 단색 면, 왼쪽 글 · 오른쪽 숫자 2 × 2 ===== */
.tpl-num { background: var(--tpl-wine); color: #fff; }
.tpl-num__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-num .tpl-head__ko { color: #fff; }
.tpl-num__desc { margin-top: 16px; font-size: 18px; color: var(--tpl-wine-lt); }
.tpl-num__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tpl-num__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.tpl-num__list > div { padding: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, .3); }
.tpl-num__list > div:nth-child(n+3) { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.tpl-num__list dt { font-size: 17px; font-weight: 500; color: var(--tpl-wine-lt); }
.tpl-num__list dd { margin-top: 8px; font-size: 22px; font-weight: 700; line-height: 1; }
.tpl-num__list b { margin-right: 6px; font-size: 64px; font-weight: 800; letter-spacing: -.04em; }

/* ===== 갤러리 · 주요 프로젝트 : 가로 스크롤 스냅 캐러셀 + 진행선 ===== */
.tpl-works .tpl-head { margin-bottom: 56px; }
.tpl-works__viewport { --tpl-edge: max(var(--tpl-side), calc((100% - 1440px) / 2)); }
.tpl-works__track { display: flex; gap: 28px; padding: 0 var(--tpl-edge); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--tpl-edge); scrollbar-width: none; scroll-behavior: smooth; }
.tpl-works__track::-webkit-scrollbar { display: none; }
.tpl-card { flex: 0 0 clamp(280px, 29vw, 420px); scroll-snap-align: start; }
.tpl-card a { display: block; }
.tpl-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-paper); }
.tpl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--tpl-ease); }
.tpl-card a:hover .tpl-card__img img { transform: scale(1.05); }
.tpl-card__tag { display: inline-block; margin-top: 22px; padding: 3px 10px; background: var(--tpl-paper); font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--tpl-wine); }
.tpl-card__tit { display: block; margin-top: 12px; font-size: 20px; font-weight: 800; line-height: 1.45; letter-spacing: -.035em; color: var(--tpl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.tpl-card a:hover .tpl-card__tit { color: var(--tpl-wine); }
/* 내용은 두 줄까지 보이고 넘치면 말줄임(…)으로 끝납니다 */
.tpl-card__txt { display: -webkit-box; margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-mute); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.tpl-card__date { display: block; margin-top: 14px; font-size: 14px; color: var(--tpl-mute); letter-spacing: .02em; }
.tpl-works__ctrl { display: flex; align-items: center; gap: 8px; margin-top: 48px; }
.tpl-works__bar { position: relative; flex: 1; height: 2px; margin-right: 24px; background: var(--tpl-line); overflow: hidden; }
.tpl-works__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; background: var(--tpl-ink); transition: width .35s var(--tpl-ease); }

/* ===== 일하는 절차 : 왼쪽 제목, 오른쪽 4단계 2 × 2 ===== */
.tpl-process__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; }
.tpl-process__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.tpl-process__list li { padding: 32px 0 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-process__no { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-process__list strong { display: block; margin-top: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-process__list p { margin-top: 10px; color: var(--tpl-text); }
.tpl-process__list em { display: inline-block; margin-top: 18px; padding-top: 10px; border-top: 2px solid var(--tpl-wine); font-style: normal; font-size: 15px; font-weight: 700; color: var(--tpl-ink); }

/* ===== 게시판 최신글 : 옅은 회색 면, 탭 + 흰 줄 목록 ===== */
.tpl-board { background: var(--tpl-paper); }
.tpl-board__in { max-width: 1120px; }
.tpl-board__tabs { display: flex; justify-content: center; gap: 36px; margin: 44px 0 36px; }
.tpl-board__tabs button { position: relative; padding: 6px 2px; font-size: 18px; font-weight: 700; color: var(--tpl-mute); }
.tpl-board__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-board__tabs button[aria-selected="true"] { color: var(--tpl-ink); }
.tpl-board__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tpl-board__tabs button:hover { color: var(--tpl-ink); }
.tpl-board__list { display: grid; gap: 10px; }
.tpl-board__list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 28px; padding: 24px 28px; border: 1px solid var(--tpl-line); background: #fff; transition: border-color .25s; }
.tpl-board__tag { padding: 2px 10px; border: 1px solid var(--tpl-wine); font-size: 13.5px; font-weight: 700; color: var(--tpl-wine); }
.tpl-board__list strong { font-size: 18px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.tpl-board__list time { font-size: 15px; color: var(--tpl-mute); }
.tpl-board__more { padding: 6px 14px; background: var(--tpl-paper); font-size: 14.5px; font-weight: 700; color: var(--tpl-ink); transition: background-color .25s, color .25s; }
.tpl-board__list a:hover { border-color: var(--tpl-wine); }
.tpl-board__list a:hover strong { color: var(--tpl-wine); }
.tpl-board__list a:hover .tpl-board__more { background: var(--tpl-wine); color: #fff; }
.tpl-board__all { margin-top: 48px; text-align: center; }

/* ===== 인증 · 협력사 : 왼쪽 제목, 오른쪽 인증 표 + 협력사 이름 6칸 ===== */
.tpl-partner__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; }
.tpl-partner__cert { border-top: 2px solid var(--tpl-ink); font-size: 17px; }
.tpl-partner__cert th { padding: 14px 8px; border-bottom: 1px solid var(--tpl-line); font-size: 15px; font-weight: 700; color: var(--tpl-mute); text-align: left; }
.tpl-partner__cert td { padding: 18px 8px; border-bottom: 1px solid var(--tpl-line); color: var(--tpl-text); }
.tpl-partner__cert td:first-child { width: 90px; font-weight: 700; color: var(--tpl-wine); }
.tpl-partner__cert td:last-child, .tpl-partner__cert th:last-child { width: 110px; text-align: right; }
.tpl-partner__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--tpl-line); border-left: 1px solid var(--tpl-line); }
.tpl-partner__logos li { display: grid; place-items: center; height: 96px; border-right: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); font-size: 20px; font-weight: 800; letter-spacing: .04em; color: #8a8183; }

/* ===== 문의 띠 : 사진 + 어두운 막(고정 사진, 스크롤에 따라 움직이지 않습니다) ===== */
.tpl-cta { position: relative; padding: 150px 0; color: #fff; overflow: hidden; }
.tpl-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(22, 15, 17, .68); }
.tpl-cta__in { position: relative; z-index: 2; }
.tpl-cta__title { margin-top: 18px; font-size: 46px; font-weight: 800; line-height: 1.35; letter-spacing: -.045em; }
.tpl-cta__txt { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .88); }
.tpl-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }

/* ===== 연락처 · 지도 ===== */
.tpl-contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: stretch; }
.tpl-contact__dl { margin: 36px 0 40px; border-top: 2px solid var(--tpl-ink); }
.tpl-contact__dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-contact__dl dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-contact__dl a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { min-height: 480px; background: var(--tpl-paper); }
.tpl-contact__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-about__in, .tpl-num__in, .tpl-process__in, .tpl-partner__in, .tpl-contact__in { gap: 56px; }
  .tpl-num__list b { font-size: 56px; }
}
@media (max-width: 1024px) {
  .tpl-visual { --tpl-cap-w: calc(100% - 200px); }
  .tpl-visual__arrow--prev { left: 24px; }
  .tpl-visual__arrow--next { right: 24px; }
  .tpl-shortcut__link { padding: 30px 56px 30px 24px; }
  .tpl-shortcut__link .tpl-ico { right: 20px; }
  .tpl-about__in, .tpl-num__in, .tpl-process__in, .tpl-partner__in, .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
  .tpl-about__pics { max-width: 760px; }
  .tpl-about__pic--b { margin-top: 90px; }
  /* 사업분야 : 좁은 화면에서는 네 패널을 세로로 쌓고 설명을 모두 보입니다 */
  .tpl-biz__panels { flex-direction: column; height: auto; }
  .tpl-biz__panel, .tpl-biz__panel.is-active { flex: none; min-height: 380px; }
  .tpl-biz__panel::after, .tpl-biz__panel.is-active::after { background: linear-gradient(0deg, rgba(18, 12, 14, .86) 0%, rgba(18, 12, 14, .45) 100%); }
  .tpl-biz__tab, .tpl-biz__panel.is-active .tpl-biz__tab { display: none; }
  .tpl-biz__body, .tpl-biz__panel.is-active .tpl-biz__body { width: 100%; max-width: 640px; padding: 0 32px 36px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .tpl-biz__body h3 { font-size: 28px; }
  .tpl-num__list b { font-size: 54px; }
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 400px; }
}
@media (max-width: 768px) {
  .tpl-visual { --tpl-cap-w: calc(100% - 112px); }
  .tpl-visual__arrow { width: 40px; height: 40px; margin-top: -20px; }
  .tpl-visual__arrow--prev { left: 8px; }
  .tpl-visual__arrow--next { right: 8px; }
  .tpl-visual__arrow .tpl-ico { width: 20px; height: 20px; }
  .tpl-visual__label { font-size: 13px; gap: 10px; }
  .tpl-visual__label::before { width: 20px; }
  .tpl-visual__title { margin-top: 16px; font-size: 29px; }
  .tpl-visual__txt { margin-top: 14px; font-size: 16.5px; }
  .tpl-visual__cap .tpl-btn { margin-top: 28px; }
  .tpl-visual__ctrl { bottom: 28px; gap: 12px; }
  .tpl-visual__bar { width: 90px; }
  .tpl-shortcut__list { grid-template-columns: 1fr 1fr; }
  .tpl-shortcut__list li:nth-child(3) { border-left: 0; }
  .tpl-shortcut__list li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-shortcut__link { padding: 22px 40px 22px 4px; gap: 2px; }
  .tpl-shortcut__list li:nth-child(even) .tpl-shortcut__link { padding-left: 18px; }
  .tpl-shortcut__link strong { font-size: 16.5px; }
  .tpl-shortcut__en { font-size: 11.5px; }
  .tpl-shortcut__link .tpl-ico { right: 8px; width: 20px; height: 20px; margin-top: -10px; }
  .tpl-about__lead { margin-top: 22px; font-size: 19px; }
  .tpl-about__pics { gap: 12px; }
  .tpl-about__pic--b { margin-top: 56px; }
  .tpl-biz .tpl-head { margin-bottom: 36px; }
  .tpl-biz__panel, .tpl-biz__panel.is-active { min-height: 340px; }
  .tpl-biz__body, .tpl-biz__panel.is-active .tpl-biz__body { padding: 0 22px 28px; }
  .tpl-biz__body h3 { font-size: 24px; }
  .tpl-biz__body p { font-size: 16px; }
  .tpl-num__list { gap: 0 24px; }
  .tpl-num__list > div { padding: 22px 0 26px; }
  .tpl-num__list dt { font-size: 15px; }
  .tpl-num__list dd { font-size: 17px; }
  .tpl-num__list b { font-size: 38px; margin-right: 4px; }
  .tpl-works .tpl-head { margin-bottom: 40px; }
  .tpl-works__track { gap: 18px; }
  .tpl-card { flex-basis: 78vw; }
  .tpl-card__tit { font-size: 18.5px; }
  .tpl-works__ctrl { margin-top: 36px; }
  .tpl-process__list { grid-template-columns: minmax(0, 1fr); }
  .tpl-process__list li { padding: 26px 0 30px; }
  .tpl-process__list strong { font-size: 21px; }
  .tpl-board__tabs { margin: 32px 0 26px; gap: 28px; }
  .tpl-board__list a { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 18px; }
  .tpl-board__list strong { grid-column: 1 / -1; grid-row: 2; font-size: 16.5px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  .tpl-board__list time { justify-self: end; font-size: 14px; }
  .tpl-board__more { display: none; }
  .tpl-board__tag { justify-self: start; }
  .tpl-partner__cert { font-size: 15.5px; }
  .tpl-partner__cert td:first-child { width: 56px; }
  .tpl-partner__cert td:last-child, .tpl-partner__cert th:last-child { width: 72px; }
  .tpl-partner__logos { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .tpl-partner__logos li { height: 76px; font-size: 17px; }
  .tpl-cta { padding: 96px 0; }
  .tpl-cta__title { font-size: 28px; }
  .tpl-cta__txt { font-size: 16.5px; }
  .tpl-contact__dl > div { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 320px; }
}

/* ===== 연락처 카카오맵 (2026-11-22 추가) : 구글 지도를 키 없는 카카오맵 iframe 으로 바꾸었습니다. 카카오 화면 왼쪽 검색 창은 상자 밖으로 밀어 가립니다. ===== */
.tpl-contact__map { position: relative; overflow: hidden; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; min-height: 0; }
@media (max-width: 768px) { .tpl-contact__map { min-height: 460px; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼, 위치 표시 + 2차 메뉴 탭, 본문 블록(인사말 · 숫자 · 회사 개요)을 담습니다. 색 · 글꼴은 common.css 의 토큰을 그대로 씁니다. */

/* ===== 서브 비주얼 : 정지 사진 + 어두운 막, 높이 PC 440px ===== */
.tpl-subvis { position: relative; display: flex; align-items: center; height: 440px; overflow: hidden; background: var(--tpl-foot); color: #fff; text-align: center; }
.tpl-subvis__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(22, 15, 17, .6); }
.tpl-subvis__in { position: relative; z-index: 2; }
.tpl-subvis__en { font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tpl-wine-lt); }
.tpl-subvis__title { margin-top: 14px; font-size: 52px; font-weight: 800; line-height: 1.25; letter-spacing: -.045em; }
.tpl-subvis__title::after { content: ''; display: block; width: 32px; height: 3px; margin: 22px auto 0; background: #fff; }
.tpl-subvis__txt { margin-top: 20px; font-size: 18px; color: rgba(255, 255, 255, .9); }

/* ===== 위치 표시 + 2차 메뉴 탭 : PC 한 줄, 좁은 화면에서는 탭을 가로로 밀어 봅니다 ===== */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; height: 72px; }
.tpl-snb__path { display: flex; align-items: center; flex: none; font-size: 15px; color: var(--tpl-mute); }
.tpl-snb__path li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 12px 2px 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.tpl-snb__path a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-snb__path [aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs { min-width: 0; height: 100%; }
.tpl-snb__tabs ul { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
.tpl-snb__tabs li { flex: none; height: 100%; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--tpl-wine); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a[aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
.tpl-snb__tabs a:focus-visible { outline-offset: -6px; }
/* 밑줄은 늘 하나 : 다른 탭에 올리면 현재 탭 밑줄을 거둡니다 */
@media (hover: hover) {
  .tpl-snb__tabs a:hover { color: var(--tpl-ink); }
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}

/* ===== 본문 블록 공통 ===== */
.tpl-block { padding: 130px 0; }
.tpl-block--paper { background: var(--tpl-paper); }
.tpl-block__title { font-size: 40px; font-weight: 800; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }

/* ===== 인사말 : 왼쪽 대표 사진(따라 내려옴), 오른쪽 글 ===== */
.tpl-greet__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.tpl-greet__photo { position: sticky; top: calc(var(--tpl-hd-h) + 40px); }
.tpl-greet__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: var(--tpl-paper); }
.tpl-greet__photo figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tpl-ink); font-size: 15px; color: var(--tpl-mute); }
.tpl-greet__photo figcaption strong { font-size: 19px; font-weight: 800; color: var(--tpl-ink); }
.tpl-greet__title { margin-top: 16px; font-size: clamp(32px, 2.9vw, 42px); font-weight: 800; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-greet__lead { margin: 36px 0 24px; padding-left: 20px; border-left: 3px solid var(--tpl-wine); font-size: 21px; font-weight: 700; line-height: 1.6; color: var(--tpl-ink); }
.tpl-greet__text > p:not([class]) { margin-top: 18px; font-size: 17.5px; line-height: 1.9; color: var(--tpl-text); }
.tpl-greet__sign { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); text-align: right; }
.tpl-greet__sign strong { margin-left: 10px; font-size: 24px; font-weight: 800; letter-spacing: .08em; color: var(--tpl-ink); }

/* ===== 숫자로 보는 하윤앤코 : 4칸 ===== */
.tpl-facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--tpl-ink); }
.tpl-facts__list > div { padding: 32px 28px 36px; border-right: 1px solid var(--tpl-line); }
.tpl-facts__list > div:first-child { padding-left: 0; }
.tpl-facts__list > div:last-child { border-right: 0; }
.tpl-facts__list dt { font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-facts__list dd { margin-top: 10px; font-size: 20px; font-weight: 700; line-height: 1; color: var(--tpl-ink); }
.tpl-facts__list b { margin-right: 6px; font-size: 52px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-wine); }

/* ===== 회사 개요 : 왼쪽 제목, 오른쪽 표 ===== */
.tpl-overview__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; align-items: start; }
.tpl-overview__table { border-top: 2px solid var(--tpl-ink); }
.tpl-overview__table th, .tpl-overview__table td { padding: 20px 8px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-overview__table th { width: 160px; font-weight: 700; color: var(--tpl-ink); }
.tpl-overview__table td { color: var(--tpl-text); }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-greet__in { gap: 64px; }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 380px; }
  .tpl-subvis__title { font-size: 44px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .tpl-snb__path { height: 52px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-snb__tabs { height: 60px; margin: 0 calc(var(--tpl-side) * -1); }
  .tpl-snb__tabs ul { padding: 0 calc(var(--tpl-side) - 18px); }
  .tpl-snb__tabs a { padding: 0 18px; font-size: 16px; }
  .tpl-snb__tabs a::after { left: 18px; right: 18px; }
  .tpl-block { padding: 100px 0; }
  .tpl-greet__in, .tpl-overview__in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tpl-greet__photo { position: static; max-width: 440px; }
  .tpl-facts__list { grid-template-columns: 1fr 1fr; }
  .tpl-facts__list > div { padding: 28px 24px 30px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-facts__list > div:nth-child(odd) { padding-left: 0; }
  .tpl-facts__list > div:nth-child(even) { border-right: 0; }
  .tpl-block__title { font-size: 36px; }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 320px; }
  .tpl-subvis__en { font-size: 13px; }
  .tpl-subvis__title { font-size: 34px; }
  .tpl-subvis__txt { font-size: 16px; }
  .tpl-snb__path { font-size: 14px; }
  .tpl-block { padding: 76px 0; }
  .tpl-block__title { font-size: 28px; }
  .tpl-greet__title { font-size: 28px; }
  .tpl-greet__lead { margin: 28px 0 20px; font-size: 18.5px; }
  .tpl-greet__text > p:not([class]) { font-size: 17px; }
  .tpl-greet__sign strong { font-size: 21px; }
  .tpl-facts__list { margin-top: 32px; }
  .tpl-facts__list > div { padding: 22px 14px 24px; }
  .tpl-facts__list b { font-size: 36px; }
  .tpl-facts__list dd { font-size: 16px; }
  .tpl-overview__table th, .tpl-overview__table td { padding: 15px 4px; font-size: 16px; }
  .tpl-overview__table th { width: 92px; }
}


/* =====================================================================
   서브페이지 추가 (2026-11-22) — 아래부터는 새로 만든 서브 화면 30장이 쓰는 부품입니다.
   위의 기존 줄은 고치지 않았습니다. 색 · 글꼴은 common.css 의 토큰만 씁니다.
   ===================================================================== */

/* ----- 블록 머리 · 본문 글 ----- */
.tpl-bhead { margin-bottom: 52px; }
.tpl-bhead .tpl-block__title { margin-top: 14px; }
.tpl-bhead__txt { margin-top: 14px; font-size: 18px; color: var(--tpl-mute); }
.tpl-bhead--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.tpl-block--flush { padding-top: 0; }
.tpl-bhead--gap { margin-top: 72px; }
.tpl-lead { font-size: 21px; font-weight: 700; line-height: 1.6; color: var(--tpl-ink); }
.tpl-prose > p { margin-top: 18px; line-height: 1.9; }
.tpl-prose > p:first-child { margin-top: 0; }

/* ----- 표 : 굵은 먹색 윗선 + 옅은 줄 (좁은 화면에서는 표만 가로로 밉니다) ----- */
.tpl-tscroll { overflow-x: auto; }
.tpl-dtable { border-top: 2px solid var(--tpl-ink); font-size: 16.5px; }
.tpl-dtable th, .tpl-dtable td { padding: 18px 16px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-dtable thead th { background: var(--tpl-paper); font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable .is-n { white-space: nowrap; }

/* ----- 꼬리표 ----- */
.tpl-tag { display: inline-block; flex: none; padding: 2px 9px; border: 1px solid var(--tpl-wine); font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--tpl-wine); white-space: nowrap; }
.tpl-tag--fill { background: var(--tpl-wine); color: #fff; }
.tpl-tag--mute { border-color: #cfc8c6; color: var(--tpl-mute); }

/* ----- 연혁 : 왼쪽 시기(따라 내려옴), 오른쪽 해마다 한 일 ----- */
.tpl-hist__grp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; padding: 56px 0 64px; border-top: 2px solid var(--tpl-ink); }
.tpl-hist__era { position: sticky; top: calc(var(--tpl-hd-h) + 40px); align-self: start; }
.tpl-hist__era b { display: block; font-size: 48px; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; color: var(--tpl-wine); }
.tpl-hist__era strong { display: block; margin-top: 14px; font-size: 21px; font-weight: 800; color: var(--tpl-ink); }
.tpl-hist__era p { margin-top: 8px; font-size: 16px; color: var(--tpl-mute); }
.tpl-hist__list > li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__list > li:first-child { padding-top: 0; }
.tpl-hist__list time { font-size: 21px; font-weight: 800; line-height: 1.5; color: var(--tpl-ink); }
.tpl-hist__list ul li { position: relative; padding-left: 16px; line-height: 1.8; }
.tpl-hist__list ul li + li { margin-top: 6px; }
.tpl-hist__list ul li::before { content: ''; position: absolute; left: 0; top: .9em; width: 6px; height: 2px; background: var(--tpl-wine); }

/* ----- 비전 : 버건디 단색 문장 면 · 핵심 가치 3칸 · 경영 원칙 ----- */
.tpl-mission { background: var(--tpl-wine); color: #fff; }
.tpl-mission__q { margin-top: 18px; font-size: 44px; font-weight: 800; line-height: 1.35; letter-spacing: -.045em; }
.tpl-mission__txt { max-width: 760px; margin-top: 24px; font-size: 18px; line-height: 1.8; color: var(--tpl-wine-lt); }
.tpl-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.tpl-values li { padding-top: 26px; border-top: 2px solid var(--tpl-ink); }
.tpl-values b { font-size: 15px; font-weight: 800; letter-spacing: .12em; color: var(--tpl-wine); }
.tpl-values strong { display: block; margin-top: 18px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-values span { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-mute); }
.tpl-values p { margin-top: 16px; line-height: 1.8; }
.tpl-rules > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-rules > div:first-child { border-top: 2px solid var(--tpl-ink); }
.tpl-rules dt { font-size: 21px; font-weight: 800; color: var(--tpl-ink); }
.tpl-rules dt small { display: block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-rules dd { line-height: 1.85; }

/* ----- 조직도 ----- */
.tpl-org { text-align: center; }
.tpl-org__box { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 56px; padding: 10px 24px; border: 1px solid var(--tpl-ink); background: #fff; font-size: 17px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__box--top { min-width: 240px; min-height: 64px; border-color: var(--tpl-wine); background: var(--tpl-wine); font-size: 19px; color: #fff; }
.tpl-org__line { width: 1px; height: 36px; margin: 0 auto; background: var(--tpl-ink); }
.tpl-org__staff { display: flex; justify-content: center; gap: 120px; }
.tpl-org__divs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 36px; }
.tpl-org__divs::before { content: ''; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 1px; background: var(--tpl-ink); }
.tpl-org__div { position: relative; }
.tpl-org__div::before { content: ''; position: absolute; top: -36px; left: 50%; width: 1px; height: 36px; background: var(--tpl-ink); }
.tpl-org__div .tpl-org__box { width: 100%; min-width: 0; background: var(--tpl-ink); color: #fff; }
.tpl-org__div ul { margin-top: 12px; }
.tpl-org__div li { padding: 12px 8px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-org__div li:first-child { border-top: 1px solid var(--tpl-line); }

/* ----- 오시는 길 : 카카오맵 + 정보 · 교통편 ----- */
.tpl-loc { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.tpl-kmap { position: relative; height: 560px; overflow: hidden; background: var(--tpl-paper); }
/* 카카오 화면 왼쪽 검색 창은 상자 밖으로 밀어 가립니다 */
.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: 8px; padding: 13px 18px; background: var(--tpl-wine); color: #fff; font-size: 15px; font-weight: 700; }
.tpl-kmap__link .tpl-ico { width: 15px; height: 15px; }
.tpl-kmap__link:hover { background: var(--tpl-wine-dk); }
.tpl-loc__dl { border-top: 2px solid var(--tpl-ink); }
.tpl-loc__dl > div { padding: 20px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-loc__dl dt { font-size: 15px; font-weight: 700; color: var(--tpl-mute); }
.tpl-loc__dl dd { margin-top: 6px; font-weight: 500; color: var(--tpl-ink); }
.tpl-loc__dl dd.is-big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.tpl-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.tpl-route li { padding-top: 24px; border-top: 2px solid var(--tpl-ink); }
.tpl-route strong { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--tpl-ink); }
.tpl-route strong::before { content: ''; width: 10px; height: 10px; background: var(--tpl-wine); }
.tpl-route p { margin-top: 12px; line-height: 1.8; }

/* ----- 사업분야 : 개요 · 맡는 일 · 진행 순서 · 관련 프로젝트 · 문의 상자 ----- */
.tpl-bintro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: center; }
.tpl-bintro__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tpl-paper); }
.tpl-bintro .tpl-block__title { margin-top: 14px; font-size: clamp(30px, 2.8vw, 40px); }
.tpl-bintro .tpl-lead { margin: 28px 0 8px; padding-left: 18px; border-left: 3px solid var(--tpl-wine); font-size: 19px; }
.tpl-bintro .tpl-prose { margin-top: 18px; }
.tpl-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 2px solid var(--tpl-ink); }
.tpl-scope li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-scope b { font-size: 15px; font-weight: 800; line-height: 1.9; letter-spacing: .08em; color: var(--tpl-wine); }
.tpl-scope strong { display: block; font-size: 20px; font-weight: 800; color: var(--tpl-ink); }
.tpl-scope p { margin-top: 8px; font-size: 16.5px; line-height: 1.8; }
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl-flow li { position: relative; padding: 30px 32px 0 0; border-top: 1px solid var(--tpl-ink); }
.tpl-flow li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--tpl-wine); }
.tpl-flow span { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-wine); }
.tpl-flow strong { display: block; margin-top: 10px; font-size: 20px; font-weight: 800; color: var(--tpl-ink); }
.tpl-flow p { margin-top: 10px; font-size: 16.5px; line-height: 1.8; }
.tpl-flow em { display: inline-block; margin-top: 14px; font-style: normal; font-size: 14.5px; font-weight: 700; color: var(--tpl-mute); }
.tpl-ask { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 44px 48px; border: 1px solid var(--tpl-ink); border-left: 6px solid var(--tpl-wine); }
.tpl-ask strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-ask p { margin-top: 8px; color: var(--tpl-mute); }
.tpl-ask__btns { display: flex; flex: none; gap: 10px; }

/* ----- 사진 카드 목록 (프로젝트 · 관련 프로젝트 · 갤러리) : 제목 한 줄, 내용 두 줄 말줄임 ----- */
.tpl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.tpl-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.tpl-pcard a { display: block; }
.tpl-pcard__img { display: block; overflow: hidden; background: var(--tpl-paper); }
.tpl-pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-pcard a:hover .tpl-pcard__img img { transform: scale(1.04); }
.tpl-pcard .tpl-tag { margin-top: 20px; }
.tpl-pcard strong { display: block; margin-top: 12px; overflow: hidden; font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-pcard a:hover strong { color: var(--tpl-wine); }
.tpl-pcard p { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 16px; line-height: 1.75; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-pcard time { display: block; margin-top: 12px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-cards--4 .tpl-pcard strong { font-size: 18px; }

/* ----- 목록 위 막대 : 분류 · 글 수 · 검색 ----- */
.tpl-listbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.tpl-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-filter a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #cfc8c6; font-size: 16px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: border-color .25s, color .25s; }
.tpl-filter a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-filter a[aria-current] { border-color: var(--tpl-ink); background: var(--tpl-ink); font-weight: 700; color: #fff; }
.tpl-count { font-size: 16px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-count b { color: var(--tpl-wine); }
.tpl-search { display: flex; }
.tpl-search select, .tpl-search input { height: 48px; border: 1px solid #cfc8c6; background: #fff; font-size: 16px; color: var(--tpl-ink); }
.tpl-search select { width: 110px; padding: 0 10px; border-right: 0; }
.tpl-search input { width: 240px; padding: 0 14px; }
.tpl-search button { height: 48px; padding: 0 22px; background: var(--tpl-ink); font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; }
.tpl-search button:hover { background: var(--tpl-wine); }
.tpl-pager { display: flex; justify-content: center; gap: 4px; margin-top: 64px; }
.tpl-pager a, .tpl-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; border: 1px solid transparent; font-size: 16px; color: var(--tpl-mute); }
.tpl-pager a:hover { color: var(--tpl-wine); }
.tpl-pager [aria-current] { border-color: var(--tpl-ink); font-weight: 800; color: var(--tpl-ink); }
.tpl-pager .tpl-ico { width: 16px; height: 16px; }

/* ----- 게시판 목록 (공지사항 · Q&A) ----- */
.tpl-bbs { table-layout: fixed; border-top: 2px solid var(--tpl-ink); font-size: 16.5px; }
.tpl-bbs th { height: 56px; border-bottom: 1px solid var(--tpl-line); background: var(--tpl-paper); font-weight: 700; color: var(--tpl-ink); }
.tpl-bbs td { padding: 20px 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); white-space: nowrap; }
.tpl-bbs .is-num { width: 96px; }
.tpl-bbs .is-name { width: 120px; }
.tpl-bbs .is-date { width: 130px; }
.tpl-bbs .is-hit { width: 90px; }
.tpl-bbs .is-stat { width: 120px; }
.tpl-bbs td.is-tit { text-align: left; color: var(--tpl-ink); }
.tpl-bbs td.is-tit a { display: flex; align-items: center; gap: 10px; }
.tpl-bbs td.is-tit a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tpl-bbs td.is-tit a:hover > span { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-bbs td.is-tit small { flex: none; font-size: 14px; color: var(--tpl-mute); }
.tpl-bbs tr.is-notice td { background: #fbfaf9; }
.tpl-bbs tr.is-re td.is-tit a { padding-left: 22px; }
.tpl-bbs__foot { display: flex; justify-content: flex-end; margin-top: 24px; }

/* ----- 보도자료 목록 : 왼쪽 사진, 오른쪽 출처 · 제목 · 요약 ----- */
.tpl-press { border-top: 2px solid var(--tpl-ink); }
.tpl-press li { border-bottom: 1px solid var(--tpl-line); }
.tpl-press a { display: grid; grid-template-columns: 260px minmax(0, 1fr) 120px; gap: 40px; align-items: center; padding: 32px 0; }
.tpl-press img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tpl-paper); }
.tpl-press__src { font-size: 15px; font-weight: 700; color: var(--tpl-wine); }
.tpl-press strong { display: block; margin-top: 8px; overflow: hidden; font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-press a:hover strong { color: var(--tpl-wine); }
.tpl-press p { display: -webkit-box; margin-top: 10px; overflow: hidden; font-size: 16px; line-height: 1.75; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-press time { justify-self: end; font-size: 15px; color: var(--tpl-mute); }

/* ----- 글 보기 ----- */
.tpl-view__head { padding: 36px 0 28px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-view__title { margin-top: 14px; font-size: 30px; font-weight: 800; line-height: 1.45; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 16px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-view__meta dt { display: inline; margin-right: 8px; font-weight: 700; color: var(--tpl-ink); }
.tpl-view__meta dd { display: inline; }
.tpl-view__body { padding: 48px 0 56px; line-height: 1.9; }
.tpl-view__body > * + * { margin-top: 18px; }
.tpl-view__body h3 { margin-top: 40px; font-size: 21px; font-weight: 800; color: var(--tpl-ink); }
.tpl-view__body ul li { position: relative; padding-left: 16px; }
.tpl-view__body ul li::before { content: ''; position: absolute; left: 0; top: .9em; width: 6px; height: 2px; background: var(--tpl-wine); }
.tpl-view__body figure { margin-top: 32px; }
.tpl-view__body figure img { width: 100%; max-height: 640px; object-fit: cover; }
.tpl-view__body figcaption { margin-top: 10px; font-size: 15px; color: var(--tpl-mute); }
.tpl-view__file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 18px 22px; background: var(--tpl-paper); font-size: 15.5px; }
.tpl-view__file b { color: var(--tpl-ink); }
.tpl-view__file a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-text); }
.tpl-view__file a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-view__file .tpl-ico { width: 16px; height: 16px; }
.tpl-view__nav { margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-view__nav li { display: grid; grid-template-columns: 100px minmax(0, 1fr) 120px; gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--tpl-line); }
.tpl-view__nav span { font-size: 15px; font-weight: 700; color: var(--tpl-mute); }
.tpl-view__nav a { overflow: hidden; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-view__nav a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-view__nav time { justify-self: end; font-size: 15px; color: var(--tpl-mute); }
.tpl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.tpl-btns--end { justify-content: flex-end; }
.tpl-btns .tpl-btn { min-width: 140px; justify-content: center; }
.tpl-answer { margin-top: 8px; padding: 36px 40px; border-left: 4px solid var(--tpl-wine); background: var(--tpl-paper); }
.tpl-answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tpl-answer__head strong { font-size: 19px; font-weight: 800; color: var(--tpl-ink); }
.tpl-answer__head span { font-size: 15px; color: var(--tpl-mute); }
.tpl-answer p { margin-top: 14px; line-height: 1.9; }

/* ----- 사진 글 보기 (프로젝트 · 갤러리) ----- */
.tpl-wview { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; align-items: start; padding-top: 48px; }
.tpl-wview__main > figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tpl-paper); }
.tpl-wview__main .tpl-prose { margin-top: 40px; }
.tpl-wview__main h3 { margin-top: 40px; font-size: 21px; font-weight: 800; color: var(--tpl-ink); }
.tpl-wview__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tpl-wview__pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tpl-paper); }
.tpl-wview__side { position: sticky; top: calc(var(--tpl-hd-h) + 32px); }
.tpl-wview__side dl { border-top: 2px solid var(--tpl-ink); }
.tpl-wview__side dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-wview__side dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-wview__side .tpl-btn { width: 100%; margin-top: 24px; }

/* ----- 인증 · 특허 ----- */
.tpl-patents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tpl-patents li { background: #fff; padding: 26px 24px 28px; border: 1px solid var(--tpl-line); border-top: 3px solid var(--tpl-ink); }
.tpl-patents small { font-size: 14px; font-weight: 700; color: var(--tpl-wine); }
.tpl-patents strong { display: block; margin-top: 12px; font-size: 18px; font-weight: 800; line-height: 1.5; color: var(--tpl-ink); }
.tpl-patents p { margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }

/* ----- 자주 묻는 질문 (details · summary, 스크립트 없음) ----- */
.tpl-faq { border-top: 2px solid var(--tpl-ink); }
.tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq summary { display: grid; grid-template-columns: 40px 120px minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 24px 8px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); list-style: none; cursor: pointer; }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary:hover > span:not(.tpl-tag) { color: var(--tpl-wine); }
.tpl-faq summary .tpl-tag { justify-self: start; }
.tpl-faq__q, .tpl-faq__a b { font-size: 21px; font-weight: 800; color: var(--tpl-wine); }
.tpl-faq summary .tpl-ico { color: var(--tpl-mute); transition: transform .35s var(--tpl-ease); }
.tpl-faq details[open] summary .tpl-ico { transform: rotate(180deg); }
.tpl-faq__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; margin: 0 8px 24px; padding: 24px 24px 24px 0; background: var(--tpl-paper); }
.tpl-faq__a b { padding-left: 0; text-align: center; color: var(--tpl-ink); }
.tpl-faq__a p { line-height: 1.85; }
.tpl-guide { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding: 32px 40px; background: var(--tpl-paper); }
.tpl-guide strong { font-size: 21px; font-weight: 800; color: var(--tpl-ink); }
.tpl-guide p { margin-top: 4px; color: var(--tpl-mute); }

/* ----- 입력 화면 ----- */
.tpl-form { border-top: 2px solid var(--tpl-ink); }
.tpl-form__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--tpl-line); }
.tpl-form__th { display: flex; align-items: center; gap: 4px; padding: 18px 24px; background: var(--tpl-paper); font-weight: 700; color: var(--tpl-ink); }
.tpl-form__td { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; padding: 14px 24px; }
.tpl-req { color: var(--tpl-wine); }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; max-width: 480px; height: 50px; padding: 0 16px; border: 1px solid #cfc8c6; border-radius: 0; background: #fff; font-size: 16.5px; color: var(--tpl-ink); }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-wine); }
.tpl-input--sm { max-width: 200px; }
.tpl-input--full { max-width: none; }
.tpl-textarea { max-width: none; height: 260px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-form__help { flex-basis: 100%; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.tpl-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--tpl-wine); }
.tpl-file { max-width: 100%; font-size: 15.5px; }
.tpl-captcha { display: inline-flex; align-items: center; justify-content: center; width: 150px; height: 50px; border: 1px dashed #cfc8c6; background: var(--tpl-paper); font-size: 14px; color: var(--tpl-mute); }
.tpl-agree { margin-top: 40px; }
.tpl-agree + .tpl-agree { margin-top: 28px; }
.tpl-agree__tit { font-size: 18px; font-weight: 800; color: var(--tpl-ink); }
.tpl-agree__box { height: 150px; margin: 12px 0 14px; padding: 18px 22px; overflow-y: auto; border: 1px solid var(--tpl-line); font-size: 15.5px; line-height: 1.8; color: var(--tpl-mute); }
.tpl-agree__all { display: flex; padding: 20px 24px; border: 1px solid var(--tpl-ink); font-weight: 700; color: var(--tpl-ink); }
.tpl-formnote { margin-bottom: 18px; font-size: 15.5px; color: var(--tpl-mute); text-align: right; }
.tpl-ctline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 64px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-ctline > div { padding: 26px 28px; border-right: 1px solid var(--tpl-line); }
.tpl-ctline > div:first-child { padding-left: 0; }
.tpl-ctline > div:last-child { border-right: 0; }
.tpl-ctline dt { font-size: 15px; font-weight: 700; color: var(--tpl-mute); }
.tpl-ctline dd { margin-top: 6px; font-size: 22px; font-weight: 800; color: var(--tpl-ink); }

/* ----- 회원 : 로그인 상자(좁게) · 가입 단계 · 가입 완료 · 계정 찾기 ----- */
.tpl-mbox { max-width: 480px; margin: 0 auto; padding: 56px 48px; border: 1px solid var(--tpl-line); border-top: 3px solid var(--tpl-wine); }
.tpl-mbox__title { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-mbox__txt { margin-top: 10px; font-size: 16px; color: var(--tpl-mute); }
.tpl-mbox form { display: grid; gap: 12px; margin-top: 32px; }
.tpl-mbox .tpl-input { max-width: none; }
.tpl-mbox__opt { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 8px; font-size: 15px; }
.tpl-mbox .tpl-btn { width: 100%; justify-content: center; }
.tpl-mbox__links { display: flex; justify-content: center; gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 15px; color: var(--tpl-mute); }
.tpl-mbox__links a:hover { color: var(--tpl-wine); text-decoration: underline; text-underline-offset: 4px; }
.tpl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-bottom: 1px solid var(--tpl-line); }
.tpl-steps li { position: relative; padding-bottom: 18px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); }
.tpl-steps b { display: block; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.tpl-steps li.is-on { font-weight: 800; color: var(--tpl-ink); }
.tpl-steps li.is-on b { color: var(--tpl-wine); }
.tpl-steps li.is-on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--tpl-wine); }
.tpl-done { padding: 72px 24px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done__title { font-size: 34px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done__title::before { content: ''; display: block; width: 32px; height: 3px; margin: 0 auto 28px; background: var(--tpl-wine); }
.tpl-done p { margin-top: 16px; color: var(--tpl-mute); }
.tpl-done dl { display: inline-grid; grid-template-columns: auto auto; gap: 10px 28px; margin-top: 36px; padding: 24px 36px; background: var(--tpl-paper); text-align: left; }
.tpl-done dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-find { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.tpl-find > section { padding: 44px 40px; border: 1px solid var(--tpl-line); border-top: 3px solid var(--tpl-ink); }
.tpl-find h2 { font-size: 24px; font-weight: 800; color: var(--tpl-ink); }
.tpl-find p { margin-top: 8px; font-size: 16px; color: var(--tpl-mute); }
.tpl-find form { display: grid; gap: 12px; margin-top: 28px; }
.tpl-find .tpl-input { max-width: none; }
.tpl-find .tpl-btn { justify-content: center; }

/* ----- 약관 · 정책 ----- */
.tpl-policy { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 64px; align-items: start; }
.tpl-policy__toc { position: sticky; top: calc(var(--tpl-hd-h) + 32px); border-top: 2px solid var(--tpl-ink); }
.tpl-policy__toc a { display: block; padding: 12px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15.5px; color: var(--tpl-mute); }
.tpl-policy__toc a:hover { color: var(--tpl-wine); }
.tpl-policy__date { margin-bottom: 40px; padding: 16px 22px; background: var(--tpl-paper); font-size: 15.5px; color: var(--tpl-mute); }
.tpl-policy__body h2 { margin-top: 48px; font-size: 22px; font-weight: 800; color: var(--tpl-ink); scroll-margin-top: calc(var(--tpl-hd-h) + 24px); }
.tpl-policy__body h2:first-of-type { margin-top: 0; }
.tpl-policy__body p, .tpl-policy__body li { margin-top: 12px; line-height: 1.9; }
.tpl-policy__body ol li { padding-left: 4px; }

/* ----- 새 서브 화면 반응형 ----- */
@media (max-width: 1280px) {
  .tpl-bintro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .tpl-loc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tpl-patents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .tpl-cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .tpl-hist__grp, .tpl-rules > div, .tpl-bintro, .tpl-loc, .tpl-wview, .tpl-policy { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tpl-hist__era, .tpl-wview__side, .tpl-policy__toc { position: static; }
  .tpl-rules > div { gap: 10px; }
  .tpl-mission__q { font-size: 36px; }
  .tpl-values, .tpl-route { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tpl-scope { grid-template-columns: minmax(0, 1fr); }
  .tpl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .tpl-org__staff { gap: 40px; }
  .tpl-org__divs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tpl-org__divs::before, .tpl-org__div::before { display: none; }
  .tpl-org__divs { padding-top: 0; }
  .tpl-listbar { flex-direction: column; align-items: stretch; }
  .tpl-press a { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
  .tpl-press time { grid-column: 2; justify-self: start; margin-top: -16px; }
  .tpl-ask { flex-direction: column; align-items: flex-start; }
  .tpl-find { grid-template-columns: minmax(0, 1fr); }
  .tpl-policy__toc { display: none; }
}
@media (max-width: 768px) {
  .tpl-bhead { margin-bottom: 36px; }
  .tpl-bhead--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tpl-lead { font-size: 18.5px; }
  .tpl-dtable { font-size: 15.5px; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 10px; }
  .tpl-tscroll .tpl-dtable { min-width: 680px; }
  .tpl-hist__grp { padding: 40px 0 44px; }
  .tpl-hist__era b { font-size: 36px; }
  .tpl-hist__list > li { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
  .tpl-hist__list time { font-size: 18px; }
  .tpl-mission__q { font-size: 28px; }
  .tpl-mission__txt { font-size: 16.5px; }
  .tpl-values strong { font-size: 22px; }
  .tpl-org__box { min-width: 0; padding: 10px 16px; font-size: 16px; }
  .tpl-org__staff { gap: 12px; }
  .tpl-org__staff .tpl-org__box { flex: 1; }
  .tpl-org__divs { gap: 16px; }
  .tpl-kmap { height: 460px; }
  .tpl-loc__dl dd.is-big { font-size: 24px; }
  .tpl-flow { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .tpl-flow li { padding-right: 0; }
  .tpl-ask { padding: 32px 24px; }
  .tpl-ask strong { font-size: 22px; }
  .tpl-ask__btns { flex-wrap: wrap; }
  .tpl-cards, .tpl-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .tpl-pcard strong, .tpl-cards--4 .tpl-pcard strong { font-size: 17px; }
  .tpl-pcard p { font-size: 15px; }
  .tpl-search { width: 100%; }
  .tpl-search select { width: 96px; flex: none; }
  .tpl-search input { flex: 1; width: auto; min-width: 0; }
  .tpl-search button { padding: 0 16px; }
  .tpl-pager { margin-top: 44px; gap: 0; }
  .tpl-pager a, .tpl-pager span { min-width: 38px; height: 40px; font-size: 15px; }
  .tpl-bbs { font-size: 15.5px; }
  .tpl-bbs .is-num, .tpl-bbs .is-hit, .tpl-bbs .is-name { display: none; }
  .tpl-bbs .is-date { width: 96px; }
  .tpl-bbs .is-stat { width: 84px; }
  .tpl-bbs td { padding: 16px 6px; font-size: 14.5px; }
  .tpl-bbs td.is-tit { font-size: 15.5px; }
  .tpl-bbs td.is-tit .tpl-tag { display: none; }
  .tpl-bbs td.is-tit small { display: none; }
  .tpl-press a { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
  .tpl-press strong { font-size: 17px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .tpl-press p { display: none; }
  .tpl-press time { margin-top: -6px; font-size: 14px; }
  .tpl-view__title { font-size: 23px; }
  .tpl-view__body { padding: 36px 0 44px; }
  .tpl-view__nav li { grid-template-columns: 64px minmax(0, 1fr); padding: 16px 0; }
  .tpl-view__nav time { display: none; }
  .tpl-answer { padding: 26px 22px; }
  .tpl-wview__pics { grid-template-columns: minmax(0, 1fr); }
  .tpl-patents { grid-template-columns: minmax(0, 1fr); }
  .tpl-faq summary { grid-template-columns: 28px minmax(0, 1fr) 20px; padding: 20px 4px; font-size: 16.5px; }
  .tpl-faq summary .tpl-tag { display: none; }
  .tpl-faq__a { grid-template-columns: 28px minmax(0, 1fr); margin: 0 0 20px; padding: 20px 18px 20px 4px; }
  .tpl-guide { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .tpl-form__row { grid-template-columns: minmax(0, 1fr); }
  .tpl-form__th { padding: 16px 0 4px; background: none; }
  .tpl-form__td { padding: 4px 0 16px; }
  .tpl-input, .tpl-input--sm { max-width: none; }
  .tpl-ctline { grid-template-columns: minmax(0, 1fr); }
  .tpl-ctline > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--tpl-line); }
  .tpl-ctline > div:last-child { border-bottom: 0; }
  .tpl-ctline dd { font-size: 19px; }
  .tpl-mbox { padding: 40px 22px; }
  .tpl-steps li { font-size: 14.5px; }
  .tpl-done { padding: 52px 8px; }
  .tpl-done__title { font-size: 26px; }
  .tpl-done dl { padding: 20px; gap: 8px 16px; }
  .tpl-find > section { padding: 32px 22px; }
  .tpl-policy__body h2 { font-size: 20px; }
}

[hidden] { display: none !important; }

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

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 템플릿 강조색과 상관없이 CI 색 그대로 둡니다. 글자는 머리글 먹색 · 푸터 흰색을 따릅니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg { height: 26px; }
.tpl-header .logo-img--dark { display: none; }   /* 원본 머리글은 처음부터 흰 바탕이라 어두운 바탕용 로고는 푸터에서만 씁니다 */
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 고정 배경 : 가로 100% 사진 띠(문의 띠)는 스크롤해도 사진은 멈춰 있고 내용만 움직입니다. PC 에서만 켭니다(지침 3-4) ---------- */
.tpl-cta__bg { position: absolute; inset: 0; background-color: var(--tpl-foot); background-position: center; background-size: cover; background-repeat: no-repeat; }
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-cta__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; }
.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; background: var(--tpl-wine); font-size: 15.5px; font-weight: 700; color: #fff; white-space: nowrap; transition: background-color .25s; }
.loc-map-go:hover { background: var(--tpl-wine-dk); }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본은 지도 위 「카카오맵 큰 지도 보기」 단추가 같은 일을 합니다 */

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

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bbs td.tpl-bbs__empty { padding: 64px 0; text-align: center; color: var(--tpl-mute); }
.tpl-cards__empty { 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; object-fit: cover; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.tpl-wview__side .tpl-prose > * + * { margin-top: 14px; }
.tpl-wview__side .tpl-prose img { display: block; width: 100%; height: auto; }
.tpl-press li > a > span:first-child { display: block; aspect-ratio: 3 / 2; background: var(--tpl-paper); }   /* 사진이 없는 보도자료 글의 빈 자리 */
.tpl-answer__head a { font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.tpl-view__nav .tpl-prevnext__none { color: var(--tpl-mute); }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--tpl-ink); }
.tpl-cmt__tit { font-size: 19px; font-weight: 800; 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: 16.5px; }
.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 { height: 120px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
/* 자주 묻는 질문 : 답 안의 문단 · 관리자 수정 링크 · 질문이 없을 때만 더합니다 */
.tpl-faq__a > div > * + * { margin-top: 10px; }
.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: 50px; }
.mb-textarea { 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: 700 14.5px 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: 26px; }
.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-paper); }

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz052(가 4 · 나 2 · 다 1 · 라 1 · 마 4, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 4 : 1차에 올리면 원본의 아래 버건디 밑줄 대신 칸 위쪽에서 버건디 4px 띠가 내려옵니다(글자색은 원본처럼 버건디). 서브페이지 현재 메뉴도 같은 띠이고, 다른 1차에 올리면 거둡니다(표시는 늘 하나).
   나 2 : 올린 1차의 2차만 헤더 아래 한 줄 탭으로, 그 1차 글자 가운데 바로 아래에 가운데 맞춰 놓입니다(js/main.js 가 --tpl-sub-dx 로 헤더 안쪽에 맞춥니다).
   다 1 : 패널(.tpl-mega__bg)은 원본 드롭다운과 같은 흰 바탕 · 옅은 선 · 옅은 그림자입니다. 2차 열 배경색 · 열 hover 배경은 없습니다.
   라 1 : 패널과 2차 줄이 같은 clip-path · 같은 시간(0.4초)으로 위에서 아래로 덮이며 드러나고, 닫을 때도 함께 걷혀 패널 밖 글자가 없습니다. 패널이 다 열린 뒤(.is-tab-ready) 다른 1차로 옮기면 기다림 없이 바뀝니다.
   마 4 : 2차에 올리면 글자 앞에 버건디 작은 사각 점이 생기고 글자가 먹색이 됩니다(원본의 밑줄은 쓰지 않습니다). 지금 화면의 2차도 같은 점입니다. ---------- */
:root { --tpl-tab-h: 72px; }
.tpl-header__in { z-index: 2; }
.tpl-gnb__link::after { top: 0; bottom: auto; height: 4px; transform: scaleY(0); transform-origin: 50% 0; transition: transform .3s var(--tpl-ease); }
.tpl-gnb__item:hover > .tpl-gnb__link::after, .tpl-gnb__item:focus-within > .tpl-gnb__link::after, .tpl-gnb__link[aria-current]::after { transform: scaleY(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) > .tpl-gnb__link[aria-current]::after,
.tpl-gnb__list:focus-within .tpl-gnb__item:not(:focus-within) > .tpl-gnb__link[aria-current]::after { transform: scaleY(0); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) > .tpl-gnb__link[aria-current] { color: inherit; }
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; z-index: 1; height: var(--tpl-tab-h); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line), 0 10px 24px rgba(30, 20, 22, .07); 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 { left: 50%; display: flex; align-items: center; gap: 0 34px; min-width: 0; width: max-content; height: var(--tpl-tab-h); padding: 0; border: 0; background: transparent; box-shadow: none; transform: translateX(calc(-50% + var(--tpl-sub-dx, 0px))); clip-path: inset(0 -2000px 100% -2000px); }
.tpl-gnb__item:hover > .tpl-gnb__sub, .tpl-gnb__item:focus-within > .tpl-gnb__sub { clip-path: inset(0 -2000px 0 -2000px); }
.tpl-gnb__item.is-shut > .tpl-gnb__sub { clip-path: inset(0 -2000px 100% -2000px); }
.tpl-header.is-tab-ready .tpl-gnb__sub { transition: none; }
.tpl-gnb__sub li { flex: none; }
.tpl-gnb__sub a { position: relative; padding: 0 0 0 14px; line-height: 28px; color: var(--tpl-mute); }
.tpl-gnb__sub a::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--tpl-wine); transform: scale(0); transition: transform .25s var(--tpl-ease); }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-ink); text-decoration: none; }
.tpl-gnb__sub a:hover::before, .tpl-gnb__sub a:focus-visible::before, .tpl-gnb__sub a[aria-current]::before { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .tpl-gnb__link::after, .tpl-mega__bg, .tpl-gnb__sub, .tpl-gnb__sub a::before { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz052(배치 1 · 효과 2). 오른쪽 가운데 화면 끝에 이음 없이 붙은 흰 직각 정사각 칸(옅은 선 · 버건디 선 아이콘)들입니다.
   올리거나 키보드로 가면 칸이 왼쪽으로 늘어나며 이름(먹색)이 나오고, 왼쪽 끝에 버건디 3px 선이 위에서 아래로 그어집니다(효과 2 를 모서리 없이 늘임).
   터치 화면(hover: none)은 늘어나지 않고 한 번 누르면 바로 이동합니다. 이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다.
   맨 아래 칸은 원본 .tpl-totop 을 옮겨 붙인 흰 정사각(그림자 · 버건디 화살표)입니다. 칸 크기는 본문 여백 안에 들게 1601px↑ 52 · 1161~1600px 40 · 1025~1160px 32px 이고,
   768px 이하는 오른쪽 아래 44px 칸입니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show) ---------- */
:root { --tpl-qs: 40px; }
.tpl-quick { position: fixed; right: 0; top: 50%; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; 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; }
.tpl-quick li { display: flex; justify-content: flex-end; }
.tpl-quick li + li a { border-top: 0; }
.tpl-quick a { position: relative; display: flex; align-items: center; justify-content: flex-end; min-width: var(--tpl-qs); max-width: var(--tpl-qs); height: var(--tpl-qs); overflow: hidden; border: 1px solid var(--tpl-line); border-right: 0; background: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-ink); white-space: nowrap; transition: max-width .35s var(--tpl-ease), border-color .3s; }
.tpl-quick a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tpl-wine); transform: scaleY(0); transform-origin: 50% 0; transition: transform .3s var(--tpl-ease); }
.tpl-quick a span { order: -1; padding: 0 4px 0 18px; opacity: 0; transition: opacity .25s; }
.tpl-quick a .tpl-ico, .tpl-quick__img { flex: none; width: calc(var(--tpl-qs) - 1px); height: 19px; stroke-width: 1.7; color: var(--tpl-wine); }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a:focus-visible { max-width: 280px; border-color: #cfc8c6; outline: 2px solid var(--tpl-wine); outline-offset: -2px; }
.tpl-quick a:focus-visible::before { transform: scaleY(1); }
.tpl-quick a:focus-visible span { opacity: 1; transition-delay: .08s; }
@media (hover: hover) {
  .tpl-quick a:hover { max-width: 280px; border-color: #cfc8c6; }
  .tpl-quick a:hover::before { transform: scaleY(1); }
  .tpl-quick a:hover span { opacity: 1; transition-delay: .08s; }
}
.tpl-quick .tpl-totop { position: static; display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); margin-top: 8px; border: 1px solid var(--tpl-line); border-right: 0; background: #fff; color: var(--tpl-wine); box-shadow: 0 6px 18px rgba(30, 20, 22, .14); opacity: 1; visibility: inherit; transform: none; transition: background-color .25s, color .25s; }
.tpl-quick .tpl-totop .tpl-ico { width: 17px; height: 17px; 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: 1601px) { :root { --tpl-qs: 52px; } }
@media (max-width: 1160px) { :root { --tpl-qs: 32px; } .tpl-quick a .tpl-ico, .tpl-quick__img { height: 16px; } }
@media (max-width: 768px) {
  :root { --tpl-qs: 44px; }
  .tpl-quick { top: auto; right: 12px; bottom: 16px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick a { border-right: 1px solid var(--tpl-line); }
  .tpl-quick .tpl-totop { border-right: 1px solid var(--tpl-line); }
  .tpl-quick a span { display: none; }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: calc(var(--tpl-qs) - 2px); height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick *, .tpl-quick a::before { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 윗변 버건디 3px 선(원본 로그인 상자 .tpl-mbox) · 제목 아래 버건디 짧은 선(원본 가운데 제목) · 버건디 면 단추 · 옅은 회색 아래 띠(닫기는 먹색 굵은 글자) ---------- */
.tpl-pop__item { border: 1px solid var(--tpl-line); border-top: 3px solid var(--tpl-wine); background: #fff; box-shadow: 0 16px 36px rgba(30, 20, 22, .24); }
.tpl-pop__body { padding: 32px 32px 34px; }
.tpl-pop__title { margin: 0 0 16px; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__title::after { content: ''; display: block; width: 28px; height: 3px; margin-top: 14px; background: var(--tpl-wine); }
.tpl-pop__text { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 14px; height: 50px; margin-top: 22px; padding: 0 22px 0 24px; background: var(--tpl-wine); font-size: 15.5px; font-weight: 700; 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-dk); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-paper); }
.tpl-pop__foot button { min-height: 48px; 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-ink); font-weight: 800; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { color: var(--tpl-wine); }
