/* ==========================================================================
   올웹 비즈니스 템플릿 53 — 시안 53(누림앤코, 생활 브랜드 기업)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz053) · 퀵메뉴 · 팝업은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

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

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지 공통: 글꼴 · 색 토큰 · 헤더 · 가로형 메가메뉴 · 드로어 · 푸터 · TOP · 버튼 · 섹션 머리 · 스크롤 등장(AOS) */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }

:root {
  --tpl-ink: #24211c;        /* 제목 · 강조 글자 */
  --tpl-text: #4a463f;       /* 본문 */
  --tpl-mute: #6c675e;       /* 보조 글자 (흰 바탕 5.6:1) */
  --tpl-line: #e3ddd2;       /* 구분선 */
  --tpl-sand: #8c6d46;       /* 주색 : 모래 갈색 (흰 글자 대비 4.8:1) */
  --tpl-sand-t: #7a5d3a;     /* 모래색 글자 (옅은 모래 바탕에서도 5.3:1) */
  --tpl-paper: #f2eee6;      /* 옅은 모래 바탕 */
  --tpl-soft: #f8f7f4;       /* 아주 옅은 회색 바탕 */
  --tpl-brown: #3b3127;      /* 문의 띠 (짙은 갈색 단색) */
  --tpl-foot: #23201c;       /* 푸터 */
  --tpl-ease: cubic-bezier(.22, .61, .36, 1);
  --tpl-head-h: 88px;
  --tpl-gutter: 40px;
  --tpl-gnb-pad: 26px;       /* 1차 메뉴 li 양옆 같은 여백 */
}

body { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 17px; line-height: 1.7; color: var(--tpl-text); background: #fff; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
:focus-visible { outline: 2px solid var(--tpl-sand); outline-offset: 3px; }
.tpl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tpl-skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--tpl-ink); color: #fff; font-size: 15px; }
.tpl-skip:focus { top: 12px; }
.tpl-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--tpl-gutter); }
.tpl-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-m-br { display: none; }

/* ---------- 헤더 : 비주얼 위에서는 투명 · 흰 글자, 스크롤하거나 메뉴를 열면 흰 바탕 ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--tpl-head-h); color: #fff; transition: background-color .3s, color .3s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .22); transition: background-color .3s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open, .tpl-header--solid { background: #fff; color: var(--tpl-ink); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after, .tpl-header--solid::after { background: var(--tpl-line); }
.tpl-header__inner { position: relative; z-index: 3; display: flex; align-items: center; height: 100%; gap: 24px; }

.tpl-logo { flex: none; line-height: 1; }
.tpl-logo__link { display: inline-flex; align-items: center; gap: 10px; }
.tpl-logo__mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tpl-logo__text { font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.tpl-logo__text em { font-style: normal; font-weight: 500; margin-left: 3px; color: inherit; opacity: .8; }

/* 1차 메뉴 : li 양옆 같은 여백(--tpl-gnb-pad)이라 글자 사이 간격이 모두 같습니다. */
.tpl-gnb { flex: 1; display: flex; justify-content: center; height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
.tpl-gnb__item { height: 100%; padding: 0 var(--tpl-gnb-pad); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 17px; font-weight: 600; white-space: nowrap; }
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tpl-sand); transform: scaleX(0); transition: transform .3s var(--tpl-ease); }
/* 선은 하나만 : 열려 있는 1차(is-active)에만, 메뉴가 닫혀 있으면 현재 페이지의 1차에만 보입니다. */
.is-mega-open .tpl-gnb__item.is-active .tpl-gnb__link::after { transform: scaleX(1); }
.tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.is-mega-open .tpl-gnb__item:not(.is-active) .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-gnb__link:focus-visible { outline-offset: -4px; }

/* 가로형 메가메뉴(C) : 전폭 흰 패널(.tpl-mega__bg)이 scaleY 로 위에서 아래로 펼쳐지고,
   올린 1차의 2차 목록(.tpl-gnb__sub)이 같은 높이 · 같은 시간 · 같은 곡선의 clip-path 로 함께 드러납니다.
   패널 밖으로 글자가 나가는 프레임이 없습니다. 패널 높이(--tpl-mega-h)는 common.js 가 잽니다(한 줄 + 위아래 28px). */
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--tpl-mega-h, 100px); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line), inset 0 1px 0 var(--tpl-line); transform: scaleY(0); transform-origin: 50% 0; transition: transform .42s var(--tpl-ease); pointer-events: none; }
.tpl-gnb__sub { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--tpl-mega-h, 100px); color: var(--tpl-ink); visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .42s var(--tpl-ease), opacity .2s, visibility 0s linear .42s; }
/* 2차 줄은 마우스를 올린 1차 메뉴 글자의 가운데 바로 아래에 놓입니다(--tpl-sub-x 는 common.js 가 잽니다. 컨테이너 밖으로 나가면 안쪽 끝에 붙습니다). */
.tpl-gnb__subin { position: relative; height: 100%; }
.tpl-gnb__sublist { position: absolute; top: 50%; left: var(--tpl-sub-x, var(--tpl-gutter)); display: flex; flex-wrap: nowrap; gap: 8px 44px; transform: translateY(-50%); }
.tpl-gnb__sublist a { display: inline-block; padding: 6px 0; font-size: 17px; color: var(--tpl-text); white-space: nowrap; transition: color .2s; }
.tpl-gnb__sublist a:hover, .tpl-gnb__sublist a:focus-visible { color: var(--tpl-sand-t); text-decoration: underline; text-underline-offset: 6px; }
.tpl-gnb__sublist a[aria-current] { color: var(--tpl-sand-t); font-weight: 600; }
.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .tpl-gnb__sub { clip-path: inset(0 0 0 0); transition: clip-path .42s var(--tpl-ease), opacity .2s, visibility 0s; }
.tpl-gnb__item.is-active .tpl-gnb__sub { visibility: visible; opacity: 1; transition: clip-path .42s var(--tpl-ease), opacity .2s, visibility 0s; }

/* 로그인 · 회원가입 */
.tpl-util { flex: none; display: flex; align-items: center; gap: 8px; }
.tpl-util__link { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.tpl-util__link--line { border: 1px solid currentColor; border-radius: 2px; }
.tpl-util__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-burger { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; }
.tpl-burger .tpl-ic { width: 26px; height: 26px; }

/* ---------- 드로어 (1024px 이하) ---------- */
.tpl-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .4s; }
.tpl-drawer.is-open { visibility: visible; transition-delay: 0s; }
.tpl-drawer__dim { position: absolute; inset: 0; background: rgba(20, 17, 13, .5); opacity: 0; transition: opacity .35s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 88vw); background: #fff; color: var(--tpl-ink); overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--tpl-ease); display: flex; flex-direction: column; }
.tpl-drawer.is-open .tpl-drawer__panel { transform: none; }
.tpl-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 12px 0 24px; border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.tpl-drawer__close .tpl-ic { width: 24px; height: 24px; }
.tpl-drawer__member { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 20px 24px; }
.tpl-drawer__member a { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--tpl-line); font-size: 15px; font-weight: 500; }
.tpl-drawer__member a + a { background: var(--tpl-sand); border-color: var(--tpl-sand); color: #fff; }
.tpl-drawer__list { padding: 0 24px; }
.tpl-drawer__list > li { border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; font-size: 18px; font-weight: 600; text-align: left; }
.tpl-drawer__toggle[aria-current] { color: var(--tpl-sand-t); }
.tpl-drawer__toggle .tpl-ic { transition: transform .3s; }
.tpl-drawer__toggle[aria-expanded="true"] .tpl-ic { transform: rotate(180deg); }
.tpl-drawer__sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--tpl-ease); }
.tpl-drawer__sub li:last-child { padding-bottom: 14px; }
.tpl-drawer__sub a { display: block; padding: 8px 0 8px 12px; font-size: 16px; color: var(--tpl-text); }
.tpl-drawer__sub a[aria-current] { color: var(--tpl-sand-t); font-weight: 600; }
.tpl-drawer__tel { margin-top: auto; padding: 28px 24px; font-size: 15px; color: var(--tpl-mute); }
.tpl-drawer__tel a { display: block; font-size: 24px; font-weight: 700; color: var(--tpl-ink); }

/* ---------- 버튼 · 섹션 머리 ---------- */
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; font-size: 16px; font-weight: 600; border: 1px solid transparent; border-radius: 2px; transition: background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.tpl-btn .tpl-ic { width: 18px; height: 18px; transition: transform .25s; }
.tpl-btn:hover .tpl-ic { transform: translateX(4px); }
.tpl-btn--line { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-btn--line:hover { background: var(--tpl-ink); color: #fff; }
.tpl-btn--white { background: #fff; color: var(--tpl-ink); }
.tpl-btn--white:hover { background: var(--tpl-paper); }
.tpl-btn--wline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.tpl-btn--wline:hover { background: #fff; color: var(--tpl-ink); }
.tpl-sqbtn { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--tpl-line); color: var(--tpl-ink); transition: border-color .2s, background-color .2s, opacity .2s; }
.tpl-sqbtn:hover:not(:disabled) { border-color: var(--tpl-ink); }
.tpl-sqbtn:disabled { opacity: .35; cursor: default; }

.tpl-sec { padding: 140px 0; }
.tpl-head { margin-bottom: 56px; }
.tpl-head__label { margin-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--tpl-sand-t); }
.tpl-head__title { font-size: 44px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; color: var(--tpl-ink); }
.tpl-head__desc { margin-top: 16px; font-size: 18px; color: var(--tpl-mute); }

/* 숫자 실적 (메인 회사소개 · 서브 회사 개요 공용) */
.tpl-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--tpl-ink); }
.tpl-stats > div { padding: 24px 20px 4px 0; }
.tpl-stats > div + div { padding-left: 20px; border-left: 1px solid var(--tpl-line); }
.tpl-stats dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-stats dd { margin-top: 6px; font-size: 17px; color: var(--tpl-ink); white-space: nowrap; }
.tpl-stats b { margin-right: 3px; font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }

/* ---------- 푸터 ---------- */
.tpl-footer { padding: 72px 0 56px; background: var(--tpl-foot); color: #b9b2a6; font-size: 15px; }
.tpl-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.tpl-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 36px; font-size: 16px; font-weight: 500; }
.tpl-footer__menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__mid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 28px 0 18px; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.tpl-footer__policy strong { color: #fff; font-weight: 600; }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__cs { color: #fff; }
.tpl-footer__cs a { margin: 0 12px 0 8px; font-size: 20px; font-weight: 700; }
.tpl-footer__cs span { color: #b9b2a6; font-size: 14px; }
.tpl-footer__info { line-height: 1.9; }
.tpl-footer__info span { display: inline-block; margin-right: 18px; }
.tpl-footer__copy { margin-top: 20px; font-size: 14px; color: #958d80; }

.tpl-totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--tpl-ink); border: 1px solid var(--tpl-line); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
.tpl-totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-totop:hover { border-color: var(--tpl-ink); }

/* ---------- 스크롤 등장(AOS 직접 구현) : JS 가 켜져 있고 동작 줄이기가 아닐 때만 숨겼다가 드러냅니다 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tpl-js [data-aos] { opacity: 0; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
  .tpl-js [data-aos="fade-up"] { transform: translateY(48px); }
  .tpl-js [data-aos="fade-left"] { transform: translateX(48px); }
  .tpl-js [data-aos="fade-right"] { transform: translateX(-48px); }
  .tpl-js [data-aos="zoom-in"] { transform: scale(.94); }
  .tpl-js [data-aos].is-aos-in { opacity: 1; transform: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-pad: 18px; --tpl-gutter: 32px; }
  .tpl-util__link { padding: 0 10px; }
}
@media (max-width: 1024px) {
  :root { --tpl-head-h: 68px; --tpl-gutter: 24px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-header__inner { justify-content: space-between; }
  .tpl-burger { display: inline-flex; }
  .tpl-sec { padding: 100px 0; }
  .tpl-head { margin-bottom: 40px; }
  .tpl-head__title { font-size: 36px; }
  .tpl-footer__top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --tpl-gutter: 20px; }
  body { font-size: 16px; }
  .tpl-m-br { display: inline; }
  .tpl-sec { padding: 80px 0; }
  .tpl-head__title { font-size: 28px; }
  .tpl-head__desc { font-size: 16px; }
  .tpl-stats { grid-template-columns: 1fr 1fr; }
  .tpl-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-stats > div:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-stats b { font-size: 30px; }
  .tpl-logo__text { font-size: 19px; }
  .tpl-footer { padding: 56px 0 40px; }
  .tpl-footer__menu { gap: 8px 22px; font-size: 15px; }
  .tpl-totop { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
@media (max-width: 480px) {
  :root { --tpl-gutter: 16px; }
  .tpl-btn { height: 50px; padding: 0 22px; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 섹션 */

/* ===== 메인 비주얼 : 90vh, 확대되며 페이드 전환 ===== */
.tpl-visual { position: relative; height: 90vh; overflow: hidden; background: #3a3128; color: #fff; }
.tpl-visual__slides, .tpl-visual__slide { position: absolute; inset: 0; }
.tpl-visual__slide { opacity: 0; visibility: hidden; transition: opacity var(--tpl-vis-speed, 1.2s) ease, visibility 0s linear var(--tpl-vis-speed, 1.2s); }
.tpl-visual__slide.is-active { z-index: 2; opacity: 1; visibility: visible; transition: opacity var(--tpl-vis-speed, 1.2s) ease, visibility 0s; }
/* 나가는 장은 들어오는 장이 다 덮을 때까지 그대로 보입니다(두 장이 함께 옅어져 어두워지는 순간이 없습니다). */
.tpl-visual__slide.is-leaving { z-index: 1; visibility: visible; opacity: 1; transition: none; }
.tpl-visual__media { position: absolute; inset: 0; overflow: hidden; transform: scale(1); }
.tpl-visual__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 20, 14, .62) 0%, rgba(25, 20, 14, .3) 55%, rgba(25, 20, 14, .12) 100%); }
.tpl-visual__media img { width: 100%; height: 100%; object-fit: cover; }
/* 확대 : 들어오는 슬라이드가 페이드되며 천천히 커집니다(스크롤과 무관한 시간 효과입니다). */
@media (prefers-reduced-motion: no-preference) {
  .tpl-visual__slide.is-active .tpl-visual__media, .tpl-visual__slide.is-leaving .tpl-visual__media { transform: scale(1.08); transition: transform 8s linear; }
}
.tpl-visual__yt { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.tpl-visual__yt.is-ready { opacity: 1; }
/* reset.css 의 iframe { max-width: 100% } 가 가로를 칸 폭으로 묶어 영상이 16:9 로 덮지 못하고 위아래 검은 띠가 생기던 것을 풉니다. */
.tpl-visual__yt iframe { position: absolute; max-width: none; left: 50%; top: 50%; width: max(100%, 160vh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }

.tpl-visual__text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; padding-left: max(var(--tpl-gutter), 128px); padding-right: max(var(--tpl-gutter), 128px); padding-top: var(--tpl-head-h); }
.tpl-visual__label { font-size: 15px; font-weight: 600; letter-spacing: .2em; }
.tpl-visual__title { margin-top: 18px; font-size: clamp(34px, 4.4vw, 66px); font-weight: 700; line-height: 1.22; letter-spacing: -.03em; white-space: nowrap; }
.tpl-visual__desc { margin-top: 20px; font-size: 19px; color: rgba(255, 255, 255, .9); }
.tpl-visual__btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; margin-top: 40px; padding: 0 28px; background: var(--tpl-sand); color: #fff; font-size: 16px; font-weight: 600; border-radius: 2px; transition: background-color .25s; }
.tpl-visual__btn:hover { background: #745836; }
.tpl-visual__btn .tpl-ic { width: 18px; height: 18px; }
/* 문구 차례 등장(stagger) */
.tpl-visual__text > * { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--tpl-ease), transform .8s var(--tpl-ease); }
.is-active .tpl-visual__text > * { opacity: 1; transform: none; }
.is-active .tpl-visual__label { transition-delay: .35s; }
.is-active .tpl-visual__title { transition-delay: .5s; }
.is-active .tpl-visual__desc { transition-delay: .65s; }
.is-active .tpl-visual__btn { transition-delay: .8s; }
@media (prefers-reduced-motion: reduce) {
  .tpl-visual__text > * { transform: none; transition: opacity .3s; }
  .is-active .tpl-visual__text > * { transition-delay: 0s; }
}

.tpl-visual__arrow { position: absolute; top: 50%; z-index: 5; width: 56px; height: 56px; margin-top: -28px; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255, 255, 255, .45); transition: background-color .25s, color .25s; }
.tpl-visual__arrow:hover { background: #fff; color: var(--tpl-ink); }
.tpl-visual__arrow .tpl-ic { width: 26px; height: 26px; stroke-width: 1.5; }
.tpl-visual__arrow--prev { left: 32px; }
.tpl-visual__arrow--next { right: 32px; }
.tpl-visual__ctrl { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 5; display: flex; align-items: center; gap: 16px; padding-left: max(var(--tpl-gutter), 128px); padding-right: max(var(--tpl-gutter), 128px); font-size: 15px; }
.tpl-visual__num b { font-weight: 700; }
.tpl-visual__total { color: rgba(255, 255, 255, .75); }
.tpl-visual__bar { position: relative; width: 160px; height: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.tpl-visual__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.tpl-visual__bar i.is-run { animation: tplBar var(--tpl-vis-delay, 6.5s) linear forwards; }
.tpl-visual.is-paused .tpl-visual__bar i { animation-play-state: paused; }
@keyframes tplBar { to { transform: scaleX(1); } }
.tpl-visual__pause { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-left: 4px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.tpl-visual__pause .tpl-ic { width: 16px; height: 16px; }
.tpl-visual__pause .tpl-ic--play { display: none; fill: currentColor; }
.tpl-visual.is-paused .tpl-ic--pause { display: none; }
.tpl-visual.is-paused .tpl-ic--play { display: block; }

/* ===== 바로가기 퀵메뉴 ===== */
.tpl-quick { padding: 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-quick__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.tpl-quick__list > li + li { border-left: 1px solid var(--tpl-line); }
.tpl-quick__item { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 40px 28px 40px 28px; transition: background-color .25s; height: 100%; }
.tpl-quick__list > li:first-child .tpl-quick__item { padding-left: 0; }
.tpl-quick__ic { grid-row: span 2; width: 34px; height: 34px; stroke-width: 1.4; color: var(--tpl-sand); }
.tpl-quick__tit { font-size: 18px; font-weight: 700; color: var(--tpl-ink); line-height: 1.4; white-space: nowrap; }
.tpl-quick__desc { font-size: 14px; color: var(--tpl-mute); line-height: 1.5; }
.tpl-quick__go { position: absolute; right: 24px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--tpl-sand); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.tpl-quick__item:hover .tpl-quick__tit, .tpl-quick__item:focus-visible .tpl-quick__tit { color: var(--tpl-sand-t); }
.tpl-quick__item:hover .tpl-quick__go, .tpl-quick__item:focus-visible .tpl-quick__go { opacity: 1; transform: none; }

/* ===== 회사소개 요약 ===== */
.tpl-about__body { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.tpl-about__img { aspect-ratio: 4 / 5; overflow: hidden; }
.tpl-about__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-about__txt { padding-top: 8px; }
.tpl-about__lead { margin-bottom: 20px; font-size: 24px; font-weight: 600; line-height: 1.6; color: var(--tpl-ink); letter-spacing: -.01em; }
.tpl-about__txt .tpl-btn { margin: 36px 0 64px; }

/* ===== 사업분야 : 옅은 모래 바탕 · 왼쪽 큰 사진 + 오른쪽 카드 2장 ===== */
.tpl-biz { background: var(--tpl-paper); }
.tpl-biz__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; }
.tpl-biz__main { position: relative; display: block; min-height: 560px; overflow: hidden; color: #fff; }
.tpl-biz__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-biz__main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 20, 14, .78) 0%, rgba(25, 20, 14, .15) 60%); }
.tpl-biz__main:hover img { transform: scale(1.04); }
.tpl-biz__cap { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 1; display: flex; flex-direction: column; }
.tpl-biz__cap .tpl-biz__no { color: rgba(255, 255, 255, .85); }
.tpl-biz__mtit { margin-top: 8px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.tpl-biz__mdesc { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .88); }
.tpl-biz__card { display: flex; flex-direction: column; background: #fff; transition: box-shadow .3s; }
.tpl-biz__card:hover { box-shadow: 0 0 0 1px var(--tpl-sand); }
.tpl-biz__img { aspect-ratio: 4 / 3; overflow: hidden; }
.tpl-biz__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-biz__card:hover .tpl-biz__img img { transform: scale(1.04); }
.tpl-biz__body { display: flex; flex-direction: column; flex: 1; padding: 32px 32px 36px; }
.tpl-biz__no { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--tpl-sand-t); }
.tpl-biz__tit { margin-top: 8px; font-size: 23px; font-weight: 700; color: var(--tpl-ink); line-height: 1.4; letter-spacing: -.01em; }
.tpl-biz__desc { margin-top: 12px; font-size: 16px; color: var(--tpl-text); line-height: 1.7; }
.tpl-biz__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 24px; }
.tpl-biz__tags span { padding: 3px 10px; border: 1px solid var(--tpl-line); font-size: 13px; color: var(--tpl-mute); }

/* ===== 제품 ===== */
.tpl-prod__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.tpl-prod__top .tpl-head { margin-bottom: 0; }
.tpl-prod__tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-bottom: 6px; }
.tpl-prod__tab { position: relative; padding: 6px 0; font-size: 17px; font-weight: 500; color: var(--tpl-mute); }
.tpl-prod__tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tpl-ink); transform: scaleX(0); transition: transform .25s; }
.tpl-prod__tab[aria-pressed="true"] { color: var(--tpl-ink); font-weight: 700; }
.tpl-prod__tab[aria-pressed="true"]::after { transform: scaleX(1); }
.tpl-prod__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.tpl-prod__item[hidden] { display: none; }
.tpl-prod__link { display: flex; flex-direction: column; }
.tpl-prod__img { aspect-ratio: 1; overflow: hidden; background: #f1eee9; }
.tpl-prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tpl-ease); }
.tpl-prod__link:hover .tpl-prod__img img { transform: scale(1.05); }
.tpl-prod__cat { margin-top: 18px; font-size: 14px; color: var(--tpl-sand-t); font-weight: 600; }
.tpl-prod__name { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); line-height: 1.45; }
.tpl-prod__spec { margin-top: 4px; font-size: 15px; color: var(--tpl-mute); }
.tpl-prod__link:hover .tpl-prod__name { text-decoration: underline; text-underline-offset: 5px; }
.tpl-prod.is-filtered .tpl-prod__item { animation: tplFade .5s var(--tpl-ease); }
@keyframes tplFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== 일하는 방식 : 가장자리까지 찬 사진 절반 + 옅은 모래 절반 ===== */
.tpl-story { display: grid; grid-template-columns: 1fr 1fr; background: var(--tpl-paper); overflow: hidden; }
.tpl-story__img { position: relative; min-height: 640px; }
.tpl-story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-story__body { padding: 120px max(var(--tpl-gutter), calc((100vw - 1440px) / 2 + 40px)) 120px 80px; }
.tpl-story__steps { border-top: 1px solid var(--tpl-ink); }
.tpl-story__steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid #d9d1c3; }
.tpl-story__no { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-sand-t); line-height: 1.9; }
.tpl-story__steps strong { display: block; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-story__steps p { margin-top: 4px; font-size: 16px; }

/* ===== 갤러리 : 한 화면 3장 → 2장 → 1장 캐러셀 ===== */
.tpl-gal__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.tpl-gal__top .tpl-head { margin-bottom: 0; }
.tpl-gal__ctrl { display: flex; align-items: center; gap: 8px; }
.tpl-gal__all { margin-right: 16px; font-size: 16px; font-weight: 600; color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 6px; }
.tpl-gal__view { --per: 3; --gap: 28px; overflow: hidden; }
.tpl-gal__track { display: flex; gap: var(--gap); transition: transform .6s var(--tpl-ease); touch-action: pan-y; }
.tpl-gal__item { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); min-width: 0; }
.tpl-gal__link { display: flex; flex-direction: column; }
.tpl-gal__img { aspect-ratio: 4 / 3; overflow: hidden; background: #f1eee9; }
.tpl-gal__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tpl-ease); }
.tpl-gal__link:hover .tpl-gal__img img { transform: scale(1.05); }
.tpl-gal__meta { display: flex; gap: 12px; margin-top: 20px; font-size: 14px; color: var(--tpl-mute); }
.tpl-gal__meta span:first-child { color: var(--tpl-sand-t); font-weight: 600; }
.tpl-gal__tit { margin-top: 6px; font-size: 20px; font-weight: 700; color: var(--tpl-ink); line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-gal__desc { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-gal__link:hover .tpl-gal__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-gal__progress { position: relative; height: 2px; margin-top: 48px; background: var(--tpl-line); }
.tpl-gal__progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tpl-ink); transition: left .6s var(--tpl-ease), width .6s var(--tpl-ease); }

/* ===== 연혁 · 인증 ===== */
.tpl-hist { padding-top: 0; }
.tpl-hist__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; padding-top: 120px; border-top: 1px solid var(--tpl-line); }
.tpl-hist__list li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__list li:first-child { border-top: 1px solid var(--tpl-ink); }
.tpl-hist__year { font-size: 22px; font-weight: 700; color: var(--tpl-sand-t); line-height: 1.4; }
.tpl-hist__list p { font-size: 17px; line-height: 1.6; padding-top: 2px; }
.tpl-cert { font-size: 16px; text-align: left; }
.tpl-cert thead th { padding: 14px 12px; border-top: 1px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); font-size: 14px; font-weight: 600; color: var(--tpl-mute); }
.tpl-cert tbody th, .tpl-cert td { padding: 18px 12px; border-bottom: 1px solid var(--tpl-line); vertical-align: top; }
.tpl-cert tbody th { font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-cert td:last-child { white-space: nowrap; color: var(--tpl-mute); }

/* ===== 게시판 : 아주 옅은 회색 바탕 ===== */
.tpl-news { background: var(--tpl-soft); }
.tpl-news__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.tpl-news__grid > .tpl-head { margin-bottom: 0; }
.tpl-news__grid .tpl-head__desc { white-space: nowrap; }
.tpl-board__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--tpl-ink); }
.tpl-board__name { font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-board__more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--tpl-mute); }
.tpl-board__more .tpl-ic { width: 16px; height: 16px; }
.tpl-board__more:hover { color: var(--tpl-ink); }
.tpl-board__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-board__list a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; }
.tpl-board__tit { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; color: var(--tpl-ink); }
.tpl-board__date { flex: none; font-size: 14px; color: var(--tpl-mute); }
.tpl-board__list a:hover .tpl-board__tit { color: var(--tpl-sand-t); text-decoration: underline; text-underline-offset: 4px; }

/* ===== 문의 띠 : 짙은 갈색 단색 ===== */
.tpl-cta { padding: 96px 0; background: var(--tpl-brown); color: #fff; }
.tpl-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.tpl-cta__label { font-size: 14px; font-weight: 600; letter-spacing: .14em; color: #d9c7ab; }
.tpl-cta__title { margin-top: 12px; font-size: 40px; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; white-space: nowrap; }
.tpl-cta__desc { margin-top: 12px; font-size: 17px; color: rgba(255, 255, 255, .82); }
.tpl-cta__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.tpl-cta__tel { display: inline-flex; align-items: center; gap: 12px; font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.tpl-cta__tel .tpl-ic { width: 28px; height: 28px; color: #d9c7ab; }
.tpl-cta__btns { display: flex; gap: 8px; }

/* ===== 오시는 길 ===== */
.tpl-contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; }
.tpl-contact__dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-contact__dl > div:first-child { border-top: 1px solid var(--tpl-ink); }
.tpl-contact__dl dt { font-size: 15px; font-weight: 600; color: var(--tpl-ink); }
.tpl-contact__dl dd { font-size: 16px; }
.tpl-contact__dl a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { min-height: 480px; background: #eeebe5; }
.tpl-contact__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-quick__item { padding: 36px 18px; column-gap: 12px; }
  .tpl-quick__ic { width: 30px; height: 30px; }
  .tpl-quick__tit { font-size: 17px; }
  .tpl-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-news__grid > .tpl-head { grid-column: 1 / -1; }
  .tpl-story__body { padding-left: 64px; }
  .tpl-about__body { gap: 56px; }
  .tpl-hist__grid { gap: 64px; }
  .tpl-hist__list li { grid-template-columns: 80px 1fr; }
}
@media (max-width: 1100px) {
  .tpl-quick__desc { display: none; }
  .tpl-quick__ic { grid-row: auto; }
}
@media (max-width: 1024px) {
  .tpl-visual__title { white-space: normal; }
  .tpl-quick__list { grid-template-columns: repeat(3, 1fr); }
  .tpl-quick__list > li { border-bottom: 1px solid var(--tpl-line); }
  .tpl-quick__list > li:nth-child(4) { border-left: 0; }
  .tpl-quick__list > li:nth-child(n+4) { border-bottom: 0; }
  .tpl-quick__list > li:nth-child(4) .tpl-quick__item { padding-left: 0; }
  .tpl-quick__item { padding: 28px 16px; }
  .tpl-about__body { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tpl-biz__grid { grid-template-columns: 1fr 1fr; }
  .tpl-biz__main { grid-column: 1 / -1; min-height: 420px; }
  .tpl-prod__top { flex-direction: column; align-items: flex-start; }
  .tpl-prod__list { grid-template-columns: repeat(2, 1fr); }
  .tpl-story { grid-template-columns: 1fr; }
  .tpl-story__img { min-height: 420px; }
  .tpl-story__body { padding: 80px var(--tpl-gutter); }
  .tpl-gal__view { --per: 2; --gap: 20px; }
  .tpl-hist__grid { grid-template-columns: 1fr; gap: 72px; padding-top: 100px; }
  .tpl-cta__inner { flex-direction: column; align-items: flex-start; }
  .tpl-cta__title { white-space: normal; }
  .tpl-cta__side { align-items: flex-start; }
  .tpl-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 380px; }
}
@media (max-width: 768px) {
  .tpl-visual__text, .tpl-visual__ctrl { padding-left: 68px; padding-right: 68px; }
  .tpl-visual__title { font-size: 32px; }
  .tpl-visual__desc { font-size: 16px; }
  .tpl-visual__btn { height: 50px; margin-top: 28px; padding: 0 22px; font-size: 15px; }
  .tpl-visual__arrow { width: 40px; height: 40px; margin-top: -20px; border: 0; background: rgba(0, 0, 0, .18); }
  .tpl-visual__arrow--prev { left: 12px; }
  .tpl-visual__arrow--next { right: 12px; }
  .tpl-visual__ctrl { bottom: 32px; }
  .tpl-visual__bar { width: 80px; }
  .tpl-quick__list { grid-template-columns: 1fr 1fr; }
  .tpl-quick__list > li { border-left: 0 !important; border-bottom: 1px solid var(--tpl-line) !important; }
  .tpl-quick__list > li:nth-child(even) { border-left: 1px solid var(--tpl-line) !important; }
  .tpl-quick__list > li:last-child { border-bottom: 0 !important; }
  .tpl-quick__list > li .tpl-quick__item { padding: 22px 12px !important; }
  .tpl-quick__list > li:nth-child(odd) .tpl-quick__item { padding-left: 0 !important; }
  .tpl-quick__tit { font-size: 16px; white-space: normal; }
  .tpl-quick__ic { width: 26px; height: 26px; }
  .tpl-about__body { grid-template-columns: 1fr; }
  .tpl-about__img { aspect-ratio: 4 / 3; }
  .tpl-about__lead { font-size: 20px; }
  .tpl-biz__grid { grid-template-columns: 1fr; }
  .tpl-biz__main { min-height: 360px; }
  .tpl-biz__cap { left: 24px; right: 24px; bottom: 28px; }
  .tpl-biz__mtit { font-size: 24px; }
  .tpl-biz__body { padding: 24px 24px 28px; }
  .tpl-prod__list { gap: 36px 14px; }
  .tpl-prod__name { font-size: 16px; }
  .tpl-prod__spec { font-size: 14px; }
  .tpl-story__img { min-height: 300px; }
  .tpl-story__body { padding: 64px var(--tpl-gutter); }
  .tpl-gal__top { flex-direction: column; align-items: flex-start; }
  .tpl-hist__list li { grid-template-columns: 64px 1fr; }
  .tpl-hist__year { font-size: 18px; }
  .tpl-cert { font-size: 15px; }
  .tpl-cert tbody th, .tpl-cert td, .tpl-cert thead th { padding-left: 6px; padding-right: 6px; }
  .tpl-news__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tpl-news__grid .tpl-head__desc { white-space: normal; }
  .tpl-cta { padding: 72px 0; }
  .tpl-cta__title { font-size: 28px; }
  .tpl-cta__tel { font-size: 28px; }
  .tpl-cta__btns { flex-wrap: wrap; }
  .tpl-contact__dl > div { grid-template-columns: 80px 1fr; }
}
@media (max-width: 600px) {
  .tpl-gal__view { --per: 1; }
}

/* ---------- 오시는 길 : 카카오 지도 (2026-11-22 구글 지도에서 바꿈) ----------
   카카오 화면 왼쪽 검색 창은 상자 overflow:hidden + iframe 을 왼쪽으로 420px 밀어 가립니다. */
.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차 탭 · 인사말 · 회사 개요 */

/* ===== 서브 비주얼 : 정지 사진 + 어두운 막 ===== */
.tpl-svis { position: relative; height: 440px; overflow: hidden; background: #3a3128; color: #fff; }
.tpl-svis__bg { position: absolute; inset: 0; }
.tpl-svis__bg img { width: 100%; height: 100%; object-fit: cover; }
.tpl-svis__bg::after { content: ''; position: absolute; inset: 0; background: rgba(28, 22, 15, .55); }
.tpl-svis__txt { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: var(--tpl-head-h); }
.tpl-svis__label { font-size: 14px; font-weight: 600; letter-spacing: .2em; color: #e6d8c2; }
.tpl-svis__title { margin-top: 12px; font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.tpl-svis__desc { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .9); }

/* ===== 위치 표시 + 2차 탭 ===== */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tpl-snb__path ol { display: flex; align-items: center; font-size: 14px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-snb__path li + li::before { content: '›'; margin: 0 10px; color: #a8a196; }
.tpl-snb__path a:hover { color: var(--tpl-ink); }
.tpl-snb__path a[aria-current] { color: var(--tpl-ink); font-weight: 600; }
.tpl-snb__tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tpl-snb__tabs::-webkit-scrollbar { display: none; }
.tpl-snb__tabs ul { display: flex; gap: 40px; white-space: nowrap; }
.tpl-snb__tabs a { position: relative; display: block; padding: 24px 0; font-size: 17px; font-weight: 500; color: var(--tpl-mute); }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tpl-sand); transform: scaleX(0); transition: transform .3s var(--tpl-ease); }
.tpl-snb__tabs a[aria-current] { color: var(--tpl-ink); font-weight: 700; }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
@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-snb__tabs a:focus-visible { outline-offset: -4px; }

/* ===== 인사말 ===== */
.tpl-greet__body { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.tpl-greet__img { aspect-ratio: 4 / 5; overflow: hidden; background: #f1eee9; }
.tpl-greet__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-greet__lead { margin-bottom: 24px; font-size: 24px; font-weight: 600; line-height: 1.55; color: var(--tpl-ink); }
.tpl-greet__txt p + p { margin-top: 18px; }
.tpl-greet__txt p:not(.tpl-greet__lead):not(.tpl-greet__sign) { font-size: 17px; line-height: 1.85; }
.tpl-greet__sign { display: flex; align-items: baseline; justify-content: flex-end; gap: 16px; margin-top: 48px !important; padding-top: 28px; border-top: 1px solid var(--tpl-line); }
.tpl-greet__sign span { font-size: 16px; color: var(--tpl-mute); }
.tpl-greet__sign strong { font-size: 26px; font-weight: 700; color: var(--tpl-ink); letter-spacing: .1em; }

/* ===== 회사 개요 ===== */
.tpl-ov { background: var(--tpl-soft); }
.tpl-stats--wide { margin-bottom: 64px; }
.tpl-stats--wide > div { padding-top: 28px; padding-bottom: 8px; }
.tpl-ov__table { border-top: 1px solid var(--tpl-ink); font-size: 17px; }
.tpl-ov__table th, .tpl-ov__table td { padding: 20px 24px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-ov__table th { width: 200px; font-weight: 600; color: var(--tpl-ink); background: #fff; }
.tpl-ov__table td { background: #fff; }

@media (max-width: 1024px) {
  .tpl-svis { height: 380px; }
  .tpl-svis__title { font-size: 46px; }
  .tpl-snb__inner { flex-direction: column-reverse; align-items: stretch; gap: 0; padding: 0; }
  .tpl-snb__path { padding: 14px var(--tpl-gutter); border-top: 1px solid var(--tpl-line); }
  .tpl-snb__tabs ul { gap: 32px; padding: 0 var(--tpl-gutter); }
  .tpl-snb__tabs a { padding: 18px 0; }
  .tpl-greet__body { gap: 48px; }
}
@media (max-width: 768px) {
  .tpl-svis { height: 320px; }
  .tpl-svis__title { font-size: 36px; }
  .tpl-svis__desc { font-size: 16px; }
  .tpl-greet__body { grid-template-columns: 1fr; }
  .tpl-greet__img { aspect-ratio: 4 / 3; }
  .tpl-greet__lead { font-size: 20px; }
  .tpl-ov__table { font-size: 15px; }
  .tpl-ov__table th { width: 96px; }
  .tpl-ov__table th, .tpl-ov__table td { padding: 16px 12px; }
}

/* ==========================================================================
   서브페이지 추가 (2026-11-22) — 새 서브 화면 33장의 부품입니다. 위의 기존 줄은 고치지 않았습니다.
   ========================================================================== */
.tpl-sec--soft { background: var(--tpl-soft); }
.tpl-sec--paper { background: var(--tpl-paper); }
.tpl-lead { max-width: 920px; font-size: 20px; line-height: 1.75; color: var(--tpl-ink); }
.tpl-prose p { font-size: 17px; line-height: 1.85; }
.tpl-prose p + p { margin-top: 16px; }
.tpl-h3 { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-subhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tpl-note { margin-top: 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-gap { margin-top: 96px; }
.tpl-gap > .tpl-h3 { margin-bottom: 24px; }
.tpl-form__note { margin-bottom: 24px; font-size: 15px; color: var(--tpl-mute); }
.tpl-btn--sand { background: var(--tpl-sand); color: #fff; }
.tpl-btn--sand:hover { background: var(--tpl-sand-t); }
.tpl-btn--block { width: 100%; }
.tpl-btn--sm { height: 48px; padding: 0 20px; font-size: 15px; }
.tpl-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tpl-btns--center { justify-content: center; }
.tpl-btns--between { justify-content: space-between; }
.tpl-tag { display: inline-block; padding: 1px 9px; border: 1px solid var(--tpl-line); border-radius: 2px; font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--tpl-sand-t); white-space: nowrap; vertical-align: middle; }
.tpl-tag--fill { background: var(--tpl-sand); border-color: var(--tpl-sand); color: #fff; }
.tpl-tag--ink { background: var(--tpl-ink); border-color: var(--tpl-ink); color: #fff; }
.tpl-tag--mute { color: var(--tpl-mute); }

/* ----- 표 (좁은 화면에서는 표만 가로로 밀어 봅니다) ----- */
.tpl-tscroll { overflow-x: auto; }
.tpl-dtable { width: 100%; border-top: 1px solid var(--tpl-ink); font-size: 16px; }
.tpl-dtable th, .tpl-dtable td { padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-dtable thead th { background: var(--tpl-soft); font-size: 15px; font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }

/* ----- 사진 + 글 ----- */
.tpl-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-split--rev > :first-child { order: 2; }
.tpl-split__img { aspect-ratio: 4 / 5; overflow: hidden; background: #f1eee9; }
.tpl-split__img--land { aspect-ratio: 4 / 3; }
.tpl-split__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-split .tpl-stats { margin-top: 48px; }
.tpl-split .tpl-lead { margin-bottom: 20px; }

/* ----- 비전 문장 · 번호 목록(가치) ----- */
.tpl-vstate strong { display: block; font-size: 42px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-vstate p { max-width: 860px; margin-top: 24px; font-size: 18px; line-height: 1.8; }
.tpl-vstate__img { aspect-ratio: 21 / 8; margin-top: 64px; overflow: hidden; background: #f1eee9; }
.tpl-vstate__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-nlist > li { display: grid; grid-template-columns: 96px minmax(0, 4fr) minmax(0, 7fr); gap: 16px 40px; padding: 36px 0; border-top: 1px solid var(--tpl-line); }
.tpl-nlist > li:first-child { border-top-color: var(--tpl-ink); }
.tpl-nlist > li:last-child { border-bottom: 1px solid var(--tpl-line); }
.tpl-nlist__no { padding-top: 6px; font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--tpl-sand-t); }
.tpl-nlist__tit { font-size: 24px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-nlist__desc { font-size: 17px; line-height: 1.8; }

/* ----- 연혁 ----- */
.tpl-tl__group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 80px; padding: 64px 0; border-top: 1px solid var(--tpl-line); }
.tpl-tl__group:first-child { border-top-color: var(--tpl-ink); }
.tpl-tl__era { position: sticky; top: calc(var(--tpl-head-h) + 32px); align-self: start; }
.tpl-tl__range { font-size: 44px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; }
.tpl-tl__name { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--tpl-sand-t); }
.tpl-tl__era img { width: 100%; aspect-ratio: 4 / 3; margin-top: 28px; object-fit: cover; }
.tpl-tl__list > li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; padding: 18px 0; }
.tpl-tl__list > li + li { border-top: 1px solid var(--tpl-line); }
.tpl-tl__y { font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-tl__list ul li { position: relative; padding-left: 16px; font-size: 17px; }
.tpl-tl__list ul li + li { margin-top: 6px; }
.tpl-tl__list ul li::before { content: ''; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--tpl-sand); }

/* ----- 조직도 ----- */
.tpl-org { text-align: center; }
.tpl-org__ceo { display: inline-block; min-width: 240px; padding: 22px 32px; background: var(--tpl-sand); color: #fff; font-size: 20px; font-weight: 700; }
.tpl-org__line { width: 1px; height: 40px; margin: 0 auto; background: var(--tpl-ink); }
.tpl-org__staff { display: inline-block; min-width: 200px; padding: 14px 28px; border: 1px solid var(--tpl-sand); color: var(--tpl-sand-t); font-weight: 600; }
.tpl-org__divs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 40px; }
.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; left: 50%; top: -40px; width: 1px; height: 40px; background: var(--tpl-ink); }
.tpl-org__div h3 { padding: 18px 12px; border: 1px solid var(--tpl-ink); font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__div li { padding: 12px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }

/* ----- 오시는 길 : 카카오 지도 (상자 overflow:hidden + iframe 을 왼쪽으로 밀어 카카오 화면 왼쪽 검색 창을 가립니다) ----- */
.tpl-loc { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 56px; align-items: start; }
.tpl-mapbox { position: relative; height: 560px; overflow: hidden; background: #eeebe5; }
.tpl-mapbox iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-mapbox__link { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--tpl-ink); color: #fff; font-size: 15px; font-weight: 500; }
.tpl-mapbox__link .tpl-ic { width: 16px; height: 16px; }
.tpl-mapbox__link:hover { background: var(--tpl-sand); }
.tpl-infodl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-infodl > div:first-child { border-top: 1px solid var(--tpl-ink); }
.tpl-infodl dt { font-weight: 600; color: var(--tpl-ink); }
.tpl-infodl a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ----- 사업분야 : 주요 업무 · 단계 흐름 · 안내 상자 ----- */
.tpl-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.tpl-work > li { padding: 32px 0 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-work__no { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--tpl-sand-t); }
.tpl-work__tit { margin-top: 10px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); letter-spacing: -.02em; }
.tpl-work__desc { margin-top: 12px; font-size: 17px; line-height: 1.8; }
.tpl-work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tpl-flow { display: grid; grid-template-columns: repeat(var(--tpl-n, 4), minmax(0, 1fr)); gap: 0 28px; }
.tpl-flow > li { padding-top: 24px; border-top: 2px solid var(--tpl-line); }
.tpl-flow > li:first-child { border-top-color: var(--tpl-sand); }
.tpl-flow__no { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--tpl-sand-t); }
.tpl-flow__tit { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-flow__desc { margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--tpl-mute); }
.tpl-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 48px 56px; background: var(--tpl-paper); }
.tpl-band__tit { font-size: 26px; font-weight: 700; color: var(--tpl-ink); letter-spacing: -.02em; }
.tpl-band__desc { margin-top: 8px; font-size: 17px; color: var(--tpl-text); }
.tpl-band .tpl-btns { flex: none; }

/* ----- 제품 목록 · 제품 보기 ----- */
.tpl-pbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--tpl-line); }
.tpl-pbar__count { font-size: 15px; color: var(--tpl-mute); }
.tpl-pbar__count b { color: var(--tpl-ink); font-weight: 700; }
.tpl-pbar select { width: 150px; height: 44px; }
.tpl-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.tpl-pcard a { display: block; }
.tpl-pcard__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f1eee9; }
.tpl-pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tpl-ease); }
.tpl-pcard a:hover .tpl-pcard__img img { transform: scale(1.04); }
.tpl-pcard__cat { display: block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--tpl-sand-t); }
.tpl-pcard__name { display: block; margin-top: 4px; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-pcard__spec { display: block; margin-top: 4px; font-size: 15px; color: var(--tpl-mute); }
.tpl-pview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.tpl-pview__main { aspect-ratio: 1 / 1; overflow: hidden; background: #f1eee9; }
.tpl-pview__main img, .tpl-pview__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tpl-pview__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.tpl-pview__thumbs li { aspect-ratio: 1 / 1; overflow: hidden; background: #f1eee9; }
.tpl-pview__cat { font-size: 15px; font-weight: 600; color: var(--tpl-sand-t); }
.tpl-pview__name { margin-top: 8px; font-size: 32px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-pview__desc { margin-top: 16px; font-size: 17px; line-height: 1.8; }
.tpl-pview .tpl-infodl { margin: 32px 0; }
.tpl-pview .tpl-btns .tpl-btn { flex: 1; }

/* ----- 게시판 : 목록 · 검색 · 쪽 번호 ----- */
.tpl-bbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 20px; }
.tpl-bbar__count { font-size: 15px; color: var(--tpl-mute); }
.tpl-bbar__count b { font-weight: 700; color: var(--tpl-ink); }
.tpl-search { display: flex; gap: 8px; }
.tpl-search .tpl-select { width: 110px; height: 48px; }
.tpl-search .tpl-input { width: 240px; height: 48px; }
.tpl-blist { width: 100%; table-layout: fixed; border-top: 1px solid var(--tpl-ink); }
.tpl-blist th { padding: 16px 12px; background: var(--tpl-soft); border-bottom: 1px solid var(--tpl-line); font-size: 15px; font-weight: 600; color: var(--tpl-ink); }
.tpl-blist td { padding: 20px 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; font-size: 15px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-blist .tpl-blist__tit { text-align: left; font-size: 17px; color: var(--tpl-ink); overflow: hidden; text-overflow: ellipsis; }
.tpl-blist__tit a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-blist__tit .tpl-tag { margin-right: 8px; }
.tpl-blist__re { padding-left: 18px; color: var(--tpl-text); }
.tpl-blist tr.is-notice td { background: #fbfaf7; }
.tpl-blist .w-num { width: 90px; } .tpl-blist .w-cat { width: 130px; } .tpl-blist .w-who { width: 120px; }
.tpl-blist .w-date { width: 130px; } .tpl-blist .w-hit { width: 90px; } .tpl-blist .w-state { width: 120px; }
.tpl-bfoot { display: flex; justify-content: flex-end; margin-top: 24px; }
.tpl-pager { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 48px; }
.tpl-pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 6px; font-size: 15px; color: var(--tpl-mute); }
.tpl-pager a:hover { color: var(--tpl-ink); }
.tpl-pager a[aria-current] { font-weight: 700; color: var(--tpl-ink); box-shadow: inset 0 -2px 0 var(--tpl-sand); }
.tpl-pager .tpl-ic { width: 18px; height: 18px; }

/* ----- 보도자료 목록(사진 + 글) ----- */
.tpl-mlist { border-top: 1px solid var(--tpl-ink); }
.tpl-mlist > li { border-bottom: 1px solid var(--tpl-line); }
.tpl-mlist a { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px 0; }
.tpl-mlist__img { aspect-ratio: 16 / 10; overflow: hidden; background: #f1eee9; }
.tpl-mlist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tpl-ease); }
.tpl-mlist a:hover .tpl-mlist__img img { transform: scale(1.04); }
.tpl-mlist__meta { font-size: 14px; color: var(--tpl-mute); }
.tpl-mlist__tit { display: block; margin-top: 8px; overflow: hidden; font-size: 22px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-mlist__desc { display: -webkit-box; margin-top: 10px; overflow: hidden; font-size: 16px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ----- 게시판 : 보기 ----- */
.tpl-bview__head { padding: 32px 0 28px; border-top: 1px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-bview__head .tpl-tag { margin-bottom: 12px; }
.tpl-bview__title { font-size: 30px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-bview__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-bview__meta b { margin-right: 6px; font-weight: 600; color: var(--tpl-text); }
.tpl-bview__body { padding: 56px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; line-height: 1.9; }
.tpl-bview__body > * + * { margin-top: 18px; }
.tpl-bview__body h3 { margin-top: 40px; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-bview__body ul li { position: relative; padding-left: 16px; }
.tpl-bview__body ul li::before { content: ''; position: absolute; left: 0; top: .9em; width: 6px; height: 1px; background: var(--tpl-sand); }
.tpl-bview__body figure { margin-top: 32px; }
.tpl-bview__body figure img { width: 100%; max-height: 640px; object-fit: cover; }
.tpl-bview__body figcaption { margin-top: 10px; font-size: 14px; color: var(--tpl-mute); }
.tpl-files { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15px; }
.tpl-files b { font-weight: 600; color: var(--tpl-ink); }
.tpl-files a { display: inline-flex; align-items: center; gap: 6px; }
.tpl-files a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-files .tpl-ic { width: 17px; height: 17px; color: var(--tpl-sand-t); }
.tpl-bnav a { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-bnav__lab { font-weight: 600; color: var(--tpl-ink); }
.tpl-bnav__tit { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tpl-bnav__date { font-size: 15px; color: var(--tpl-mute); }
.tpl-bnav a:hover .tpl-bnav__tit { text-decoration: underline; text-underline-offset: 4px; }
.tpl-bview__btns { margin-top: 32px; }
.tpl-answer { padding: 40px 48px; background: var(--tpl-paper); }
.tpl-answer__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__head strong { font-size: 20px; color: var(--tpl-ink); }
.tpl-answer .tpl-prose { margin-top: 20px; }

/* ----- 입력 화면(폼) ----- */
.tpl-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.tpl-field { min-width: 0; }
.tpl-field--full { grid-column: 1 / -1; }
.tpl-field > label, .tpl-field__lab { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--tpl-ink); }
.tpl-req { margin-left: 3px; color: #a3442c; }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #cfc8bb; border-radius: 2px; background: #fff; font: inherit; font-size: 16px; color: var(--tpl-ink); }
.tpl-textarea { height: 220px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-sand); outline: 2px solid var(--tpl-sand); outline-offset: 0; }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #8a847a; }
.tpl-inrow { display: flex; gap: 8px; }
.tpl-inrow .tpl-input { flex: 1; min-width: 0; }
.tpl-inrow .tpl-btn { flex: none; height: 52px; }
.tpl-checks { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.tpl-check input { width: 18px; height: 18px; accent-color: var(--tpl-sand); flex: none; }
.tpl-form__sec + .tpl-form__sec { margin-top: 64px; }
.tpl-form__sec > .tpl-h3 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--tpl-ink); font-size: 22px; }
.tpl-agree { margin-top: 32px; }
.tpl-agree__box { max-height: 168px; overflow-y: auto; padding: 20px 24px; border: 1px solid var(--tpl-line); background: var(--tpl-soft); font-size: 15px; line-height: 1.8; }
.tpl-agree__box p + p { margin-top: 8px; }
.tpl-agree .tpl-check { margin-top: 14px; }
.tpl-agree + .tpl-agree { margin-top: 28px; }
.tpl-form__btns { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }
.tpl-form__btns .tpl-btn { min-width: 160px; }
.tpl-captcha { display: flex; align-items: center; gap: 12px; }
.tpl-captcha__code { flex: none; display: inline-flex; align-items: center; height: 52px; padding: 0 20px; background: var(--tpl-paper); font-size: 20px; font-weight: 700; letter-spacing: .3em; color: var(--tpl-ink); }
.tpl-ibar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 72px; border-top: 1px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-ibar > div { padding: 28px 32px; }
.tpl-ibar > div + div { border-left: 1px solid var(--tpl-line); }
.tpl-ibar dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-ibar dd { margin-top: 4px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }

/* ----- 회원 : 단계 · 로그인 상자 · 가입 완료 · 계정 찾기 ----- */
.tpl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 64px; border-bottom: 1px solid var(--tpl-line); }
.tpl-steps li { padding: 18px 8px; text-align: center; font-size: 16px; font-weight: 600; color: var(--tpl-mute); white-space: nowrap; }
.tpl-steps li span { margin-right: 8px; font-size: 14px; letter-spacing: .1em; }
.tpl-steps li.is-on { color: var(--tpl-ink); box-shadow: inset 0 -2px 0 var(--tpl-sand); }
.tpl-mbox { max-width: 480px; margin: 0 auto; }
.tpl-mbox__tit { font-size: 34px; font-weight: 700; text-align: center; color: var(--tpl-ink); }
.tpl-mbox__desc { margin: 10px 0 40px; text-align: center; color: var(--tpl-mute); }
.tpl-mbox .tpl-field + .tpl-field { margin-top: 18px; }
.tpl-mbox__opt { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 28px; }
.tpl-mbox__links { display: flex; justify-content: center; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 15px; }
.tpl-mbox__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-done { padding: 72px 40px; border-top: 1px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done__tit { font-size: 34px; font-weight: 700; color: var(--tpl-ink); }
.tpl-done__desc { margin-top: 14px; color: var(--tpl-mute); }
.tpl-done .tpl-infodl { max-width: 520px; margin: 40px auto; text-align: left; }
.tpl-find { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.tpl-find__box { padding: 48px; border: 1px solid var(--tpl-line); }
.tpl-find__box .tpl-h3 { margin-bottom: 8px; }
.tpl-find__box > p { margin-bottom: 28px; color: var(--tpl-mute); }
.tpl-find__box .tpl-field + .tpl-field { margin-top: 18px; }
.tpl-find__box .tpl-checks { margin-bottom: 24px; }
.tpl-find__box .tpl-btn { margin-top: 28px; }

/* ----- 자주 묻는 질문 (details · summary, 스크립트 없음) ----- */
.tpl-faq + .tpl-faq { margin-top: 72px; }
.tpl-faq > .tpl-h3 { margin-bottom: 20px; font-size: 22px; }
.tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq details:first-of-type { border-top: 1px solid var(--tpl-ink); }
.tpl-faq summary { display: flex; align-items: center; gap: 16px; padding: 24px 0; font-size: 18px; font-weight: 600; color: var(--tpl-ink); cursor: pointer; list-style: none; }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary > span { flex: 1; }
.tpl-faq summary b, .tpl-faq__a b { flex: none; width: 24px; font-weight: 700; color: var(--tpl-sand-t); }
.tpl-faq summary .tpl-ic { transition: transform .3s; }
.tpl-faq details[open] summary .tpl-ic { transform: rotate(180deg); }
.tpl-faq__a { display: flex; gap: 16px; padding: 0 0 28px; font-size: 17px; line-height: 1.8; }

/* ----- 갤러리 목록 · 보기 ----- */
.tpl-ggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.tpl-gcard a { display: block; }
.tpl-gcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f1eee9; }
.tpl-gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tpl-ease); }
.tpl-gcard a:hover .tpl-gcard__img img { transform: scale(1.04); }
.tpl-gcard__meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--tpl-mute); }
.tpl-gcard__meta span:first-child { font-weight: 600; color: var(--tpl-sand-t); }
.tpl-gcard__tit { display: block; margin-top: 6px; overflow: hidden; font-size: 18px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-gcard__desc { display: -webkit-box; margin-top: 6px; overflow: hidden; font-size: 15px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-gview__main { aspect-ratio: 16 / 9; overflow: hidden; background: #f1eee9; }
.tpl-gview__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tpl-gview__main img { width: 100%; height: 100%; object-fit: cover; }
.tpl-gview__sub img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ----- 약관 · 정책 ----- */
.tpl-policy { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 80px; align-items: start; }
.tpl-policy__toc { position: sticky; top: calc(var(--tpl-head-h) + 32px); padding-top: 20px; border-top: 1px solid var(--tpl-ink); }
.tpl-policy__toc li + li { margin-top: 8px; }
.tpl-policy__toc a { font-size: 15px; color: var(--tpl-mute); }
.tpl-policy__toc a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-policy__date { padding: 20px 24px; background: var(--tpl-paper); font-size: 16px; color: var(--tpl-ink); }
.tpl-policy__body section { padding-top: 40px; scroll-margin-top: calc(var(--tpl-head-h) + 20px); }
.tpl-policy__body h2 { margin-bottom: 14px; font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-policy__body p, .tpl-policy__body li { font-size: 16px; line-height: 1.85; }
.tpl-policy__body ol { margin-top: 8px; padding-left: 4px; }
.tpl-policy__body ol li + li { margin-top: 4px; }
.tpl-policy__body .tpl-dtable { margin-top: 12px; font-size: 15px; }

@media (max-width: 1280px) {
  .tpl-split, .tpl-vstate { gap: 56px; }
  .tpl-pview, .tpl-policy { gap: 48px; }
  .tpl-pview__name { font-size: 28px; }
  .tpl-split .tpl-stats b { font-size: 30px; }
  .tpl-flow[style*="--tpl-n: 5"] { gap: 0 20px; }
}
@media (max-width: 1024px) {
  .tpl-split { gap: 48px; }
  .tpl-lead { font-size: 18px; }
  .tpl-vstate strong { font-size: 34px; }
  .tpl-nlist > li { grid-template-columns: 64px minmax(0, 1fr); }
  .tpl-nlist__desc { grid-column: 2; }
  .tpl-tl__group { grid-template-columns: minmax(0, 1fr); padding: 48px 0; }
  .tpl-tl__era { position: static; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; }
  .tpl-tl__era img { display: none; }
  .tpl-org__divs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 0; }
  .tpl-org__divs::before, .tpl-org__div::before { display: none; }
  .tpl-loc { grid-template-columns: minmax(0, 1fr); }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .tpl-band { flex-direction: column; align-items: flex-start; padding: 40px; }
  .tpl-ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-policy { grid-template-columns: minmax(0, 1fr); }
  .tpl-policy__toc { display: none; }
  .tpl-find { grid-template-columns: minmax(0, 1fr); }
  .tpl-blist .w-who, .tpl-blist .w-hit { width: 100px; }
}
@media (max-width: 768px) {
  .tpl-gap { margin-top: 64px; }
  .tpl-h3 { font-size: 22px; }
  .tpl-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tpl-split--rev > :first-child { order: 0; }
  .tpl-split__img { aspect-ratio: 4 / 3; }
  .tpl-vstate strong { font-size: 26px; }
  .tpl-vstate p { font-size: 16px; }
  .tpl-vstate__img { aspect-ratio: 16 / 9; margin-top: 40px; }
  .tpl-nlist > li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 0; }
  .tpl-nlist__desc { grid-column: auto; }
  .tpl-nlist__tit { font-size: 20px; }
  .tpl-tl__range { font-size: 32px; }
  .tpl-tl__list > li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .tpl-tl__y { font-size: 18px; }
  .tpl-tl__list ul li { font-size: 16px; }
  .tpl-org__ceo { min-width: 200px; }
  .tpl-mapbox { height: 460px; }
  .tpl-dtable { font-size: 15px; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 12px; }
  .tpl-tscroll .tpl-dtable { min-width: 600px; }
  .tpl-work { grid-template-columns: minmax(0, 1fr); }
  .tpl-flow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tpl-band { padding: 32px 24px; }
  .tpl-band__tit { font-size: 22px; }
  .tpl-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .tpl-pcard__name { font-size: 17px; }
  .tpl-pcard__spec { font-size: 14px; }
  .tpl-pview { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tpl-pview__name { font-size: 26px; }
  .tpl-bbar { flex-direction: column; align-items: stretch; }
  .tpl-search .tpl-select { width: 96px; flex: none; }
  .tpl-search .tpl-input { width: auto; flex: 1; min-width: 0; }
  .tpl-search .tpl-btn { flex: none; }
  .tpl-blist .tpl-m-hide { display: none; }
  .tpl-blist .w-date { width: 104px; }
  .tpl-blist .w-state { width: 92px; }
  .tpl-blist .w-cat { width: 92px; }
  .tpl-blist td { padding: 16px 8px; font-size: 14px; }
  .tpl-blist .tpl-blist__tit { font-size: 16px; }
  .tpl-mlist a { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .tpl-mlist__tit { font-size: 17px; margin-top: 2px; }
  .tpl-mlist__desc { font-size: 14px; }
  .tpl-bview__title { font-size: 24px; }
  .tpl-bview__body { padding: 40px 0; font-size: 16px; }
  .tpl-bnav a { grid-template-columns: 72px minmax(0, 1fr); }
  .tpl-bnav__date { display: none; }
  .tpl-answer { padding: 28px 20px; }
  .tpl-form__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tpl-form__btns .tpl-btn { min-width: 0; flex: 1; }
  .tpl-ibar { grid-template-columns: minmax(0, 1fr); margin-bottom: 48px; }
  .tpl-ibar > div { padding: 20px 4px; }
  .tpl-ibar > div + div { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-ibar dd { font-size: 20px; }
  .tpl-steps li span { display: block; margin: 0; }
  .tpl-mbox__tit, .tpl-done__tit { font-size: 28px; }
  .tpl-done { padding: 48px 4px; }
  .tpl-find__box { padding: 32px 20px; }
  .tpl-faq summary { font-size: 16px; padding: 20px 0; }
  .tpl-faq__a { font-size: 16px; }
  .tpl-ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .tpl-gcard__tit { font-size: 16px; }
  .tpl-gcard__desc { font-size: 14px; }
  .tpl-gview__sub { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .tpl-org__divs { grid-template-columns: minmax(0, 1fr); }
  .tpl-ggrid { grid-template-columns: minmax(0, 1fr); }
  .tpl-captcha { flex-wrap: wrap; }
}
fieldset.tpl-field { min-width: 0; margin: 0; padding: 0; border: 0; }
legend.tpl-field__lab { padding: 0; }
.tpl-input[type="file"] { height: auto; padding: 12px 16px; font-size: 15px; }
@media (max-width: 768px) { .tpl-search .tpl-input { flex: 1 1 0; width: 0; } }

[hidden] { display: none !important; }

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz053) · 퀵메뉴 · 팝업입니다.
   위의 원본 CSS 는 고치지 않았습니다. 색 · 글꼴은 원본 common.css 의 토큰(모래 갈색 · 옅은 모래 · 짙은 갈색 · 먹색)을 씁니다.
   원본 메인에는 가로 100% 배경 사진 띠가 없습니다(일하는 방식은 반폭 사진, 문의 띠는 짙은 갈색 단색). 그래서 고정 배경 규칙은 두지 않습니다.
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 CI 색 그대로 둡니다. 글자는 머리글 색(맨 위 투명 머리글 흰색 · 흰 머리글 먹색)을 따릅니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.tpl-logo > a { display: inline-flex; align-items: center; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg { height: 26px; }
/* 콘솔에서 밝은 바탕용 · 어두운 바탕용 로고를 둘 다 올리면, 머리글이 투명(맨 위 · 메뉴 닫힘)일 때만 어두운 바탕용을 냅니다 */
.tpl-header .logo-img--dark { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open):not(.tpl-header--solid) .tpl-logo .logo-img:not(.logo-img--dark) { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open):not(.tpl-header--solid) .tpl-logo .logo-img--dark { display: block; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 머리글 로그인 · 회원가입 : 로그인 중이면 정보수정 · 로그아웃이 같은 자리에 나옵니다 ---------- */
.tpl-util { gap: 8px; }

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 #allweb-map 에 그립니다. 키가 없으면 카카오맵 화면을 원본처럼 왼쪽 검색 창을 가려 넣습니다 ---------- */
.tpl-contact__map .biz-map, .tpl-mapbox .biz-map { position: absolute; inset: 0; overflow: hidden; }
.biz-map iframe.biz-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 2px; background: var(--tpl-sand); font-size: 16px; font-weight: 600; color: #fff; white-space: nowrap; transition: background-color .25s; }
.loc-map-go:hover { background: var(--tpl-ink); }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본은 지도 위 「카카오맵 큰 지도 보기」 단추가 같은 일을 합니다 */
.tpl-mapbox__link { z-index: 2; }

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

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-blist td.tpl-blist__empty { padding: 64px 0; text-align: center; color: var(--tpl-mute); white-space: normal; }
.tpl-empty { padding: 64px 0; border-top: 1px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); }
.tpl-bview__body img { max-width: 100%; height: auto; }
.tpl-bview__body iframe { max-width: 100%; }
.tpl-bview__body > p > img { display: block; width: 100%; height: auto; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.tpl-bnav__none { color: var(--tpl-mute); }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-ink); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt__tit b { color: var(--tpl-sand-t); }
.tpl-cmt__list { margin-top: 12px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-ink); }
.tpl-cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.tpl-cmt__form .tpl-textarea { min-height: 120px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
.tpl-answer__del { margin-left: auto; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.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-textarea { min-height: 120px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { padding: 0; border: 0; background: none; font: 600 14px 'Pretendard', sans-serif; color: var(--tpl-sand-t); 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; margin-top: 8px; }
.mb-file-now img { max-width: 120px; height: auto; }
.mb-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-help { margin-top: 6px; font-size: 14px; color: var(--tpl-mute); }
.tpl-input[readonly] { background: var(--tpl-soft); }
/* 자주 묻는 질문 : 질문이 없을 때 · 관리자 수정 링크만 더합니다 */
.tpl-faq__a a { color: var(--tpl-sand-t); text-decoration: underline; text-underline-offset: 3px; }
.tpl-faq__empty { padding: 48px 0; text-align: center; color: var(--tpl-mute); }

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz053(가 9 · 나 1 · 다 1 · 라 4 · 마 3, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 9 : 1차에 올리면 원본의 칸 폭 밑줄 대신 글자 아래 가운데에 칸 폭 1/3 의 모래색 짧은 막대(3px)가 생깁니다. 서브페이지 현재 메뉴도 같은 막대이고, 다른 1차에 올리면 거둡니다(표시는 늘 하나, 원본 규칙 그대로).
   나 1 : 원본의 「올린 1차의 2차만 가로 한 줄」 대신, 1차마다 그 아래에 2차 열을 세우는 전체 메가입니다. 열 폭은 그 1차 칸(li) 폭이고, 열 사이를 원본 선 색 세로선으로 나눕니다.
   다 1 : 원본처럼 흰 패널입니다. 2차 열에는 배경색 · 올렸을 때 배경이 없습니다.
   라 4 : 패널(.tpl-mega__bg)과 2차 열 상자는 원본과 같은 시간 · 곡선으로 함께 펼쳐지고(패널 밖 글자 0), 열 안의 2차 줄은 열마다 0.06초씩 늦게 위에서 내려옵니다.
   마 3 : 2차에 올리면 모래색 글자 + 밑줄입니다(원본 그대로). ---------- */
.tpl-gnb__item { position: relative; }
.tpl-gnb__link::after { left: 33.333%; right: 33.333%; height: 3px; }
.tpl-gnb__sub { left: 0; right: 0; }
.tpl-gnb__item + .tpl-gnb__item .tpl-gnb__sub { box-shadow: inset 1px 0 0 var(--tpl-line); }
/* 열 폭이 1차 칸(li) 폭이라, 1280px 이하에서 원본 여백(18px)이면 가장 긴 2차 「입점 · 제휴 문의」(99px)가 「문의하기」 칸(95px)을 넘어 세로선에 걸립니다. 그 폭에서만 여백을 22px 로 넓힙니다 */
@media (min-width: 1025px) and (max-width: 1280px) { :root { --tpl-gnb-pad: 22px; } }
.tpl-gnb__subin { width: auto; max-width: none; padding: 28px 0 0; }   /* 위 여백 = js/main.js 의 megaPad(28px). 패널 높이는 가장 긴 열 + 위아래 28px 입니다 */
.tpl-gnb__sublist { position: static; display: block; transform: translateY(-14px); opacity: 0; text-align: center; transition: transform .35s var(--tpl-ease), opacity .25s; }
.tpl-gnb__sublist li + li { margin-top: 4px; }
.tpl-gnb__sublist a { font-size: 16px; }
/* 메뉴가 열리면 모든 1차의 2차 열이 보입니다(원본은 올린 1차만 보였습니다) */
.is-mega-open .tpl-gnb__sub { visibility: visible; opacity: 1; }
.is-mega-open .tpl-gnb__sublist { transform: none; opacity: 1; }
.is-mega-open .tpl-gnb__item:nth-child(2) .tpl-gnb__sublist { transition-delay: .06s; }
.is-mega-open .tpl-gnb__item:nth-child(3) .tpl-gnb__sublist { transition-delay: .12s; }
.is-mega-open .tpl-gnb__item:nth-child(4) .tpl-gnb__sublist { transition-delay: .18s; }
.is-mega-open .tpl-gnb__item:nth-child(n + 5) .tpl-gnb__sublist { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .tpl-mega__bg, .tpl-gnb__sub, .tpl-gnb__sublist, .tpl-gnb__link::after { transition: none !important; }
  .tpl-gnb__sublist { transform: none; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz053(배치 4 · 효과 5). 오른쪽 아래 「맨 위로」 바로 위에 짙은 갈색(원본 문의 띠 색) 정사각 단추 하나가 떠 있고,
   누르면 흰 칸들이 위로 펼쳐지며 단추의 + 가 × 로 돌아갑니다. 처음에는 닫혀 있습니다(여닫기는 js/main.js).
   칸은 모래색 아이콘 + 이름이 한 줄로 늘 보이는 흰 직각 칸이고, 올리거나 키보드로 가면 칸 왼쪽에 모래색 세로줄이 위에서 아래로 그어지고 이름에 밑줄이 그어집니다(효과 5).
   터치 화면(hover: none)은 한 번 누르면 바로 이동합니다. 768px 이하는 이름을 감추고 44px 아이콘 칸만 둡니다(이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다).
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). 원본의 메인 바로가기 띠(section.tpl-quick)와 이름이 같아 떠 있는 것은 nav.tpl-quick 으로 가립니다 ---------- */
:root { --tpl-qs: 52px; --tpl-qb: 24px; }
nav.tpl-quick { position: fixed; right: 24px; bottom: calc(var(--tpl-qb) + var(--tpl-qs) + 8px); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; padding: 0; border: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
nav.tpl-quick.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
nav.tpl-quick ul { order: -1; display: flex; flex-direction: column; min-width: 196px; max-width: 260px; margin-bottom: 8px; border: 1px solid var(--tpl-line); border-top: 2px solid var(--tpl-brown); background: #fff; visibility: hidden; transition: visibility 0s linear .3s; }
nav.tpl-quick.is-open ul { visibility: visible; transition-delay: 0s; }
nav.tpl-quick li { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--tpl-ease); }
nav.tpl-quick li + li { border-top: 1px solid var(--tpl-line); }
nav.tpl-quick.is-open li { opacity: 1; transform: none; }
nav.tpl-quick.is-open li:nth-last-child(2) { transition-delay: .03s; }
nav.tpl-quick.is-open li:nth-last-child(3) { transition-delay: .06s; }
nav.tpl-quick.is-open li:nth-last-child(n + 4) { transition-delay: .09s; }
nav.tpl-quick a { position: relative; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 18px 0 16px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--tpl-ink); white-space: nowrap; }
nav.tpl-quick a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tpl-sand); transform: scaleY(0); transform-origin: 50% 0; transition: transform .3s var(--tpl-ease); }
nav.tpl-quick a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .3s; }
nav.tpl-quick a .tpl-ic, nav.tpl-quick .tpl-quick__img { flex: none; width: 20px; height: 20px; color: var(--tpl-sand); }
nav.tpl-quick .tpl-quick__img { object-fit: contain; }
nav.tpl-quick a:focus-visible { outline: 2px solid var(--tpl-sand); outline-offset: -2px; }
nav.tpl-quick a:focus-visible::before { transform: scaleY(1); }
nav.tpl-quick a:focus-visible span { text-decoration-color: var(--tpl-sand); }
@media (hover: hover) {
  nav.tpl-quick a:hover::before { transform: scaleY(1); }
  nav.tpl-quick a:hover span { text-decoration-color: var(--tpl-sand); }
}
.tpl-quick__toggle { display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); background: var(--tpl-brown); color: #fff; transition: background-color .3s; }
.tpl-quick__toggle .tpl-ic { width: 24px; height: 24px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
nav.tpl-quick.is-open .tpl-quick__toggle .tpl-ic { transform: rotate(45deg); }
.tpl-quick__toggle:hover, .tpl-quick__toggle:focus-visible { background: var(--tpl-sand); }
/* 맨 위로 : 「정사각 · 검정 · 따로」 입니다. 원본 .tpl-totop(흰 정사각) 자리 그대로 두고 칠만 먹색으로 바꿉니다 */
.tpl-totop { background: var(--tpl-ink); border-color: var(--tpl-ink); color: #fff; }
.tpl-totop:hover, .tpl-totop:focus-visible { background: var(--tpl-sand); border-color: var(--tpl-sand); }
@media (max-width: 768px) {
  :root { --tpl-qs: 46px; --tpl-qb: 16px; }
  nav.tpl-quick { right: 16px; }
  nav.tpl-quick ul { min-width: 0; }
  nav.tpl-quick a { justify-content: center; width: 44px; height: 44px; padding: 0; }
  nav.tpl-quick a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  nav.tpl-quick, nav.tpl-quick *, .tpl-quick__toggle .tpl-ic { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 2px 모서리 · 윗변 모래색 3px · 제목 아래 짧은 모래색 막대 · 모래색 면 단추(원본 .tpl-btn--sand) · 옅은 모래 아래 띠(닫기는 먹색 글자) ---------- */
.tpl-pop__item { border: 1px solid var(--tpl-line); border-top: 3px solid var(--tpl-sand); border-radius: 2px; background: #fff; box-shadow: 0 16px 36px rgba(36, 33, 28, .24); }
.tpl-pop__body { padding: 30px 30px 32px; }
.tpl-pop__title { position: relative; margin: 0 0 16px; padding-bottom: 14px; font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; color: var(--tpl-ink); }
.tpl-pop__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--tpl-sand); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 10px; height: 48px; margin-top: 22px; padding: 0 22px; border-radius: 2px; background: var(--tpl-sand); font-size: 15px; font-weight: 600; color: #fff; transition: background-color .25s; }
.tpl-pop__more::after { content: '→'; font-size: 15px; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-sand-t); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { 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: 600; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { color: var(--tpl-sand-t); }
