/* style.css : allweb_theme_biz098 의 화면 CSS 입니다. 시안 98 의 reset.css · common.css · main.css · sub.css 를 차례로 이어 붙였고(메인 바로가기 .tpl-quick 만 .tpl-shortcut 으로 이름을 바꿨습니다 : 콘솔 퀵메뉴가 nav.tpl-quick 을 씁니다),
   맨 아래 「그누보드 연결부」 가 그누보드에 붙이며 더한 것입니다. */

/* 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}

/* common.css — 메인과 서브가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 공통 머리말, 버튼, 헤더, 가로형 메가메뉴, 드로어, 푸터, TOP 버튼, 스크롤 등장 효과를 담습니다.
   색은 흰 바탕 · 따뜻한 먹색 글자 · 벽돌색 한 가지 포인트만 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

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

:root {
  --tpl-brick: #8a3b2a;           /* 주색 : 버튼 · 라벨 · 강조 선 (흰 바탕 대비 7.7:1) */
  --tpl-brick-d: #6e2d1f;         /* 주색 hover */
  --tpl-brick-l: #f0d9d1;         /* 벽돌 면 위 보조 글자 */
  --tpl-ink: #1f1a17;             /* 제목 · 진한 버튼 */
  --tpl-text: #46403c;            /* 본문 */
  --tpl-mute: #6b635e;            /* 보조 글자 (흰 바탕 5.9:1 · 옅은 바탕 5.3:1) */
  --tpl-line: #e6e1dc;            /* 얇은 선 */
  --tpl-pale: #f6f3f0;            /* 아주 옅은 바탕 */
  --tpl-pale-2: #efeae5;          /* 옅은 바탕 위 상자 */
  --tpl-foot: #1d1917;            /* 푸터 */
  --tpl-r: 12px;                  /* 사진 · 상자 모서리 */
  --tpl-font: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 88px;               /* 헤더 높이 */
  --tpl-gnb-pad: 30px;            /* 1차 메뉴 li 양옆 여백(모든 칸 같음) */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
body { background: #fff; color: var(--tpl-text); font: 400 17px/1.7 var(--tpl-font); letter-spacing: -.02em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
main { overflow-x: clip; } /* 옆에서 들어오는 등장 효과가 가로 스크롤을 만들지 않게 합니다 */
/* 줄바꿈은 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: 1320px; 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-brick); outline-offset: 3px; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 스크롤 등장 (data-aos) : 블록이 화면 아래에서 절반쯤 올라오면 실행합니다 ---------- */
[data-aos] { opacity: 0; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="zoom-in"] { transform: scale(.94); }
[data-aos].is-aos { opacity: 1; transform: none; }
[data-aos-delay="1"] { transition-delay: .12s; }
[data-aos-delay="2"] { transition-delay: .24s; }
[data-aos-delay="3"] { transition-delay: .36s; }

/* ---------- 공통 머리말 : 작은 벽돌색 라벨 + 굵은 국문 제목 ---------- */
.tpl-sec { position: relative; padding: 140px 0; }
.tpl-sec--pale { background: var(--tpl-pale); }
.tpl-eyebrow { font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: .04em; color: var(--tpl-brick); }
.tpl-title { margin-top: 16px; font-size: 44px; font-weight: 700; line-height: 1.36; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-title--light { font-weight: 400; }
.tpl-title--light b { font-weight: 700; }
.tpl-desc { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--tpl-mute); }
.tpl-head--center { text-align: center; }
.tpl-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }

/* ---------- 공통 버튼 : 직사각형, 모서리 4px ---------- */
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 30px; border: 1px solid var(--tpl-ink); border-radius: 4px; background: var(--tpl-ink); font-size: 16px; font-weight: 500; color: #fff; white-space: nowrap; transition: background-color .3s, border-color .3s, color .3s; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; transition: transform .35s var(--tpl-ease); }
.tpl-btn:hover { background: var(--tpl-brick); border-color: var(--tpl-brick); }
.tpl-btn:hover .tpl-ico { transform: translateX(4px); }
.tpl-btn--brick { background: var(--tpl-brick); border-color: var(--tpl-brick); }
.tpl-btn--brick:hover { background: var(--tpl-brick-d); border-color: var(--tpl-brick-d); }
.tpl-btn--line { background: transparent; color: var(--tpl-ink); border-color: #c9c1ba; }
.tpl-btn--line:hover { background: transparent; border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-btn--white { background: #fff; border-color: #fff; color: var(--tpl-brick-d); }
.tpl-btn--white:hover { background: transparent; border-color: #fff; color: #fff; }
.tpl-btn--ghost { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .6); color: #fff; }
.tpl-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--tpl-ink); }
.tpl-rbtn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #cfc7c0; border-radius: 50%; background: #fff; color: var(--tpl-ink); transition: border-color .25s, color .25s, background-color .25s; }
.tpl-rbtn .tpl-ico { width: 20px; height: 20px; }
.tpl-rbtn:hover { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-rbtn.is-end { color: #b9b1aa; border-color: var(--tpl-line); pointer-events: none; }
.tpl-arrow { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--tpl-pale-2); color: var(--tpl-ink); transition: background-color .25s, color .25s, transform .35s var(--tpl-ease); }
.tpl-arrow .tpl-ico { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- 로고 : 벽돌 쌓기 심볼 + 영문 · 국문 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.tpl-logo__mark { width: 28px; height: 28px; flex: none; fill: currentColor; }
.tpl-logo__en { font-size: 22px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.tpl-logo__ko { padding-left: 10px; border-left: 1px solid currentColor; font-size: 14px; font-weight: 500; line-height: 1; opacity: .8; }

/* ---------- 헤더 : 맨 위에서는 비주얼 위 투명(흰 글자), 스크롤하거나 메뉴가 열리면 흰 바탕 ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: var(--tpl-hd-h); color: #fff; transition: background-color .35s, color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .18); transition: background-color .35s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open, .tpl-header--solid { background: #fff; color: var(--tpl-ink); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after, .tpl-header--solid::after { background: var(--tpl-line); }
.tpl-header__in { position: relative; display: flex; align-items: center; height: 100%; }
.tpl-header .tpl-logo { flex: none; }
.tpl-header .tpl-logo__accent { fill: currentColor; }
.tpl-header.is-scrolled .tpl-logo__accent, .tpl-header.is-mega-open .tpl-logo__accent, .tpl-header--solid .tpl-logo__accent { fill: var(--tpl-brick); }

/* 1차 메뉴 : li 양옆 여백이 모두 같아 글자 사이 간격이 같습니다. hover 표시는 글자 아래 선 하나입니다 */
.tpl-gnb { height: 100%; margin: 0 auto; }
.tpl-gnb__list { display: flex; height: 100%; }
.tpl-gnb__item { height: 100%; padding: 0 var(--tpl-gnb-pad); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 18px; font-weight: 500; white-space: nowrap; }
.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-header.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__link::after { transform: scaleX(1); background: var(--tpl-brick); }
.tpl-header:not(.is-mega-open) .tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -4px; }

/* 가로형 메가메뉴 : 전폭 흰 패널(.tpl-mega__bg)이 scaleY 로 위에서 아래로 펼쳐지고, 올린 1차의 2차 목록만 같은 시간 · 같은 곡선의 clip-path 로 함께 드러납니다.
   다른 1차로 옮기면 이전 목록은 즉시 사라지고 새 목록이 패널 안에서만 드러납니다. 패널 높이(--tpl-mega-h)는 common.js 가 잽니다. */
.tpl-mega__bg { position: absolute; left: 0; right: 0; top: 100%; height: var(--tpl-mega-h, 76px); background: #fff; box-shadow: inset 0 -1px 0 var(--tpl-line); transform: scaleY(0); transform-origin: 50% 0; transition: transform .42s var(--tpl-ease); pointer-events: none; }
.tpl-header.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.tpl-gnb__sub { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; height: var(--tpl-mega-h, 76px); visibility: hidden; clip-path: inset(0 0 100% 0); color: var(--tpl-ink); }
.tpl-gnb__item.is-on .tpl-gnb__sub { transition: clip-path .42s var(--tpl-ease), visibility 0s linear .42s; }
.tpl-header.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .42s var(--tpl-ease), visibility 0s; }
.tpl-gnb__sub-in { position: relative; height: 100%; }
.tpl-gnb__sub ul { position: absolute; top: 50%; left: var(--tpl-sub-x, 240px); display: flex; gap: 40px; transform: translateY(-50%); white-space: nowrap; }
.tpl-gnb__sub a { display: block; padding: 4px 0; font-size: 16.5px; font-weight: 400; 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: 6px; }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-ink); font-weight: 700; }

/* 로그인 · 회원가입 : 글자 + 테두리 버튼 */
.tpl-util { display: flex; align-items: center; gap: 8px; flex: none; font-size: 15px; font-weight: 500; }
.tpl-util a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: 4px; white-space: nowrap; transition: border-color .25s; }
.tpl-util a:last-child { border-color: currentColor; }
.tpl-util a:first-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-util a:last-child:hover { border-color: var(--tpl-brick); }

/* 햄버거 (1024px 이하) */
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; width: 22px; 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; }

/* ---------- 드로어 (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(24, 18, 15, .55); opacity: 0; transition: opacity .45s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 100%); background: #fff; color: var(--tpl-ink); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--tpl-ease); }
.tpl-drawer.is-open .tpl-drawer__panel { transform: none; }
.tpl-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 20px; flex: none; border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__head .tpl-logo__accent { fill: var(--tpl-brick); }
.tpl-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.tpl-drawer__close .tpl-ico { width: 24px; height: 24px; }
.tpl-drawer__member { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 20px 6px; }
.tpl-drawer__member a { display: grid; place-items: center; height: 46px; border: 1px solid #cfc7c0; border-radius: 4px; font-size: 16px; font-weight: 500; }
.tpl-drawer__member a:last-child { background: var(--tpl-ink); border-color: var(--tpl-ink); color: #fff; }
.tpl-drawer__list { padding: 4px 20px; }
.tpl-drawer__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 19px 0; text-align: left; font: 500 19px/1.3 var(--tpl-font); letter-spacing: -.03em; }
.tpl-drawer__toggle .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease); }
.tpl-drawer__toggle[aria-expanded="true"] { color: var(--tpl-brick); font-weight: 700; }
.tpl-drawer__toggle[aria-expanded="true"] .tpl-ico { transform: rotate(180deg); color: var(--tpl-brick); }
.tpl-drawer__sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--tpl-ease); }
.tpl-drawer__sub a { display: block; padding: 7px 0; font-size: 17px; color: var(--tpl-mute); }
.tpl-drawer__sub li:last-child a { margin-bottom: 16px; }
.tpl-drawer__sub a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-drawer__sub a[aria-current] { color: var(--tpl-ink); font-weight: 700; }
.tpl-drawer__foot { margin-top: auto; padding: 24px 20px 28px; }
.tpl-drawer__tel { display: grid; padding: 16px 0 0; border-top: 1px solid var(--tpl-line); line-height: 1.35; }
.tpl-drawer__tel small { font-size: 14px; color: var(--tpl-mute); }
.tpl-drawer__tel strong { font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--tpl-brick); }

/* ---------- 푸터 : 따뜻한 먹색. 위 줄 로고 · 사이트맵, 아래 줄 정책 · 주소 · 대표전화 ---------- */
.tpl-footer { background: var(--tpl-foot); color: #a8a09a; font-size: 15px; line-height: 1.75; }
.tpl-footer__in { padding: 80px 0 64px; }
.tpl-footer__top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 44px; border-bottom: 1px solid #36302c; }
.tpl-footer .tpl-logo { color: #fff; }
.tpl-footer .tpl-logo__accent { fill: #d99a87; }
.tpl-footer__map { display: grid; grid-template-columns: repeat(5, auto); gap: 24px 64px; }
.tpl-footer__map strong { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: #fff; }
.tpl-footer__map li a { display: inline-block; padding: 2px 0; font-size: 15px; color: #bdb5ae; }
.tpl-footer__map li 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: 40px; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 14px; font-size: 15px; color: #ddd6d0; }
.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: 14px; }
.tpl-footer__copy { margin-top: 6px; letter-spacing: 0; }
.tpl-footer__cs { flex: none; text-align: right; }
.tpl-footer__cs small { display: block; font-size: 14px; }
.tpl-footer__cs strong { display: block; font-size: 34px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.tpl-footer__cs p { font-size: 14px; }

/* ---------- TOP 버튼 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--tpl-ink); 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: 20px; height: 20px; stroke-width: 1.8; }
.tpl-totop:hover { background: var(--tpl-brick); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-pad: 22px; }
  .tpl-footer__map { gap: 24px 40px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-pad: 16px; }
  .tpl-logo__ko { display: none; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 72px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-logo__ko { display: inline; }
  .tpl-sec { padding: 110px 0; }
  .tpl-title { font-size: 38px; }
  .tpl-footer__top, .tpl-footer__bottom { flex-direction: column; align-items: flex-start; }
  .tpl-footer__map { grid-template-columns: repeat(3, auto); }
  .tpl-footer__cs { text-align: left; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 64px; --tpl-r: 10px; }
  .tpl-sec { padding: 88px 0; }
  .tpl-title { margin-top: 12px; font-size: 30px; }
  .tpl-desc { font-size: 17px; }
  .tpl-head--split { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tpl-btn { height: 50px; padding: 0 22px; font-size: 15.5px; }
  .tpl-rbtn { width: 44px; height: 44px; }
  .tpl-logo__en { font-size: 19px; }
  .tpl-logo__ko { font-size: 13px; }
  .tpl-footer__in { padding: 56px 0 48px; }
  .tpl-footer__map { grid-template-columns: repeat(2, auto); gap: 24px 32px; }
  .tpl-footer__cs strong { font-size: 28px; }
  .tpl-totop { bottom: 20px; right: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1; transform: none; }
}

/* main.css — 메인 페이지 전용입니다. 섹션 순서대로 적었습니다(비주얼 → 바로가기 → 회사소개 → 사업영역 → 숫자 → 주요 서비스 → 대표 프로젝트 → 갤러리 → 소식 → 경영 정보 → 고객 이야기 → 질문 → 인재채용 → 오시는 길). */

/* ===== 메인 비주얼 : 새 슬라이드가 확대된 상태에서 서서히 제자리로 줄며 페이드로 나타납니다. 문구는 왼쪽 정렬입니다 ===== */
.tpl-visual { position: relative; height: 100vh; overflow: hidden; background: #1d1714; color: #fff; }
.tpl-visual__item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity var(--tpl-vspeed, 1300ms) ease, visibility 0s linear var(--tpl-vspeed, 1300ms); }
.tpl-visual__item.is-active { z-index: 2; opacity: 1; visibility: visible; transition: opacity var(--tpl-vspeed, 1300ms) ease, visibility 0s; }
.tpl-visual__item.is-leaving { z-index: 1; visibility: visible; }
.tpl-visual__bg, .tpl-visual__video { position: absolute; inset: 0; overflow: hidden; }
.tpl-visual__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.tpl-visual__item.is-active .tpl-visual__bg img { transform: scale(1); transition: transform calc(var(--tpl-vdelay, 6500ms) + var(--tpl-vspeed, 1300ms)) cubic-bezier(.2, .6, .35, 1); }
.tpl-visual__item.is-leaving .tpl-visual__bg img { transform: scale(1); }
/* 유튜브는 16:9 를 화면보다 크게 깔아 검은 띠가 생기지 않게 합니다. reset.css 의 max-width:100% 를 풀어 줍니다 */
.tpl-visual__video iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); max-width: none; border: 0; transform: translate(-50%, -50%) scale(1.02); opacity: 0; transition: opacity .5s; pointer-events: none; }
/* 영상은 재생이 시작되고 유튜브 제목 · 아이콘이 사라진 뒤(main.js 가 is-yt-on 을 붙입니다) 대체 사진 위로 서서히 드러납니다 */
.tpl-visual__video iframe.is-yt-on { opacity: 1; }
.tpl-visual__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 15, 12, .66) 0%, rgba(22, 15, 12, .42) 50%, rgba(22, 15, 12, .2) 100%), linear-gradient(180deg, rgba(22, 15, 12, .35) 0%, rgba(22, 15, 12, 0) 30%, rgba(22, 15, 12, .3) 100%); pointer-events: none; }
.tpl-visual__cap { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; padding: var(--tpl-hd-h) 0 110px; }
.tpl-visual__cap .tpl-wrap { padding-left: 72px; }
.tpl-visual__label { font-size: 15px; font-weight: 700; letter-spacing: .24em; color: #f0d9d1; }
.tpl-visual__title { margin-top: 20px; font-size: clamp(34px, 4vw, 62px); font-weight: 700; line-height: 1.28; letter-spacing: -.045em; }
.tpl-visual__text { margin-top: 22px; font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.tpl-visual__cap .tpl-btn { margin-top: 40px; }
/* 문구는 라벨 → 제목 → 설명 → 버튼 순서로 올라옵니다 */
.tpl-visual__cap .tpl-wrap > * { opacity: 0; transform: translateY(32px); }
.tpl-visual__item.is-in .tpl-visual__cap .tpl-wrap > * { opacity: 1; transform: none; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
.tpl-visual__item.is-in .tpl-visual__title { transition-delay: .15s; }
.tpl-visual__item.is-in .tpl-visual__text { transition-delay: .3s; }
.tpl-visual__item.is-in .tpl-btn { transition-delay: .45s; }
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 4; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-visual__arrow .tpl-ico { width: 22px; height: 22px; }
.tpl-visual__arrow:hover { background: #fff; border-color: #fff; color: var(--tpl-ink); }
.tpl-visual__arrow--prev { left: 28px; }
.tpl-visual__arrow--next { right: 28px; }
.tpl-visual__ctrl { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 4; }
.tpl-visual__ctrl .tpl-wrap { display: flex; align-items: center; gap: 18px; padding-left: 72px; }
.tpl-visual__count { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .75); }
.tpl-visual__count b { font-weight: 700; color: #fff; }
.tpl-visual__bar { position: relative; width: 140px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.tpl-visual.is-run .tpl-visual__bar i { transform: scaleX(1); transition: transform var(--tpl-vdelay, 6500ms) linear; }
.tpl-visual.is-paused .tpl-visual__bar i { transform: scaleX(1); }
.tpl-visual__pause { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; color: #fff; }
.tpl-visual__pause .tpl-ico { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.tpl-visual__pause .i-play, .tpl-visual.is-paused .i-pause { display: none; }
.tpl-visual.is-paused .i-play { display: block; }
.tpl-visual__pause:hover { background: #fff; color: var(--tpl-ink); }
.tpl-visual__down { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .8); }
.tpl-visual__down .tpl-ico { width: 18px; height: 18px; }
.tpl-visual__down:hover { color: #fff; }

/* ===== 바로가기 : 옅은 상자 4칸, 오른쪽 위 화살표 ===== */
.tpl-shortcut { padding: 72px 0; }
.tpl-shortcut__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tpl-shortcut__list a { position: relative; display: block; height: 100%; padding: 28px 28px 30px; border-radius: var(--tpl-r); background: var(--tpl-pale); transition: background-color .3s; }
.tpl-shortcut__list a > .tpl-ico { width: 28px; height: 28px; stroke-width: 1.4; color: var(--tpl-brick); }
.tpl-shortcut__list strong { display: block; margin-top: 30px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-shortcut__list span { display: block; margin-top: 4px; font-size: 16px; color: var(--tpl-mute); }
.tpl-shortcut__list .tpl-arrow { position: absolute; right: 24px; top: 24px; background: #fff; }
.tpl-shortcut__list a:hover { background: var(--tpl-pale-2); }
.tpl-shortcut__list a:hover .tpl-arrow { background: var(--tpl-brick); color: #fff; transform: rotate(45deg); }

/* ===== 회사소개 요약 : 사진 위에 흰 글 상자가 겹칩니다. 세 장의 높이와 상자 위치를 엇갈리게 둡니다 ===== */
.tpl-about__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; align-items: start; }
.tpl-about__card { position: relative; padding-bottom: 72px; }
.tpl-about__photo { overflow: hidden; border-radius: var(--tpl-r); aspect-ratio: 4 / 5; }
.tpl-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-about__card:nth-child(1) .tpl-about__photo { width: 80%; }
.tpl-about__card:nth-child(2) { margin-top: 64px; }
.tpl-about__card:nth-child(2) .tpl-about__photo { aspect-ratio: 3 / 4; }
.tpl-about__card:nth-child(3) .tpl-about__photo { width: 80%; margin-left: auto; }
.tpl-about__box { position: absolute; display: flex; flex-direction: column; width: 68%; padding: 24px 24px 22px; border-radius: var(--tpl-r); background: #fff; }
.tpl-about__card:nth-child(1) .tpl-about__box { right: 0; bottom: 0; }
.tpl-about__card:nth-child(2) .tpl-about__box { left: 8%; right: 8%; width: auto; bottom: 0; }
.tpl-about__card:nth-child(3) .tpl-about__box { left: 0; top: 48px; }
.tpl-about__box small { font-size: 14px; font-weight: 700; color: var(--tpl-brick); }
.tpl-about__box strong { margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-about__box p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--tpl-line); font-size: 15px; color: var(--tpl-mute); }
.tpl-about__box b { font-size: 22px; font-weight: 700; color: var(--tpl-brick); white-space: nowrap; }
.tpl-about__more { margin-top: 40px; text-align: center; }

/* ===== 사업영역 : 사진 패널 4개 중 하나가 넓게 펼쳐집니다. 접힌 패널은 세로 글자 ===== */
.tpl-biz__list { display: flex; gap: 12px; height: 540px; margin-top: 56px; }
.tpl-biz__panel { position: relative; flex: 0 0 96px; overflow: hidden; border-radius: var(--tpl-r); background: #2a221e; color: #fff; transition: flex-grow .7s var(--tpl-ease), flex-basis .7s var(--tpl-ease); }
.tpl-biz__panel.is-on { flex: 1 1 96px; }
.tpl-biz__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--tpl-ease); }
.tpl-biz__panel.is-on .tpl-biz__img { transform: scale(1); }
.tpl-biz__panel::after { content: ''; position: absolute; inset: 0; background: rgba(28, 20, 16, .62); transition: background-color .6s; pointer-events: none; }
.tpl-biz__panel.is-on::after { background: linear-gradient(0deg, rgba(24, 17, 14, .82) 0%, rgba(24, 17, 14, .35) 55%, rgba(24, 17, 14, .2) 100%); }
.tpl-biz__tab { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 32px 0; color: #fff; transition: background-color .3s; }
.tpl-biz__tab span { font-size: 15px; font-weight: 700; letter-spacing: .06em; color: #f0d9d1; }
.tpl-biz__tab strong { margin-top: 20px; font-size: 20px; font-weight: 700; letter-spacing: .02em; writing-mode: vertical-rl; white-space: nowrap; }
.tpl-biz__panel:not(.is-on) .tpl-biz__tab:hover { background: rgba(138, 59, 42, .45); }
.tpl-biz__panel.is-on .tpl-biz__tab { inset: 36px auto auto 44px; padding: 0; cursor: default; }
.tpl-biz__panel.is-on .tpl-biz__tab strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tpl-biz__body { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: 44px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.tpl-biz__panel.is-on .tpl-biz__body { opacity: 1; visibility: visible; transition: opacity .6s .45s, visibility 0s; }
.tpl-biz__lead small { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: #f0d9d1; }
.tpl-biz__lead h3 { margin-top: 10px; font-size: 36px; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; white-space: nowrap; }
.tpl-biz__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .6); font-size: 16px; font-weight: 500; }
.tpl-biz__go .tpl-ico { width: 16px; height: 16px; transition: transform .35s var(--tpl-ease); }
.tpl-biz__go:hover .tpl-ico { transform: translateX(4px); }
.tpl-biz__points { width: 400px; flex: none; }
.tpl-biz__points div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.tpl-biz__points dt { font-size: 17px; font-weight: 700; }
.tpl-biz__points dd { margin-top: 2px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); }

/* ===== 숫자 실적 : 굵은 선 아래 4칸 ===== */
.tpl-num { padding: 0 0 140px; }
.tpl-num__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-top: 56px; border-top: 2px solid var(--tpl-ink); }
.tpl-num__head .tpl-title { margin-top: 12px; }
.tpl-num__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.tpl-num__list > div { padding: 4px 0 4px 28px; border-left: 1px solid var(--tpl-line); }
.tpl-num__list dt { font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-num__list dd { margin-top: 10px; font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--tpl-ink); white-space: nowrap; }
.tpl-num__list dd small { margin-left: 4px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--tpl-brick); }

/* ===== 주요 서비스 : 2열 목록, 흰 아이콘 상자 + 글 + 화살표, 아래 선 ===== */
.tpl-svc__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; margin-top: 56px; }
.tpl-svc__list li { border-bottom: 1px solid #ddd6cf; }
.tpl-svc__list li:nth-child(-n+2) { border-top: 1px solid #ddd6cf; }
.tpl-svc__list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 22px; align-items: center; gap: 24px; padding: 28px 0; }
.tpl-svc__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--tpl-r); background: #fff; color: var(--tpl-brick); }
.tpl-svc__ico .tpl-ico { width: 28px; height: 28px; stroke-width: 1.4; }
.tpl-svc__txt small { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--tpl-mute); }
.tpl-svc__txt strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-svc__txt > span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--tpl-mute); }
.tpl-svc__go { color: #a59b93; transition: transform .35s var(--tpl-ease), color .25s; }
.tpl-svc__list a:hover .tpl-svc__go { color: var(--tpl-brick); transform: translateX(4px); }
.tpl-svc__list a:hover strong { color: var(--tpl-brick); }

/* ===== 대표 프로젝트 : 왼쪽 큰 이름 목록, 고른 이름의 사진이 오른쪽에 나타납니다 ===== */
.tpl-proj__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-proj__names { margin: 44px 0 44px; }
.tpl-proj__names a { display: inline-block; padding: 8px 0; font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); text-decoration: underline 2px transparent; text-underline-offset: 9px; transition: color .25s, text-decoration-color .25s; }
.tpl-proj__names a.is-on { color: var(--tpl-brick); text-decoration-color: currentColor; }
.tpl-proj__view { position: relative; aspect-ratio: 6 / 5; overflow: hidden; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-proj__fig { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--tpl-ease); }
.tpl-proj__fig.is-on { opacity: 1; }
.tpl-proj__fig img { width: 100%; height: 100%; object-fit: cover; }
.tpl-proj__fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 28px 22px; background: linear-gradient(0deg, rgba(20, 14, 11, .7), rgba(20, 14, 11, 0)); font-size: 15px; font-weight: 500; color: #fff; }

/* ===== 갤러리 : 가로 스크롤 스냅 카드 + 진행선 ===== */
.tpl-gallery__nav { display: flex; align-items: center; gap: 10px; flex: none; }
.tpl-gallery__nav .tpl-btn { height: 48px; margin-left: 8px; padding: 0 22px; }
.tpl-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px * 3) / 4); gap: 28px; margin-top: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tpl-gallery__track::-webkit-scrollbar { display: none; }
.tpl-gallery__track li { scroll-snap-align: start; min-width: 0; }
.tpl-gallery__track a { display: block; }
.tpl-gallery__img { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--tpl-pale-2); }
.tpl-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-gallery__track a:hover img { transform: scale(1.05); }
.tpl-gallery__meta { display: block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--tpl-brick); }
.tpl-gallery__track strong { display: block; margin-top: 4px; overflow: hidden; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-gallery__desc { display: -webkit-box; margin-top: 6px; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-gallery__progress { position: relative; height: 2px; margin-top: 44px; overflow: hidden; background: #ddd6cf; }
.tpl-gallery__progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--tpl-ink); transition: transform .3s; }

/* ===== 소식 : 왼쪽 대표 기사 카드 + 날짜 상자, 오른쪽 게시판 탭 ===== */
.tpl-news__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; margin-top: 48px; }
.tpl-news__card { position: relative; display: block; height: 380px; overflow: hidden; border-radius: var(--tpl-r); color: #fff; }
.tpl-news__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-news__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 11, .78) 0%, rgba(20, 14, 11, .2) 60%, rgba(20, 14, 11, .3) 100%); }
.tpl-news__card:hover img { transform: scale(1.04); }
.tpl-news__card-txt { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 1; }
.tpl-news__card-txt strong { display: block; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.03em; }
.tpl-news__card-txt span { display: -webkit-box; margin-top: 10px; overflow: hidden; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, .88); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-news__date { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 12px; padding: 22px 30px; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-news__date > span { align-self: flex-start; font-size: 15px; font-weight: 700; color: var(--tpl-ink); }
.tpl-news__date b { display: grid; text-align: right; font-size: 26px; font-weight: 400; line-height: 1.2; color: var(--tpl-mute); }
.tpl-news__date small { font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-news__tabs { display: flex; align-items: flex-end; gap: 32px; border-bottom: 1px solid var(--tpl-line); }
.tpl-news__tabs button { position: relative; padding: 0 0 16px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-mute); transition: color .25s; }
.tpl-news__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tpl-brick); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-news__tabs button[aria-selected="true"] { color: var(--tpl-ink); }
.tpl-news__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.tpl-news__tabs button:hover { color: var(--tpl-ink); }
.tpl-news__more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding-bottom: 18px; font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-news__more .tpl-ico { width: 16px; height: 16px; transition: transform .35s var(--tpl-ease); }
.tpl-news__more:hover { color: var(--tpl-ink); }
.tpl-news__more:hover .tpl-ico { transform: rotate(90deg); }
.tpl-news__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-news__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; padding: 28px 0; }
.tpl-news__list strong { overflow: hidden; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; transition: color .25s; }
.tpl-news__list span { display: -webkit-box; grid-column: 1; margin-top: 8px; overflow: hidden; font-size: 16px; line-height: 1.6; color: var(--tpl-mute); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tpl-news__list time { grid-column: 2; grid-row: 1; font-size: 15px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-news__list a:hover strong { color: var(--tpl-brick); }

/* ===== 경영 정보 : 3칸 타일 (그래프 · 사진 · 사진) ===== */
.tpl-info__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.tpl-info__item a { position: relative; display: block; height: 260px; overflow: hidden; border-radius: var(--tpl-r); background: #fff; }
.tpl-info__chart { position: absolute; left: 0; right: 0; bottom: 84px; width: 100%; height: 46%; }
.tpl-info__area { fill: rgba(138, 59, 42, .1); }
.tpl-info__line { fill: none; stroke: var(--tpl-brick); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tpl-info__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-info__item--photo a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 11, .7) 0%, rgba(20, 14, 11, .15) 70%); }
.tpl-info__name { position: absolute; left: 28px; bottom: 26px; z-index: 1; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-info__item--photo .tpl-info__name { color: #fff; }
.tpl-info__item .tpl-arrow { position: absolute; right: 26px; bottom: 26px; z-index: 1; background: rgba(255, 255, 255, .92); }
.tpl-info__item--chart .tpl-arrow { background: var(--tpl-pale-2); }
.tpl-info__item a:hover img { transform: scale(1.05); }
.tpl-info__item a:hover .tpl-arrow { background: var(--tpl-brick); color: #fff; }

/* ===== 고객 이야기 : 왼쪽 옅은 글 상자, 오른쪽 사진. 아래 막대로 위치 표시 ===== */
.tpl-story__card { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; overflow: hidden; border-radius: var(--tpl-r); }
.tpl-story__text { display: flex; flex-direction: column; align-items: flex-start; padding: 40px 48px 48px; background: var(--tpl-pale); }
.tpl-story__top { display: flex; align-items: center; justify-content: space-between; align-self: stretch; }
.tpl-story__count { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-story__count b { font-weight: 700; color: var(--tpl-ink); }
.tpl-story__nav { display: flex; gap: 6px; }
.tpl-story__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--tpl-ink); transition: background-color .25s, color .25s; }
.tpl-story__btn:hover { background: var(--tpl-ink); color: #fff; }
.tpl-story__slides { display: grid; align-self: stretch; margin: 72px 0 40px; }
.tpl-story__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .5s, transform .6s var(--tpl-ease), visibility 0s linear .5s; }
.tpl-story__slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s .15s, transform .7s .15s var(--tpl-ease), visibility 0s; }
.tpl-story__slide h3 { font-size: 27px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-story__slide p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--tpl-text); }
.tpl-story__slide .tpl-story__who { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-story__who::before { content: ''; width: 24px; height: 1px; background: var(--tpl-brick); }
.tpl-story__text .tpl-btn { margin-top: auto; }
.tpl-story__media { position: relative; min-height: 500px; background: #2a221e; }
.tpl-story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--tpl-ease); }
.tpl-story__media img.is-on { opacity: 1; }
.tpl-story__dots { position: absolute; left: 32px; right: 32px; bottom: 20px; z-index: 1; display: flex; gap: 8px; }
.tpl-story__dots button { position: relative; flex: 1; height: 24px; }
.tpl-story__dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255, 255, 255, .45); transition: background-color .3s; }
.tpl-story__dots button.is-on::after, .tpl-story__dots button:hover::after { background: #fff; }

/* ===== 자주 묻는 질문 : 왼쪽 머리말, 오른쪽 아코디언 ===== */
.tpl-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; align-items: start; }
.tpl-faq__head .tpl-btn { margin-top: 36px; }
.tpl-faq__list { border-top: 2px solid var(--tpl-ink); }
.tpl-faq__list li { border-bottom: 1px solid #ddd6cf; }
.tpl-faq__q { display: flex; align-items: center; gap: 18px; width: 100%; padding: 26px 0; text-align: left; font: 500 19px/1.5 var(--tpl-font); letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-faq__q span { flex: none; font-size: 20px; font-weight: 700; color: var(--tpl-brick); }
.tpl-faq__q .tpl-ico { margin-left: auto; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease); }
.tpl-faq__q[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); color: var(--tpl-brick); }
.tpl-faq__q:hover { color: var(--tpl-brick); }
.tpl-faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--tpl-ease); }
.tpl-faq__a p { padding: 0 40px 28px 34px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }

/* ===== 인재채용 : 벽돌색 단색 띠, 가운데 정렬 ===== */
.tpl-recruit { padding: 120px 0; background: var(--tpl-brick); color: #fff; text-align: center; }
.tpl-recruit__label { font-size: 15px; font-weight: 700; letter-spacing: .16em; color: var(--tpl-brick-l); }
.tpl-recruit__title { margin-top: 18px; font-size: 44px; font-weight: 400; line-height: 1.36; letter-spacing: -.045em; }
.tpl-recruit__title b { font-weight: 700; }
.tpl-recruit__text { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.tpl-recruit__btns { margin-top: 40px; }

/* ===== 오시는 길 : 왼쪽 연락처, 오른쪽 지도 ===== */
.tpl-map__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.tpl-map__list { margin: 36px 0 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-map__list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-map__list dt { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--tpl-ink); }
.tpl-map__list dt .tpl-ico { width: 18px; height: 18px; color: var(--tpl-brick); }
.tpl-map__list dd { font-size: 17px; color: var(--tpl-text); }
.tpl-map__frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-map__frame iframe { width: 100%; height: 100%; max-width: none; border: 0; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-biz__body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 24px; }
  .tpl-biz__points { width: 100%; max-width: 520px; }
  .tpl-num__in { grid-template-columns: 1fr; gap: 40px; }
  .tpl-proj__grid { gap: 56px; }
  .tpl-proj__names a { font-size: 27px; }
  .tpl-svc__list { column-gap: 48px; }
  .tpl-faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
}
@media (max-width: 1024px) {
  .tpl-visual__cap .tpl-wrap, .tpl-visual__ctrl .tpl-wrap { padding-left: 52px; }
  .tpl-visual__arrow { width: 48px; height: 48px; margin-top: -24px; }
  .tpl-visual__arrow--prev { left: 16px; }
  .tpl-visual__arrow--next { right: 16px; }
  .tpl-shortcut__list { grid-template-columns: repeat(2, 1fr); }
  .tpl-about__list { gap: 28px; }
  .tpl-about__box { width: 84%; padding: 20px 18px 18px; }
  .tpl-about__box strong { font-size: 18px; }
  .tpl-about__box p { flex-direction: column; align-items: flex-start; gap: 2px; }
  .tpl-biz__list { flex-direction: column; height: auto; }
  .tpl-biz__panel { flex: 0 0 76px; }
  .tpl-biz__panel.is-on { flex: 0 0 460px; }
  .tpl-biz__tab { flex-direction: row; align-items: center; gap: 16px; padding: 0 28px; }
  .tpl-biz__tab strong { margin-top: 0; writing-mode: horizontal-tb; }
  .tpl-biz__panel.is-on .tpl-biz__tab { inset: 28px auto auto 32px; }
  .tpl-biz__body { padding: 72px 32px 32px; }
  .tpl-num__list > div { padding-left: 20px; }
  .tpl-num__list dd { font-size: 44px; }
  .tpl-proj__grid, .tpl-news__grid, .tpl-faq__grid, .tpl-map__grid { grid-template-columns: 1fr; gap: 48px; }
  .tpl-svc__list { grid-template-columns: 1fr; }
  .tpl-svc__list li:nth-child(2) { border-top: 0; }
  .tpl-gallery__track { grid-auto-columns: calc((100% - 24px * 2) / 2.6); gap: 24px; }
  .tpl-info__list { grid-template-columns: 1fr 1fr; }
  .tpl-info__item:first-child { grid-column: 1 / -1; }
  .tpl-story__card { grid-template-columns: 1fr; }
  .tpl-story__media { order: -1; min-height: 380px; }
  .tpl-story__slides { margin: 40px 0 36px; }
  .tpl-recruit__title { font-size: 38px; }
}
@media (max-width: 768px) {
  .tpl-visual__cap { padding-bottom: 120px; }
  .tpl-visual__cap .tpl-wrap { padding: 0 44px; }
  .tpl-visual__ctrl .tpl-wrap { padding-left: 0; }
  .tpl-visual__ctrl { bottom: 32px; }
  .tpl-visual__label { font-size: 13px; letter-spacing: .18em; }
  .tpl-visual__title { margin-top: 14px; font-size: 32px; }
  .tpl-visual__text { margin-top: 16px; font-size: 16.5px; }
  .tpl-visual__cap .tpl-btn { margin-top: 28px; }
  .tpl-visual__arrow { width: 40px; height: 40px; margin-top: -20px; }
  .tpl-visual__arrow--prev { left: 8px; }
  .tpl-visual__arrow--next { right: 8px; }
  .tpl-visual__bar { width: 80px; }
  .tpl-shortcut { padding: 48px 0; }
  .tpl-shortcut__list { gap: 10px; }
  .tpl-shortcut__list a { padding: 20px 18px 22px; }
  .tpl-shortcut__list a > .tpl-ico { width: 24px; height: 24px; }
  .tpl-shortcut__list strong { margin-top: 20px; font-size: 18px; }
  .tpl-shortcut__list span { font-size: 14.5px; }
  .tpl-shortcut__list .tpl-arrow { right: 14px; top: 14px; width: 28px; height: 28px; }
  .tpl-about__list { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .tpl-about__card { padding-bottom: 56px; }
  .tpl-about__card:nth-child(2) { margin-top: 0; }
  .tpl-about__card .tpl-about__photo, .tpl-about__card:nth-child(2) .tpl-about__photo { width: 78%; aspect-ratio: 4 / 4.4; }
  .tpl-about__card:nth-child(2) .tpl-about__photo { margin-left: auto; }
  .tpl-about__box, .tpl-about__card:nth-child(2) .tpl-about__box { width: 66%; }
  .tpl-about__card:nth-child(2) .tpl-about__box { left: 0; right: auto; }
  .tpl-about__card:nth-child(3) .tpl-about__box { top: auto; bottom: 0; left: auto; right: 0; }
  .tpl-about__card:nth-child(3) .tpl-about__photo { margin-left: 0; }
  .tpl-biz__list { margin-top: 40px; gap: 8px; }
  .tpl-biz__panel { flex-basis: 64px; }
  .tpl-biz__panel.is-on { flex-basis: 540px; }
  .tpl-biz__tab { padding: 0 20px; }
  .tpl-biz__tab strong { font-size: 18px; }
  .tpl-biz__panel.is-on .tpl-biz__tab { inset: 22px auto auto 24px; }
  .tpl-biz__body { padding: 64px 24px 24px; }
  .tpl-biz__lead h3 { font-size: 28px; }
  .tpl-biz__points div { padding: 11px 0; }
  .tpl-biz__points dd { font-size: 15px; }
  .tpl-num { padding-bottom: 88px; }
  .tpl-num__in { padding-top: 40px; }
  .tpl-num__list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .tpl-num__list > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .tpl-num__list > div:first-child { border-left: 0; padding-left: 0; }
  .tpl-num__list dd { font-size: 38px; }
  .tpl-svc__list { margin-top: 40px; }
  .tpl-svc__list a { grid-template-columns: 52px minmax(0, 1fr) 18px; gap: 16px; padding: 22px 0; }
  .tpl-svc__ico { width: 52px; height: 52px; }
  .tpl-svc__ico .tpl-ico { width: 24px; height: 24px; }
  .tpl-svc__txt strong { font-size: 18px; }
  .tpl-svc__txt > span { font-size: 15px; }
  .tpl-proj__names { margin: 28px 0 32px; }
  .tpl-proj__names a { padding: 5px 0; font-size: 22px; text-underline-offset: 7px; }
  .tpl-proj__view { aspect-ratio: 4 / 3.4; }
  .tpl-gallery__nav .tpl-btn { display: none; }
  .tpl-gallery__track { grid-auto-columns: 78%; gap: 16px; margin-top: 36px; }
  .tpl-news__grid { margin-top: 36px; }
  .tpl-news__card { height: 300px; }
  .tpl-news__card-txt { left: 22px; right: 22px; bottom: 22px; }
  .tpl-news__card-txt strong { font-size: 19px; }
  .tpl-news__date { padding: 18px 22px; }
  .tpl-news__date b { font-size: 22px; }
  .tpl-news__date small { font-size: 19px; }
  .tpl-news__tabs { gap: 22px; }
  .tpl-news__tabs button { font-size: 18px; }
  .tpl-news__list a { grid-template-columns: 1fr; padding: 22px 0; }
  .tpl-news__list strong { font-size: 17.5px; white-space: normal; }
  .tpl-news__list span { font-size: 15px; }
  .tpl-news__list time { grid-column: 1; grid-row: auto; margin-top: 8px; font-size: 14px; }
  .tpl-info__list { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .tpl-info__item a { height: 200px; }
  .tpl-story__text { padding: 28px 22px 32px; }
  .tpl-story__media { min-height: 260px; }
  .tpl-story__dots { left: 20px; right: 20px; bottom: 12px; }
  .tpl-story__slide h3 { font-size: 22px; }
  .tpl-story__slide p { font-size: 16px; }
  .tpl-faq__q { gap: 12px; padding: 20px 0; font-size: 17px; }
  .tpl-faq__a p { padding: 0 8px 22px 28px; font-size: 16px; }
  .tpl-recruit { padding: 88px 0; }
  .tpl-recruit__title { font-size: 28px; }
  .tpl-recruit__text { font-size: 16px; }
  .tpl-map__list > div { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .tpl-map__list dd { font-size: 16px; }
}

/* ---------- 오시는 길 : 카카오 지도 (2026-11-28 구글 지도에서 바꿈) ----------
   카카오 화면 왼쪽 검색 창은 상자 overflow:hidden + iframe 을 왼쪽으로 420px 밀어 가립니다. */
.tpl-map__frame { position: relative; }
.tpl-map__frame iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); height: 100%; }
@media (max-width: 768px) { .tpl-map__frame { aspect-ratio: auto; height: 460px; } }

/* ---------- 고객 이야기 제목 : 1025 ~ 1280px 두 칸 배치에서 한 줄로 들어가게 줄입니다 (2026-11-28) ---------- */
@media (min-width: 1025px) and (max-width: 1280px) { .tpl-story__slide h3 { font-size: 24px; } }

/* sub.css — 서브페이지 전용입니다(늘봄컴퍼니). 메인과 같은 토큰(common.css)을 씁니다. 서브 비주얼 → 위치 표시 · 2차 메뉴 탭 → 인사말 → 회사 개요 순서입니다. 헤더 · 푸터는 common.css 를 그대로 씁니다. */

/* ===== 서브 비주얼 : 사진 + 어두운 막, 움직이지 않습니다 ===== */
.tpl-subvisual { position: relative; height: 460px; overflow: hidden; background: #1d1714; color: #fff; }
.tpl-subvisual__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvisual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 15, 12, .7) 0%, rgba(22, 15, 12, .45) 60%, rgba(22, 15, 12, .3) 100%); }
.tpl-subvisual__in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; padding-top: var(--tpl-hd-h); text-align: left; }
.tpl-subvisual__en { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; letter-spacing: .14em; color: #f0d9d1; }
.tpl-subvisual__en::before { content: ''; width: 32px; height: 1px; background: currentColor; }
.tpl-subvisual__title { margin-top: 18px; font-size: 56px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.tpl-subvisual__text { margin-top: 16px; font-size: 19px; color: rgba(255, 255, 255, .88); }

/* ===== 위치 표시 + 2차 메뉴 탭 ===== */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 72px; }
.tpl-snb__path { display: flex; align-items: center; flex: none; font-size: 15px; color: var(--tpl-mute); }
.tpl-snb__path li { display: flex; align-items: center; }
.tpl-snb__path li + li::before { content: ''; width: 6px; height: 6px; margin: 0 14px 0 10px; border-top: 1px solid #b3aaa3; border-right: 1px solid #b3aaa3; transform: rotate(45deg); } /* 글꼴에 없는 › 대신 선으로 그립니다 */
.tpl-snb__path .tpl-ico { width: 17px; height: 17px; }
.tpl-snb__path a:hover { color: var(--tpl-ink); }
.tpl-snb__path a[aria-current] { font-weight: 500; color: var(--tpl-ink); }
.tpl-snb__tabs { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.tpl-snb__tabs::-webkit-scrollbar { display: none; }
.tpl-snb__tabs li { flex: none; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--tpl-brick); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a[aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
.tpl-snb__tabs a:focus-visible { outline-offset: -4px; }
@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-greet { padding: 130px 0 120px; }
.tpl-greet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 90px; margin-top: 64px; align-items: start; }
.tpl-greet__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--tpl-r); }
.tpl-greet__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-greet__body p { font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-greet__body p + p { margin-top: 22px; }
.tpl-greet__body .tpl-greet__lead { padding-bottom: 26px; border-bottom: 1px solid var(--tpl-line); font-size: 23px; font-weight: 500; line-height: 1.55; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-greet__body p + p.tpl-greet__lead, .tpl-greet__lead + p { margin-top: 28px; }
.tpl-greet__body .tpl-greet__sign { margin-top: 48px; text-align: right; font-size: 17px; color: var(--tpl-mute); }
.tpl-greet__sign strong { margin-left: 12px; font-size: 26px; font-weight: 700; letter-spacing: .2em; color: var(--tpl-ink); }

/* ===== 회사 개요 : 옅은 상자 숫자 4칸 + 표 ===== */
.tpl-subov { padding: 0 0 150px; }
.tpl-subov__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.tpl-subov__nums > div { padding: 30px 28px 32px; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-subov__nums dt { font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-subov__nums dd { margin-top: 10px; font-size: 46px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-subov__nums dd small { margin-left: 4px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--tpl-brick); }
.tpl-subov__table { margin-top: 48px; border-top: 2px solid var(--tpl-ink); }
.tpl-subov__table th, .tpl-subov__table td { padding: 20px 24px; border-bottom: 1px solid var(--tpl-line); text-align: left; font-size: 17px; }
.tpl-subov__table th { width: 150px; background: var(--tpl-pale); font-weight: 500; color: var(--tpl-ink); }
.tpl-subov__table td { color: var(--tpl-text); }

/* ===== 반응형 ===== */
@media (max-width: 1140px) {
  .tpl-greet__body .tpl-greet__lead { font-size: 20px; }
}
@media (max-width: 1024px) {
  .tpl-subvisual { height: 400px; }
  .tpl-subvisual__title { font-size: 46px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .tpl-snb__path { height: 54px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-snb__tabs { height: 58px; margin: 0 calc(var(--tpl-side) * -1); padding: 0 calc(var(--tpl-side) - 22px); }
  .tpl-greet { padding: 100px 0; }
  .tpl-greet__grid { gap: 56px; }
  .tpl-subov__nums { grid-template-columns: repeat(2, 1fr); }
  .tpl-subov__table, .tpl-subov__table tbody, .tpl-subov__table tr { display: block; }
  .tpl-subov__table tr { display: grid; grid-template-columns: 130px 1fr; }
  .tpl-subov__table th, .tpl-subov__table td { width: auto; }
}
@media (max-width: 768px) {
  .tpl-subvisual { height: 340px; }
  .tpl-subvisual__title { margin-top: 14px; font-size: 36px; }
  .tpl-subvisual__text { font-size: 16px; }
  .tpl-snb__tabs a { padding: 0 16px; font-size: 16px; }
  .tpl-snb__tabs a::after { left: 16px; right: 16px; }
  .tpl-snb__tabs { padding: 0 calc(var(--tpl-side) - 16px); }
  .tpl-greet { padding: 80px 0; }
  .tpl-greet__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .tpl-greet__photo { aspect-ratio: 4 / 3; }
  .tpl-greet__body p { font-size: 17px; }
  .tpl-greet__body .tpl-greet__lead { font-size: 20px; }
  .tpl-greet__sign strong { font-size: 22px; }
  .tpl-subov { padding-bottom: 96px; }
  .tpl-subov__nums > div { padding: 24px 18px 26px; }
  .tpl-subov__nums dd { font-size: 34px; }
  .tpl-subov__table tr { grid-template-columns: 96px 1fr; }
  .tpl-subov__table th, .tpl-subov__table td { padding: 16px 14px; font-size: 15.5px; }
}

/* =====================================================================
   서브페이지 추가 (2026-11-28) : 아래부터는 새 서브 화면 부품입니다. 위의 줄은 고치지 않았습니다.
   색 · 모서리 · 버튼은 common.css 토큰(벽돌색 한 가지, 옅은 바탕, 12px 상자, 4px 버튼)을 그대로 씁니다.
   ===================================================================== */

/* ---------- 본문 구역 : 흰 바탕이 기본, 옅은 바탕은 --pale ---------- */
.tpl-sub { padding: 120px 0; }
.tpl-sub--pale { background: var(--tpl-pale); }
.tpl-sub + .tpl-sub:not(.tpl-sub--pale) { padding-top: 0; }
.tpl-sub--pale + .tpl-sub:not(.tpl-sub--pale) { padding-top: 120px; }
.tpl-sub__head { margin-bottom: 52px; }
.tpl-sub__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.tpl-sub__lead { margin-top: 18px; font-size: 18px; line-height: 1.75; color: var(--tpl-text); }
.tpl-h3 { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-note { margin-top: 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.tpl-btns--end { justify-content: flex-end; }
.tpl-btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- 표 : 위 2px 먹색 선, 머리 칸 옅은 바탕 ---------- */
.tpl-scroll { overflow-x: auto; }
.tpl-dtable { width: 100%; border-top: 2px solid var(--tpl-ink); font-size: 17px; }
.tpl-dtable th, .tpl-dtable td { padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-dtable thead th { background: var(--tpl-pale); font-weight: 500; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 500; color: var(--tpl-ink); }
.tpl-dtable td { color: var(--tpl-text); }
.tpl-dtable .is-left { text-align: left; }
.tpl-dtable .is-num { font-weight: 700; color: var(--tpl-ink); }
.tpl-dtable--row th { width: 180px; background: var(--tpl-pale); text-align: left; }
.tpl-dtable--row td { text-align: left; }

/* ---------- 상태 꼬리표 · 분류 버튼 · 쪽 번호 ---------- */
.tpl-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--tpl-line); border-radius: 4px; font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--tpl-mute); white-space: nowrap; }
.tpl-badge--on { border-color: var(--tpl-brick); background: var(--tpl-brick); color: #fff; }
.tpl-badge--ink { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-badge--pale { border-color: var(--tpl-pale-2); background: var(--tpl-pale-2); color: var(--tpl-ink); }
.tpl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-chips a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid #cfc7c0; border-radius: 4px; font-size: 16px; font-weight: 500; color: var(--tpl-text); white-space: nowrap; transition: border-color .25s, color .25s; }
.tpl-chips a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-chips a[aria-current] { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-paging { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 56px; }
.tpl-paging a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 4px; font-size: 16px; color: var(--tpl-mute); }
.tpl-paging a:hover { color: var(--tpl-ink); background: var(--tpl-pale); }
.tpl-paging a[aria-current] { background: var(--tpl-ink); color: #fff; font-weight: 700; }
.tpl-paging .tpl-ico { width: 18px; height: 18px; }

/* ---------- 게시판 목록 ---------- */
.tpl-bbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.tpl-bbar__count { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbar__count b { font-weight: 700; color: var(--tpl-brick); }
.tpl-bsearch { display: flex; gap: 6px; }
.tpl-bsearch select, .tpl-bsearch input { height: 46px; padding: 0 14px; border: 1px solid #cfc7c0; border-radius: 4px; background: #fff; font: 400 16px var(--tpl-font); color: var(--tpl-ink); }
.tpl-bsearch select { width: 110px; }
.tpl-bsearch input { width: 240px; }
.tpl-bsearch button { flex: none; height: 46px; padding: 0 20px; border-radius: 4px; background: var(--tpl-ink); font: 500 16px var(--tpl-font); color: #fff; white-space: nowrap; }
.tpl-bsearch button:hover { background: var(--tpl-brick); }
.tpl-board { border-top: 2px solid var(--tpl-ink); }
.tpl-board li { display: grid; grid-template-columns: 80px minmax(0, 1fr) 120px 130px 80px; align-items: center; min-height: 68px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); text-align: center; }
.tpl-board li.tpl-board__head { min-height: 58px; background: var(--tpl-pale); font-weight: 500; color: var(--tpl-ink); }
.tpl-board li.is-notice { background: #fbf8f6; }
.tpl-board__subj { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 18px 20px; text-align: left; }
.tpl-board__subj a { overflow: hidden; font-size: 17px; font-weight: 500; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-board__subj a:hover { color: var(--tpl-brick); text-decoration: underline; text-underline-offset: 4px; }
.tpl-board__subj .tpl-ico { width: 17px; height: 17px; color: var(--tpl-mute); }
.tpl-board__reply { padding-left: 18px; position: relative; }
.tpl-board__reply::before { content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-left: 1px solid #a99f98; border-bottom: 1px solid #a99f98; }
.tpl-board__num b { display: inline-flex; height: 26px; align-items: center; padding: 0 9px; border-radius: 4px; background: var(--tpl-brick); font-size: 13.5px; font-weight: 500; color: #fff; }

/* 사진 목록형 게시판 (보도자료 · 고객 이야기) */
.tpl-plist { border-top: 2px solid var(--tpl-ink); }
.tpl-plist li { border-bottom: 1px solid var(--tpl-line); }
.tpl-plist a { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px 0; }
.tpl-plist__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-plist__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tpl-ease); }
.tpl-plist a:hover .tpl-plist__img img { transform: scale(1.04); }
.tpl-plist__meta { font-size: 15px; font-weight: 500; color: var(--tpl-brick); }
.tpl-plist strong { display: block; margin-top: 8px; overflow: hidden; font-size: 22px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-plist__txt { display: -webkit-box; margin-top: 10px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; color: var(--tpl-text); }
.tpl-plist time { display: block; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-plist a:hover strong { color: var(--tpl-brick); }

/* 카드 목록 (프로젝트 · 갤러리) : 제목 아래 내용 두 줄 말줄임 */
.tpl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.tpl-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 22px; }
.tpl-cards a { display: block; }
.tpl-cards__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-cards--4 .tpl-cards__img { aspect-ratio: 4 / 5; }
.tpl-cards__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tpl-ease); }
.tpl-cards a:hover .tpl-cards__img img { transform: scale(1.04); }
.tpl-cards__meta { display: block; margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--tpl-brick); }
.tpl-cards strong { display: block; margin-top: 6px; overflow: hidden; font-size: 20px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-cards__desc { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 16px; line-height: 1.65; color: var(--tpl-mute); }
.tpl-cards a:hover strong { color: var(--tpl-brick); }

/* ---------- 게시글 보기 ---------- */
.tpl-bview__head { padding: 0 0 30px; border-bottom: 1px solid var(--tpl-line); }
.tpl-bview__cat { display: flex; gap: 8px; }
.tpl-bview__title { margin-top: 16px; font-size: 34px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-bview__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 18px; font-size: 15px; color: var(--tpl-mute); }
.tpl-bview__meta b { margin-right: 8px; font-weight: 500; color: var(--tpl-ink); }
.tpl-bview__body { padding: 52px 0 60px; font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-bview__body > * + * { margin-top: 22px; }
.tpl-bview__body h3 { margin-top: 44px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-bview__body ul { padding-left: 4px; }
.tpl-bview__body li { position: relative; padding-left: 16px; }
.tpl-bview__body li::before { content: ''; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; background: var(--tpl-brick); }
.tpl-bview__body figure { overflow: hidden; border-radius: var(--tpl-r); }
.tpl-bview__body figure img { width: 100%; }
.tpl-bview__body figcaption { margin-top: 10px; font-size: 15px; color: var(--tpl-mute); }
.tpl-bview__files { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 20px 24px; border-radius: var(--tpl-r); background: var(--tpl-pale); font-size: 16px; }
.tpl-bview__files > b { font-weight: 700; color: var(--tpl-ink); }
.tpl-bview__files a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-text); }
.tpl-bview__files a:hover { color: var(--tpl-brick); text-decoration: underline; text-underline-offset: 4px; }
.tpl-bview__files .tpl-ico { width: 17px; height: 17px; color: var(--tpl-brick); }
.tpl-bview__nav { margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-bview__nav a { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; align-items: center; min-height: 64px; padding: 0 20px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-bview__nav span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--tpl-ink); }
.tpl-bview__nav .tpl-ico { width: 16px; height: 16px; }
.tpl-bview__nav strong { overflow: hidden; font-weight: 400; color: var(--tpl-text); white-space: nowrap; text-overflow: ellipsis; }
.tpl-bview__nav time { font-size: 15px; color: var(--tpl-mute); }
.tpl-bview__nav a:hover strong { color: var(--tpl-brick); text-decoration: underline; text-underline-offset: 4px; }
.tpl-answer { margin-top: 8px; padding: 36px 40px; border-left: 3px solid var(--tpl-brick); border-radius: 0 var(--tpl-r) var(--tpl-r) 0; background: var(--tpl-pale); }
.tpl-answer__head { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__head strong { font-size: 18px; font-weight: 700; color: var(--tpl-brick); }
.tpl-answer p { margin-top: 16px; font-size: 17px; line-height: 1.85; color: var(--tpl-text); }

/* ---------- 입력 화면 ---------- */
.tpl-form { border-top: 2px solid var(--tpl-ink); }
.tpl-form__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--tpl-line); }
.tpl-form__label { display: flex; align-items: center; gap: 4px; padding: 20px 24px; background: var(--tpl-pale); font-size: 16px; font-weight: 500; color: var(--tpl-ink); }
.tpl-form__label em { font-style: normal; color: var(--tpl-brick); }
.tpl-form__field { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 24px; }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; max-width: 420px; height: 50px; padding: 0 16px; border: 1px solid #cfc7c0; border-radius: 4px; background: #fff; font: 400 16px var(--tpl-font); color: var(--tpl-ink); transition: border-color .2s; }
.tpl-input--wide { max-width: none; }
.tpl-input--short { max-width: 180px; }
.tpl-textarea { max-width: none; height: 240px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-brick); outline: none; box-shadow: inset 0 0 0 1px var(--tpl-brick); }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #8f8680; }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--tpl-text); cursor: pointer; }
.tpl-check input { width: 19px; height: 19px; accent-color: var(--tpl-brick); }
.tpl-form__help { width: 100%; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-agree { margin-top: 40px; }
.tpl-agree__box { height: 180px; margin-top: 14px; padding: 20px 24px; overflow-y: auto; border: 1px solid var(--tpl-line); border-radius: var(--tpl-r); font-size: 15.5px; line-height: 1.8; color: var(--tpl-text); }
.tpl-agree__box h4 { font-size: 16px; font-weight: 700; color: var(--tpl-ink); }
.tpl-agree__box p + h4 { margin-top: 14px; }
.tpl-agree__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tpl-agree__head h3 { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-agree + .tpl-agree { margin-top: 32px; }
.tpl-agree__all { margin-top: 32px; padding: 22px 24px; border: 1px solid var(--tpl-ink); border-radius: var(--tpl-r); }
.tpl-agree__all .tpl-check { font-size: 17px; font-weight: 700; color: var(--tpl-ink); }

/* 연락 띠 (문의 화면 위) */
.tpl-contactbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 64px; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-contactbar > div { display: flex; align-items: center; gap: 16px; padding: 28px 32px; }
.tpl-contactbar > div + div { border-left: 1px solid var(--tpl-line); }
.tpl-contactbar .tpl-ico { width: 26px; height: 26px; color: var(--tpl-brick); stroke-width: 1.4; }
.tpl-contactbar small { display: block; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-contactbar strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-ink); white-space: nowrap; }

/* ---------- 단계 흐름 (사업영역 · 채용) : 위 선 + 번호 ---------- */
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: flow; }
.tpl-flow li { padding-top: 26px; border-top: 2px solid var(--tpl-line); }
.tpl-flow li:first-child { border-top-color: var(--tpl-brick); }
.tpl-flow b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--tpl-brick); }
.tpl-flow strong { display: block; margin-top: 12px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-flow p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--tpl-mute); }

/* ---------- 비전 · 핵심가치 ---------- */
.tpl-vision { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-vision__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--tpl-r); }
.tpl-vision__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-vision__state { margin-top: 28px; font-size: 40px; font-weight: 400; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-vision__state b { font-weight: 700; color: var(--tpl-brick); }
.tpl-vision__goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.tpl-vision__goals div { padding: 22px 22px 24px; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-vision__goals dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-vision__goals dd { margin-top: 6px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-vision__goals dd small { margin-left: 3px; font-size: 16px; font-weight: 500; color: var(--tpl-brick); }
.tpl-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; border-top: 1px solid var(--tpl-ink); }
.tpl-values li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 36px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-values b { font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--tpl-brick); }
.tpl-values small { display: block; font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--tpl-mute); }
.tpl-values strong { display: block; margin-top: 4px; font-size: 23px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-values p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }

/* ---------- 연혁 : 왼쪽 시기(따라 내려옴) · 오른쪽 해마다 한 일 ---------- */
.tpl-hist { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding: 64px 0; border-top: 1px solid var(--tpl-line); }
.tpl-hist:first-of-type { border-top-color: var(--tpl-ink); }
.tpl-hist__side { position: sticky; top: calc(var(--tpl-hd-h) + 32px); align-self: start; }
.tpl-hist__side b { display: block; font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-hist__side span { display: block; margin-top: 14px; font-size: 18px; font-weight: 500; color: var(--tpl-brick); }
.tpl-hist__side img { width: 100%; aspect-ratio: 3 / 2; margin-top: 28px; border-radius: var(--tpl-r); object-fit: cover; }
.tpl-hist__years > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__years > div:first-child { padding-top: 0; }
.tpl-hist__years dt { font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-hist__years dd + dd { margin-top: 6px; }
.tpl-hist__years dd { font-size: 17px; line-height: 1.7; color: var(--tpl-text); }
.tpl-hist__years dd span { display: inline-block; min-width: 42px; margin-right: 10px; font-size: 15px; font-weight: 500; color: var(--tpl-mute); }

/* ---------- 숫자 4칸 (경영 정보 · 사업 개요) ---------- */
.tpl-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tpl-figs > div { padding: 28px 26px 30px; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-sub--pale .tpl-figs > div { background: #fff; }
.tpl-figs dt { font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-figs dd { margin-top: 10px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-figs dd small { margin-left: 4px; font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--tpl-brick); }
.tpl-figs p { margin-top: 10px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-bars { display: grid; gap: 18px; }
.tpl-bars div { display: grid; grid-template-columns: 90px minmax(0, 1fr) 110px; gap: 20px; align-items: center; font-size: 16px; }
.tpl-bars dt { font-weight: 500; color: var(--tpl-ink); }
.tpl-bars dd:last-child { text-align: right; font-weight: 700; color: var(--tpl-ink); }
.tpl-bars i { display: block; height: 14px; border-radius: 2px; background: var(--tpl-brick); }
.tpl-bars .is-old i { background: #c9b2aa; }
.tpl-irgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }

/* ---------- 오시는 길 : 카카오 지도 (왼쪽 검색 창은 iframe 을 420px 밀어 가립니다) ---------- */
.tpl-kmap { position: relative; height: 560px; overflow: hidden; border-radius: var(--tpl-r); 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-locinfo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-locinfo > div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-locinfo > div + div { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-locinfo dt { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--tpl-ink); }
.tpl-locinfo dt .tpl-ico { width: 18px; height: 18px; color: var(--tpl-brick); }
.tpl-locinfo dd { margin-top: 10px; font-size: 17px; color: var(--tpl-text); }
.tpl-traffic { display: grid; grid-template-columns: 160px minmax(0, 1fr); border-top: 1px solid var(--tpl-line); }
.tpl-traffic:first-child { border-top: 2px solid var(--tpl-ink); }
.tpl-traffic dt { padding: 26px 0; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-traffic dd { padding: 26px 0; font-size: 17px; line-height: 1.8; color: var(--tpl-text); }
.tpl-traffic dd b { margin-right: 10px; font-weight: 500; color: var(--tpl-brick); }

/* ---------- 사업영역 화면 : 개요(사진 + 글) · 서비스 목록 · 문의 상자 ---------- */
.tpl-bizov { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.tpl-bizov__photo { aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--tpl-r); }
.tpl-bizov__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-bizov__en { font-size: 15px; font-weight: 700; letter-spacing: .14em; color: var(--tpl-brick); }
.tpl-bizov__title { margin-top: 14px; font-size: 40px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-bizov__txt { margin-top: 22px; font-size: 18px; line-height: 1.8; color: var(--tpl-text); }
.tpl-bizov__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--tpl-line); }
.tpl-bizov__nums div { padding-top: 20px; }
.tpl-bizov__nums dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-bizov__nums dd { margin-top: 4px; font-size: 32px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-bizov__nums dd small { margin-left: 3px; font-size: 16px; font-weight: 500; color: var(--tpl-brick); }
.tpl-svcrow { border-top: 1px solid var(--tpl-ink); }
.tpl-svcrow li { display: grid; grid-template-columns: 90px minmax(0, 4fr) minmax(0, 6fr); gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-svcrow b { font-size: 18px; font-weight: 700; color: var(--tpl-brick); }
.tpl-svcrow strong { font-size: 23px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-svcrow p { font-size: 17px; line-height: 1.75; color: var(--tpl-text); }
.tpl-svcrow p small { display: block; margin-top: 8px; font-size: 15px; color: var(--tpl-mute); }
.tpl-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 52px; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-sub--pale .tpl-cta { background: #fff; }
.tpl-cta strong { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-cta p { margin-top: 6px; font-size: 17px; color: var(--tpl-mute); }
.tpl-cta__btns { display: flex; flex: none; gap: 10px; }

/* ---------- 고객 사례 : 사진 · 글 나뉜 카드, 엇갈려 놓습니다 ---------- */
.tpl-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--tpl-r); background: var(--tpl-pale); }
.tpl-case + .tpl-case { margin-top: 32px; }
.tpl-case:nth-child(even) .tpl-case__img { order: 2; }
.tpl-case__img { min-height: 420px; }
.tpl-case__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-case__txt { display: flex; flex-direction: column; padding: 52px 56px; }
.tpl-case__txt small { font-size: 15px; font-weight: 500; color: var(--tpl-brick); }
.tpl-case__txt h3 { margin-top: 12px; font-size: 27px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-case__txt > p { margin-top: 16px; font-size: 17px; line-height: 1.8; color: var(--tpl-text); }
.tpl-case__res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 32px; }
.tpl-case__res div { padding-top: 14px; border-top: 1px solid #d8d0c9; }
.tpl-case__res dt { font-size: 14.5px; color: var(--tpl-mute); }
.tpl-case__res dd { margin-top: 2px; font-size: 26px; font-weight: 700; color: var(--tpl-ink); }
.tpl-case__who { margin-top: 18px; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 인증 · 수상 ---------- */
.tpl-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tpl-certs li { display: flex; flex-direction: column; min-height: 200px; padding: 26px 24px; border: 1px solid var(--tpl-line); border-radius: var(--tpl-r); background: #fff; }
.tpl-certs small { font-size: 14px; font-weight: 500; color: var(--tpl-brick); }
.tpl-certs strong { margin-top: 10px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-certs p { margin-top: auto; padding-top: 18px; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 프로젝트 보기 : 왼쪽 개요 · 본문, 오른쪽 사진 ---------- */
.tpl-pview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.tpl-pview__photos { display: grid; gap: 16px; }
.tpl-pview__photos figure { overflow: hidden; border-radius: var(--tpl-r); }
.tpl-pview__photos img { width: 100%; }
.tpl-gview__main { overflow: hidden; border-radius: var(--tpl-r); }
.tpl-gview__main img { width: 100%; max-height: 760px; object-fit: cover; }
.tpl-gview__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tpl-gview__more figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--tpl-r); }
.tpl-gview__more img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 자주 묻는 질문 (details · summary, 스크립트 없음) ---------- */
.tpl-qa { border-top: 2px solid var(--tpl-ink); }
.tpl-qa details { border-bottom: 1px solid var(--tpl-line); }
.tpl-qa summary { display: grid; grid-template-columns: 48px 130px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 26px 8px; cursor: pointer; list-style: none; }
.tpl-qa summary::-webkit-details-marker { display: none; }
.tpl-qa summary > b { font-size: 22px; font-weight: 700; color: var(--tpl-brick); }
.tpl-qa summary > span { font-size: 15px; color: var(--tpl-mute); }
.tpl-qa summary > strong { font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-qa summary .tpl-ico { color: var(--tpl-mute); transition: transform .3s var(--tpl-ease); }
.tpl-qa details[open] summary .tpl-ico { transform: rotate(45deg); color: var(--tpl-brick); }
.tpl-qa details[open] summary > strong { font-weight: 700; }
.tpl-qa__a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 26px 8px 30px; background: var(--tpl-pale); }
.tpl-qa__a b { font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-qa__a p { font-size: 17px; line-height: 1.8; color: var(--tpl-text); }

/* ---------- 인재채용 ---------- */
.tpl-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tpl-ink); }
.tpl-people li { padding: 36px 36px 36px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-people li + li { padding-left: 36px; border-left: 1px solid var(--tpl-line); }
.tpl-people b { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-brick); }
.tpl-people strong { display: block; margin-top: 12px; font-size: 24px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-people p { margin-top: 12px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }
.tpl-jobs li { display: grid; grid-template-columns: 90px 120px minmax(0, 1fr) 190px; gap: 20px; align-items: center; min-height: 84px; padding: 0 8px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); }
.tpl-jobs { border-top: 2px solid var(--tpl-ink); }
.tpl-jobs strong { overflow: hidden; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; text-overflow: ellipsis; }
.tpl-jobs li.is-closed strong { font-weight: 500; color: var(--tpl-mute); }

/* ---------- 회원 · 정책 ---------- */
.tpl-mbox { max-width: 480px; margin: 0 auto; }
.tpl-mbox__title { font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); text-align: center; }
.tpl-mbox__desc { margin-top: 10px; font-size: 16.5px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox form { margin-top: 36px; }
.tpl-mbox .tpl-input { max-width: none; height: 56px; }
.tpl-mbox .tpl-input + .tpl-input { margin-top: 10px; }
.tpl-mbox__opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 26px; 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%; }
.tpl-mbox .tpl-btn + .tpl-btn { margin-top: 10px; }
.tpl-mbox__join { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox__join a { margin-left: 8px; font-weight: 700; color: var(--tpl-brick); text-decoration: underline; text-underline-offset: 4px; }
.tpl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-bottom: 1px solid var(--tpl-line); }
.tpl-steps li { position: relative; padding: 0 0 18px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); text-align: center; }
.tpl-steps b { margin-right: 8px; font-weight: 700; }
.tpl-steps li[aria-current] { color: var(--tpl-ink); font-weight: 700; }
.tpl-steps li[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--tpl-brick); }
.tpl-steps li[aria-current] b { color: var(--tpl-brick); }
.tpl-done { padding: 64px 40px; border-radius: var(--tpl-r); background: var(--tpl-pale); text-align: center; }
.tpl-done__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--tpl-brick); border-radius: 50%; color: var(--tpl-brick); }
.tpl-done__mark .tpl-ico { width: 30px; height: 30px; stroke-width: 2; }
.tpl-done h3 { margin-top: 24px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done p { margin-top: 12px; font-size: 17px; line-height: 1.8; color: var(--tpl-text); }
.tpl-done dl { display: inline-grid; grid-template-columns: auto auto; gap: 8px 28px; margin-top: 28px; padding: 22px 32px; border-radius: var(--tpl-r); background: #fff; font-size: 16px; text-align: left; }
.tpl-done dt { color: var(--tpl-mute); }
.tpl-done dd { font-weight: 500; color: var(--tpl-ink); }
.tpl-find { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.tpl-find section { padding: 44px 44px 48px; border: 1px solid var(--tpl-line); border-radius: var(--tpl-r); }
.tpl-find h3 { font-size: 24px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-find p { margin-top: 8px; font-size: 16px; color: var(--tpl-mute); }
.tpl-find form { margin-top: 28px; }
.tpl-find .tpl-input { max-width: none; }
.tpl-find .tpl-input + .tpl-input { margin-top: 10px; }
.tpl-find .tpl-btn { width: 100%; margin-top: 18px; }
.tpl-policy { font-size: 17px; line-height: 1.85; color: var(--tpl-text); }
.tpl-policy__date { padding: 18px 24px; border-radius: var(--tpl-r); background: var(--tpl-pale); font-size: 16px; color: var(--tpl-ink); }
.tpl-policy h3 { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--tpl-line); font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-policy h3:first-of-type { border-top: 0; padding-top: 0; }
.tpl-policy p, .tpl-policy ol { margin-top: 12px; }
.tpl-policy ol { padding-left: 22px; list-style: decimal; }
.tpl-policy ol li + li { margin-top: 4px; }

/* ---------- 새 서브 화면 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-bizov__title { font-size: 34px; }
  .tpl-locinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-locinfo > div:first-child { grid-column: 1 / -1; }
  .tpl-locinfo > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .tpl-cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-flow, .tpl-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .tpl-case__txt { padding: 44px 40px; }
}
@media (max-width: 1024px) {
  .tpl-sub { padding: 96px 0; }
  .tpl-sub + .tpl-sub:not(.tpl-sub--pale) { padding-top: 0; }
  .tpl-sub--pale + .tpl-sub:not(.tpl-sub--pale) { padding-top: 96px; }
  .tpl-vision, .tpl-bizov, .tpl-irgrid, .tpl-pview { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tpl-vision__photo { aspect-ratio: 16 / 9; }
  .tpl-hist { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .tpl-hist__side { position: static; }
  .tpl-hist__side img { max-width: 480px; }
  .tpl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-plist a { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
  .tpl-board li { grid-template-columns: 70px minmax(0, 1fr) 110px 70px; }
  .tpl-board li > :nth-child(3) { display: none; }
  .tpl-case, .tpl-case:nth-child(even) { grid-template-columns: 1fr; }
  .tpl-case:nth-child(even) .tpl-case__img { order: 0; }
  .tpl-case__img { min-height: 0; aspect-ratio: 16 / 9; }
  .tpl-cta { flex-direction: column; align-items: flex-start; }
  .tpl-contactbar { grid-template-columns: 1fr; }
  .tpl-contactbar > div + div { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-people { grid-template-columns: 1fr; }
  .tpl-people li, .tpl-people li + li { padding: 30px 0; border-left: 0; }
  .tpl-find { grid-template-columns: 1fr; }
  .tpl-kmap { height: 480px; }
}
@media (max-width: 768px) {
  .tpl-sub { padding: 72px 0; }
  .tpl-sub + .tpl-sub:not(.tpl-sub--pale) { padding-top: 0; }
  .tpl-sub--pale + .tpl-sub:not(.tpl-sub--pale) { padding-top: 72px; }
  .tpl-sub__head { margin-bottom: 36px; }
  .tpl-sub__head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tpl-sub__lead { font-size: 17px; }
  .tpl-h3 { font-size: 22px; }
  .tpl-dtable { font-size: 15.5px; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 12px; }
  .tpl-dtable--row th { width: 104px; }
  .tpl-scroll .tpl-dtable { min-width: 620px; }
  .tpl-bbar { flex-direction: column; align-items: stretch; }
  .tpl-bsearch input { width: auto; flex: 1; min-width: 0; }
  .tpl-bsearch select { width: 96px; }
  .tpl-board li, .tpl-board li.tpl-board__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 0; padding: 18px 4px; text-align: left; font-size: 14.5px; }
  .tpl-board li.tpl-board__head { display: none; }
  .tpl-board li > :nth-child(1), .tpl-board li > :nth-child(3) { display: none; }
  .tpl-board li.is-notice > :nth-child(1) { display: block; order: -1; }
  .tpl-board__subj { width: 100%; padding: 0; }
  .tpl-board__subj a { font-size: 16.5px; white-space: normal; }
  .tpl-plist a { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .tpl-plist strong { font-size: 20px; white-space: normal; }
  .tpl-cards, .tpl-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .tpl-cards strong { font-size: 17px; }
  .tpl-cards__desc { font-size: 15px; }
  .tpl-cards__meta { margin-top: 14px; font-size: 14px; }
  .tpl-bview__title { font-size: 25px; }
  .tpl-bview__body { padding: 36px 0 44px; font-size: 17px; }
  .tpl-bview__nav a { grid-template-columns: 86px minmax(0, 1fr); padding: 14px 4px; }
  .tpl-bview__nav time { display: none; }
  .tpl-answer { padding: 26px 22px; }
  .tpl-form__row { grid-template-columns: 1fr; }
  .tpl-form__label { padding: 14px 4px 4px; background: none; }
  .tpl-form__field { padding: 6px 4px 16px; }
  .tpl-form__row:has(.tpl-form__label) { border-bottom-color: var(--tpl-line); }
  .tpl-input, .tpl-select { max-width: none; }
  .tpl-contactbar > div { padding: 22px 22px; }
  .tpl-flow, .tpl-certs { grid-template-columns: 1fr; gap: 28px; }
  .tpl-vision__state { font-size: 28px; }
  .tpl-vision__goals { grid-template-columns: 1fr; }
  .tpl-values { grid-template-columns: 1fr; }
  .tpl-values li { grid-template-columns: 48px minmax(0, 1fr); padding: 28px 0; }
  .tpl-values b { font-size: 22px; }
  .tpl-values strong { font-size: 20px; }
  .tpl-hist__side b { font-size: 38px; }
  .tpl-hist__years > div { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .tpl-hist__years dt { font-size: 18px; }
  .tpl-hist__years dd { font-size: 16px; }
  .tpl-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tpl-figs > div { padding: 22px 18px 24px; }
  .tpl-figs dd { font-size: 30px; }
  .tpl-bars div { grid-template-columns: 64px minmax(0, 1fr) 84px; gap: 12px; font-size: 15px; }
  .tpl-kmap { height: 460px; }
  .tpl-locinfo { grid-template-columns: 1fr; }
  .tpl-locinfo > div, .tpl-locinfo > div + div { padding: 22px 0; border-left: 0; }
  .tpl-traffic { grid-template-columns: 1fr; }
  .tpl-traffic dt { padding: 22px 0 0; }
  .tpl-traffic dd { padding: 8px 0 22px; font-size: 16px; }
  .tpl-bizov__title { font-size: 30px; }
  .tpl-bizov__txt { font-size: 17px; }
  .tpl-bizov__nums dd { font-size: 24px; }
  .tpl-svcrow li { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .tpl-svcrow strong { font-size: 20px; }
  .tpl-cta { padding: 32px 24px; }
  .tpl-cta strong { font-size: 22px; }
  .tpl-cta__btns { flex-wrap: wrap; }
  .tpl-case__txt { padding: 32px 24px; }
  .tpl-case__txt h3 { font-size: 22px; }
  .tpl-case__res dd { font-size: 21px; }
  .tpl-qa summary { grid-template-columns: 32px minmax(0, 1fr) 22px; padding: 22px 4px; }
  .tpl-qa summary > span { display: none; }
  .tpl-qa summary > strong { font-size: 16.5px; }
  .tpl-qa__a { grid-template-columns: 32px minmax(0, 1fr); padding: 22px 4px 24px; }
  .tpl-qa__a p { font-size: 16px; }
  .tpl-jobs li { grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; min-height: 0; padding: 20px 4px; }
  .tpl-jobs li > :nth-child(2) { display: none; }
  .tpl-jobs li > :nth-child(4) { grid-column: 1 / -1; font-size: 14.5px; }
  .tpl-jobs strong { font-size: 17px; white-space: normal; }
  .tpl-steps li { font-size: 14.5px; }
  .tpl-steps b { display: block; margin: 0 0 2px; }
  .tpl-done { padding: 48px 20px; }
  .tpl-done h3 { font-size: 24px; }
  .tpl-done dl { padding: 18px 20px; gap: 6px 16px; }
  .tpl-find section { padding: 32px 22px 36px; }
  .tpl-mbox__title { font-size: 27px; }
  .tpl-policy { font-size: 16px; }
}

/* ======================================================================
   그누보드 연결부 : 시안 98 에 없던 것(올웹 로고 · 상단 메뉴 조합 · 콘솔 퀵메뉴 · 팝업 · 지도 · 그누보드 부품)만 여기에 더합니다.
   색은 원본 토큰(--tpl-brick · --tpl-brick-d · --tpl-ink · --tpl-text · --tpl-mute · --tpl-line · --tpl-pale · --tpl-pale-2 · --tpl-foot)만 씁니다.
   ====================================================================== */

/* ---------- 상단 메뉴 (「쓴 메뉴 조합」 biz098 : 가 2 · 나 3 · 다 1 · 라 5 · 마 2) ----------
   가 2 : 1차 글자 아래 3px 선이 가운데에서 양쪽으로 퍼집니다(메뉴가 열리면 벽돌색). 서브페이지의 현재 메뉴 선은 메뉴가 닫혀 있을 때만 보입니다(선은 늘 하나).
   나 3 · 다 1 : 원본의 전체 폭 흰 패널 안 왼쪽에 올린 1차 이름을 크게(벽돌색 세로 막대), 오른쪽에 그 1차의 2차만 한 줄로 두고 2차마다 + 기호를 붙입니다.
   라 5 : 패널이 왼쪽에서 오른쪽으로 닦이며 열리고 닫을 때 거꾸로 걷힙니다. 2차 상자도 같은 시간 · 곡선으로 패널보다 늦게 닦여(--tpl-wipe-r, js/main.js) 패널 밖에 글자가 보이지 않습니다.
   마 2 : 2차에 올리면 원본 4px 모서리의 옅은 바탕이 깔립니다.
   여닫기 · 키보드 · Esc 는 원본 스크립트(js/main.js 의 is-mega-open · is-on) 그대로입니다. */
.tpl-gnb__link::after { height: 3px; transition: none; }
/* 선은 늘 하나 : 올린 1차 선만 가운데에서 퍼지며 그어지고, 거두는 선(다른 1차로 옮김 · 닫힘 · 서브페이지 현재 표시)은 기다리지 않고 바로 사라집니다(총괄 결정 2026-11-28) */
.tpl-header.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__link::after { transition: transform .35s var(--tpl-ease); }
.tpl-mega__bg { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .42s var(--tpl-ease); }
.tpl-header.is-mega-open .tpl-mega__bg { transform: none; clip-path: inset(0 0 0 0); }
.tpl-gnb__sub { clip-path: inset(0 var(--tpl-wipe-r, 100vw) 0 0); }
.tpl-header.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__sub { clip-path: inset(0 0 0 0); }
.tpl-gnb__sub-in::before { content: attr(data-title); position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding-left: 16px; border-left: 3px solid var(--tpl-brick); font-size: 28px; font-weight: 700; line-height: 40px; letter-spacing: -.045em; color: var(--tpl-ink); white-space: nowrap; }
.tpl-gnb__sub ul { left: 280px; gap: 6px; }
.tpl-gnb__sub a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 4px; transition: color .2s, background-color .2s; }
.tpl-gnb__sub a .tpl-ico { width: 14px; height: 14px; stroke-width: 2; color: var(--tpl-brick); }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { background: var(--tpl-pale); color: var(--tpl-ink); text-decoration: none; }
.tpl-gnb__sub a:focus-visible { outline-offset: -2px; }
@media (max-width: 1280px) {
  .tpl-gnb__sub-in::before { font-size: 25px; }
  .tpl-gnb__sub ul { left: 220px; }
}
@media (max-width: 1140px) {
  .tpl-gnb__sub-in::before { font-size: 22px; padding-left: 12px; }
  .tpl-gnb__sub ul { left: 170px; gap: 2px; }
  .tpl-gnb__sub a { padding: 8px 10px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-gnb__sub, .tpl-mega__bg, .tpl-gnb__link::after { transition: none !important; }
}

/* ---------- 로고 : 원본의 예시 회사 로고 자리는 올웹 로고입니다(지침 3-1). 글자색은 머리글을 따라 흰색 · 먹색으로 바뀝니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg, .tpl-drawer__head .logo-img { height: 26px; }
.tpl-header .logo-img--dark { display: none; }
.tpl-header.is-scrolled .logo-img--dark, .tpl-header.is-mega-open .logo-img--dark { display: block; }
.tpl-header.is-scrolled .tpl-logo a:has(.logo-img--dark) > .logo-img:not(.logo-img--dark),
.tpl-header.is-mega-open .tpl-logo a:has(.logo-img--dark) > .logo-img:not(.logo-img--dark) { display: none; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 카카오맵(allweb_tpl_map_html) : 원본 지도 상자(.tpl-map__frame · .tpl-kmap) 안 지도 자리(#allweb-map). 원본처럼 왼쪽 검색 창은 iframe 을 420px 밀어 가립니다 ---------- */
.biz-map { position: absolute; inset: 0; }
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 4px; background: var(--tpl-brick); font-size: 16px; font-weight: 500; color: #fff; white-space: nowrap; }
.loc-map-go:hover { background: var(--tpl-brick-d); }
.loc-map-foot { display: none; }

/* ---------- 그누보드 기본 화면 · 부품 ---------- */
.allweb-gnu { width: calc(100% - var(--tpl-side) * 2); max-width: 1320px; margin: 0 auto; padding-top: 100px; padding-bottom: 120px; color: var(--tpl-text); }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 4px; background: var(--tpl-ink); color: #fff; }
#captcha #captcha_img { display: inline-block; vertical-align: middle; height: 50px; }
#captcha #captcha_key { height: 50px; padding: 0 14px; border: 1px solid #cfc7c0; border-radius: 4px; background: #fff; color: var(--tpl-ink); vertical-align: middle; font: 400 16px var(--tpl-font); }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 8px; font-size: 14.5px; color: var(--tpl-mute); }
a.tpl-btn { line-height: normal; }

/* ---------- 퀵메뉴 (「쓴 조합」 biz098 : 배치 4 · 효과 3 · 맨 위로 둥근 사각 · 검정 · 퀵메뉴 맨 아래 칸) ----------
   오른쪽 아래 벽돌색 4px 모서리 단추(+) 하나를 누르면 흰 칸(벽돌 아이콘 + 이름, 연한 선)이 위로 차례로 펼쳐지고 단추가 × 로 바뀝니다. ×를 누르면 단추만 남습니다. 처음에는 닫혀 있습니다.
   칸에 올리거나 키보드로 가면 칸이 벽돌색으로 차고 아이콘 · 글자가 흰색이 됩니다(효과 3). 「맨 위로」 는 단추 바로 아래 먹색 4px 모서리 칸입니다.
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js). 768px 이하는 이름을 숨기고 아이콘만 44px 칸입니다(글자는 span 에 남아 화면 낭독기가 읽습니다). */
.tpl-quick { position: fixed; right: var(--tpl-side); bottom: 98px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .4s var(--tpl-ease), visibility 0s linear .4s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tpl-quick li { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--tpl-ease), transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-open li { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-quick.is-open li:nth-last-child(2) { transition-delay: .04s; }
.tpl-quick.is-open li:nth-last-child(3) { transition-delay: .08s; }
.tpl-quick.is-open li:nth-last-child(n+4) { transition-delay: .12s; }
.tpl-quick li a { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border: 1px solid var(--tpl-line); border-radius: 4px; background: #fff; font-size: 15px; font-weight: 500; color: var(--tpl-ink); white-space: nowrap; transition: background-color .3s, border-color .3s, color .3s; }
.tpl-quick li a .tpl-ico { width: 20px; height: 20px; color: var(--tpl-brick); transition: color .3s; }
.tpl-quick li a img.tpl-ico { object-fit: contain; }
.tpl-quick li a:hover, .tpl-quick li a:focus-visible { border-color: var(--tpl-brick); background: var(--tpl-brick); color: #fff; }
.tpl-quick li a:hover .tpl-ico, .tpl-quick li a:focus-visible .tpl-ico { color: #fff; }
.tpl-quick__toggle { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 4px; background: var(--tpl-brick); color: #fff; transition: background-color .25s; }
.tpl-quick__toggle:hover { background: var(--tpl-brick-d); }
.tpl-quick__toggle .tpl-ico { width: 22px; height: 22px; stroke-width: 1.8; }
.tpl-quick__toggle .i-close { display: none; }
.tpl-quick.is-open .tpl-quick__toggle .i-open { display: none; }
.tpl-quick.is-open .tpl-quick__toggle .i-close { display: block; }
@media (max-width: 768px) {
  .tpl-quick { right: 16px; bottom: 72px; gap: 8px; }
  .tpl-quick li a { justify-content: center; width: 44px; height: 44px; padding: 0; }
  .tpl-quick li a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tpl-quick__toggle { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* 푸터 대표번호와 겹치면 퀵메뉴 · 맨 위로가 겹친 만큼 위로 비켜납니다(--tpl-lift, js/main.js, 총괄 결정 2026-11-28) */
.tpl-quick, .tpl-totop { translate: 0 var(--tpl-lift, 0px); transition-property: opacity, transform, visibility, background-color, translate; }
@media (prefers-reduced-motion: reduce) { .tpl-quick, .tpl-totop { transition: none !important; } }

/* 맨 위로 : 원본 .tpl-totop 자리(오른쪽 아래)의 먹색 칸을 원본 단추의 4px 모서리로 바꿉니다. 같은 먹색 푸터 위에서도 보이게 옅은 흰 테두리를 둡니다 */
.tpl-totop { border-radius: 4px; background: var(--tpl-foot); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.tpl-totop:hover, .tpl-totop:focus-visible { background: var(--tpl-brick); }

/* ---------- 메인 팝업 (콘솔 「팝업」) : 흰 판(원본 상자의 12px 모서리) · 윗변 벽돌색 3px 선 · 제목 앞 벽돌 작은 사각 · 먹색 면 「자세히 보기」(올리면 벽돌) · 옅은 웜 회색 아래 띠 ---------- */
.tpl-pop__item { overflow: hidden; border-radius: var(--tpl-r); border-top: 3px solid var(--tpl-brick); background: #fff; color: var(--tpl-text); box-shadow: 0 20px 44px rgba(31, 26, 23, .28); }
.tpl-pop__body { padding: 30px 30px 28px; }
.tpl-pop__title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__title::before { content: ''; flex: none; width: 8px; height: 8px; margin-bottom: 4px; background: var(--tpl-brick); }
.tpl-pop__text { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; height: 46px; margin-top: 22px; padding: 0 22px; border-radius: 4px; background: var(--tpl-ink); font-size: 15px; font-weight: 500; color: #fff; transition: background-color .25s; }
.tpl-pop__more:hover { background: var(--tpl-brick); }
.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: 14.5px; color: var(--tpl-mute); transition: background-color .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); font-weight: 700; color: var(--tpl-ink); }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--tpl-pale-2); color: var(--tpl-ink); }

/* ---------- 체험 화면 안내 ---------- */
form[data-demo-note] button[type="submit"] { cursor: pointer; }

/* ---------- 게시판 연결부 (skin/board/allweb) : 시안 98 에 없던 그누보드 부품만 더합니다 ---------- */
/* 글이 없을 때 안내 한 줄 */
.tpl-bempty { padding: 72px 0; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); }
/* 메인 섹션 안 글 없음 안내 */
.tpl-empty { padding: 40px 0; color: var(--tpl-mute); }
/* 원본 <nav class="tpl-chips" style="margin-bottom:40px"> · <div class="tpl-cta" style="margin-top:72px"> 를 그대로 둡니다. 쓰기 칸 사이 */
.tpl-form__field input[type="file"] + .tpl-input { margin-top: 0; }
/* 답변 상자 삭제 링크(관리자) */
.tpl-answer__head a { margin-left: auto; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-answer + .tpl-answer { margin-top: 12px; }
/* 댓글 · 관리자 답변 쓰기 (원본에 없는 화면이라 원본 폼 부품으로 그립니다) */
.tpl-cmt { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--tpl-line); }
.tpl-cmt h3 { font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt h3 b { color: var(--tpl-brick); }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-ink); }
.tpl-cmt__meta a { margin-left: auto; color: var(--tpl-mute); }
.tpl-cmt__form { display: grid; gap: 12px; margin-top: 18px; }
.tpl-cmt__form .tpl-input { max-width: 240px; }
.tpl-cmt__form .tpl-textarea { max-width: none; min-height: 140px; }
.tpl-cmt__form .tpl-btns { margin-top: 0; justify-content: flex-end; }

/* ---------- 회원 화면 그누보드 부품 : 원본 98 에 없는 칸(자동등록방지 · 본인확인 · 주소 · 정보 받기 동의 · 회원 그림)만 ----------
   자동등록방지는 그림 · 듣기 · 새로고침 · 입력 칸을 한 줄에 두고 안내 글만 아래 줄로 내립니다(리셋 img{display:block} 되돌림은 위 #captcha #captcha_img). */
.mb-captcha #captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; border: 0; }
.mb-captcha #captcha legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mb-captcha #captcha #captcha_key { width: 160px; margin: 0; }
.mb-captcha #captcha #captcha_info { flex-basis: 100%; margin-top: 0; }
.tpl-find .mb-captcha { margin-top: 12px; }
.mb-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-btns.mb-cert { margin-top: 28px; }
.mb-addr { display: grid; gap: 8px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-addr__zip .tpl-input { max-width: 200px; }
.mb-addr__zip .tpl-btn { height: 50px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; }
.mb-consent__more { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--tpl-brick); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 6px 22px; width: 100%; padding-left: 26px; }
.mb-file-now { display: flex; align-items: center; gap: 12px; width: 100%; }
.mb-file-now img { display: inline-block; max-height: 48px; width: auto; }
