/* ==========================================================================
   올웹 비즈니스 템플릿 60 : 시안 60(솔담산업, 금속 · 복합 소재 부품 제조 · 엔지니어링 · 시공 · 유지보수)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 다만 비주얼 아래 바로가기 띠의 클래스 .tpl-quick 은 콘솔 퀵메뉴(<nav class="tpl-quick">, 지침 3-4)와 이름이 겹쳐
   .tpl-shortcut 으로만 바꿨습니다(규칙 값은 그대로). 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz060) · 퀵메뉴 · 팝업 · 지도는 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

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

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 섹션 머리 · 버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼, 스크롤 등장 효과를 담습니다.
   어두운 바탕 테마입니다. 검정 · 짙은 회색 단색 면이 번갈아 이어지고, 포인트 색은 테라코타 하나만 씁니다. 색을 바꾸려면 :root 값만 고치시면 됩니다. */

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

:root {
  --tpl-bg0: #121110;             /* 기본 바탕(검정에 가까운 먹색) */
  --tpl-bg1: #1c1a18;             /* 번갈아 쓰는 짙은 회색 면 */
  --tpl-bg2: #262320;             /* 카드 · 입력 칸 바탕 */
  --tpl-line: #35312d;            /* 얇은 선 */
  --tpl-line-s: #4a453f;          /* 조금 더 진한 선(버튼 테두리) */
  --tpl-head: #f5f1ec;            /* 제목 글자 */
  --tpl-text: #cbc4bc;            /* 본문 글자 */
  --tpl-mute: #a0978e;            /* 보조 글자 */
  --tpl-terra: #b5532e;           /* 테라코타 : 버튼 면 · 선 · TOP 버튼 */
  --tpl-terra-d: #9a4425;         /* 버튼 hover */
  --tpl-terra-t: #e3825c;         /* 어두운 바탕 위 테라코타 글자(라벨 · 강조) */
  --tpl-foot: #0b0a09;            /* 푸터 */
  --tpl-font: 'Gothic A1', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 84px;               /* 헤더 높이 */
  --tpl-gnb-gap: 64px;            /* 1차 메뉴 글자 사이 간격(모든 칸이 같습니다) */
  --tpl-side: 48px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
body { background: var(--tpl-bg0); color: var(--tpl-text); font: 400 17.5px/1.75 var(--tpl-font); letter-spacing: -.02em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
/* 문구 줄바꿈은 PC 에서는 한 줄로 두고, 768px 이하에서만 지정한 자리에서 끊습니다 */
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
.tpl-wrap { width: calc(100% - var(--tpl-side) * 2); max-width: 1400px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--tpl-head); color: var(--tpl-bg0); padding: 8px 14px; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-terra-t); outline-offset: 3px; }

/* ---------- 스크롤 등장(data-aos) : common.js 가 html 에 tpl-aos 를 붙였을 때만 숨깁니다(스크립트가 없거나 동작 줄이기면 그대로 보입니다) ---------- */
.tpl-aos [data-aos] { opacity: 0; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
.tpl-aos [data-aos="fade-up"] { transform: translateY(40px); }
.tpl-aos [data-aos="fade-left"] { transform: translateX(48px); }
.tpl-aos [data-aos="fade-right"] { transform: translateX(-48px); }
.tpl-aos [data-aos="zoom-in"] { transform: scale(.94); }
.tpl-aos [data-aos].is-aos-in { opacity: 1; transform: none; }
/* 오른쪽에서 들어오는 블록(fade-left)이 등장 전 48px 밀려 있어 좁은 화면에 가로 스크롤이 생기므로(390px 실측 28px) 본문 밖을 잘라 냅니다. */
main { overflow-x: clip; }

/* ---------- 섹션 공통 : 여백 · 바탕 · 머리(영문 라벨 + 큰 제목 + 설명) ---------- */
.tpl-sec { padding: 150px 0; background: var(--tpl-bg0); }
.tpl-sec--alt { background: var(--tpl-bg1); }
.tpl-label { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--tpl-terra-t); }
.tpl-label::before { content: ''; width: 32px; height: 2px; background: currentColor; }
.tpl-head__ko { margin-top: 22px; font-size: 44px; font-weight: 700; line-height: 1.36; letter-spacing: -.04em; color: var(--tpl-head); }
.tpl-head__txt { margin-top: 18px; font-size: 18px; color: var(--tpl-text); }
.tpl-head--center { text-align: center; }
.tpl-head--center .tpl-label { justify-content: center; }
.tpl-headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; }
.tpl-more { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 600; color: var(--tpl-head); white-space: nowrap; }
.tpl-more .tpl-ico { width: 16px; height: 16px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-more:hover { color: var(--tpl-terra-t); }
.tpl-more:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 공통 버튼 : 테라코타 면 버튼(.tpl-btn) · 테두리 버튼(.tpl-btn--line) · 사각 화살표(.tpl-sqbtn) ---------- */
.tpl-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; height: 58px; padding: 0 22px 0 28px; border: 1px solid var(--tpl-terra); background: var(--tpl-terra); color: #fff; font-size: 16.5px; font-weight: 600; white-space: nowrap; transition: background-color .3s, border-color .3s, color .3s; }
.tpl-btn .tpl-ico { width: 18px; height: 18px; stroke-width: 1.8; transition: transform .35s var(--tpl-ease); }
.tpl-btn:hover { background: var(--tpl-terra-d); border-color: var(--tpl-terra-d); }
.tpl-btn:hover .tpl-ico { transform: translateX(4px); }
.tpl-btn--line { background: transparent; border-color: rgba(255, 255, 255, .55); }
.tpl-btn--line:hover { background: #fff; border-color: #fff; color: var(--tpl-bg0); }
.tpl-sqbtn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--tpl-line-s); color: var(--tpl-head); transition: border-color .25s, background-color .25s; }
.tpl-sqbtn .tpl-ico { width: 20px; height: 20px; }
.tpl-sqbtn:hover:not(:disabled) { border-color: var(--tpl-terra); background: var(--tpl-terra); }
.tpl-sqbtn:disabled { opacity: .35; cursor: default; }

/* ---------- 로고 : 겹친 두 사각(벽돌을 쌓은 모양) + 영문 워드마크 + 국문 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--tpl-head); }
.tpl-logo__mark { width: 28px; height: 28px; flex: none; }
.tpl-logo__txt { display: grid; gap: 6px; line-height: 1; }
.tpl-logo__en { font-size: 20px; font-weight: 700; letter-spacing: .18em; }
.tpl-logo__ko { font-size: 11.5px; font-weight: 500; letter-spacing: .3em; color: var(--tpl-mute); }

/* ---------- 헤더 : 맨 위에서는 투명, 스크롤하거나 메가메뉴가 열리면 먹색 바탕 ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: var(--tpl-head); transition: background-color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .16); }
.tpl-header.is-scrolled, .tpl-header.is-mega-open { background: var(--tpl-bg0); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after { background: var(--tpl-line); }
.tpl-header__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
/* 1차 메뉴 칸은 양옆 같은 여백(간격의 절반)을 가지므로 글자 사이 간격이 모두 같고, 2차 열 폭은 이 칸(li) 폭을 그대로 따릅니다 */
.tpl-gnb__item { position: relative; height: 100%; padding: 0 calc(var(--tpl-gnb-gap) / 2); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 18px; font-weight: 600; white-space: nowrap; }
/* hover 표시는 글자 폭의 테라코타 선 하나뿐입니다. 서브페이지의 현재 메뉴 선은 다른 1차에 올리면 거둡니다 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 2px; background: var(--tpl-terra-t); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after, .tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-gnb__link:focus-visible { outline-offset: -10px; }
.tpl-util { display: flex; flex: 1 1 0; justify-content: flex-end; align-items: center; gap: 8px; white-space: nowrap; }
.tpl-util a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); font-size: 14px; font-weight: 600; transition: background-color .25s, border-color .25s; }
.tpl-util a:hover { border-color: #fff; }
.tpl-util a.tpl-util__join { border-color: var(--tpl-terra); background: var(--tpl-terra); color: #fff; }
.tpl-util a.tpl-util__join:hover { background: var(--tpl-terra-d); border-color: var(--tpl-terra-d); }
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 15px; } .tpl-burger i:nth-child(2) { top: 21px; } .tpl-burger i:nth-child(3) { top: 27px; left: 19px; }

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

/* ---------- 드로어 (1024px 이하) : 오른쪽 먹색 패널. 1차 줄 전체가 버튼, 2차 영역은 배경색 없음 ---------- */
.tpl-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear .5s; }
.tpl-drawer.is-open { visibility: visible; transition-delay: 0s; }
.tpl-drawer__dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .45s; }
.tpl-drawer.is-open .tpl-drawer__dim { opacity: 1; }
.tpl-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; width: min(400px, 100%); background: var(--tpl-bg1); color: var(--tpl-head); 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: 70px; padding: 0 20px; flex: none; border-bottom: 2px solid var(--tpl-terra); }
.tpl-drawer__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; }
.tpl-drawer__close .tpl-ico { width: 24px; height: 24px; }
.tpl-drawer__list { padding: 4px 20px; }
.tpl-drawer__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-drawer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 19px 0; text-align: left; font: 700 19px/1.3 var(--tpl-font); letter-spacing: -.03em; }
.tpl-drawer__toggle .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease); }
.tpl-drawer__toggle[aria-expanded="true"] { color: var(--tpl-terra-t); }
.tpl-drawer__toggle[aria-expanded="true"] .tpl-ico { transform: rotate(180deg); color: var(--tpl-terra-t); }
.tpl-drawer__sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--tpl-ease); }
.tpl-drawer__sub a { display: block; padding: 7px 0 7px 2px; font-size: 17px; color: var(--tpl-text); }
.tpl-drawer__sub li:last-child a { margin-bottom: 16px; }
.tpl-drawer__sub a:hover { color: var(--tpl-head); text-decoration: underline; text-underline-offset: 4px; }
.tpl-drawer__sub a[aria-current] { color: var(--tpl-terra-t); font-weight: 700; }
.tpl-drawer__foot { margin-top: auto; padding: 24px 20px; }
.tpl-drawer__util { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.tpl-drawer__util a { display: grid; place-items: center; height: 48px; border: 1px solid var(--tpl-line-s); font-size: 16px; font-weight: 600; }
.tpl-drawer__util a + a { border-color: var(--tpl-terra); background: var(--tpl-terra); color: #fff; }
.tpl-drawer__tel { display: grid; padding: 16px 18px; border: 1px solid var(--tpl-line); line-height: 1.4; }
.tpl-drawer__tel small { font-size: 14px; color: var(--tpl-mute); }
.tpl-drawer__tel strong { font-size: 20px; font-weight: 700; letter-spacing: 0; }

/* ---------- 푸터 : 가장 짙은 먹색. 위 줄 로고 + 하단 메뉴, 아래 정책 · 주소 · 관련 사이트 ---------- */
.tpl-footer { background: var(--tpl-foot); color: var(--tpl-mute); font-size: 15px; line-height: 1.7; border-top: 1px solid #221f1c; }
.tpl-footer__in { padding: 76px 0 52px; }
.tpl-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #262320; }
.tpl-footer__nav { display: flex; gap: 56px; }
.tpl-footer__nav strong { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; color: var(--tpl-head); }
.tpl-footer__nav li a { display: inline-block; padding: 2px 0; font-size: 15px; color: var(--tpl-mute); }
.tpl-footer__nav a:hover { color: var(--tpl-head); text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 32px; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 14px; font-size: 15px; color: var(--tpl-text); }
.tpl-footer__policy b { font-weight: 700; color: var(--tpl-head); }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address { font-size: 14.5px; }
.tpl-footer address span { display: inline-block; margin-right: 16px; }
.tpl-footer__copy { margin-top: 8px; font-size: 13.5px; letter-spacing: .04em; color: #8c847b; }
.tpl-family { position: relative; flex: none; }
.tpl-family__btn { display: flex; align-items: center; justify-content: space-between; width: 210px; height: 46px; padding: 0 14px 0 16px; border: 1px solid #3a3530; font-size: 14.5px; color: var(--tpl-head); }
.tpl-family__btn .tpl-ico { width: 15px; height: 15px; transition: transform .35s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-family__list { position: absolute; right: 0; bottom: calc(100% + 6px); width: 210px; padding: 8px 0; border: 1px solid #3a3530; background: var(--tpl-bg1); }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 14.5px; color: var(--tpl-text); }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: var(--tpl-bg2); }

/* ---------- TOP 버튼 : 오른쪽 아래 테라코타 사각. 맨 위에서는 숨깁니다 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; background: var(--tpl-terra); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--tpl-ease), visibility 0s linear .45s, background-color .25s; }
.tpl-totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-totop .tpl-ico { width: 18px; height: 18px; stroke-width: 1.8; }
.tpl-totop:hover { background: var(--tpl-terra-d); }

/* ---------- 반응형 ---------- */
@media (max-width: 1440px) {
  :root { --tpl-gnb-gap: 56px; }
}
@media (max-width: 1280px) {
  :root { --tpl-gnb-gap: 48px; --tpl-side: 40px; }
  .tpl-gnb__link { font-size: 17px; }
  .tpl-gnb__sub a { font-size: 15px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-gap: 40px; }
  .tpl-logo__en { font-size: 18px; letter-spacing: .14em; }
  .tpl-util a { padding: 0 11px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 70px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 120px 0; }
  .tpl-head__ko { font-size: 38px; }
  .tpl-headrow { flex-direction: column; align-items: flex-start; }
  .tpl-footer__in { padding: 60px 0 44px; }
  .tpl-footer__top { flex-direction: column; }
  .tpl-footer__nav { flex-wrap: wrap; gap: 32px 48px; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .tpl-family__list { left: 0; right: auto; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 62px; }
  body { font-size: 17px; }
  .tpl-sec { padding: 96px 0; }
  .tpl-head__ko { margin-top: 18px; font-size: 30px; line-height: 1.4; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-label { font-size: 13px; }
  .tpl-btn { height: 52px; gap: 20px; padding: 0 18px 0 22px; font-size: 15.5px; }
  .tpl-sqbtn { width: 44px; height: 44px; }
  .tpl-logo__en { font-size: 17px; }
  .tpl-logo__mark { width: 24px; height: 24px; }
  .tpl-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .tpl-totop { bottom: 20px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지(index.html) 섹션입니다. 섹션 순서와 같은 순서로 적었습니다. */

/* ========== 메인 비주얼 : 화면 높이의 90%. 새 장이 커튼처럼 가로로 걷히며(clip-path) 덮고, 문구는 라벨 → 제목 → 설명 → 버튼 순으로 올라옵니다 ========== */
.tpl-vis { position: relative; height: 90vh; height: 90svh; min-height: 0; overflow: hidden; background: #000; color: #fff; }
.tpl-vis__slides, .tpl-vis__slide, .tpl-vis__media { position: absolute; inset: 0; }
.tpl-vis__slide { visibility: hidden; z-index: 1; }
.tpl-vis__slide.is-active { visibility: visible; z-index: 3; }
.tpl-vis__media img { width: 100%; height: 100%; object-fit: cover; }
/* 사진 위 어두운 막 : 아래쪽과 가운데를 조금 더 어둡게 해 흰 글자 대비를 지킵니다 */
.tpl-vis__media::after { content: ''; position: absolute; inset: 0; background: rgba(12, 10, 9, .48); }
/* 나가는 장(is-leaving)도 같은 애니메이션을 이어 가 커튼에 덮이는 동안 사진 크기가 툭 바뀌지 않게 합니다. */
.tpl-vis__slide.is-active .tpl-vis__media img, .tpl-vis__slide.is-leaving .tpl-vis__media img { animation: tpl-vis-zoom 8s linear both; }
@keyframes tpl-vis-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
/* 유튜브 : 16:9 영상을 화면에 꽉 차게(넘치는 부분은 잘림) 키우고, 불러온 뒤에 서서히 나타납니다 */
.tpl-vis__yt { position: absolute; inset: 0; overflow: hidden; }
.tpl-vis__yt iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 160vh); height: max(100%, 56.25vw); border: 0; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity .5s; }
/* 재생이 시작된 뒤에만 영상을 서서히 보여 줍니다(그 전 · 오류 화면 · 끝난 화면은 뒤의 사진이 보입니다). */
.tpl-vis__yt iframe.is-play { opacity: 1; }
.tpl-vis__media--video::after { z-index: 1; }

.tpl-vis__cap { position: absolute; left: 50%; top: 50%; z-index: 2; width: min(1100px, calc(100% - 240px)); transform: translate(-50%, -54%); text-align: center; }
.tpl-vis__label { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #f1c3ab; }
.tpl-vis__label::before, .tpl-vis__label::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.tpl-vis__title { margin-top: 26px; font-size: clamp(44px, 4.4vw, 68px); font-weight: 700; line-height: 1.25; letter-spacing: -.045em; }
.tpl-vis__desc { margin-top: 22px; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.tpl-vis__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.tpl-vis__cap > * { opacity: 0; transform: translateY(32px); }
.tpl-vis__slide.is-active .tpl-vis__cap > * { opacity: 1; transform: none; transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
.tpl-vis__slide.is-active .tpl-vis__label { transition-delay: .45s; }
.tpl-vis__slide.is-active .tpl-vis__title { transition-delay: .6s; }
.tpl-vis__slide.is-active .tpl-vis__desc { transition-delay: .78s; }
.tpl-vis__slide.is-active .tpl-vis__btns { transition-delay: .94s; }
/* 덮여 사라지는 장의 문구는 커튼 아래에서 그대로 둡니다 */
.tpl-vis__slide.is-leaving .tpl-vis__cap > * { opacity: 1; transform: none; transition: none; }

.tpl-vis__arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; transform: translateY(-50%); transition: background-color .25s, border-color .25s; }
.tpl-vis__arrow .tpl-ico { width: 26px; height: 26px; stroke-width: 1.4; }
.tpl-vis__arrow:hover { background: var(--tpl-terra); border-color: var(--tpl-terra); }
.tpl-vis__arrow--prev { left: 40px; }
.tpl-vis__arrow--next { right: 40px; }
/* 아래 조작부 : 번호 · 진행선 · 일시정지. 퀵메뉴 띠(아래로 걸쳐 올라옴)보다 위에 둡니다 */
.tpl-vis__ctrl { position: absolute; left: 50%; bottom: 96px; z-index: 5; display: flex; align-items: center; gap: 18px; transform: translateX(-50%); }
.tpl-vis__count { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.tpl-vis__count b { color: #fff; font-weight: 700; }
.tpl-vis__bar { position: relative; width: 120px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-vis__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.tpl-vis__pause { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.tpl-vis__pause .tpl-ico { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.tpl-vis__pause .tpl-ico--play, .tpl-vis__pause[aria-pressed="true"] .tpl-ico--pause { display: none; }
.tpl-vis__pause[aria-pressed="true"] .tpl-ico--play { display: block; }
.tpl-vis__pause:hover { background: #fff; color: var(--tpl-bg0); }

/* ========== 바로가기 퀵메뉴 + 회사 소개 요약 ========== */
.tpl-about { padding-top: 0; }
.tpl-shortcut { position: relative; z-index: 6; margin-top: -44px; }
.tpl-shortcut ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--tpl-bg1); border: 1px solid var(--tpl-line); }
.tpl-shortcut li + li { border-left: 1px solid var(--tpl-line); }
.tpl-shortcut a { display: flex; align-items: center; gap: 16px; height: 88px; padding: 0 26px; color: var(--tpl-head); transition: background-color .3s; }
.tpl-shortcut a > .tpl-ico:first-child { width: 26px; height: 26px; color: var(--tpl-terra-t); stroke-width: 1.5; }
.tpl-shortcut span { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.tpl-shortcut b { font-size: 17.5px; font-weight: 700; }
.tpl-shortcut small { font-size: 14px; color: var(--tpl-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-shortcut__go { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .35s var(--tpl-ease), color .3s; }
.tpl-shortcut a:hover { background: var(--tpl-terra); }
.tpl-shortcut a:hover .tpl-ico, .tpl-shortcut a:hover small { color: #fff; }
.tpl-shortcut a:hover .tpl-shortcut__go { transform: translateX(4px); }

.tpl-about__head { margin-top: 140px; }
.tpl-about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; margin-top: 64px; }
.tpl-about__img { aspect-ratio: 4 / 5; overflow: hidden; }
.tpl-about__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-about__lead { margin-top: 0; font-size: 21px; font-weight: 500; line-height: 1.65; color: var(--tpl-head); }
.tpl-about__txt { margin: 18px 0 30px; }
.tpl-about__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--tpl-line-s); }
.tpl-about__nums div { padding: 26px 0 0 22px; border-left: 1px solid var(--tpl-line); }
.tpl-about__nums div:first-child { padding-left: 0; border-left: 0; }
.tpl-about__nums dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-about__nums dd { margin-top: 6px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-head); }
.tpl-about__nums small { margin-left: 3px; font-size: 16px; font-weight: 500; color: var(--tpl-terra-t); }

/* ========== 사업영역 : 선으로 나뉜 4줄 목록 ========== */
.tpl-biz__list { margin-top: 64px; border-top: 1px solid var(--tpl-line-s); }
.tpl-biz__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-biz__list a { display: grid; grid-template-columns: 70px 260px 1fr 220px 40px; align-items: center; gap: 40px; padding: 32px 0; transition: background-color .3s; }
.tpl-biz__no { font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-terra-t); }
.tpl-biz__name { display: grid; gap: 4px; }
.tpl-biz__name b { font-size: 26px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-head); }
.tpl-biz__name small { font-size: 14px; letter-spacing: .08em; color: var(--tpl-mute); }
.tpl-biz__desc { color: var(--tpl-text); }
.tpl-biz__img { aspect-ratio: 3 / 2; overflow: hidden; }
.tpl-biz__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .8s var(--tpl-ease); }
.tpl-biz__go { width: 26px; height: 26px; color: var(--tpl-mute); transition: color .3s, transform .35s var(--tpl-ease); }
.tpl-biz__list a:hover .tpl-biz__name b { color: var(--tpl-terra-t); }
.tpl-biz__list a:hover .tpl-biz__img img { transform: scale(1.06); filter: none; }
.tpl-biz__list a:hover .tpl-biz__go { color: var(--tpl-terra-t); transform: translate(3px, -3px); }

/* ========== 진행 절차 : 5칸, 위 굵은 선 ========== */
.tpl-step__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 72px; counter-reset: step; }
.tpl-step__list li { position: relative; padding-top: 30px; border-top: 2px solid var(--tpl-line-s); }
.tpl-step__list li::before { content: ''; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--tpl-terra); }
.tpl-step__list span { font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-terra-t); }
.tpl-step__list b { display: block; margin-top: 12px; font-size: 22px; font-weight: 700; color: var(--tpl-head); }
.tpl-step__list p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; }
.tpl-step__list small { display: inline-block; margin-top: 16px; padding: 3px 10px; border: 1px solid var(--tpl-line-s); font-size: 13.5px; color: var(--tpl-head); }

/* ========== 연혁 요약 : 왼쪽 제목(4) · 오른쪽 목록(7) ========== */
.tpl-hist__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin-top: 56px; border-top: 1px solid var(--tpl-line-s); }
.tpl-hist__list li { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__list strong { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-head); line-height: 1.1; }
.tpl-hist__list li:first-child strong { color: var(--tpl-terra-t); }
.tpl-hist__list p { font-size: 18px; color: var(--tpl-text); }

/* ========== 갤러리 : 분류 버튼 + 가로 캐러셀(한 화면 4 → 3 → 2 → 1장) ========== */
.tpl-gal__filter { display: flex; flex-wrap: wrap; border: 1px solid var(--tpl-line-s); }
.tpl-gal__filter button { min-width: 92px; height: 48px; padding: 0 18px; font-size: 15.5px; font-weight: 600; color: var(--tpl-mute); transition: background-color .25s, color .25s; }
.tpl-gal__filter button + button { border-left: 1px solid var(--tpl-line-s); }
.tpl-gal__filter button:hover { color: var(--tpl-head); }
.tpl-gal__filter button[aria-pressed="true"] { background: var(--tpl-head); color: var(--tpl-bg0); }
.tpl-gal__view { margin-top: 56px; overflow: hidden; }
.tpl-gal__track { --per: 4; --gap: 28px; display: flex; gap: var(--gap); transition: transform .7s var(--tpl-ease); }
.tpl-gal__track li { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); min-width: 0; }
.tpl-gal__track li[hidden] { display: none; }
.tpl-gal__track a { display: block; }
.tpl-gal__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-bg2); }
.tpl-gal__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-gal__track a:hover img { transform: scale(1.05); }
.tpl-gal__cat { display: inline-block; margin-top: 22px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; color: var(--tpl-terra-t); }
.tpl-gal__track strong { display: block; margin-top: 8px; font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--tpl-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-gal__track p { display: -webkit-box; margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tpl-gal__track time { display: block; margin-top: 14px; font-size: 14px; color: var(--tpl-mute); letter-spacing: .02em; }
.tpl-gal__track a:hover strong { text-decoration: underline; text-decoration-color: var(--tpl-terra-t); text-underline-offset: 5px; }
.tpl-gal__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 48px; }
.tpl-gal__bar { position: relative; flex: 1; height: 2px; margin-right: 22px; background: var(--tpl-line); }
.tpl-gal__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--tpl-terra-t); transition: width .7s var(--tpl-ease); }
.tpl-gal__count { margin-right: 18px; font-size: 15px; font-weight: 600; color: var(--tpl-mute); letter-spacing: .04em; }
.tpl-gal__count b { color: var(--tpl-head); }

/* ========== 문의 띠 : 사진 + 어두운 막, 가운데 정렬 ========== */
.tpl-cta { position: relative; padding: 140px 0; overflow: hidden; text-align: center; color: #fff; }
.tpl-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(14, 11, 9, .74); }
.tpl-cta__in { position: relative; z-index: 2; }
.tpl-cta .tpl-label { justify-content: center; color: #f1c3ab; }
.tpl-cta__title { margin-top: 22px; font-size: 44px; font-weight: 700; line-height: 1.36; letter-spacing: -.04em; }
.tpl-cta__txt { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.tpl-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ========== 게시판 최신글 : 2열, 위 굵은 선 ========== */
.tpl-board__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; }
.tpl-board__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 2px solid var(--tpl-head); }
.tpl-board__head h3 { font-size: 24px; font-weight: 700; color: var(--tpl-head); }
.tpl-board__head a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--tpl-line-s); color: var(--tpl-head); transition: background-color .25s, border-color .25s; }
.tpl-board__head a:hover { background: var(--tpl-terra); border-color: var(--tpl-terra); }
.tpl-board__box li { border-bottom: 1px solid var(--tpl-line); }
.tpl-board__box li a { display: flex; align-items: center; gap: 14px; padding: 20px 0; }
.tpl-board__tag { flex: none; padding: 2px 8px; border: 1px solid var(--tpl-line-s); font-size: 13px; font-weight: 600; color: var(--tpl-mute); }
.tpl-board__tag--done { border-color: var(--tpl-terra-t); color: var(--tpl-terra-t); }
.tpl-board__tit { flex: 1; min-width: 0; font-size: 17px; color: var(--tpl-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-board__box time { flex: none; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-board__box li a:hover .tpl-board__tit { text-decoration: underline; text-underline-offset: 5px; }

/* ========== 인증 · 협력 : 왼쪽 제목, 오른쪽 5 × 2 선 격자 ========== */
.tpl-cert__grid { display: grid; margin-top: 56px; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--tpl-line-s); border-left: 1px solid var(--tpl-line); }
.tpl-cert__grid li { display: grid; align-content: center; justify-items: center; gap: 6px; height: 140px; padding: 0 10px; border-right: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-cert__grid b { font-size: 22px; font-weight: 700; color: var(--tpl-head); letter-spacing: -.02em; line-height: 1.2; }
.tpl-cert__grid b small { margin-left: 2px; font-size: 15px; color: var(--tpl-terra-t); }
.tpl-cert__grid span { font-size: 14.5px; line-height: 1.4; color: var(--tpl-mute); }

/* ========== 고객 후기 : 3열, 위 굵은 선 + 테라코타 짧은 선(진행 절차와 같은 선 언어) ========== */
.tpl-review__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
.tpl-review__list li { position: relative; display: flex; flex-direction: column; padding-top: 36px; border-top: 2px solid var(--tpl-line-s); }
.tpl-review__list li::before { content: ''; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--tpl-terra); }
.tpl-review__list blockquote { flex: 1; }
.tpl-review__tit { font-size: 22px; font-weight: 700; line-height: 1.5; letter-spacing: -.03em; color: var(--tpl-head); }
.tpl-review__txt { margin-top: 16px; font-size: 17px; line-height: 1.8; }
.tpl-review__who { display: flex; align-items: baseline; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--tpl-line); }
.tpl-review__who b { font-size: 16.5px; font-weight: 600; color: var(--tpl-head); }
.tpl-review__who span { font-size: 15px; color: var(--tpl-mute); }

/* ========== 자주 묻는 질문 : 선으로 나뉜 아코디언. 답변은 grid-template-rows(0fr → 1fr)로 펼칩니다 ========== */
.tpl-faq__list { margin-top: 56px; border-top: 2px solid var(--tpl-head); }
.tpl-faq__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq__item button { display: flex; align-items: center; gap: 24px; width: 100%; padding: 28px 4px; text-align: left; color: var(--tpl-head); }
.tpl-faq__q { flex: none; width: 28px; font-size: 22px; font-weight: 700; color: var(--tpl-terra-t); }
.tpl-faq__tit { flex: 1; min-width: 0; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.tpl-faq__item button .tpl-ico { width: 22px; height: 22px; transition: transform .4s var(--tpl-ease); }
.tpl-faq__item button:hover .tpl-faq__tit { text-decoration: underline; text-decoration-color: var(--tpl-terra-t); text-underline-offset: 6px; }
.tpl-faq__item button[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); color: var(--tpl-terra-t); }
.tpl-faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--tpl-ease), visibility 0s .45s; }
.tpl-faq__a > div { overflow: hidden; }
.tpl-faq__a p { padding: 0 56px 30px 56px; font-size: 17.5px; line-height: 1.8; }
.tpl-faq__item.is-open .tpl-faq__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s var(--tpl-ease), visibility 0s; }

/* ========== 연락처 + 지도 ========== */
.tpl-contact__in { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; }
.tpl-contact__tel { display: inline-block; margin-top: 30px; font-size: 44px; font-weight: 700; letter-spacing: -.01em; color: var(--tpl-head); line-height: 1.1; }
.tpl-contact__tel:hover { color: var(--tpl-terra-t); }
.tpl-contact__list { margin: 30px 0 34px; border-top: 1px solid var(--tpl-line-s); }
.tpl-contact__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-contact__list dt { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; color: var(--tpl-head); }
.tpl-contact__list dt .tpl-ico { width: 17px; height: 17px; color: var(--tpl-terra-t); }
.tpl-contact__list dd { font-size: 16px; }
.tpl-contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { min-height: 460px; background: var(--tpl-bg2); }
.tpl-contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.4) brightness(.92); }

/* ========== 반응형 ========== */
@media (max-width: 1280px) {
  .tpl-vis__cap { width: calc(100% - 220px); }
  .tpl-biz__list a { grid-template-columns: 56px 220px 1fr 180px 30px; gap: 28px; }
  .tpl-about__grid { gap: 64px; }
  .tpl-about__nums dd { font-size: 34px; }
  .tpl-gal__track { --per: 3; }
  .tpl-shortcut a { padding: 0 20px; gap: 12px; }
}
@media (max-width: 1024px) {
  .tpl-vis__arrow { width: 48px; height: 48px; }
  .tpl-vis__arrow--prev { left: 20px; }
  .tpl-vis__arrow--next { right: 20px; }
  .tpl-vis__cap { width: calc(100% - 160px); }
  .tpl-vis__desc { font-size: 18px; }
  .tpl-shortcut ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-shortcut li:nth-child(3) { border-left: 0; }
  .tpl-shortcut li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-shortcut a { height: 80px; }
  .tpl-vis__ctrl { bottom: 128px; }
  .tpl-shortcut { margin-top: -80px; }
  .tpl-about__head { margin-top: 96px; }
  .tpl-about__grid { grid-template-columns: 1fr; gap: 56px; margin-top: 48px; }
  .tpl-about__img { aspect-ratio: 16 / 10; }
  .tpl-biz__list a { grid-template-columns: 48px 1fr 200px; grid-template-areas: "no name img" "no desc img"; gap: 6px 28px; }
  .tpl-biz__no { grid-area: no; align-self: start; padding-top: 8px; }
  .tpl-biz__name { grid-area: name; }
  .tpl-biz__desc { grid-area: desc; }
  .tpl-biz__img { grid-area: img; }
  .tpl-biz__go { display: none; }
  .tpl-step__list { grid-template-columns: 1fr; gap: 0; }
  .tpl-step__list li { display: grid; grid-template-columns: 110px 160px 1fr auto; align-items: baseline; gap: 20px; padding: 24px 0; border-top: 1px solid var(--tpl-line); }
  .tpl-step__list li::before { display: none; }
  .tpl-step__list li:last-child { border-bottom: 1px solid var(--tpl-line); }
  .tpl-step__list b, .tpl-step__list p, .tpl-step__list small { margin-top: 0; }
  .tpl-hist__list { grid-template-columns: 1fr; }
  .tpl-gal__track { --per: 2; --gap: 22px; }
  .tpl-board__grid { grid-template-columns: 1fr; gap: 56px; }
  .tpl-cert__grid li { height: 120px; }
  .tpl-review__list { gap: 32px; }
  .tpl-contact__in { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .tpl-vis__arrow { top: auto; bottom: 34px; width: 42px; height: 42px; transform: none; }
  .tpl-vis__arrow--prev { left: 20px; }
  .tpl-vis__arrow--next { right: 20px; }
  .tpl-vis__cap { width: calc(100% - 40px); transform: translate(-50%, -62%); }
  .tpl-vis__label { font-size: 12.5px; letter-spacing: .14em; gap: 10px; }
  .tpl-vis__label::before, .tpl-vis__label::after { width: 18px; }
  .tpl-vis__title { margin-top: 18px; font-size: 34px; line-height: 1.3; }
  .tpl-vis__desc { margin-top: 16px; font-size: 16.5px; }
  .tpl-vis__btns { margin-top: 30px; }
  .tpl-vis__ctrl { bottom: 40px; gap: 12px; }
  .tpl-vis__bar { width: 60px; }
  .tpl-shortcut { margin-top: 0; }
  .tpl-shortcut ul { border-top: 0; border-left: 0; border-right: 0; }
  .tpl-about { padding-top: 0; }
  .tpl-shortcut a { height: 76px; padding: 0 14px; gap: 10px; }
  .tpl-shortcut a > .tpl-ico:first-child { width: 22px; height: 22px; }
  .tpl-shortcut b { font-size: 16px; }
  .tpl-shortcut small, .tpl-shortcut__go { display: none; }
  .tpl-about__head { margin-top: 72px; }
  .tpl-about__grid { margin-top: 40px; gap: 40px; }
  .tpl-about__lead { font-size: 18.5px; }
  .tpl-about__nums { grid-template-columns: 1fr 1fr; }
  .tpl-about__nums div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-about__nums div { padding-bottom: 20px; }
  .tpl-about__nums dd { font-size: 30px; }
  .tpl-biz__list { margin-top: 44px; }
  .tpl-biz__list a { grid-template-columns: 1fr; grid-template-areas: "img" "no" "name" "desc"; gap: 8px; padding: 28px 0; }
  .tpl-biz__no { padding-top: 14px; }
  .tpl-biz__name b { font-size: 22px; }
  .tpl-step__list { margin-top: 48px; }
  .tpl-step__list li { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tpl-step__list span { grid-column: 1 / -1; }
  .tpl-step__list p { grid-column: 1 / -1; }
  .tpl-step__list small { grid-row: 2; grid-column: 2; }
  .tpl-hist__list li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .tpl-hist__list strong { font-size: 26px; }
  .tpl-hist__list p { font-size: 16.5px; }
  .tpl-gal__filter { width: 100%; }
  .tpl-gal__filter button { flex: 1; min-width: 0; padding: 0 6px; }
  .tpl-gal__view { margin-top: 36px; }
  .tpl-gal__track { --per: 1; }
  .tpl-gal__ctrl { margin-top: 32px; }
  .tpl-cta { padding: 100px 0; }
  .tpl-cta__title { font-size: 28px; line-height: 1.42; }
  .tpl-cta__txt { font-size: 16.5px; }
  .tpl-board__head h3 { font-size: 21px; }
  .tpl-board__box li a { flex-wrap: wrap; gap: 6px 10px; padding: 16px 0; }
  .tpl-board__tit { flex-basis: calc(100% - 60px); font-size: 16px; }
  .tpl-board__box time { width: 100%; font-size: 13.5px; }
  .tpl-cert__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-cert__grid li { height: 104px; }
  .tpl-cert__grid b { font-size: 19px; }
  .tpl-contact__tel { font-size: 34px; }
  .tpl-contact__list div { grid-template-columns: 1fr; gap: 4px; }
  .tpl-review__list { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .tpl-review__tit { font-size: 20px; }
  .tpl-review__txt { font-size: 16.5px; }
  .tpl-faq__list { margin-top: 40px; }
  .tpl-faq__item button { gap: 14px; padding: 22px 0; }
  .tpl-faq__q { width: 20px; font-size: 19px; }
  .tpl-faq__tit { font-size: 17px; }
  .tpl-faq__a p { padding: 0 0 24px 34px; font-size: 16.5px; }
  .tpl-contact__map, .tpl-contact__map iframe { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-faq__a, .tpl-faq__item.is-open .tpl-faq__a, .tpl-faq__item button .tpl-ico { transition: none; }
  .tpl-vis__cap > * { opacity: 1; transform: none; }
}

/* ---------- 연락처 카카오 지도 (2026-11-23 덧붙임) : 구글 지도를 카카오맵으로 바꾸며 흑백 filter 를 끄고, 카카오 화면 왼쪽 검색 창을 상자 밖으로 밀어 가립니다 ---------- */
.tpl-contact__map { position: relative; overflow: hidden; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; filter: none; }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; background: var(--tpl-bg0); font-size: 15px; font-weight: 600; color: var(--tpl-head); }
.tpl-contact__maplink .tpl-ico { width: 16px; height: 16px; }
.tpl-contact__maplink:hover { background: var(--tpl-terra); color: #fff; }
@media (max-width: 768px) { .tpl-contact__map, .tpl-contact__map iframe { min-height: 460px; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지(about-greeting.html 등) 공통 부품입니다. 서브 비주얼, 위치 표시 · 2차 탭, 인사말, 숫자, 회사 개요 표를 담습니다. */

/* ========== 서브 비주얼 : 사진 + 어두운 막, 가운데 큰 제목(정지 화면) ========== */
.tpl-subvis { position: relative; display: flex; align-items: center; height: 460px; padding-top: var(--tpl-hd-h); overflow: hidden; color: #fff; text-align: center; }
.tpl-subvis__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(14, 11, 9, .6); }
.tpl-subvis__in { position: relative; z-index: 2; }
.tpl-subvis__en { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #f1c3ab; }
.tpl-subvis__en::before, .tpl-subvis__en::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.tpl-subvis__title { margin-top: 18px; font-size: 56px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.tpl-subvis__desc { margin-top: 16px; font-size: 19px; color: rgba(255, 255, 255, .88); }

/* ========== 위치 표시 + 2차 메뉴 탭 : 탭 밑줄은 늘 하나(현재 탭, 다른 탭에 올리면 그 탭으로 옮겨 감) ========== */
.tpl-snb { background: var(--tpl-bg1); border-bottom: 1px solid var(--tpl-line); }
.tpl-snb__in { display: flex; justify-content: space-between; align-items: stretch; gap: 32px; min-height: 72px; }
.tpl-snb__path { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-snb__path li { display: flex; align-items: center; gap: 12px; }
.tpl-snb__path li + li::before { content: ''; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.tpl-snb__path a { display: flex; align-items: center; }
.tpl-snb__path .tpl-ico { width: 17px; height: 17px; }
.tpl-snb__path a:hover { color: var(--tpl-head); }
.tpl-snb__path a[aria-current] { color: var(--tpl-head); font-weight: 600; }
.tpl-snb__tabs { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 16.5px; font-weight: 600; 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: 3px; background: var(--tpl-terra-t); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a[aria-current] { color: var(--tpl-head); }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) {
  .tpl-snb__tabs a:hover { color: var(--tpl-head); }
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}

/* ========== 인사말 : 왼쪽 사진(5) · 오른쪽 글(7) ========== */
.tpl-greet__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: start; margin-top: 64px; }
.tpl-greet__photo { position: sticky; top: calc(var(--tpl-hd-h) + 32px); }
.tpl-greet__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.tpl-greet__photo figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--tpl-line-s); font-size: 15px; color: var(--tpl-mute); }
.tpl-greet__photo figcaption b { font-size: 17px; color: var(--tpl-head); }
.tpl-greet__body p + p { margin-top: 22px; }
.tpl-greet__body p { font-size: 18px; line-height: 1.85; }
.tpl-greet__body .tpl-greet__lead { padding-left: 22px; border-left: 3px solid var(--tpl-terra); font-size: 23px; font-weight: 600; line-height: 1.6; color: var(--tpl-head); }
.tpl-greet__body .tpl-greet__lead + p { margin-top: 36px; }
.tpl-greet__body .tpl-greet__sign { display: flex; justify-content: flex-end; align-items: baseline; gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); }
.tpl-greet__sign b { font-size: 26px; font-weight: 700; letter-spacing: .2em; color: var(--tpl-head); }

/* ========== 숫자 4칸 ========== */
.tpl-stats { padding: 110px 0; }
.tpl-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl-stats__list div { padding: 6px 32px; border-left: 1px solid var(--tpl-line); }
.tpl-stats__list div:first-child { padding-left: 0; border-left: 0; }
.tpl-stats__list dt { font-size: 15.5px; color: var(--tpl-mute); }
.tpl-stats__list dd { margin-top: 8px; font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-head); }
.tpl-stats__list small { margin-left: 4px; font-size: 18px; font-weight: 500; color: var(--tpl-terra-t); }
.tpl-stats__list p { margin-top: 10px; font-size: 15.5px; }

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

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
  .tpl-subvis { height: 380px; }
  .tpl-subvis__title { font-size: 46px; }
  .tpl-snb__in { flex-direction: column; gap: 0; min-height: 0; }
  .tpl-snb__path { min-height: 52px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-snb__tabs { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--tpl-side) * -1); padding: 0 calc(var(--tpl-side) - 18px); }
  .tpl-snb__tabs::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs a { height: 58px; padding: 0 18px; }
  .tpl-snb__tabs a::after { left: 18px; right: 18px; }
  .tpl-greet__grid { grid-template-columns: 1fr; gap: 48px; }
  .tpl-greet__photo { position: static; max-width: 460px; }
  .tpl-stats__list { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .tpl-stats__list div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-outline__in { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 320px; }
  .tpl-subvis__en { font-size: 12.5px; gap: 10px; }
  .tpl-subvis__title { margin-top: 12px; font-size: 36px; }
  .tpl-subvis__desc { margin-top: 10px; font-size: 16px; padding: 0 10px; }
  .tpl-snb__path { font-size: 14px; }
  .tpl-snb__tabs a { font-size: 15.5px; height: 54px; padding: 0 14px; }
  .tpl-snb__tabs a::after { left: 14px; right: 14px; }
  .tpl-greet__grid { margin-top: 40px; }
  .tpl-greet__body p { font-size: 17px; }
  .tpl-greet__body .tpl-greet__lead { font-size: 19.5px; padding-left: 16px; }
  .tpl-greet__sign b { font-size: 22px; }
  .tpl-stats { padding: 80px 0; }
  .tpl-stats__list div { padding: 0 0 0 18px; }
  .tpl-stats__list dd { font-size: 34px; }
  .tpl-stats__list small { font-size: 15px; }
  .tpl-stats__list p { font-size: 14.5px; }
  .tpl-outline__table th, .tpl-outline__table td { display: block; width: auto; font-size: 16px; }
  .tpl-outline__table th { padding: 18px 0 4px; border-bottom: 0; }
  .tpl-outline__table td { padding: 0 0 18px; }
}

/* =====================================================================
   서브페이지 추가 (2026-11-23) : 메뉴 · 드로어 · 푸터가 가리키는 서브 화면과 게시판 · 회원 · 정책 화면 부품입니다.
   위의 기존 줄은 고치지 않고 아래에만 덧붙였습니다. 모서리는 모두 각지게, 포인트 색은 테라코타 하나만 씁니다.
   ===================================================================== */

/* ---------- 공통 : 좁은 섹션 여백 · 블록 제목 · 표 · 꼬리표 · 분류 · 쪽 번호 ---------- */
.tpl-sec--tight { padding: 110px 0; }
.tpl-blk + .tpl-blk { margin-top: 88px; }
.tpl-blk__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.tpl-blk__tit { display: flex; align-items: baseline; gap: 14px; font-size: 27px; font-weight: 700; line-height: 1.35; letter-spacing: -.03em; color: var(--tpl-head); }
.tpl-blk__tit small { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-terra-t); }
.tpl-blk__note { font-size: 15.5px; color: var(--tpl-mute); }
.tpl-scroll { overflow-x: auto; }
.tpl-dtable { width: 100%; border-top: 2px solid var(--tpl-head); font-size: 16.5px; }
.tpl-dtable th, .tpl-dtable td { padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-dtable thead th { background: var(--tpl-bg2); font-size: 15.5px; font-weight: 600; color: var(--tpl-head); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 600; color: var(--tpl-head); white-space: nowrap; }
.tpl-dtable .is-c { text-align: center; }
.tpl-dtable .is-r { text-align: right; }
.tpl-dtable b { color: var(--tpl-terra-t); font-weight: 700; }
.tpl-chip { display: inline-block; flex: none; padding: 2px 9px; border: 1px solid var(--tpl-line-s); font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--tpl-mute); white-space: nowrap; }
.tpl-chip--on { border-color: var(--tpl-terra-t); color: var(--tpl-terra-t); }
.tpl-chip--fill { border-color: var(--tpl-terra); background: var(--tpl-terra); color: #fff; }
.tpl-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-filter a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--tpl-line-s); font-size: 15.5px; font-weight: 600; color: var(--tpl-text); white-space: nowrap; transition: border-color .25s, color .25s; }
.tpl-filter a:hover { border-color: var(--tpl-head); color: var(--tpl-head); }
.tpl-filter a[aria-current] { border-color: var(--tpl-terra); background: var(--tpl-terra); color: #fff; }
.tpl-pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.tpl-pager a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border: 1px solid var(--tpl-line); font-size: 15px; color: var(--tpl-text); }
.tpl-pager a:hover { border-color: var(--tpl-head); color: var(--tpl-head); }
.tpl-pager a[aria-current] { border-color: var(--tpl-terra); background: var(--tpl-terra); color: #fff; font-weight: 700; }
.tpl-pager .tpl-ico { width: 16px; height: 16px; }
.tpl-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 40px; }
.tpl-btns--center { justify-content: center; }
.tpl-btns--split { justify-content: space-between; }
.tpl-btn--ghost { background: transparent; border-color: var(--tpl-line-s); color: var(--tpl-head); }
.tpl-btn--ghost:hover { background: transparent; border-color: var(--tpl-head); }

/* ---------- 경영이념 : 큰 문장 · 가치 4줄 · 사진 + 행동 기준 ---------- */
.tpl-mission { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 80px; align-items: start; }
.tpl-mission__txt { padding-left: 34px; border-left: 4px solid var(--tpl-terra); font-size: 38px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-head); }
.tpl-mission__txt + p { margin-top: 28px; padding-left: 38px; font-size: 18px; }
.tpl-value { border-top: 2px solid var(--tpl-head); }
.tpl-value li { display: grid; grid-template-columns: 110px 260px 1fr; gap: 32px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-value span { font-size: 40px; font-weight: 700; line-height: 1; color: var(--tpl-terra-t); }
.tpl-value b { font-size: 24px; font-weight: 700; color: var(--tpl-head); }
.tpl-value b small { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-mute); }
.tpl-value p { font-size: 17.5px; }
.tpl-rule { display: grid; grid-template-columns: 6fr 6fr; gap: 72px; align-items: center; }
.tpl-rule__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.tpl-rule__list { counter-reset: rule; margin-top: 30px; border-top: 1px solid var(--tpl-line-s); }
.tpl-rule__list li { counter-increment: rule; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; }
.tpl-rule__list li::before { content: counter(rule, decimal-leading-zero); font-weight: 700; color: var(--tpl-terra-t); }

/* ---------- 연혁 : 시기 묶음(왼쪽 연대 따라 내려옴) · 오른쪽 해마다 한 일 ---------- */
.tpl-era { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; padding: 72px 0; border-top: 1px solid var(--tpl-line-s); }
.tpl-era:first-of-type { padding-top: 0; border-top: 0; }
.tpl-era__side { position: sticky; top: calc(var(--tpl-hd-h) + 40px); align-self: start; }
.tpl-era__side .tpl-era__yr { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--tpl-head); }
.tpl-era__yr span { color: var(--tpl-terra-t); }
.tpl-era__side .tpl-era__name { margin-top: 16px; font-size: 19px; font-weight: 600; color: var(--tpl-head); }
.tpl-era__side p { margin-top: 8px; font-size: 16px; color: var(--tpl-mute); }
.tpl-era__list > li { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-era__list > li:first-child { padding-top: 4px; }
.tpl-era__list strong { font-size: 22px; font-weight: 700; color: var(--tpl-terra-t); }
.tpl-era__list ul li { position: relative; padding-left: 16px; font-size: 17px; }
.tpl-era__list ul li + li { margin-top: 6px; }
.tpl-era__list ul li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: var(--tpl-mute); }

/* ---------- 조직도 : 대표 → 지원 조직 → 4본부 → 팀 ---------- */
.tpl-org { text-align: center; }
.tpl-org__box { display: inline-grid; place-items: center; min-width: 210px; padding: 16px 28px; border: 1px solid var(--tpl-line-s); background: var(--tpl-bg2); font-size: 17px; font-weight: 700; color: var(--tpl-head); }
.tpl-org__box small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--tpl-mute); }
.tpl-org__box--top { border-color: var(--tpl-terra); background: var(--tpl-terra); color: #fff; }
.tpl-org__box--top small { color: rgba(255, 255, 255, .82); }
.tpl-org__stem { width: 1px; height: 36px; margin: 0 auto; background: var(--tpl-line-s); }
.tpl-org__side { position: relative; display: flex; justify-content: center; gap: 220px; }
.tpl-org__side::before { content: ''; position: absolute; left: 50%; top: -36px; bottom: -36px; width: 1px; background: var(--tpl-line-s); }
.tpl-org__side .tpl-org__box { position: relative; z-index: 1; min-width: 190px; background: var(--tpl-bg0); font-weight: 600; }
.tpl-org__divs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 72px; padding-top: 36px; }
.tpl-org__divs::before { content: ''; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 1px; background: var(--tpl-line-s); }
.tpl-org__divs > li { position: relative; }
.tpl-org__divs > li::before { content: ''; position: absolute; left: 50%; top: -36px; width: 1px; height: 36px; background: var(--tpl-line-s); }
.tpl-org__divs .tpl-org__box { display: grid; width: 100%; min-width: 0; border-top: 3px solid var(--tpl-terra-t); }
.tpl-org__divs ul { margin-top: 12px; border: 1px solid var(--tpl-line); }
.tpl-org__divs ul li { padding: 11px 10px; font-size: 16px; }
.tpl-org__divs ul li + li { border-top: 1px solid var(--tpl-line); }

/* ---------- 인증 · 특허 : 종이 모양 인증서 카드 ---------- */
.tpl-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tpl-certs li { display: flex; flex-direction: column; }
.tpl-certs__paper { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 14px; background: #e9e3db; color: #2a2522; }
.tpl-certs__paper > div { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 22px 18px; border: 1px solid #b9ada0; text-align: center; }
.tpl-certs__paper span { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; color: #6b5f55; }
.tpl-certs__paper strong { font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.tpl-certs__paper em { font-style: normal; font-size: 14px; color: #5a4f46; }
.tpl-certs__paper i { display: block; width: 46px; height: 46px; margin: 0 auto; border: 2px solid #a5492a; border-radius: 50%; }
.tpl-certs b { margin-top: 18px; font-size: 18px; font-weight: 700; color: var(--tpl-head); }
.tpl-certs p { margin-top: 4px; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 오시는 길 : 카카오 지도(왼쪽 검색 창 가림) · 거점 · 교통 ---------- */
.tpl-kmap { position: relative; height: 540px; overflow: hidden; background: var(--tpl-bg2); }
.tpl-kmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); height: 100%; border: 0; max-width: none; }
.tpl-kmap__link { position: absolute; right: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; background: var(--tpl-bg0); font-size: 15px; font-weight: 600; color: var(--tpl-head); }
.tpl-kmap__link .tpl-ico { width: 16px; height: 16px; }
.tpl-kmap__link:hover { background: var(--tpl-terra); color: #fff; }
.tpl-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--tpl-head); }
.tpl-places > div { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-places > div + div { padding-left: 32px; border-left: 1px solid var(--tpl-line); }
.tpl-places h4 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; color: var(--tpl-head); }
.tpl-places h4 .tpl-ico { width: 18px; height: 18px; color: var(--tpl-terra-t); }
.tpl-places p { margin-top: 10px; font-size: 16.5px; }
.tpl-places p a:hover { color: var(--tpl-head); }
.tpl-way li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-way li:first-child { border-top: 1px solid var(--tpl-line-s); }
.tpl-way b { font-size: 18px; font-weight: 700; color: var(--tpl-head); }
.tpl-way p + p { margin-top: 4px; }

/* ---------- 사업영역 4장 같은 틀 : 개요(사진 + 글 + 숫자) · 업무 목록 · 단계 · 문의 상자 ---------- */
.tpl-svc { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.tpl-svc__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-svc__lead { font-size: 23px; font-weight: 600; line-height: 1.6; color: var(--tpl-head); }
.tpl-svc__txt { margin-top: 22px; font-size: 17.5px; }
.tpl-svc__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--tpl-line-s); }
.tpl-svc__nums div { padding: 22px 0 0; }
.tpl-svc__nums div + div { padding-left: 24px; border-left: 1px solid var(--tpl-line); }
.tpl-svc__nums dt { font-size: 15px; color: var(--tpl-mute); }
.tpl-svc__nums dd { margin-top: 6px; font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--tpl-head); }
.tpl-svc__nums small { margin-left: 3px; font-size: 16px; font-weight: 500; color: var(--tpl-terra-t); }
.tpl-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 2px solid var(--tpl-head); }
.tpl-work li { display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; padding: 30px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-work span { grid-row: span 2; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-terra-t); }
.tpl-work b { font-size: 20px; font-weight: 700; color: var(--tpl-head); }
.tpl-work p { font-size: 16.5px; }
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: flow; }
.tpl-flow li { counter-increment: flow; position: relative; padding: 30px 28px 32px; border: 1px solid var(--tpl-line-s); }
.tpl-flow li + li { border-left: 0; }
.tpl-flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-size: 34px; font-weight: 700; line-height: 1; color: var(--tpl-terra-t); }
.tpl-flow b { display: block; margin-top: 22px; font-size: 19px; font-weight: 700; color: var(--tpl-head); }
.tpl-flow p { margin-top: 8px; font-size: 16px; }
.tpl-ask { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 44px 48px; border: 1px solid var(--tpl-line-s); border-left: 4px solid var(--tpl-terra); }
.tpl-ask h4 { font-size: 25px; font-weight: 700; color: var(--tpl-head); }
.tpl-ask p { margin-top: 6px; font-size: 16.5px; }
.tpl-ask__act { display: flex; align-items: center; gap: 28px; }
.tpl-ask__tel { font-size: 30px; font-weight: 700; color: var(--tpl-head); white-space: nowrap; }
.tpl-ask__tel:hover { color: var(--tpl-terra-t); }

/* ---------- 제품 · 사례 카드, 시공 실적 줄 목록 ---------- */
.tpl-listtop { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; }
.tpl-listtop__count { font-size: 15.5px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-listtop__count b { color: var(--tpl-head); }
.tpl-prod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.tpl-prod a { display: block; }
.tpl-prod__img { display: block; overflow: hidden; background: var(--tpl-bg2); }
.tpl-prod__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-prod a:hover .tpl-prod__img img { transform: scale(1.04); }
.tpl-prod__cat { display: block; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--tpl-terra-t); }
.tpl-prod strong { display: block; margin-top: 6px; font-size: 21px; font-weight: 700; color: var(--tpl-head); }
.tpl-prod dl { margin-top: 14px; border-top: 1px solid var(--tpl-line); }
.tpl-prod dl div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15px; }
.tpl-prod dt { color: var(--tpl-mute); }
.tpl-proj { border-top: 2px solid var(--tpl-head); }
.tpl-proj a { display: grid; grid-template-columns: 200px 90px 1fr 220px 40px; gap: 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-proj__img { overflow: hidden; }
.tpl-proj__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-proj a:hover .tpl-proj__img img { transform: scale(1.05); }
.tpl-proj__yr { font-size: 22px; font-weight: 700; color: var(--tpl-terra-t); }
.tpl-proj strong { display: block; font-size: 20px; font-weight: 700; color: var(--tpl-head); }
.tpl-proj__body p { margin-top: 6px; font-size: 16px; }
.tpl-proj__meta { font-size: 15px; color: var(--tpl-mute); }
.tpl-proj__meta span { display: block; }
.tpl-proj .tpl-ico { color: var(--tpl-mute); transition: transform .35s var(--tpl-ease), color .25s; }
.tpl-proj a:hover .tpl-ico { color: var(--tpl-terra-t); transform: translateX(4px); }
.tpl-case { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.tpl-case a { display: grid; grid-template-columns: 1fr; }
.tpl-case__img { overflow: hidden; }
.tpl-case__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-case a:hover .tpl-case__img img { transform: scale(1.04); }
.tpl-case__body { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding-top: 22px; }
.tpl-case__body strong { font-size: 22px; font-weight: 700; color: var(--tpl-head); }
.tpl-case__body time { font-size: 15px; color: var(--tpl-mute); }
.tpl-case__body p { grid-column: 1 / -1; font-size: 16.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-case__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- 사례 · 갤러리 보기 ---------- */
.tpl-wview { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.tpl-wview__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tpl-wview__subs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.tpl-wview__subs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tpl-wview__body p + p { margin-top: 18px; }
.tpl-wview .tpl-dtable { margin-bottom: 36px; }
.tpl-wview .tpl-dtable th { width: 120px; }

/* ---------- 게시판 : 상단 줄(글 수 · 검색) · 목록 · 보기 · 쓰기 ---------- */
.tpl-bbs-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.tpl-search { display: flex; gap: 6px; }
.tpl-search select, .tpl-search input { height: 46px; padding: 0 14px; border: 1px solid var(--tpl-line-s); background: var(--tpl-bg2); color: var(--tpl-head); font: inherit; font-size: 15.5px; }
.tpl-search input { width: 240px; }
.tpl-search button { height: 46px; padding: 0 22px; background: var(--tpl-terra); color: #fff; font-size: 15.5px; font-weight: 600; }
.tpl-search button:hover { background: var(--tpl-terra-d); }
.tpl-bbs { width: 100%; border-top: 2px solid var(--tpl-head); font-size: 16.5px; }
.tpl-bbs th, .tpl-bbs td { padding: 18px 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; white-space: nowrap; }
.tpl-bbs thead th { font-size: 15.5px; font-weight: 600; color: var(--tpl-head); }
.tpl-bbs td { color: var(--tpl-mute); font-size: 15.5px; }
.tpl-bbs .tpl-bbs__tit { width: 100%; text-align: left; white-space: normal; }
.tpl-bbs__tit a { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; color: var(--tpl-head); font-size: 17px; }
.tpl-bbs__tit a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-bbs__tit a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.tpl-bbs__tit small { flex: none; font-size: 13px; color: var(--tpl-terra-t); }
.tpl-bbs tr.is-notice { background: var(--tpl-bg1); }
.tpl-bbs tr.is-reply .tpl-bbs__tit a { padding-left: 26px; color: var(--tpl-text); }
.tpl-bbs tr.is-reply .tpl-bbs__tit a::before { content: '답변'; flex: none; padding: 0 7px; border: 1px solid var(--tpl-terra-t); font-size: 12.5px; color: var(--tpl-terra-t); }
.tpl-bbs .tpl-dl { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--tpl-line-s); color: var(--tpl-head); }
.tpl-bbs .tpl-dl:hover { border-color: var(--tpl-terra); background: var(--tpl-terra); }
.tpl-bbs .tpl-dl .tpl-ico { width: 17px; height: 17px; }
.tpl-view__head { padding: 0 0 28px; border-bottom: 1px solid var(--tpl-line-s); }
.tpl-view__head h3 { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: var(--tpl-head); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-view__meta b { margin-right: 8px; font-weight: 600; color: var(--tpl-text); }
.tpl-view__body { padding: 48px 0 56px; border-bottom: 1px solid var(--tpl-line); font-size: 17.5px; }
.tpl-view__body p + p, .tpl-view__body p + ul, .tpl-view__body ul + p, .tpl-view__body figure + p { margin-top: 20px; }
.tpl-view__body ul { padding-left: 4px; }
.tpl-view__body ul li { position: relative; padding-left: 16px; }
.tpl-view__body ul li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: var(--tpl-terra-t); }
.tpl-view__body figure { margin-top: 32px; }
.tpl-view__body figure img { width: 100%; max-height: 640px; object-fit: cover; }
.tpl-view__body h4 { margin-top: 32px; margin-bottom: 10px; font-size: 20px; font-weight: 700; color: var(--tpl-head); }
.tpl-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15.5px; }
.tpl-attach strong { font-weight: 600; color: var(--tpl-head); }
.tpl-attach a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-text); }
.tpl-attach a:hover { color: var(--tpl-terra-t); }
.tpl-attach .tpl-ico { width: 16px; height: 16px; }
.tpl-answer { margin-top: 40px; padding: 36px 40px; background: var(--tpl-bg1); border-top: 3px solid var(--tpl-terra); }
.tpl-answer h4 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--tpl-head); }
.tpl-answer p { margin-top: 14px; font-size: 17px; }
.tpl-answer small { display: block; margin-top: 18px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-prevnext { margin-top: 40px; border-top: 1px solid var(--tpl-line-s); }
.tpl-prevnext li a { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-prevnext li b { font-weight: 600; color: var(--tpl-mute); }
.tpl-prevnext li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tpl-head); }
.tpl-prevnext li time { font-size: 15px; color: var(--tpl-mute); }
.tpl-prevnext li a:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 입력 화면(쓰기 · 문의 · 회원가입) ---------- */
.tpl-form { border-top: 2px solid var(--tpl-head); }
.tpl-form__row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-form__row--top { align-items: start; }
.tpl-form__row--top > label, .tpl-form__row--top > .tpl-form__lab { padding-top: 14px; }
.tpl-form__lab, .tpl-form__row > label { font-size: 16.5px; font-weight: 600; color: var(--tpl-head); }
.tpl-form__lab em, .tpl-form__row > label em { margin-left: 4px; font-style: normal; color: var(--tpl-terra-t); }
.tpl-input, .tpl-form select, .tpl-form textarea { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--tpl-line-s); background: var(--tpl-bg2); color: var(--tpl-head); font: inherit; font-size: 16.5px; }
.tpl-form textarea { height: 220px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.tpl-input:focus, .tpl-form select:focus, .tpl-form textarea:focus { border-color: var(--tpl-terra-t); outline: none; }
.tpl-input::placeholder, .tpl-form textarea::placeholder { color: #8d847b; }
.tpl-form input[type="file"] { width: 100%; padding: 12px 0; font-size: 15.5px; color: var(--tpl-text); }
.tpl-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tpl-form__line { display: flex; gap: 10px; }
.tpl-form__line .tpl-input { flex: 1; }
.tpl-form__line button { flex: none; height: 54px; padding: 0 20px; border: 1px solid var(--tpl-line-s); font-size: 15.5px; font-weight: 600; color: var(--tpl-head); }
.tpl-form__line button:hover { border-color: var(--tpl-head); }
.tpl-form__help { margin-top: 8px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-checks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.tpl-check { display: inline-flex; align-items: center; gap: 9px; font-size: 16.5px; cursor: pointer; }
.tpl-check input { width: 20px; height: 20px; accent-color: var(--tpl-terra); }
.tpl-agree { margin-top: 36px; padding: 28px 30px; border: 1px solid var(--tpl-line); background: var(--tpl-bg1); }
.tpl-agree__txt { max-height: 150px; margin: 14px 0 16px; padding: 16px 18px; overflow-y: auto; border: 1px solid var(--tpl-line); background: var(--tpl-bg0); font-size: 15px; line-height: 1.8; }
.tpl-agree h4 { font-size: 18px; font-weight: 700; color: var(--tpl-head); }
.tpl-agree + .tpl-agree { margin-top: 16px; }
.tpl-captcha { display: flex; align-items: center; gap: 10px; }
.tpl-captcha span { display: grid; place-items: center; width: 140px; height: 54px; background: #e9e3db; color: #2a2522; font-size: 24px; font-weight: 700; letter-spacing: .3em; }
.tpl-captcha .tpl-input { max-width: 220px; }
.tpl-callbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border: 1px solid var(--tpl-line-s); }
.tpl-callbar > div { display: flex; align-items: center; gap: 16px; padding: 26px 30px; }
.tpl-callbar > div + div { border-left: 1px solid var(--tpl-line); }
.tpl-callbar .tpl-ico { width: 26px; height: 26px; color: var(--tpl-terra-t); }
.tpl-callbar small { display: block; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-callbar strong { font-size: 20px; font-weight: 700; color: var(--tpl-head); }

/* ---------- 자주 묻는 질문(details · summary, 스크립트 없음) ---------- */
.tpl-qa { border-top: 2px solid var(--tpl-head); }
.tpl-qa details { border-bottom: 1px solid var(--tpl-line); }
.tpl-qa summary { display: grid; grid-template-columns: 40px 110px 1fr 24px; gap: 16px; align-items: center; padding: 24px 4px; cursor: pointer; list-style: none; }
.tpl-qa summary::-webkit-details-marker { display: none; }
.tpl-qa summary::before { content: 'Q'; font-size: 22px; font-weight: 700; color: var(--tpl-terra-t); }
.tpl-qa summary b { font-size: 18px; font-weight: 600; color: var(--tpl-head); }
.tpl-qa summary .tpl-ico { transition: transform .35s var(--tpl-ease); color: var(--tpl-mute); }
.tpl-qa details[open] summary .tpl-ico { transform: rotate(180deg); color: var(--tpl-terra-t); }
.tpl-qa details > div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 4px 4px 28px; }
.tpl-qa details > div::before { content: 'A'; font-size: 22px; font-weight: 700; color: var(--tpl-mute); }
.tpl-qa details > div p { padding: 22px 26px; background: var(--tpl-bg1); font-size: 17px; }

/* ---------- 갤러리 게시판 : 4칸 카드, 제목 아래 내용 두 줄 말줄임 ---------- */
.tpl-galist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.tpl-galist a { display: block; }
.tpl-galist__img { display: block; overflow: hidden; }
.tpl-galist__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-galist a:hover .tpl-galist__img img { transform: scale(1.05); }
.tpl-galist .tpl-chip { margin-top: 18px; }
.tpl-galist strong { display: block; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18.5px; font-weight: 700; color: var(--tpl-head); }
.tpl-galist p { margin-top: 6px; font-size: 15.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-galist time { display: block; margin-top: 10px; font-size: 14px; color: var(--tpl-mute); }

/* ---------- 회원 : 로그인 상자(좁게) · 단계 · 가입 완료 · 계정 찾기 ---------- */
.tpl-mbox { max-width: 480px; margin: 0 auto; }
.tpl-mbox h3 { font-size: 30px; font-weight: 700; color: var(--tpl-head); text-align: center; }
.tpl-mbox > p { margin-top: 10px; font-size: 16px; color: var(--tpl-mute); text-align: center; }
.tpl-mbox form { margin-top: 36px; }
.tpl-mbox .tpl-input + .tpl-input { margin-top: 10px; }
.tpl-mbox__opt { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 26px; font-size: 15.5px; }
.tpl-mbox__opt a:hover { color: var(--tpl-head); text-decoration: underline; text-underline-offset: 4px; }
.tpl-mbox .tpl-btn { width: 100%; justify-content: center; }
.tpl-mbox__join { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--tpl-line); text-align: center; font-size: 16px; }
.tpl-mbox__join a { margin-left: 10px; font-weight: 700; color: var(--tpl-terra-t); }
.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 { display: flex; align-items: center; gap: 12px; padding: 0 0 20px; font-size: 17px; font-weight: 600; color: var(--tpl-mute); }
.tpl-steps li span { font-size: 14px; letter-spacing: .1em; }
.tpl-steps li[aria-current] { margin-bottom: -1px; border-bottom: 3px solid var(--tpl-terra-t); color: var(--tpl-head); }
.tpl-steps li[aria-current] span { color: var(--tpl-terra-t); }
.tpl-done { padding: 72px 40px; border: 1px solid var(--tpl-line-s); text-align: center; }
.tpl-done__mark { display: block; width: 64px; height: 64px; margin: 0 auto 28px; border: 3px solid var(--tpl-terra-t); position: relative; }
.tpl-done__mark::after { content: ''; position: absolute; left: 20px; top: 12px; width: 14px; height: 26px; border-right: 3px solid var(--tpl-terra-t); border-bottom: 3px solid var(--tpl-terra-t); transform: rotate(45deg); }
.tpl-done h3 { font-size: 32px; font-weight: 700; color: var(--tpl-head); }
.tpl-done p { margin-top: 14px; font-size: 17.5px; }
.tpl-done dl { display: inline-grid; grid-template-columns: auto auto; gap: 8px 28px; margin-top: 32px; padding: 22px 32px; background: var(--tpl-bg1); text-align: left; font-size: 16px; }
.tpl-done dt { color: var(--tpl-mute); }
.tpl-done dd { color: var(--tpl-head); font-weight: 600; }
.tpl-find + .tpl-find { margin-top: 72px; }
.tpl-find__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.tpl-find__head h3 { font-size: 26px; font-weight: 700; color: var(--tpl-head); }
.tpl-find__head p { font-size: 15.5px; color: var(--tpl-mute); }

/* ---------- 정책 화면 : 시행일 · 목차 · 조항 ---------- */
.tpl-policy__date { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 28px; background: var(--tpl-bg1); font-size: 16px; }
.tpl-policy__date b { color: var(--tpl-head); }
.tpl-policy__toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 32px; margin-top: 32px; padding: 26px 28px; border: 1px solid var(--tpl-line); font-size: 15.5px; }
.tpl-policy__toc a:hover { color: var(--tpl-head); text-decoration: underline; text-underline-offset: 4px; }
.tpl-policy__body section { padding: 40px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-policy__body h4 { font-size: 21px; font-weight: 700; color: var(--tpl-head); scroll-margin-top: calc(var(--tpl-hd-h) + 20px); }
.tpl-policy__body p { margin-top: 12px; font-size: 17px; }
.tpl-policy__body ol { margin-top: 12px; counter-reset: pol; }
.tpl-policy__body ol li { counter-increment: pol; position: relative; padding-left: 28px; font-size: 17px; }
.tpl-policy__body ol li + li { margin-top: 6px; }
.tpl-policy__body ol li::before { content: counter(pol) '.'; position: absolute; left: 0; color: var(--tpl-terra-t); font-weight: 600; }
.tpl-policy__body .tpl-dtable { margin-top: 16px; }
.tpl-policy__body .tpl-dtable th, .tpl-policy__body .tpl-dtable td { font-size: 15.5px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-proj a { grid-template-columns: 170px 70px 1fr 190px 30px; gap: 24px; }
  .tpl-org__side { gap: 160px; }
  .tpl-rule .tpl-head__ko { font-size: 34px; }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-flow li:nth-child(3) { border-left: 1px solid var(--tpl-line-s); }
  .tpl-flow li:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 1024px) {
  .tpl-sec--tight { padding: 90px 0; }
  .tpl-mission, .tpl-rule, .tpl-svc, .tpl-wview { grid-template-columns: 1fr; gap: 44px; }
  .tpl-mission__txt { font-size: 32px; }
  .tpl-value li { grid-template-columns: 80px 200px 1fr; gap: 24px; }
  .tpl-era { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .tpl-era__side { position: static; }
  .tpl-org__divs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tpl-org__divs::before, .tpl-org__divs > li::before { display: none; }
  .tpl-certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-places { grid-template-columns: 1fr; }
  .tpl-places > div, .tpl-places > div + div { padding: 24px 0; border-left: 0; }
  .tpl-svc__img img { aspect-ratio: 16 / 10; }
  .tpl-ask { flex-direction: column; align-items: flex-start; }
  .tpl-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-proj a { grid-template-columns: 160px 1fr 30px; gap: 8px 24px; }
  .tpl-proj__img { grid-row: span 3; }
  .tpl-proj__yr { font-size: 18px; }
  .tpl-proj__meta span { display: inline; margin-right: 12px; }
  .tpl-proj .tpl-ico { grid-column: 3; grid-row: 1 / span 3; }
  .tpl-galist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-callbar { grid-template-columns: 1fr; }
  .tpl-callbar > div + div { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-policy__toc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .tpl-sec--tight { padding: 70px 0; }
  .tpl-blk + .tpl-blk { margin-top: 64px; }
  .tpl-blk__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tpl-blk__tit { font-size: 22px; flex-wrap: wrap; gap: 4px 10px; }
  .tpl-dtable { min-width: 620px; font-size: 15.5px; }
  .tpl-dtable--fit { min-width: 0; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 12px; }
  .tpl-mission__txt { padding-left: 20px; font-size: 25px; }
  .tpl-mission__txt + p { padding-left: 24px; font-size: 16.5px; }
  .tpl-value li { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .tpl-value span { font-size: 28px; }
  .tpl-era__side .tpl-era__yr { font-size: 44px; }
  .tpl-era__list > li { grid-template-columns: 64px 1fr; gap: 14px; }
  .tpl-era__list strong { font-size: 18px; }
  .tpl-era__list ul li { font-size: 16px; }
  .tpl-org__box { min-width: 0; width: 100%; }
  .tpl-org__side { flex-direction: column; gap: 10px; }
  .tpl-org__side::before { display: none; }
  .tpl-org__divs { grid-template-columns: 1fr; margin-top: 36px; padding-top: 0; }
  .tpl-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .tpl-certs__paper { padding: 8px; }
  .tpl-certs__paper > div { padding: 14px 8px; }
  .tpl-certs__paper strong { font-size: 18px; }
  .tpl-certs__paper span, .tpl-certs__paper em { font-size: 11.5px; letter-spacing: .04em; }
  .tpl-certs__paper i { width: 30px; height: 30px; }
  .tpl-certs b { font-size: 16px; }
  .tpl-kmap { height: 460px; }
  .tpl-way li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .tpl-svc__lead { font-size: 19.5px; }
  .tpl-svc__nums dd { font-size: 26px; }
  .tpl-svc__nums div + div { padding-left: 14px; }
  .tpl-work { grid-template-columns: 1fr; }
  .tpl-work li { padding: 22px 0; grid-template-columns: 40px 1fr; }
  .tpl-work b { font-size: 18px; }
  .tpl-flow { grid-template-columns: 1fr; }
  .tpl-flow li + li, .tpl-flow li:nth-child(3) { border-left: 1px solid var(--tpl-line-s); border-top: 0; }
  .tpl-ask { padding: 30px 24px; }
  .tpl-ask h4 { font-size: 21px; }
  .tpl-ask__act { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tpl-ask__tel { font-size: 26px; }
  .tpl-listtop, .tpl-bbs-top { flex-direction: column; align-items: stretch; }
  .tpl-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--tpl-side) * -1); padding-right: var(--tpl-side); }
  .tpl-filter::-webkit-scrollbar { display: none; }
  .tpl-filter a { height: 40px; padding: 0 16px; font-size: 15px; }
  .tpl-prod { grid-template-columns: 1fr; gap: 40px; }
  .tpl-proj a { grid-template-columns: 1fr; gap: 8px; padding: 22px 0 26px; }
  .tpl-proj__img { grid-row: auto; margin-bottom: 8px; }
  .tpl-proj .tpl-ico { display: none; }
  .tpl-proj strong { font-size: 18.5px; }
  .tpl-case { grid-template-columns: 1fr; gap: 44px; }
  .tpl-case__body strong { font-size: 19px; }
  .tpl-search { width: 100%; }
  .tpl-search select { flex: none; width: 96px; padding: 0 8px; }
  .tpl-search input { flex: 1; width: auto; min-width: 0; }
  .tpl-bbs { font-size: 15.5px; }
  .tpl-bbs thead { display: none; }
  .tpl-bbs tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 2px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-bbs td { padding: 0; border: 0; text-align: left; font-size: 14px; }
  .tpl-bbs .tpl-bbs__tit { grid-column: 1 / -1; }
  .tpl-bbs .tpl-m-hide { display: none; }
  .tpl-bbs__tit a { font-size: 16.5px; }
  .tpl-view__head h3 { font-size: 23px; }
  .tpl-view__meta { gap: 4px 18px; font-size: 14px; }
  .tpl-view__body { padding: 32px 0 40px; font-size: 16.5px; }
  .tpl-answer { padding: 26px 20px; }
  .tpl-prevnext li a { grid-template-columns: 64px 1fr; gap: 12px; }
  .tpl-prevnext li time { display: none; }
  .tpl-form__row { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .tpl-form__row--top > label, .tpl-form__row--top > .tpl-form__lab { padding-top: 0; }
  .tpl-form__pair { grid-template-columns: 1fr; }
  .tpl-form__line button { padding: 0 14px; font-size: 14.5px; }
  .tpl-agree { padding: 22px 18px; }
  .tpl-captcha { flex-wrap: wrap; }
  .tpl-captcha span { width: 120px; }
  .tpl-captcha .tpl-input { max-width: none; flex: 1; min-width: 140px; }
  .tpl-callbar > div { padding: 20px; }
  .tpl-qa summary { grid-template-columns: 28px 1fr 20px; gap: 6px 12px; padding: 20px 2px; }
  .tpl-qa summary .tpl-chip { grid-column: 2; grid-row: 1; justify-self: start; }
  .tpl-qa summary b { grid-column: 2; font-size: 16.5px; }
  .tpl-qa summary .tpl-ico { grid-column: 3; grid-row: 1 / span 2; }
  .tpl-qa details > div { grid-template-columns: 28px 1fr; gap: 12px; }
  .tpl-qa details > div p { padding: 18px; font-size: 16px; }
  .tpl-galist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
  .tpl-galist strong { font-size: 16.5px; }
  .tpl-galist p { font-size: 14.5px; }
  .tpl-mbox h3 { font-size: 25px; }
  .tpl-steps li { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; }
  .tpl-done { padding: 52px 20px; }
  .tpl-done h3 { font-size: 24px; }
  .tpl-done dl { padding: 18px 20px; gap: 6px 16px; }
  .tpl-find__head { flex-direction: column; gap: 4px; }
  .tpl-find__head h3 { font-size: 22px; }
  .tpl-policy__date { padding: 18px 20px; flex-direction: column; gap: 4px; }
  .tpl-policy__toc { grid-template-columns: 1fr; padding: 20px; }
  .tpl-policy__body section { padding: 30px 0; }
  .tpl-policy__body h4 { font-size: 19px; }
  .tpl-policy__body p, .tpl-policy__body ol li { font-size: 16px; }
}

[hidden] { display: none !important; }

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz060) · 퀵메뉴 · 팝업 · 지도 · 문의 띠 고정 배경입니다.
   위의 원본 CSS 는 고치지 않았습니다. 색 · 글꼴은 원본 common.css 의 토큰(먹색 · 짙은 회색 · 테라코타)을 씁니다.
   「맨 위로」 단추는 원본 .tpl-totop(테라코타 정사각, 오른쪽 아래)을 그대로 씁니다(「쓴 조합」 biz060 맨 위로 「정사각 · 대표색 칠 · 따로」).
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 CI 색 그대로이고, 글자는 원본 로고처럼 머리글 글자색(currentColor, 밝은 글자)을 따릅니다.
   머리글 · 드로어 · 푸터가 모두 어두운 바탕이라, 콘솔에 로고 두 장을 올리셨으면 어디서나 어두운 바탕용을 보여 줍니다 ---------- */
.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; }
.logo-img:not(.logo-img--dark):has(+ .logo-img--dark) { display: none; }
.tpl-drawer__head .logo-svg { height: 26px; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 메인 비주얼 유튜브 배경 : 원본 reset.css 의 iframe{max-width:100%} 때문에 좁은 화면(390px)에서 영상이 비주얼을 다 덮지 못합니다.
   원본 크기 계산(max(100%, 160vh) · max(100%, 56.25vw))이 그대로 먹게 max-width 를 풉니다 ---------- */
.tpl-vis__yt iframe { max-width: none; }

/* ---------- 문의 띠 : 가로 100% 사진 띠라 PC 에서만 고정 배경입니다(지침 3-4, 홈페이지 템플릿 CLAUDE.md 5절). 원본 사진(img.tpl-cta__bg)은 두고, PC 에서만 그 위에 같은 사진을 고정 배경으로 건 별도 요소(.tpl-cta__fix)를 보입니다 ---------- */
.tpl-cta__fix { position: absolute; inset: 0; display: none; background-position: 50% 50%; background-size: cover; }
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-cta__fix { background-attachment: fixed; }
  .tpl-cta .tpl-cta__fix { display: block; }
}

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

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

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bbs__empty td { padding: 64px 0 !important; text-align: center !important; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-empty { padding: 64px 0; border-top: 2px solid var(--tpl-head); border-bottom: 1px solid var(--tpl-line); text-align: center; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-view__body img { max-width: 100%; height: auto; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-answer__edit { margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--tpl-mute); text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-head); }
.tpl-cmt__tit b { color: var(--tpl-terra-t); }
.tpl-cmt__list { margin-top: 12px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-head); }
.tpl-cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.tpl-cmt__form textarea { width: 100%; height: 120px; padding: 14px 16px; border: 1px solid var(--tpl-line-s); background: var(--tpl-bg2); color: var(--tpl-head); font: inherit; font-size: 16.5px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
.tpl-qa details > div .tpl-qa__a > * + * { margin-top: 10px; }
.tpl-qa__a { padding: 22px 26px; background: var(--tpl-bg1); font-size: 17px; }
.tpl-qa__a a { color: var(--tpl-terra-t); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) { .tpl-qa__a { padding: 18px; font-size: 16px; } }
.tpl-bbs__admin { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-bbs__chk { width: 18px; height: 18px; accent-color: var(--tpl-terra); }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.mb-addr { display: grid; gap: 10px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-addr__zip .tpl-input { width: min(100%, 180px); }
.mb-addr .tpl-btn, .mb-cert .tpl-btn { height: 54px; }
.mb-textarea { width: 100%; height: 120px; padding: 14px 16px; border: 1px solid var(--tpl-line-s); background: var(--tpl-bg2); color: var(--tpl-head); font: inherit; font-size: 16.5px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { padding: 0; border: 0; background: none; font: 500 14.5px var(--tpl-font); color: var(--tpl-terra-t); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; width: 100%; margin-top: 10px; padding-left: 26px; }
.mb-file-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mb-file-now img { max-width: 120px; height: auto; }
.mb-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-input[readonly] { background: var(--tpl-bg1); color: var(--tpl-mute); }

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz060(가 8 · 나 7 · 다 3 · 라 7 · 마 4, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 8 : 1차에 올리면 그 글자가 굵어지고(600 → 700) 나머지 1차는 옅어집니다. 굵어져도 칸 폭이 흔들리지 않게 data-text 로 굵은 글자 폭을 미리 잡습니다.
          원본의 글자 밑 선은 라 7 의 「먼저 그어지는 선」 으로만 씁니다. 서브페이지 현재 메뉴는 원본처럼 굵은 글자 + 선이고, 다른 1차에 올리면 거둡니다(표시는 늘 하나).
   나 7 : 원본의 전체 메가(1차마다 2차 열)를 그대로 두고, 패널 왼쪽(로고 아래, 1차 메뉴 앞까지)에 대표 사진 · 문구 칸(.tpl-mega__aside, 내용은 defaults.php 의 mega)을 더했습니다. 폭은 js/main.js 가 잽니다.
   다 3 : 패널은 테라코타의 짙은 면(#2a1b15)이고 위아래 테라코타 가는 선입니다. 2차 열 배경색 · 열 hover 배경은 없습니다.
   라 7 : 올린 1차 아래 선이 먼저 그어지고(0.25초, js 의 is-mega-line) 그다음 패널이 열립니다. 패널(clip-path)과 2차 열(clip-path)은 같은 시간 · 같은 곡선이라 패널 밖 글자가 없습니다.
   마 4 : 2차에 올리면 글자 앞에 테라코타 작은 사각 점이 생기고 글자가 밝아집니다(원본의 밑줄은 쓰지 않습니다). ---------- */
.tpl-gnb__link { flex-direction: column; justify-content: center; transition: opacity .3s; }
.tpl-gnb__link::before { content: attr(data-text); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; pointer-events: none; }
.tpl-gnb__item:hover .tpl-gnb__link, .tpl-gnb__link:focus-visible, .tpl-gnb__link[aria-current] { font-weight: 700; }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link { opacity: .45; font-weight: 600; }
.tpl-gnb__link::after { height: 2px; transform-origin: 0 50%; transform: scaleX(0); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after { transform: scaleX(0); }
.is-mega-line .tpl-gnb__item:hover .tpl-gnb__link::after, .is-mega-line .tpl-gnb__item:focus-within .tpl-gnb__link::after,
.is-mega-open .tpl-gnb__item:hover .tpl-gnb__link::after, .is-mega-open .tpl-gnb__item:focus-within .tpl-gnb__link::after { transform: scaleX(1); }
.tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-mega__bg { background: #2a1b15; box-shadow: inset 0 1px 0 rgba(227, 130, 92, .35), inset 0 -1px 0 rgba(227, 130, 92, .35); transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--tpl-ease); }
.is-mega-open .tpl-mega__bg { transform: none; clip-path: inset(0 0 0 0); }
.tpl-mega__in { position: relative; display: block; height: 100%; }
.tpl-mega__aside { position: absolute; left: 0; top: 28px; bottom: 28px; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 6px; width: var(--tpl-mega-aside, 240px); }
.tpl-mega__aside img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.tpl-mega__label { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-terra-t); }
.tpl-mega__label::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.tpl-mega__text { font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -.03em; color: var(--tpl-head); }
.is-mega-narrow .tpl-mega__aside { display: none; }
.tpl-gnb__sub a { position: relative; color: #c9bbb1; }
.tpl-gnb__sub a::before { content: ''; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2px; background: var(--tpl-terra-t); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s var(--tpl-ease); }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-head); text-decoration: none; }
.tpl-gnb__sub a:hover::before, .tpl-gnb__sub a:focus-visible::before { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tpl-mega__bg, .tpl-gnb__sub, .tpl-gnb__link, .tpl-gnb__link::after, .tpl-gnb__sub a::before { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz060(배치 5 · 효과 3). 오른쪽 가장자리 가운데에 붙은 먹색 직각 탭(위 테라코타 2px 선, 칸마다 가는 선, 아이콘만)입니다.
   올리거나 키보드로 가면 그 칸이 왼쪽으로 늘어나며(transition: width) 이름이 나오고, 칸이 테라코타로 차며 아이콘 · 글자가 흰색이 됩니다. 원본처럼 모서리는 직각입니다.
   탭 폭은 본문 여백(--tpl-side) 안에 들게 1441px 이상 44 · 1281~1440px 40 · 1025~1280px 34px 입니다. 이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다.
   「맨 위로」 는 원본 .tpl-totop(오른쪽 아래 테라코타 정사각)을 따로 둡니다. 768px 이하는 오른쪽 아래 맨 위로 단추 위에 44px 칸으로 쌓습니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show) ---------- */
:root { --tpl-qs: 44px; }
.tpl-quick { position: fixed; right: 0; top: 50%; z-index: 95; opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; align-items: flex-end; border-top: 2px solid var(--tpl-terra); }
.tpl-quick li { display: flex; justify-content: flex-end; }
.tpl-quick li + li a { border-top: 1px solid var(--tpl-line-s); }
.tpl-quick a { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 10px; width: var(--tpl-qs); height: var(--tpl-qs); padding: 0 calc((var(--tpl-qs) - 20px) / 2); overflow: hidden; background: var(--tpl-bg2); color: var(--tpl-head); white-space: nowrap; transition: width .3s var(--tpl-ease), background-color .3s, color .3s; }
.tpl-quick a .tpl-ico, .tpl-quick__img { flex: none; width: 20px; height: 20px; stroke-width: 1.6; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a span { font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -.02em; opacity: 0; transition: opacity .25s; }
.tpl-quick a:focus-visible { width: calc(var(--tpl-qs) + 12em); background: var(--tpl-terra); color: #fff; outline: 2px solid var(--tpl-terra-t); outline-offset: -2px; }
.tpl-quick a:focus-visible span { opacity: 1; }
@media (hover: hover) {
  .tpl-quick a:hover { width: calc(var(--tpl-qs) + 12em); background: var(--tpl-terra); color: #fff; }
  .tpl-quick a:hover span { opacity: 1; }
}
@media (max-width: 1440px) { :root { --tpl-qs: 40px; } .tpl-quick a .tpl-ico, .tpl-quick__img { width: 18px; height: 18px; } .tpl-quick a { padding: 0 11px; } }
@media (max-width: 1280px) { :root { --tpl-qs: 34px; } .tpl-quick a .tpl-ico, .tpl-quick__img { width: 16px; height: 16px; } .tpl-quick a { padding: 0 9px; } .tpl-quick a span { font-size: 14px; } }
@media (max-width: 768px) {
  :root { --tpl-qs: 44px; }
  .tpl-quick { right: var(--tpl-side); top: auto; bottom: 96px; transform: translateY(10px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick a { padding: 0 12px; }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: 19px; height: 19px; }
}
@media (hover: none) {
  .tpl-quick a:hover, .tpl-quick a:focus-visible { width: var(--tpl-qs); }   /* 터치 화면은 누르면 바로 이동합니다(펼침 없이) */
  .tpl-quick a span { opacity: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* ---------- 팝업 : 짙은 회색 직각 판 · 왼쪽 테라코타 4px 세로 막대 · 제목 앞 영문 대문자 「NOTICE」 같은 작은 줄 대신 테라코타 2px 짧은 선(원본 .tpl-label 표식) ·
   테라코타 면 단추(원본 .tpl-btn) · 먹색 아래 띠 ---------- */
.tpl-pop__item { border: 1px solid var(--tpl-line-s); border-left: 4px solid var(--tpl-terra); background: var(--tpl-bg1); color: var(--tpl-text); box-shadow: 0 20px 44px rgba(0, 0, 0, .5); }
.tpl-pop__body { padding: 32px 30px 30px 28px; }
.tpl-pop__title { margin: 0 0 14px; padding-top: 18px; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-head); background: linear-gradient(var(--tpl-terra-t), var(--tpl-terra-t)) 0 0 / 32px 2px no-repeat; }
.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; justify-content: space-between; gap: 28px; height: 52px; margin-top: 24px; padding: 0 20px 0 24px; background: var(--tpl-terra); font-size: 15.5px; font-weight: 600; color: #fff; transition: background-color .3s; }
.tpl-pop__more::after { content: ''; width: 8px; height: 8px; border-top: 1.8px solid currentColor; border-right: 1.8px solid currentColor; transform: rotate(45deg); }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-terra-d); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-bg0); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 15px; color: var(--tpl-mute); transition: color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); color: var(--tpl-head); font-weight: 600; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { color: var(--tpl-terra-t); }

/* ---------- 회원 화면 · 글쓰기의 그누보드 안내 줄 : 원본 .tpl-form__help 는 p 이고, 그누보드 칸 옆에 붙는 안내(span)도 같은 줄 모양으로 둡니다 ---------- */
.tpl-form__help { display: block; }
