/* ==========================================================================
   올웹 비즈니스 템플릿 48 — 시안 48(한국미래산업재단, 공익 재단 · 지원사업 기관)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz048) · 퀵메뉴 · 팝업은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

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

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색 · 글꼴 토큰, 라벨 · 제목 · 버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼을 담습니다.
   색은 흰 바탕 · 공공 남색 · 연노랑 세 가지를 기본으로 씁니다. 바꾸시려면 :root 값을 고치시면 됩니다. */

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

:root {
  --tpl-navy: #163e72;            /* 공공 남색 : 라벨 · 버튼 · 숫자 띠 (흰 바탕 대비 10.7:1) */
  --tpl-ink: #15233b;             /* 제목 글자 */
  --tpl-text: #3d4554;            /* 본문 글자 */
  --tpl-mute: #5d6574;            /* 보조 글자 (흰 바탕 5.9:1 · 연회색 5.4:1) */
  --tpl-line: #dde2ea;            /* 얇은 선 */
  --tpl-gray: #f3f5f8;            /* 아주 옅은 회색 카드 */
  --tpl-yellow: #f6e7a8;          /* 연노랑 : 신청 안내 띠 · 접수예정 배지 · 남색 위 숫자 */
  --tpl-yellow-line: #e2c75a;     /* 라벨 밑줄 · 강조선(장식용) */
  --tpl-foot: #0f2442;            /* 푸터 짙은 남색 */
  --tpl-font: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 84px;               /* 헤더 높이 */
  --tpl-gnb-gap: 64px;            /* 1차 메뉴 글자 사이 간격(칸 양옆에 절반씩 들어갑니다) */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

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

/* 스크롤 등장 : 짧은 거리 · 느린 곡선 */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--tpl-ease), transform .9s var(--tpl-ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 공통 : 섹션 여백 · 라벨(대문자 영문 + 아래 노란 밑줄) · 제목 ---------- */
.tpl-sec { padding: 150px 0; }
.tpl-label { display: inline-block; padding-bottom: 7px; border-bottom: 3px solid var(--tpl-yellow-line); font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-navy); }
.tpl-label--light { color: #fff; }
.tpl-head__ko { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.38; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-head__txt { margin-top: 14px; font-size: 18px; line-height: 1.7; color: var(--tpl-text); }
.tpl-textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; color: var(--tpl-ink); }
.tpl-textlink .tpl-ico { width: 16px; height: 16px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-textlink:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-textlink:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 공통 버튼 : 사진 위 흰 테두리 버튼 · 남색 버튼 · 남색 테두리 버튼 · 사각 화살표 버튼 ---------- */
.tpl-btn-line { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 0 28px; height: 54px; border: 1px solid rgba(255, 255, 255, .7); font-size: 17px; font-weight: 500; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn-line .tpl-ico { width: 16px; height: 16px; stroke-width: 2; }
.tpl-btn-line:hover { border-color: var(--tpl-yellow); background: var(--tpl-yellow); color: var(--tpl-navy); }
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 30px; border: 1px solid var(--tpl-navy); background: var(--tpl-navy); color: #fff; font-size: 17px; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; stroke-width: 2; }
.tpl-btn:hover { background: var(--tpl-ink); border-color: var(--tpl-ink); }
.tpl-btn--line { background: transparent; color: var(--tpl-navy); }
.tpl-btn--line:hover { background: var(--tpl-navy); color: #fff; }
.tpl-sqbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c9d0db; background: #fff; color: var(--tpl-ink); transition: border-color .25s, background-color .25s, color .25s; }
.tpl-sqbtn .tpl-ico { width: 18px; height: 18px; stroke-width: 1.8; }
.tpl-sqbtn:hover { border-color: var(--tpl-navy); background: var(--tpl-navy); color: #fff; }
.tpl-sqbtn.is-end { color: #b5bcc7; }
.tpl-sqbtn.is-end:hover { border-color: #c9d0db; background: #fff; color: #b5bcc7; }

/* ---------- 로고 : 남색 사각 안에 오르는 노란 막대 3개 + 국문 재단명 · 영문 풀네임 두 줄 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 10px; }
.tpl-logo__mark { width: 30px; height: 30px; flex: none; }
.tpl-logo__mark rect:first-child { fill: currentColor; }
.tpl-logo__txt { display: grid; gap: 3px; line-height: 1; }
.tpl-logo__ko { font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.tpl-logo__en { font-size: 9.5px; font-weight: 500; letter-spacing: .09em; opacity: .8; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(남색 글자) ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: #fff; transition: background-color .35s, color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .22); transition: background-color .35s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open { background: #fff; color: var(--tpl-ink); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after { background: var(--tpl-line); }
.tpl-header.is-scrolled .tpl-logo, .tpl-header.is-mega-open .tpl-logo { color: var(--tpl-navy); }
.tpl-header__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: none; }
/* 1차 메뉴는 로고와 유틸 사이 남는 폭의 가운데에 두고, 양옆에 최소 24px 를 비워 붙지 않게 합니다 */
.tpl-gnb { height: 100%; margin: 0 auto; padding: 0 24px; }
.tpl-gnb__list { display: flex; height: 100%; }
/* 1차 메뉴 : 칸 양옆에 같은 여백을 주어 글자 사이 간격을 모두 같게 둡니다. 2차 열은 칸(li) 폭을 그대로 따릅니다 */
.tpl-gnb__item { position: relative; height: 100%; padding: 0 calc(var(--tpl-gnb-gap) / 2); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 18px; font-weight: 500; white-space: nowrap; }
/* hover 표시는 글자 밑 선 하나만 그립니다 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: currentColor; transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.is-scrolled .tpl-gnb__link::after, .is-mega-open .tpl-gnb__link::after { background: var(--tpl-navy); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after, .tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -6px; }
.tpl-util { display: flex; flex: none; justify-content: flex-end; align-items: center; gap: 22px; font-size: 15px; white-space: nowrap; }
.tpl-util__member { display: flex; gap: 16px; }
.tpl-util__member a { opacity: .85; }
.tpl-util a:not(.tpl-util__apply):hover { text-decoration: underline; text-underline-offset: 4px; }
/* 사업 신청 : 헤더 오른쪽의 연노랑 사각 버튼(투명 · 흰 헤더 모두 같은 색) */
.tpl-util__apply { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: var(--tpl-yellow); color: var(--tpl-navy); font-weight: 700; transition: background-color .25s, color .25s; }
.tpl-util__apply .tpl-ico { width: 16px; height: 16px; stroke-width: 2; }
.tpl-util__apply:hover { background: var(--tpl-navy); color: #fff; }
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 14px; } .tpl-burger i:nth-child(2) { top: 21px; right: 17px; } .tpl-burger i:nth-child(3) { top: 28px; }

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

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

/* ---------- 푸터 : 짙은 남색. 위 로고 · 대표 전화, 가운데 메뉴 5열, 아래 정책 · 주소 · 관련 기관 ---------- */
.tpl-footer { background: var(--tpl-foot); color: #a9b4c6; font-size: 15px; line-height: 1.7; }
.tpl-footer__in { padding: 64px 0 48px; }
.tpl-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tpl-logo--foot { color: #fff; }
.tpl-logo--foot .tpl-logo__mark rect:first-child { fill: #26508c; }
.tpl-footer__call { display: flex; align-items: baseline; gap: 14px; color: #fff; }
.tpl-footer__call span { font-size: 15px; color: #a9b4c6; }
.tpl-footer__call a { font-size: 28px; font-weight: 700; letter-spacing: 0; }
.tpl-footer__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 40px 0 44px; }
.tpl-footer__nav h2 { margin-bottom: 14px; font-size: 16.5px; font-weight: 700; color: #fff; }
.tpl-footer__nav li + li { margin-top: 6px; }
.tpl-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 14px; font-size: 15px; color: #d4dbe6; }
.tpl-footer__policy b { font-weight: 700; color: var(--tpl-yellow); }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address { font-size: 14.5px; }
.tpl-footer address span { display: inline-block; margin-right: 14px; }
.tpl-footer__copy { margin-top: 4px; font-size: 14px; letter-spacing: .02em; }
.tpl-family { position: relative; flex: none; }
.tpl-family__btn { display: flex; align-items: center; justify-content: space-between; width: 200px; height: 44px; padding: 0 14px 0 16px; border: 1px solid rgba(255, 255, 255, .4); font-size: 15px; color: #fff; }
.tpl-family__btn .tpl-ico { width: 15px; height: 15px; transition: transform .35s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-family__list { position: absolute; left: 0; bottom: calc(100% + 6px); width: 200px; padding: 8px 0; border: 1px solid rgba(255, 255, 255, .25); background: #0a1a31; }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 14.5px; color: #c4cddb; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #16304f; }

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

/* ---------- 반응형 ---------- */
@media (max-width: 1360px) {
  :root { --tpl-gnb-gap: 48px; }
  .tpl-util { gap: 16px; }
}
@media (max-width: 1280px) {
  .tpl-logo__en { display: none; }
  .tpl-util__member a + a { display: none; }
}
@media (max-width: 1200px) {
  :root { --tpl-gnb-gap: 40px; --tpl-side: 32px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-gap: 30px; }
  .tpl-util__apply { display: none; }
}
@media (max-width: 1024px) {
  :root { --tpl-hd-h: 68px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-logo__en { display: block; }
  .tpl-sec { padding: 120px 0; }
  .tpl-head__ko { font-size: 38px; }
  .tpl-footer__top { flex-direction: column; align-items: flex-start; }
  .tpl-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 62px; }
  .tpl-sec { padding: 96px 0; }
  .tpl-head__ko { margin-top: 16px; font-size: 30px; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-btn-line { margin-top: 30px; height: 48px; padding: 0 22px; font-size: 16px; }
  .tpl-logo__mark { width: 26px; height: 26px; }
  .tpl-logo__ko { font-size: 18px; }
  .tpl-logo__en { font-size: 8.5px; letter-spacing: .06em; }
  .tpl-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-footer__call a { font-size: 24px; }
  .tpl-totop { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 비주얼, 사업 분야 바로가기, 지원 사업 공고, 연간 지원 실적, 대표 사업, 신청 절차, 현장 스케치, 재단 소식, 오시는 길을 담습니다. */

/* ---------- 메인 비주얼 : 높이 70vh(최소 560px) · 배경은 섹션에 고정(스크롤해도 움직이지 않음) ---------- */
.tpl-visual { position: relative; height: 70vh; min-height: 560px; overflow: hidden; background: #1d2f4a; color: #fff; isolation: isolate; }
.tpl-visual__media { position: absolute; inset: 0; z-index: -2; }
.tpl-visual__media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(9, 22, 42, .45) 0%, rgba(9, 22, 42, 0) 32%), rgba(9, 22, 42, .5); }
/* 나가는 장은 들어오는 장이 다 나타날 때까지 불투명하게 그대로 있다가 사라집니다(두 장이 동시에 옅어지며 어두운 바탕이 비치던 튐을 없앴습니다). */
.tpl-visual__item { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0s linear var(--tpl-vspeed, 1200ms), visibility 0s linear var(--tpl-vspeed, 1200ms); }
.tpl-visual__item.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity var(--tpl-vspeed, 1200ms) ease; }
.tpl-visual__item > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.tpl-visual__in { position: relative; height: 100%; }
/* 문구는 비주얼 가운데 : 굵은 제목 → 설명 한 줄 → 테두리 버튼 순서로 나타납니다(좌우 화살표를 피해 양옆 120px 안쪽) */
.tpl-visual__caps { position: absolute; inset: var(--tpl-hd-h) 120px 76px; display: grid; place-items: center; text-align: center; }
.tpl-visual__cap { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--tpl-ease); }
.tpl-visual__cap > .tpl-btn-line { transition: background-color .3s, color .3s, border-color .3s; }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition-duration: 1s; }
.tpl-visual__cap.is-active .tpl-visual__title { transition-delay: .1s; }
.tpl-visual__cap.is-active .tpl-visual__desc { transition-delay: .3s; }
.tpl-visual__cap.is-active .tpl-btn-line { transition-delay: .5s; }
.tpl-visual__title { font-size: 56px; font-weight: 700; line-height: 1.25; letter-spacing: -.05em; }
.tpl-visual__desc { margin-top: 18px; font-size: 20px; font-weight: 400; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.tpl-visual__ctrl { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.tpl-visual__count { display: flex; align-items: center; gap: 14px; font-size: 15px; letter-spacing: .02em; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.tpl-visual__count b { font-weight: 700; color: #fff; }
.tpl-visual__count span { position: relative; width: 80px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__count span::after { content: ''; position: absolute; inset: 0; background: var(--tpl-yellow); transform: scaleX(0); transform-origin: left; }
.tpl-visual.is-run .tpl-visual__count span::after { animation: tplFill var(--tpl-vdelay, 6500ms) linear forwards; }
@keyframes tplFill { to { transform: scaleX(1); } }
/* 일시정지 : 사각 테두리 버튼 */
.tpl-visual__pause { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; transition: background-color .25s, color .25s; }
.tpl-visual__pause i { display: grid; place-items: center; }
.tpl-visual__pause-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpl-visual__pause .tpl-ico { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.tpl-visual__pause:hover { background: #fff; color: var(--tpl-navy); }
.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: 2; display: grid; place-items: center; width: 72px; height: 72px; margin-top: calc(var(--tpl-hd-h) / 2 - 36px); color: rgba(255, 255, 255, .8); transition: color .25s, transform .35s var(--tpl-ease); }
.tpl-visual__arrow--prev { left: 14px; }
.tpl-visual__arrow--next { right: 14px; }
.tpl-visual__arrow .tpl-ico { width: 56px; height: 56px; stroke-width: 1; }
.tpl-visual__arrow--prev:hover { transform: translateX(-4px); color: #fff; }
.tpl-visual__arrow--next:hover { transform: translateX(4px); color: #fff; }

/* ---------- 사업 분야 바로가기 : 왼쪽 제목 · 오른쪽 6칸, 위 남색 2px 선 · 칸 사이 세로선 ---------- */
.tpl-fields { padding: 72px 0 0; }
.tpl-fields__in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; }
.tpl-fields__title { margin-top: 16px; font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-fields__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); }
.tpl-fields__list li + li { border-left: 1px solid var(--tpl-line); }
.tpl-fields__list a { display: grid; justify-items: center; gap: 4px; padding: 30px 8px 28px; text-align: center; transition: background-color .25s; }
.tpl-fields__list .tpl-ico { width: 34px; height: 34px; margin-bottom: 10px; stroke-width: 1.4; color: var(--tpl-navy); transition: transform .35s var(--tpl-ease); }
.tpl-fields__list strong { font-size: 18px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-fields__list span { font-size: 14.5px; color: var(--tpl-mute); }
.tpl-fields__list a:hover { background: var(--tpl-gray); }
.tpl-fields__list a:hover .tpl-ico { transform: translateY(-3px); }
.tpl-fields__list a:hover strong { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 지원 사업 공고 : 상태 거르기 + 표처럼 정렬한 목록 ---------- */
.tpl-notice { padding-top: 120px; }
.tpl-notice__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-notice__filter { display: flex; flex: none; }
.tpl-notice__filter button { position: relative; height: 44px; padding: 0 18px; border: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); transition: color .2s, background-color .2s, border-color .2s; }
.tpl-notice__filter button + button { margin-left: -1px; }
.tpl-notice__filter b { margin-left: 2px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tpl-notice__filter button:hover { color: var(--tpl-ink); }
.tpl-notice__filter button[aria-pressed="true"] { z-index: 1; border-color: var(--tpl-navy); background: var(--tpl-navy); color: #fff; font-weight: 500; }
.tpl-notice__list { margin-top: 48px; border-top: 2px solid var(--tpl-ink); }
.tpl-notice__list li { border-bottom: 1px solid var(--tpl-line); }
.tpl-notice__list li[hidden] { display: none; }
.tpl-notice__list a { display: grid; grid-template-columns: 92px 120px minmax(0, 1fr) 210px 96px; align-items: center; gap: 16px; padding: 22px 12px; transition: background-color .2s; }
.tpl-notice__list a:hover { background: var(--tpl-gray); }
.tpl-notice__list a:hover .tpl-notice__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-badge { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 30px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.tpl-badge--open { background: var(--tpl-navy); color: #fff; }
.tpl-badge--soon { background: var(--tpl-yellow); color: var(--tpl-navy); }
.tpl-badge--closed { border: 1px solid #c3c9d3; color: var(--tpl-mute); }
.tpl-notice__cat { font-size: 15.5px; color: var(--tpl-navy); font-weight: 500; }
.tpl-notice__tit { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 19px; font-weight: 500; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-notice__date { font-size: 15.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-notice__dday { justify-self: end; font-size: 16px; font-weight: 700; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }
.tpl-notice__dday.is-near { color: #b3261e; }
.tpl-notice__dday.is-mute { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-notice__more { margin-top: 28px; text-align: right; }

/* ---------- 연간 지원 실적 : 남색 띠 ---------- */
.tpl-result { background: var(--tpl-navy); color: #fff; }
.tpl-result__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 60px; padding: 120px 0; }
.tpl-result__title { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; }
.tpl-result__txt { margin: 16px 0 36px; font-size: 17px; color: rgba(255, 255, 255, .78); }
.tpl-textlink--light { color: #fff; }
.tpl-result__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .3); }
.tpl-result__nums > div { padding: 30px 0 32px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.tpl-result__nums > div:nth-child(even) { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .18); }
.tpl-result__nums dt { font-size: 16.5px; color: rgba(255, 255, 255, .8); }
.tpl-result__nums dd { margin-top: 8px; font-size: 58px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-yellow); font-variant-numeric: tabular-nums; }
.tpl-result__nums small { margin-left: 6px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.tpl-result__bar { margin-top: 40px; }
.tpl-result__bar-tit { font-size: 16px; color: rgba(255, 255, 255, .8); }
.tpl-result__track { display: flex; height: 14px; margin-top: 14px; }
.tpl-result__track span:nth-child(1), .tpl-result__legend li:nth-child(1) i { background: var(--tpl-yellow); }
.tpl-result__track span:nth-child(2), .tpl-result__legend li:nth-child(2) i { background: #ffffff; }
.tpl-result__track span:nth-child(3), .tpl-result__legend li:nth-child(3) i { background: #93acd0; }
.tpl-result__track span:nth-child(4), .tpl-result__legend li:nth-child(4) i { background: #4f78b0; }
.tpl-result__legend { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.tpl-result__legend li { display: flex; align-items: center; gap: 8px; }
.tpl-result__legend i { width: 10px; height: 10px; }

/* ---------- 대표 사업 : 세로형 사진 카드 캐러셀 ---------- */
.tpl-slider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-slider__side { display: flex; align-items: center; gap: 28px; }
.tpl-slider__arrows { display: flex; gap: 6px; }
/* 가로 캐러셀 공용(대표 사업 · 현장 스케치) : --per 장씩 보입니다 */
.tpl-track { --per: 4; --gap: 24px; display: flex; gap: var(--gap); margin-top: 52px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tpl-track::-webkit-scrollbar { display: none; }
.tpl-track > li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; }
.tpl-prog > a { display: block; }
.tpl-prog__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tpl-gray); }
.tpl-prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--tpl-ease); }
.tpl-prog__tag { position: absolute; left: 0; top: 0; padding: 8px 14px; background: var(--tpl-navy); font-size: 14.5px; font-weight: 500; color: #fff; }
.tpl-prog a:hover img, .tpl-prog a:focus-visible img { transform: scale(1.04); }
.tpl-prog a:focus-visible { outline-offset: 4px; }
.tpl-prog__tit { display: block; margin-top: 22px; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-prog a:hover .tpl-prog__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-prog__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-prog__meta { display: flex; gap: 0; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--tpl-line); font-size: 15px; color: var(--tpl-mute); }
.tpl-prog__meta span + span::before { content: ''; display: inline-block; width: 1px; height: 11px; margin: 0 12px; background: #c3c9d3; }
.tpl-prog__meta span:first-child { font-weight: 700; color: var(--tpl-navy); }

/* ---------- 신청 절차 : 연노랑 띠, 왼쪽 제목 · 버튼, 오른쪽 4단계 ---------- */
.tpl-steps { background: var(--tpl-yellow); color: var(--tpl-ink); }
.tpl-steps__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 60px; align-items: start; padding: 100px 0; }
.tpl-steps .tpl-label { border-bottom-color: var(--tpl-navy); }
.tpl-steps__title { margin-top: 20px; font-size: 38px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; }
.tpl-steps__txt { margin-top: 12px; font-size: 17px; color: #3a3a2e; }
.tpl-steps__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tpl-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; }
.tpl-steps__list li { position: relative; padding: 28px 28px 4px 0; border-top: 2px solid var(--tpl-navy); }
.tpl-steps__list li:not(:last-child)::after { content: ''; position: absolute; right: 14px; top: -7px; width: 12px; height: 12px; border-top: 2px solid var(--tpl-navy); border-right: 2px solid var(--tpl-navy); transform: rotate(45deg); background: var(--tpl-yellow); }
.tpl-steps__no { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--tpl-navy); }
.tpl-steps__list strong { display: block; margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.tpl-steps__list p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: #3a3a2e; }
.tpl-steps__list em { display: block; margin-top: 14px; font-size: 14.5px; font-style: normal; font-weight: 500; color: var(--tpl-navy); }

/* ---------- 현장 스케치 : 갤러리 최대 10장, 한 화면 3장(1024↓ 2장, 600↓ 1장) ---------- */
.tpl-gallery__track { --per: 3; --gap: 28px; }
.tpl-gallery__card > a { display: block; }
.tpl-gallery__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--tpl-ease); }
.tpl-gallery__card a:hover img, .tpl-gallery__card a:focus-visible img { transform: scale(1.05); }
.tpl-gallery__card a:focus-visible { outline-offset: 4px; }
.tpl-gallery__cat { display: inline-block; margin-top: 22px; padding: 2px 8px; border: 1px solid var(--tpl-navy); font-size: 14px; font-weight: 500; color: var(--tpl-navy); }
.tpl-gallery__tit { display: block; margin-top: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-gallery__card a:hover .tpl-gallery__tit { text-decoration: underline; text-underline-offset: 5px; }
/* 내용은 두 줄까지 보이고 넘치면 … 로 줄입니다(두 줄 높이를 확보해 카드 높이를 맞춥니다) */
.tpl-gallery__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-gallery__date { display: block; margin-top: 12px; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 재단 소식 : 왼쪽 제목 · 자료, 오른쪽 최신글 카드 2개 ---------- */
.tpl-updates { padding-top: 0; }
.tpl-updates__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; padding-top: 120px; border-top: 1px solid var(--tpl-line); }
.tpl-updates__sub { margin-top: 44px; font-size: 16px; font-weight: 700; color: var(--tpl-ink); }
.tpl-files { margin-top: 12px; border-top: 1px solid var(--tpl-ink); }
.tpl-files a { display: flex; align-items: center; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-text); }
.tpl-files span { font-size: 12.5px; font-weight: 700; color: var(--tpl-navy); letter-spacing: .04em; }
.tpl-files .tpl-ico { width: 17px; height: 17px; margin-left: auto; color: var(--tpl-navy); }
.tpl-files a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-updates__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.tpl-latest { min-width: 0; padding: 32px 36px 30px; border-top: 3px solid var(--tpl-navy); background: var(--tpl-gray); }
.tpl-latest__top { display: flex; align-items: center; justify-content: space-between; }
.tpl-latest__tit { font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-latest__more { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; color: var(--tpl-ink); }
.tpl-latest__more:hover { color: var(--tpl-navy); }
.tpl-latest__list { margin-top: 18px; }
.tpl-latest__list li { display: flex; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid #e2e6ec; font-size: 16.5px; }
.tpl-latest__list li:last-child { border-bottom: 0; }
.tpl-latest__list a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #2f3644; }
.tpl-latest__list a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-latest__re { display: inline-block; margin-right: 7px; padding: 0 6px; background: var(--tpl-yellow); font-size: 13px; font-weight: 700; line-height: 20px; color: var(--tpl-navy); vertical-align: 1px; }
.tpl-latest__date { flex: none; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 오시는 길 : 흰 바탕(위 선) + 연락처 + 지도 ---------- */
.tpl-contact { padding-top: 0; }
.tpl-contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 60px; align-items: center; padding-top: 120px; border-top: 1px solid var(--tpl-line); }
.tpl-contact__tel { display: grid; gap: 4px; margin-top: 40px; }
.tpl-contact__tel div { display: flex; align-items: baseline; gap: 18px; }
.tpl-contact__tel dt { width: 80px; font-size: 16px; font-weight: 500; color: var(--tpl-mute); }
.tpl-contact__tel dd { font-size: 38px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: var(--tpl-navy); }
.tpl-contact__meta { display: grid; gap: 8px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-contact__meta li { display: flex; align-items: flex-start; gap: 10px; }
.tpl-contact__meta .tpl-ico { width: 17px; height: 17px; margin-top: 5px; color: var(--tpl-navy); }
.tpl-contact__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 340px; background: #e6e9ee; }
.tpl-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.85); }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--tpl-navy); color: #fff; font-size: 15px; font-weight: 500; }
.tpl-contact__maplink .tpl-ico { width: 15px; height: 15px; }
.tpl-contact__maplink:hover { background: var(--tpl-ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-fields__in { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
  .tpl-fields__title { font-size: 23px; }
  .tpl-notice__list a { grid-template-columns: 86px 108px minmax(0, 1fr) 196px 88px; gap: 12px; }
  .tpl-result__nums dd { font-size: 50px; }
  .tpl-steps__title { font-size: 34px; }
}
@media (max-width: 1140px) {
  .tpl-fields__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tpl-notice__list a { grid-template-columns: 82px minmax(0, 1fr) auto; grid-template-areas: 'badge cat dday' 'tit tit tit' 'date date date'; row-gap: 6px; padding: 20px 4px; }
  .tpl-notice__list .tpl-badge { grid-area: badge; }
  .tpl-notice__cat { grid-area: cat; }
  .tpl-notice__tit { grid-area: tit; white-space: normal; }
  .tpl-notice__date { grid-area: date; }
  .tpl-notice__dday { grid-area: dday; }
}
@media (max-width: 1024px) {
  .tpl-visual__title { font-size: 44px; }
  .tpl-visual__desc { font-size: 18.5px; }
  .tpl-notice { padding-top: 120px; }
.tpl-notice__head { flex-direction: column; align-items: flex-start; }
  .tpl-result__in, .tpl-steps__in { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 100px 0; }
  .tpl-result__title { font-size: 38px; }
  .tpl-programs__track { --per: 2; }
  .tpl-gallery__track { --per: 2; --gap: 20px; }
  .tpl-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .tpl-steps__list li:nth-child(2)::after { display: none; }
  .tpl-updates__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 100px; }
  .tpl-contact__in { grid-template-columns: minmax(0, 1fr); padding-top: 100px; }
}
@media (max-width: 768px) {
  .tpl-visual__caps { inset: var(--tpl-hd-h) 52px 70px; }
  .tpl-visual__title { font-size: 34px; line-height: 1.3; }
  .tpl-visual__desc { margin-top: 14px; font-size: 16.5px; }
  .tpl-visual__ctrl { bottom: 24px; }
  .tpl-visual__arrow { width: 44px; height: 44px; margin-top: calc(var(--tpl-hd-h) / 2 - 22px); }
  .tpl-visual__arrow--prev { left: 4px; }
  .tpl-visual__arrow--next { right: 4px; }
  .tpl-visual__arrow .tpl-ico { width: 36px; height: 36px; }
  .tpl-fields { padding-top: 56px; }
  .tpl-fields__title { font-size: 22px; }
  .tpl-fields__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-fields__list li:nth-child(4) { border-left: 0; }
  .tpl-fields__list li:nth-child(n+4) { border-top: 1px solid var(--tpl-line); }
  .tpl-fields__list a { padding: 22px 4px 20px; }
  .tpl-fields__list .tpl-ico { width: 28px; height: 28px; margin-bottom: 6px; }
  .tpl-fields__list strong { font-size: 16px; }
  .tpl-fields__list span { font-size: 13.5px; }
  .tpl-notice { padding-top: 88px; }
  .tpl-notice__filter { width: 100%; }
  .tpl-notice__filter button { flex: 1; padding: 0 4px; font-size: 15px; }
  .tpl-notice__list { margin-top: 32px; }
  .tpl-notice__tit { font-size: 17.5px; }
  .tpl-result__in, .tpl-steps__in { padding: 80px 0; }
  .tpl-result__title { font-size: 30px; }
  .tpl-result__nums > div:nth-child(even) { padding-left: 20px; }
  .tpl-result__nums dd { font-size: 36px; }
  .tpl-result__nums small { font-size: 16px; }
  .tpl-steps__title { font-size: 28px; }
  .tpl-steps__list { grid-template-columns: minmax(0, 1fr); }
  .tpl-steps__list li::after { display: none; }
  .tpl-steps__list li { padding: 20px 0 4px; }
  .tpl-slider__side .tpl-textlink { display: none; }
  .tpl-track { margin-top: 36px; }
  .tpl-updates__grid, .tpl-contact__in { padding-top: 80px; }
  .tpl-updates__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tpl-latest { padding: 26px 22px 22px; }
  .tpl-latest__list li { gap: 12px; font-size: 16px; }
  .tpl-contact__tel dd { font-size: 30px; }
  .tpl-contact__map { aspect-ratio: 4 / 3; min-height: 280px; }
}
@media (max-width: 600px) {
  .tpl-visual__caps { inset: var(--tpl-hd-h) 50px 70px; }
  .tpl-visual__title { font-size: 30px; }
  .tpl-visual__desc { font-size: 16px; }
  .tpl-programs__track { --per: 1; }
  .tpl-gallery__track { --per: 1; }
  .tpl-result__nums { grid-template-columns: minmax(0, 1fr); }
  .tpl-result__nums > div:nth-child(even) { padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { scroll-behavior: auto; }
}

/* ---------- 메인 문의 · 오시는 길 : 카카오 지도 (2026-11-11 구글 지도에서 바꿈) ----------
   카카오 화면 왼쪽 검색 창은 상자 overflow:hidden + iframe 을 왼쪽으로 420px 밀어 가립니다. 흑백 filter 는 끕니다. */
.tpl-contact__map { overflow: hidden; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; filter: none; }
.tpl-contact__maplink { z-index: 1; }
@media (max-width: 768px) { .tpl-contact__map { aspect-ratio: auto; height: 460px; min-height: 0; } }

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 전용입니다. 서브 비주얼, 위치 표시와 2차 메뉴 탭, 본문 폭 · 여백, 인사말 · 재단 개요 부품을 담습니다.
   색 · 글꼴 · 라벨 · 버튼은 common.css 를 그대로 씁니다. 배경 사진은 스크롤해도 움직이지 않습니다(패럴랙스 없음). */

/* ---------- 서브 비주얼 : 풀폭 사진 + 남색 막, 가운데 큰 제목 (PC 440px · 1024↓ 380px · 768↓ 320px) ---------- */
.tpl-subvis { position: relative; display: flex; align-items: center; height: 440px; overflow: hidden; background: #1d2f4a; color: #fff; text-align: center; isolation: isolate; }
.tpl-subvis__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 22, 42, .5) 0%, rgba(9, 22, 42, 0) 40%), rgba(9, 22, 42, .5); }
.tpl-subvis__in { display: flex; flex-direction: column; align-items: center; padding-top: var(--tpl-hd-h); }
.tpl-subvis__in > * { animation: tplRise .9s var(--tpl-ease) both; }
.tpl-subvis__title { margin-top: 20px; font-size: 54px; font-weight: 700; line-height: 1.25; letter-spacing: -.05em; animation-delay: .1s; }
.tpl-subvis__desc { margin-top: 14px; font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .9); animation-delay: .25s; }
@keyframes tplRise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽). 1024px 이하에서는 위아래로 나뉘고 탭은 가로로 밀어 봅니다 ---------- */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 72px; }
.tpl-loc ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--tpl-mute); }
.tpl-loc li { display: flex; align-items: center; }
.tpl-loc li + li::before { content: ''; width: 6px; height: 6px; margin: 0 14px 0 12px; border-top: 1px solid #9aa3b1; border-right: 1px solid #9aa3b1; transform: rotate(45deg); }
.tpl-loc a { display: flex; align-items: center; }
.tpl-loc a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-loc .tpl-ico { width: 17px; height: 17px; }
.tpl-loc li[aria-current] { font-weight: 700; color: var(--tpl-navy); }
.tpl-snb__tabs ul { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 72px; padding: 0 22px; font-size: 17px; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--tpl-navy); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a:hover, .tpl-snb__tabs a[aria-current] { color: var(--tpl-navy); }
.tpl-snb__tabs a[aria-current] { font-weight: 700; }
.tpl-snb__tabs a[aria-current]::after { transform: scaleX(1); }
/* 탭 밑줄은 늘 하나만: 마우스 환경에서만 hover 선을 보이고, 다른 탭에 올리면 현재 탭 선을 거둡니다(터치 후 선이 남지 않음) */
@media (hover: hover) {
  .tpl-snb__tabs a:hover::after { transform: scaleX(1); }
  .tpl-snb__tabs:hover a[aria-current]:not(:hover)::after { transform: scaleX(0); }
}
.tpl-snb__tabs li:last-child a { margin-right: -22px; }

/* ---------- 본문 : .tpl-block(섹션) > .tpl-inner(폭 1280px). .tpl-block--line 은 위에 얇은 선을 두고 여백을 한 번만 씁니다 ---------- */
.tpl-inner { width: calc(100% - var(--tpl-side) * 2); max-width: 1280px; margin: 0 auto; }
.tpl-block { padding: 130px 0; }
.tpl-block--line { padding-top: 0; }
.tpl-block--line > .tpl-inner { padding-top: 120px; border-top: 1px solid var(--tpl-line); }

/* ---------- 인사말 : 위 큰 제목 → 왼쪽 사진(설명 띠) · 오른쪽 글 + 서명 ---------- */
.tpl-greet__title { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.38; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-greet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 80px; align-items: start; margin-top: 64px; padding-top: 64px; border-top: 2px solid var(--tpl-ink); }
.tpl-greet__photo { position: relative; background: var(--tpl-gray); }
.tpl-greet__photo img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; }
.tpl-greet__photo figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 20px; background: var(--tpl-navy); font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.tpl-greet__photo figcaption strong { margin-left: 6px; font-size: 18px; font-weight: 700; color: #fff; }
.tpl-greet__body { font-size: 18px; line-height: 1.95; }
.tpl-greet__body p + p { margin-top: 1.2em; }
.tpl-greet__lead { padding-left: 20px; border-left: 4px solid var(--tpl-yellow-line); font-size: 22px; font-weight: 500; line-height: 1.7; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-greet__body .tpl-greet__lead + p { margin-top: 36px; }
.tpl-greet__sign { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 48px !important; padding-top: 28px; border-top: 1px solid var(--tpl-line); font-size: 16px; line-height: 1.5; color: var(--tpl-mute); }
.tpl-greet__sign strong { margin-left: 10px; font-size: 26px; font-weight: 700; letter-spacing: .14em; color: var(--tpl-ink); }

/* ---------- 재단 개요 : 왼쪽 제목 · 오른쪽 숫자 4칸 + 표 ---------- */
.tpl-overview { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; }
.tpl-overview__title { margin-top: 20px; font-size: 46px; font-weight: 700; line-height: 1.3; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-overview__note { margin-top: 12px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); }
.tpl-stats > li { padding: 26px 24px 28px; }
.tpl-stats > li + li { border-left: 1px solid var(--tpl-line); }
.tpl-stats p { font-size: 16px; color: var(--tpl-mute); }
.tpl-stats strong { display: block; margin-top: 6px; font-size: 42px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }
.tpl-stats small { margin-left: 4px; font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-table { margin-top: 48px; border-top: 1px solid var(--tpl-ink); font-size: 17px; }
.tpl-table th, .tpl-table td { padding: 18px 20px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-table th { width: 200px; background: var(--tpl-gray); font-weight: 500; color: var(--tpl-ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-snb__tabs a { padding: 0 16px; }
  .tpl-snb__tabs a::after { left: 16px; right: 16px; }
  .tpl-snb__tabs li:last-child a { margin-right: -16px; }
  .tpl-greet { gap: 0 56px; }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 380px; }
  .tpl-subvis__title { font-size: 46px; }
  .tpl-subvis__desc { font-size: 18px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .tpl-loc { padding: 16px 0; }
  .tpl-snb__tabs { margin: 0 calc(var(--tpl-side) * -1); border-top: 1px solid var(--tpl-line); }
  .tpl-snb__tabs ul { overflow-x: auto; padding: 0 calc(var(--tpl-side) - 16px); scrollbar-width: none; }
  .tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs a { height: 56px; font-size: 16.5px; }
  .tpl-snb__tabs li:last-child a { margin-right: 0; }
  .tpl-block { padding: 100px 0; }
  .tpl-block--line { padding-top: 0; }
  .tpl-block--line > .tpl-inner { padding-top: 100px; }
  .tpl-greet__title, .tpl-overview__title { font-size: 38px; }
  .tpl-greet { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0 40px; }
  .tpl-overview { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tpl-stats strong { font-size: 34px; }
  .tpl-stats > li { padding: 22px 16px 24px; }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 320px; }
  .tpl-subvis__title { margin-top: 16px; font-size: 34px; }
  .tpl-subvis__desc { margin-top: 10px; padding: 0 8px; font-size: 16px; }
  .tpl-block { padding: 80px 0; }
  .tpl-block--line { padding-top: 0; }
  .tpl-block--line > .tpl-inner { padding-top: 80px; }
  .tpl-greet__title, .tpl-overview__title { margin-top: 16px; font-size: 29px; }
  .tpl-greet { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; padding-top: 40px; }
  .tpl-greet__photo img { aspect-ratio: 4 / 4.4; }
  .tpl-greet__body { font-size: 17px; line-height: 1.85; }
  .tpl-greet__lead { padding-left: 16px; font-size: 19px; }
  .tpl-greet__sign strong { font-size: 22px; }
  .tpl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-stats > li:nth-child(3) { border-left: 0; }
  .tpl-stats > li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-stats strong { font-size: 30px; }
  .tpl-stats small { font-size: 15px; }
  .tpl-table { margin-top: 32px; font-size: 16px; }
  .tpl-table th, .tpl-table td { padding: 14px 12px; }
  .tpl-table th { width: 96px; }
}

/* ==========================================================================
   서브페이지 추가 (2026-11-11) : 연혁 · 비전 · 조직 · 오시는 길 · 지원사업 · 성과 자료 · 신청서 · 게시판(목록 · 보기 · 쓰기) ·
   FAQ · 현장 스케치 · 채용 · 회원 · 정책 화면 부품입니다. 위의 기존 규칙은 고치지 않고 덧붙이기만 했습니다.
   게시판 · 입력 화면은 모두 본문 .tpl-inner(최대 1280px)와 같은 폭이며, 좁게 둔 것은 로그인 상자(.tpl-mbox)뿐입니다.
   ========================================================================== */

/* ---------- 공통 : 섹션 머리 · 작은 제목 · 표 · 꼬리표 · 버튼 ---------- */
.tpl-block--gray { background: var(--tpl-gray); }
.tpl-shead { margin-bottom: 56px; }
.tpl-shead__title { margin-top: 20px; font-size: 42px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-shead__txt { margin-top: 14px; font-size: 18px; line-height: 1.75; color: var(--tpl-text); }
.tpl-shead--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.tpl-h4 { margin-bottom: 20px; font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-h4--gap { margin-top: 72px; }
.tpl-scroll { overflow-x: auto; }
.tpl-dtable { width: 100%; border-top: 2px solid var(--tpl-ink); background: #fff; font-size: 16.5px; }
.tpl-dtable th, .tpl-dtable td { padding: 17px 18px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-dtable thead th { background: var(--tpl-gray); font-size: 15.5px; font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 500; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable td { color: var(--tpl-text); }
.tpl-dtable .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tpl-dtable a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--tpl-navy); font-size: 13.5px; font-weight: 500; line-height: 1.6; color: var(--tpl-navy); white-space: nowrap; vertical-align: 1px; }
.tpl-tag--on { background: var(--tpl-navy); color: #fff; }
.tpl-tag--y { border-color: var(--tpl-yellow); background: var(--tpl-yellow); color: var(--tpl-navy); }
.tpl-tag--off { border-color: #c3c9d3; color: var(--tpl-mute); }
.tpl-badge { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 30px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.tpl-badge--open { background: var(--tpl-navy); color: #fff; }
.tpl-badge--soon { background: var(--tpl-yellow); color: var(--tpl-navy); }
.tpl-badge--closed { border: 1px solid #c3c9d3; color: var(--tpl-mute); }
button.tpl-btn { cursor: pointer; }
.tpl-btn { white-space: nowrap; }
.tpl-btn--full { width: 100%; }
.tpl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.tpl-btns--end { justify-content: flex-end; }
.tpl-dash { display: grid; gap: 6px; }
.tpl-dash li { position: relative; padding-left: 18px; }
.tpl-dash li::before { content: ''; position: absolute; left: 0; top: .8em; width: 8px; height: 3px; background: var(--tpl-yellow-line); }

/* ---------- 연혁 : 시기 묶음마다 왼쪽 시기 이름(따라 내려옴) · 오른쪽 해마다 한 일 ---------- */
.tpl-hist { border-top: 2px solid var(--tpl-ink); }
.tpl-hist__era { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 72px; padding: 56px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__when { position: sticky; top: calc(var(--tpl-hd-h) + 32px); align-self: start; font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }
.tpl-hist__when small { display: block; margin-top: 14px; padding-top: 12px; border-top: 3px solid var(--tpl-yellow-line); width: max-content; font-size: 18px; font-weight: 500; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-hist__list > li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 16px 0; }
.tpl-hist__list > li + li { border-top: 1px dashed var(--tpl-line); }
.tpl-hist__list b { font-size: 21px; font-weight: 700; line-height: 1.5; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-hist__list ul { display: grid; gap: 4px; font-size: 17.5px; color: var(--tpl-text); }

/* ---------- 비전과 목표 : 남색 비전 문장 띠 · 목표 4칸 · 전략 표 ---------- */
.tpl-vision { padding: 64px 64px 68px; background: var(--tpl-navy); color: #fff; }
.tpl-vision__txt { margin-top: 24px; font-size: 44px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; }
.tpl-vision__sub { margin-top: 18px; font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, .86); }
.tpl-goals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 2px solid var(--tpl-ink); }
.tpl-goals > li { padding: 32px 28px 36px 0; }
.tpl-goals > li + li { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-goals__no { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-navy); }
.tpl-goals h4 { margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-goals strong { display: block; margin-top: 18px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }
.tpl-goals strong small { margin-left: 3px; font-size: 16px; font-weight: 500; color: var(--tpl-ink); }
.tpl-goals p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--tpl-text); }
.tpl-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl-values li { padding: 32px 32px 36px; border-top: 3px solid var(--tpl-yellow-line); background: #fff; }
.tpl-values b { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-navy); }
.tpl-values h4 { margin-top: 10px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-values p { margin-top: 10px; font-size: 16.5px; line-height: 1.75; color: var(--tpl-text); }

/* ---------- 조직 및 임원 : 이사회 · 이사장 → 감사 · 사무총장 → 3본부 · 지역 거점 ---------- */
.tpl-org { display: grid; justify-items: center; }
.tpl-org__top { display: grid; justify-items: center; gap: 12px; }
.tpl-org__board { padding: 10px 28px; border: 1px solid var(--tpl-navy); font-size: 16.5px; font-weight: 500; color: var(--tpl-navy); }
.tpl-org__ceo { position: relative; min-width: 260px; padding: 22px 32px; background: var(--tpl-navy); font-size: 21px; font-weight: 700; text-align: center; color: #fff; }
.tpl-org__staff { position: relative; display: flex; justify-content: center; gap: 0 200px; margin-top: 28px; }
.tpl-org__staff::before { content: ''; position: absolute; left: 50%; top: -28px; bottom: -46px; width: 2px; background: var(--tpl-navy); transform: translateX(-50%); }
.tpl-org__staff::after { content: ''; position: absolute; left: 80px; right: 80px; top: 50%; height: 1px; background: var(--tpl-navy); }
.tpl-org__staff li { position: relative; z-index: 1; min-width: 160px; padding: 12px 20px; border: 1px solid var(--tpl-navy); background: #fff; font-size: 16.5px; font-weight: 500; text-align: center; color: var(--tpl-ink); }
.tpl-org__divs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 46px; padding-top: 40px; }
.tpl-org__divs::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 0; height: 2px; background: var(--tpl-navy); }
.tpl-org__div { position: relative; }
.tpl-org__div::before { content: ''; position: absolute; left: 50%; top: -40px; width: 2px; height: 40px; background: var(--tpl-navy); transform: translateX(-50%); }
.tpl-org__div h4 { padding: 18px 12px; border-top: 4px solid var(--tpl-yellow); background: var(--tpl-ink); font-size: 18px; font-weight: 700; text-align: center; color: #fff; }
.tpl-org__div ul { display: grid; gap: 4px; padding: 18px 20px 22px; border: 1px solid var(--tpl-line); border-top: 0; font-size: 16px; color: var(--tpl-text); }
.tpl-people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--tpl-ink); }
.tpl-people li { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-people li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--tpl-line); }
.tpl-people span { font-size: 15px; color: var(--tpl-navy); font-weight: 500; }
.tpl-people strong { display: block; margin-top: 6px; font-size: 22px; font-weight: 700; letter-spacing: .04em; color: var(--tpl-ink); }
.tpl-people p { margin-top: 6px; font-size: 15.5px; color: var(--tpl-mute); }

/* ---------- 오시는 길 : 카카오맵(왼쪽 검색 창은 상자 밖으로 밀어 가림) + 정보 + 교통 ---------- */
.tpl-locmap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 56px; align-items: start; }
.tpl-kmap { position: relative; height: 560px; overflow: hidden; background: #e6e9ee; }
.tpl-kmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-kmap__link { position: absolute; right: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-navy); color: #fff; font-size: 15px; font-weight: 500; }
.tpl-kmap__link .tpl-ico { width: 15px; height: 15px; }
.tpl-kmap__link:hover { background: var(--tpl-ink); }
.tpl-locinfo { border-top: 2px solid var(--tpl-ink); }
.tpl-locinfo > div { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-locinfo dt { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-locinfo dd { margin-top: 4px; font-size: 17px; font-weight: 500; color: var(--tpl-ink); }
.tpl-locinfo dd.is-big { font-size: 30px; font-weight: 700; color: var(--tpl-navy); }
.tpl-locinfo a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--tpl-line); border-bottom: 1px solid var(--tpl-line); }
.tpl-route li { padding: 26px 28px 28px 0; }
.tpl-route li + li { padding-left: 28px; border-left: 1px solid var(--tpl-line); }
.tpl-route h4 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-route h4 i { width: 10px; height: 10px; background: var(--tpl-yellow-line); }
.tpl-route p { margin-top: 6px; font-size: 16.5px; color: var(--tpl-text); }

/* ---------- 지원사업 : 개요(사진 + 글 + 숫자 3칸) · 세부 사업 표 · 지원 내용 3줄 · 문의 띠 ---------- */
.tpl-bizov { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 88px; align-items: center; }
.tpl-bizov__img { position: relative; background: var(--tpl-gray); }
.tpl-bizov__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-bizov__img figcaption { position: absolute; left: 0; top: 0; padding: 8px 16px; background: var(--tpl-navy); font-size: 15px; font-weight: 500; color: #fff; }
.tpl-bizov__txt { margin-top: 24px; font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 2px solid var(--tpl-navy); border-bottom: 1px solid var(--tpl-line); }
.tpl-facts3 > div { padding: 22px 20px 24px; }
.tpl-facts3 > div + div { border-left: 1px solid var(--tpl-line); }
.tpl-facts3 dt { font-size: 15.5px; color: var(--tpl-mute); }
.tpl-facts3 dd { margin-top: 4px; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }
.tpl-facts3 small { margin-left: 3px; font-size: 16px; font-weight: 500; color: var(--tpl-ink); }
.tpl-scope3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--tpl-ink); }
.tpl-scope3 > li { padding: 36px 36px 40px 0; }
.tpl-scope3 > li + li { padding-left: 36px; border-left: 1px solid var(--tpl-line); }
.tpl-scope3__key { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-navy); }
.tpl-scope3 h4 { margin: 12px 0 14px; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-scope3 .tpl-dash { font-size: 17px; color: var(--tpl-text); }
.tpl-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; margin-top: 88px; padding: 40px 48px; background: var(--tpl-navy); color: #fff; }
.tpl-cta__txt { display: grid; gap: 6px; }
.tpl-cta__txt strong { font-size: 24px; font-weight: 700; letter-spacing: -.035em; }
.tpl-cta__txt span { font-size: 17px; color: rgba(255, 255, 255, .82); }
.tpl-cta .tpl-btn { border-color: var(--tpl-yellow); background: var(--tpl-yellow); color: var(--tpl-navy); }
.tpl-cta .tpl-btn:hover { border-color: #fff; background: #fff; }
.tpl-cta--pale { border-top: 4px solid var(--tpl-yellow-line); background: var(--tpl-gray); color: var(--tpl-ink); }
.tpl-cta--pale .tpl-cta__txt span { color: var(--tpl-mute); }
.tpl-cta--pale .tpl-btn { border-color: var(--tpl-navy); background: var(--tpl-navy); color: #fff; }
.tpl-cta--pale .tpl-btn:hover { border-color: var(--tpl-ink); background: var(--tpl-ink); }

/* ---------- 사업 공고 목록 : 상태 배지 · 분야 · 제목 · 접수 기간 · D-day (메인 공고 목록과 같은 줄 구성) ---------- */
.tpl-plist { border-top: 2px solid var(--tpl-ink); }
.tpl-plist li { border-bottom: 1px solid var(--tpl-line); }
.tpl-plist a { display: grid; grid-template-columns: 92px 120px minmax(0, 1fr) 210px 96px; align-items: center; gap: 16px; padding: 22px 12px; transition: background-color .2s; }
.tpl-plist a:hover { background: var(--tpl-gray); }
.tpl-plist a:hover .tpl-plist__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-plist__cat { font-size: 15.5px; font-weight: 500; color: var(--tpl-navy); }
.tpl-plist__tit { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-plist__date { font-size: 15.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-plist__dday { font-size: 16px; font-weight: 700; text-align: right; color: var(--tpl-navy); }
.tpl-plist__dday.is-mute { font-weight: 500; color: var(--tpl-mute); }

/* ---------- 게시판 공통 : 분류 · 글 수 · 검색 · 목록 표 · 쪽 번호 ---------- */
.tpl-cats ul { display: flex; flex-wrap: wrap; margin-bottom: 36px; }
.tpl-cats li + li { margin-left: -1px; }
.tpl-cats a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--tpl-line); background: #fff; font-size: 16px; color: var(--tpl-mute); white-space: nowrap; transition: color .2s; }
.tpl-cats a:hover { color: var(--tpl-ink); }
.tpl-cats a[aria-current] { z-index: 1; border-color: var(--tpl-navy); background: var(--tpl-navy); font-weight: 500; color: #fff; }
.tpl-bbs-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 20px; }
.tpl-bbs-total { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbs-total b { font-weight: 700; color: var(--tpl-navy); }
.tpl-search { display: flex; width: min(100%, 520px); }
.tpl-search .tpl-select { flex: none; width: 140px; }
.tpl-search .tpl-input { flex: 1 1 auto; min-width: 0; margin-left: -1px; }
.tpl-search__btn { display: grid; place-items: center; flex: none; width: 52px; height: 50px; background: var(--tpl-navy); color: #fff; transition: background-color .25s; }
.tpl-search__btn:hover { background: var(--tpl-ink); }
.tpl-bbs { width: 100%; border-top: 2px solid var(--tpl-ink); background: #fff; font-size: 16.5px; }
.tpl-bbs thead th { padding: 16px 14px; border-bottom: 1px solid var(--tpl-line); background: var(--tpl-gray); font-size: 15.5px; font-weight: 500; color: var(--tpl-ink); white-space: nowrap; }
.tpl-bbs td { padding: 19px 14px; border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tpl-bbs td.tpl-bbs__subj { width: 100%; text-align: left; color: var(--tpl-ink); white-space: normal; }
.tpl-bbs__subj a { font-weight: 500; }
.tpl-bbs__subj a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-bbs tr.is-notice td { background: #fbf6e2; }
.tpl-bbs tr.is-notice .tpl-bbs__subj a { font-weight: 700; }
.tpl-bbs__ico { display: inline-flex; margin-left: 8px; vertical-align: -3px; color: var(--tpl-mute); }
.tpl-bbs__ico .tpl-ico { width: 16px; height: 16px; }
.tpl-bbs__re { display: inline-block; margin-right: 8px; padding: 0 6px; background: var(--tpl-yellow); font-size: 13.5px; font-weight: 500; color: var(--tpl-navy); }
.tpl-bbs__subj--re { padding-left: 34px !important; }
.tpl-bbs-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.tpl-pager { display: flex; justify-content: center; gap: 4px; margin-top: 56px; }
.tpl-pager a, .tpl-pager strong { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; font-size: 16px; font-weight: 500; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-pager a:hover { border-color: var(--tpl-line); color: var(--tpl-ink); }
.tpl-pager strong { background: var(--tpl-navy); color: #fff; }
.tpl-pager .tpl-ico { width: 18px; height: 18px; }

/* ---------- 게시판 보기 : 머리 · 본문 · 첨부 · 답변 · 이전/다음 ---------- */
.tpl-view__head { padding: 34px 0 28px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); }
.tpl-view__cat { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tpl-view__title { font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-view__meta span + span::before { content: ''; display: inline-block; width: 1px; height: 12px; margin-right: 24px; background: var(--tpl-line); vertical-align: -1px; }
.tpl-view__body { padding: 48px 0 56px; font-size: 18px; line-height: 1.9; color: var(--tpl-text); }
.tpl-view__body p + p, .tpl-view__body p + ul, .tpl-view__body ul + p, .tpl-view__body p + .tpl-scroll { margin-top: 1em; }
.tpl-view__body h4 { margin: 40px 0 12px; font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-view__body .tpl-dash { margin-top: 10px; }
.tpl-view__img { margin: 32px 0; background: var(--tpl-gray); }
.tpl-view__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tpl-attach { display: grid; gap: 6px; padding: 20px 24px; border: 1px solid var(--tpl-line); background: var(--tpl-gray); font-size: 16px; }
.tpl-attach li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tpl-attach a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--tpl-ink); overflow-wrap: anywhere; }
.tpl-attach a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-attach .tpl-ico { width: 17px; height: 17px; color: var(--tpl-navy); }
.tpl-attach span { font-size: 14px; color: var(--tpl-mute); }
.tpl-answer { margin-top: 40px; padding: 32px 40px 36px; border-left: 4px solid var(--tpl-yellow-line); background: var(--tpl-gray); font-size: 17.5px; line-height: 1.85; color: var(--tpl-text); }
.tpl-answer p + p { margin-top: .8em; }
.tpl-answer__who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-prevnext { margin-top: 56px; border-top: 1px solid var(--tpl-ink); }
.tpl-prevnext li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-prevnext li > span:first-child { font-size: 15px; font-weight: 500; color: var(--tpl-navy); }
.tpl-prevnext a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tpl-ink); }
.tpl-prevnext a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-prevnext time { font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-prevnext__none { color: var(--tpl-mute); }
.tpl-sumtable { margin-bottom: 8px; }

/* ---------- 쓰기 · 신청서 · 회원 정보 입력 : 왼쪽 항목 이름 · 오른쪽 입력 칸 ---------- */
.tpl-form__note { margin-bottom: 14px; font-size: 15px; color: var(--tpl-mute); text-align: right; }
.tpl-req { margin-left: 3px; font-weight: 700; color: #b23a2a; }
.tpl-form { border-top: 2px solid var(--tpl-ink); background: #fff; }
.tpl-form__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--tpl-line); }
.tpl-form__th { display: flex; align-items: center; padding: 18px 24px; background: var(--tpl-gray); font-size: 16px; font-weight: 500; color: var(--tpl-ink); }
.tpl-form__td { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; padding: 14px 24px; }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #c3c9d3; border-radius: 0; background: #fff; font: 400 16px/1.5 var(--tpl-font); color: var(--tpl-ink); }
.tpl-select { padding-right: 40px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315233b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #7a8291; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-navy); outline: 2px solid var(--tpl-yellow-line); outline-offset: 0; }
.tpl-input--md { width: min(100%, 360px); }
.tpl-input--sm { width: min(100%, 180px); }
.tpl-textarea { height: 220px; padding: 14px 16px; resize: vertical; }
.tpl-textarea--lg { height: 360px; }
.tpl-file { max-width: 100%; font-size: 15px; color: var(--tpl-text); }
.tpl-help { flex-basis: 100%; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-checks { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.tpl-pair { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.tpl-check { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; color: var(--tpl-text); cursor: pointer; }
.tpl-check input { flex: none; width: 19px; height: 19px; margin: 0; accent-color: var(--tpl-navy); }
.tpl-captcha { display: grid; place-items: center; width: min(100%, 240px); height: 50px; border: 1px dashed #9aa3b1; background: var(--tpl-gray); font-size: 14px; color: var(--tpl-mute); }
.tpl-agree { margin-top: 32px; }
.tpl-agree__tit { margin-bottom: 10px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-agree__box { height: 150px; margin-bottom: 14px; padding: 18px 24px; overflow-y: auto; border: 1px solid var(--tpl-line); background: var(--tpl-gray); font-size: 15.5px; line-height: 1.8; color: var(--tpl-text); }
.tpl-bform > .tpl-check { width: 100%; padding: 20px 24px; border: 1px solid var(--tpl-navy); }
.tpl-istrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-top: 4px solid var(--tpl-yellow); background: var(--tpl-navy); color: #fff; }
.tpl-istrip li { display: grid; gap: 4px; padding: 26px 32px; }
.tpl-istrip li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.tpl-istrip span { font-size: 15px; color: rgba(255, 255, 255, .8); }
.tpl-istrip strong { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- 협력 제안 · 전형 절차 : 남색 번호 칸 + 잇는 선 4단계 ---------- */
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tpl-flow li { position: relative; padding-top: 68px; }
.tpl-flow li::before { content: ''; position: absolute; left: 0; right: -32px; top: 21px; height: 2px; background: var(--tpl-line); }
.tpl-flow li:last-child::before { right: 0; }
.tpl-flow b { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; background: var(--tpl-navy); font-size: 16px; font-weight: 700; color: var(--tpl-yellow); }
.tpl-flow h4 { font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-flow p { margin-top: 8px; font-size: 16.5px; color: var(--tpl-text); }

/* ---------- 통계 자료 : 막대 표 ---------- */
.tpl-bars { display: grid; gap: 18px; border-top: 2px solid var(--tpl-ink); padding-top: 32px; }
.tpl-bars li { display: grid; grid-template-columns: 160px minmax(0, 1fr) 120px; align-items: center; gap: 20px; font-size: 16.5px; color: var(--tpl-ink); }
.tpl-bars i { display: block; height: 18px; background: var(--tpl-gray); }
.tpl-bars i span { display: block; height: 100%; background: var(--tpl-navy); }
.tpl-bars li:last-child i span { background: var(--tpl-yellow-line); }
.tpl-bars b { font-weight: 700; text-align: right; color: var(--tpl-navy); font-variant-numeric: tabular-nums; }

/* ---------- 사진 카드 게시판 (현장 스케치 4칸 · 우수 사례 3칸 세로 사진) ---------- */
.tpl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.tpl-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpl-card > a { display: block; }
.tpl-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-cards--tall .tpl-card__img { aspect-ratio: 4 / 5; }
.tpl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--tpl-ease); }
.tpl-card__img figcaption { position: absolute; left: 0; top: 0; padding: 6px 12px; background: var(--tpl-navy); font-size: 14px; font-weight: 500; color: #fff; }
.tpl-card > a:hover .tpl-card__img img { transform: scale(1.04); }
.tpl-card__cat { display: inline-block; margin-top: 20px; padding: 2px 8px; border: 1px solid var(--tpl-navy); font-size: 14px; font-weight: 500; color: var(--tpl-navy); }
.tpl-card__tit { display: block; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-card > a:hover .tpl-card__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-card__txt { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; min-height: calc(1.65em * 2); font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-card__meta { display: flex; gap: 14px; margin-top: 12px; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 갤러리 · 사례 보기 : 큰 사진 + 오른쪽 사진 2장 / 개요 표 + 본문 ---------- */
.tpl-gview { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; margin-top: 40px; }
.tpl-gview figure { overflow: hidden; background: var(--tpl-gray); }
.tpl-gview img { width: 100%; height: 100%; object-fit: cover; }
.tpl-gview__main { grid-row: 1 / 3; aspect-ratio: 4 / 3; }
.tpl-pview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; margin-top: 48px; }
.tpl-pview__img { background: var(--tpl-gray); }
.tpl-pview__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-pview .tpl-view__body { padding-bottom: 0; }

/* ---------- FAQ : details · summary 접고 펴기 (스크립트 없음) ---------- */
.tpl-faq { border-top: 2px solid var(--tpl-ink); }
.tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq summary { display: grid; grid-template-columns: 40px 120px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 24px 12px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; color: var(--tpl-ink); }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary:hover { background: var(--tpl-gray); }
.tpl-faq summary > b { font-size: 20px; font-weight: 700; color: var(--tpl-navy); }
.tpl-faq summary > span { font-size: 15px; color: var(--tpl-navy); }
.tpl-faq summary .tpl-ico { transition: transform .3s var(--tpl-ease); }
.tpl-faq details[open] summary .tpl-ico { transform: rotate(180deg); }
.tpl-faq__a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 24px 12px 28px; background: var(--tpl-gray); font-size: 17px; line-height: 1.85; color: var(--tpl-text); }
.tpl-faq__a > b { font-size: 20px; font-weight: 700; color: #a7861b; }

/* ---------- 회원 : 로그인 상자(좁게) · 가입 단계 · 가입 완료 · 계정 찾기 ---------- */
.tpl-mbox { width: min(100%, 480px); margin: 0 auto; padding: 48px 40px; border-top: 4px solid var(--tpl-navy); background: var(--tpl-gray); }
.tpl-mbox__tit { margin-bottom: 28px; font-size: 28px; font-weight: 700; text-align: center; color: var(--tpl-ink); }
.tpl-mbox__form { display: grid; gap: 12px; }
.tpl-mbox__form .tpl-btn { margin-top: 10px; }
.tpl-mbox__note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--tpl-line); font-size: 14.5px; text-align: center; color: var(--tpl-mute); }
.tpl-mlinks { display: flex; justify-content: center; gap: 28px; margin-top: 24px; font-size: 15.5px; font-weight: 500; color: var(--tpl-navy); }
.tpl-mlinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-msteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; }
.tpl-msteps li { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-top: 4px solid var(--tpl-line); font-size: 17px; font-weight: 500; color: var(--tpl-mute); }
.tpl-msteps b { font-size: 15px; font-weight: 700; }
.tpl-msteps li[aria-current] { border-top-color: var(--tpl-navy); color: var(--tpl-ink); }
.tpl-done { padding: 72px 24px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; background: var(--tpl-navy); color: var(--tpl-yellow); }
.tpl-done__mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.tpl-done__tit { margin-top: 28px; font-size: 34px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done__txt { margin-top: 14px; font-size: 18px; color: var(--tpl-text); }
.tpl-done__table { width: min(100%, 560px); margin: 40px auto 0; text-align: left; }
.tpl-find { display: grid; gap: 32px; }
.tpl-find__box { display: grid; align-content: start; gap: 10px; padding: 44px 48px 48px; border-top: 2px solid var(--tpl-navy); background: var(--tpl-gray); }
.tpl-find__box .tpl-h4 { margin-bottom: 0; }
.tpl-find__txt { margin-bottom: 14px; font-size: 16.5px; color: var(--tpl-text); }
.tpl-find__lab { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--tpl-ink); }
.tpl-find__box .tpl-btn { margin-top: 18px; justify-self: start; }

/* ---------- 정책 문서 ---------- */
.tpl-doc { padding-top: 40px; border-top: 2px solid var(--tpl-ink); font-size: 17.5px; line-height: 1.85; color: var(--tpl-text); }
.tpl-doc__date { display: inline-block; margin-bottom: 8px; padding: 8px 16px; background: var(--tpl-gray); font-size: 15.5px; font-weight: 500; color: var(--tpl-navy); }
.tpl-doc h4 { margin-top: 44px; font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-doc p { margin-top: 10px; }
.tpl-doc .tpl-dash { margin-top: 10px; }

/* ---------- 서브페이지 추가 : 반응형 ---------- */
@media (max-width: 1200px) {
  .tpl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-bizov { gap: 48px 56px; }
  .tpl-plist a { grid-template-columns: 92px 110px minmax(0, 1fr) 190px 84px; gap: 12px; }
}
@media (max-width: 1140px) {
  .tpl-plist a { grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: 'badge cat dday' 'tit tit tit' 'date date date'; gap: 8px 14px; }
  .tpl-plist .tpl-badge { grid-area: badge; }
  .tpl-plist__cat { grid-area: cat; }
  .tpl-plist__tit { grid-area: tit; white-space: normal; }
  .tpl-plist__date { grid-area: date; }
  .tpl-plist__dday { grid-area: dday; }
}
@media (max-width: 1024px) {
  .tpl-shead__title { font-size: 36px; }
  .tpl-hist__era { grid-template-columns: minmax(0, 1fr); padding: 44px 0; }
  .tpl-hist__when { position: static; font-size: 34px; }
  .tpl-vision { padding: 48px 40px 52px; }
  .tpl-vision__txt { font-size: 34px; }
  .tpl-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-goals > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-goals > li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-values { grid-template-columns: minmax(0, 1fr); }
  .tpl-org__staff { gap: 0 120px; }
  .tpl-org__divs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .tpl-org__divs::before, .tpl-org__div::before { display: none; }
  .tpl-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-people li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .tpl-people li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--tpl-line); }
  .tpl-locmap { grid-template-columns: minmax(0, 1fr); }
  .tpl-bizov { grid-template-columns: minmax(0, 1fr); }
  .tpl-bizov__img { width: min(100%, 480px); }
  .tpl-scope3 { grid-template-columns: minmax(0, 1fr); }
  .tpl-scope3 > li, .tpl-scope3 > li + li { padding: 28px 0 32px; border-left: 0; }
  .tpl-scope3 > li + li { border-top: 1px solid var(--tpl-line); }
  .tpl-cards, .tpl-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tpl-flow li:nth-child(2n)::before { right: 0; }
  .tpl-istrip { grid-template-columns: minmax(0, 1fr); }
  .tpl-istrip li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .tpl-form__row { grid-template-columns: 170px minmax(0, 1fr); }
  .tpl-cta { flex-direction: column; align-items: flex-start; }
  .tpl-pview { grid-template-columns: minmax(0, 1fr); }
  .tpl-pview__img { width: min(100%, 480px); }
}
@media (max-width: 768px) {
  .tpl-shead { margin-bottom: 40px; }
  .tpl-shead--row { flex-direction: column; align-items: flex-start; }
  .tpl-shead__title { margin-top: 16px; font-size: 28px; }
  .tpl-shead__txt { font-size: 16.5px; }
  .tpl-h4 { font-size: 21px; }
  .tpl-h4--gap { margin-top: 56px; }
  .tpl-dtable { font-size: 15.5px; }
  .tpl-dtable th, .tpl-dtable td { padding: 14px 12px; }
  .tpl-hist__when { font-size: 30px; }
  .tpl-hist__list > li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .tpl-hist__list b { font-size: 18px; }
  .tpl-hist__list ul { font-size: 16.5px; }
  .tpl-vision { padding: 36px 24px 40px; }
  .tpl-vision__txt { font-size: 26px; }
  .tpl-vision__sub { font-size: 16.5px; }
  .tpl-goals { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .tpl-goals > li, .tpl-goals > li + li { padding: 26px 0 28px; border-left: 0; }
  .tpl-goals > li + li { border-top: 1px solid var(--tpl-line); }
  .tpl-goals strong { font-size: 28px; }
  .tpl-values li { padding: 26px 22px 28px; }
  .tpl-org__ceo { min-width: 0; width: 100%; }
  .tpl-org__staff { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .tpl-org__staff::before, .tpl-org__staff::after { display: none; }
  .tpl-org__staff li { min-width: 0; padding: 10px 16px; font-size: 15.5px; }
  .tpl-org__divs { grid-template-columns: minmax(0, 1fr); margin-top: 32px; padding-top: 0; row-gap: 16px; }
  .tpl-people { grid-template-columns: minmax(0, 1fr); }
  .tpl-people li, .tpl-people li:nth-child(2n) { padding: 20px 0; border-left: 0; }
  .tpl-kmap { height: 460px; }
  .tpl-route { grid-template-columns: minmax(0, 1fr); }
  .tpl-route li, .tpl-route li + li { padding: 20px 0; border-left: 0; }
  .tpl-route li + li { border-top: 1px solid var(--tpl-line); }
  .tpl-facts3 > div { padding: 18px 10px 20px; }
  .tpl-facts3 dd { font-size: 24px; }
  .tpl-facts3 small { display: block; margin: 2px 0 0; font-size: 13.5px; }
  .tpl-cta { margin-top: 64px; padding: 32px 24px; }
  .tpl-cta__txt strong { font-size: 21px; }
  .tpl-cta__txt span { font-size: 16px; }
  .tpl-plist a { padding: 18px 4px; }
  .tpl-plist__tit { font-size: 17px; }
  .tpl-cats ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tpl-cats ul::-webkit-scrollbar { display: none; }
  .tpl-cats a { height: 40px; padding: 0 14px; font-size: 15px; }
  .tpl-search { width: 100%; }
  .tpl-search .tpl-select { width: 108px; }
  /* 목록 표 : 칸 머리를 숨기고 제목 한 줄 + 정보 한 줄로 쌓습니다 */
  .tpl-bbs thead { display: none; }
  .tpl-bbs, .tpl-bbs tbody { display: block; }
  .tpl-bbs tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 18px 4px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-bbs td { padding: 0; border: 0; font-size: 14.5px; }
  .tpl-bbs tr.is-notice { background: #fbf6e2; }
  .tpl-bbs tr.is-notice td { background: none; }
  .tpl-bbs td.tpl-bbs__subj { flex: 1 0 100%; order: -1; font-size: 16.5px; }
  .tpl-bbs td.tpl-bbs__num { display: none; }
  .tpl-bbs tr.is-notice td.tpl-bbs__num { display: block; order: -2; }
  .tpl-bbs__subj--re { padding-left: 20px !important; }
  .tpl-pager { margin-top: 40px; }
  .tpl-pager a, .tpl-pager strong { width: 40px; height: 40px; }
  .tpl-view__title { font-size: 24px; }
  .tpl-view__meta { gap: 4px 14px; }
  .tpl-view__meta span + span::before { margin-right: 14px; }
  .tpl-view__body { padding: 36px 0 44px; font-size: 17px; }
  .tpl-answer { padding: 24px 20px 28px; font-size: 16.5px; }
  .tpl-prevnext li { grid-template-columns: 64px minmax(0, 1fr); padding: 16px 4px; font-size: 15.5px; }
  .tpl-prevnext time { display: none; }
  .tpl-form__row { grid-template-columns: minmax(0, 1fr); }
  .tpl-form__th { padding: 14px 16px 12px; }
  .tpl-form__td { padding: 14px 16px 18px; }
  .tpl-form__note { text-align: left; }
  .tpl-istrip li { padding: 20px 22px; }
  .tpl-istrip strong { font-size: 21px; }
  .tpl-flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .tpl-flow li { padding: 0 0 32px 64px; }
  .tpl-flow li::before { left: 21px; right: auto; top: 44px; bottom: 0; width: 2px; height: auto; }
  .tpl-flow li:nth-child(2n)::before { right: auto; }
  .tpl-flow li:last-child { padding-bottom: 0; }
  .tpl-flow li:last-child::before { display: none; }
  .tpl-flow h4 { padding-top: 8px; font-size: 19px; }
  .tpl-bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .tpl-bars i { grid-column: 1 / -1; grid-row: 2; }
  .tpl-gview { grid-template-columns: minmax(0, 1fr); }
  .tpl-gview__main { grid-row: auto; }
  .tpl-gview figure:not(.tpl-gview__main) { aspect-ratio: 4 / 3; }
  .tpl-faq summary { grid-template-columns: 28px minmax(0, 1fr) 20px; padding: 20px 4px; font-size: 16.5px; }
  .tpl-faq summary > span { display: none; }
  .tpl-faq__a { grid-template-columns: 28px minmax(0, 1fr); padding: 20px 4px 24px; font-size: 16px; }
  .tpl-mbox { padding: 36px 22px; }
  .tpl-msteps li { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; }
  .tpl-done { padding: 56px 0; }
  .tpl-done__tit { font-size: 26px; }
  .tpl-done__txt { font-size: 16.5px; }
  .tpl-find__box { padding: 32px 22px 36px; }
  .tpl-doc { font-size: 16.5px; }
  .tpl-dtable td, .tpl-pview .tpl-dtable td { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .tpl-cards, .tpl-cards--3 { grid-template-columns: minmax(0, 1fr); }
}
/* 4단계 흐름 : 1025 ~ 1280px 에서 설명이 두 줄로 꺾이지 않도록 2칸으로 둡니다 */
@media (min-width: 769px) and (max-width: 1280px) {
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tpl-flow li:nth-child(2n)::before { right: 0; }
}

[hidden] { display: none !important; }

/* ==========================================================================
   연결부 : 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz048) · 퀵메뉴 · 팝업입니다.
   위의 원본 CSS 는 고치지 않았습니다. 색 · 글꼴은 원본 common.css 의 토큰(공공 남색 · 연노랑 · 짙은 남색 푸터)을 씁니다.
   맨 위로 단추는 원본 .tpl-totop(오른쪽 아래 남색 정사각) 그대로입니다(「쓴 조합」 biz048 맨 위로 「정사각 · 대표색 칠 · 따로」).
   시안 48 메인 · 서브에는 가로 100% 배경 사진 띠가 없어 고정 배경(지침 3-4) 규칙을 둘 자리가 없습니다(메인 비주얼 · 서브 비주얼은 고정 배경이 아닙니다).
   ========================================================================== */

/* ---------- 로고 : 올웹 로고입니다(지침 3-1). 원 색은 템플릿 강조색과 상관없이 CI 색 그대로 둡니다. 글자는 머리글 색(투명 머리글 흰색 · 흰 머리글 남색)을 따릅니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.logo-svg { display: block; height: 30px; width: auto; }
.logo-img { display: block; height: 30px; width: auto; max-width: 220px; object-fit: contain; }
.tpl-drawer__head .logo-svg { height: 26px; }
/* 콘솔에서 밝은 바탕용 · 어두운 바탕용 로고를 둘 다 올리면, 머리글이 짙을 때(맨 위 투명 · 메뉴가 열려 남색)만 어두운 바탕용을 냅니다 */
.tpl-header .logo-img--dark { display: none; }
.tpl-header:not(.is-scrolled) .tpl-logo .logo-img:not(.logo-img--dark), .tpl-header.is-mega-open .tpl-logo .logo-img:not(.logo-img--dark) { display: none; }
.tpl-header:not(.is-scrolled) .tpl-logo .logo-img--dark, .tpl-header.is-mega-open .tpl-logo .logo-img--dark { display: block; }
@media (max-width: 768px) {
  .logo-svg, .logo-img { height: 26px; }
}

/* ---------- 지도 : 카카오맵(allweb_tpl_map_html)이 #allweb-map 에 그립니다. 키가 없으면 지도 자리에 단추만 나옵니다 ---------- */
.tpl-contact__map .biz-map, .tpl-kmap .biz-map { position: absolute; inset: 0; overflow: hidden; }
.biz-map iframe.biz-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; filter: none; }
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.loc-map-go { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; background: var(--tpl-navy); font-size: 15.5px; font-weight: 500; color: #fff; white-space: nowrap; transition: background-color .25s, color .25s; }
.loc-map-go:hover { background: var(--tpl-yellow); color: var(--tpl-navy); }
.loc-map-foot { display: none; }   /* 키가 있을 때 지도 아래 링크 — 원본은 지도 위 「카카오맵 큰 지도 보기」 단추가 같은 일을 합니다 */
.tpl-contact__maplink, .tpl-kmap__link { z-index: 2; }

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

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bbs td.tpl-bbs__empty { padding: 60px 0; text-align: center; color: var(--tpl-mute); }
.tpl-plist__empty { padding: 60px 0; border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); }
.tpl-view__body img { max-width: 100%; height: auto; }
.tpl-view__body iframe { max-width: 100%; }
.tpl-view__body > p > img { display: block; width: 100%; height: auto; }   /* 정화기가 figure 를 지운 예시 글 사진입니다 */
.tpl-answer + .tpl-answer { margin-top: 16px; }
.tpl-answer__who a { margin-left: 10px; font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--tpl-line); }
.tpl-cmt__tit { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-cmt__tit b { color: var(--tpl-navy); }
.tpl-cmt__list { margin-top: 14px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); font-size: 16.5px; }
.tpl-cmt__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-cmt__meta strong { color: var(--tpl-ink); }
.tpl-cmt__meta a { text-decoration: underline; text-underline-offset: 3px; }
.tpl-cmt__form { display: grid; gap: 10px; margin-top: 20px; }
.tpl-cmt__form .tpl-textarea { height: 120px; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.mb-addr { display: grid; gap: 10px; width: 100%; }
.mb-addr__zip { display: flex; flex-wrap: wrap; gap: 10px; }
.mb-addr__zip .tpl-input { width: min(100%, 180px); }
.mb-addr .tpl-btn, .tpl-pair .tpl-btn { height: 52px; padding: 0 20px; }
.mb-textarea { height: 120px; }
.mb-consent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; width: 100%; }
.mb-consent + .mb-consent, .mb-consent__sub + .mb-consent { margin-top: 10px; }
.mb-consent__more { padding: 0; border: 0; background: none; font: 500 14.5px var(--tpl-font); color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mb-consent__sub { display: flex; flex-wrap: wrap; gap: 8px 24px; width: 100%; margin-top: 10px; padding-left: 28px; }
.mb-file-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mb-file-now img { max-width: 120px; height: auto; }
.mb-cert { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.tpl-form__td .mb-cert { justify-content: flex-start; margin-top: 0; }
.tpl-input[readonly] { background: var(--tpl-gray); }
/* 자주 묻는 질문 : 모양은 원본 sub.css 의 .tpl-faq 그대로이고, 질문이 없을 때 · 관리자 수정 링크만 더합니다 */
.tpl-faq__a a { color: var(--tpl-navy); text-decoration: underline; text-underline-offset: 3px; }
.tpl-faq__empty { padding: 48px 0; text-align: center; color: var(--tpl-mute); }

/* ---------- 채용 공고 상세 : 공고명을 누르면 뜨는 창(dialog)입니다. 창 안은 시안의 글 보기 모양입니다 ---------- */
.cs-job-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100% - 80px); padding: 40px 44px 36px; border: 0; border-top: 4px solid var(--tpl-navy); background: #fff; color: var(--tpl-text); overflow-y: auto; }
.cs-job-dialog::backdrop { background: rgba(9, 20, 38, .62); }
.cs-job-dialog .tpl-view__head { padding-top: 0; border-top: 0; }
.cs-job-dialog .tpl-view__body { padding: 32px 0 8px; }
.cs-job-dialog .tpl-btns { margin-top: 24px; }
@media (max-width: 768px) {
  .cs-job-dialog { padding: 28px 22px 24px; }
}

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz048(가 3 · 나 3 · 다 2 · 라 5 · 마 1, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 3 : 1차에 올리면 원본의 밑줄 없이 글자색만 연노랑이 됩니다. 원본의 서브페이지 현재 메뉴 밑줄 3px 는 그대로 두고, 다른 1차에 올리면 거둡니다(표시는 늘 하나).
   나 3 : 올린 1차의 2차만 보입니다. 패널 왼쪽에 그 1차 이름을 크게(data-title, 아래 노란 3px 선 — 원본 라벨 밑줄), 오른쪽에 2차 목록을 세 칸으로 두고 칸마다 오른쪽 끝에 + 펼침 기호를 붙입니다.
          2차 줄은 머리글 안쪽 폭(.tpl-header__in) 기준이라 1차 칸 폭과 상관없이 한 줄입니다. 어느 1차가 지금 칸인지는 js/main.js 가 .is-cur 로 정합니다.
   다 2 : 맨 위 투명 머리글 · 스크롤한 흰 머리글 모두 메뉴가 열리면 원본 푸터와 같은 짙은 남색(#0f2442)으로 바뀌고 패널도 같은 색입니다. 글자는 흰색 · 옅은 청회색입니다.
   라 5 : 패널(.tpl-mega__bg)이 clip-path 로 왼쪽에서 오른쪽으로 닦이며 열립니다. 2차 글은 패널이 다 덮은 뒤(.is-mega-ready, js/main.js) 나타나고, 닫을 때는 먼저 사라진 뒤 패널이 거꾸로 걷힙니다(패널 밖 글자 0).
   마 1 : 2차에 올리면 글자색만 연노랑이 됩니다(원본의 밑줄은 쓰지 않습니다). ---------- */
.tpl-header.is-mega-open { background: var(--tpl-foot); color: #fff; }
.tpl-header.is-mega-open::after { background: rgba(255, 255, 255, .14); }
.tpl-header.is-mega-open .tpl-logo { color: #fff; }
.tpl-gnb__link { transition: color .3s; }
.tpl-gnb__item:hover .tpl-gnb__link, .tpl-gnb__item.is-cur .tpl-gnb__link, .tpl-gnb__link:focus-visible { color: var(--tpl-yellow); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after { transform: scaleX(0); }
.tpl-gnb__link[aria-current]::after { transform: scaleX(1); }
.is-mega-open .tpl-gnb__link::after { background: var(--tpl-yellow-line); }
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after,
.is-mega-open .tpl-gnb__item:not(.is-cur) .tpl-gnb__link[aria-current]::after { transform: scaleX(0); }
.tpl-header .tpl-gnb__item { position: static; }
.tpl-mega__bg { background: var(--tpl-foot); box-shadow: none; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path .4s var(--tpl-ease); }
.is-mega-open .tpl-mega__bg { transform: none; clip-path: inset(0 0 0 0); }
.tpl-gnb__sub { left: 0; right: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; column-gap: 40px; height: auto; min-height: 168px; padding: 40px 0 44px calc(26% + 48px); text-align: left; clip-path: none; opacity: 0; transition: none; }
.tpl-gnb__sub::before { content: attr(data-title); position: absolute; left: 0; top: 38px; width: 26%; padding-bottom: 16px; border-bottom: 3px solid var(--tpl-yellow-line); font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.045em; color: #fff; white-space: nowrap; }
.tpl-gnb__sub li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tpl-gnb__sub a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 2px; font-size: 16.5px; color: #b9c4d6; transition: color .25s; }
.tpl-gnb__sub a::after { content: '+'; flex: none; font-size: 20px; font-weight: 400; line-height: 1; color: rgba(246, 231, 168, .5); transition: color .25s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-yellow); text-decoration: none; }
.tpl-gnb__sub a:hover::after, .tpl-gnb__sub a:focus-visible::after { color: var(--tpl-yellow); }
.tpl-gnb__sub a[aria-current] { color: #fff; font-weight: 700; }
.tpl-gnb__sub a:focus-visible { outline-color: var(--tpl-yellow); outline-offset: 2px; }
/* 패널이 다 덮은 뒤(.is-mega-ready)에만 지금 칸의 2차가 보입니다. 다른 칸으로 옮기면 곧바로 바뀝니다 */
.is-mega-open .tpl-gnb__sub { visibility: hidden; }
.is-mega-ready .tpl-gnb__item.is-cur .tpl-gnb__sub { visibility: visible; opacity: 1; transition: opacity .2s; }
@media (max-width: 1280px) {
  .tpl-gnb__sub { column-gap: 28px; padding-left: calc(24% + 32px); }
  .tpl-gnb__sub::before { width: 24%; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-mega__bg, .tpl-gnb__sub, .tpl-gnb__link { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz048(배치 4 · 효과 6). 오른쪽 아래 원본 「맨 위로」(남색 정사각) 바로 위에 떠 있는 연노랑 정사각 단추 하나(남색 +, 원본 「사업 신청」 단추 색)이고,
   누르면 흰 정사각 칸들이 위로 펼쳐지며 + 가 × 로 돌아갑니다. 처음에는 닫혀 있습니다.
   칸은 흰 바탕 · 옅은 청회색 테두리에 남색 선 아이콘만 있는 정사각입니다. 올리거나 키보드로 가면 칸 테두리가 남색이 되고, 왼쪽에 남색 말풍선(오른쪽 작은 삼각 꼬리)으로 이름이 뜹니다(효과 6).
   터치 화면(hover: none)은 말풍선을 늘 보여 한 번 누르면 바로 이동합니다. 이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다.
   맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). 단추 · 칸의 오른쪽 끝은 「맨 위로」 와 맞춥니다 ---------- */
:root { --tpl-qs: 44px; }
.tpl-quick { position: fixed; right: var(--tpl-side); bottom: calc(40px + 44px + 8px); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tpl-quick ul { order: -1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-bottom: 6px; visibility: hidden; transition: visibility 0s linear .3s; }
.tpl-quick.is-open ul { visibility: visible; transition-delay: 0s; }
.tpl-quick li { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--tpl-ease); }
.tpl-quick.is-open li { opacity: 1; transform: none; }
.tpl-quick.is-open li:nth-last-child(2) { transition-delay: .04s; }
.tpl-quick.is-open li:nth-last-child(n + 3) { transition-delay: .08s; }
.tpl-quick a { position: relative; display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); border: 1px solid #c9d0db; background: #fff; color: var(--tpl-navy); transition: border-color .25s, color .25s; }
.tpl-quick a .tpl-ico, .tpl-quick__img { width: 19px; height: 19px; stroke-width: 1.7; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a span { position: absolute; right: calc(100% + 10px); top: 50%; padding: 7px 12px; background: var(--tpl-navy); font-size: 14.5px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; color: #fff; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transform: translate(6px, -50%); transition: opacity .25s, transform .3s var(--tpl-ease), visibility 0s linear .3s; }
.tpl-quick a span::after { content: ''; position: absolute; left: 100%; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left-color: var(--tpl-navy); }
.tpl-quick a:focus-visible { border-color: var(--tpl-navy); outline: 2px solid var(--tpl-navy); outline-offset: 2px; box-shadow: none; }
.tpl-quick a:focus-visible span { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
@media (hover: hover) {
  .tpl-quick a:hover { border-color: var(--tpl-navy); }
  .tpl-quick a:hover span { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
}
@media (hover: none) {
  .tpl-quick.is-open a span { opacity: 1; visibility: visible; transform: translate(0, -50%); }
}
.tpl-quick__toggle { display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); background: var(--tpl-yellow); color: var(--tpl-navy); transition: background-color .25s, color .25s; }
.tpl-quick__toggle .tpl-ico { width: 22px; height: 22px; stroke-width: 2.2; transition: transform .35s var(--tpl-ease); }
.tpl-quick.is-open .tpl-quick__toggle .tpl-ico { transform: rotate(45deg); }
.tpl-quick__toggle:hover, .tpl-quick__toggle:focus-visible { background: var(--tpl-navy); color: var(--tpl-yellow); }
.tpl-quick__toggle:focus-visible { outline: 2px solid var(--tpl-navy); outline-offset: 2px; }
/* 페이지 맨 아래에서 오른쪽 아래 「맨 위로」 · 퀵메뉴 단추가 푸터의 「관련 기관 바로가기」 단추를 덮지 않게, PC 에서는 그 단추를 떠 있는 단추 줄 왼쪽으로 띄웁니다(원본은 겹칩니다) */
@media (min-width: 1025px) {
  .tpl-family { margin-right: calc(44px + 16px); }
}
@media (max-width: 768px) {
  .tpl-quick { bottom: calc(20px + 44px + 8px); }
  .tpl-quick a span { font-size: 14px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick *, .tpl-quick a span { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 위 남색 6px 띠 · 제목 아래 원본 라벨 같은 노란 3px 밑줄 · 남색 면 단추(올리면 짙은 남색) · 연청회 아래 띠(닫기는 올리면 연노랑 면) ---------- */
.tpl-pop__item { border: 1px solid var(--tpl-line); border-top: 6px solid var(--tpl-navy); background: #fff; box-shadow: 0 20px 44px rgba(9, 20, 38, .28); }
.tpl-pop__body { padding: 30px 32px 32px; }
.tpl-pop__title { display: inline-block; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--tpl-yellow-line); font-size: 22px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-pop__text { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 8px; height: 50px; margin-top: 22px; padding: 0 24px; background: var(--tpl-navy); font-size: 16px; font-weight: 500; color: #fff; transition: background-color .25s; }
.tpl-pop__more::after { content: '→'; font-size: 15px; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-ink); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-gray); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 15px; color: var(--tpl-mute); transition: background-color .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); color: var(--tpl-navy); font-weight: 700; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--tpl-yellow); color: var(--tpl-navy); }
