/* ==========================================================================
   올웹 비즈니스 템플릿 27 — 시안 27(에어로닉스, 항공우주 부품)의 reset.css · common.css · main.css · sub.css 를 그대로 이은 것입니다.
   원본 CSS 는 고치지 않았습니다. 그누보드 연결 · 올웹 로고 · 상단 메뉴(「쓴 메뉴 조합」 biz027) · 퀵메뉴 · 팝업 · 고정 배경은 맨 아래 「연결부」에 덧붙였습니다.
   ========================================================================== */

/* ---------- 원본 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: 'Pretendard'; font-weight: 400; font-display: swap; src: url('../fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 500; font-display: swap; src: url('../fonts/Pretendard-Medium.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('../fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: url('../fonts/Pretendard-Bold.subset.woff2') format('woff2'); }

:root {
  --tpl-ink: #0d2340;             /* 제목 · 강조 글자 · 남색 면(항공 남색) */
  --tpl-text: #39424f;            /* 본문 글자 */
  --tpl-mute: #5d6672;            /* 보조 글자(흰 바탕 5.9:1 · 연회청 5.4:1) */
  --tpl-line: #dce1e8;            /* 얇은 선 */
  --tpl-gray: #f2f4f7;            /* 연회청 바탕 */
  --tpl-red: #c8102e;             /* 신호 빨강(흰 바탕 5.9:1) */
  --tpl-black: #081629;           /* 푸터 */
  --tpl-font: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 76px;               /* 헤더 높이 */
  --tpl-gnb-gap: 64px;            /* 1차 메뉴 글자 사이 간격(모든 칸이 같습니다). 1차 li 양옆에 절반씩 둡니다 */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

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

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

/* ---------- 공통 : 섹션 여백 · 라벨(빨간 세로 막대) · 제목 · 글 링크 ---------- */
.tpl-sec { padding: 180px 0; }
/* 라벨 : 빨간 섹션 번호 | 영문 이름(도면 표제란처럼 번호와 이름을 가는 세로선으로 나눕니다) */
.tpl-label { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--tpl-ink); }
.tpl-label b { font-weight: 700; letter-spacing: .04em; color: var(--tpl-red); }
.tpl-label b::after { content: ''; display: inline-block; width: 1px; height: 11px; margin-left: 12px; background: currentColor; opacity: .35; vertical-align: -1px; }
.tpl-label--light { color: #fff; }
.tpl-label--light b { color: #ff8a98; }
.tpl-head--center { text-align: center; }
.tpl-head--center .tpl-label { justify-content: center; }
.tpl-head__en { margin-top: 22px; font-size: 46px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-head__ko { margin-top: 22px; 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.6; color: var(--tpl-text); }
.tpl-textlink { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 15.5px; font-weight: 600; color: var(--tpl-ink); }
.tpl-textlink .tpl-ico { width: 15px; height: 15px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-textlink:hover .tpl-ico { transform: translateX(4px); }
.tpl-textlink--light { color: #fff; }

/* ---------- 공통 버튼 : 사진 위 흰 테두리 버튼(.tpl-btn-line) · 사각 화살표 버튼(.tpl-sqbtn). 메인과 서브가 함께 씁니다 ---------- */
.tpl-btn-line { display: inline-flex; align-items: center; gap: 14px; margin-top: 44px; padding: 0 30px; height: 54px; border: 1px solid rgba(255, 255, 255, .6); font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn-line .tpl-ico { width: 11px; height: 11px; fill: currentColor; stroke: none; transition: transform .35s var(--tpl-ease); }
.tpl-btn-line:hover { border-color: var(--tpl-red); background: var(--tpl-red); color: #fff; }
.tpl-btn-line:hover .tpl-ico { transform: translateX(3px); }
.tpl-sqbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--tpl-line); background: #fff; color: var(--tpl-ink); transition: border-color .25s, color .25s, background-color .25s; }
.tpl-sqbtn .tpl-ico { width: 15px; height: 15px; stroke-width: 1.8; }
.tpl-sqbtn:hover { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-sqbtn.is-end, .tpl-sqbtn.is-end:hover { border-color: var(--tpl-line); background: #fff; color: #b9c0ca; }

/* ---------- 로고 : 화살촉(기수) 심볼 + 영문 워드마크 + 가는 세로선 뒤 국문 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 10px; }
.tpl-logo__mark { width: 26px; height: 22px; flex: none; }
.tpl-logo__en { font-size: 22px; font-weight: 700; letter-spacing: .16em; line-height: 1; }
.tpl-logo__ko { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; letter-spacing: -.02em; line-height: 1; opacity: .8; }
.tpl-logo__ko::before { content: ''; width: 1px; height: 12px; background: currentColor; opacity: .45; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(검정 글자) ---------- */
.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: transparent; 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__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
.tpl-gnb__item { position: relative; height: 100%; padding: 0 calc(var(--tpl-gnb-gap) / 2); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 18px; font-weight: 500; white-space: nowrap; }
.tpl-gnb__link::after { content: ''; position: absolute; left: 50%; bottom: 0; z-index: 1; width: 44%; height: 3px; background: var(--tpl-red); transform: translateX(-50%) scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__link:focus-visible::after { transform: translateX(-50%) scaleX(1); }
.tpl-gnb__link:focus-visible { outline-offset: -6px; }
.tpl-util { display: flex; flex: 1 1 0; justify-content: flex-end; align-items: center; gap: 28px; font-size: 14.5px; }
.tpl-util p { display: flex; align-items: center; }
.tpl-util__member { gap: 16px; opacity: .85; }
.tpl-util a:hover { text-decoration: underline; text-underline-offset: 4px; }
.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: 1.5px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 15px; } .tpl-burger i:nth-child(2) { top: 21px; } .tpl-burger i:nth-child(3) { top: 27px; }

/* 메가메뉴 : 흰 패널(.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; white-space: nowrap; color: var(--tpl-mute); transition: color .2s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 5px; }
/* 현재 페이지 표시(서브페이지) : 1차 메뉴 밑줄을 늘 보이고, 2차 메뉴는 검정 굵은 글자로 둡니다. 빌드가 aria-current 를 넣습니다 */
.tpl-gnb__link[aria-current]::after { transform: translateX(-50%) scaleX(1); }
/* 다른 1차 메뉴에 올리거나 포커스하면 현재 표시선을 거두어, 밑줄이 언제나 하나만 보이게 합니다 */
.tpl-gnb__list:hover .tpl-gnb__item:not(:hover) .tpl-gnb__link[aria-current]::after,
.tpl-gnb__list:focus-within .tpl-gnb__item:not(:focus-within) .tpl-gnb__link[aria-current]::after { transform: translateX(-50%) scaleX(0); }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-ink); font-weight: 600; }
.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }

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

/* ---------- 푸터 : 짙은 남색. 위 줄(로고 · 대표 연락처) → 1차 메뉴별 열 → 아래 줄(정책 · 주소 · 계열사) ---------- */
.tpl-footer { border-top: 3px solid var(--tpl-red); background: var(--tpl-black); color: #9aa6b6; font-size: 15px; line-height: 1.7; }
.tpl-footer__head { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 56px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tpl-logo--foot { color: #fff; }
.tpl-footer__slogan { margin-top: 14px; font-size: 15px; color: #9aa6b6; }
.tpl-footer__tel { display: flex; }
.tpl-footer__tel div { padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .14); }
.tpl-footer__tel div:last-child { padding-right: 0; }
.tpl-footer__tel dt { font-size: 14px; color: #9aa6b6; }
.tpl-footer__tel dd { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums; }
.tpl-footer__nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: 44px 0 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tpl-footer__nav strong { display: block; margin-bottom: 14px; font-size: 16.5px; font-weight: 600; 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: 36px 0 48px; }
.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, .35); font-size: 14.5px; 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, .2); background: #0f2442; }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 14.5px; color: #c3cbd6; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #17325a; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 14px; font-size: 15px; color: #c3cbd6; }
.tpl-footer__policy b { font-weight: 600; color: #fff; }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address { font-size: 14px; color: #9aa6b6; }
.tpl-footer address span { display: inline-block; margin-right: 14px; }
.tpl-footer__copy { margin-top: 6px; font-size: 13.5px; letter-spacing: .04em; color: #8794a6; }

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

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-gap: 48px; }
  .tpl-util { gap: 18px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-gap: 40px; }
  /* 1차 li 양옆 여백이 간격의 절반이라 1140px 이하에서는 로고 · 유틸과의 간격이 20px 이 됩니다. 양끝만 6px 더해 24px 이상으로 맞춥니다 */
  .tpl-gnb__list { padding: 0 6px; }
  .tpl-util { gap: 14px; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 140px 0; }
  .tpl-head__en, .tpl-head__ko { font-size: 38px; }
  .tpl-footer__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .tpl-footer__tel div:first-child { padding-left: 0; border-left: 0; }
  .tpl-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 60px; }
  .tpl-sec { padding: 110px 0; }
  .tpl-head__en, .tpl-head__ko { margin-top: 18px; font-size: 30px; }
  .tpl-head__txt { font-size: 17px; }
  .tpl-btn-line { margin-top: 32px; height: 46px; padding: 0 22px; font-size: 15px; }
  .tpl-logo__en { font-size: 19px; }
  .tpl-logo__ko { font-size: 13.5px; }
  .tpl-footer__tel { flex-direction: column; gap: 12px; }
  .tpl-footer__tel div { padding: 0; border: 0; }
  .tpl-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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 — 메인 페이지 전용입니다. 비주얼, Company(개요 · 지표), Business(기체 구조물 · 엔진 부품 분할), Programs(납품 프로그램 캐러셀),
   Capability(공정 역량 표), Quality(인증 배지 줄), Careers(격납고 사진 띠), Gallery, Newsroom(공지 · Q&A), Contact 를 담습니다. */

/* 화면에는 숨기고 화면 낭독기에만 읽히는 글자(표 제목 등) */
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 메인 비주얼 : 높이 85vh(최소 560px) · 배경은 섹션에 고정(스크롤해도 움직이지 않음) ---------- */
.tpl-visual { position: relative; height: 85vh; min-height: 560px; overflow: hidden; background: var(--tpl-ink); 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(5, 14, 28, .45) 0%, rgba(5, 14, 28, 0) 26%), linear-gradient(90deg, rgba(8, 22, 42, .78) 0%, rgba(8, 22, 42, .5) 42%, rgba(8, 22, 42, .12) 78%); }
/* 나가는 장은 들어오는 장이 다 덮을 때까지 그대로 보이다가 사라집니다(두 장이 함께 옅어져 어두워지는 순간이 없습니다). */
.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; }
.tpl-visual__video { position: absolute; inset: 0; container-type: size; opacity: 0; transition: opacity .5s; pointer-events: none; }
.tpl-visual__item.is-playing .tpl-visual__video { opacity: 1; }
/* reset.css 의 iframe { max-width: 100% } 가 가로를 칸 폭으로 묶어 영상이 16:9 로 덮지 못하고 위아래 검은 띠가 생기던 것을 풉니다. */
.tpl-visual__video iframe { position: absolute; max-width: none; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%); }

.tpl-visual__in { position: relative; height: 100%; }
/* 문구는 세로 가운데 · 왼쪽 정렬(좌우 화살표를 피해 양옆 120px 안쪽). 분류 줄 → 굵은 제목 → 설명 → 버튼 순서로 나타납니다 */
.tpl-visual__caps { position: absolute; inset: var(--tpl-hd-h) 120px 110px; display: grid; align-items: center; }
.tpl-visual__cap { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(24px); 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: 1.1s; }
.tpl-visual__cap.is-active .tpl-visual__kicker { transition-delay: 0s; }
.tpl-visual__cap.is-active .tpl-visual__title { transition-delay: .12s; }
.tpl-visual__cap.is-active .tpl-visual__desc { transition-delay: .3s; }
.tpl-visual__cap.is-active .tpl-btn-line { transition-delay: .5s; }
.tpl-visual__kicker { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tpl-visual__kicker::before { content: ''; width: 36px; height: 3px; background: var(--tpl-red); }
.tpl-visual__title { margin-top: 26px; font-size: 68px; font-weight: 700; line-height: 1.2; letter-spacing: -.05em; word-break: keep-all; }
.tpl-visual__desc { max-width: 920px; margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 1.7; letter-spacing: -.03em; color: rgba(255, 255, 255, .88); word-break: keep-all; }
/* 숫자 · 진행선 · 자동재생 버튼은 비주얼 아래 가운데 */
.tpl-visual__ctrl { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.tpl-visual__pause { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: rgba(255, 255, 255, .8); transition: color .25s; }
.tpl-visual__pause i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.tpl-visual__pause .tpl-ico { width: 8px; height: 8px; fill: currentColor; stroke: none; }
.tpl-visual__pause:hover { color: #fff; }
.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: 80px; height: 80px; margin-top: -40px; color: rgba(255, 255, 255, .8); transition: color .25s, transform .35s var(--tpl-ease); }
.tpl-visual__arrow--prev { left: 12px; }
.tpl-visual__arrow--next { right: 12px; }
.tpl-visual__arrow .tpl-ico { width: 64px; height: 64px; stroke-width: 1; }
.tpl-visual__arrow--prev:hover { transform: translateX(-4px); }
.tpl-visual__arrow--next:hover { transform: translateX(4px); }
.tpl-visual__arrow:hover { color: #fff; }
.tpl-visual__count { display: flex; align-items: center; gap: 14px; font-size: 15px; letter-spacing: .02em; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; }
.tpl-visual__count b { font-weight: 600; color: #fff; }
.tpl-visual__count span { position: relative; width: 96px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__count span::after { content: ''; position: absolute; inset: 0; background: var(--tpl-red); 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); } }

/* ---------- Company : 흰 바탕. 제목 줄 → 왼쪽 회사 설명 · 오른쪽 사업 요약 표 → 아래 지표 4칸 ---------- */
.tpl-company__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 8%; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-company__lead { font-size: 24px; font-weight: 600; line-height: 1.6; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-company__txt { margin-top: 22px; line-height: 1.8; }
.tpl-company__spec { display: grid; align-content: start; }
.tpl-company__spec div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-company__spec div:first-child { padding-top: 0; }
.tpl-company__spec dt { font-size: 15.5px; font-weight: 600; color: var(--tpl-ink); }
.tpl-company__spec dd { font-size: 16.5px; color: var(--tpl-text); }
.tpl-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 90px; }
.tpl-figures li { padding: 6px 32px 4px; border-left: 1px solid var(--tpl-line); }
.tpl-figures li:first-child { padding-left: 0; border-left: 0; }
.tpl-figures strong { display: block; font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-figures strong small { margin-left: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.tpl-figures span { display: block; margin-top: 14px; font-size: 16.5px; color: var(--tpl-text); }
.tpl-figures__note { margin-top: 28px; font-size: 14.5px; color: var(--tpl-mute); }

/* ---------- Business : 머리는 흰 바탕, 아래는 화면 가득 두 사업부 사진을 반씩 나눕니다(사진 아래쪽 남색 막 위에 품목 목록) ---------- */
.tpl-div { padding-top: 0; }
.tpl-div__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 64px; }
.tpl-div__head .tpl-head__txt { max-width: 520px; margin: 0; text-align: right; }
.tpl-div__split { display: grid; grid-template-columns: 1fr 1fr; }
.tpl-div__item { position: relative; display: flex; min-height: 760px; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-div__item > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--tpl-ease); }
.tpl-div__item::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 22, 42, .05) 20%, rgba(8, 22, 42, .88) 72%); }
.tpl-div__item + .tpl-div__item { border-left: 1px solid rgba(255, 255, 255, .25); }
.tpl-div__item:hover > img { transform: scale(1.03); }
.tpl-div__body { align-self: flex-end; width: 100%; padding: 0 64px 64px; }
.tpl-div__code { font-size: 15px; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .75); }
.tpl-div__tit { margin-top: 14px; font-size: 40px; font-weight: 700; letter-spacing: -.045em; }
.tpl-div__txt { margin-top: 14px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.tpl-div__list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .45); }
.tpl-div__list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 16.5px; }
.tpl-div__list li:nth-child(odd) { padding-right: 24px; }
.tpl-div__list li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.tpl-div__list span { color: rgba(255, 255, 255, .62); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tpl-div__body .tpl-btn-line { margin-top: 36px; }

/* ---------- Programs : 납품 프로그램 캐러셀(4 → 2 → 1장). 사진 아래 코드 · 이름 · 공급 품목 표 ---------- */
.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: 0; }
.tpl-slider__arrows .tpl-sqbtn + .tpl-sqbtn { margin-left: -1px; }
.tpl-track { --per: 4; --gap: 20px; display: flex; gap: var(--gap); margin-top: 56px; 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__card > a { display: block; height: 100%; border-top: 3px solid var(--tpl-ink); transition: border-color .3s; }
.tpl-prog__card > a:hover, .tpl-prog__card > a:focus-visible { border-color: var(--tpl-red); }
.tpl-prog__card a:focus-visible { outline-offset: 4px; }
.tpl-prog__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tpl-gray); }
.tpl-prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-prog__card a:hover img { transform: scale(1.04); }
.tpl-prog__code { display: flex; justify-content: space-between; margin-top: 20px; font-size: 14.5px; font-weight: 600; letter-spacing: .06em; color: var(--tpl-red); }
.tpl-prog__code em { font-style: normal; font-weight: 500; letter-spacing: 0; color: var(--tpl-mute); }
.tpl-prog__tit { display: block; margin-top: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-prog__spec { margin-top: 16px; border-top: 1px solid var(--tpl-line); }
.tpl-prog__spec div { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--tpl-line); font-size: 15.5px; }
.tpl-prog__spec dt { flex: none; width: 64px; color: var(--tpl-mute); }
.tpl-prog__spec dd { color: var(--tpl-text); }

/* ---------- Capability : 연회청 바탕 + 공정 역량 표 ---------- */
.tpl-cap { background: var(--tpl-gray); }
.tpl-cap__grid { display: grid; grid-template-columns: 1fr; }
.tpl-cap__table { margin-top: 64px; border-top: 2px solid var(--tpl-ink); font-size: 17px; }
.tpl-cap__table th, .tpl-cap__table td { padding: 22px 20px; border-bottom: 1px solid #d3d9e1; text-align: left; vertical-align: top; }
.tpl-cap__table thead th { padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--tpl-mute); }
.tpl-cap__table th:first-child, .tpl-cap__table td:first-child { padding-left: 0; }
.tpl-cap__table tbody th { width: 22%; font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-cap__table tbody th span { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--tpl-red); }
.tpl-cap__table td { color: var(--tpl-text); line-height: 1.6; }
.tpl-cap__table td.is-num { width: 18%; font-weight: 600; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-cap__table tbody tr { transition: background-color .25s; }
.tpl-cap__table tbody tr:hover { background: #fff; }

/* ---------- Quality : 남색 단색 바탕(사진 없음) + 인증 배지 줄 ---------- */
.tpl-quality { background: var(--tpl-ink); color: #fff; }
.tpl-quality__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 6%; align-items: end; }
.tpl-quality .tpl-head__ko { color: #fff; }
.tpl-quality .tpl-head__txt { color: rgba(255, 255, 255, .78); }
.tpl-quality__stat { display: flex; justify-content: flex-end; gap: 56px; }
.tpl-quality__stat div { text-align: right; }
.tpl-quality__stat dt { font-size: 15px; color: rgba(255, 255, 255, .7); }
.tpl-quality__stat dd { font-size: 44px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tpl-quality__stat dd small { margin-left: 3px; font-size: 18px; font-weight: 600; }
.tpl-badges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 80px; border-top: 1px solid rgba(255, 255, 255, .3); border-left: 1px solid rgba(255, 255, 255, .3); }
.tpl-badges li { display: flex; flex-direction: column; min-height: 220px; padding: 28px 24px 26px; border-right: 1px solid rgba(255, 255, 255, .3); border-bottom: 1px solid rgba(255, 255, 255, .3); }
.tpl-badges strong { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.tpl-badges p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.tpl-badges span { margin-top: auto; padding-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .65); font-variant-numeric: tabular-nums; }
.tpl-badges span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--tpl-red); vertical-align: 1px; }

/* ---------- Careers : 격납고 사진 띠 + 어두운 막, 왼쪽 정렬 문구 ---------- */
.tpl-careers { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-careers__bg { position: absolute; inset: 0; z-index: -2; background: var(--tpl-ink) 50% 62% / cover no-repeat; }
.tpl-careers::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 22, 42, .86) 0%, rgba(8, 22, 42, .55) 55%, rgba(8, 22, 42, .25) 100%); }
.tpl-careers__in { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: clamp(520px, 40vw, 660px); padding: 110px 0; }
.tpl-careers__title { margin-top: 24px; font-size: 50px; font-weight: 700; line-height: 1.3; letter-spacing: -.05em; word-break: keep-all; }
.tpl-careers__txt { margin-top: 20px; font-size: 19px; line-height: 1.75; color: rgba(255, 255, 255, .86); }
.tpl-careers__meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 30px; font-size: 16.5px; color: rgba(255, 255, 255, .9); }
.tpl-careers__meta b { margin-right: 10px; font-weight: 600; color: rgba(255, 255, 255, .65); }

/* ---------- Gallery : 갤러리 사진 최대 10장, 한 화면 3장(1024↓ 2장, 600↓ 1장) ---------- */
.tpl-gallery__track { --per: 3; --gap: 24px; }
.tpl-gallery__card > a { display: block; }
.tpl-gallery__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tpl-gray); }
.tpl-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s 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 { position: absolute; left: 0; top: 0; padding: 7px 12px; background: var(--tpl-ink); font-size: 14px; font-weight: 600; color: #fff; }
.tpl-gallery__tit { display: block; margin-top: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-gallery__card a:hover .tpl-gallery__tit { text-decoration: underline; text-decoration-color: var(--tpl-red); 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: 10px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-gallery__date { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tpl-line); font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- Newsroom : 위 제목 줄, 아래 공지 · Q&A 최신글 2개(위 남색 굵은 선 + 흰 바탕) ---------- */
.tpl-news__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.tpl-latest { min-width: 0; border-top: 3px solid var(--tpl-ink); }
.tpl-latest__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 18px; border-bottom: 1px solid var(--tpl-line); }
.tpl-latest__tit { font-size: 24px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-latest__tit span { margin-left: 10px; font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--tpl-red); }
.tpl-latest__more { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--tpl-line); color: var(--tpl-ink); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-latest__more .tpl-ico { width: 16px; height: 16px; }
.tpl-latest__more:hover { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-latest__list li { display: flex; align-items: center; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--tpl-line); font-size: 17px; }
.tpl-latest__list a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #26303d; }
.tpl-latest__list a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-latest__re { display: inline-block; margin-right: 8px; padding: 0 6px; border: 1px solid var(--tpl-red); font-size: 13px; line-height: 18px; color: var(--tpl-red); vertical-align: 1px; }
.tpl-latest__date { flex: none; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- Contact : 연회청 단색 바탕(이미지 없음) + 연락처 + 지도 ---------- */
.tpl-contact { background: var(--tpl-gray); }
.tpl-contact__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 6%; align-items: start; }
.tpl-contact__tel { margin-top: 44px; border-top: 1px solid var(--tpl-ink); }
.tpl-contact__tel div { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #d3d9e1; }
.tpl-contact__tel dt { font-size: 15.5px; font-weight: 600; color: var(--tpl-mute); }
.tpl-contact__tel dd { font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-contact__tel dd small { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--tpl-mute); }
.tpl-contact__meta { display: grid; gap: 8px; margin-top: 26px; font-size: 16.5px; color: var(--tpl-text); }
.tpl-contact__meta li { display: flex; align-items: center; gap: 10px; }
.tpl-contact__meta .tpl-ico { width: 16px; height: 16px; color: var(--tpl-red); }
.tpl-contact__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tpl-contact__btns a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border: 1px solid var(--tpl-ink); font-size: 16px; font-weight: 600; color: var(--tpl-ink); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-contact__btns a:first-child { background: var(--tpl-ink); color: #fff; }
.tpl-contact__btns a:hover { border-color: var(--tpl-red); background: var(--tpl-red); color: #fff; }
.tpl-contact__btns .tpl-ico { width: 15px; height: 15px; }
.tpl-contact__map { position: relative; width: 100%; aspect-ratio: 16 / 11; min-height: 340px; background: #e3e7ec; }
.tpl-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-ink); color: #fff; font-size: 14.5px; font-weight: 500; }
.tpl-contact__maplink .tpl-ico { width: 14px; height: 14px; }
.tpl-contact__maplink:hover { background: var(--tpl-red); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-visual__title { font-size: 60px; }
  .tpl-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-badges li { min-height: 190px; }
  .tpl-div__body { padding: 0 44px 52px; }
}
@media (max-width: 1024px) {
  .tpl-visual__title { font-size: 50px; }
  .tpl-visual__desc { font-size: 19px; }
  .tpl-company__body { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .tpl-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; margin-top: 64px; }
  .tpl-figures li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-figures strong { font-size: 46px; }
  .tpl-div__head { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 48px; }
  .tpl-div__head .tpl-head__txt { margin-top: 14px; text-align: left; }
  /* 위아래로 쌓이면 두 사진 타일이 맞닿지 않도록 사이에 흰 틈을 둡니다 */
  .tpl-div__split { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .tpl-div__item { min-height: 620px; }
  .tpl-div__item + .tpl-div__item { border-left: 0; }
  .tpl-prog__track { --per: 2; }
  .tpl-gallery__track { --per: 2; }
  .tpl-quality__in { grid-template-columns: minmax(0, 1fr); }
  .tpl-quality__stat { justify-content: flex-start; }
  .tpl-quality__stat div { text-align: left; }
  .tpl-badges { margin-top: 56px; }
  .tpl-careers__title { font-size: 40px; }
  .tpl-news__cards { gap: 32px; }
  .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .tpl-visual__caps { inset: var(--tpl-hd-h) 56px 90px; }
  .tpl-visual__kicker { gap: 10px; font-size: 13px; letter-spacing: .1em; }
  .tpl-visual__kicker::before { width: 24px; }
  .tpl-visual__title { margin-top: 18px; font-size: 36px; line-height: 1.3; }
  .tpl-visual__desc { margin-top: 16px; font-size: 17px; }
  .tpl-visual__ctrl { gap: 18px; bottom: 30px; }
  .tpl-visual__arrow { width: 48px; height: 48px; margin-top: -24px; }
  .tpl-visual__arrow--prev { left: 4px; }
  .tpl-visual__arrow--next { right: 4px; }
  .tpl-visual__arrow .tpl-ico { width: 40px; height: 40px; }
  .tpl-company__body { margin-top: 44px; padding-top: 36px; }
  .tpl-company__lead { font-size: 20px; }
  .tpl-company__spec div { grid-template-columns: 104px 1fr; gap: 14px; }
  .tpl-figures li { padding: 0 0 0 20px; }
  .tpl-figures strong { font-size: 36px; }
  .tpl-figures strong small { font-size: 17px; }
  .tpl-figures span { margin-top: 10px; font-size: 15.5px; }
  .tpl-div__item { min-height: 560px; }
  .tpl-div__body { padding: 0 20px 40px; }
  .tpl-div__tit { font-size: 30px; }
  .tpl-div__txt { font-size: 17px; }
  .tpl-div__list { grid-template-columns: minmax(0, 1fr); }
  .tpl-div__list li:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .tpl-slider__side .tpl-textlink { display: none; }
  .tpl-track { margin-top: 40px; }
  .tpl-cap__table { margin-top: 44px; }
  .tpl-cap__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tpl-cap__table tbody, .tpl-cap__table tr, .tpl-cap__table th, .tpl-cap__table td { display: block; width: auto !important; }
  .tpl-cap__table tbody tr { padding: 22px 0; border-bottom: 1px solid #d3d9e1; }
  .tpl-cap__table th, .tpl-cap__table td { padding: 0; border: 0; }
  .tpl-cap__table td { margin-top: 8px; font-size: 16.5px; }
  .tpl-cap__table td[data-th] { display: flex; gap: 10px; }
  .tpl-cap__table td[data-th]::before { content: attr(data-th); flex: none; width: 40px; font-size: 14.5px; font-weight: 600; line-height: 1.75; color: var(--tpl-mute); }
  .tpl-quality__stat { gap: 32px; }
  .tpl-quality__stat dd { font-size: 34px; }
  .tpl-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-badges li { min-height: 0; padding: 22px 16px; }
  .tpl-badges strong { font-size: 20px; }
  .tpl-badges p { font-size: 15px; }
  .tpl-careers::before { background: rgba(8, 22, 42, .74); }
  .tpl-careers__in { min-height: 520px; padding: 90px 0; }
  .tpl-careers__title { margin-top: 18px; font-size: 30px; }
  .tpl-careers__txt { font-size: 17px; }
  .tpl-careers__meta { flex-direction: column; font-size: 16px; }
  .tpl-news__cards { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .tpl-latest__tit { font-size: 21px; }
  .tpl-latest__list li { gap: 14px; font-size: 16px; }
  .tpl-contact__tel div { grid-template-columns: 96px 1fr; }
  .tpl-contact__tel dd { font-size: 25px; }
  .tpl-contact__map { aspect-ratio: 4 / 3; min-height: 280px; }
}
@media (max-width: 600px) {
  .tpl-visual__pause-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tpl-visual__caps { inset: var(--tpl-hd-h) 40px 90px; }
  .tpl-visual__title { font-size: 31px; }
  .tpl-visual__desc { font-size: 16px; }
  .tpl-figures { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .tpl-figures li, .tpl-figures li:nth-child(3) { padding: 0 0 0 16px; border-left: 3px solid var(--tpl-red); }
  .tpl-figures li:first-child { padding-left: 16px; border-left: 3px solid var(--tpl-red); }
  .tpl-prog__track, .tpl-gallery__track { --per: 1; }
  .tpl-badges { grid-template-columns: minmax(0, 1fr); }
  .tpl-contact__btns a { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { scroll-behavior: auto; }
}

/* ---------- Contact 카카오 지도 (2026-11-09 추가) : 카카오 화면 왼쪽 검색 창을 상자 밖으로 밀어 가립니다. 흑백 filter 는 쓰지 않습니다 ---------- */
.tpl-contact__map { overflow: hidden; aspect-ratio: auto; height: 501px; min-height: 0; }
.tpl-contact__map iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; filter: none; }
@media (max-width: 768px) {
  .tpl-contact__map { height: 460px; }
}

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지 공용 레이아웃과 CEO 인사말 페이지 부품입니다. 색 · 글꼴 · 라벨 · 버튼은 common.css 를 그대로 씁니다.
   서브 비주얼 사진은 스크롤해도 움직이지 않습니다(패럴랙스 없음). */

.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 서브 비주얼 : 풀폭 사진 + 남색 막, 가운데 영문 분류(빨간 선) · 큰 제목 · 한 줄 설명 (PC 460px · 1024↓ 400px · 768↓ 340px) ---------- */
.tpl-subvis { position: relative; display: flex; align-items: center; justify-content: center; height: 460px; overflow: hidden; background: var(--tpl-ink); 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% 45%; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 22, 42, .55) 0%, rgba(8, 22, 42, 0) 40%), rgba(8, 22, 42, .62); }
.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__kicker { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tpl-subvis__kicker::before, .tpl-subvis__kicker::after { content: ''; width: 28px; height: 3px; background: var(--tpl-red); }
.tpl-subvis__title { margin-top: 22px; font-size: 60px; font-weight: 700; line-height: 1.2; letter-spacing: -.05em; animation-delay: .1s; }
.tpl-subvis__desc { margin-top: 18px; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, .86); animation-delay: .2s; }
@keyframes tplRise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽). 탭 현재 표시는 1차 메뉴와 같은 빨간 3px 선입니다. 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: 76px; }
.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: 1px; height: 11px; margin: 0 14px; background: #b9c0ca; }
.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: 600; color: var(--tpl-ink); }
.tpl-snb__tabs ul { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 76px; padding: 0 26px; font-size: 17px; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 3px; background: var(--tpl-red); transform: scaleX(0); transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a:hover, .tpl-snb__tabs a[aria-current] { color: var(--tpl-ink); }
.tpl-snb__tabs a[aria-current] { font-weight: 600; }
.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 a:focus-visible { outline-offset: -6px; }
.tpl-snb__tabs li:last-child a { margin-right: -26px; }

/* ---------- 본문 블록 ---------- */
.tpl-inner { width: calc(100% - var(--tpl-side) * 2); max-width: 1320px; margin: 0 auto; }
.tpl-block { padding: 150px 0; }
.tpl-block--gray { background: var(--tpl-gray); }

/* ---------- 인사말 : 제목 줄(남색 선 아래) → 왼쪽 본문 · 오른쪽 대표 사진(도면 표제란 같은 캡션) ---------- */
.tpl-greet__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0 8%; margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--tpl-ink); align-items: start; }
.tpl-greet__lead { font-size: 25px; font-weight: 600; line-height: 1.6; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-greet__txt { margin-top: 36px; }
.tpl-greet__txt p { font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-greet__txt p + p { margin-top: 22px; }
.tpl-greet__txt strong { font-weight: 600; color: var(--tpl-ink); }
.tpl-sign { display: flex; align-items: baseline; gap: 16px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); }
.tpl-sign strong { font-size: 26px; font-weight: 700; letter-spacing: .32em; color: var(--tpl-ink); }
.tpl-greet__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tpl-gray); }
.tpl-greet__photo figcaption { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--tpl-line); border-top: 0; font-size: 15px; }
.tpl-greet__photo figcaption span { padding: 12px 16px; border-right: 1px solid var(--tpl-line); background: var(--tpl-gray); color: var(--tpl-mute); }
.tpl-greet__photo figcaption b { padding: 12px 16px; font-weight: 700; color: var(--tpl-ink); }

/* ---------- 회사 개요 : 아주 옅은 회청 띠, 왼쪽 제목 · 오른쪽 2열 표, 아래 지표 4칸 ---------- */
.tpl-overview { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 6%; }
.tpl-overview__table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; border-top: 2px solid var(--tpl-ink); }
.tpl-overview__table div { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 19px 0; border-bottom: 1px solid #d3d9e1; }
.tpl-overview__table dt { font-size: 15.5px; font-weight: 600; color: var(--tpl-ink); }
.tpl-overview__table dd { font-size: 16.5px; color: var(--tpl-text); font-variant-numeric: tabular-nums; }
.tpl-overview__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid #d3d9e1; }
.tpl-overview__nums li { padding: 28px 28px 0; border-left: 1px solid #d3d9e1; }
.tpl-overview__nums li:first-child { padding-left: 0; border-left: 0; }
.tpl-overview__nums strong { display: block; font-size: 44px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-overview__nums small { margin-left: 4px; font-size: 19px; font-weight: 600; }
.tpl-overview__nums span { display: block; margin-top: 8px; font-size: 16px; color: var(--tpl-mute); }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .tpl-subvis { height: 400px; }
  .tpl-subvis__title { font-size: 48px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .tpl-loc { padding: 16px 0; border-bottom: 1px solid var(--tpl-line); }
  .tpl-snb__tabs { margin: 0 calc(var(--tpl-side) * -1); }
  .tpl-snb__tabs ul { overflow-x: auto; padding: 0 calc(var(--tpl-side) - 20px); scrollbar-width: none; }
  .tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs li { flex: none; }
  .tpl-snb__tabs a { height: 60px; padding: 0 20px; font-size: 16.5px; }
  .tpl-snb__tabs a::after { left: 20px; right: 20px; }
  .tpl-snb__tabs li:last-child a { margin-right: 0; }
  .tpl-block { padding: 120px 0; }
  .tpl-greet__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 0 6%; }
  .tpl-overview { grid-template-columns: minmax(0, 1fr); }
  .tpl-overview__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-overview__nums li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tpl-overview__nums li:nth-child(n+3) { margin-top: 28px; border-top: 1px solid #d3d9e1; }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 340px; }
  .tpl-subvis__kicker { gap: 10px; font-size: 13px; letter-spacing: .1em; }
  .tpl-subvis__kicker::before, .tpl-subvis__kicker::after { width: 20px; }
  .tpl-subvis__title { margin-top: 16px; font-size: 38px; }
  .tpl-subvis__desc { margin-top: 12px; padding: 0 8px; font-size: 16.5px; }
  .tpl-block { padding: 90px 0; }
  .tpl-greet__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; margin-top: 40px; padding-top: 40px; }
  .tpl-greet__photo { order: -1; max-width: 400px; }
  .tpl-greet__lead { font-size: 20px; }
  .tpl-greet__txt { margin-top: 26px; }
  .tpl-greet__txt p { font-size: 17px; }
  .tpl-sign { margin-top: 38px; }
  .tpl-sign strong { font-size: 22px; }
  .tpl-overview__table { grid-template-columns: minmax(0, 1fr); }
  .tpl-overview__table div { grid-template-columns: 92px 1fr; padding: 16px 0; }
  .tpl-overview__nums { margin-top: 48px; }
  .tpl-overview__nums li { padding: 22px 16px 0; }
  .tpl-overview__nums strong { font-size: 32px; }
  .tpl-overview__nums small { font-size: 16px; }
  .tpl-overview__nums span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-subvis__in > * { animation: none; }
}

/* ==========================================================================
   서브페이지 추가 (2026-11-09) : 연혁 · 경영방침 · 조직도 · 사업장 위치 · 사업영역 · 제품 · 인증 · 문의서 · 게시판(목록 · 보기 · 쓰기) ·
   FAQ · 갤러리 · 채용 · 회원 · 정책 화면 부품입니다. 위의 기존 규칙은 고치지 않고 덧붙이기만 했습니다.
   색은 남색 선 · 남색 면 · 신호 빨강 포인트만 씁니다. 게시판 · 입력 화면은 모두 본문 .tpl-inner 와 같은 폭이며, 좁게 둔 것은 로그인 상자(.tpl-mbox)뿐입니다.
   ========================================================================== */

/* ---------- 공통 : 섹션 머리 간격 · 작은 제목 · 표 · 꼬리표 · 버튼 ---------- */
.tpl-shead { margin-bottom: 56px; }
.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-table-wrap { overflow-x: auto; }
.tpl-table { width: 100%; border-top: 2px solid var(--tpl-ink); font-size: 16.5px; }
.tpl-table th, .tpl-table td { padding: 17px 20px; border-bottom: 1px solid #d3d9e1; text-align: left; vertical-align: top; }
.tpl-table th:first-child, .tpl-table td:first-child { padding-left: 0; }
.tpl-table thead th { padding: 15px 20px; font-size: 15px; font-weight: 600; color: var(--tpl-mute); white-space: nowrap; }
.tpl-table thead th:first-child { padding-left: 0; }
.tpl-table tbody th { font-weight: 700; color: var(--tpl-ink); white-space: nowrap; }
.tpl-table td { color: var(--tpl-text); font-variant-numeric: tabular-nums; }
.tpl-table a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-table .is-code { font-size: 14.5px; font-weight: 600; letter-spacing: .06em; color: var(--tpl-red); white-space: nowrap; }
.tpl-tag { display: inline-block; padding: 1px 8px; border: 1px solid #a9b3c0; font-size: 13.5px; font-weight: 600; line-height: 1.6; color: var(--tpl-ink); white-space: nowrap; vertical-align: 1px; }
.tpl-tag--on { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-tag--red { border-color: var(--tpl-red); background: var(--tpl-red); color: #fff; }
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border: 1px solid var(--tpl-ink); background: var(--tpl-ink); font: 600 16px/1 var(--tpl-font); color: #fff; white-space: nowrap; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.9; }
.tpl-btn:hover { border-color: var(--tpl-red); background: var(--tpl-red); color: #fff; }
.tpl-btn--line { border-color: #b9c2ce; background: #fff; color: var(--tpl-ink); }
.tpl-btn--line:hover { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-btn--white { border-color: #fff; background: #fff; color: var(--tpl-ink); }
.tpl-btn--white:hover { border-color: var(--tpl-red); background: var(--tpl-red); color: #fff; }
.tpl-btn--full { width: 100%; }
.tpl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.tpl-dash { display: grid; gap: 6px; }
.tpl-dash li { position: relative; padding-left: 18px; }
.tpl-dash li::before { content: ''; position: absolute; left: 0; top: .82em; width: 8px; height: 2px; background: var(--tpl-red); }

/* ---------- 연혁 : 시기 묶음마다 왼쪽 시기(따라 내려옴) · 오른쪽 해마다 한 일 ---------- */
.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 #d3d9e1; }
.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-ink); font-variant-numeric: tabular-nums; }
.tpl-hist__when small { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--tpl-red); }
.tpl-hist__when small::before { content: ''; width: 22px; height: 3px; background: var(--tpl-red); }
.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 #d3d9e1; }
.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); }

/* ---------- 경영방침 · 인재상 : 큰 문장 · 원칙 2 × 2(인재상 3칸) ---------- */
.tpl-statement { padding-bottom: 56px; border-bottom: 2px solid var(--tpl-ink); }
.tpl-statement__txt { margin-top: 26px; font-size: 50px; font-weight: 700; line-height: 1.32; letter-spacing: -.05em; color: var(--tpl-ink); }
.tpl-statement__sub { margin-top: 24px; font-size: 19px; line-height: 1.75; color: var(--tpl-text); }
.tpl-plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; border-top: 2px solid var(--tpl-ink); }
.tpl-plist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.tpl-plist > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 36px 0 40px; border-bottom: 1px solid #d3d9e1; }
.tpl-plist__num { padding-top: 6px; font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--tpl-red); }
.tpl-plist h4 { font-size: 23px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-plist p { margin-top: 10px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }

/* ---------- 조직도 : 대표이사 → 직속 3실 → 5개 본부 ---------- */
.tpl-org { display: grid; justify-items: center; }
.tpl-org__ceo { position: relative; min-width: 260px; padding: 22px 32px; border-top: 3px solid var(--tpl-red); background: var(--tpl-ink); font-size: 21px; font-weight: 700; text-align: center; color: #fff; }
.tpl-org__ceo::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 134px; background: var(--tpl-ink); }
.tpl-org__staff { position: relative; display: flex; justify-content: center; gap: 0 24px; margin-top: 40px; }
.tpl-org__staff li { position: relative; z-index: 1; min-width: 160px; padding: 12px 20px; border: 1px solid var(--tpl-ink); background: #fff; font-size: 16.5px; font-weight: 600; text-align: center; color: var(--tpl-ink); }
.tpl-org__staff::before { content: ''; position: absolute; left: 80px; right: 80px; top: 50%; height: 1px; background: var(--tpl-ink); }
.tpl-org__divs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 46px; padding-top: 40px; }
.tpl-org__divs::before { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: var(--tpl-ink); }
.tpl-org__div { position: relative; }
.tpl-org__div::before { content: ''; position: absolute; left: 50%; top: -40px; width: 1px; height: 40px; background: var(--tpl-ink); }
.tpl-org__div h4 { padding: 18px 12px; 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 #d3d9e1; border-top: 0; font-size: 16px; color: var(--tpl-text); }

/* ---------- 사업장 위치 : 카카오맵(왼쪽 검색 창은 상자 밖으로 밀어 가림) + 정보 + 교통 ---------- */
.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: #e3e7ec; }
.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-ink); color: #fff; font-size: 14.5px; font-weight: 500; }
.tpl-kmap__link .tpl-ico { width: 14px; height: 14px; }
.tpl-kmap__link:hover { background: var(--tpl-red); }
.tpl-locinfo { border-top: 2px solid var(--tpl-ink); }
.tpl-locinfo > div { padding: 18px 0; border-bottom: 1px solid #d3d9e1; }
.tpl-locinfo dt { font-size: 14.5px; font-weight: 600; color: var(--tpl-mute); }
.tpl-locinfo dd { margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--tpl-ink); }
.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-ink); border-bottom: 1px solid #d3d9e1; }
.tpl-route li { padding: 26px 28px 28px 0; }
.tpl-route li + li { padding-left: 28px; border-left: 1px solid #d3d9e1; }
.tpl-route h4 { font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.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 96px; align-items: center; margin-top: 56px; }
.tpl-bizov__img { position: relative; }
.tpl-bizov__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--tpl-gray); }
.tpl-bizov__img figcaption { display: grid; grid-template-columns: auto 1fr; border: 1px solid #d3d9e1; border-top: 0; font-size: 15px; }
.tpl-bizov__img figcaption span { padding: 12px 16px; border-right: 1px solid #d3d9e1; background: var(--tpl-gray); color: var(--tpl-mute); }
.tpl-bizov__img figcaption b { padding: 12px 16px; font-weight: 600; color: var(--tpl-ink); }
.tpl-bizov__lead { font-size: 24px; font-weight: 600; line-height: 1.6; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-bizov__txt { margin-top: 24px; font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-nums3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-nums3 li { padding: 22px 20px 0; border-left: 1px solid #d3d9e1; }
.tpl-nums3 li:first-child { padding-left: 0; border-left: 0; }
.tpl-nums3 strong { display: block; font-size: 38px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-nums3 small { margin-left: 3px; font-size: 17px; font-weight: 600; }
.tpl-nums3 span { display: block; margin-top: 6px; font-size: 15.5px; color: var(--tpl-mute); }
.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 #d3d9e1; }
.tpl-scope3__key { font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--tpl-red); }
.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-bizrec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 72px; align-items: start; }
.tpl-bizrec__more { margin-top: 28px; }
.tpl-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; margin-top: 88px; padding: 40px 48px; border-top: 3px solid var(--tpl-red); background: var(--tpl-ink); 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: #c3cbd6; }

/* ---------- 게시판 공통 : 분류 · 글 수 · 검색 · 목록 표 · 쪽 번호 ---------- */
.tpl-cats ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tpl-cats a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #b9c2ce; background: #fff; font-size: 16px; font-weight: 500; color: var(--tpl-text); white-space: nowrap; transition: border-color .25s, color .25s; }
.tpl-cats a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-cats a[aria-current] { border-color: var(--tpl-ink); background: var(--tpl-ink); font-weight: 600; 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-red); }
.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-ink); color: #fff; transition: background-color .25s; }
.tpl-search__btn:hover { background: var(--tpl-red); }
.tpl-bbs { width: 100%; border-top: 2px solid var(--tpl-ink); font-size: 16.5px; }
.tpl-bbs thead th { padding: 15px 14px; border-bottom: 1px solid #d3d9e1; font-size: 15px; font-weight: 600; color: var(--tpl-mute); white-space: nowrap; }
.tpl-bbs td { padding: 19px 14px; border-bottom: 1px solid #d3d9e1; 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: var(--tpl-gray); }
.tpl-bbs tr.is-notice .tpl-bbs__subj a { font-weight: 600; }
.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; border: 1px solid var(--tpl-red); font-size: 13px; line-height: 18px; color: var(--tpl-red); vertical-align: 1px; }
.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: 600; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-pager a:hover { border-color: #b9c2ce; color: var(--tpl-ink); }
.tpl-pager strong { background: var(--tpl-ink); 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 #d3d9e1; }
.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: #d3d9e1; 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-table-wrap { 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-table { font-size: 16px; }
.tpl-files { display: grid; gap: 6px; padding: 20px 24px; border: 1px solid #d3d9e1; background: var(--tpl-gray); font-size: 16px; }
.tpl-files li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.tpl-files a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tpl-ink); overflow-wrap: anywhere; }
.tpl-files a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-files .tpl-ico { width: 17px; height: 17px; color: var(--tpl-red); }
.tpl-files span { font-size: 14px; color: var(--tpl-mute); }
.tpl-answer { padding: 32px 40px 36px; border-left: 3px solid var(--tpl-red); 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 #d3d9e1; font-size: 16.5px; }
.tpl-prevnext li > span:first-child { font-size: 15px; font-weight: 600; color: var(--tpl-red); }
.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-pview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; align-items: start; margin-top: 48px; }
.tpl-pview .tpl-view__body { padding-bottom: 0; }
.tpl-pview__img { display: grid; gap: 16px; }
.tpl-pview__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tpl-gray); }

/* ---------- 쓰기 · 신청서 · 회원 정보 입력 : 왼쪽 항목 이름 · 오른쪽 입력 칸 ---------- */
.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: var(--tpl-red); }
.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 #d3d9e1; }
.tpl-form__th { display: flex; align-items: center; padding: 18px 24px; background: var(--tpl-gray); font-size: 16px; font-weight: 600; 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 #b9c2ce; 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='%230d2340' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #737d8a; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-ink); outline: 2px solid var(--tpl-red); 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-ink); }
.tpl-captcha { display: grid; place-items: center; width: min(100%, 240px); height: 50px; border: 1px dashed #a9b3c0; 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 #d3d9e1; 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-ink); }
.tpl-istrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border-top: 3px solid var(--tpl-red); background: var(--tpl-ink); color: #fff; }
.tpl-istrip li { display: grid; gap: 4px; padding: 26px 32px; }
.tpl-istrip li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.tpl-istrip span { font-size: 15px; color: #c3cbd6; }
.tpl-istrip strong { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.tpl-istrip a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 협력사 등록 · 전형 절차 : 번호 사각 + 잇는 선 4단계 ---------- */
.tpl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.tpl-steps li { position: relative; padding-top: 68px; }
.tpl-steps li::before { content: ''; position: absolute; left: 0; right: -32px; top: 21px; height: 1px; background: #a9b3c0; }
.tpl-steps li:last-child::before { right: 0; }
.tpl-steps b { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; background: var(--tpl-ink); font-size: 15px; font-weight: 700; color: #fff; }
.tpl-steps li:first-child b { background: var(--tpl-red); }
.tpl-steps h4 { font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-steps p { margin-top: 8px; font-size: 16.5px; color: var(--tpl-text); }

/* ---------- 품질 인증 6칸 ---------- */
.tpl-certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl-cert { padding: 30px 32px 32px; border-top: 3px solid var(--tpl-ink); background: #fff; }
.tpl-cert__name { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-cert__desc { margin-top: 8px; font-size: 17px; color: var(--tpl-text); }
.tpl-cert__date { margin-top: 20px; padding-top: 14px; border-top: 1px solid #d3d9e1; font-size: 15px; font-weight: 600; color: var(--tpl-red); }

/* ---------- 사진 카드 게시판 (갤러리 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; border-top: 3px solid var(--tpl-ink); transition: border-color .35s; }
.tpl-card > a:hover, .tpl-card > a:focus-visible { border-top-color: var(--tpl-red); }
.tpl-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--tpl-ease); }
.tpl-card > a:hover .tpl-card__img img { transform: scale(1.05); }
.tpl-card__cat { position: absolute; left: 0; top: 0; padding: 5px 12px; background: var(--tpl-ink); font-size: 13.5px; font-weight: 600; color: #fff; }
.tpl-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-card__meta span { font-weight: 600; letter-spacing: .06em; color: var(--tpl-red); }
.tpl-card__tit { display: block; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; font-weight: 700; line-height: 1.45; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-card__txt { display: -webkit-box; margin-top: 8px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-card__date { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid #d3d9e1; font-size: 14.5px; 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-mbox { width: min(100%, 480px); margin: 0 auto; padding: 48px 40px; border-top: 3px solid var(--tpl-red); 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 #d3d9e1; 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: 600; color: var(--tpl-ink); }
.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: 3px solid #d3d9e1; font-size: 17px; font-weight: 600; color: var(--tpl-mute); }
.tpl-msteps b { font-size: 15px; font-weight: 700; }
.tpl-msteps li[aria-current] { border-top-color: var(--tpl-red); color: var(--tpl-ink); }
.tpl-msteps li[aria-current] b { color: var(--tpl-red); }
.tpl-done { padding: 72px 24px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid #d3d9e1; text-align: center; }
.tpl-done__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; background: var(--tpl-ink); color: #fff; }
.tpl-done__mark .tpl-ico { width: 30px; height: 30px; stroke-width: 2.2; }
.tpl-done__tit { margin-top: 28px; font-size: 34px; font-weight: 700; letter-spacing: -.045em; 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-ink); 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: 600; color: var(--tpl-ink); }
.tpl-find__box .tpl-btn { margin-top: 18px; }

/* ---------- 정책 문서 ---------- */
.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: 600; color: var(--tpl-ink); }
.tpl-doc h4 { margin-top: 44px; font-size: 21px; font-weight: 700; color: var(--tpl-ink); }
.tpl-doc p { margin-top: 10px; }

/* ---------- 서브페이지 추가 : 반응형 ---------- */
@media (max-width: 1200px) {
  .tpl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tpl-org__divs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .tpl-org__divs::before, .tpl-org__div::before { display: none; }
  .tpl-bizrec { grid-template-columns: minmax(0, 1fr); }
  .tpl-bizov { gap: 48px 56px; }
}
@media (max-width: 1024px) {
  .tpl-hist__era { grid-template-columns: minmax(0, 1fr); padding: 44px 0; }
  .tpl-hist__when { position: static; font-size: 34px; }
  .tpl-statement__txt { font-size: 40px; }
  .tpl-plist, .tpl-plist--3 { grid-template-columns: minmax(0, 1fr); }
  .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 #d3d9e1; }
  .tpl-cards, .tpl-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tpl-steps 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, .16); }
  .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); }
}
@media (max-width: 768px) {
  .tpl-shead { margin-bottom: 40px; }
  .tpl-h4 { font-size: 21px; }
  .tpl-h4--gap { margin-top: 56px; }
  .tpl-table { font-size: 15.5px; }
  .tpl-table th, .tpl-table td { padding: 14px 12px; }
  .tpl-table td { overflow-wrap: anywhere; }
  .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-statement__txt { font-size: 30px; }
  .tpl-statement__sub { font-size: 17px; }
  .tpl-plist > li { grid-template-columns: 44px minmax(0, 1fr); padding: 28px 0 30px; }
  .tpl-plist h4 { font-size: 20px; }
  .tpl-org__ceo::after { display: none; }
  .tpl-org__staff { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .tpl-org__staff::before { 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-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 #d3d9e1; }
  .tpl-bizov { margin-top: 40px; }
  .tpl-bizov__lead { font-size: 20px; }
  .tpl-bizov__txt { font-size: 17px; }
  .tpl-nums3 li { padding: 18px 10px 0; }
  .tpl-nums3 strong { font-size: 26px; }
  .tpl-nums3 small { display: block; margin: 2px 0 0; font-size: 13.5px; }
  .tpl-nums3 span { font-size: 14px; }
  .tpl-cta { margin-top: 64px; padding: 32px 24px; }
  .tpl-cta__txt strong { font-size: 21px; }
  .tpl-cta__txt span { font-size: 16px; }
  .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 #d3d9e1; }
  .tpl-bbs td { padding: 0; border: 0; font-size: 14.5px; }
  .tpl-bbs tr.is-notice { background: var(--tpl-gray); }
  .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-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .tpl-steps li { padding: 0 0 32px 64px; }
  .tpl-steps li::before { left: 21px; right: auto; top: 44px; bottom: 0; width: 1px; height: auto; }
  .tpl-steps li:nth-child(2n)::before { right: auto; }
  .tpl-steps li:last-child { padding-bottom: 0; }
  .tpl-steps li:last-child::before { display: none; }
  .tpl-steps h4 { padding-top: 8px; font-size: 19px; }
  .tpl-certs { grid-template-columns: minmax(0, 1fr); }
  .tpl-cert { padding: 24px; }
  .tpl-cert__name { font-size: 22px; }
  .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-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; }
}
@media (max-width: 600px) {
  .tpl-cards, .tpl-cards--3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 자주 묻는 질문 : details · summary 접고 펴기(스크립트 없음) ---------- */
.tpl-faq { border-top: 2px solid var(--tpl-ink); }
.tpl-faq details { border-bottom: 1px solid #d3d9e1; }
.tpl-faq summary { display: flex; align-items: center; gap: 16px; padding: 24px 8px; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--tpl-ink); }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary > b { flex: none; width: 22px; font-size: 20px; font-weight: 700; color: var(--tpl-red); }
.tpl-faq__cat { flex: none; min-width: 64px; font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-faq__q { flex: 1 1 auto; min-width: 0; }
.tpl-faq summary .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); transition: transform .35s var(--tpl-ease); }
.tpl-faq details[open] summary .tpl-ico { transform: rotate(180deg); color: var(--tpl-ink); }
.tpl-faq summary:hover .tpl-faq__q { text-decoration: underline; text-underline-offset: 4px; }
.tpl-faq summary:focus-visible { outline-offset: -2px; }
.tpl-faq__a { display: flex; gap: 16px; margin: 0 8px 24px; padding: 22px 24px; background: var(--tpl-gray); font-size: 17px; line-height: 1.8; color: var(--tpl-text); }
.tpl-faq__a > b { flex: none; width: 22px; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--tpl-ink); }
.tpl-plist--gap { margin-top: 72px; }
.tpl-overview__nums--top { margin: 0 0 72px; }
@media (max-width: 768px) {
  .tpl-faq summary { flex-wrap: wrap; gap: 4px 12px; padding: 20px 4px; font-size: 16.5px; }
  .tpl-faq__cat { min-width: 0; }
  .tpl-faq__q { flex-basis: 100%; order: 3; }
  .tpl-faq summary .tpl-ico { margin-left: auto; }
  .tpl-faq__a { margin: 0 0 20px; padding: 18px 16px; font-size: 16px; }
  .tpl-plist--gap { margin-top: 48px; }
  .tpl-overview__nums--top { margin-bottom: 48px; }
}

/* ==========================================================================
   연결부 — 시안 27 에 없던 것만 둡니다(그누보드 화면 · 올웹 로고 · 지도 · 고정 배경 · 상단 메뉴 조합 · 퀵메뉴 · 맨 위로 · 팝업 · 채용 창).
   ========================================================================== */

[hidden] { display: none !important; }

/* ---------- 로고 : 올웹 로고입니다(지침 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; }
}

/* ---------- 고정 배경 : 스크롤해도 사진은 멈춰 있고 내용만 움직입니다. PC 에서만 켭니다(지침 3-4) ---------- */
@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tpl-careers__bg { background-attachment: fixed; }
}

/* ---------- 지도 : 카카오맵(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-ink); font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; transition: background-color .25s; }
.loc-map-go:hover { background: var(--tpl-red); }
.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: 1320px; margin: 0 auto; padding-top: 120px; padding-bottom: 120px; }
.allweb-gnu .btn_submit, .allweb-gnu .btn_b01, .allweb-gnu .btn_b02 { border-radius: 0; background: var(--tpl-ink); color: #fff; }
/* 자동등록방지 : 리셋의 img{display:block} 때문에 그림 · 입력칸 · 단추가 두 줄이 됩니다(지침 3-2). 원본의 그림 자리(.tpl-captcha)에 들어갑니다 */
#captcha #captcha_img { display: inline-block; vertical-align: middle; }
#captcha #captcha_key { width: auto; max-width: 160px; height: 52px; padding: 0 14px; border: 1px solid #b9c2ce; vertical-align: middle; font: 400 16.5px var(--tpl-font); color: var(--tpl-ink); }
#captcha button { vertical-align: middle; }
#captcha #captcha_info { display: block; margin-top: 6px; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-form__td #captcha { margin: 0; }
.tpl-find__captcha { margin-top: 28px; text-align: center; }

/* ---------- 게시판 · 회원 화면 중 시안에 없는 그누보드 부품 ---------- */
.tpl-bbs td.tpl-bbs__empty { padding: 60px 0; 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-view__body > figure + figure { margin-top: 1.4em; }
.tpl-answer + .tpl-answer { margin-top: 16px; }
.tpl-answer__who a { margin-left: 12px; 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-red); }
.tpl-cmt__list { margin-top: 14px; }
.tpl-cmt__list li { padding: 18px 0; border-bottom: 1px solid #d3d9e1; 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 input[type="text"], .tpl-cmt__form input[type="password"], .tpl-cmt__form textarea { width: 100%; max-width: 560px; height: 52px; padding: 0 16px; border: 1px solid #b9c2ce; border-radius: 0; background: #fff; font-size: 16.5px; color: var(--tpl-ink); }
.tpl-cmt__form textarea { max-width: none; height: 120px; padding: 14px 16px; resize: vertical; }
.tpl-cmt__form .tpl-btn { justify-self: end; }
.tpl-faq__empty { padding: 48px 0; text-align: center; color: var(--tpl-mute); }
.tpl-faq__a a { color: var(--tpl-red); text-decoration: underline; text-underline-offset: 3px; }
/* 회원 정보 입력 : 주소 · 정보 수신 동의 · 본인확인 · 회원 사진처럼 원본에 없는 그누보드 칸 */
.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 { height: 52px; padding: 0 20px; }
.tpl-textarea.mb-textarea { min-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: 600 14.5px var(--tpl-font); color: var(--tpl-red); 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; margin-top: 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); }

/* ---------- 채용 공고 상세 : 공고명을 누르면 뜨는 창(dialog)입니다. 창 안은 시안의 글 보기(.tpl-view__*) 모양입니다 ---------- */
.cs-job-dialog { width: min(760px, calc(100% - 40px)); max-height: calc(100% - 80px); padding: 40px 44px 36px; border: 0; border-top: 3px solid var(--tpl-red); background: #fff; color: var(--tpl-text); overflow-y: auto; }
.cs-job-dialog::backdrop { background: rgba(8, 22, 41, .66); }
.cs-job-dialog .tpl-view__title .tpl-tag { margin-left: 8px; vertical-align: 6px; }
.cs-job-dialog .tpl-btns { margin-top: 28px; }
@media (max-width: 768px) {
  .cs-job-dialog { padding: 28px 22px 24px; }
}

/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz027(가 2 · 나 6 · 다 2 · 라 4 · 마 6, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 2 : 1차에 올리면 빨간 밑줄이 가운데서 양쪽으로 퍼집니다(원본 그대로). 서브페이지 현재 메뉴 밑줄은 다른 1차에 올리면 거둡니다(원본 그대로).
   나 6 : 1차마다 열을 세우는 전체 메가이고, 올린 1차의 열만 옅게 밝아집니다(바탕이 남색이라 옅은 회색 대신 흰빛 6%). 1차 아래 빨간 선이 그 열의 머리입니다.
   다 2 : 투명 · 흰 머리글이 메뉴가 열리면 남색으로 바뀌고 패널도 같은 남색입니다. 2차 글자는 옅은 흰색, 올리면 흰색입니다.
   라 4 : 열마다 0.05초씩 늦게 위에서 아래로 드러나고(clip-path), 2차 줄이 살짝 내려앉습니다. 열의 드러남은 패널과 같은 시간 · 곡선이라 늦게 시작해도 패널이 덮은 곳 안에서만 보입니다.
          닫을 때는 늦춤 없이 패널과 함께 걷혀 패널 밖 글자가 없습니다.
   마 6 : 2차에 올리면 글자가 오른쪽으로 4px 밀리며 흰색이 됩니다(밑줄 없음). ---------- */
.tpl-header.is-mega-open { background: var(--tpl-ink); color: #fff; }
.tpl-header.is-mega-open::after { background: rgba(255, 255, 255, .12); }
.tpl-mega__bg { background: var(--tpl-ink); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .1); }
.tpl-gnb__sub { transition: clip-path .45s var(--tpl-ease), visibility 0s linear .45s, background-color .25s; }
.is-mega-open .tpl-gnb__item:nth-child(2) .tpl-gnb__sub { transition-delay: .05s, .05s, 0s; }
.is-mega-open .tpl-gnb__item:nth-child(3) .tpl-gnb__sub { transition-delay: .1s, .1s, 0s; }
.is-mega-open .tpl-gnb__item:nth-child(4) .tpl-gnb__sub { transition-delay: .15s, .15s, 0s; }
.is-mega-open .tpl-gnb__item:nth-child(n + 5) .tpl-gnb__sub { transition-delay: .2s, .2s, 0s; }
.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__sub { background: rgba(255, 255, 255, .06); }
.tpl-gnb__sub li { transform: translateY(-8px); transition: transform .45s var(--tpl-ease); }
.is-mega-open .tpl-gnb__sub li { transform: none; }
.is-mega-open .tpl-gnb__item:nth-child(2) .tpl-gnb__sub li { transition-delay: .05s; }
.is-mega-open .tpl-gnb__item:nth-child(3) .tpl-gnb__sub li { transition-delay: .1s; }
.is-mega-open .tpl-gnb__item:nth-child(4) .tpl-gnb__sub li { transition-delay: .15s; }
.is-mega-open .tpl-gnb__item:nth-child(n + 5) .tpl-gnb__sub li { transition-delay: .2s; }
.tpl-gnb__sub a { color: rgba(255, 255, 255, .7); transition: color .25s, transform .3s var(--tpl-ease); }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: #fff; text-decoration: none; transform: translateX(4px); }
.tpl-gnb__sub a[aria-current] { color: #fff; }
.tpl-gnb__sub a:focus-visible { outline-color: #ff8a98; }
@media (prefers-reduced-motion: reduce) {
  .tpl-gnb__sub, .tpl-gnb__sub li, .tpl-gnb__sub a { transition: none !important; transform: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz027(배치 2 · 효과 5). 오른쪽 가운데에 칸 사이를 띄운 흰 정사각 칸(원본 .tpl-sqbtn 의 1px 회청 선, 아이콘만)을 세로로 쌓습니다.
   칸에 올리거나 키보드로 가면 칸 왼쪽에 빨간 옆줄이 위에서 아래로, 칸 아래에 빨간 밑줄이 왼쪽에서 오른쪽으로 그어지고(원본 1차 메뉴 밑줄의 말씨),
   칸 왼쪽에 남색 글자 이름이 나오며 그 아래에도 빨간 밑줄이 그어집니다. 이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다.
   칸 크기는 본문 좌우 여백 안에 들어가게 34px(1025px 이상, 여백 40px) · 28px(769~1024px, 여백 32px)입니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show).
   모바일(768px 이하)은 44px 아이콘 칸으로 오른쪽 아래 「맨 위로」 위에 섭니다 ---------- */
.tpl-quick { --tpl-qs: 34px; position: fixed; right: 3px; top: 50%; z-index: 95; opacity: 0; visibility: hidden; transform: translate(10px, -50%); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; gap: 6px; }
.tpl-quick a { position: relative; display: grid; place-items: center; width: var(--tpl-qs); height: var(--tpl-qs); border: 1px solid var(--tpl-line); background: #fff; color: var(--tpl-ink); transition: color .25s; }
.tpl-quick a::before, .tpl-quick a::after { content: ''; position: absolute; background: var(--tpl-red); transition: transform .3s var(--tpl-ease); }
.tpl-quick a::before { left: -1px; top: -1px; bottom: -1px; width: 2px; transform: scaleY(0); transform-origin: 50% 0; }
.tpl-quick a::after { left: -1px; right: -1px; bottom: -1px; height: 2px; transform: scaleX(0); transform-origin: 0 50%; }
.tpl-quick a .tpl-ico, .tpl-quick__img { width: 16px; height: 16px; stroke-width: 1.7; }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a span { position: absolute; right: calc(100% + 8px); top: 50%; padding: 4px 2px; background: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; color: var(--tpl-ink); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(-50%); transition: opacity .25s; box-shadow: 0 0 0 6px #fff; }
.tpl-quick a span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tpl-red); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .3s var(--tpl-ease) .05s; }
.tpl-quick a:hover, .tpl-quick a:focus-visible { color: var(--tpl-red); }
.tpl-quick a:hover::before, .tpl-quick a:focus-visible::before { transform: scaleY(1); }
.tpl-quick a:hover::after, .tpl-quick a:focus-visible::after { transform: scaleX(1); }
.tpl-quick a:hover span, .tpl-quick a:focus-visible span { opacity: 1; }
.tpl-quick a:hover span::after, .tpl-quick a:focus-visible span::after { transform: scaleX(1); }
.tpl-quick a:focus-visible { outline-offset: 2px; }
/* 769~1024px 은 본문 좌우 여백이 32px 이라 칸을 28px 로 줄여 여백 안에 둡니다 */
@media (max-width: 1024px) {
  .tpl-quick { --tpl-qs: 28px; right: 2px; }
  .tpl-quick ul { gap: 5px; }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: 14px; height: 14px; }
}
/* 터치 화면은 올릴 수 없습니다. 이름을 내지 않고 한 번 누르면 바로 이동합니다 */
@media (hover: none) {
  .tpl-quick a span { display: none; }
}
@media (max-width: 768px) {
  .tpl-quick { --tpl-qs: 44px; top: auto; bottom: 72px; right: var(--tpl-side); transform: translateY(10px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick a .tpl-ico, .tpl-quick__img { width: 19px; height: 19px; }
  .tpl-quick a span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick *, .tpl-quick a::before, .tpl-quick a::after, .tpl-quick a span::after { transition: none !important; }
}

/* ---------- 맨 위로 : 원본처럼 퀵메뉴와 따로 오른쪽 아래의 정사각 단추이고, 검정(푸터 남색 검정)으로 칠합니다(「쓴 조합」 biz027). 올리면 빨강입니다 ---------- */
.tpl-totop { border-color: var(--tpl-black); background: var(--tpl-black); color: #fff; }
.tpl-totop:hover, .tpl-totop:focus-visible { border-color: var(--tpl-red); background: var(--tpl-red); color: #fff; }

/* ---------- 팝업 : 흰 직각 판 · 위 남색 4px 띠(원본 표 머리선) · 제목 앞 빨간 짧은 세로 막대(원본 라벨 세로선) · 남색 면 단추(올리면 빨강) · 연회청 아래 띠 ---------- */
.tpl-pop__item { background: #fff; border-top: 4px solid var(--tpl-ink); box-shadow: 0 18px 44px rgba(8, 22, 41, .34); }
.tpl-pop__body { padding: 38px 36px 32px; }
.tpl-pop__title { position: relative; margin: 0 0 14px; padding-left: 16px; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-pop__title::before { content: ''; position: absolute; left: 0; top: .3em; width: 3px; height: 1em; background: var(--tpl-red); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-top: 24px; padding: 0 22px; border: 1px solid var(--tpl-ink); background: var(--tpl-ink); font-size: 15.5px; font-weight: 600; color: #fff; transition: background-color .25s, border-color .25s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { border-color: var(--tpl-red); background: var(--tpl-red); }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-gray); }
.tpl-pop__foot button { min-height: 48px; padding: 0 12px; border: 0; background: transparent; font-size: 14.5px; color: var(--tpl-mute); transition: background-color .25s, color .25s; }
.tpl-pop__foot button + button { border-left: 1px solid var(--tpl-line); color: var(--tpl-ink); font-weight: 600; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--tpl-ink); color: #fff; }
