/* style.css : 시안 80(가온파트너스 · 어두운 바탕 · 청회색 포인트 운영 서비스 기업)의 reset.css · common.css · main.css · sub.css 를 차례로 그대로 옮기고(비주얼 아래 바로가기 띠 .tpl-shortcut 만 .tpl-shortcut 으로 바꿈), 맨 아래 「연결부」 에 그누보드 연결을 더했습니다. */

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

/* ===== common.css ===== */
/* common.css — 메인과 서브가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 공통 머리말, 버튼, 헤더, 가로형 메가메뉴, 드로어, 푸터, TOP 버튼, 스크롤 등장 효과를 담습니다.
   어두운 바탕 테마입니다. 먹색 #1b1b1b 와 주색 차콜 #2b2b2b 단색 면을 번갈아 쓰고, 포인트는 흐린 청회색 한 가지만 씁니다. 바꾸려면 :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-bg: #1b1b1b;              /* 먹색 바탕 */
  --tpl-bg-2: #2b2b2b;            /* 주색 차콜 바탕 (번갈아 쓰는 섹션) */
  --tpl-panel: #353535;           /* 차콜 바탕 위 칸 · 면 */
  --tpl-tile: #141414;            /* 숫자 칸 */
  --tpl-line: #3a3a3a;            /* 얇은 선 */
  --tpl-line-2: #555;             /* 조금 진한 선 */
  --tpl-ink: #f3f2ef;             /* 제목 */
  --tpl-text: #d6d3cd;            /* 본문 (차콜 바탕 대비 9.5:1) */
  --tpl-mute: #a6a39d;            /* 보조 글자 (먹색 6.9:1 · 차콜 5.6:1 · 칸 4.9:1) */
  --tpl-accent: #9db6c4;          /* 포인트 청회색 (먹색 8.1:1 · 차콜 6.7:1 · 칸 5.8:1) */
  --tpl-accent-d: #b9ccd6;        /* 포인트 hover */
  --tpl-on-accent: #121619;       /* 청회색 면 위 글자 (대비 8.6:1) */
  --tpl-light-ink: #1b1b1b;       /* 흰 메가메뉴 패널 위 글자 */
  --tpl-light-mute: #5c5a56;      /* 흰 패널 위 보조 글자 (대비 6.9:1) */
  --tpl-light-accent: #3e6274;    /* 흰 패널 위 청회색 글자 (대비 6.6:1) */
  --tpl-foot: #121212;            /* 푸터 */
  --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: 90px;               /* 헤더 높이 */
  --tpl-gnb-pad: 32px;            /* 1차 메뉴 li 양옆 여백(모든 칸 같음) */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; background: var(--tpl-bg); }
body { background: var(--tpl-bg); color: var(--tpl-text); font: 400 17px/1.72 var(--tpl-font); letter-spacing: -.02em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
main { overflow-x: clip; } /* 옆에서 들어오는 등장 효과가 가로 스크롤을 만들지 않게 합니다 */
/* 줄바꿈은 768px 이하에서만 지정한 자리에서 끊습니다 */
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
.tpl-wrap { width: calc(100% - var(--tpl-side) * 2); max-width: 1360px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--tpl-accent); color: var(--tpl-on-accent); padding: 8px 14px; }
.tpl-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--tpl-accent); outline-offset: 3px; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- 공통 머리말 : 짧은 선 + 영문 라벨 + 큰 제목 + 설명 ---------- */
.tpl-sec { padding: 140px 0; background: var(--tpl-bg); }
.tpl-sec--alt { background: var(--tpl-bg-2); }
.tpl-label { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-accent); }
.tpl-label::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.tpl-title { margin-top: 20px; font-size: 44px; font-weight: 700; line-height: 1.34; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-desc { margin-top: 18px; font-size: 18px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-head--center { text-align: center; }
.tpl-head--center .tpl-label::after { content: ''; width: 22px; height: 2px; background: currentColor; }
.tpl-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }

/* ---------- 공통 버튼 ---------- */
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 28px; border: 1px solid var(--tpl-accent); border-radius: 2px; background: var(--tpl-accent); font-size: 16px; font-weight: 700; color: var(--tpl-on-accent); transition: background-color .3s, border-color .3s, color .3s; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; transition: transform .35s var(--tpl-ease); }
.tpl-btn:hover { background: var(--tpl-accent-d); border-color: var(--tpl-accent-d); }
.tpl-btn:hover .tpl-ico { transform: translateX(4px); }
.tpl-btn--line { background: transparent; color: var(--tpl-ink); border-color: var(--tpl-line-2); font-weight: 500; }
.tpl-btn--line:hover { background: transparent; border-color: var(--tpl-ink); }
.tpl-sqbtn { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--tpl-line-2); border-radius: 2px; color: var(--tpl-ink); transition: border-color .25s, color .25s, background-color .25s; }
.tpl-sqbtn .tpl-ico { width: 20px; height: 20px; }
.tpl-sqbtn:hover { border-color: var(--tpl-accent); background: var(--tpl-accent); color: var(--tpl-on-accent); }
.tpl-sqbtn.is-end { color: #66645f; border-color: var(--tpl-line); pointer-events: none; }
.tpl-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--tpl-ink); white-space: nowrap; }
.tpl-more .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; color: var(--tpl-accent); transition: transform .35s var(--tpl-ease); }
.tpl-more:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 로고 : 가로 세 줄 심볼(가운데 줄이 포인트색) + 영문 + 한글 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.tpl-logo__mark { width: 26px; height: 26px; flex: none; }
.tpl-logo__mark .tpl-logo__accent { fill: var(--tpl-accent); }
.tpl-logo__en { font-size: 24px; font-weight: 700; letter-spacing: .14em; line-height: 1; }
.tpl-logo__ko { padding-left: 11px; border-left: 1px solid currentColor; font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1; opacity: .82; }

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

/* 1차 메뉴 : li 양옆 여백이 모두 같아 글자 사이 간격이 같습니다. hover 표시는 글자 아래 선 하나입니다 */
.tpl-gnb { height: 100%; margin: 0 auto; }
.tpl-gnb__list { display: flex; height: 100%; }
.tpl-gnb__item { height: 100%; padding: 0 var(--tpl-gnb-pad); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 18px; font-weight: 600; white-space: nowrap; }
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: var(--tpl-accent); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-header.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__link::after { transform: scaleX(1); background: var(--tpl-light-accent); }
.tpl-header:not(.is-mega-open) .tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -4px; }

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

/* 로그인 · 회원가입 */
.tpl-util { display: flex; align-items: center; gap: 8px; flex: none; font-size: 15px; font-weight: 500; }
.tpl-util a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid currentColor; border-radius: 2px; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-util a:first-child { border-color: transparent; padding: 0 8px; }
.tpl-util a:first-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-util a:last-child:hover { background: var(--tpl-accent); border-color: var(--tpl-accent); color: var(--tpl-on-accent); }

/* 햄버거 (1024px 이하) */
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 15px; }
.tpl-burger i:nth-child(2) { top: 21px; background: var(--tpl-accent); }
.tpl-burger i:nth-child(3) { top: 27px; }

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

/* ---------- 푸터 : 관련 사이트 펼침 3칸 + 정책 링크 + 회사 정보 + 오른쪽 로고 ---------- */
.tpl-footer { background: var(--tpl-foot); color: var(--tpl-mute); font-size: 15px; line-height: 1.75; }
.tpl-footer__family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 56px 0 44px; border-bottom: 1px solid var(--tpl-line); }
.tpl-footer__family details { position: relative; }
.tpl-footer__family summary { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 18px; border: 1px solid var(--tpl-line-2); border-radius: 2px; font-size: 16px; font-weight: 500; color: var(--tpl-text); cursor: pointer; list-style: none; transition: border-color .25s; }
.tpl-footer__family summary::-webkit-details-marker { display: none; }
.tpl-footer__family summary .tpl-ico { width: 18px; height: 18px; color: var(--tpl-accent); transition: transform .35s var(--tpl-ease); }
.tpl-footer__family details[open] summary { border-color: var(--tpl-accent); }
.tpl-footer__family details[open] summary .tpl-ico { transform: rotate(45deg); }
.tpl-footer__family summary:hover { border-color: var(--tpl-ink); }
/* 펼친 목록은 버튼 위쪽으로 열려 아래 내용을 밀어내지 않습니다 */
.tpl-footer__family ul { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 5; padding: 10px 0; background: var(--tpl-bg-2); border: 1px solid var(--tpl-line-2); border-radius: 2px; }
.tpl-footer__family ul a { display: block; padding: 7px 18px; color: var(--tpl-text); }
.tpl-footer__family ul a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 40px 0 64px; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 14px; color: var(--tpl-text); }
.tpl-footer__policy b { font-weight: 700; color: var(--tpl-accent); }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address span { display: inline-block; margin-right: 16px; }
.tpl-footer__copy { margin-top: 8px; letter-spacing: 0; }
.tpl-footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; flex: none; text-align: right; }
.tpl-footer .tpl-logo { color: var(--tpl-ink); }
.tpl-footer__cs small { display: block; font-size: 14px; }
.tpl-footer__cs strong { display: block; font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--tpl-ink); }

/* ---------- TOP 버튼 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 2px; background: var(--tpl-accent); color: var(--tpl-on-accent); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .45s var(--tpl-ease), visibility 0s linear .45s, background-color .25s; }
.tpl-totop.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-totop .tpl-ico { width: 20px; height: 20px; stroke-width: 1.8; }
.tpl-totop:hover { background: var(--tpl-accent-d); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-pad: 22px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-pad: 16px; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 72px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 112px 0; }
  .tpl-title { font-size: 38px; }
  .tpl-footer__info { flex-direction: column-reverse; }
  .tpl-footer__side { align-items: flex-start; text-align: left; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 64px; }
  .tpl-sec { padding: 88px 0; }
  .tpl-title { margin-top: 16px; font-size: 30px; }
  .tpl-desc { font-size: 17px; }
  .tpl-head--row { flex-direction: column; align-items: flex-start; }
  .tpl-btn { height: 50px; padding: 0 22px; font-size: 15.5px; }
  .tpl-sqbtn { width: 44px; height: 44px; }
  .tpl-logo__en { font-size: 21px; }
  .tpl-logo__ko { font-size: 14px; }
  .tpl-footer__family { grid-template-columns: 1fr; gap: 10px; padding: 40px 0 32px; }
  .tpl-totop { bottom: 20px; width: 44px; height: 44px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-aos] { opacity: 1; transform: none; }
}

/* ===== main.css ===== */
/* main.css — 메인 페이지 전용입니다. 비주얼, 퀵메뉴, 통합 검색, 회사 소개 · 숫자, 주요 사업, 알림 띠, 서비스 안내, 운영 실적, 갤러리, 게시판, 인증 · 협력, 자주 묻는 질문, 상담 · 지도를 담습니다. */

/* ===== 메인 비주얼 : 높이 90vh, 슬라이드는 가로로 걷히는 커튼(clip-path)으로 바뀝니다. 문구는 왼쪽 정렬 ===== */
.tpl-visual { position: relative; height: 90vh; overflow: hidden; background: #111; color: #fff; }
.tpl-visual__media, .tpl-visual__item { position: absolute; inset: 0; }
.tpl-visual__item { visibility: hidden; overflow: hidden; }
.tpl-visual__item.is-active, .tpl-visual__item.is-leaving { visibility: visible; }
.tpl-visual__item.is-leaving { z-index: 1; }
.tpl-visual__item.is-active { z-index: 2; }
.tpl-visual__item img { width: 100%; height: 100%; object-fit: cover; }
/* 커튼이 걷히는 동안 들어오는 사진은 아주 조금 줄어들며 자리를 잡습니다(스크롤과는 무관합니다) */
.tpl-visual__item.is-in img { animation: tplSettle var(--tpl-vspeed, 1200ms) var(--tpl-ease) both; }
@keyframes tplSettle { from { transform: scale(1.06); } to { transform: none; } }
/* 사진 위 어두운 막 : 왼쪽 문구 쪽을 조금 더 어둡게 합니다(단색 검정의 농도만 다릅니다) */
.tpl-visual__media::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(10, 10, 10, .74) 0%, rgba(10, 10, 10, .52) 55%, rgba(10, 10, 10, .4) 100%); pointer-events: none; }
/* 유튜브 배경 : 16:9 영상이 영역을 빈틈없이 덮도록 크게 놓고 가운데를 맞춥니다. 조작은 막습니다 */
.tpl-visual__yt { position: absolute; inset: 0; pointer-events: none; }
.tpl-visual__yt iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 160vh); height: max(100%, 56.25vw); border: 0; transform: translate(-50%, -50%); }
.tpl-visual__in { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: var(--tpl-hd-h) 120px 0; }
.tpl-visual__caps { display: grid; }
.tpl-visual__cap { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s linear .5s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
/* 문구 : 라벨 → 제목 → 설명 → 버튼이 차례로 올라옵니다 */
.tpl-visual__cap > * { opacity: 0; transform: translateY(36px); transition: opacity .5s, transform .5s var(--tpl-ease); }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition: opacity .9s var(--tpl-ease), transform 1s var(--tpl-ease); }
.tpl-visual__cap.is-active > :nth-child(1) { transition-delay: .5s; }
.tpl-visual__cap.is-active > :nth-child(2) { transition-delay: .65s; }
.tpl-visual__cap.is-active > :nth-child(3) { transition-delay: .82s; }
.tpl-visual__cap.is-active > :nth-child(4) { transition-delay: .98s; }
.tpl-visual__label { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-accent); }
.tpl-visual__label::before { content: ''; width: 36px; height: 2px; background: currentColor; }
.tpl-visual__title { margin-top: 26px; font-size: clamp(46px, 4.7vw, 70px); font-weight: 700; line-height: 1.22; letter-spacing: -.05em; }
.tpl-visual__desc { margin-top: 24px; font-size: 20px; line-height: 1.65; color: rgba(255, 255, 255, .86); }
.tpl-visual__btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 46px; height: 58px; padding: 0 30px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 2px; font-size: 16.5px; font-weight: 600; color: #fff; transition: background-color .3s, color .3s, border-color .3s; justify-self: start; }
.tpl-visual__btn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; transition: transform .35s var(--tpl-ease); }
.tpl-visual__btn:hover { background: #fff; border-color: #fff; color: #161616; }
.tpl-visual__btn:hover .tpl-ico { transform: translateX(4px); }
.tpl-visual__cap { display: grid; justify-items: start; }
/* 아래 왼쪽 : 번호 · 진행선 · 멈춤 (문구와 같은 왼쪽 선) */
.tpl-visual__ctrl { position: absolute; left: 120px; bottom: 56px; display: flex; align-items: center; gap: 22px; }
.tpl-visual__count { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .72); }
.tpl-visual__count b { color: #fff; font-weight: 700; }
.tpl-visual__bar { position: relative; width: 200px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.tpl-visual__bar i { position: absolute; inset: 0; background: var(--tpl-accent); transform: scaleX(0); transform-origin: 0 50%; }
.is-run .tpl-visual__bar i { animation: tplBar var(--tpl-vdelay, 7000ms) linear forwards; }
@keyframes tplBar { to { transform: scaleX(1); } }
.tpl-visual__pause { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; color: #fff; transition: background-color .25s, color .25s; }
.tpl-visual__pause:hover { background: #fff; color: #161616; }
.tpl-visual__pause .tpl-ico { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.tpl-visual__pause .tpl-ico--play, .tpl-visual.is-paused .tpl-ico--pause { display: none; }
.tpl-visual.is-paused .tpl-ico--play { display: block; }
/* 좌우 끝 세로 가운데 화살표 */
.tpl-visual__arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 56px; height: 56px; margin-top: calc(var(--tpl-hd-h) / 2 - 28px); border: 1px solid rgba(255, 255, 255, .35); border-radius: 2px; color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-visual__arrow--prev { left: 28px; }
.tpl-visual__arrow--next { right: 28px; }
.tpl-visual__arrow:hover { background: var(--tpl-accent); border-color: var(--tpl-accent); color: var(--tpl-on-accent); }
.tpl-visual__arrow .tpl-ico { width: 22px; height: 22px; }

/* ===== 바로가기 퀵메뉴 : 5칸, 아이콘 위 · 이름 아래, 칸 사이 세로 선 ===== */
.tpl-shortcut { background: var(--tpl-bg-2); }
.tpl-shortcut__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.tpl-shortcut__list li + li { border-left: 1px solid var(--tpl-line); }
.tpl-shortcut__list a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 168px; padding: 0 12px; text-align: center; line-height: 1.4; transition: background-color .3s; }
.tpl-shortcut__list .tpl-ico { width: 34px; height: 34px; stroke-width: 1.3; color: var(--tpl-accent); transition: transform .4s var(--tpl-ease); }
.tpl-shortcut__list b { margin-top: 16px; font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-shortcut__list small { margin-top: 4px; font-size: 15px; color: var(--tpl-mute); }
.tpl-shortcut__list a:hover { background: var(--tpl-panel); }
.tpl-shortcut__list a:hover .tpl-ico { transform: translateY(-4px); }

/* ===== 통합 검색 : 가운데 큰 문장 + 검색 칸 + 자주 찾는 검색어 ===== */
.tpl-search { text-align: center; padding-bottom: 130px; }
.tpl-search__title { font-size: 42px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-search__form { display: flex; max-width: 760px; height: 68px; margin: 40px auto 0; border: 2px solid var(--tpl-ink); border-radius: 2px; }
.tpl-search__form input { flex: 1; min-width: 0; padding: 0 24px; background: transparent; border: 0; font-size: 18px; color: var(--tpl-ink); }
.tpl-search__form input::placeholder { color: var(--tpl-mute); }
.tpl-search__form input:focus { outline: none; }
.tpl-search__form:focus-within { border-color: var(--tpl-accent); }
.tpl-search__form button { display: grid; place-items: center; width: 72px; background: var(--tpl-ink); color: var(--tpl-bg); transition: background-color .25s; }
.tpl-search__form button:hover { background: var(--tpl-accent); }
.tpl-search__form button .tpl-ico { width: 24px; height: 24px; stroke-width: 2; }
.tpl-search__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; margin: 26px auto 0; }
.tpl-search__tags a { display: inline-block; padding: 7px 16px; border: 1px solid var(--tpl-line-2); border-radius: 2px; font-size: 16px; color: var(--tpl-text); transition: border-color .25s, color .25s; }
.tpl-search__tags a:hover { border-color: var(--tpl-accent); color: var(--tpl-accent); }

/* ===== 회사 소개 요약 + 숫자 : 위 머리말 · 아래 숫자 칸이 든 문장 세 줄 ===== */
.tpl-intro__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tpl-intro__rows { margin-top: 72px; border-top: 1px solid var(--tpl-line-2); }
.tpl-intro__rows li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 34px 0; border-bottom: 1px solid var(--tpl-line); font-size: 30px; font-weight: 600; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-digits { display: inline-flex; gap: 6px; }
.tpl-digits i { display: grid; place-items: center; width: 54px; height: 66px; background: var(--tpl-tile); border-radius: 2px; font-style: normal; font-size: 40px; font-weight: 700; color: var(--tpl-accent); letter-spacing: 0; }

/* ===== 주요 사업 : 분류 버튼 + 가로로 펼쳐지는 사진 칸 (선택한 칸만 넓어지며 설명이 보입니다) ===== */
.tpl-biz__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-biz__chips button { height: 44px; padding: 0 18px; border: 1px solid var(--tpl-line-2); border-radius: 2px; font-size: 16px; font-weight: 500; color: var(--tpl-text); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-biz__chips button:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-biz__chips button[aria-pressed="true"] { background: var(--tpl-accent); border-color: var(--tpl-accent); color: var(--tpl-on-accent); font-weight: 700; }
.tpl-biz__list { display: flex; gap: 20px; margin-top: 56px; }
.tpl-biz__list > li { flex: 1 1 0; min-width: 0; cursor: pointer; transition: flex-grow .7s var(--tpl-ease); }
.tpl-biz__list > li.is-active { flex-grow: 2.6; cursor: default; }
.tpl-biz__list figure { height: 420px; border-radius: 2px; overflow: hidden; background: var(--tpl-panel); }
.tpl-biz__list img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.7) brightness(.62); } /* filter 를 전환하면 큰 사진을 매 프레임 다시 그려 스크롤이 1초 넘게 멈춰서(측정) 전환 없이 바꿉니다 */
.tpl-biz__list > li.is-active img { filter: none; }
.tpl-biz__txt { padding-top: 26px; }
.tpl-biz__txt h3 { display: flex; align-items: baseline; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.tpl-biz__txt h3 span { font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.tpl-biz__list > li.is-active h3 { color: var(--tpl-ink); }
.tpl-biz__list > li.is-active h3 span { color: var(--tpl-accent); }
.tpl-biz__txt p, .tpl-biz__txt .tpl-more { display: none; }
.tpl-biz__list > li.is-active p { display: block; max-width: 560px; margin-top: 12px; color: var(--tpl-text); animation: tplFade .6s var(--tpl-ease) .2s both; }
.tpl-biz__list > li.is-active .tpl-more { display: inline-flex; margin-top: 18px; animation: tplFade .6s var(--tpl-ease) .3s both; }
@keyframes tplFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== 알림 띠 : 차콜 면 위 한 줄 알림 ===== */
.tpl-alert { background: var(--tpl-bg-2); }
.tpl-alert__in { display: flex; align-items: center; gap: 32px; height: 92px; }
.tpl-alert__title { display: flex; align-items: center; gap: 10px; flex: none; padding-right: 32px; border-right: 1px solid var(--tpl-line-2); font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-alert__title .tpl-ico { color: var(--tpl-accent); }
.tpl-alert__list { position: relative; flex: 1; min-width: 0; height: 30px; overflow: hidden; }
.tpl-alert__list li { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); visibility: hidden; transition: opacity .5s, transform .6s var(--tpl-ease), visibility 0s linear .6s; }
.tpl-alert__list li.is-active { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.tpl-alert__list li.is-out { transform: translateY(-100%); }
.tpl-alert__list a { display: flex; align-items: center; gap: 20px; height: 30px; }
.tpl-alert__list b { min-width: 0; font-size: 17.5px; font-weight: 500; color: var(--tpl-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-alert__list a:hover b { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 5px; }
.tpl-alert__list time { flex: none; font-size: 15px; color: var(--tpl-mute); }
.tpl-alert__ctrl { display: flex; align-items: center; gap: 4px; flex: none; }
.tpl-alert__ctrl button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--tpl-line-2); border-radius: 2px; color: var(--tpl-ink); transition: border-color .25s; }
.tpl-alert__ctrl button:hover { border-color: var(--tpl-ink); }
.tpl-alert__ctrl .tpl-ico { width: 16px; height: 16px; }
.tpl-alert__ctrl .tpl-ico--pause, .tpl-alert__ctrl .tpl-ico--play { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.tpl-alert__ctrl .tpl-ico--play, .tpl-alert.is-paused .tpl-ico--pause { display: none; }
.tpl-alert.is-paused .tpl-ico--play { display: block; }
.tpl-alert__all { margin-left: 14px; font-size: 15px; font-weight: 600; color: var(--tpl-mute); text-decoration: underline; text-underline-offset: 5px; }
.tpl-alert__all:hover { color: var(--tpl-ink); }

/* ===== 서비스 안내 : 위 머리말 / 아래 왼쪽 신청 링크 · 오른쪽 사진 카드 3장 ===== */
.tpl-service__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px 48px; }
.tpl-service__head { grid-column: 1 / -1; }
.tpl-service__links { border-top: 1px solid var(--tpl-line-2); }
.tpl-service__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 2px; border-bottom: 1px solid var(--tpl-line); font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-service__links .tpl-ico { color: var(--tpl-accent); transition: transform .35s var(--tpl-ease); }
.tpl-service__links a:hover .tpl-ico { transform: translate(3px, -3px); }
.tpl-service__links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-service__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl-service__cards a { display: block; }
.tpl-service__cards figure { aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; background: var(--tpl-panel); }
.tpl-service__cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-service__cards a:hover img { transform: scale(1.04); }
.tpl-service__tag { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--tpl-accent); }
.tpl-service__cards h3 { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-service__cards a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tpl-service__cards p { margin-top: 6px; font-size: 16px; color: var(--tpl-mute); }

/* ===== 운영 실적 : 사진 배경(고정 아님) + 어두운 막, 왼쪽 문구 · 오른쪽 숫자 2 × 2 ===== */
.tpl-record { position: relative; padding: 150px 0; overflow: hidden; color: #fff; }
.tpl-record__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-record::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(12, 12, 12, .72); }
.tpl-record__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-record .tpl-desc { color: rgba(255, 255, 255, .8); }
.tpl-record__head .tpl-btn { margin-top: 40px; color: #fff; border-color: rgba(255, 255, 255, .55); }
.tpl-record__head .tpl-btn:hover { border-color: #fff; }
.tpl-record__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .3); }
.tpl-record__list > div { padding: 36px 32px 38px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.tpl-record__list > div:nth-child(odd) { padding-left: 0; }
.tpl-record__list > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .2); }
.tpl-record__list dt { font-size: 17px; color: rgba(255, 255, 255, .8); }
.tpl-record__list dd { margin-top: 12px; font-size: 58px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.tpl-record__list dd small { margin-left: 6px; font-size: 21px; font-weight: 500; letter-spacing: 0; color: var(--tpl-accent); }

/* ===== 사진 갤러리 : 스크롤 스냅 + 사각 화살표 + 번호, 사진 왼쪽 아래 분류 ===== */
.tpl-gallery__nav { display: flex; align-items: center; gap: 10px; flex: none; }
.tpl-gallery__count { margin-right: 14px; font-size: 16px; color: var(--tpl-mute); letter-spacing: .02em; }
.tpl-gallery__count b { color: var(--tpl-ink); font-weight: 700; }
.tpl-gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tpl-gallery__track::-webkit-scrollbar { display: none; }
.tpl-gallery__track li { scroll-snap-align: start; }
.tpl-gallery__track a { display: block; }
.tpl-gallery__track figure { position: relative; aspect-ratio: 1 / 1; border-radius: 2px; overflow: hidden; background: var(--tpl-panel); }
.tpl-gallery__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--tpl-ease); }
.tpl-gallery__track a:hover img { transform: scale(1.04); }
.tpl-gallery__track figure span { position: absolute; right: 0; bottom: 0; padding: 7px 14px; background: var(--tpl-tile); font-size: 14px; font-weight: 600; color: var(--tpl-ink); }
.tpl-gallery__track h3 { margin-top: 22px; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.035em; color: var(--tpl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-gallery__track a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tpl-gallery__desc { display: -webkit-box; margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-mute); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* ===== 게시판 : 제목 + 분류 버튼 + 더하기 / 아래 굵은 선 + 2열 최신글 ===== */
.tpl-board__top { display: flex; align-items: center; gap: 28px; padding-bottom: 28px; border-bottom: 2px solid var(--tpl-ink); }
.tpl-board__top .tpl-title { margin: 0; }
.tpl-board__filter { display: flex; flex-wrap: wrap; gap: 6px; }
.tpl-board__filter button { height: 38px; padding: 0 14px; border: 1px solid var(--tpl-line-2); border-radius: 2px; font-size: 15.5px; font-weight: 500; color: var(--tpl-text); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-board__filter button:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-board__filter button[aria-pressed="true"] { background: var(--tpl-ink); border-color: var(--tpl-ink); color: var(--tpl-bg); font-weight: 700; }
.tpl-board__all { display: grid; place-items: center; width: 48px; height: 48px; margin-left: auto; color: var(--tpl-ink); transition: color .25s, transform .4s var(--tpl-ease); }
.tpl-board__all .tpl-ico { width: 30px; height: 30px; stroke-width: 1.3; }
.tpl-board__all:hover { color: var(--tpl-accent); transform: rotate(90deg); }
.tpl-board__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.tpl-board__list li[hidden] { display: none; }
.tpl-board__list a { display: flex; flex-direction: column; height: 100%; padding: 32px 0 30px; border-bottom: 1px solid var(--tpl-line); }
.tpl-board__tags { display: flex; gap: 6px; }
.tpl-board__tags span { padding: 2px 9px; background: var(--tpl-panel); border-radius: 2px; font-size: 13.5px; font-weight: 500; color: var(--tpl-text); }
.tpl-board__tags span + span { background: transparent; border: 1px solid var(--tpl-line-2); color: var(--tpl-accent); }
.tpl-board__list h3 { display: -webkit-box; margin-top: 16px; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.035em; color: var(--tpl-ink); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tpl-board__list a:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.tpl-board__list time { margin-top: auto; padding-top: 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-board__empty { padding: 48px 0; color: var(--tpl-mute); text-align: center; }

/* ===== 인증 · 수상 : 계단식 4칸 + 협력 기관 글자 로고 ===== */
.tpl-cert__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; margin-top: 64px; }
.tpl-cert__list > li { display: flex; flex-direction: column; min-height: 300px; padding: 40px 32px 34px; background: var(--tpl-bg); border-top: 3px solid var(--tpl-accent); border-radius: 2px; }
.tpl-cert__list > li:nth-child(even) { margin-top: 48px; }
.tpl-cert__list .tpl-ico { width: 38px; height: 38px; stroke-width: 1.3; color: var(--tpl-accent); }
.tpl-cert__list h3 { margin-top: 26px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-cert__list p { margin-top: 10px; font-size: 16px; color: var(--tpl-mute); }
.tpl-cert__list span { margin-top: auto; padding-top: 24px; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--tpl-text); }
.tpl-cert__partners { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 80px; border-top: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); }
.tpl-cert__partners li { display: grid; place-items: center; height: 104px; font-size: 19px; font-weight: 700; letter-spacing: .05em; color: #8f8c86; transition: color .3s; }
.tpl-cert__partners li + li { border-left: 1px solid var(--tpl-line); }
.tpl-cert__partners li:hover { color: var(--tpl-ink); }
.tpl-cert__note { margin-top: 16px; font-size: 14px; color: var(--tpl-mute); text-align: right; }

/* ===== 자주 묻는 질문 : 왼쪽 제목 + 세로 사진 / 오른쪽 아코디언 ===== */
.tpl-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.tpl-faq__photo { margin-top: 40px; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; }
.tpl-faq__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-faq__list { border-top: 2px solid var(--tpl-ink); }
.tpl-faq__list > li { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq__q { display: flex; align-items: center; gap: 22px; width: 100%; padding: 28px 4px; text-align: left; font: 600 20px/1.45 var(--tpl-font); letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-faq__q span { font-size: 18px; font-weight: 700; color: var(--tpl-accent); }
.tpl-faq__q .tpl-ico { margin-left: auto; width: 22px; height: 22px; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease), color .3s; }
.tpl-faq__q[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); color: var(--tpl-accent); }
.tpl-faq__q:hover { color: #fff; }
.tpl-faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--tpl-ease); }
.tpl-faq__a p { padding: 0 48px 30px 44px; color: var(--tpl-text); }
.tpl-faq__more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 32px; color: var(--tpl-mute); }

/* ===== 상담 안내 3칸 + 지도 ===== */
.tpl-contact__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); margin-top: 56px; border-top: 1px solid var(--tpl-line-2); border-bottom: 1px solid var(--tpl-line); }
.tpl-contact__cols li { display: flex; flex-direction: column; padding: 36px 32px 38px; line-height: 1.5; }
.tpl-contact__cols li:first-child { padding-left: 0; }
.tpl-contact__cols li + li { border-left: 1px solid var(--tpl-line); }
.tpl-contact__cols .tpl-ico { width: 26px; height: 26px; color: var(--tpl-accent); }
.tpl-contact__cols small { margin-top: 18px; font-size: 16px; color: var(--tpl-mute); }
.tpl-contact__cols strong { margin-top: 6px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-contact__cols span { margin-top: 8px; font-size: 16px; color: var(--tpl-text); }
.tpl-contact__map { height: 440px; margin-top: 40px; border-radius: 2px; overflow: hidden; background: var(--tpl-panel); }
.tpl-contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-biz__list figure { height: 380px; }
  .tpl-service__grid { grid-template-columns: 1fr; gap: 40px; }
  .tpl-service__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .tpl-cert__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-cert__list > li { min-height: 0; }
  .tpl-cert__list > li:nth-child(even) { margin-top: 0; }
  .tpl-contact__cols li { padding: 32px 24px; }
  .tpl-contact__cols strong { font-size: 22px; }
}
@media (max-width: 1024px) {
  .tpl-visual__in { padding-left: 88px; padding-right: 88px; }
  .tpl-visual__ctrl { left: 88px; }
  .tpl-visual__arrow { width: 48px; height: 48px; margin-top: calc(var(--tpl-hd-h) / 2 - 24px); }
  .tpl-visual__arrow--prev { left: 20px; }
  .tpl-visual__arrow--next { right: 20px; }
  .tpl-shortcut__list a { height: 140px; }
  .tpl-shortcut__list small { display: none; }
  .tpl-search__title { font-size: 36px; }
  .tpl-intro__rows li { font-size: 26px; }
  .tpl-biz .tpl-head--row { flex-direction: column; align-items: flex-start; }
  .tpl-biz__list { flex-direction: column; }
  .tpl-biz__list > li, .tpl-biz__list > li.is-active { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: center; cursor: default; }
  .tpl-biz__list figure { height: auto; aspect-ratio: 4 / 3; }
  .tpl-biz__list img { filter: none; }
  .tpl-biz__txt { padding-top: 0; }
  .tpl-biz__txt h3 { color: var(--tpl-ink); white-space: normal; }
  .tpl-biz__txt h3 span { color: var(--tpl-accent); }
  .tpl-biz__txt p { display: block; margin-top: 10px; color: var(--tpl-text); }
  .tpl-biz__txt .tpl-more { display: inline-flex; margin-top: 14px; }
  .tpl-biz__chips { display: none; }
  .tpl-alert__in { gap: 20px; }
  .tpl-alert__title { padding-right: 20px; }
  .tpl-alert__list time, .tpl-alert__all { display: none; }
  .tpl-service__cards { gap: 16px; }
  .tpl-record__grid, .tpl-faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .tpl-gallery__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .tpl-board__list { column-gap: 40px; }
  .tpl-cert__partners { grid-template-columns: repeat(3, 1fr); }
  .tpl-cert__partners li:nth-child(4) { border-left: 0; }
  .tpl-cert__partners li:nth-child(n+4) { border-top: 1px solid var(--tpl-line); }
  .tpl-faq__photo { aspect-ratio: 16 / 7; }
  .tpl-contact__cols strong { font-size: 20px; }
}
@media (max-width: 768px) {
  .tpl-visual__in { padding-left: 52px; padding-right: 52px; }
  .tpl-visual__ctrl { left: 52px; bottom: 32px; gap: 16px; }
  .tpl-visual__title { font-size: 34px; margin-top: 18px; }
  .tpl-visual__desc { margin-top: 18px; font-size: 16px; }
  .tpl-visual__label { font-size: 13px; letter-spacing: .1em; gap: 10px; }
  .tpl-visual__label::before { width: 24px; }
  .tpl-visual__btn { margin-top: 32px; height: 50px; padding: 0 22px; font-size: 15.5px; }
  .tpl-visual__arrow { width: 36px; height: 36px; margin-top: calc(var(--tpl-hd-h) / 2 - 18px); }
  .tpl-visual__arrow--prev { left: 8px; }
  .tpl-visual__arrow--next { right: 8px; }
  .tpl-visual__bar { width: 110px; }
  .tpl-shortcut__list { grid-template-columns: repeat(3, 1fr); }
  .tpl-shortcut__list li:nth-child(4) { border-left: 0; }
  .tpl-shortcut__list li:nth-child(n+4) { border-top: 1px solid var(--tpl-line); }
  .tpl-shortcut__list a { height: 112px; }
  .tpl-shortcut__list .tpl-ico { width: 28px; height: 28px; }
  .tpl-shortcut__list b { margin-top: 10px; font-size: 16px; }
  .tpl-search { padding-bottom: 96px; }
  .tpl-search__title { font-size: 27px; }
  .tpl-search__form { height: 58px; margin-top: 28px; }
  .tpl-search__form input { padding: 0 16px; font-size: 16px; }
  .tpl-search__form button { width: 58px; }
  .tpl-search__tags a { font-size: 15px; padding: 6px 12px; }
  .tpl-intro__rows { margin-top: 48px; }
  .tpl-intro__rows li { display: block; padding: 26px 0; font-size: 21px; line-height: 1.75; }
  .tpl-digits { gap: 4px; margin: 0 4px; vertical-align: middle; }
  .tpl-digits i { width: 38px; height: 48px; font-size: 28px; }
  .tpl-biz__list { gap: 36px; margin-top: 40px; }
  .tpl-biz__list > li, .tpl-biz__list > li.is-active { grid-template-columns: 1fr; gap: 20px; }
  .tpl-alert__in { flex-wrap: wrap; height: auto; padding: 18px 0; gap: 12px 16px; }
  .tpl-alert__title { padding-right: 0; border-right: 0; font-size: 16px; }
  .tpl-alert__ctrl { margin-left: auto; }
  .tpl-alert__list { flex-basis: 100%; order: 3; }
  .tpl-alert__list b { font-size: 16px; }
  .tpl-service__grid { gap: 40px; }
  .tpl-service__links { grid-template-columns: 1fr; }
  .tpl-service__cards { grid-template-columns: 1fr; gap: 36px; }
  .tpl-service__cards figure { aspect-ratio: 16 / 10; }
  .tpl-record { padding: 96px 0; }
  .tpl-record__list > div { padding: 26px 16px 28px; }
  .tpl-record__list dd { font-size: 38px; }
  .tpl-record__list dd small { font-size: 16px; }
  .tpl-gallery__nav .tpl-gallery__count { margin-right: auto; }
  .tpl-gallery__nav { width: 100%; }
  .tpl-gallery__track { grid-auto-columns: 84%; gap: 16px; margin-top: 36px; }
  .tpl-board__top { flex-wrap: wrap; gap: 16px; }
  .tpl-board__all { order: 2; }
  .tpl-board__filter { order: 3; flex-basis: 100%; }
  .tpl-board__list { grid-template-columns: 1fr; }
  .tpl-board__list a { padding: 24px 0; }
  .tpl-board__list h3 { font-size: 18px; }
  .tpl-cert__list { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .tpl-cert__list > li { padding: 30px 24px; }
  .tpl-cert__partners { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .tpl-cert__partners li { height: 80px; font-size: 16px; }
  .tpl-cert__partners li:nth-child(n) { border-left: 0; }
  .tpl-cert__partners li:nth-child(even) { border-left: 1px solid var(--tpl-line); }
  .tpl-cert__partners li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-faq__photo { aspect-ratio: 16 / 9; margin-top: 28px; }
  .tpl-faq__q { gap: 14px; padding: 22px 0; font-size: 17.5px; }
  .tpl-faq__a p { padding: 0 8px 24px 30px; }
  .tpl-contact__cols { grid-template-columns: 1fr; margin-top: 40px; }
  .tpl-contact__cols li, .tpl-contact__cols li:first-child { padding: 26px 0; }
  .tpl-contact__cols li + li { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-contact__map { height: 320px; }
}

/* ===== 덧붙임 (2026-11-26) ===== */
/* 영상 iframe : reset.css 의 max-width:100% 를 풀어 좁은 화면에서도 비주얼을 빈틈없이 덮습니다 */
.tpl-visual__yt iframe { max-width: none; }
/* 운영 실적 사진 띠 : 사진을 배경 요소에 걸고 PC 에서만 고정 배경으로 둡니다 */
.tpl-record__bg { background: #222 url('../img/record.jpg') center / cover no-repeat; }
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-record__bg { background-attachment: fixed; }
}
/* 카카오맵 : 왼쪽 검색 창은 상자 밖으로 밀어 가립니다 */
.tpl-contact__map { position: relative; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--tpl-accent); color: var(--tpl-on-accent); font-size: 15px; font-weight: 600; }
.tpl-contact__maplink .tpl-ico { width: 15px; height: 15px; }
.tpl-contact__maplink:hover { background: var(--tpl-accent-d); }
@media (max-width: 768px) { .tpl-contact__map { height: 460px; } }

/* ===== sub.css ===== */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼 → 위치 표시 · 2차 메뉴 탭 → 인사말 → 회사 개요 순서입니다. 헤더 · 푸터는 common.css 를 그대로 씁니다. */

/* ===== 서브 비주얼 : 사진 + 어두운 막, 움직이지 않습니다. 문구는 세로 가운데 왼쪽에 크게 ===== */
.tpl-subvisual { position: relative; height: 440px; overflow: hidden; background: #111; color: #fff; }
.tpl-subvisual__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvisual::after { content: ''; position: absolute; inset: 0; background: rgba(12, 12, 12, .64); }
.tpl-subvisual__in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: var(--tpl-hd-h); }
.tpl-subvisual__en { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-accent); }
.tpl-subvisual__en::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.tpl-subvisual__title { margin-top: 16px; font-size: 58px; font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
.tpl-subvisual__text { margin-top: 14px; font-size: 19px; color: rgba(255, 255, 255, .86); }

/* ===== 위치 표시 + 2차 메뉴 탭 ===== */
.tpl-snb { background: var(--tpl-bg-2); }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 72px; }
.tpl-snb__path { display: flex; align-items: center; flex: none; font-size: 15px; color: var(--tpl-mute); }
.tpl-snb__path li { display: flex; align-items: center; }
.tpl-snb__path li + li::before { content: ''; width: 6px; height: 6px; margin: 0 16px 0 12px; border-top: 1px solid #77746e; border-right: 1px solid #77746e; transform: rotate(45deg); }
.tpl-snb__path .tpl-ico { width: 17px; height: 17px; }
.tpl-snb__path a:hover { color: var(--tpl-ink); }
.tpl-snb__path a[aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs { display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
.tpl-snb__tabs::-webkit-scrollbar { display: none; }
.tpl-snb__tabs li { flex: none; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; background: var(--tpl-accent); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a[aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
.tpl-snb__tabs a:focus-visible { outline-offset: -4px; }
@media (hover: hover) {
  .tpl-snb__tabs a:hover { color: var(--tpl-ink); }
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}

/* ===== 인사말 : 위 제목 / 아래 왼쪽 사진 · 오른쪽 본문과 서명 ===== */
.tpl-greet { padding: 140px 0 130px; }
.tpl-greet__head { padding-bottom: 40px; border-bottom: 2px solid var(--tpl-ink); }
.tpl-greet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: start; margin-top: 64px; }
.tpl-greet__photo { position: sticky; top: calc(var(--tpl-hd-h) + 40px); aspect-ratio: 4 / 5; border-radius: 2px; overflow: hidden; }
.tpl-greet__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-greet__body p { font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-greet__body p + p { margin-top: 24px; }
.tpl-greet__body .tpl-greet__lead { font-size: 28px; font-weight: 700; line-height: 1.5; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-greet__lead em { font-style: normal; color: var(--tpl-accent); }
.tpl-greet__lead + p { margin-top: 36px; }
.tpl-greet__body .tpl-greet__sign { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--tpl-line-2); text-align: right; font-size: 17px; color: var(--tpl-mute); }
.tpl-greet__sign strong { margin-left: 14px; font-size: 26px; font-weight: 700; letter-spacing: .2em; color: var(--tpl-ink); }

/* ===== 회사 개요 : 숫자 4칸 + 표 ===== */
.tpl-subov { padding: 140px 0 150px; }
.tpl-subov__nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.tpl-subov__nums > div { padding: 34px 30px 36px; background: var(--tpl-bg); border-top: 3px solid var(--tpl-accent); border-radius: 2px; }
.tpl-subov__nums dt { font-size: 16px; color: var(--tpl-mute); }
.tpl-subov__nums dd { margin-top: 10px; font-size: 50px; font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-subov__nums dd small { margin-left: 5px; font-size: 19px; font-weight: 500; color: var(--tpl-accent); }
.tpl-subov__table { margin-top: 56px; border-top: 2px solid var(--tpl-ink); }
.tpl-subov__table th, .tpl-subov__table td { padding: 20px 24px; border-bottom: 1px solid var(--tpl-line-2); text-align: left; font-size: 17px; }
.tpl-subov__table th { width: 150px; background: var(--tpl-panel); font-weight: 600; color: var(--tpl-ink); }
.tpl-subov__table td { color: var(--tpl-text); }

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

/* ============================================================================================
   서브페이지 추가 (2026-11-26) : 아래는 새 서브 화면 35장이 함께 쓰는 부품입니다. 위의 줄은 고치지 않았습니다.
   ============================================================================================ */

/* ===== 서브 섹션 공통 : 먹색 · 차콜(.tpl-sec--alt) 단색 면을 번갈아 씁니다 ===== */
.tpl-sub { padding: 120px 0 130px; background: var(--tpl-bg); }
.tpl-sub.tpl-sec--alt { background: var(--tpl-bg-2); }
.tpl-sub__head { margin-bottom: 48px; }
.tpl-note { margin-top: 20px; font-size: 15px; color: var(--tpl-mute); }
.tpl-sub b[aria-label="필수"] { color: var(--tpl-accent); font-weight: 700; }

/* ===== 상태 배지 · 분류 버튼 · 쪽 번호 ===== */
.tpl-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--tpl-line-2); border-radius: 2px; font-size: 13.5px; font-weight: 600; line-height: 1; color: var(--tpl-text); white-space: nowrap; vertical-align: middle; }
.tpl-badge--on { border-color: var(--tpl-accent); background: var(--tpl-accent); color: var(--tpl-on-accent); }
.tpl-badge--soon { border-color: var(--tpl-accent); color: var(--tpl-accent); }
.tpl-badge--end { border-color: var(--tpl-line); color: var(--tpl-mute); }
.tpl-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tpl-cats a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--tpl-line-2); border-radius: 2px; font-size: 16px; font-weight: 500; color: var(--tpl-text); transition: border-color .25s, color .25s; }
.tpl-cats a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-cats a[aria-current] { border-color: var(--tpl-accent); background: var(--tpl-accent); color: var(--tpl-on-accent); font-weight: 700; }
.tpl-pager { display: flex; justify-content: center; gap: 6px; }
.tpl-pager a { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border: 1px solid var(--tpl-line); border-radius: 2px; font-size: 15px; color: var(--tpl-mute); transition: border-color .25s, color .25s; }
.tpl-pager a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-pager a[aria-current] { border-color: var(--tpl-accent); color: var(--tpl-ink); font-weight: 700; }
.tpl-pager .tpl-ico { width: 16px; height: 16px; }

/* ===== 표 (선 구분, 굵은 윗선) ===== */
.tpl-dtable-wrap { overflow-x: auto; }
.tpl-dtable-wrap + .tpl-dtable-wrap { margin-top: 40px; }
.tpl-dtable { width: 100%; border-top: 2px solid var(--tpl-ink); }
.tpl-dtable th, .tpl-dtable td { padding: 20px 22px; border-bottom: 1px solid var(--tpl-line-2); text-align: left; font-size: 17px; vertical-align: middle; }
.tpl-dtable thead th { background: var(--tpl-panel); font-size: 15.5px; font-weight: 600; color: var(--tpl-mute); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable td { color: var(--tpl-text); }

/* ===== 비전 · 경영방침 ===== */
.tpl-vision__state { padding-bottom: 56px; border-bottom: 1px solid var(--tpl-line-2); }
.tpl-vision__big { margin-top: 24px; font-size: 46px; font-weight: 700; line-height: 1.38; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-vision__big em { font-style: normal; color: var(--tpl-accent); }
.tpl-vision__sub { margin-top: 20px; font-size: 18px; color: var(--tpl-mute); }
.tpl-vision__goals { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.tpl-vision__goals > div { padding: 40px 28px 8px; border-left: 1px solid var(--tpl-line); }
.tpl-vision__goals > div:first-child { padding-left: 0; border-left: 0; }
.tpl-vision__goals dt { font-size: 16px; color: var(--tpl-mute); }
.tpl-vision__goals dd { margin-top: 8px; font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-vision__goals dd small { margin-left: 5px; font-size: 19px; font-weight: 500; color: var(--tpl-accent); }
.tpl-policy__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tpl-policy__list li { padding: 34px 28px 38px; background: var(--tpl-bg); border-top: 3px solid var(--tpl-accent); border-radius: 2px; }
.tpl-policy__list span { font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--tpl-accent); }
.tpl-policy__list h3 { margin-top: 18px; font-size: 24px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-policy__list p { margin-top: 12px; color: var(--tpl-text); }

/* ===== 연혁 : 왼쪽 시기 이름(따라 내려옴) · 오른쪽 해마다 한 일 ===== */
.tpl-hist__era { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding: 56px 0; border-top: 1px solid var(--tpl-line-2); }
.tpl-hist__era:first-of-type { border-top: 2px solid var(--tpl-ink); }
.tpl-hist__side { position: sticky; top: calc(var(--tpl-hd-h) + 32px); align-self: start; }
.tpl-hist__side p { font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--tpl-accent); }
.tpl-hist__side h3 { margin-top: 10px; font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-hist__years > li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__years > li:last-child { border-bottom: 0; }
.tpl-hist__years b { font-size: 26px; font-weight: 700; line-height: 1.3; color: var(--tpl-ink); }
.tpl-hist__years ul li { position: relative; padding-left: 16px; line-height: 1.9; color: var(--tpl-text); }
.tpl-hist__years ul li::before { content: ''; position: absolute; left: 0; top: .85em; width: 6px; height: 2px; background: var(--tpl-accent); }

/* ===== 조직도 ===== */
.tpl-org { display: grid; justify-items: center; gap: 0; }
.tpl-org__top { display: grid; place-items: center; min-width: 220px; height: 64px; padding: 0 28px; background: var(--tpl-accent); color: var(--tpl-on-accent); font-size: 19px; font-weight: 700; border-radius: 2px; }
.tpl-org__mid { position: relative; display: flex; justify-content: center; gap: 220px; width: 100%; padding: 36px 0; }
.tpl-org__mid::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--tpl-line-2); }
.tpl-org__mid span { position: relative; display: grid; place-items: center; min-width: 160px; height: 52px; border: 1px solid var(--tpl-line-2); background: var(--tpl-bg); font-weight: 600; color: var(--tpl-ink); border-radius: 2px; }
.tpl-org__row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; padding-top: 36px; border-top: 1px solid var(--tpl-line-2); }
.tpl-org__row li { display: grid; gap: 8px; align-content: start; }
.tpl-org__row b { display: grid; place-items: center; height: 58px; background: var(--tpl-panel); border-top: 3px solid var(--tpl-accent); font-size: 18px; font-weight: 700; color: var(--tpl-ink); border-radius: 2px; }
.tpl-org__row span { display: grid; place-items: center; height: 48px; border: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-text); border-radius: 2px; }

/* ===== 인증 · 수상 : 아이콘 + 연도 + 이름 카드 3칸 ===== */
.tpl-certs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tpl-certs__list li { padding: 36px 32px; border: 1px solid var(--tpl-line-2); border-radius: 2px; }
.tpl-certs__list .tpl-ico { width: 34px; height: 34px; stroke-width: 1.4; color: var(--tpl-accent); }
.tpl-certs__list p { margin-top: 28px; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--tpl-accent); }
.tpl-certs__list h3 { margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-certs__list span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--tpl-mute); }

/* ===== 오시는 길 : 카카오맵(왼쪽 검색 창은 밀어서 가림) + 주소 3칸 ===== */
.tpl-locmap { position: relative; height: 520px; overflow: hidden; background: var(--tpl-panel); border-radius: 2px; }
.tpl-locmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-locmap__link { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--tpl-accent); color: var(--tpl-on-accent); font-size: 15px; font-weight: 600; }
.tpl-locmap__link .tpl-ico { width: 15px; height: 15px; }
.tpl-loc__info { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 2px solid var(--tpl-ink); }
.tpl-loc__info li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 26px 24px; border-bottom: 1px solid var(--tpl-line-2); }
.tpl-loc__info li + li { border-left: 1px solid var(--tpl-line); }
.tpl-loc__info .tpl-ico { grid-row: span 2; width: 26px; height: 26px; color: var(--tpl-accent); }
.tpl-loc__info small { font-size: 15px; color: var(--tpl-mute); }
.tpl-loc__info strong { font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-dtable--gap { margin-top: 0; }

/* ===== 사업 안내 : 개요(사진 · 설명 · 숫자) · 맡는 업무 · 절차 · 문의 띠 ===== */
.tpl-bizov__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.tpl-bizov__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.tpl-bizov__photo img { width: 100%; height: 100%; object-fit: cover; }
.tpl-bizov__lead { margin-top: 28px; font-size: 22px; font-weight: 600; line-height: 1.6; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-bizov__body > p:not(.tpl-label):not(.tpl-bizov__lead) { margin-top: 18px; font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-bizov__nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--tpl-line-2); }
.tpl-bizov__nums > div { padding: 26px 20px 0; border-left: 1px solid var(--tpl-line); }
.tpl-bizov__nums > div:first-child { padding-left: 0; border-left: 0; }
.tpl-bizov__nums dt { font-size: 15.5px; color: var(--tpl-mute); }
.tpl-bizov__nums dd { margin-top: 6px; font-size: 42px; font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: var(--tpl-ink); white-space: nowrap; }
.tpl-bizov__nums dd small { margin-left: 4px; font-size: 17px; font-weight: 500; color: var(--tpl-accent); }
.tpl-scope__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tpl-scope__list li { display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; padding: 32px 30px; background: var(--tpl-bg); border-radius: 2px; }
.tpl-scope__list span { grid-row: span 2; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--tpl-accent); }
.tpl-scope__list h3 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-scope__list p { margin-top: 8px; color: var(--tpl-text); }
.tpl-steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 2px solid var(--tpl-ink); }
.tpl-steps li { position: relative; padding: 32px 28px 36px 0; }
.tpl-steps li + li { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-steps span { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-accent); }
.tpl-steps h3 { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-steps p { margin-top: 8px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-callband { display: grid; grid-template-columns: 1fr auto auto; gap: 48px; align-items: center; margin-top: 64px; padding: 40px 44px; background: var(--tpl-panel); border-left: 4px solid var(--tpl-accent); border-radius: 2px; }
.tpl-callband h3 { font-size: 26px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-callband p { margin-top: 6px; color: var(--tpl-text); }
.tpl-callband__tel small { display: block; font-size: 14px; color: var(--tpl-mute); }
.tpl-callband__tel strong { display: block; font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--tpl-ink); white-space: nowrap; }

/* ===== 서비스 신청 : 시설 카드 · 상담 방법 · 조회 ===== */
.tpl-rooms__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tpl-rooms__list li { border: 1px solid var(--tpl-line-2); border-radius: 2px; overflow: hidden; }
.tpl-rooms__list figure { aspect-ratio: 3 / 2; overflow: hidden; }
.tpl-rooms__list img { width: 100%; height: 100%; object-fit: cover; }
.tpl-rooms__list li > div { padding: 26px 26px 28px; }
.tpl-rooms__list h3 { font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-rooms__list dl { margin-top: 14px; }
.tpl-rooms__list dl div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-rooms__list dt { color: var(--tpl-mute); }
.tpl-rooms__list dd { color: var(--tpl-text); }
.tpl-ways { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--tpl-ink); }
.tpl-ways li { padding: 36px 32px 40px 0; }
.tpl-ways li + li { padding-left: 32px; border-left: 1px solid var(--tpl-line); }
.tpl-ways .tpl-ico { width: 30px; height: 30px; stroke-width: 1.4; color: var(--tpl-accent); }
.tpl-ways h3 { margin-top: 22px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-ways p { margin-top: 8px; color: var(--tpl-text); }
.tpl-checkform { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 16px; align-items: end; padding: 36px; background: var(--tpl-bg-2); border-radius: 2px; }
.tpl-checkform .tpl-btn { height: 54px; }

/* ===== 입력 폼 ===== */
.tpl-form fieldset { min-width: 0; }
.tpl-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.tpl-field { display: grid; gap: 10px; align-content: start; }
.tpl-field--full { grid-column: 1 / -1; }
.tpl-field > label, .tpl-field__lab { font-size: 16px; font-weight: 600; color: var(--tpl-ink); }
.tpl-field small { font-size: 14px; color: var(--tpl-mute); }
.tpl-field input:not([type="checkbox"]), .tpl-field select, .tpl-field textarea, .tpl-captcha input, .tpl-bbs__search input, .tpl-bbs__search select, .tpl-ssearch input {
  width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--tpl-line-2); border-radius: 2px; background: var(--tpl-tile); color: var(--tpl-ink); font: inherit; font-size: 16.5px; transition: border-color .25s; }
.tpl-field textarea { height: auto; min-height: 200px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-field input[type="file"] { padding: 12px 16px; font-size: 15px; color: var(--tpl-mute); }
.tpl-field select, .tpl-bbs__search select { appearance: none; padding-right: 40px; background: var(--tpl-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db6c4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.tpl-field input:focus, .tpl-field select:focus, .tpl-field textarea:focus, .tpl-captcha input:focus, .tpl-bbs__search input:focus, .tpl-ssearch input:focus { border-color: var(--tpl-accent); outline: none; }
.tpl-field ::placeholder, .tpl-captcha ::placeholder, .tpl-bbs__search ::placeholder { color: #85827c; }
.tpl-field--opts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 34px; }
.tpl-check { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; color: var(--tpl-text); cursor: pointer; }
.tpl-check input { width: 20px; height: 20px; accent-color: var(--tpl-accent); flex: none; }
.tpl-agreebox { padding: 22px 24px; border: 1px solid var(--tpl-line); border-radius: 2px; }
.tpl-agreebox__text { font-size: 15px; line-height: 1.7; color: var(--tpl-mute); }
.tpl-form__note { margin-top: 20px; font-size: 15px; color: var(--tpl-mute); }
.tpl-form__btns { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.tpl-form__btns .tpl-btn { min-width: 160px; }
.tpl-captcha { display: flex; align-items: center; gap: 12px; }
.tpl-captcha__img { display: grid; place-items: center; flex: none; width: 140px; height: 54px; background: repeating-linear-gradient(135deg, #e9e7e2 0 6px, #dcd9d3 6px 12px); color: #1b1b1b; font-size: 24px; font-weight: 700; letter-spacing: .18em; border-radius: 2px; }
.tpl-captcha input { max-width: 200px; }

/* ===== 게시판 목록 ===== */
.tpl-bbs__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 18px; }
.tpl-bbs__total { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbs__total b { color: var(--tpl-accent); }
.tpl-bbs__search { display: flex; gap: 6px; }
.tpl-bbs__search select { width: 120px; height: 48px; }
.tpl-bbs__search input { width: 260px; height: 48px; }
.tpl-bbs__search button { display: grid; place-items: center; width: 48px; height: 48px; background: var(--tpl-accent); color: var(--tpl-on-accent); border-radius: 2px; }
.tpl-bbs__table { width: 100%; border-top: 2px solid var(--tpl-ink); }
.tpl-bbs__table th, .tpl-bbs__table td { padding: 20px 14px; border-bottom: 1px solid var(--tpl-line-2); text-align: center; font-size: 16px; color: var(--tpl-mute); white-space: nowrap; }
.tpl-bbs__table thead th { font-size: 15px; font-weight: 600; background: var(--tpl-panel); }
.tpl-bbs__c0 { width: 90px; } .tpl-bbs__c2 { width: 130px; } .tpl-bbs__c3 { width: 130px; } .tpl-bbs__c4 { width: 90px; }
.tpl-bbs__table .tpl-bbs__sub { text-align: left; white-space: normal; }
.tpl-bbs__sub a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--tpl-ink); font-size: 17px; font-weight: 500; }
.tpl-bbs__tit { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-bbs__sub a:hover .tpl-bbs__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-bbs__sub .tpl-badge { flex: none; }
.tpl-bbs__file, .tpl-bbs__lock { display: inline-grid; place-items: center; flex: none; color: var(--tpl-accent); }
.tpl-bbs__file .tpl-ico, .tpl-bbs__lock .tpl-ico { width: 17px; height: 17px; }
.tpl-bbs__table tr.is-notice td { background: rgba(157, 182, 196, .06); }
.tpl-bbs__foot { position: relative; display: flex; justify-content: center; align-items: center; min-height: 56px; margin-top: 40px; }
.tpl-bbs__foot > .tpl-btn { position: absolute; right: 0; top: 0; }

/* ===== 갤러리 카드 4칸 (제목 아래 내용 두 줄 말줄임) ===== */
.tpl-gcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; margin-top: 12px; }
.tpl-gcards a { display: block; }
.tpl-gcards figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
.tpl-gcards img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tpl-ease); }
.tpl-gcards a:hover img { transform: scale(1.04); }
.tpl-gcards figure span { position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--tpl-accent); color: var(--tpl-on-accent); font-size: 13.5px; font-weight: 700; }
.tpl-gcards h3 { margin-top: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-gcards p { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; line-height: 1.65; color: var(--tpl-mute); }
.tpl-gcards time { display: block; margin-top: 12px; font-size: 14.5px; color: #8b8882; }

/* ===== 게시글 보기 · 답변 ===== */
.tpl-bview__head { padding-bottom: 32px; border-bottom: 1px solid var(--tpl-line-2); border-top: 2px solid var(--tpl-ink); padding-top: 36px; }
.tpl-bview__title { margin-top: 16px; font-size: 34px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-bview__meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-bview__photo { margin-top: 40px; overflow: hidden; border-radius: 2px; }
.tpl-bview__photo img { width: 100%; max-height: 720px; object-fit: cover; }
.tpl-bview__body { padding: 44px 0 56px; }
.tpl-bview__body p { font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-bview__body p + p { margin-top: 22px; }
.tpl-bview__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: -24px 0 56px; }
.tpl-bview__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.tpl-bview__files { display: grid; gap: 8px; padding: 22px 24px; margin-bottom: 40px; background: var(--tpl-bg-2); border-radius: 2px; }
.tpl-bview__files a { display: inline-flex; align-items: center; gap: 10px; color: var(--tpl-ink); }
.tpl-bview__files a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-bview__files .tpl-ico { width: 18px; height: 18px; color: var(--tpl-accent); }
.tpl-bview__files small { font-size: 14px; color: var(--tpl-mute); }
.tpl-bview__nav { border-top: 1px solid var(--tpl-line-2); }
.tpl-bview__nav li { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; padding: 18px 0; border-bottom: 1px solid var(--tpl-line-2); }
.tpl-bview__nav span { font-size: 15px; color: var(--tpl-mute); }
.tpl-bview__nav a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tpl-ink); }
.tpl-bview__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-bview__btns { display: flex; justify-content: center; margin-top: 44px; }
.tpl-bview__btns .tpl-btn { min-width: 160px; }
.tpl-answer { margin: 0 0 48px; padding: 32px 36px; background: var(--tpl-bg-2); border-left: 4px solid var(--tpl-accent); border-radius: 2px; }
.tpl-answer__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__head span[lang] { display: grid; place-items: center; width: 34px; height: 34px; background: var(--tpl-accent); color: var(--tpl-on-accent); font-weight: 700; border-radius: 2px; }
.tpl-answer__head b { font-size: 18px; color: var(--tpl-ink); }
.tpl-answer p:not(.tpl-answer__head) { color: var(--tpl-text); line-height: 1.85; }

/* ===== 홍보 영상 · 소개 자료 ===== */
.tpl-vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 20px; }
.tpl-vcards a { display: block; }
.tpl-vcards figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; }
.tpl-vcards figure::after { content: ''; position: absolute; inset: 0; background: rgba(12, 12, 12, .35); transition: background-color .3s; }
.tpl-vcards a:hover figure::after { background: rgba(12, 12, 12, .15); }
.tpl-vcards img { width: 100%; height: 100%; object-fit: cover; }
.tpl-vcards__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; background: var(--tpl-accent); color: var(--tpl-on-accent); border-radius: 2px; transform: translate(-50%, -50%); }
.tpl-vcards__play .tpl-ico { width: 24px; height: 24px; fill: currentColor; }
.tpl-vcards time { position: absolute; right: 10px; bottom: 10px; z-index: 1; padding: 2px 8px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 14px; }
.tpl-vcards h3 { margin-top: 18px; font-size: 20px; font-weight: 700; color: var(--tpl-ink); }
.tpl-vcards p { margin-top: 6px; color: var(--tpl-mute); }
.tpl-brochure__list { border-top: 2px solid var(--tpl-ink); }
.tpl-brochure__list li { display: grid; grid-template-columns: 96px 1fr auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--tpl-line-2); }
.tpl-brochure__cover { display: grid; place-items: center; align-content: center; gap: 6px; width: 96px; height: 124px; background: var(--tpl-panel); border-top: 3px solid var(--tpl-accent); color: var(--tpl-accent); border-radius: 2px; }
.tpl-brochure__cover .tpl-ico { width: 30px; height: 30px; stroke-width: 1.4; }
.tpl-brochure__cover span { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--tpl-mute); }
.tpl-brochure__list h3 { font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-brochure__list p { margin-top: 6px; color: var(--tpl-text); }
.tpl-brochure__list small { display: block; margin-top: 8px; font-size: 14.5px; color: var(--tpl-mute); }

/* ===== 자주 묻는 질문 (details · summary, 스크립트 없음) ===== */
.tpl-qas { border-top: 2px solid var(--tpl-ink); }
.tpl-qa { border-bottom: 1px solid var(--tpl-line-2); }
.tpl-qa summary { display: grid; grid-template-columns: 36px auto 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__q { font-size: 22px; font-weight: 700; color: var(--tpl-accent); }
.tpl-qa__cat { font-size: 14.5px; color: var(--tpl-mute); }
.tpl-qa__tit { font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-qa summary .tpl-ico { color: var(--tpl-accent); transition: transform .35s var(--tpl-ease); }
.tpl-qa[open] summary .tpl-ico { transform: rotate(45deg); }
.tpl-qa__a { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 0 4px 28px; }
.tpl-qa__a span { font-size: 22px; font-weight: 700; color: var(--tpl-mute); }
.tpl-qa__a p { color: var(--tpl-text); line-height: 1.8; }

/* ===== 통합 검색 ===== */
.tpl-ssearch { display: flex; gap: 8px; }
.tpl-ssearch input { height: 60px; font-size: 18px; }
.tpl-ssearch .tpl-btn { height: 60px; flex: none; }
.tpl-ssearch__sum { margin: 28px 0 8px; font-size: 18px; color: var(--tpl-text); }
.tpl-ssearch__sum b { color: var(--tpl-accent); }
.tpl-sresult h3 { margin-top: 40px; padding-bottom: 14px; border-bottom: 2px solid var(--tpl-ink); font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-sresult h3 small { margin-left: 6px; font-size: 16px; font-weight: 500; color: var(--tpl-accent); }
.tpl-sresult li { border-bottom: 1px solid var(--tpl-line-2); }
.tpl-sresult a { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; padding: 20px 0; }
.tpl-sresult a b { font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-sresult a span { grid-column: 1; margin-top: 4px; color: var(--tpl-mute); }
.tpl-sresult a time { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 15px; color: var(--tpl-mute); }
.tpl-sresult a:hover b { text-decoration: underline; text-underline-offset: 5px; }

/* ===== 회원 화면 : 로그인 상자만 좁게, 가입 · 완료는 본문 폭 ===== */
.tpl-member { padding: 110px 0 130px; }
.tpl-auth { max-width: 480px; margin: 0 auto; padding: 48px 44px; background: var(--tpl-bg-2); border-top: 3px solid var(--tpl-accent); border-radius: 2px; }
.tpl-auth--full { max-width: none; padding: 56px 56px 60px; }
.tpl-auth__title { font-size: 32px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-auth__desc { margin-top: 10px; color: var(--tpl-mute); }
.tpl-auth__form { display: grid; gap: 18px; margin-top: 32px; }
.tpl-auth .tpl-field + .tpl-field { margin-top: 0; }
form.tpl-auth { display: grid; gap: 18px; }
form.tpl-auth.tpl-auth--full { display: block; }
.tpl-auth__submit { width: 100%; margin-top: 6px; }
.tpl-auth__links { display: flex; justify-content: center; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--tpl-line); font-size: 15.5px; }
.tpl-auth__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-auth__join { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 480px; margin: 16px auto 0; padding: 22px 26px; border: 1px solid var(--tpl-line-2); border-radius: 2px; }
.tpl-auth__join p { font-size: 15.5px; color: var(--tpl-mute); }
.tpl-auth__join b { display: block; color: var(--tpl-ink); }
.tpl-auth__join .tpl-btn { flex: none; height: 48px; padding: 0 18px; }
.tpl-auth__sub { margin: 48px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--tpl-line-2); font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-msteps { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 40px; border-top: 2px solid var(--tpl-line-2); }
.tpl-msteps li { display: flex; align-items: center; gap: 12px; padding: 20px 0 0; font-size: 18px; font-weight: 600; color: var(--tpl-mute); }
.tpl-msteps span { font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.tpl-msteps li[aria-current] { margin-top: -2px; border-top: 2px solid var(--tpl-accent); color: var(--tpl-ink); }
.tpl-msteps li[aria-current] span { color: var(--tpl-accent); }
.tpl-agree + .tpl-agree { margin-top: 32px; }
.tpl-agree h3 { margin-bottom: 12px; font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-agree__box { height: 170px; margin-bottom: 14px; padding: 18px 20px; overflow-y: auto; background: var(--tpl-tile); border: 1px solid var(--tpl-line); font-size: 15px; line-height: 1.8; color: var(--tpl-mute); border-radius: 2px; }
.tpl-agree__all { margin-top: 28px; padding: 18px 20px; width: 100%; border: 1px solid var(--tpl-accent); border-radius: 2px; font-weight: 700; color: var(--tpl-ink); }
.tpl-done { text-align: center; }
.tpl-done__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; background: var(--tpl-accent); color: var(--tpl-on-accent); border-radius: 2px; }
.tpl-done__icon .tpl-ico { width: 34px; height: 34px; }
.tpl-done__info { display: flex; justify-content: center; gap: 0; max-width: 560px; margin: 32px auto 0; border-top: 1px solid var(--tpl-line-2); border-bottom: 1px solid var(--tpl-line-2); }
.tpl-done__info div { flex: 1; padding: 18px 0; }
.tpl-done__info div + div { border-left: 1px solid var(--tpl-line); }
.tpl-done__info dt { font-size: 14.5px; color: var(--tpl-mute); }
.tpl-done__info dd { margin-top: 4px; font-weight: 700; color: var(--tpl-ink); }
.tpl-findgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; gap: 24px; }
.tpl-findgrid .tpl-auth { margin: 0; width: 100%; }

/* ===== 정책 문서 ===== */
.tpl-policydoc { padding: 110px 0 130px; }
.tpl-doc { border-top: 2px solid var(--tpl-ink); }
.tpl-doc__date { padding: 22px 0; border-bottom: 1px solid var(--tpl-line-2); font-size: 15.5px; color: var(--tpl-mute); }
.tpl-doc section { padding: 32px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-doc h3 { font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-doc p { margin-top: 10px; color: var(--tpl-text); line-height: 1.85; }

/* ===== 보기 · 쓰기 섹션 여백 ===== */
.tpl-viewsec, .tpl-writesec { padding: 100px 0 130px; }

/* ===== 반응형 ===== */
@media (max-width: 1280px) {
  .tpl-callband { grid-template-columns: 1fr auto; }
  .tpl-callband .tpl-btn { grid-column: 1 / -1; justify-self: start; }
  .tpl-org__mid { gap: 120px; }
}
@media (max-width: 1024px) {
  .tpl-sub { padding: 96px 0 104px; }
  .tpl-vision__big { font-size: 36px; }
  .tpl-vision__goals, .tpl-policy__list { grid-template-columns: repeat(2, 1fr); }
  .tpl-vision__goals > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-hist__era { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .tpl-hist__side { position: static; }
  .tpl-org__row { grid-template-columns: repeat(2, 1fr); }
  .tpl-certs__list, .tpl-rooms__list, .tpl-vcards { grid-template-columns: repeat(2, 1fr); }
  .tpl-bizov__grid { grid-template-columns: 1fr; gap: 44px; }
  .tpl-bizov__photo { aspect-ratio: 16 / 9; }
  .tpl-steps { grid-template-columns: repeat(2, 1fr); }
  .tpl-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-steps li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-gcards { grid-template-columns: repeat(3, 1fr); }
  .tpl-checkform { grid-template-columns: repeat(2, 1fr); }
  .tpl-checkform .tpl-btn { grid-column: 1 / -1; }
  .tpl-bbs__c2, .tpl-bbs__who, .tpl-bbs__c4, .tpl-bbs__hit { display: none; }
  .tpl-locmap { height: 460px; }
  .tpl-loc__info { grid-template-columns: 1fr; }
  .tpl-loc__info li + li { border-left: 0; }
}
@media (max-width: 768px) {
  .tpl-sub { padding: 76px 0 84px; }
  .tpl-sub__head { margin-bottom: 32px; }
  .tpl-vision__big { font-size: 27px; }
  .tpl-vision__goals > div { padding: 28px 14px 4px; }
  .tpl-vision__goals dd { font-size: 36px; }
  .tpl-policy__list, .tpl-scope__list, .tpl-certs__list, .tpl-rooms__list, .tpl-vcards, .tpl-ways, .tpl-form__grid, .tpl-findgrid { grid-template-columns: 1fr; }
  .tpl-ways li, .tpl-ways li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--tpl-line); }
  .tpl-hist__side h3 { font-size: 26px; }
  .tpl-hist__years > li { grid-template-columns: 72px 1fr; gap: 14px; }
  .tpl-hist__years b { font-size: 21px; }
  .tpl-org__mid { gap: 24px; }
  .tpl-org__mid span { min-width: 120px; }
  .tpl-org__row { grid-template-columns: 1fr; }
  .tpl-dtable th, .tpl-dtable td { padding: 16px 12px; font-size: 15.5px; }
  .tpl-bizov__lead { font-size: 19px; }
  .tpl-bizov__nums dd { font-size: 30px; }
  .tpl-bizov__nums > div { padding: 20px 10px 0; }
  .tpl-scope__list li { grid-template-columns: 48px 1fr; padding: 26px 22px; }
  .tpl-steps { grid-template-columns: 1fr; }
  .tpl-steps li, .tpl-steps li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-steps li:first-child { border-top: 0; }
  .tpl-callband { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px; }
  .tpl-callband h3 { font-size: 22px; }
  .tpl-checkform { grid-template-columns: 1fr; padding: 24px 20px; }
  .tpl-gcards { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
  .tpl-gcards h3 { font-size: 17px; }
  .tpl-gcards p { font-size: 15px; }
  .tpl-bbs__top { flex-direction: column; align-items: stretch; gap: 12px; }
  .tpl-bbs__search select { width: 96px; flex: none; }
  .tpl-bbs__search input { width: auto; flex: 1; min-width: 0; }
  .tpl-bbs__table thead { display: none; }
  .tpl-bbs__table, .tpl-bbs__table tbody { display: block; }
  .tpl-bbs__table tr { display: grid; grid-template-columns: auto 1fr; padding: 16px 0; border-bottom: 1px solid var(--tpl-line-2); }
  .tpl-bbs__table td { padding: 0; border: 0; text-align: left; }
  .tpl-bbs__table .tpl-bbs__no { display: none; }
  .tpl-bbs__table tr.is-notice .tpl-bbs__no { display: block; margin-right: 8px; }
  .tpl-bbs__table .tpl-bbs__sub { grid-column: 1 / -1; }
  .tpl-bbs__table tr.is-notice .tpl-bbs__sub { grid-column: 2; }
  .tpl-bbs__table .tpl-bbs__date { grid-column: 1 / -1; margin-top: 6px; font-size: 14.5px; }
  .tpl-bbs__sub a { flex-wrap: wrap; row-gap: 6px; font-size: 16.5px; }
  .tpl-bbs__tit { flex-basis: 100%; white-space: normal; }
  .tpl-bbs__foot { flex-direction: column; gap: 20px; }
  .tpl-bbs__foot > .tpl-btn { position: static; align-self: flex-end; order: -1; }
  .tpl-pager a { min-width: 36px; height: 36px; }
  .tpl-bview__title { font-size: 25px; }
  .tpl-bview__body p { font-size: 17px; }
  .tpl-bview__nav li { grid-template-columns: 80px minmax(0, 1fr); }
  .tpl-bview__thumbs { gap: 8px; }
  .tpl-answer { padding: 24px 20px; }
  .tpl-brochure__list li { grid-template-columns: 72px 1fr; gap: 18px; }
  .tpl-brochure__cover { width: 72px; height: 96px; }
  .tpl-brochure__list .tpl-btn { grid-column: 1 / -1; justify-self: start; }
  .tpl-qa summary { grid-template-columns: 28px 1fr 20px; gap: 10px; }
  .tpl-qa__cat { grid-column: 2; grid-row: 1; }
  .tpl-qa__tit { grid-column: 2; font-size: 17px; }
  .tpl-qa summary .tpl-ico { grid-column: 3; grid-row: 1 / span 2; }
  .tpl-qa__q { grid-row: 1 / span 2; }
  .tpl-qa__a { grid-template-columns: 28px 1fr; gap: 10px; }
  .tpl-ssearch input, .tpl-ssearch .tpl-btn { height: 54px; }
  .tpl-ssearch .tpl-btn { padding: 0 18px; }
  .tpl-sresult a { grid-template-columns: 1fr; }
  .tpl-sresult a time { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .tpl-member, .tpl-policydoc, .tpl-viewsec, .tpl-writesec { padding: 72px 0 88px; }
  .tpl-auth { padding: 36px 22px; }
  .tpl-auth--full { padding: 36px 20px 40px; }
  .tpl-auth__join { flex-direction: column; align-items: stretch; }
  .tpl-msteps li { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 16px; }
  .tpl-form__btns .tpl-btn { min-width: 0; flex: 1; }
  .tpl-captcha { flex-wrap: wrap; }
  .tpl-locmap { height: 460px; }
  .tpl-field--opts { padding-top: 0; }
}

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz080) · 퀵메뉴 · 맨 위로 · 팝업 · 지도입니다.
   위의 원본 CSS 는 .tpl-shortcut 이름 말고는 고치지 않았습니다. 색 · 글꼴 · 모서리는 원본 common.css 의 토큰(먹색 · 차콜 · 청회색, 2px 모서리)을 씁니다.
   가로 100% 사진 띠(운영 실적 .tpl-record)의 고정 배경은 원본 main.css 끝에 있습니다(지침 3-4).
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 CI 색 그대로 두고, 글자는 머리글 · 드로어 · 푸터의 글자색을 따릅니다(어두운 바탕이라 늘 밝은 글자) ---------- */
.tpl-logo { --accent: #12c29a; }
.tpl-footer .tpl-logo { color: var(--tpl-ink); }
.logo-svg { display: block; height: 28px; width: auto; }
.logo-img { display: block; height: 28px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg { height: 24px; }
.tpl-header .logo-img--dark { display: none; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 24px; }
}
/* 서브 비주얼이 없는 그누보드 기본 화면(전체검색 · 새글 …)은 머리글을 처음부터 먹색 바탕으로 둡니다 */
body:has(.allweb-gnu) .tpl-header { background: var(--tpl-bg); }
body:has(.allweb-gnu) .tpl-header::after { background: var(--tpl-line); }

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

/* ---------- 그누보드 화면(전체검색 · 새글 · 기본 스킨)을 템플릿 폭 안에 넣습니다 ---------- */
.allweb-gnu { width: calc(100% - var(--tpl-side) * 2); max-width: 1360px; margin: 0 auto; padding: calc(var(--tpl-hd-h) + 80px) 0 110px; color: var(--tpl-text); }
.allweb-gnu a { color: inherit; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { background: var(--tpl-accent); color: var(--tpl-on-accent); }
.allweb-gnu .frm_input, .allweb-gnu select { background: var(--tpl-tile); border-color: var(--tpl-line-2); color: var(--tpl-ink); }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2). 원본 .tpl-captcha 줄 안에 그누보드 #captcha 가 들어갑니다 */
#captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
#captcha #captcha_img { display: inline-block; vertical-align: middle; height: 54px; border-radius: 2px; }
#captcha #captcha_key { width: 160px; height: 54px; padding: 0 14px; border: 1px solid var(--tpl-line-2); border-radius: 2px; background: var(--tpl-tile); color: var(--tpl-ink); vertical-align: middle; font: 400 16.5px var(--tpl-font); }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; flex-basis: 100%; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-auth #captcha { gap: 8px 6px; }   /* 좁은 상자(480px) 안에서도 그림 · 입력 칸 · 단추가 한 줄입니다 */
.tpl-auth #captcha #captcha_key { width: 104px; }
@media (max-width: 768px) {
  #captcha #captcha_img { height: 44px; }
  #captcha { gap: 8px 6px; }
  #captcha #captcha_key, .tpl-auth #captcha #captcha_key { width: 76px; height: 44px; }
}

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품(원본 .tpl-bbs · .tpl-form · .tpl-answer 말씨) ---------- */
.tpl-bbs__empty { padding: 64px 0; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line-2); text-align: center; color: var(--tpl-mute); }
.tpl-bbs__table + .tpl-bbs__empty { border-top: 0; }
.tpl-bbs__table td.tpl-bbs__reply a { padding-left: 20px; }
.tpl-btns__r { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.tpl-bview__btns { flex-wrap: wrap; gap: 10px; }
.tpl-bview__btns .tpl-btns__r { margin-left: auto; }
.tpl-bview__btns:has(.tpl-btns__r) { justify-content: space-between; }
.tpl-bview__body img { max-width: 100%; height: auto; }
.tpl-bview__body iframe { max-width: 100%; }
.tpl-bview__body > p > img { display: block; width: 100%; max-width: 960px; border-radius: 2px; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.tpl-bview__body ul { margin-top: 16px; padding-left: 20px; list-style: disc; color: var(--tpl-text); }
.tpl-bview__body li + li { margin-top: 6px; }
.tpl-bview__body strong { color: var(--tpl-ink); }
.tpl-bview__video { position: relative; margin-top: 40px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: #000; }
.tpl-bview__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; }
.tpl-answer + .tpl-answer { margin-top: -36px; }
.tpl-answer__head a { margin-left: auto; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.tpl-qa__a div { color: var(--tpl-text); line-height: 1.8; }
.tpl-qa__a div p + p { margin-top: 10px; }
.tpl-qa__admin { padding: 0 4px 20px 52px; font-size: 14.5px; }
.tpl-qa__admin a { color: var(--tpl-accent); text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt { margin: 0 0 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line-2); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt__tit b { color: var(--tpl-accent); }
.tpl-cmt__list { margin-top: 12px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; color: var(--tpl-text); }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-ink); }
.tpl-cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
.tpl-help { margin-top: 4px; font-size: 14px; color: var(--tpl-mute); }
.tpl-field .tpl-file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tpl-field .tpl-file-row + .tpl-file-row { margin-top: 10px; }
/* 회원 정보 입력 : 그누보드가 더 받는 칸(주소 · 정보 수신 · 본인확인 · 회원 사진)도 원본 .tpl-field 말씨입니다 */
.mb-addr { display: grid; gap: 10px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-addr__zip input { width: min(100%, 180px) !important; }
.mb-addr .tpl-btn, .mb-cert .tpl-btn { height: 54px; }
.mb-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-file-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.mb-file-now img { max-width: 120px; height: auto; }
.tpl-field input[readonly] { background: var(--tpl-bg-2); color: var(--tpl-mute); }
.tpl-agree__box a { color: var(--tpl-accent); text-decoration: underline; text-underline-offset: 3px; }
.tpl-auth form > .tpl-captcha, form.tpl-auth > .tpl-captcha { margin-top: 2px; }
/* 그누보드 링크 단추 : default.css 의 a.btn · a 기본값이 줄 높이를 바꾸지 않게 원본 값으로 둡니다 */
a.tpl-btn { line-height: normal; }
.tpl-footer__cs strong a, .tpl-drawer__tel strong a, .tpl-contact__cols strong a { color: inherit; }

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz080(가 2 · 나 7 · 다 2 · 라 1 · 마 7, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 2 : 1차에 올리면 굵은 청회색 밑줄이 글자 가운데서 양쪽으로 퍼집니다(transform-origin 50%). 서브페이지의 현재 메뉴 밑줄은 원본처럼 메뉴가 닫혀 있을 때만 보입니다.
   나 7 : 원본 전폭 패널(.tpl-mega__bg) 왼쪽에 대표 사진 · 영문 라벨 · 한 줄 문구 칸(.tpl-mega__side)이 있고, 2차 줄은 원본처럼 올린 1차 글자 가운데 아래(그 칸 오른쪽 48px 뒤부터)에 놓입니다.
   다 2 : 원본은 메뉴가 열리면 머리글 · 패널이 흰 바탕이 되었으나, 투명 머리글이 짙은 먹색(#121212)으로 바뀌고 패널도 같은 짙은 면이 됩니다. 2차 글자는 밝은 회색입니다.
   라 1 : 패널이 위에서 아래로 덮이며 열리고(clip-path 0.42초) 닫을 때 거꾸로 걷힙니다. 2차 글자는 원본처럼 같은 시간 · 곡선의 clip-path 로 함께 드러나 어떤 프레임에서도 패널 밖에 글자가 없습니다.
   마 7 : 2차에 올리면 글자가 굵어지며 흰색이 됩니다(폭이 바뀌지 않게 가는 외곽선으로 굵힘, 밑줄 없음). ---------- */
.tpl-gnb__link::after { height: 3px; transform-origin: 50% 50%; }
.tpl-header.is-mega-open { background: #121212; color: var(--tpl-ink); }
.tpl-header.is-mega-open::after { background: var(--tpl-line); }
.tpl-header.is-mega-open .tpl-logo__accent { fill: var(--tpl-accent); }
.tpl-header.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__link::after { transform: scaleX(1); background: var(--tpl-accent); }
.tpl-mega__bg { height: var(--tpl-mega-h, 120px); background: #121212; box-shadow: inset 0 -1px 0 var(--tpl-line); transform: none; clip-path: inset(0 0 100% 0); transition: clip-path .42s var(--tpl-ease); }
.tpl-header.is-mega-open .tpl-mega__bg { transform: none; clip-path: inset(0 0 0 0); }
.tpl-gnb__sub { color: var(--tpl-ink); }
.tpl-mega__side { display: flex; align-items: center; gap: 18px; height: 100%; }
.tpl-mega__pic { flex: none; width: 140px; height: 88px; overflow: hidden; border-radius: 2px; }
.tpl-mega__pic img { width: 100%; height: 100%; object-fit: cover; }
.tpl-mega__txt { display: grid; gap: 6px; }
.tpl-mega__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-accent); }
.tpl-mega__title { font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); white-space: nowrap; }
.tpl-gnb__sub a { color: var(--tpl-mute); transition: color .2s, -webkit-text-stroke-color .2s; -webkit-text-stroke: .5px transparent; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: #fff; text-decoration: none; -webkit-text-stroke: .5px currentColor; }
.tpl-gnb__sub a[aria-current] { color: #fff; font-weight: 700; }
@media (max-width: 1280px) {
  .tpl-mega__pic { width: 108px; height: 72px; }
}
@media (max-width: 1140px) {
  .tpl-mega__pic { display: none; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz080(배치 2 · 효과 5). 오른쪽 가운데에 6px 씩 띄워 쌓은 먹색 직각 칸(차콜 선 · 청회색 아이콘만, 원본 2px 모서리)입니다.
   올리거나 키보드로 가면 칸 왼쪽 가장자리에 청회색 옆줄이 위에서 아래로 그어지고, 칸 왼쪽에 먹색 이름표가 나오며 그 아래 청회색 밑줄이 왼쪽부터 그어집니다.
   칸 크기는 본문 여백 안에 들게 1681px↑ 48 · 1441~1680px 40 · 1025~1440px 32px 이고, 1024px 이하는 아이콘만 44px 칸으로 오른쪽 아래에 둡니다.
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js). 「맨 위로」 는 맨 아래 칸에 붙은 선만 있는 정사각입니다(맨 위로 1-1-2). ---------- */
:root { --tpl-qc: 32px; }
@media (min-width: 1441px) { :root { --tpl-qc: 40px; } }
@media (min-width: 1681px) { :root { --tpl-qc: 48px; } }
.tpl-quick { position: fixed; right: 4px; top: 50%; z-index: 90; transform: translate(12px, -50%); opacity: 0; visibility: hidden; transition: opacity .35s, transform .4s var(--tpl-ease), visibility 0s linear .4s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: grid; gap: 6px; }
.tpl-quick li { position: relative; }
.tpl-quick a, .tpl-quick .tpl-totop { position: relative; display: grid; place-items: center; width: var(--tpl-qc); height: var(--tpl-qc); border: 1px solid var(--tpl-line-2); border-radius: 2px; background: var(--tpl-bg); color: var(--tpl-accent); transition: background-color .3s, border-color .3s; }
.tpl-quick .tpl-ico { width: calc(var(--tpl-qc) * .46); height: calc(var(--tpl-qc) * .46); }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--tpl-accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform .3s var(--tpl-ease); }
.tpl-quick span { position: absolute; right: calc(100% + 8px); top: 50%; padding: 7px 12px 9px; border-radius: 2px; background: var(--tpl-bg); border: 1px solid var(--tpl-line-2); font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--tpl-ink); white-space: nowrap; transform: translate(6px, -50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, transform .3s var(--tpl-ease), visibility 0s linear .3s; }
.tpl-quick span::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--tpl-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--tpl-ease) .08s; }
@media (hover: hover) {
  .tpl-quick a:hover { border-color: var(--tpl-accent); background: var(--tpl-bg-2); }
  .tpl-quick a:hover::before { transform: scaleY(1); }
  .tpl-quick a:hover span { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
  .tpl-quick a:hover span::after { transform: scaleX(1); }
}
.tpl-quick a:focus-visible { border-color: var(--tpl-accent); background: var(--tpl-bg-2); }
.tpl-quick a:focus-visible::before { transform: scaleY(1); }
.tpl-quick a:focus-visible span { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick a:focus-visible span::after { transform: scaleX(1); }
/* 맨 위로 : 퀵메뉴 맨 아래 칸(선만 있는 정사각). 원본 .tpl-totop 의 숨김 · 등장은 퀵메뉴가 대신하므로 칸 안에서는 늘 보입니다 */
.tpl-quick .tpl-totop { position: relative; right: auto; bottom: auto; opacity: 1; visibility: inherit; transform: none; border-color: var(--tpl-accent); background: transparent; color: var(--tpl-accent); }
.tpl-quick .tpl-totop:hover, .tpl-quick .tpl-totop:focus-visible { background: var(--tpl-accent); color: var(--tpl-on-accent); }
.tpl-totop--solo { border: 1px solid var(--tpl-accent); background: var(--tpl-bg); color: var(--tpl-accent); }
@media (max-width: 1024px) {
  :root { --tpl-qc: 44px; }
  .tpl-quick { top: auto; bottom: 20px; right: 16px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick span, .tpl-quick a::before, .tpl-quick span::after { transition: none; }
}

/* ---------- 팝업 : 먹색 직각 판 · 2px 모서리 · 위 청회색 3px 선, 제목 위 원본 라벨 말씨(22px 선 + 「Notice」) · 밑줄 글 링크 · 차콜 아래 줄(닫기는 청회색 면) ---------- */
.tpl-pop__item { border: 1px solid var(--tpl-line-2); border-top: 3px solid var(--tpl-accent); border-radius: 2px; background: var(--tpl-bg); color: var(--tpl-text); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.tpl-pop__body { padding: 32px 30px 28px; }
.tpl-pop__title { margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__title::before { content: 'Notice'; display: block; margin-bottom: 12px; padding-left: 34px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-accent); background: linear-gradient(var(--tpl-accent), var(--tpl-accent)) 0 50% / 22px 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-block; margin-top: 20px; font-size: 15.5px; font-weight: 600; color: var(--tpl-ink); text-decoration: underline; text-decoration-color: var(--tpl-accent); text-underline-offset: 6px; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { color: var(--tpl-accent); }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-bg-2); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 14.5px; color: var(--tpl-text); transition: color .25s, background-color .25s; }
.tpl-pop__foot button + button { background: var(--tpl-accent); font-weight: 700; color: var(--tpl-on-accent); }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--tpl-panel); color: var(--tpl-ink); }
.tpl-pop__foot button + button:hover, .tpl-pop__foot button + button:focus-visible { background: var(--tpl-accent-d); color: var(--tpl-on-accent); }
