/* ==========================================================================
   올웹 비즈니스 템플릿 57 — 시안 57(단우산업개발, 건축 설계 · 시공 관리 · 리모델링 · 시설 운영 종합건설)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 다만 비주얼 아래 바로가기 띠의 클래스 .tpl-quick 은 콘솔 퀵메뉴(<nav class="tpl-quick">, 지침 3-4)와 이름이 겹쳐
   .tpl-shortcut 으로만 바꿨습니다(규칙 값은 그대로, biz036 · biz052 · biz055 와 같은 방법). 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz057) · 퀵메뉴 · 팝업 · 지도는 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

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

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 공통 라벨 · 제목 · 버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼, 스크롤 등장 효과를 담습니다.
   색은 흑연(제목 · 어두운 면) · 콘크리트 회색(옅은 면) · 흰 바탕 · 구리빛 갈색(라벨 한 곳씩)만 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexSansKR-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 500; font-display: swap; src: url('../fonts/IBMPlexSansKR-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans KR'; font-weight: 700; font-display: swap; src: url('../fonts/IBMPlexSansKR-Bold.subset.woff2') format('woff2'); }

:root {
  --tpl-graphite: #3a3a40;        /* 흑연 : 주색 · 어두운 띠 · 버튼 */
  --tpl-ink: #222226;             /* 제목 글자 */
  --tpl-text: #45454b;            /* 본문 글자 */
  --tpl-mute: #6b6b72;            /* 보조 글자 */
  --tpl-line: #dcdbd7;            /* 얇은 선 */
  --tpl-pale: #f1f0ed;            /* 콘크리트처럼 옅은 회색 면 */
  --tpl-accent: #8a5a2e;          /* 구리빛 갈색 : 라벨 · 강조(흰 바탕 대비 6.0:1) */
  --tpl-accent-on-dark: #d9a774;  /* 어두운 면 위 강조 */
  --tpl-foot: #1f1f23;            /* 푸터 */
  --tpl-font: 'IBM Plex Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.22, .7, .25, 1);
  --tpl-hd-h: 84px;               /* 헤더 높이 */
  --tpl-gnb-gap: 72px;            /* 1차 메뉴 글자 사이 간격(li 양옆에 절반씩). 2차 열은 li 안에 있어 열 폭 = li 폭입니다 */
  --tpl-side: 56px;               /* 화면 좌우 여백 */
}

body { background: #fff; color: var(--tpl-text); font: 400 18px/1.75 var(--tpl-font); letter-spacing: -.02em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
main { overflow-x: clip; }
/* 줄바꿈 : 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: 1400px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: #fff; color: var(--tpl-ink); padding: 8px 14px; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-accent); outline-offset: 3px; }
.tpl-num { font-variant-numeric: tabular-nums; }

/* ---------- 스크롤 등장(AOS 직접 구현) : common.js 가 html 에 tpl-js 를 붙였을 때만 숨깁니다 ---------- */
.tpl-js [data-aos] { opacity: 0; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
.tpl-js [data-aos="fade-up"] { transform: translate3d(0, 48px, 0); }
.tpl-js [data-aos="fade-left"] { transform: translate3d(48px, 0, 0); }
.tpl-js [data-aos="fade-right"] { transform: translate3d(-48px, 0, 0); }
.tpl-js [data-aos="zoom-in"] { transform: scale(.94); }
.tpl-js [data-aos].is-aos { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tpl-js [data-aos] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 공통 : 섹션 여백 · 라벨(영문 대문자) · 제목(가는 굵기 + 굵은 굵기 대비) · 설명 ---------- */
.tpl-sec { padding: 150px 0; }
.tpl-sec--pale { background: var(--tpl-pale); }
.tpl-label { display: block; font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--tpl-accent); }
.tpl-label--light { color: var(--tpl-accent-on-dark); }
.tpl-title { margin-top: 22px; font-size: 44px; font-weight: 400; line-height: 1.36; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-title b { font-weight: 700; }
.tpl-lead { margin-top: 18px; font-size: 18px; line-height: 1.75; color: var(--tpl-mute); }
.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: 4px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 500; color: var(--tpl-ink); white-space: nowrap; }
.tpl-textlink .tpl-ico { width: 16px; height: 16px; transition: transform .35s var(--tpl-ease); }
.tpl-textlink:hover .tpl-ico { transform: translateX(4px); }

/* 버튼 : 직각 테두리 버튼. --light 는 사진 · 어두운 면 위 */
.tpl-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; height: 58px; padding: 0 22px 0 28px; border: 1px solid var(--tpl-graphite); background: var(--tpl-graphite); font-size: 16px; font-weight: 500; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn .tpl-ico { width: 18px; height: 18px; transition: transform .35s var(--tpl-ease); }
.tpl-btn:hover { background: #fff; color: var(--tpl-ink); }
.tpl-btn:hover .tpl-ico { transform: translateX(4px); }
.tpl-btn--light { border-color: rgba(255, 255, 255, .75); background: transparent; color: #fff; }
.tpl-btn--light:hover { border-color: #fff; background: #fff; color: var(--tpl-ink); }

/* 사각 화살표 버튼(캐러셀) */
.tpl-sqbtn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--tpl-line); background: #fff; color: var(--tpl-ink); transition: border-color .25s, background-color .25s, color .25s; }
.tpl-sqbtn .tpl-ico { width: 20px; height: 20px; }
.tpl-sqbtn:hover { border-color: var(--tpl-graphite); background: var(--tpl-graphite); color: #fff; }
.tpl-sqbtn.is-end { color: #b8b7b3; }
.tpl-sqbtn.is-end:hover { border-color: var(--tpl-line); background: #fff; color: #b8b7b3; }

/* ---------- 로고 : 높이가 다른 세 덩어리 심볼 + 국문 · 영문 워드마크 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.tpl-logo__mark { width: 26px; height: 26px; flex: none; fill: currentColor; }
.tpl-logo__txt { display: grid; gap: 5px; line-height: 1; }
.tpl-logo__ko { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.tpl-logo__en { font-size: 10.5px; font-weight: 500; letter-spacing: .32em; opacity: .75; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(흑연 글자) ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: #fff; transition: background-color .35s, color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .25); transition: background-color .35s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open, .tpl-header.is-solid { background: #fff; color: var(--tpl-ink); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after, .tpl-header.is-solid::after { background: var(--tpl-line); }
.tpl-header__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
.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; justify-content: center; height: 100%; font-size: 18px; font-weight: 500; white-space: nowrap; }
/* 1차 hover 표시는 아래 선 하나만 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover > .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after, .tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
/* 서브페이지 : 다른 1차 메뉴에 올리면 현재 메뉴 선을 거둬 늘 한 줄만 보입니다 */
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) > .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-gnb__link:focus-visible { outline-offset: -6px; }
.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 a:first-child:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-util__join { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid currentColor; transition: background-color .25s, color .25s; }
.tpl-header .tpl-util__join:hover { background: var(--tpl-graphite); border-color: var(--tpl-graphite); color: #fff; }
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 15px; } .tpl-burger i:nth-child(2) { top: 21px; } .tpl-burger i:nth-child(3) { top: 27px; left: 19px; }

/* 메가메뉴(A 전체형) : 흰 패널(.tpl-mega__bg)이 scaleY 로 위에서 아래로 펼쳐지고, 모든 2차 목록이 같은 시간 · 같은 곡선의 clip-path 로 함께 드러납니다.
   두 값이 프레임마다 같은 높이를 가리키므로 패널 밖에 글자가 보이지 않습니다. 2차 열에는 배경색 · hover 배경이 없습니다.
   패널 높이(--tpl-mega-h) = 가장 긴 2차 목록 + 위아래 여백 30px 씩이며 common.js 가 잽니다. */
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--tpl-mega-h, 240px); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--tpl-ease); pointer-events: none; }
.tpl-gnb__sub { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--tpl-mega-h, 240px); padding: 30px 0; text-align: center; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--tpl-ease), visibility 0s linear .45s; }
.tpl-gnb__item + .tpl-gnb__item .tpl-gnb__sub { box-shadow: inset 1px 0 0 #ecebe8; }
.tpl-gnb__sub a { display: inline-block; padding: 5px 2px; white-space: nowrap; font-size: 16px; color: var(--tpl-mute); transition: color .2s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 5px; }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-ink); font-weight: 700; }
.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }

/* ---------- 드로어 (1024px 이하) : 오른쪽 흰 패널. 1차 줄 전체가 버튼, 2차 영역은 배경색 없음 ---------- */
.tpl-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .5s; }
.tpl-drawer.is-open { visibility: visible; transition-delay: 0s; }
.tpl-drawer__dim { position: absolute; inset: 0; background: rgba(20, 20, 22, .6); opacity: 0; transition: opacity .45s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: #fff; color: var(--tpl-ink); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--tpl-ease); }
.tpl-drawer.is-open .tpl-drawer__panel { transform: none; }
.tpl-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 24px; flex: none; border-bottom: 1px solid var(--tpl-ink); }
.tpl-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.tpl-drawer__close .tpl-ico { width: 24px; height: 24px; }
.tpl-drawer__list { padding: 4px 24px; }
.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: 20px 0; text-align: left; font: 500 19px/1.3 var(--tpl-font); letter-spacing: -.02em; }
.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"] { font-weight: 700; }
.tpl-drawer__toggle[aria-expanded="true"] .tpl-ico { transform: rotate(180deg); color: var(--tpl-ink); }
.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 14px; 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-ink); font-weight: 700; }
.tpl-drawer__foot { margin-top: auto; padding: 24px; }
.tpl-drawer__util { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.tpl-drawer__util a { display: grid; place-items: center; height: 50px; border: 1px solid var(--tpl-graphite); font-size: 16px; font-weight: 500; }
.tpl-drawer__util a:last-child { background: var(--tpl-graphite); color: #fff; }
.tpl-drawer__tel { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; font-size: 15px; color: var(--tpl-mute); }
.tpl-drawer__tel strong { font-size: 22px; font-weight: 700; letter-spacing: 0; color: var(--tpl-ink); }

/* ---------- 푸터 : 짙은 흑연, 위쪽 큰 한 줄 문구 + 메뉴, 아래 정책 · 주소 ---------- */
.tpl-footer { background: var(--tpl-foot); color: #a3a3aa; font-size: 15px; line-height: 1.7; }
.tpl-footer__in { padding: 80px 0 48px; }
.tpl-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tpl-footer__slogan { margin-top: 28px; font-size: 26px; font-weight: 400; line-height: 1.45; letter-spacing: -.03em; color: #e6e6e8; }
.tpl-footer__slogan b { font-weight: 700; color: #fff; }
.tpl-logo--foot { color: #fff; }
.tpl-footer__nav { display: flex; gap: 56px; }
.tpl-footer__col strong { display: block; margin-bottom: 14px; font-size: 16px; font-weight: 500; color: #fff; }
.tpl-footer__col ul { display: grid; gap: 6px; font-size: 15px; color: #a3a3aa; }
.tpl-footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 36px; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 14px; font-size: 15px; color: #d0d0d4; }
.tpl-footer__policy b { font-weight: 700; color: #fff; }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address span { display: inline-block; margin-right: 16px; }
.tpl-footer__copy { margin-top: 6px; font-size: 13.5px; letter-spacing: .02em; }
.tpl-footer__tel { text-align: right; line-height: 1.3; }
.tpl-footer__tel small { display: block; font-size: 14px; }
.tpl-footer__tel a { font-size: 30px; font-weight: 700; letter-spacing: 0; color: #fff; }

/* ---------- TOP 버튼 ---------- */
.tpl-totop { position: fixed; right: 24px; bottom: 32px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; background: var(--tpl-graphite); 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.8; }
.tpl-totop:hover { background: var(--tpl-ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1360px) {
  :root { --tpl-gnb-gap: 56px; --tpl-side: 40px; }
}
@media (max-width: 1180px) {
  :root { --tpl-gnb-gap: 44px; --tpl-side: 32px; }
  .tpl-util { gap: 16px; }
}
@media (max-width: 1024px) {
  :root { --tpl-hd-h: 68px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 120px 0; }
  .tpl-title { font-size: 38px; }
  .tpl-footer__top { grid-template-columns: minmax(0, 1fr); }
  .tpl-footer__nav { flex-wrap: wrap; gap: 32px 48px; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .tpl-footer__tel { text-align: left; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 62px; }
  body { font-size: 17px; }
  .tpl-sec { padding: 96px 0; }
  .tpl-title { margin-top: 16px; font-size: 30px; line-height: 1.4; }
  .tpl-lead { font-size: 17px; }
  .tpl-head--row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tpl-btn { height: 52px; gap: 28px; padding: 0 18px 0 22px; font-size: 15px; }
  .tpl-footer__in { padding: 60px 0 40px; }
  .tpl-footer__slogan { font-size: 21px; }
  .tpl-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .tpl-footer__policy { gap: 4px 18px; font-size: 14px; }
  .tpl-totop { right: 16px; bottom: 20px; width: 44px; height: 44px; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 섹션 순서대로 적었으며, 섹션을 빼면 해당 블록을 함께 지우시면 됩니다. */

.tpl-skip-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 흰 섹션이 흰 섹션 뒤에 이어질 때 위 여백을 줄입니다 */
.tpl-sec--flush { padding-top: 0; }

/* ===== 메인 비주얼 : 높이 95vh, 슬라이드는 서서히 겹쳐 바뀌고(페이드) 문구는 라벨 → 제목 → 설명 → 버튼 순으로 올라옵니다 ===== */
.tpl-visual { position: relative; height: 95vh; height: 95svh; overflow: hidden; background: #29292d; color: #fff; }
.tpl-visual__media, .tpl-visual__item { position: absolute; inset: 0; }
.tpl-visual__item { opacity: 0; visibility: hidden; transition: opacity var(--tpl-vspeed, 1300ms) ease, visibility 0s linear var(--tpl-vspeed, 1300ms); }
.tpl-visual__item.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.tpl-visual__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.tpl-visual__item.is-active img { transform: scale(1); }
/* 유튜브 영상 : 16:9 를 화면 가득 덮도록 키우고, 클릭은 막습니다 */
.tpl-visual__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tpl-visual__video iframe { position: absolute; left: 50%; top: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100%; border: 0; transform: translate(-50%, -50%); }
/* 재생이 시작된 뒤에만 영상을 서서히 보여 줍니다(그 전 · 오류 화면 · 끝난 화면은 뒤의 사진이 보입니다). */
.tpl-visual__video iframe { opacity: 0; transition: opacity .5s; }
.tpl-visual__video iframe.is-play { opacity: 1; }

.is-local .tpl-visual__video { visibility: hidden; }
/* 글자 대비용 어두운 막 : 왼쪽과 아래를 조금 더 어둡게 */
.tpl-visual__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, .66) 0%, rgba(20, 20, 22, .34) 55%, rgba(20, 20, 22, .14) 100%), linear-gradient(0deg, rgba(20, 20, 22, .5) 0%, rgba(20, 20, 22, 0) 32%); }

.tpl-visual__in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: var(--tpl-hd-h) 72px 0; }
.tpl-visual__caps { display: grid; }
.tpl-visual__cap { grid-area: 1 / 1; visibility: hidden; }
.tpl-visual__cap.is-active { visibility: visible; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(36px); transition: opacity .4s, transform .4s; }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition: opacity 1s var(--tpl-ease), transform 1.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: .7s; }
.tpl-visual__cap.is-active > :nth-child(4) { transition-delay: .9s; }
.tpl-visual__label { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.tpl-visual__label::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.tpl-visual__title { margin-top: 26px; font-size: clamp(42px, 4.7vw, 76px); font-weight: 400; line-height: 1.22; letter-spacing: -.045em; white-space: nowrap; }
.tpl-visual__title b { font-weight: 700; }
.tpl-visual__desc { margin-top: 24px; font-size: 20px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.tpl-visual__btn { margin-top: 44px; }

.tpl-visual__ctrl { position: absolute; left: 72px; right: 72px; bottom: 52px; display: flex; align-items: center; gap: 24px; }
.tpl-visual__count { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.tpl-visual__count b { font-weight: 700; color: #fff; }
.tpl-visual__bar { position: relative; width: 180px; height: 1px; background: rgba(255, 255, 255, .35); }
.tpl-visual__bar i { position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.is-run .tpl-visual__bar i { animation: tplBar var(--tpl-vdelay, 7000ms) linear forwards; }
.is-paused .tpl-visual__bar i { transform: scaleX(1); }
@keyframes tplBar { to { transform: scaleX(1); } }
.tpl-visual__pause { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .5); color: #fff; transition: background-color .25s, color .25s; }
.tpl-visual__pause:hover { background: #fff; color: var(--tpl-ink); }
.tpl-visual__pause .tpl-ico { width: 16px; height: 16px; grid-area: 1 / 1; }
.tpl-visual__pause .tpl-ico--play { display: none; fill: currentColor; stroke: none; }
.is-paused .tpl-visual__pause .tpl-ico--pause { display: none; }
.is-paused .tpl-visual__pause .tpl-ico--play { display: block; }
.tpl-visual__pause-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 좌우 화살표 : 화면 양 끝 세로 가운데 */
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 56px; height: 56px; margin-top: calc(var(--tpl-hd-h) / 2 - 28px); color: #fff; opacity: .8; transition: opacity .25s, background-color .25s; }
.tpl-visual__arrow:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.tpl-visual__arrow .tpl-ico { width: 36px; height: 36px; stroke-width: 1.1; }
.tpl-visual__arrow--prev { left: 12px; }
.tpl-visual__arrow--next { right: 12px; }

/* ===== 바로가기 퀵메뉴 : 굵은 위 선 + 세로 선으로 나눈 칸 ===== */
.tpl-shortcut__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; border-bottom: 1px solid var(--tpl-line); }
.tpl-shortcut__list li + li { border-left: 1px solid var(--tpl-line); }
.tpl-shortcut__list a { position: relative; display: grid; gap: 6px; padding: 44px 36px 40px; transition: background-color .3s; }
.tpl-shortcut__list a:hover { background: var(--tpl-pale); }
.tpl-shortcut__num { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--tpl-accent); }
.tpl-shortcut__list strong { margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-shortcut__txt { font-size: 16px; color: var(--tpl-mute); }
.tpl-shortcut__list .tpl-ico { position: absolute; right: 30px; top: 42px; width: 22px; height: 22px; color: var(--tpl-ink); transition: transform .35s var(--tpl-ease); }
.tpl-shortcut__list a:hover .tpl-ico { transform: translate(3px, -3px); }

/* ===== 회사소개 요약 ===== */
.tpl-about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; margin-top: 64px; align-items: start; }
.tpl-about__txt p { font-size: 18px; color: var(--tpl-text); }
.tpl-about__facts { margin: 44px 0 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-about__facts div { display: grid; grid-template-columns: 96px 1fr; padding: 16px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-about__facts dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-about__facts dd { color: var(--tpl-text); }
.tpl-about__pics { position: relative; padding-bottom: 120px; }
.tpl-about__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-about__pic figcaption { margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--tpl-mute); }
.tpl-about__pic--a { width: 58%; }
.tpl-about__pic--b { position: absolute; right: 0; bottom: 0; width: 38%; }

/* ===== 사업분야 : 세로로 긴 사진 카드 ===== */
.tpl-biz__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tpl-biz__list a { position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4.4; padding: 32px 28px; overflow: hidden; color: #fff; }
.tpl-biz__list img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--tpl-ease); }
.tpl-biz__list a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 22, .62) 0%, rgba(20, 20, 22, .1) 42%, rgba(20, 20, 22, .2) 62%, rgba(20, 20, 22, .72) 100%); }
.tpl-biz__list a { isolation: isolate; }
.tpl-biz__list a:hover img { transform: scale(1.05); }
.tpl-biz__tag { align-self: flex-start; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .7); font-size: 12.5px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; }
.tpl-biz__list strong { margin-top: 18px; font-size: 27px; font-weight: 700; letter-spacing: -.03em; }
.tpl-biz__txt { margin-top: auto; padding-right: 36px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.tpl-biz__list .tpl-ico { position: absolute; right: 26px; bottom: 30px; width: 22px; height: 22px; transition: transform .35s var(--tpl-ease); }
.tpl-biz__list a:hover .tpl-ico { transform: translate(3px, -3px); }

/* ===== 숫자 실적 ===== */
.tpl-stats .tpl-lead { margin: 0 0 6px; }
.tpl-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; margin-top: 64px; }
.tpl-stats__list li { padding: 26px 0 12px; border-top: 1px solid var(--tpl-ink); }
.tpl-stats__name { font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-stats__list p { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; color: var(--tpl-ink); }
.tpl-stats__list b { font-size: 76px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.tpl-stats__list small { font-size: 20px; font-weight: 500; }

/* ===== 일하는 방식 ===== */
.tpl-process__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--tpl-line); }
.tpl-process__list li { position: relative; padding: 40px 32px 8px 0; }
.tpl-process__list li + li { padding-left: 32px; border-left: 1px solid var(--tpl-line); }
.tpl-process__list li::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--tpl-graphite); }
.tpl-process__list li + li::before { left: 32px; }
.tpl-process__step { font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--tpl-accent); }
.tpl-process__list h3 { margin-top: 14px; font-size: 25px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-process__list p { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-process__list small { display: inline-block; margin-top: 20px; font-size: 14.5px; font-weight: 500; color: var(--tpl-ink); }

/* ===== 갤러리 : 한 화면 3장 남짓, 가로 스크롤 스냅 ===== */
.tpl-gallery__nav { display: flex; align-items: center; gap: 8px; }
.tpl-gallery__nav .tpl-textlink { margin-left: 20px; }
.tpl-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px * 2) / 3.25); gap: 28px; margin-top: 52px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tpl-gallery__track::-webkit-scrollbar { display: none; }
.tpl-gallery__track li { scroll-snap-align: start; min-width: 0; }
.tpl-gallery__img { display: block; overflow: hidden; background: var(--tpl-pale); }
.tpl-gallery__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--tpl-ease); }
.tpl-gallery__track a:hover img { transform: scale(1.04); }
.tpl-gallery__meta { display: block; margin-top: 22px; font-size: 14px; font-weight: 500; color: var(--tpl-accent); }
.tpl-gallery__track h3 { margin-top: 6px; overflow: hidden; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-gallery__track p { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 16px; line-height: 1.65; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-gallery__rail { position: relative; height: 1px; margin-top: 44px; background: var(--tpl-line); overflow: hidden; }
.tpl-gallery__rail i { position: absolute; left: 0; top: 0; height: 1px; background: var(--tpl-ink); box-shadow: 0 0 0 .5px var(--tpl-ink); transition: transform .2s linear; }

/* ===== 경영원칙 : 반은 옅은 회색 글, 반은 가장자리까지 찬 사진 ===== */
.tpl-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.tpl-split__txt { display: flex; align-items: center; background: var(--tpl-pale); padding: 120px 72px 120px max(var(--tpl-side), calc((100vw - 1400px) / 2)); }
.tpl-split__in { width: 100%; max-width: 560px; }
.tpl-split__list { margin: 44px 0 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-split__list li { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-split__list span { font-size: 15px; font-weight: 500; color: var(--tpl-accent); padding-top: 3px; }
.tpl-split__list h3 { font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-split__list p { margin-top: 4px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-split__pic img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 게시판 최신글 ===== */
.tpl-board__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.tpl-board__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 2px solid var(--tpl-ink); }
.tpl-board__head h2 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-board__head .tpl-sqbtn { width: 44px; height: 44px; }
.tpl-board__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-board__list a { display: flex; align-items: center; gap: 18px; padding: 21px 0; font-size: 17px; }
.tpl-board__cat { flex: none; width: 52px; font-size: 14px; font-weight: 500; color: var(--tpl-accent); }
.tpl-board__tit { flex: 1; min-width: 0; overflow: hidden; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-board__list a:hover .tpl-board__tit { text-decoration: underline; text-underline-offset: 4px; }
.tpl-board__list time { flex: none; font-size: 15px; color: var(--tpl-mute); }

/* ===== 인증 · 협력 : 선으로 나눈 표 ===== */
.tpl-cert__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--tpl-ink); }
.tpl-cert__list li { display: grid; gap: 4px; padding: 34px 28px 36px; border-bottom: 1px solid var(--tpl-line); }
.tpl-cert__list li:not(:nth-child(4n+1)) { border-left: 1px solid var(--tpl-line); }
.tpl-cert__list strong { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-cert__list span { font-size: 16px; color: var(--tpl-text); }
.tpl-cert__list small { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--tpl-mute); }

/* ===== 문의 띠 : 흑연 단색 + 오른쪽 가는 세로선 결 ===== */
.tpl-cta { position: relative; overflow: hidden; background: var(--tpl-graphite); color: #fff; padding: 112px 0; }
.tpl-cta::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 42%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 18px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.tpl-cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; }
.tpl-cta .tpl-title { color: #fff; }
.tpl-cta .tpl-lead { color: rgba(255, 255, 255, .78); }
.tpl-cta__side { display: grid; justify-items: start; gap: 24px; }
.tpl-cta__tel { display: grid; line-height: 1.2; }
.tpl-cta__tel small { font-size: 15px; color: rgba(255, 255, 255, .7); }
.tpl-cta__tel strong { margin-top: 6px; font-size: 40px; font-weight: 700; letter-spacing: 0; }

/* ===== 연락처 · 지도 ===== */
.tpl-contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; }
.tpl-contact__table { margin-top: 48px; border-top: 1px solid var(--tpl-ink); font-size: 16.5px; }
.tpl-contact__table th, .tpl-contact__table td { padding: 17px 0; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-contact__table th { width: 100px; font-weight: 700; color: var(--tpl-ink); }
.tpl-contact__table a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { min-height: 460px; background: var(--tpl-pale); }
.tpl-contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.85); }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-about__grid { gap: 64px; }
  .tpl-biz__list a { padding: 26px 22px; }
  .tpl-biz__list strong { font-size: 24px; }
  .tpl-stats__list b { font-size: 64px; }
}
@media (max-width: 1024px) {
  .tpl-visual__in { padding-left: 56px; padding-right: 56px; }
  .tpl-visual__ctrl { left: 56px; right: 56px; }
  .tpl-visual__desc { font-size: 18px; }
  .tpl-shortcut__list { grid-auto-flow: row; 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__list a { padding: 32px 28px; }
  .tpl-about__grid { grid-template-columns: 1fr; gap: 56px; margin-top: 48px; }
  .tpl-biz__list { grid-template-columns: 1fr 1fr; }
  .tpl-biz__list a { aspect-ratio: 4 / 4.4; }
  .tpl-stats__list { grid-template-columns: 1fr 1fr; row-gap: 24px; margin-top: 48px; }
  .tpl-process__list { grid-template-columns: 1fr 1fr; }
  .tpl-process__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-process__list li:nth-child(3)::before { left: 0; }
  .tpl-process__list li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--tpl-line); }
  .tpl-gallery__track { grid-auto-columns: calc((100% - 24px) / 2.2); gap: 24px; }
  .tpl-split { grid-template-columns: 1fr; }
  .tpl-split__txt { padding: 96px var(--tpl-side); }
  .tpl-split__in { max-width: none; }
  .tpl-split__pic { height: 440px; }
  .tpl-board__grid { grid-template-columns: 1fr; gap: 64px; }
  .tpl-cert__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-cert__list li:not(:nth-child(4n+1)) { border-left: 0; }
  .tpl-cert__list li:nth-child(even) { border-left: 1px solid var(--tpl-line); }
  .tpl-cta__in { grid-template-columns: 1fr; align-items: start; gap: 40px; }
  .tpl-contact__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .tpl-visual__in { padding-left: 40px; padding-right: 40px; }
  .tpl-visual__ctrl { left: 40px; right: 40px; bottom: 36px; }
  .tpl-visual__title { margin-top: 20px; font-size: 38px; line-height: 1.3; }
  .tpl-visual__label { font-size: 13px; gap: 10px; }
  .tpl-visual__label::before { width: 24px; }
  .tpl-visual__desc { margin-top: 18px; font-size: 16.5px; }
  .tpl-visual__btn { margin-top: 32px; }
  .tpl-visual__bar { width: 110px; }
  .tpl-visual__arrow { width: 40px; height: 40px; margin-top: calc(var(--tpl-hd-h) / 2 - 20px); }
  .tpl-visual__arrow .tpl-ico { width: 28px; height: 28px; }
  .tpl-visual__arrow--prev { left: 0; }
  .tpl-visual__arrow--next { right: 0; }
  .tpl-shortcut__list a { padding: 26px 18px 24px; }
  .tpl-shortcut__list strong { font-size: 18px; }
  .tpl-shortcut__txt { font-size: 14.5px; }
  .tpl-shortcut__list .tpl-ico { right: 16px; top: 24px; width: 18px; height: 18px; }
  .tpl-about__pics { padding-bottom: 72px; }
  .tpl-about__pic--a { width: 66%; }
  .tpl-about__pic--b { width: 42%; }
  .tpl-biz__list { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
  .tpl-biz__list a { aspect-ratio: 4 / 3.6; }
  .tpl-stats__list { column-gap: 20px; }
  .tpl-stats__list b { font-size: 46px; }
  .tpl-stats__list small { font-size: 16px; }
  .tpl-stats__name { font-size: 14.5px; }
  .tpl-process__list { grid-template-columns: 1fr; margin-top: 40px; }
  .tpl-process__list li, .tpl-process__list li + li { padding: 28px 0 24px; border-left: 0; }
  .tpl-process__list li + li { margin-top: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-process__list li + li::before { left: 0; }
  .tpl-process__list h3 { font-size: 22px; }
  .tpl-gallery__nav .tpl-textlink { margin-left: 12px; }
  .tpl-gallery__track { grid-auto-columns: 78%; gap: 16px; margin-top: 36px; }
  .tpl-split__txt { padding: 80px var(--tpl-side); }
  .tpl-split__pic { height: 300px; }
  .tpl-board__head h2 { font-size: 24px; }
  .tpl-board__list a { gap: 12px; padding: 18px 0; font-size: 16px; flex-wrap: wrap; }
  .tpl-board__cat { width: auto; }
  .tpl-board__list time { width: 100%; padding-left: 0; font-size: 14px; margin-top: -8px; }
  .tpl-cert__list li { padding: 26px 16px 28px; }
  .tpl-cert__list strong { font-size: 18px; }
  .tpl-cert__list span { font-size: 15px; }
  .tpl-cta { padding: 88px 0; }
  .tpl-cta__tel strong { font-size: 32px; }
  .tpl-contact__table { font-size: 15.5px; }
  .tpl-contact__table th { width: 80px; }
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 340px; }
}

/* ===== 연락처 카카오 지도 (2026-11-22 추가) : 구글 지도를 카카오맵으로 바꾸며 흑백 filter 를 끄고(스크롤 끊김 원인), 카카오 왼쪽 검색 창을 상자 밖으로 밀어 가립니다 ===== */
.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%; filter: none; }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; background: var(--tpl-graphite); font-size: 15px; font-weight: 500; color: #fff; }
.tpl-contact__maplink .tpl-ico { width: 16px; height: 16px; }
.tpl-contact__maplink:hover { background: var(--tpl-ink); }
@media (max-width: 768px) {
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 420px; }
}

/* ===== 최신글 두 칸 보완 (2026-11-23) : 1025px 부근에서 `1fr 1fr` 칸이 말줄임 제목의 글자 폭만큼 늘어나 오른쪽 칸이 화면 밖(약 60px)으로 잘리던 것을 칸 최소 폭 0 으로 막습니다 ===== */
.tpl-board__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1024px) { .tpl-board__grid { grid-template-columns: 1fr; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼, 위치 표시 · 2차 탭, 인사말, 회사 개요를 담습니다. 색 · 글꼴 · 헤더 · 푸터는 common.css 를 그대로 씁니다. */

/* ===== 서브 비주얼 : 정지된 사진 + 어두운 막 (PC 440px) ===== */
.tpl-subvis { position: relative; height: 440px; overflow: hidden; background: #2a2a2e; color: #fff; }
.tpl-subvis__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvis::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, .7) 0%, rgba(20, 20, 22, .4) 60%, rgba(20, 20, 22, .25) 100%); }
.tpl-subvis__in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: var(--tpl-hd-h); }
.tpl-subvis__en { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.tpl-subvis__en::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.tpl-subvis__title { margin-top: 18px; font-size: 56px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.tpl-subvis__desc { margin-top: 14px; font-size: 19px; color: rgba(255, 255, 255, .86); }

/* ===== 위치 표시 + 2차 탭 : 탭은 늘 밑줄 하나(현재 탭 또는 올린 탭) ===== */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); }
.tpl-snb__in { display: flex; justify-content: space-between; align-items: stretch; gap: 32px; }
.tpl-snb__path { display: flex; align-items: center; gap: 10px; 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 0; border-top: 1px solid #8d8d94; border-right: 1px solid #8d8d94; transform: rotate(45deg); }
.tpl-snb__path a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-snb__path [aria-current] { font-weight: 500; color: var(--tpl-ink); }
.tpl-snb__tabs { min-width: 0; }
.tpl-snb__tabs ul { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; }
.tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
.tpl-snb__tabs li { flex: none; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 76px; 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: 0; right: 0; bottom: -1px; height: 2px; background: var(--tpl-ink); 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); }
@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 { padding: 140px 0 120px; }
.tpl-greet__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 96px; margin-top: 64px; align-items: start; }
.tpl-greet__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-greet__txt p { font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-greet__txt p + p { margin-top: 22px; }
.tpl-greet__txt .tpl-greet__lead { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--tpl-ink); font-size: 24px; font-weight: 500; line-height: 1.5; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-greet__txt .tpl-greet__sign { display: flex; justify-content: flex-end; align-items: baseline; gap: 18px; margin-top: 48px; font-size: 16px; color: var(--tpl-mute); }
.tpl-greet__sign strong { font-size: 26px; font-weight: 700; letter-spacing: .3em; color: var(--tpl-ink); }

/* ===== 회사 개요 : 옅은 회색 면 위 표 + 숫자 ===== */
.tpl-overview { padding: 130px 0 150px; background: var(--tpl-pale); }
.tpl-overview__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; margin-top: 56px; align-items: start; }
.tpl-overview__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-overview__table { border-top: 1px solid var(--tpl-ink); font-size: 17px; }
.tpl-overview__table th, .tpl-overview__table td { padding: 19px 0; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-overview__table th { width: 140px; font-weight: 700; color: var(--tpl-ink); }
.tpl-overview__nums { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.tpl-overview__nums li { padding: 20px 0 30px; border-top: 1px solid var(--tpl-ink); }
.tpl-overview__nums span { font-size: 15.5px; font-weight: 500; color: var(--tpl-mute); }
.tpl-overview__nums p { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; color: var(--tpl-ink); }
.tpl-overview__nums b { font-size: 52px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.tpl-overview__nums small { font-size: 17px; font-weight: 500; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .tpl-subvis { height: 380px; }
  .tpl-subvis__title { font-size: 46px; }
  .tpl-snb__path { display: none; }
  .tpl-snb__tabs { width: 100%; }
  .tpl-greet { padding: 110px 0 100px; }
  .tpl-greet__grid { grid-template-columns: 1fr; gap: 48px; }
  .tpl-greet__pic img { aspect-ratio: 16 / 10; }
  .tpl-overview { padding: 100px 0 120px; }
  .tpl-overview__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 300px; }
  .tpl-subvis__en { font-size: 13px; gap: 10px; }
  .tpl-subvis__en::before { width: 24px; }
  .tpl-subvis__title { margin-top: 12px; font-size: 36px; }
  .tpl-subvis__desc { font-size: 16px; }
  .tpl-snb__tabs ul { gap: 28px; }
  .tpl-snb__tabs a { height: 60px; font-size: 16px; }
  .tpl-greet { padding: 80px 0; }
  .tpl-greet__grid { margin-top: 40px; }
  .tpl-greet__txt p { font-size: 17px; }
  .tpl-greet__txt .tpl-greet__lead { font-size: 20px; }
  .tpl-overview { padding: 80px 0 96px; }
  .tpl-overview__table { font-size: 15.5px; }
  .tpl-overview__table th { width: 84px; }
  .tpl-overview__nums b { font-size: 40px; }
}


/* ==========================================================================
   서브페이지 추가 (2026-11-22) — 아래는 새 서브 화면이 쓰는 부품입니다. 위의 기존 줄은 고치지 않았습니다.
   색 · 글꼴은 common.css 토큰(흑연 · 콘크리트 회색 · 구리빛 갈색)만 씁니다.
   ========================================================================== */

/* ===== 공통 : 서브 본문 섹션 · 섹션 머리 ===== */
.tpl-sbody { padding: 130px 0 140px; }
.tpl-sbody--pale { background: var(--tpl-pale); }
.tpl-sbody--flush { padding-top: 0; }
.tpl-sbody--board { padding: 90px 0 130px; }
.tpl-sh { margin-bottom: 56px; }
.tpl-sh .tpl-lead { max-width: 760px; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-h3 { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: var(--tpl-ink); }

/* 자료 표 : 굵은 위 선 + 얇은 가로 선 (한 페이지에 하나만 씁니다) */
.tpl-dtable { width: 100%; border-top: 1px solid var(--tpl-ink); font-size: 17px; }
.tpl-dtable caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.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 { font-size: 15.5px; font-weight: 700; color: var(--tpl-ink); background: var(--tpl-pale); white-space: nowrap; }
.tpl-dtable tbody th { width: 200px; font-weight: 700; color: var(--tpl-ink); }
.tpl-tscroll { overflow-x: auto; }

/* 테두리 꼬리표 */
.tpl-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--tpl-line); font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--tpl-text); white-space: nowrap; }
.tpl-tag--ink { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-tag--done { border-color: var(--tpl-graphite); background: var(--tpl-graphite); color: #fff; }

/* 아래 테두리 문의 줄 : 흰 바탕 위 굵은 선 (어두운 면을 쓰지 않아 푸터와 붙지 않습니다) */
.tpl-askline { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px 0; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-askline strong { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-askline p { margin-top: 6px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-askline__side { display: flex; align-items: center; gap: 28px; flex: none; }
.tpl-askline__tel { font-size: 30px; font-weight: 400; letter-spacing: -.02em; color: var(--tpl-ink); }

/* ===== 연혁 : 시기 묶음(왼쪽 시기 이름은 따라 내려옴) ===== */
.tpl-tl__era { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; padding: 56px 0; border-top: 1px solid var(--tpl-ink); }
.tpl-tl__era:last-child { border-bottom: 1px solid var(--tpl-line); }
.tpl-tl__side { position: sticky; top: calc(var(--tpl-hd-h) + 40px); align-self: start; }
.tpl-tl__range { font-size: 52px; font-weight: 400; line-height: 1; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-tl__name { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--tpl-accent); }
.tpl-tl__side p { margin-top: 10px; font-size: 16px; color: var(--tpl-mute); }
.tpl-tl__list li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-tl__list li:first-child { padding-top: 0; }
.tpl-tl__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tpl-tl__list b { font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-tl__list p { font-size: 17px; color: var(--tpl-text); }
.tpl-tl__list p + p { margin-top: 4px; }

/* ===== 경영이념 : 큰 문장 · 가치 3칸 · 경영방침 ===== */
.tpl-mission { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: end; }
.tpl-mission__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-mission__txt blockquote { font-size: 38px; font-weight: 400; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-mission__txt blockquote b { font-weight: 700; }
.tpl-mission__txt p { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--tpl-line); font-size: 17.5px; color: var(--tpl-text); }
.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__no { font-size: 15px; font-weight: 500; letter-spacing: .12em; color: var(--tpl-accent); }
.tpl-values h3 { margin-top: 18px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-values__en { margin-top: 2px; font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-mute); }
.tpl-values p { margin-top: 18px; font-size: 17px; color: var(--tpl-text); }

/* ===== 조직도 ===== */
.tpl-org { display: grid; justify-items: center; }
.tpl-org__box { display: grid; place-items: center; min-width: 220px; height: 64px; padding: 0 28px; border: 1px solid var(--tpl-ink); background: #fff; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__box--top { background: var(--tpl-graphite); border-color: var(--tpl-graphite); color: #fff; }
.tpl-org__stem { width: 1px; height: 40px; background: var(--tpl-ink); }
.tpl-org__mid { position: relative; display: flex; justify-content: center; width: 100%; }
.tpl-org__aside { position: absolute; left: calc(50% + 150px); top: 50%; display: flex; align-items: center; transform: translateY(-50%); }
.tpl-org__aside::before { content: ''; width: 40px; height: 1px; margin-left: -40px; background: var(--tpl-ink); }
.tpl-org__aside .tpl-org__box { min-width: 160px; height: 52px; font-size: 16px; font-weight: 500; }
.tpl-org__divs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; padding-top: 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-org__div h3 { display: grid; place-items: center; height: 58px; background: var(--tpl-pale); font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__div ul { margin-top: 12px; }
.tpl-org__div li { padding: 12px 4px; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; color: var(--tpl-text); text-align: center; }

/* ===== 오시는 길 : 카카오 지도 (왼쪽 검색 창은 상자 밖으로 밀어 가립니다) ===== */
.tpl-kmap { position: relative; height: 560px; overflow: hidden; background: var(--tpl-pale); }
.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 20px; background: var(--tpl-graphite); font-size: 15px; font-weight: 500; color: #fff; }
.tpl-kmap__link .tpl-ico { width: 16px; height: 16px; }
.tpl-kmap__link:hover { background: var(--tpl-ink); }
.tpl-loc__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-loc__info div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-loc__info div + div { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-loc__info dt { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-loc__info dd { margin-top: 8px; font-size: 19px; font-weight: 500; color: var(--tpl-ink); }
.tpl-route li { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-route li:first-child { border-top: 2px solid var(--tpl-ink); }
.tpl-route strong { font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-route p { font-size: 17px; color: var(--tpl-text); }
.tpl-route p + p { margin-top: 6px; }

/* ===== 사업분야 : 개요(글 + 세로 사진) · 업무 범위 · 4단계 흐름 · 관련 실적 ===== */
.tpl-bov { display: grid; grid-template-columns: 7fr 5fr; gap: 96px; align-items: start; }
.tpl-bov__txt > p { font-size: 18px; color: var(--tpl-text); }
.tpl-bov__txt > p + p { margin-top: 20px; }
.tpl-bov__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-bov__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.tpl-bov__nums li { padding-top: 20px; border-top: 1px solid var(--tpl-ink); }
.tpl-bov__nums span { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-bov__nums p { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; color: var(--tpl-ink); }
.tpl-bov__nums b { font-size: 46px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.tpl-bov__nums small { font-size: 16px; font-weight: 500; }
.tpl-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 1px solid var(--tpl-ink); }
.tpl-scope li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-scope__no { font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--tpl-accent); }
.tpl-scope h3 { font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-scope p { margin-top: 8px; font-size: 16.5px; color: var(--tpl-text); }
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: flow; }
.tpl-flow li { position: relative; padding: 30px 28px 34px; border-top: 2px solid var(--tpl-ink); background: #fff; }
.tpl-flow li + li { border-left: 1px solid var(--tpl-line); }
.tpl-flow__step { font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--tpl-accent); }
.tpl-flow h3 { margin-top: 14px; font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-flow p { margin-top: 10px; font-size: 16px; color: var(--tpl-text); }
.tpl-flow small { display: block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--tpl-mute); }

/* ===== 세로 사진 카드 (수행 실적 · 관련 실적) ===== */
.tpl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.tpl-cards a { display: block; }
.tpl-cards__img { display: block; overflow: hidden; background: var(--tpl-pale); }
.tpl-cards__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-cards a:hover .tpl-cards__img img { transform: scale(1.04); }
.tpl-cards__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tpl-cards h3 { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-cards a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.tpl-cards p { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 16px; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 분류 · 쪽 번호 */
.tpl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.tpl-filter a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--tpl-line); font-size: 16px; font-weight: 500; color: var(--tpl-text); 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-graphite); background: var(--tpl-graphite); color: #fff; }
.tpl-pager { display: flex; justify-content: center; gap: 6px; margin-top: 64px; }
.tpl-pager a, .tpl-pager strong { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border: 1px solid transparent; font-size: 16px; color: var(--tpl-mute); }
.tpl-pager a:hover { border-color: var(--tpl-line); color: var(--tpl-ink); }
.tpl-pager strong { border-color: var(--tpl-ink); font-weight: 700; color: var(--tpl-ink); }
.tpl-pager .tpl-ico { width: 18px; height: 18px; }

/* ===== 인증 · 특허 ===== */
.tpl-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tpl-certs li { display: grid; grid-template-rows: auto 1fr; }
.tpl-certs__doc { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 26px; border: 1px solid var(--tpl-line); background: var(--tpl-pale); }
.tpl-certs__doc span { display: grid; place-items: center; width: 100%; height: 100%; border: 1px solid #c9c7c1; background: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-ink); text-align: center; }
.tpl-certs__doc span small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--tpl-accent); }
.tpl-certs h3 { margin-top: 18px; font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-certs p { margin-top: 4px; font-size: 15.5px; color: var(--tpl-mute); }

/* ===== 협력사 : 분야 칸 ===== */
.tpl-ptype { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--tpl-ink); }
.tpl-ptype li { padding: 34px 32px 38px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-ptype li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--tpl-line); }
.tpl-ptype h3 { font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-ptype p { margin-top: 10px; font-size: 16px; color: var(--tpl-text); }
.tpl-ptype small { display: block; margin-top: 16px; font-size: 14.5px; font-weight: 500; color: var(--tpl-accent); }

/* ===== 게시판 목록 (그누보드 list.skin.php 자리) ===== */
.tpl-bbs__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 20px; }
.tpl-bbs__total { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbs__total b { font-weight: 700; color: var(--tpl-ink); }
.tpl-search { display: flex; gap: 6px; }
.tpl-search select, .tpl-search input { height: 48px; border: 1px solid var(--tpl-line); background: #fff; font: inherit; font-size: 16px; color: var(--tpl-ink); }
.tpl-search select { width: 110px; padding: 0 12px; }
.tpl-search input { width: 260px; min-width: 0; padding: 0 16px; }
.tpl-search button { display: grid; place-items: center; width: 48px; height: 48px; flex: none; background: var(--tpl-graphite); color: #fff; }
.tpl-search button .tpl-ico { width: 18px; height: 18px; }
.tpl-bbs { border-top: 2px solid var(--tpl-ink); }
.tpl-bbs__head, .tpl-bbs__row { display: grid; grid-template-columns: 80px 110px minmax(0, 1fr) 120px 120px 80px; align-items: center; }
.tpl-bbs__head { height: 56px; border-bottom: 1px solid var(--tpl-line); font-size: 15px; font-weight: 700; color: var(--tpl-ink); text-align: center; }
.tpl-bbs__row { min-height: 68px; border-bottom: 1px solid var(--tpl-line); font-size: 15.5px; color: var(--tpl-mute); text-align: center; }
.tpl-bbs__row--notice { background: var(--tpl-pale); }
.tpl-bbs__row--notice .tpl-bbs__no { font-weight: 700; color: var(--tpl-accent); }
.tpl-bbs__cat { color: var(--tpl-accent); font-weight: 500; }
.tpl-bbs__tit { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 18px 20px; text-align: left; }
.tpl-bbs__tit a { min-width: 0; overflow: hidden; font-size: 17px; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-bbs__tit a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-bbs__tit .tpl-ico { width: 16px; height: 16px; color: var(--tpl-mute); }
.tpl-bbs__row--reply .tpl-bbs__tit { padding-left: 44px; }
.tpl-bbs__row--reply .tpl-bbs__tit::before { content: '답변'; flex: none; font-size: 13px; font-weight: 700; color: var(--tpl-accent); }
.tpl-bbs__foot { display: flex; justify-content: flex-end; margin-top: 28px; }
.tpl-bbs__foot + .tpl-pager { 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: 280px minmax(0, 1fr); gap: 44px; align-items: center; padding: 32px 0; }
.tpl-press__img { overflow: hidden; background: var(--tpl-pale); }
.tpl-press__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-press a:hover .tpl-press__img img { transform: scale(1.04); }
.tpl-press__meta { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-press h3 { margin-top: 12px; overflow: hidden; font-size: 23px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-press a:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.tpl-press p { display: -webkit-box; margin-top: 10px; overflow: hidden; font-size: 16.5px; color: var(--tpl-text); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 갤러리 게시판 : 4칸, 제목 아래 내용 두 줄 말줄임 */
.tpl-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; padding-top: 40px; border-top: 2px solid var(--tpl-ink); }
.tpl-gal a { display: block; }
.tpl-gal__img { display: block; overflow: hidden; background: var(--tpl-pale); }
.tpl-gal__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-gal a:hover .tpl-gal__img img { transform: scale(1.04); }
.tpl-gal__meta { display: block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--tpl-accent); }
.tpl-gal h3 { margin-top: 6px; overflow: hidden; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-gal p { display: -webkit-box; margin-top: 6px; overflow: hidden; font-size: 15.5px; line-height: 1.65; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ===== 게시판 보기 (view.skin.php 자리) ===== */
.tpl-view__head { padding: 0 0 30px; border-bottom: 1px solid var(--tpl-line); }
.tpl-view__cat { font-size: 15px; font-weight: 700; color: var(--tpl-accent); }
.tpl-view__title { margin-top: 12px; font-size: 34px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 18px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-view__meta b { margin-right: 8px; font-weight: 500; color: var(--tpl-ink); }
.tpl-view { border-top: 2px solid var(--tpl-ink); padding-top: 40px; }
.tpl-view__body { padding: 48px 0 56px; font-size: 18px; color: var(--tpl-text); }
.tpl-view__body p + p, .tpl-view__body ul + p, .tpl-view__body p + ul { margin-top: 20px; }
.tpl-view__body h3 { margin: 40px 0 14px; font-size: 21px; font-weight: 700; 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: .8em; width: 6px; height: 1px; background: var(--tpl-ink); }
.tpl-view__body figure { margin: 40px 0; }
.tpl-view__body figure img { width: 100%; max-height: 720px; object-fit: cover; }
.tpl-view__body figcaption { margin-top: 12px; font-size: 15px; color: var(--tpl-mute); }
.tpl-view__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.tpl-view__pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-files { padding: 22px 26px; background: var(--tpl-pale); }
.tpl-files strong { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--tpl-ink); }
.tpl-files a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 16px; color: var(--tpl-text); }
.tpl-files a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-files small { color: var(--tpl-mute); }
.tpl-files .tpl-ico { width: 17px; height: 17px; }
.tpl-pn { margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-pn li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-pn span { padding-left: 4px; font-weight: 700; color: var(--tpl-ink); }
.tpl-pn a { min-width: 0; overflow: hidden; color: var(--tpl-text); white-space: nowrap; text-overflow: ellipsis; }
.tpl-pn a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-pn time { color: var(--tpl-mute); text-align: right; }
.tpl-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }
.tpl-btns > div { display: flex; gap: 8px; }
.tpl-btn--line { border-color: var(--tpl-line); background: #fff; color: var(--tpl-ink); }
.tpl-btn--line:hover { border-color: var(--tpl-ink); }
.tpl-answer { margin-top: 8px; padding: 36px 40px 40px; border-left: 3px solid var(--tpl-accent); background: var(--tpl-pale); }
.tpl-answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__head strong { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-answer p { margin-top: 18px; font-size: 17px; color: var(--tpl-text); }
.tpl-answer p + p { margin-top: 12px; }

/* 수행 실적 보기 : 개요 · 본문(왼쪽 7) + 사진(오른쪽 5) */
.tpl-wview { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.tpl-wview__pic { position: sticky; top: calc(var(--tpl-hd-h) + 32px); }
.tpl-wview__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-wview__facts { margin-top: 36px; border-top: 1px solid var(--tpl-ink); }
.tpl-wview__facts div { display: grid; grid-template-columns: 120px 1fr; padding: 15px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-wview__facts dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-wview__facts dd { color: var(--tpl-text); }

/* ===== 입력 폼 (write.skin.php · 문의 · 회원) ===== */
.tpl-form { border-top: 2px solid var(--tpl-ink); }
.tpl-form__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-form__row--top { align-items: start; }
.tpl-form__row--top > .tpl-form__label { padding-top: 12px; }
.tpl-form__label { font-size: 16.5px; font-weight: 700; color: var(--tpl-ink); }
.tpl-form__label em { margin-left: 4px; font-style: normal; color: var(--tpl-accent); }
.tpl-form__field { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; min-width: 0; }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; max-width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--tpl-line); border-radius: 0; background: #fff; font: inherit; font-size: 16.5px; color: var(--tpl-ink); }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #8d8d94; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-ink); outline: 0; }
.tpl-input--s { width: 280px; }
.tpl-input--xs { width: 160px; }
.tpl-select { width: 280px; padding-right: 36px; }
.tpl-textarea { height: 280px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.tpl-file { font-size: 15.5px; color: var(--tpl-text); }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--tpl-text); cursor: pointer; }
.tpl-check input { width: 18px; height: 18px; accent-color: var(--tpl-graphite); }
.tpl-form__hint { width: 100%; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-captcha { display: inline-grid; place-items: center; width: 140px; height: 52px; border: 1px solid var(--tpl-line); background: var(--tpl-pale); font-size: 22px; font-weight: 700; letter-spacing: .3em; color: var(--tpl-graphite); user-select: none; }
.tpl-agree { margin-top: 40px; }
.tpl-agree__box { height: 170px; padding: 20px 22px; overflow-y: auto; border: 1px solid var(--tpl-line); background: #fff; font-size: 15px; line-height: 1.8; color: var(--tpl-text); }
.tpl-agree__box p + p { margin-top: 8px; }
.tpl-agree__title { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-agree .tpl-check { margin-top: 14px; }
.tpl-agree + .tpl-agree { margin-top: 32px; }
.tpl-form__btns { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }

/* 상담 안내 줄 (문의하기 위) */
.tpl-callbar { 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-callbar div { padding: 26px 28px 28px 0; }
.tpl-callbar div + div { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-callbar dt { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-callbar dd { margin-top: 6px; font-size: 22px; font-weight: 500; color: var(--tpl-ink); }

/* ===== 자주 묻는 질문 : 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: 56px 110px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 26px 4px; cursor: pointer; list-style: none; }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq__q { font-size: 20px; font-weight: 700; color: var(--tpl-accent); }
.tpl-faq__cat { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-faq__tit { font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-faq summary .tpl-ico { transition: transform .3s var(--tpl-ease); }
.tpl-faq details[open] summary .tpl-ico { transform: rotate(180deg); }
.tpl-faq__a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 28px 4px 32px; background: var(--tpl-pale); }
.tpl-faq__a b { padding-left: 4px; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-faq__a p { font-size: 17px; color: var(--tpl-text); }

/* ===== 자료실 : 파일 줄 ===== */
.tpl-arch .tpl-bbs__head, .tpl-arch .tpl-bbs__row { grid-template-columns: 80px 120px minmax(0, 1fr) 100px 120px 110px; }
.tpl-arch__dl { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 0 auto; height: 36px; padding: 0 12px; border: 1px solid var(--tpl-line); font-size: 14px; font-weight: 500; color: var(--tpl-ink); }
.tpl-arch__dl:hover { border-color: var(--tpl-ink); }
.tpl-arch__dl .tpl-ico { width: 15px; height: 15px; }

/* ===== 회원 : 로그인 상자만 좁게 ===== */
.tpl-mbox { width: 100%; max-width: 480px; margin: 0 auto; }
.tpl-mbox__title { font-size: 34px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); text-align: center; }
.tpl-mbox__lead { margin-top: 10px; font-size: 16.5px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox form { margin-top: 40px; }
.tpl-mbox .tpl-input { margin-top: 10px; }
.tpl-mbox__opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 15.5px; }
.tpl-mbox__opt a { color: var(--tpl-mute); }
.tpl-mbox__opt a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-mbox .tpl-btn { width: 100%; margin-top: 28px; }
.tpl-mbox__join { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox__join a { margin-left: 10px; font-weight: 700; color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.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 { display: flex; align-items: center; gap: 14px; padding: 0 0 20px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); }
.tpl-steps span { font-size: 14px; letter-spacing: .1em; }
.tpl-steps [aria-current] { position: relative; font-weight: 700; color: var(--tpl-ink); }
.tpl-steps [aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tpl-ink); }
.tpl-done { padding: 72px 0 80px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done__mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border: 1px solid var(--tpl-ink); color: var(--tpl-ink); }
.tpl-done__mark .tpl-ico { width: 32px; height: 32px; }
.tpl-done h2 { margin-top: 28px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done p { margin-top: 12px; font-size: 17px; color: var(--tpl-text); }
.tpl-done dl { display: inline-grid; grid-template-columns: auto auto; gap: 8px 28px; margin-top: 32px; padding: 22px 32px; background: var(--tpl-pale); font-size: 16px; text-align: left; }
.tpl-done dt { font-weight: 700; color: var(--tpl-ink); }
.tpl-done .tpl-form__btns { margin-top: 40px; }
.tpl-find { display: grid; gap: 64px; }
.tpl-find .tpl-h3 { margin-bottom: 20px; }
.tpl-h3--gap { margin: 64px 0 20px; }
.tpl-h3 + .tpl-agree { margin-top: 20px; }
.tpl-form__hint--below { display: block; margin-top: 14px; }

/* ===== 약관 · 정책 ===== */
.tpl-policy { max-width: 1000px; }
.tpl-policy__date { padding: 18px 22px; background: var(--tpl-pale); font-size: 16px; color: var(--tpl-text); }
.tpl-policy h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-policy h2:first-of-type { border-top: 1px solid var(--tpl-ink); }
.tpl-policy p, .tpl-policy li { font-size: 17px; color: var(--tpl-text); }
.tpl-policy p { margin-top: 14px; }
.tpl-policy ol { margin-top: 12px; padding-left: 4px; }
.tpl-policy ol li + li { margin-top: 6px; }

/* ===== 반응형 (새 부품) ===== */
@media (max-width: 1280px) {
  .tpl-bbs__head, .tpl-bbs__row { grid-template-columns: 70px 100px minmax(0, 1fr) 110px 110px 70px; }
  .tpl-arch .tpl-bbs__head, .tpl-arch .tpl-bbs__row { grid-template-columns: 70px 110px minmax(0, 1fr) 90px 110px 100px; }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-flow li:nth-child(3) { border-left: 0; }
}
@media (max-width: 1024px) {
  .tpl-sbody { padding: 100px 0 110px; }
  .tpl-sbody--flush { padding-top: 0; }
  .tpl-sbody--board { padding: 72px 0 110px; }
  .tpl-tl__era { grid-template-columns: 1fr; gap: 28px; }
  .tpl-tl__side { position: static; }
  .tpl-tl__range { font-size: 42px; }
  .tpl-mission { grid-template-columns: 1fr; gap: 40px; }
  .tpl-mission__pic img { aspect-ratio: 16 / 9; }
  .tpl-mission__txt blockquote { font-size: 32px; }
  .tpl-values { grid-template-columns: 1fr; gap: 28px; }
  .tpl-org__divs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-org__aside { left: calc(50% + 130px); }
  .tpl-org__box { min-width: 200px; }
  .tpl-bov { grid-template-columns: 1fr; gap: 48px; }
  .tpl-bov__pic img { aspect-ratio: 16 / 10; }
  .tpl-scope { grid-template-columns: 1fr; }
  .tpl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-ptype { grid-template-columns: 1fr; }
  .tpl-ptype li, .tpl-ptype li:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
  .tpl-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-wview { grid-template-columns: 1fr; gap: 48px; }
  .tpl-wview__pic { position: static; }
  .tpl-wview__pic img { aspect-ratio: 16 / 10; }
  .tpl-askline { flex-direction: column; align-items: flex-start; }
  .tpl-bbs__head { display: none; }
  .tpl-bbs__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 18px 12px; text-align: left; font-size: 14.5px; }
  .tpl-bbs__no { display: none; }
  .tpl-bbs__row--notice .tpl-bbs__no { display: block; order: -2; }
  .tpl-bbs__cat { order: -1; }
  .tpl-bbs__tit { order: -1; width: 100%; padding: 0; }
  .tpl-bbs__row--reply .tpl-bbs__tit { padding-left: 16px; }
  .tpl-arch__dl { margin: 0; }
  .tpl-press a { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 768px) {
  .tpl-sbody { padding: 72px 0 84px; }
  .tpl-sbody--flush { padding-top: 0; }
  .tpl-sbody--board { padding: 48px 0 84px; }
  .tpl-sh { margin-bottom: 36px; }
  .tpl-h3 { font-size: 22px; }
  .tpl-dtable { font-size: 15.5px; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 12px; }
  .tpl-dtable tbody th { width: 96px; }
  .tpl-askline strong { font-size: 21px; }
  .tpl-askline__side { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tpl-askline__tel { font-size: 26px; }
  .tpl-tl__era { padding: 40px 0; }
  .tpl-tl__range { font-size: 34px; }
  .tpl-tl__list li { grid-template-columns: 1fr; gap: 4px; }
  .tpl-tl__list b { font-size: 18px; }
  .tpl-tl__list p { font-size: 16px; }
  .tpl-mission__txt blockquote { font-size: 25px; }
  .tpl-values h3 { font-size: 22px; }
  .tpl-org__box { min-width: 0; width: 100%; max-width: 240px; height: 56px; font-size: 16px; }
  .tpl-org__mid { flex-direction: column; align-items: center; }
  .tpl-org__aside { position: static; flex-direction: column; transform: none; }
  .tpl-org__aside::before { width: 1px; height: 24px; margin: 0; }
  .tpl-org__divs { grid-template-columns: 1fr; gap: 28px; }
  .tpl-kmap { height: 460px; }
  .tpl-loc__info { grid-template-columns: 1fr; }
  .tpl-loc__info div, .tpl-loc__info div + div { padding: 20px 0; border-left: 0; }
  .tpl-loc__info dd { font-size: 17px; }
  .tpl-route li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .tpl-route strong { font-size: 18px; }
  .tpl-route p { font-size: 16px; }
  .tpl-bov__nums { gap: 14px; margin-top: 40px; }
  .tpl-bov__nums b { font-size: 32px; }
  .tpl-bov__nums small { font-size: 14px; }
  .tpl-bov__nums span { font-size: 13.5px; }
  .tpl-scope li { grid-template-columns: 44px 1fr; padding: 24px 0; }
  .tpl-scope h3 { font-size: 19px; }
  .tpl-flow { grid-template-columns: 1fr; }
  .tpl-flow li + li { border-left: 0; }
  .tpl-flow li { padding: 24px 0 26px; }
  .tpl-cards { grid-template-columns: 1fr; gap: 44px; }
  .tpl-cards h3 { font-size: 20px; }
  .tpl-filter { flex-wrap: nowrap; overflow-x: auto; margin-bottom: 32px; scrollbar-width: none; }
  .tpl-filter::-webkit-scrollbar { display: none; }
  .tpl-filter a { flex: none; height: 40px; padding: 0 16px; font-size: 15px; }
  .tpl-pager { margin-top: 44px; gap: 2px; }
  .tpl-pager a, .tpl-pager strong { min-width: 38px; height: 38px; font-size: 15px; }
  .tpl-certs { gap: 28px 16px; }
  .tpl-certs__doc { padding: 14px; }
  .tpl-certs__doc span { font-size: 17px; }
  .tpl-certs h3 { font-size: 17px; }
  .tpl-bbs__top { flex-direction: column; align-items: stretch; gap: 14px; }
  .tpl-search { min-width: 0; }
  .tpl-search select { width: 96px; flex: none; }
  .tpl-search input { flex: 1; width: auto; }
  .tpl-bbs__tit a { font-size: 16px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .tpl-press a { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .tpl-press h3 { font-size: 20px; white-space: normal; }
  .tpl-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; padding-top: 28px; }
  .tpl-gal h3 { font-size: 17px; }
  .tpl-gal p { font-size: 14.5px; }
  .tpl-view__title { font-size: 25px; }
  .tpl-view__body { padding: 36px 0 44px; font-size: 17px; }
  .tpl-view__pics { grid-template-columns: 1fr; }
  .tpl-pn li { grid-template-columns: 64px minmax(0, 1fr); font-size: 15px; }
  .tpl-pn time { display: none; }
  .tpl-btns { flex-direction: column-reverse; }
  .tpl-btns > div { flex-wrap: wrap; }
  .tpl-answer { padding: 26px 22px 28px; }
  .tpl-form__row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .tpl-form__row--top > .tpl-form__label { padding-top: 0; }
  .tpl-input--s, .tpl-select { width: 100%; }
  .tpl-input--xs { width: calc(100% - 154px); min-width: 0; }
  .tpl-textarea { height: 220px; }
  .tpl-form__btns { flex-direction: column; }
  .tpl-form__btns .tpl-btn { width: 100%; }
  .tpl-callbar { grid-template-columns: 1fr; margin-bottom: 48px; }
  .tpl-callbar div, .tpl-callbar div + div { padding: 18px 0; border-left: 0; }
  .tpl-callbar div + div { border-top: 1px solid var(--tpl-line); }
  .tpl-callbar dd { font-size: 19px; }
  .tpl-faq summary { grid-template-columns: 32px minmax(0, 1fr) 20px; padding: 22px 0; }
  .tpl-faq__cat { display: none; }
  .tpl-faq__tit { font-size: 16.5px; }
  .tpl-faq__a { grid-template-columns: 32px minmax(0, 1fr); padding: 22px 14px 24px 0; }
  .tpl-faq__a p { font-size: 16px; }
  .tpl-mbox__title { font-size: 28px; }
  .tpl-steps li { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; }
  .tpl-steps span { font-size: 12.5px; }
  .tpl-done { padding: 52px 0 60px; }
  .tpl-done h2 { font-size: 25px; }
  .tpl-done dl { padding: 18px 20px; gap: 6px 16px; font-size: 15px; }
  .tpl-policy h2 { font-size: 20px; }
  .tpl-policy p, .tpl-policy li { font-size: 16px; }
}

[hidden] { display: none !important; }

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz057) · 퀵메뉴 · 팝업 · 지도입니다.
   위의 원본 CSS 는 고치지 않았습니다. 색 · 글꼴은 원본 common.css 의 토큰(흑연 · 콘크리트 회색 · 구리빛 갈색)을 씁니다.
   원본의 경영원칙(.tpl-split)은 칸 안의 사진이고 문의 띠(.tpl-cta)는 사진 없는 흑연 단색 띠라 가로 100% 사진 띠가 아닙니다. 그래서 고정 배경(지침 3-4)을 걸 띠가 없습니다.
   「맨 위로」 단추는 원본 .tpl-totop(흑연 정사각)을 퀵메뉴 맨 아래 칸으로 붙인 것입니다(「쓴 조합」 biz057 맨 위로 「정사각 · 대표색 칠 · 퀵메뉴 맨 아래 칸」).
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 CI 색 그대로이고, 글자는 원본 로고처럼 머리글 글자색(currentColor)을 따릅니다.
   머리글은 맨 위에서 투명(흰 글자) · 내려가면 흰 바탕(먹색 글자)이라 SVG 로고가 저절로 따라갑니다. 콘솔에 로고 두 장(흰 바탕용 · 어두운 바탕용)을 올리셨으면
   투명 머리글에서는 어두운 바탕용, 흰 머리글에서는 흰 바탕용을 보여 줍니다. 드로어는 흰 판이고 푸터는 짙은 흑연이라 푸터는 어두운 바탕용입니다 ---------- */
.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-header .logo-img--dark { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open):not(.is-solid) .logo-img:not(.logo-img--dark):has(+ .logo-img--dark) { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open):not(.is-solid) .logo-img--dark { display: block; }
.tpl-drawer__head .logo-svg { height: 26px; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 메인 비주얼 유튜브 배경 : 원본 reset.css 의 iframe{max-width:100%} 때문에 좁은 화면(390px)에서 영상이 비주얼을 다 덮지 못합니다(biz055 에서 실측한 것과 같은 규칙).
   원본 크기 계산(177.78vh · 56.25vw)이 그대로 먹게 max-width 를 풉니다 ---------- */
.tpl-visual__video iframe { max-width: none; min-height: calc(100% + 2px); }   /* 좁은 화면에서 높이가 소수점만큼 모자라 아래에 1px 이 비던 것(2026-11-23 로컬 실측 801.789 / 801.797px)을 2px 더 키워 덮습니다 */

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

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

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bbs__empty { padding: 64px 0; border-bottom: 1px solid var(--tpl-line); text-align: center; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-press + .tpl-bbs__empty, .tpl-bbs__top + .tpl-bbs__empty { border-top: 2px solid var(--tpl-ink); }
.tpl-bbs__foot + .tpl-pager { margin-top: 24px; }
.tpl-view__body img { max-width: 100%; height: auto; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-pn__none { color: var(--tpl-mute); }
.tpl-answer__head a { font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt__tit b { color: var(--tpl-accent); }
.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-textarea { height: 120px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
/* 자주 묻는 질문 : 답 안의 문단 · 관리자 수정 링크 · 질문이 없을 때만 더합니다 */
.tpl-faq__a > div > * + * { margin-top: 10px; }
.tpl-faq__a > div > p { font-size: 17px; color: var(--tpl-text); }
.tpl-faq__a a { color: var(--tpl-accent); text-decoration: underline; text-underline-offset: 3px; }
.tpl-faq__empty { padding: 48px 0; text-align: center; color: var(--tpl-mute); }
@media (max-width: 768px) { .tpl-faq__a > div > p { font-size: 16px; } }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.mb-addr { display: grid; gap: 10px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-addr__zip .tpl-input { width: min(100%, 180px); }
.mb-addr .tpl-btn, .mb-cert .tpl-btn { height: 52px; }
.mb-textarea { width: 100%; height: 120px; padding: 14px 16px; border: 1px solid var(--tpl-line); font: inherit; font-size: 16.5px; }
.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: 500 14.5px var(--tpl-font); color: var(--tpl-accent); 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-pale); }
.tpl-form__btns.mb-cert { margin-top: 24px; }

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz057(가 1 · 나 2 · 다 4 · 라 7 · 마 5, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 1 : 1차에 올리면 원본의 아래 선이 3px 로 굵어져 왼쪽부터 그어집니다. 서브페이지 현재 메뉴도 같은 선이고, 다른 1차에 올리면 거둡니다(원본 규칙, 표시는 늘 하나).
   나 2 : 원본의 모든 열 메가 대신, 올린 1차의 2차만 헤더 아래 한 줄로 그 1차 글자 가운데 바로 아래에 늘어섭니다. 패널 왼쪽에 1차 이름을 다시 적지 않습니다.
   다 4 : 패널 바탕은 아주 옅은 웜 회색(#f6f5f2)이고 위아래 가는 선입니다. 원본처럼 메뉴가 열리면 투명 머리글이 흰 바탕이 됩니다(.is-mega-open). 2차 열 배경색 · 열 hover 배경은 없습니다.
   라 7 : 1차 아래 선이 먼저 그어지고(0.25초, js 의 is-mega-line) 그다음 패널이 열립니다. 패널(scaleY)과 2차 줄(clip-path)은 원본처럼 같은 시간 · 같은 곡선이라 패널 밖 글자가 없습니다.
   마 5 : 2차에 올리면 글자가 먹색이 되고 오른쪽에 구리빛 꺾쇠 화살표가 나타납니다. 지금 화면의 2차는 원본처럼 굵은 먹색입니다. ---------- */
:root { --tpl-mega-row: 72px; }
.tpl-gnb__link::after { height: 3px; transform-origin: 0 50%; }
.tpl-mega__bg { height: var(--tpl-mega-row); background: #f6f5f2; box-shadow: inset 0 1px 0 var(--tpl-line), inset 0 -1px 0 var(--tpl-line); }
.tpl-gnb__sub { left: 50%; right: auto; display: flex; width: max-content; align-items: center; gap: 36px; height: var(--tpl-mega-row); padding: 0; white-space: nowrap; transform: translateX(-50%); }
.tpl-gnb__item + .tpl-gnb__item .tpl-gnb__sub { box-shadow: none; }
.tpl-gnb__sub a { position: relative; padding: 6px 22px 6px 0; }
.tpl-gnb__sub a::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1.5px solid var(--tpl-accent); border-right: 1.5px solid var(--tpl-accent); opacity: 0; transform: translateX(-6px) rotate(45deg); transition: opacity .25s, transform .3s var(--tpl-ease); }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { text-decoration: none; }
.tpl-gnb__sub a:hover::after, .tpl-gnb__sub a:focus-visible::after { opacity: 1; transform: rotate(45deg); }
.tpl-gnb__sub a:focus-visible { outline-offset: 2px; }
/* 올린(is-cur) 1차의 2차 줄만 보입니다. 다른 1차로 옮기면 패널은 그대로 두고 줄만 바로 바뀝니다 */
.is-mega-open .tpl-gnb__item:not(.is-cur) .tpl-gnb__sub { visibility: hidden; clip-path: inset(0 0 100% 0); transition: none; }
@media (prefers-reduced-motion: reduce) {
  .tpl-mega__bg, .tpl-gnb__sub, .tpl-gnb__link::after, .tpl-gnb__sub a::after { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz057(배치 1 · 효과 1). 오른쪽 가장자리 가운데에 이음 없이 붙은 흰 정사각 칸(옅은 선 · 흑연 아이콘)들입니다.
   올리거나 키보드로 가면 칸 뒤에서 흑연 이름 띠(흰 글자)가 왼쪽으로 미끄러져 나오고(translateX + clip-path) 아이콘이 구리빛이 됩니다. 원본처럼 모서리는 직각입니다.
   칸 크기는 본문 여백(--tpl-side) 안에 들게 1361px 이상 48 · 1181~1360px 40 · 1025~1180px 32px 입니다(왼쪽 선 1px 을 칸 폭에 넣습니다). 이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다.
   맨 아래 칸은 원본 .tpl-totop(흑연 정사각 · 흰 화살표)을 옮겨 붙인 것입니다. 768px 이하는 오른쪽 아래 44px 칸입니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show) ---------- */
:root { --tpl-qs: 48px; }
.tpl-quick { position: fixed; right: 0; top: 50%; z-index: 95; display: flex; flex-direction: column; 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; border: 1px solid var(--tpl-line); border-right: 0; background: #fff; }
.tpl-quick li + li { border-top: 1px solid var(--tpl-line); }
.tpl-quick a { position: relative; display: grid; place-items: center; width: calc(var(--tpl-qs) - 1px); height: var(--tpl-qs); background: #fff; color: var(--tpl-graphite); transition: background-color .3s, color .3s; }
.tpl-quick a .tpl-ico, .tpl-quick__img { position: relative; z-index: 1; width: 20px; height: 20px; stroke-width: 1.6; transition: color .3s; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a span { position: absolute; right: 100%; top: -1px; bottom: -1px; z-index: 0; display: flex; align-items: center; padding: 0 18px; background: var(--tpl-graphite); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #fff; white-space: nowrap; pointer-events: none; clip-path: inset(0 0 0 100%); transform: translateX(10px); transition: clip-path .32s var(--tpl-ease), transform .32s var(--tpl-ease); }
.tpl-quick a:focus-visible { background: var(--tpl-pale); color: var(--tpl-accent); outline: 2px solid var(--tpl-accent); outline-offset: -2px; }
.tpl-quick a:focus-visible span { clip-path: inset(0); transform: none; }
@media (hover: hover) {
  .tpl-quick a:hover { background: var(--tpl-pale); color: var(--tpl-accent); }
  .tpl-quick a:hover span { clip-path: inset(0); transform: none; }
}
.tpl-quick .tpl-totop { position: static; display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); margin-left: auto; background: var(--tpl-graphite); color: #fff; opacity: 1; visibility: inherit; transform: none; transition: background-color .25s; }
.tpl-quick .tpl-totop .tpl-ico { width: 18px; height: 18px; stroke-width: 1.8; }
.tpl-quick .tpl-totop:hover, .tpl-quick .tpl-totop:focus-visible { background: var(--tpl-ink); }
@media (max-width: 1360px) { :root { --tpl-qs: 40px; } .tpl-quick a .tpl-ico, .tpl-quick__img { width: 18px; height: 18px; } }
@media (max-width: 1180px) { :root { --tpl-qs: 32px; } .tpl-quick a .tpl-ico, .tpl-quick__img { width: 16px; height: 16px; } .tpl-quick a span { font-size: 14px; padding: 0 14px; } }
@media (max-width: 768px) {
  :root { --tpl-qs: 44px; }
  .tpl-quick { right: 12px; top: auto; bottom: 16px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick ul { border-right: 1px solid var(--tpl-line); }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: 19px; height: 19px; }
}
@media (hover: none) {
  .tpl-quick a span { clip-path: inset(0 0 0 100%) !important; }   /* 터치 화면은 누르면 바로 이동합니다(펼침 없이) */
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 위 흑연 3px 선 · 제목 앞 구리빛 짧은 가로선(원본 라벨 표식) · 흑연 면 단추(올리면 흰 바탕 먹색 글자, 원본 .tpl-btn) · 콘크리트 회색 아래 띠 ---------- */
.tpl-pop__item { border: 1px solid var(--tpl-line); border-top: 3px solid var(--tpl-graphite); background: #fff; box-shadow: 0 16px 36px rgba(20, 20, 22, .22); }
.tpl-pop__body { padding: 30px 30px 32px; }
.tpl-pop__title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__title::before { content: ''; flex: none; width: 22px; height: 1px; background: var(--tpl-accent); }
.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: 24px; height: 50px; margin-top: 22px; padding: 0 20px 0 24px; border: 1px solid var(--tpl-graphite); background: var(--tpl-graphite); font-size: 15.5px; font-weight: 500; color: #fff; transition: background-color .3s, color .3s; }
.tpl-pop__more::after { content: ''; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: #fff; color: var(--tpl-ink); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-pale); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 15px; color: var(--tpl-mute); transition: color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); color: var(--tpl-ink); font-weight: 500; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { color: var(--tpl-accent); }
