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

/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색·글꼴 토큰, 공통 라벨·제목·링크, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼을 담습니다.
   색은 흰 바탕 · 검정/짙은 회색 글자 · 연회색 카드 · 라벨 앞 작은 빨간 세로 막대만 씁니다. 바꾸려면 :root 값을 고치시면 됩니다. */

@font-face { font-family: '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: #1a1a1a;             /* 제목 · 강조 글자 */
  --tpl-text: #444;               /* 본문 글자 */
  --tpl-mute: #6b6b6b;            /* 보조 글자(흰 바탕 5.3:1 · 연회색 4.9:1) */
  --tpl-line: #e2e2e2;            /* 얇은 선 */
  --tpl-gray: #f7f7f7;            /* 연회색 카드 · 연락처 바탕 */
  --tpl-red: #d7172f;             /* 라벨 앞 세로 막대(포인트 색은 이것 하나) */
  --tpl-black: #000;              /* 푸터 */
  --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: 64px;               /* 헤더 높이 */
  --tpl-gnb-gap: 56px;            /* 1차 메뉴 글자 사이 간격(글자 양옆에 절반씩). common.js 가 가장 긴 2차 메뉴가 가장 좁은 칸에 한 줄로 들어가도록 필요하면 넓힙니다 */
  --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: 9px; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0; color: var(--tpl-ink); }
.tpl-label::before { content: ''; width: 2px; height: 11px; background: var(--tpl-red); }
.tpl-label--light { color: #fff; }
.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: 600; line-height: 1.42; letter-spacing: -.04em; 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; 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: #fff; background: #fff; color: var(--tpl-ink); }
.tpl-btn-line:hover .tpl-ico { transform: translateX(3px); }
.tpl-sqbtn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ddd; border-radius: 2px; background: #fff; color: var(--tpl-ink); transition: border-color .25s, color .25s; }
.tpl-sqbtn .tpl-ico { width: 15px; height: 15px; stroke-width: 1.8; }
.tpl-sqbtn:hover { border-color: var(--tpl-ink); }
.tpl-sqbtn.is-end { color: #c4c4c4; }
.tpl-sqbtn.is-end:hover { border-color: #ddd; }

/* ---------- 로고 : allweb 로고입니다. 원 색은 템플릿 강조색과 상관없이 CI 색 그대로 둡니다 ---------- */
.tpl-logo { --accent: #12c29a; }
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; }
.logo-svg { display: block; height: 32px; width: auto; }
.logo-img { display: block; height: 32px; width: auto; max-width: 220px; object-fit: contain; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(검정 글자) ---------- */
.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; }
/* 헤더 맨 위는 어두운 사진 위라 어두운 바탕용 로고, 흰 바탕이 되면 일반 로고입니다 */
.logo-img--dark { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-logo .logo-img:not(.logo-img--dark) { display: none; }
.tpl-header:not(.is-scrolled):not(.is-mega-open) .tpl-logo .logo-img--dark { display: block; }
.tpl-header.is-scrolled .logo-img--dark, .tpl-header.is-mega-open .logo-img--dark { display: none; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
.tpl-gnb__item { position: relative; height: 100%; }
.tpl-gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 calc(var(--tpl-gnb-gap) / 2); font-size: 18px; font-weight: 500; white-space: nowrap; }
/* 밑줄은 양옆 여백을 뺀 글자 폭만큼 그립니다 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 50%; bottom: 0; z-index: 1; width: calc(100% - var(--tpl-gnb-gap)); height: 2px; background: currentColor; 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 4px; 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; }

/* ---------- 푸터 : 순검정, 왼쪽 로고 · 오른쪽 메뉴 열, 아래 계열사 바로가기 · 정책 · 주소 · 저작권 ---------- */
.tpl-footer { background: #000; color: #d4d4d4; font-size: 15px; line-height: 1.7; }
.tpl-footer__in { display: flex; justify-content: space-between; gap: 60px; padding: 64px 0 72px; }
.tpl-footer__left { min-width: 0; }
.tpl-footer__right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 48px; flex: none; }
.tpl-logo--foot { color: #fff; }
.tpl-footer__sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tpl-footer__sns a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #fff; border-radius: 50%; color: #fff; transition: background .25s, color .25s; }
.tpl-footer__sns a:hover, .tpl-footer__sns a:focus-visible { background: #fff; color: #000; }
.tpl-footer__sns .tpl-ico { width: 20px; height: 20px; }
.tpl-footer__info { margin-top: 36px; font-style: normal; font-size: 15px; line-height: 1.95; color: #d4d4d4; }
.tpl-footer__info span + span::before { content: ''; display: inline-block; width: 1px; height: 11px; margin: 0 10px; background: #666; }
.tpl-footer__policy { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 80px; font-size: 15px; color: #d4d4d4; }
.tpl-footer__policy a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tpl-family { position: relative; width: 246px; }
.tpl-family__btn { position: relative; display: block; width: 100%; height: 56px; padding: 0 28px 0 0; border: 0; border-bottom: 1px solid #666; background: none; text-align: left; font-size: 18px; font-weight: 500; letter-spacing: .02em; color: #fff; cursor: pointer; }
.tpl-family__btn::after { content: ''; position: absolute; right: 2px; top: 50%; margin-top: -4px; border: 7px solid transparent; border-top-color: #aaa; border-bottom-width: 0; transition: transform .3s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.tpl-family__list { position: absolute; left: 0; bottom: calc(100% + 6px); width: 100%; padding: 8px 0; border: 1px solid #444; background: #111; }
.tpl-family__list a { display: block; padding: 7px 16px; font-size: 15px; color: #ccc; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #1d1d1d; }
.tpl-footer__bar { background: #2f3333; }
.tpl-footer__copy { padding: 16px 0; font-size: 15px; color: #aaa; }

/* ---------- TOP 버튼 : 오른쪽 아래 흰 사각 · 얇은 테두리. 맨 위에서는 숨깁니다 ---------- */
.tpl-totop { position: fixed; right: var(--tpl-side); bottom: 40px; z-index: 90; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ddd; border-radius: 2px; 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); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-gap: 48px; }
  .tpl-util { gap: 18px; }
}
@media (max-width: 1140px) {
  /* 좁은 폭에서는 2차 글자를 한 단계 줄여 1차 간격을 좁혀도 한 줄로 들어가게 합니다(로고 · 유틸과의 간격 확보) */
  :root { --tpl-gnb-gap: 38px; }
  .tpl-gnb__sub a { font-size: 15px; }
  .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-footer__in { flex-direction: column; gap: 40px; padding: 56px 0 48px; }
  .tpl-footer__right { align-items: stretch; }
}
@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; }
  .logo-svg, .logo-img { height: 28px; }
  .tpl-footer__policy { gap: 8px 24px; }
  .tpl-family { width: 100%; }
  .tpl-footer__info { font-size: 14px; }
  .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; }
}

/* main.css — 메인 페이지 전용입니다. 비주얼, Corporate Essence, Our Businesses, Masterpiece, Vision, Company Updates, Contact 를 담습니다. */

/* ---------- 메인 비주얼 : 높이 80vh(최소 520px) · 배경은 섹션에 고정(스크롤해도 움직이지 않음) ---------- */
.tpl-visual { position: relative; height: 80vh; min-height: 520px; overflow: hidden; background: #2b3036; 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(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 30%), rgba(0, 0, 0, .32); }
/* 나가는 장은 들어오는 장이 다 덮을 때까지 그대로 보이다가 사라집니다(두 장이 함께 옅어져 어두워지는 순간이 없습니다). */
.tpl-visual__item { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0s linear var(--tpl-vspeed, 1200ms), visibility 0s linear var(--tpl-vspeed, 1200ms); }
.tpl-visual__item.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity var(--tpl-vspeed, 1200ms) ease; }
.tpl-visual__item > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* 유튜브 : 실제로 재생되기 시작하면(.is-playing) 포스터 위로 서서히 나타납니다. file:// 에서는 만들지 않으므로 포스터만 보입니다. */
.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 96px; display: grid; place-items: center; text-align: center; }
.tpl-visual__cap { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--tpl-ease); }
/* .tpl-btn-line 이 common.css 로 옮겨 가며 바뀐 규칙 순서를 보정합니다(버튼의 transition 은 예전처럼 배경 · 글자 · 테두리만 적용됩니다) */
.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__title { transition-delay: .1s; }
.tpl-visual__cap.is-active .tpl-visual__desc { transition-delay: .3s; }
.tpl-visual__cap.is-active .tpl-btn-line { transition-delay: .5s; }
.tpl-visual__title { font-size: 66px; font-weight: 700; line-height: 1.22; letter-spacing: -.05em; word-break: keep-all; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.tpl-visual__desc { margin-top: 24px; font-size: 20px; font-weight: 500; line-height: 1.7; letter-spacing: -.03em; color: rgba(255, 255, 255, .9); word-break: keep-all; text-shadow: 0 1px 16px rgba(0, 0, 0, .3); }
/* 숫자 · 진행선 · 자동재생 버튼은 비주얼 아래 가운데 */
.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, .75); transition: color .25s; }
.tpl-visual__pause i { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: rgba(255, 255, 255, .35); 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, .6); font-variant-numeric: tabular-nums; }
.tpl-visual__count b { font-weight: 600; color: #fff; }
.tpl-visual__count span { position: relative; width: 72px; height: 1px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.tpl-visual__count span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.tpl-visual.is-run .tpl-visual__count span::after { animation: tplFill var(--tpl-vdelay, 6500ms) linear forwards; }
@keyframes tplFill { to { transform: scaleX(1); } }
.tpl-visual__more { position: absolute; right: var(--tpl-side); bottom: 40px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; transition: background-color .3s, color .3s; }
.tpl-visual__more .tpl-ico { width: 20px; height: 20px; stroke-width: 1.4; transition: transform .45s var(--tpl-ease); }
.tpl-visual__more:hover { background: #fff; color: var(--tpl-ink); }
.tpl-visual__more:hover .tpl-ico { transform: rotate(90deg); }

/* ---------- Corporate Essence : 왼쪽 사진은 따라 내려오며(sticky) 오른쪽 01·02·03 항목에 맞춰 바뀝니다 ---------- */
.tpl-essence { --es-h: calc((min(100vw, 1760px) - var(--tpl-side) * 2) * .418 * 1.04); padding: 150px 0 120px; }
.tpl-essence__grid { --media-w: 41.8%; display: grid; grid-template-columns: var(--media-w) 1fr; column-gap: 8.8%; margin-top: 120px; }
.tpl-essence__media { position: sticky; top: max(calc(var(--tpl-hd-h) + 20px), calc(50vh - (min(100vw, 1760px) - var(--tpl-side) * 2) * .2174)); align-self: start; aspect-ratio: 535 / 556; overflow: hidden; background: var(--tpl-gray); }
.tpl-essence__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.tpl-essence__media img.is-active { opacity: 1; }
/* 사진 높이(--es-h, 화면 폭 비례)의 70% 를 항목 하나의 높이로 잡고 위아래 15% 를 비워, 첫 항목과 마지막 항목이 사진 가운데에 오도록 합니다. */
.tpl-essence__list { padding: calc(var(--es-h) * .15) 0; }
.tpl-essence__item { display: flex; flex-direction: column; justify-content: center; min-height: calc(var(--es-h) * .7); opacity: .25; transition: opacity .6s ease; }
.tpl-essence__item.is-active { opacity: 1; }
.tpl-essence__mimg { display: none; }
.tpl-essence__num { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--tpl-red); }
.tpl-essence__tit { margin-top: 16px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-essence__txt { margin-top: 24px; font-size: 20px; line-height: 1.8; color: var(--tpl-text); }

/* ---------- Our Businesses : 흰 바탕 소개 + 풀폭 배경 사진 + 오른쪽 아코디언 카드 ---------- */
.tpl-biz { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-biz__bg { position: absolute; inset: 0; z-index: -2; background: #2b3036 center / cover no-repeat; }
.tpl-biz::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 12, 16, .5); }
.tpl-biz__in { padding: 170px 0 120px; }
.tpl-biz .tpl-head__ko { font-size: 50px; color: #fff; }
.tpl-biz .tpl-head__txt { margin-top: 20px; font-size: 20px; color: rgba(255, 255, 255, .85); }
/* 사업 카드 3개: 사진 위 어두운 반투명 → 마우스를 올리면 흰 카드 */
.tpl-biz__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 110px; }
.tpl-biz__card { display: flex; flex-direction: column; min-height: 300px; padding: 40px 40px 36px; border-top: 2px solid rgba(255, 255, 255, .8); background: rgba(12, 15, 19, .62); transition: background-color .4s, color .4s, border-color .4s; }
.tpl-biz__num { font-size: 16px; font-weight: 600; letter-spacing: .08em; color: rgba(255, 255, 255, .6); transition: color .4s; }
.tpl-biz__tit { margin-top: 20px; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.tpl-biz__txt { margin-top: 14px; font-size: 17.5px; line-height: 1.7; color: rgba(255, 255, 255, .78); transition: color .4s; }
.tpl-biz__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 32px; }
.tpl-biz__tags a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .4); font-size: 15px; transition: background-color .25s, border-color .25s, color .25s; }
.tpl-biz__tags .tpl-ico { width: 12px; height: 12px; stroke-width: 2; }
.tpl-biz__card:hover, .tpl-biz__card:focus-within { border-color: var(--tpl-red); background: #fff; color: var(--tpl-ink); }
.tpl-biz__card:hover .tpl-biz__num, .tpl-biz__card:focus-within .tpl-biz__num { color: var(--tpl-red); }
.tpl-biz__card:hover .tpl-biz__txt, .tpl-biz__card:focus-within .tpl-biz__txt { color: #555; }
.tpl-biz__card:hover .tpl-biz__tags a, .tpl-biz__card:focus-within .tpl-biz__tags a { border-color: #ddd; }
.tpl-biz__tags a:hover { border-color: var(--tpl-ink) !important; background: var(--tpl-ink); color: #fff; }

/* ---------- Masterpiece : 왼쪽 2줄 제목 + 오른쪽 사각 화살표, 세로형 사진 카드 캐러셀 ---------- */
.tpl-works { padding-bottom: 140px; }
.tpl-slider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-slider__side { display: flex; align-items: center; gap: 28px; }
.tpl-slider__arrows { display: flex; gap: 6px; }
/* 가로 캐러셀 공용(Masterpiece · Gallery): --per 장씩 보입니다 */
.tpl-track { --per: 4; --gap: 16px; 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-works__card > a { display: block; }
.tpl-works__img { aspect-ratio: 248 / 343; overflow: hidden; background: var(--tpl-gray); }
.tpl-works__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-works__card a:hover img, .tpl-works__card a:focus-visible img { transform: scale(1.04); }
.tpl-works__card a:focus-visible { outline-offset: 4px; }
.tpl-works__tit { display: block; margin-top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-works__txt { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--tpl-mute); }

/* ---------- Gallery : 갤러리 사진 최대 10장, 한 화면 3장(1024↓ 2장, 600↓ 1장) ---------- */
.tpl-gallery { padding-bottom: 0; }
.tpl-gallery__track { --per: 3; --gap: 24px; }
.tpl-gallery__card > a { display: block; }
.tpl-gallery__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.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 { display: block; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--tpl-red); }
.tpl-gallery__tit { display: block; margin-top: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-gallery__card a:hover .tpl-gallery__tit { text-decoration: underline; text-underline-offset: 5px; }
/* 내용은 두 줄까지 보이고 넘치면 … 로 줄입니다(줄 수가 달라도 카드 높이가 같도록 두 줄 높이를 확보) */
.tpl-gallery__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }
.tpl-gallery__date { display: block; margin-top: 14px; font-size: 15.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- Vision : 풀폭 배경 사진 + 어두운 막, 왼쪽 제목 · 오른쪽 정렬 문구 ---------- */
.tpl-vision { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-vision__bg { position: absolute; inset: 0; z-index: -2; background: #2b3036 center / cover no-repeat; }
.tpl-vision::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .45); }
.tpl-vision__in { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: clamp(560px, 46vw, 760px); padding: 120px 0; text-align: center; }
.tpl-vision__title { margin-top: 24px; font-size: 54px; font-weight: 700; line-height: 1.3; letter-spacing: -.05em; word-break: keep-all; }
.tpl-vision__txt { margin-top: 24px; font-size: 20px; line-height: 1.8; color: rgba(255, 255, 255, .85); word-break: keep-all; }

/* ---------- Company Updates : 왼쪽 제목 · 오른쪽 연회색 최신글 카드 2개, 아래 얇은 선 바로가기 4칸 ---------- */
.tpl-updates__grid { display: grid; gap: 64px; }
.tpl-updates__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; min-width: 0; }
.tpl-latest { min-width: 0; padding: 36px 40px 34px; background: var(--tpl-gray); }
.tpl-latest__en { font-size: 14px; font-weight: 500; color: #555; }
.tpl-latest__tit { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-latest__list { margin: 22px 0 24px; border-top: 1px solid #e3e3e3; }
.tpl-latest__list li { display: flex; align-items: center; gap: 24px; padding: 11px 0; border-bottom: 1px solid #ebebeb; font-size: 16.5px; }
.tpl-latest__list a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #333; }
.tpl-latest__list a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-latest__re { display: inline-block; margin-right: 7px; padding: 0 5px; border: 1px solid #ccc; font-size: 13px; line-height: 17px; color: var(--tpl-mute); vertical-align: 1px; }
.tpl-latest__date { flex: none; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-shortcut { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 120px; border-top: 1px solid var(--tpl-ink); }
.tpl-shortcut li + li { border-left: 1px solid var(--tpl-line); }
.tpl-shortcut a { position: relative; display: grid; gap: 6px; align-content: start; height: 100%; padding: 30px 60px 36px 28px; transition: background-color .3s; }
.tpl-shortcut li:first-child a { padding-left: 0; }
.tpl-shortcut__en { font-size: 14px; color: var(--tpl-mute); }
.tpl-shortcut strong { font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-shortcut__txt { margin-top: 4px; font-size: 16px; line-height: 1.6; color: var(--tpl-mute); }
.tpl-shortcut .tpl-ico { position: absolute; right: 24px; top: 30px; width: 18px; height: 18px; color: var(--tpl-ink); transition: transform .35s var(--tpl-ease); }
.tpl-shortcut a:hover .tpl-ico { transform: translate(3px, -3px); }
.tpl-shortcut a:hover strong { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Contact : 연회색 단색 바탕(이미지 없음) + 연락처 + 지도 ---------- */
.tpl-contact { background: var(--tpl-gray); }
.tpl-contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 1.5%; align-items: center; }
.tpl-contact__tel { display: grid; gap: 6px; margin-top: 44px; }
.tpl-contact__tel div { display: flex; align-items: center; gap: 16px; }
.tpl-contact__tel dt { min-width: 44px; padding: 3px 0; border: 1px solid #c9c9c9; font-size: 13.5px; font-weight: 600; text-align: center; color: var(--tpl-ink); }
.tpl-contact__tel dd { font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--tpl-ink); }
.tpl-contact__meta { display: grid; gap: 6px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #ddd; 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-mute); }
.tpl-contact__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 340px; background: #e9e9e9; }
.tpl-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.9); }
.tpl-contact__maplink { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; 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: #000; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .tpl-visual__title { font-size: 52px; }
  .tpl-visual__desc { font-size: 19px; }
  .tpl-essence__grid { margin-top: 90px; }
  .tpl-essence__tit { font-size: 32px; }
  .tpl-essence__txt { font-size: 18.5px; }
  .tpl-biz__in { padding: 140px 0 100px; }
  .tpl-biz .tpl-head__ko { font-size: 42px; }
  .tpl-biz__cards { gap: 14px; margin-top: 80px; }
  .tpl-biz__card { padding: 32px 28px 30px; }
  .tpl-biz__tit { font-size: 24px; }
  .tpl-vision__title { font-size: 44px; }
  .tpl-works__track { --per: 2; }
  .tpl-gallery__track { --per: 2; }
  .tpl-updates__grid, .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
  .tpl-shortcut { grid-template-columns: repeat(2, 1fr); margin-top: 80px; }
  .tpl-shortcut li:nth-child(3) { border-left: 0; }
  .tpl-shortcut li:nth-child(3) a { padding-left: 0; }
  .tpl-shortcut li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
}
@media (max-width: 768px) {
  .tpl-updates__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tpl-updates__grid { gap: 40px; }
  .tpl-visual__caps { inset: var(--tpl-hd-h) 56px 80px; }
  .tpl-visual__title { font-size: 38px; 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-visual__more { bottom: 24px; width: 42px; height: 42px; }
  .tpl-essence { padding: 110px 0 60px; }
  .tpl-essence__grid { display: block; margin-top: 64px; }
  .tpl-essence__media { display: none; }
  .tpl-essence__list { padding: 0; }
  .tpl-essence__item { min-height: 0; opacity: 1; }
  .tpl-essence__item + .tpl-essence__item { margin-top: 64px; }
  .tpl-essence__mimg { display: block; width: 100%; aspect-ratio: 535 / 556; object-fit: cover; margin-bottom: 32px; }
  .tpl-essence__tit { margin-top: 12px; font-size: 28px; }
  .tpl-essence__txt { margin-top: 14px; font-size: 18px; }
  .tpl-biz__in { padding: 100px 0 72px; }
  .tpl-biz .tpl-head__ko { font-size: 32px; }
  .tpl-biz .tpl-head__txt { font-size: 17.5px; }
  .tpl-biz__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 56px; }
  .tpl-biz__card { min-height: 0; padding: 28px 24px 26px; }
  .tpl-biz__tit { margin-top: 12px; font-size: 23px; }
  .tpl-biz__tags { padding-top: 22px; }
  .tpl-works { padding-bottom: 100px; }
  .tpl-slider__head { align-items: flex-end; }
  .tpl-slider__side .tpl-textlink { display: none; }
  .tpl-track { margin-top: 40px; }
  .tpl-vision__in { min-height: 520px; padding: 90px 0; }
  .tpl-vision__title { margin-top: 18px; font-size: 32px; }
  .tpl-vision__txt { margin-top: 18px; font-size: 17.5px; line-height: 1.75; }
  .tpl-latest { padding: 28px 22px 26px; }
  .tpl-latest__tit { font-size: 21px; }
  .tpl-latest__list li { gap: 14px; font-size: 16px; }
  .tpl-shortcut a { padding: 26px 44px 28px 16px; }
  .tpl-shortcut li:nth-child(odd) a { padding-left: 0; }
  .tpl-shortcut .tpl-ico { right: 12px; top: 26px; }
  .tpl-contact__tel dd { font-size: 32px; }
  .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) 34px 80px; }
  .tpl-visual__title { font-size: 33px; }
  .tpl-visual__desc { font-size: 16.5px; }
  .tpl-works__track, .tpl-gallery__track { --per: 1; }
  .tpl-shortcut { grid-template-columns: minmax(0, 1fr); }
  .tpl-shortcut li + li { border-left: 0; border-top: 1px solid var(--tpl-line); }
  .tpl-shortcut li a, .tpl-shortcut li:nth-child(odd) a { padding: 24px 44px 26px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { scroll-behavior: auto; }
}

/* sub.css — 모든 서브페이지가 함께 쓰는 레이아웃과 콘텐츠 부품입니다. 사용 예시는 _src/README-pages.md 에 있습니다.
   색 · 글꼴 토큰은 common.css 의 :root 를 그대로 씁니다. 배경 사진은 스크롤해도 움직이지 않습니다(패럴랙스 없음). */

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

/* ======================================================================
   1. 서브 레이아웃 : 비주얼 · 위치 표시와 2차 메뉴 · 본문 폭과 여백
   ====================================================================== */
/* 서브 비주얼 : 풀폭 사진 + 어두운 막, 가운데 큰 제목 (PC 480px · 1024↓ 400px · 768↓ 340px) */
.tpl-subvis { position: relative; display: flex; align-items: center; height: 480px; overflow: hidden; background: #2b3036; color: #fff; text-align: center; isolation: isolate; }
.tpl-subvis__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 40%), rgba(0, 0, 0, .38); }
.tpl-subvis__in { display: flex; flex-direction: column; align-items: center; padding-top: var(--tpl-hd-h); }
.tpl-subvis__in > * { animation: tplRise 1s var(--tpl-ease) both; }
.tpl-subvis__title { margin-top: 22px; font-size: 58px; font-weight: 700; line-height: 1.22; letter-spacing: -.05em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); animation-delay: .1s; }
.tpl-subvis__desc { margin-top: 20px; font-size: 19px; font-weight: 500; line-height: 1.7; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 16px rgba(0, 0, 0, .3); animation-delay: .25s; }
@keyframes tplRise { from { opacity: 0; transform: translateY(20px); } }

/* 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽). 1024px 이하에서는 위아래로 나뉘고 탭은 가로로 밀어 봅니다 */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 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: 6px; height: 6px; margin: 0 14px 0 12px; border-top: 1px solid #aaa; border-right: 1px solid #aaa; transform: rotate(45deg); }
.tpl-loc a { display: flex; align-items: center; }
.tpl-loc a:hover { color: var(--tpl-ink); }
.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 22px; font-size: 17px; font-weight: 500; color: var(--tpl-mute); white-space: nowrap; transition: color .25s; }
.tpl-snb__tabs a::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--tpl-ink); 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 li:last-child a { margin-right: -22px; }

/* 본문 : .tpl-block(섹션) > .tpl-inner. 모든 화면이 상단 줄(.tpl-wrap)과 같은 폭 1680px 입니다.
   흰 섹션이 이어지면 사이 여백이 한 번만 들어가고, .tpl-block--gray 는 연회색 띠로 위아래 여백을 따로 가집니다 */
.tpl-inner { width: calc(100% - var(--tpl-side) * 2); max-width: 1680px; margin: 0 auto; }
.tpl-inner--narrow { max-width: 1680px; }
.tpl-block { padding: 140px 0; }
.tpl-block--gray { background: var(--tpl-gray); }
.tpl-block:not(.tpl-block--gray) + .tpl-block:not(.tpl-block--gray) { padding-top: 0; }
.tpl-ready { padding: 40px 0; text-align: center; }
.tpl-ready .tpl-label { justify-content: center; }
.tpl-ready__txt { margin-top: 18px; font-size: 22px; font-weight: 600; color: var(--tpl-ink); }

/* ======================================================================
   2. 제목 · 버튼 · 배지
   ====================================================================== */
/* 섹션 제목 : common.css 의 .tpl-head(라벨 + .tpl-head__ko/__en + __txt)에 아래 여백만 더합니다 */
.tpl-sechead { margin-bottom: 80px; }
.tpl-h3 { margin-bottom: 28px; font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-lead { font-size: 20px; line-height: 1.8; color: var(--tpl-text); }

.tpl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 64px; }
.tpl-btns--between { justify-content: space-between; }
.tpl-btns--end { justify-content: flex-end; }
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 140px; height: 56px; padding: 0 34px; border: 1px solid var(--tpl-ink); background: var(--tpl-ink); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.02em; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-btn:hover { background: #000; border-color: #000; }
.tpl-btn .tpl-ico { width: 17px; height: 17px; }
.tpl-btn--line { background: #fff; color: var(--tpl-ink); }
.tpl-btn--line:hover { background: var(--tpl-ink); color: #fff; }
.tpl-btn--sm { min-width: 0; height: 44px; padding: 0 20px; font-size: 15.5px; }
.tpl-btn--block { width: 100%; }
.tpl-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border: 1px solid var(--tpl-ink); font-size: 13.5px; font-weight: 600; line-height: 1; letter-spacing: 0; color: var(--tpl-ink); white-space: nowrap; }
.tpl-badge--red { border-color: var(--tpl-red); color: var(--tpl-red); }
.tpl-badge--gray { border-color: #ccc; color: var(--tpl-mute); }

/* ======================================================================
   3. 콘텐츠 부품
   ====================================================================== */
/* 글 + 사진 2단 (.tpl-split--rev 는 사진이 오른쪽) */
.tpl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 8%; align-items: center; }
.tpl-split__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tpl-gray); }
.tpl-split__media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-split--rev .tpl-split__media { order: 2; }
.tpl-split__tit { margin-top: 20px; font-size: 38px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-split__txt { margin-top: 36px; font-size: 18px; line-height: 1.9; }
.tpl-split__txt p + p { margin-top: 1.1em; }
.tpl-sign { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; margin-top: 48px; padding-top: 28px; 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: .1em; color: var(--tpl-ink); }

/* 숫자 행 : 위 굵은 선, 칸마다 라벨 + 큰 숫자 */
.tpl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--tpl-ink); }
.tpl-stats > li { padding: 40px 32px 44px; text-align: center; }
.tpl-stats > li + li { border-left: 1px solid var(--tpl-line); }
.tpl-stats__label { font-size: 16.5px; font-weight: 500; color: var(--tpl-mute); }
.tpl-stats__num { display: block; margin-top: 12px; font-size: 54px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-stats__num small { margin-left: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }

/* 카드 격자 : 기본 3열 · --2 · --4. 사진(figure)은 선택입니다 */
.tpl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl-card { display: flex; flex-direction: column; background: var(--tpl-gray); }
.tpl-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.tpl-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-card__body { flex: 1; padding: 40px 38px 44px; }
.tpl-card__num { display: block; margin-bottom: 18px; font-size: 16px; font-weight: 700; letter-spacing: .04em; color: var(--tpl-red); }
.tpl-card__tit { display: block; font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-card__txt { margin-top: 14px; font-size: 17px; line-height: 1.75; color: var(--tpl-text); }

/* 연혁 타임라인 : 왼쪽 연도 · 오른쪽 세로선과 점 위에 월 + 내용 */
.tpl-timeline > li { display: grid; grid-template-columns: 280px minmax(0, 1fr); padding: 56px 0; border-top: 1px solid var(--tpl-line); }
.tpl-timeline > li:last-child { border-bottom: 1px solid var(--tpl-line); }
.tpl-timeline__year { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-timeline__list { position: relative; display: grid; gap: 18px; padding-left: 44px; border-left: 1px solid var(--tpl-line); }
.tpl-timeline__list > li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 12px; font-size: 18px; line-height: 1.7; }
.tpl-timeline__list > li::before { content: ''; position: absolute; left: -48px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #bbb; }
.tpl-timeline > li:first-child .tpl-timeline__list > li:first-child::before { background: var(--tpl-red); }
.tpl-timeline__m { font-weight: 700; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }

/* 조직도 : 맨 위 대표 → (선택) 가운데 줄 → 본부 열 + 팀 목록. 선은 가상 요소로 그립니다 */
.tpl-org { text-align: center; }
.tpl-org__top, .tpl-org__mid > li { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 64px; padding: 0 28px; font-size: 19px; font-weight: 700; }
.tpl-org__top { background: var(--tpl-ink); color: #fff; }
.tpl-org__top::after, .tpl-org__mid::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 40px; background: #bbb; }
.tpl-org__mid { position: relative; display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.tpl-org__mid > li { border: 1px solid var(--tpl-ink); background: #fff; color: var(--tpl-ink); font-size: 17.5px; }
.tpl-org__depts { display: flex; margin-top: 40px; }
.tpl-org__depts > li { position: relative; flex: 1; padding: 40px 8px 0; }
.tpl-org__depts > li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #bbb; }
.tpl-org__depts > li:first-child::before { left: 50%; }
.tpl-org__depts > li:last-child::before { right: 50%; }
.tpl-org__depts > li:only-child::before { display: none; }
.tpl-org__depts > li::after { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 40px; background: #bbb; }
.tpl-org__dept { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 8px 12px; background: var(--tpl-gray); border-top: 2px solid var(--tpl-ink); font-size: 17.5px; font-weight: 700; color: var(--tpl-ink); }
.tpl-org__teams { display: grid; gap: 4px; margin-top: 16px; font-size: 16px; color: var(--tpl-text); }

/* 지도 + 주소 표 (지도는 인터넷 연결이 필요합니다) */
.tpl-map { position: relative; height: clamp(360px, 40vw, 560px); background: #e9e9e9; }
.tpl-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.9); }
.tpl-addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--tpl-ink); }
.tpl-addr > div { display: flex; gap: 24px; padding: 26px 8px; border-bottom: 1px solid var(--tpl-line); }
.tpl-addr > div:nth-child(odd):last-child { grid-column: 1 / -1; }
.tpl-addr dt { display: flex; align-items: center; gap: 10px; flex: none; width: 120px; font-weight: 700; color: var(--tpl-ink); }
.tpl-addr dt .tpl-ico { width: 18px; height: 18px; color: var(--tpl-mute); }
.tpl-addr dd { min-width: 0; }
.tpl-addr a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 정보 표 : 위 굵은 선 · 연회색 th. 좁은 화면에서는 .tpl-table-wrap 안에서 가로로 밀어 봅니다 */
.tpl-table-wrap { overflow-x: auto; }
.tpl-table { border-top: 2px solid var(--tpl-ink); font-size: 17px; line-height: 1.6; }
.tpl-table th, .tpl-table td { padding: 20px 24px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; }
.tpl-table th { background: var(--tpl-gray); font-weight: 600; color: var(--tpl-ink); }
.tpl-table thead th { text-align: center; }
.tpl-table tbody th { width: 220px; }
.tpl-table--center td { text-align: center; }
.tpl-table caption { margin-bottom: 14px; text-align: left; font-size: 15px; color: var(--tpl-mute); }

/* 단계 : 한 줄에 나란히(1024↓ 2열 · 600↓ 1열), 사이에 꺾쇠 */
.tpl-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 40px; }
.tpl-steps > li { position: relative; padding: 38px 30px 40px; background: var(--tpl-gray); }
.tpl-steps > li + li::before { content: ''; position: absolute; left: -26px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-top: 1.5px solid #999; border-right: 1.5px solid #999; transform: rotate(45deg); }
.tpl-steps__num { font-size: 15px; font-weight: 700; letter-spacing: .06em; color: var(--tpl-red); }
.tpl-steps__tit { display: block; margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-steps__txt { margin-top: 10px; font-size: 16.5px; line-height: 1.7; }

/* 탭 패널 : 같은 폭 버튼, 선택된 탭은 검정 바탕 */
.tpl-tabs__list { display: flex; margin-bottom: 64px; }
.tpl-tabs__btn { flex: 1; height: 62px; padding: 0 16px; border: 1px solid var(--tpl-line); font-size: 17px; font-weight: 600; color: var(--tpl-mute); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-tabs__btn + .tpl-tabs__btn { margin-left: -1px; }
.tpl-tabs__btn:hover { color: var(--tpl-ink); }
.tpl-tabs__btn[aria-selected="true"] { position: relative; border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-tabs__btn:focus-visible { outline-offset: -4px; }

/* ======================================================================
   4. 게시판 : 목록(표 · 모바일 카드) · 갤러리 · 글 보기 · 페이지 · 검색 · FAQ
   ====================================================================== */
.tpl-board__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.tpl-board__total { font-size: 16px; color: var(--tpl-mute); }
.tpl-board__total b { font-weight: 700; color: var(--tpl-ink); }
.tpl-board__table { border-top: 2px solid var(--tpl-ink); font-size: 17px; table-layout: fixed; }
.tpl-board__table th { height: 64px; border-bottom: 1px solid #bbb; font-weight: 600; color: var(--tpl-ink); }
.tpl-board__table td { height: 74px; padding: 0 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-board__table .tpl-board__num { width: 100px; }
.tpl-board__table .tpl-board__name { width: 140px; }
.tpl-board__table .tpl-board__date { width: 140px; }
.tpl-board__table .tpl-board__hit { width: 100px; }
.tpl-board__table .tpl-board__status { width: 130px; }
.tpl-board__table td.tpl-board__subject { text-align: left; color: var(--tpl-ink); }
.tpl-board__subject a { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; }
.tpl-board__subject a:hover { text-decoration: underline; text-underline-offset: 5px; }
.tpl-board__subject .tpl-ico { display: inline-block; width: 15px; height: 15px; margin-left: 6px; color: var(--tpl-mute); vertical-align: -2px; }
.tpl-board__table tr.is-notice { background: #fbfbfb; }
.tpl-board__table tr.is-notice .tpl-board__subject a { font-weight: 600; }
.tpl-board__re { display: inline-block; margin-right: 8px; padding-left: 14px; color: var(--tpl-mute); }
.tpl-board__empty { padding: 100px 0 !important; text-align: center; color: var(--tpl-mute); }

/* 게시판 검색 : 분류 select + 검색어 + 돋보기 버튼 */
.tpl-bsearch { display: flex; gap: 6px; }
.tpl-bsearch .tpl-select { width: 130px; height: 48px; font-size: 16px; }
.tpl-bsearch__field { position: relative; }
.tpl-bsearch__field .tpl-input { width: 280px; height: 48px; padding-right: 52px; font-size: 16px; }
.tpl-bsearch__btn { position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; color: var(--tpl-ink); }

/* 페이지 번호 */
.tpl-pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 64px; }
.tpl-pager a, .tpl-pager strong { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; font-size: 16px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-pager a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 5px; }
.tpl-pager strong { font-weight: 700; color: var(--tpl-ink); border-bottom: 2px solid var(--tpl-ink); }
.tpl-pager .tpl-pager__btn { display: flex; align-items: center; justify-content: center; border: 1px solid #ddd; color: var(--tpl-ink); }
.tpl-pager__btn:hover { border-color: var(--tpl-ink); text-decoration: none !important; }
.tpl-pager__btn .tpl-ico { width: 16px; height: 16px; }
.tpl-pager__btn .tpl-ico + .tpl-ico { margin-left: -11px; }
.tpl-pager__btn + .tpl-pager__btn { margin-left: -1px; }
.tpl-pager__gap { width: 12px; }

/* 갤러리 목록 : 3열(1024↓ 2열 · 600↓ 1열) */
.tpl-gall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 24px; }
.tpl-gall > li > a { display: block; }
.tpl-gall__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-gall__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-gall a:hover img, .tpl-gall a:focus-visible img { transform: scale(1.05); }
.tpl-gall__cat { display: block; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--tpl-red); }
.tpl-gall__tit { display: block; margin-top: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 600; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-gall a:hover .tpl-gall__tit { text-decoration: underline; text-underline-offset: 5px; }
.tpl-gall__date { display: block; margin-top: 10px; font-size: 15.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* 글 보기 : 제목 · 정보 → 첨부파일 → 본문 → 이전/다음 글 → 목록 버튼 */
.tpl-view__head { padding: 0 0 40px; border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-view__cat { display: flex; justify-content: center; gap: 6px; }
.tpl-view__tit { margin-top: 20px; font-size: 38px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-view__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin-top: 22px; font-size: 16px; color: var(--tpl-text); font-variant-numeric: tabular-nums; }
.tpl-view__info span { margin-right: 8px; color: var(--tpl-mute); }
.tpl-view__file { display: flex; gap: 24px; margin-top: 32px; padding: 22px 28px; background: var(--tpl-gray); font-size: 16px; }
.tpl-view__file > p { flex: none; display: flex; align-items: center; gap: 8px; height: 30px; font-weight: 600; color: var(--tpl-ink); }
.tpl-view__file > p .tpl-ico { width: 17px; height: 17px; }
.tpl-view__file ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; min-width: 0; }
.tpl-view__file a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 30px; color: var(--tpl-text); }
.tpl-view__file a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tpl-view__file a small { flex: none; font-size: 14.5px; color: var(--tpl-mute); }
.tpl-view__file a .tpl-ico { width: 16px; height: 16px; color: var(--tpl-mute); }
.tpl-view__file a:hover span { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
/* 본문(에디터 출력) : 제목 · 문단 · 목록 · 사진 · 표 */
.tpl-view__body { padding: 64px 0 80px; font-size: 18px; line-height: 1.9; color: var(--tpl-text); overflow-wrap: anywhere; }
.tpl-view__body > * + * { margin-top: 1.2em; }
.tpl-view__body h4 { margin-top: 2em; font-size: 22px; font-weight: 700; color: var(--tpl-ink); }
.tpl-view__body ul { padding-left: 1.2em; list-style: disc; }
.tpl-view__body ol { padding-left: 1.4em; list-style: decimal; }
.tpl-view__body img { margin: 2em auto; }
.tpl-view__body strong { color: var(--tpl-ink); }
.tpl-view__nav { border-top: 2px solid var(--tpl-ink); }
.tpl-view__nav li { display: flex; align-items: center; gap: 24px; height: 70px; padding: 0 20px; border-bottom: 1px solid var(--tpl-line); font-size: 17px; }
.tpl-view__nav li > span { flex: none; display: flex; align-items: center; gap: 8px; width: 92px; font-weight: 600; color: var(--tpl-ink); }
.tpl-view__nav li > span .tpl-ico { width: 15px; height: 15px; }
.tpl-view__nav a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--tpl-text); }
.tpl-view__nav a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 5px; }
.tpl-view__nav time { flex: none; font-size: 15.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-view__nav em { flex: 1; font-style: normal; color: var(--tpl-mute); }

/* FAQ 아코디언 : 질문 줄 전체가 버튼(aria-expanded), 답은 회색 바탕 */
.tpl-faq { border-top: 2px solid var(--tpl-ink); }
.tpl-faq__item { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq__q { display: flex; align-items: center; gap: 22px; width: 100%; padding: 28px 8px; text-align: left; font-size: 19px; font-weight: 600; line-height: 1.5; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-faq__q > b, .tpl-faq__a b.tpl-faq__mark { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tpl-ink); font-size: 16px; font-weight: 700; color: #fff; }
.tpl-faq__q > span { flex: 1; }
.tpl-faq__q > .tpl-ico { width: 22px; height: 22px; color: var(--tpl-mute); transition: transform .4s var(--tpl-ease); }
.tpl-faq__item.is-open .tpl-faq__q > .tpl-ico { transform: rotate(180deg); color: var(--tpl-ink); }
.tpl-faq__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s var(--tpl-ease), visibility 0s linear .45s; }
.tpl-faq__item.is-open .tpl-faq__a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.tpl-faq__a > div { min-height: 0; overflow: hidden; }
.tpl-faq__a > div > div { display: flex; gap: 22px; margin-bottom: 28px; padding: 30px 32px 32px 8px; background: var(--tpl-gray); font-size: 17.5px; line-height: 1.85; }
.tpl-faq__a b.tpl-faq__mark { background: #fff; border: 1px solid var(--tpl-ink); color: var(--tpl-ink); margin-left: 0; }
.tpl-faq__a p + p { margin-top: .8em; }

/* ======================================================================
   5. 폼 : 입력 · 선택 · 여러 줄 · 체크/라디오 · 파일 · 동의 상자 · 오류 · 완료
   ====================================================================== */
.tpl-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.tpl-field--full { grid-column: 1 / -1; }
.tpl-field__label { display: block; margin-bottom: 12px; font-size: 17px; font-weight: 600; color: var(--tpl-ink); }
.tpl-req { margin-left: 4px; font-style: normal; color: var(--tpl-red); }
.tpl-field__help { margin-top: 8px; font-size: 15px; color: var(--tpl-mute); }
.tpl-input, .tpl-select, .tpl-textarea { display: block; width: 100%; height: 56px; padding: 0 18px; border: 1px solid #d4d4d4; border-radius: 0; background: #fff; font-size: 17px; color: var(--tpl-ink); transition: border-color .2s; }
.tpl-input::placeholder, .tpl-textarea::placeholder { color: #999; }
.tpl-input:hover, .tpl-select:hover, .tpl-textarea:hover { border-color: #999; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-ink); outline: none; box-shadow: inset 0 0 0 1px var(--tpl-ink); }
.tpl-select { padding-right: 46px; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; }
.tpl-textarea { height: 220px; padding: 16px 18px; line-height: 1.7; resize: vertical; }
.tpl-field__sub { margin-top: 8px; }
.tpl-field--editor textarea { display: block; width: 100%; min-height: 320px; padding: 16px 18px; border: 1px solid #d4d4d4; font: inherit; line-height: 1.7; }
.tpl-field--editor iframe { width: 100% !important; }
/* default.css 는 이 버튼을 height:23px, line-height:1.9em 으로 둡니다. 본문 18px 을 물려받으면 글자가 상자 밖으로 넘칩니다. */
.tpl-field--editor .btn_cke_sc { height: auto; padding: 6px 14px; font-size: 14px; line-height: 1.4; }
.tpl-input[type="file"] { height: auto; padding: 10px; font-size: 16px; color: var(--tpl-text); cursor: pointer; }
.tpl-input[type="file"]::file-selector-button { height: 38px; margin-right: 14px; padding: 0 16px; border: 1px solid var(--tpl-ink); background: #fff; font: 600 15px var(--tpl-font); color: var(--tpl-ink); cursor: pointer; }
.tpl-row { display: flex; gap: 8px; }
.tpl-row > * { flex: 1; min-width: 0; }
.tpl-row > .tpl-btn { flex: none; height: 56px; }
.tpl-checks { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-top: 4px; }
.tpl-check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 17px; line-height: 1.5; color: var(--tpl-text); cursor: pointer; }
.tpl-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid #bbb; background: #fff no-repeat center / 16px; appearance: none; -webkit-appearance: none; cursor: pointer; transition: background-color .2s, border-color .2s; }
.tpl-check input[type="radio"] { border-radius: 50%; }
.tpl-check input:checked { border-color: var(--tpl-ink); background-color: var(--tpl-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.tpl-check input[type="radio"]:checked { background-image: none; box-shadow: inset 0 0 0 5px #fff; }
.tpl-check input:focus-visible { outline: 2px solid var(--tpl-red); outline-offset: 2px; }
/* 동의 상자 : 스크롤되는 약관 요약 + 동의 체크 */
.tpl-agree { border: 1px solid var(--tpl-line); }
.tpl-agree__box { height: 180px; padding: 22px 26px; overflow-y: auto; background: var(--tpl-gray); font-size: 15.5px; line-height: 1.8; color: var(--tpl-text); }
.tpl-agree__box strong { display: block; margin-bottom: 6px; color: var(--tpl-ink); }
.tpl-agree__box p + strong, .tpl-agree__box ul + strong { margin-top: 14px; }
.tpl-agree__check { padding: 18px 26px; border-top: 1px solid var(--tpl-line); }
.tpl-agree + .tpl-agree { margin-top: 16px; }
/* 오류 · 완료 (sub.js 가 표시합니다) */
.tpl-field__err { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--tpl-red); }
.tpl-field__err[hidden] { display: none; }
.tpl-field__err::before { content: '!'; display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--tpl-red); font-size: 11px; font-weight: 700; color: #fff; }
.tpl-input[aria-invalid="true"], .tpl-select[aria-invalid="true"], .tpl-textarea[aria-invalid="true"], .tpl-check input[aria-invalid="true"] { border-color: var(--tpl-red); }
.tpl-form__note { margin-bottom: 20px; text-align: right; font-size: 15px; color: var(--tpl-mute); }
.tpl-done { padding: 90px 32px; border-top: 2px solid var(--tpl-ink); border-bottom: 1px solid var(--tpl-line); text-align: center; }
.tpl-done:focus { outline: none; }
.tpl-done__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--tpl-ink); color: #fff; }
.tpl-done__icon .tpl-ico { width: 34px; height: 34px; stroke-width: 2; }
.tpl-done__tit { margin-top: 28px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-done__txt { margin-top: 12px; font-size: 17.5px; color: var(--tpl-text); }
.tpl-done .tpl-btns { margin-top: 40px; }

/* 로그인 · 회원가입 상자 */
.tpl-auth { max-width: 520px; margin: 0 auto; }
.tpl-auth--wide { max-width: 760px; }
.tpl-auth__head { margin-bottom: 48px; text-align: center; }
.tpl-auth__head .tpl-label { justify-content: center; }
.tpl-auth__tit { margin-top: 18px; font-size: 40px; font-weight: 700; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-auth__txt { margin-top: 12px; font-size: 17px; color: var(--tpl-mute); }
.tpl-auth .tpl-field + .tpl-field { margin-top: 14px; }
.tpl-auth .tpl-field + .tpl-btn { margin-top: 30px; }  /* 옵션 줄이 없는 카드(비밀번호 확인)의 단추 간격 */
.tpl-auth__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 30px; font-size: 16px; }
.tpl-auth__opt .tpl-check { font-size: 16px; }
.tpl-auth__links { display: flex; gap: 16px; color: var(--tpl-mute); }
.tpl-auth__links a:hover, .tpl-auth__foot a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-auth__foot { display: flex; justify-content: center; gap: 10px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--tpl-line); font-size: 16.5px; color: var(--tpl-mute); }
.tpl-auth__foot a { font-weight: 600; color: var(--tpl-ink); }

/* ======================================================================
   6. 약관 문서
   ====================================================================== */
.tpl-terms { font-size: 17px; line-height: 1.85; color: var(--tpl-text); }
.tpl-terms__intro { padding: 30px 34px; background: var(--tpl-gray); }
.tpl-terms h3 { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--tpl-line); font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-terms h4 { margin-top: 24px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-terms p, .tpl-terms ol, .tpl-terms ul, .tpl-terms .tpl-table-wrap { margin-top: 14px; }
.tpl-terms ol { padding-left: 1.5em; list-style: decimal; }
.tpl-terms ul { padding-left: 1.2em; list-style: disc; }
.tpl-terms li + li { margin-top: 4px; }
.tpl-terms .tpl-table { font-size: 16px; }
.tpl-terms__date { margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--tpl-ink); font-weight: 600; color: var(--tpl-ink); }

/* ======================================================================
   7. 반응형
   ====================================================================== */
@media (max-width: 1280px) {
  .tpl-snb__tabs a { padding: 0 16px; }
  .tpl-snb__tabs a::after { left: 16px; right: 16px; }
  .tpl-snb__tabs li:last-child a { margin-right: -16px; }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 400px; }
  .tpl-subvis__title { font-size: 48px; }
  .tpl-subvis__desc { font-size: 18px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .tpl-loc ol { min-height: 52px; font-size: 14.5px; }
  .tpl-snb__tabs { margin: 0 calc(var(--tpl-side) * -1); border-top: 1px solid var(--tpl-line); }
  .tpl-snb__tabs ul { overflow-x: auto; padding: 0 calc(var(--tpl-side) - 16px); scrollbar-width: none; }
  .tpl-snb__tabs ul::-webkit-scrollbar { display: none; }
  .tpl-snb__tabs a { height: 58px; font-size: 16.5px; }
  .tpl-snb__tabs li:last-child a { margin-right: 0; }
  .tpl-block { padding: 110px 0; }
  .tpl-sechead { margin-bottom: 64px; }
  .tpl-split { gap: 0 6%; }
  .tpl-split__tit { font-size: 32px; }
  .tpl-stats__num { font-size: 44px; }
  .tpl-stats > li { padding: 34px 16px 38px; }
  .tpl-cards, .tpl-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-timeline > li { grid-template-columns: 180px minmax(0, 1fr); }
  .tpl-timeline__year { font-size: 40px; }
  .tpl-steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tpl-steps > li + li::before { display: none; }
  .tpl-org__depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 12px; padding-top: 40px; border-top: 1px solid #bbb; }
  .tpl-org__depts > li { padding: 0; }
  .tpl-org__depts > li::before, .tpl-org__depts > li::after { display: none; }
  .tpl-gall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 20px; }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 340px; }
  .tpl-subvis__title { margin-top: 16px; font-size: 36px; }
  .tpl-subvis__desc { margin-top: 14px; font-size: 16.5px; }
  .tpl-block { padding: 80px 0; }
  .tpl-sechead { margin-bottom: 48px; }
  .tpl-h3 { font-size: 24px; }
  .tpl-lead { font-size: 18px; }
  .tpl-btns { margin-top: 48px; }
  .tpl-btn { height: 52px; padding: 0 26px; font-size: 16.5px; }
  .tpl-btn--sm { height: 42px; padding: 0 16px; font-size: 15px; }
  .tpl-split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .tpl-split--rev .tpl-split__media { order: 0; }
  .tpl-split__media { aspect-ratio: 4 / 3; }
  .tpl-split__tit { font-size: 27px; }
  .tpl-split__txt { margin-top: 24px; font-size: 17px; }
  .tpl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-stats > li { padding: 28px 10px 30px; }
  .tpl-stats > li:nth-child(3) { border-left: 0; }
  .tpl-stats > li:nth-child(n+3) { border-top: 1px solid var(--tpl-line); }
  .tpl-stats__num { font-size: 36px; }
  .tpl-stats__num small { font-size: 17px; }
  .tpl-cards, .tpl-cards--2, .tpl-cards--4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tpl-card__body { padding: 30px 26px 32px; }
  .tpl-card__tit { font-size: 21px; }
  .tpl-timeline > li { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 0; }
  .tpl-timeline__year { font-size: 34px; }
  .tpl-timeline__list { padding-left: 26px; }
  .tpl-timeline__list > li { grid-template-columns: 42px minmax(0, 1fr); font-size: 17px; }
  .tpl-timeline__list > li::before { left: -30px; }
  .tpl-org__top, .tpl-org__mid > li { min-width: 0; height: 56px; padding: 0 20px; font-size: 17px; }
  .tpl-org__mid { flex-wrap: wrap; gap: 8px; }
  .tpl-org__depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-org__dept { font-size: 16px; }
  .tpl-org__teams { font-size: 15px; }
  .tpl-map { height: 300px; }
  .tpl-addr { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .tpl-addr > div { flex-direction: column; gap: 6px; padding: 20px 4px; }
  .tpl-table { font-size: 16px; }
  .tpl-table th, .tpl-table td { padding: 16px 14px; }
  .tpl-table tbody th { width: 110px; }
  .tpl-tabs__list { margin-bottom: 44px; }
  .tpl-tabs__btn { height: 52px; padding: 0 8px; font-size: 15.5px; }
  /* 게시판 목록 : 표를 카드처럼(제목 한 줄 + 아래 작은 정보) */
  .tpl-board__top { flex-direction: column; align-items: stretch; gap: 14px; }
  .tpl-bsearch .tpl-select { width: 110px; flex: none; }
  .tpl-bsearch__field { flex: 1; }
  .tpl-bsearch__field .tpl-input { width: 100%; }
  .tpl-board__table, .tpl-board__table tbody { display: block; }
  .tpl-board__table thead { display: none; }
  .tpl-board__table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 20px 4px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-board__table td { display: block; height: auto; padding: 0; border: 0; font-size: 14.5px; }
  .tpl-board__table td.tpl-board__subject { order: -1; width: 100%; margin-bottom: 6px; font-size: 17px; }
  /* 모바일 목록 : 제목이 말줄임될 때도 답변 표시 · 자물쇠 아이콘이 같은 줄에 남도록 */
  .tpl-board__table td.tpl-board__subject { display: flex; align-items: center; }
  .tpl-board__table td.tpl-board__subject a { min-width: 0; }
  .tpl-board__table td.tpl-board__subject .tpl-board__re { flex: none; padding-left: 0; }
  .tpl-board__table .tpl-board__num { display: none; }
  .tpl-board__table tr.is-notice .tpl-board__num { display: block; order: -2; width: auto; margin-bottom: 8px; flex-basis: 100%; text-align: left; }
  .tpl-board__table .tpl-board__name, .tpl-board__table .tpl-board__date, .tpl-board__table .tpl-board__hit, .tpl-board__table .tpl-board__status { width: auto; }
  .tpl-board__table td:not(.tpl-board__subject):not(.tpl-board__num) + td::before { content: ''; display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: #ccc; }
  .tpl-board__hit::after { content: ' 조회'; }
  .tpl-board__empty { width: 100%; padding: 60px 0 !important; font-size: 16px !important; }
  .tpl-pager { gap: 2px; margin-top: 44px; }
  .tpl-pager a, .tpl-pager strong { min-width: 34px; height: 36px; font-size: 15px; }
  .tpl-pager__gap { width: 4px; }
  .tpl-gall { gap: 44px 14px; }
  .tpl-gall__tit { font-size: 18px; }
  .tpl-view__tit { font-size: 27px; }
  .tpl-view__info { gap: 4px 18px; font-size: 15px; }
  .tpl-view__file { flex-direction: column; gap: 6px; padding: 18px 20px; }
  .tpl-view__body { padding: 44px 0 56px; font-size: 17px; }
  .tpl-view__nav li { flex-wrap: wrap; gap: 4px 14px; height: auto; padding: 16px 4px; font-size: 16px; }
  .tpl-view__nav li > span { width: auto; }
  .tpl-view__nav time { display: none; }
  .tpl-faq__q { gap: 14px; padding: 22px 4px; font-size: 17px; }
  .tpl-faq__q > b, .tpl-faq__a b.tpl-faq__mark { width: 30px; height: 30px; font-size: 14px; }
  .tpl-faq__a > div > div { gap: 14px; padding: 22px 18px 24px 4px; font-size: 16.5px; }
  .tpl-form__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tpl-input, .tpl-select { height: 52px; font-size: 16.5px; }
  .tpl-row > .tpl-btn { height: 52px; }
  .tpl-agree__box { padding: 18px 18px; }
  .tpl-agree__check { padding: 16px 18px; }
  .tpl-done { padding: 64px 16px; }
  .tpl-done__tit { font-size: 24px; }
  .tpl-auth__tit { font-size: 32px; }
  .tpl-auth__opt { flex-wrap: wrap; }
  .tpl-terms { font-size: 16.5px; }
  .tpl-terms__intro { padding: 22px 20px; }
  .tpl-terms h3 { margin-top: 44px; padding-top: 26px; font-size: 20px; }
}
@media (max-width: 600px) {
  .tpl-subvis__title { font-size: 33px; }
  .tpl-steps { grid-template-columns: minmax(0, 1fr); }
  .tpl-gall { grid-template-columns: minmax(0, 1fr); }
}

/* about.css — 회사소개 그룹 전용입니다. 공통 부품(sub.css)에 없는 것만 둡니다. */

/* 회사연혁 : 시대 머리(글 + 사진) → 그 시대의 타임라인 */
.tpl-about-era { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 8%; align-items: center; margin-bottom: 56px; }
.tpl-timeline + .tpl-about-era { margin-top: 140px; }
.tpl-about-era__range { margin-top: 22px; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--tpl-ink); font-variant-numeric: tabular-nums; }
.tpl-about-era__tit { margin-top: 26px; font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-about-era__txt { margin-top: 16px; line-height: 1.85; }
.tpl-about-era__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tpl-gray); }
.tpl-about-era__img img { width: 100%; height: 100%; object-fit: cover; }
/* 빨간 점은 맨 위 시대의 첫 항목에만 둡니다 */
.tpl-about-tl--past > li:first-child .tpl-timeline__list > li:first-child::before { background: #bbb; }
.tpl-about-now { display: flex; width: max-content; margin-top: 16px; }

/* 연회색 띠 위의 카드는 흰 바탕 */
.tpl-block--gray .tpl-card { background: #fff; }
.tpl-about-mv .tpl-card__body { padding: 56px 52px 60px; }
.tpl-about-mv .tpl-card__tit { font-size: 30px; }

/* 카드 안 짧은 목록 */
.tpl-about-list { display: grid; gap: 10px; margin-top: 20px; font-size: 17px; line-height: 1.7; }
.tpl-about-list > li { position: relative; padding-left: 16px; }
.tpl-about-list > li::before { content: ''; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; background: var(--tpl-ink); }
.tpl-about-list b { font-weight: 600; color: var(--tpl-ink); }

/* 경영 원칙 번호 목록 */
.tpl-about-principles { margin-top: 36px; border-top: 1px solid var(--tpl-ink); }
.tpl-about-principles > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-about-principles span { font-size: 16px; font-weight: 700; line-height: 1.9; color: var(--tpl-red); }
.tpl-about-principles strong { font-size: 19px; font-weight: 700; color: var(--tpl-ink); }
.tpl-about-principles p { margin-top: 4px; font-size: 17px; line-height: 1.7; }

/* ESG 목표 숫자 행 · 주석 */
.tpl-about-goal { margin-top: 80px; }
.tpl-about-note { margin-top: 20px; text-align: right; font-size: 15px; color: var(--tpl-mute); }

/* 부서 연락처 표 : 줄바꿈 없이 가로로 밀어 봅니다 */
.tpl-about-contact .tpl-table { background: #fff; }
.tpl-about-contact th, .tpl-about-contact td { white-space: nowrap; }
.tpl-about-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1024px) {
  .tpl-about-era { gap: 0 5%; }
  .tpl-about-era__range { font-size: 52px; }
  .tpl-about-era__tit { font-size: 26px; }
  .tpl-timeline + .tpl-about-era { margin-top: 110px; }
}
@media (max-width: 768px) {
  .tpl-about-era { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 40px; }
  .tpl-about-era__range { font-size: 42px; }
  .tpl-about-era__tit { margin-top: 20px; font-size: 23px; }
  .tpl-timeline + .tpl-about-era { margin-top: 80px; }
  .tpl-about-mv .tpl-card__body { padding: 36px 26px 40px; }
  .tpl-about-mv .tpl-card__tit { font-size: 23px; }
  .tpl-about-principles > li { grid-template-columns: 40px minmax(0, 1fr); padding: 18px 0; }
  .tpl-about-principles strong { font-size: 18px; }
  .tpl-about-principles p { font-size: 16px; }
  .tpl-about-goal { margin-top: 56px; }
}
/* 조직도 : 좁은 화면에서는 본부를 한 줄씩 세로로 쌓고, 팀은 본부 아래 가로로 둡니다 */
@media (max-width: 600px) {
  .tpl-org__depts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tpl-org__dept { justify-content: flex-start; padding: 8px 20px; }
  .tpl-org__teams { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; padding: 0 20px; }
}
/* 부서 연락처 표 : 좁은 화면에서는 행마다 부서명 아래 업무 · 전화 · 이메일을 쌓습니다 */
@media (max-width: 600px) {
  .tpl-about-contact .tpl-table, .tpl-about-contact tbody, .tpl-about-contact tr, .tpl-about-contact th, .tpl-about-contact td { display: block; width: auto; }
  .tpl-about-contact thead { display: none; }
  .tpl-about-contact tr { padding: 18px 18px 16px; border-bottom: 1px solid var(--tpl-line); }
  .tpl-about-contact .tpl-table th, .tpl-about-contact .tpl-table td { padding: 0; border: 0; background: none; white-space: normal; }
  .tpl-about-contact tbody th { margin-bottom: 6px; font-size: 17px; }
  .tpl-about-contact td { font-size: 15.5px; line-height: 1.7; }
  .tpl-about-contact td:nth-child(3), .tpl-about-contact td:nth-child(4) { display: inline-block; margin-right: 14px; color: var(--tpl-ink); }
}

/* business.css — 사업영역 그룹(business-*.html) 전용입니다. 공통 부품(sub.css)에 없는 것만 둡니다.
   큰 소개 사진 · 소개글 2단 · 핵심 분야 카드의 세부 목록 · 실적 카드 링크 · 문의 띠(어두운 상자, 사진 배경 없음) */

/* 1. 사업 소개 : 폭 전체를 쓰는 큰 사진 + 아래 리드 문장(왼쪽) · 본문(오른쪽) */
.tpl-business-hero { aspect-ratio: 16 / 7; overflow: hidden; background: var(--tpl-gray); }
.tpl-business-hero img { width: 100%; height: 100%; object-fit: cover; }
.tpl-business-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 8%; margin-top: 80px; }
.tpl-business-intro__lead { font-size: 30px; font-weight: 700; line-height: 1.5; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-business-intro__txt { font-size: 18px; line-height: 1.9; }
.tpl-business-intro__txt p + p { margin-top: 1.1em; }

/* 2. 핵심 분야 카드 아래 세부 항목 */
.tpl-business-list { display: grid; gap: 8px; margin-top: 26px; padding-top: 24px; border-top: 1px solid #ddd; font-size: 16.5px; font-weight: 500; color: var(--tpl-ink); }
.tpl-business-list li { position: relative; padding-left: 16px; }
.tpl-business-list li::before { content: ''; position: absolute; left: 0; top: .8em; width: 6px; height: 1px; background: var(--tpl-ink); }

/* 5. 실적 카드 : 제목 링크가 카드 전체를 덮어 어디를 눌러도 실적 목록으로 갑니다 */
.tpl-business-works .tpl-card { position: relative; }
.tpl-business-works .tpl-card__img img { transition: transform 1.2s var(--tpl-ease); }
.tpl-business-works .tpl-card:hover .tpl-card__img img, .tpl-business-works .tpl-card:focus-within .tpl-card__img img { transform: scale(1.05); }
.tpl-business-works .tpl-card__tit a::after { content: ''; position: absolute; inset: 0; }
.tpl-business-works .tpl-card:hover .tpl-card__tit a { text-decoration: underline; text-underline-offset: 5px; }
.tpl-business-works .tpl-card__num { letter-spacing: 0; }
.tpl-business-works .tpl-card__txt { color: var(--tpl-mute); }

/* 6. 문의 띠 : 검정 상자 안 가운데 큰 제목 + 버튼 두 개 */
.tpl-business-cta { padding: 100px 40px; background: var(--tpl-ink); color: #fff; text-align: center; }
.tpl-business-cta .tpl-label { justify-content: center; }
.tpl-business-cta__tit { margin-top: 22px; font-size: 42px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; }
.tpl-business-cta__txt { margin-top: 16px; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .78); }
.tpl-business-cta .tpl-btns { margin-top: 48px; }
.tpl-business-cta .tpl-btn { border-color: #fff; background: #fff; color: var(--tpl-ink); }
.tpl-business-cta .tpl-btn:hover { background: transparent; color: #fff; }
.tpl-business-cta .tpl-btn--line { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.tpl-business-cta .tpl-btn--line:hover { border-color: #fff; background: #fff; color: var(--tpl-ink); }

@media (max-width: 1024px) {
  .tpl-business-hero { aspect-ratio: 16 / 9; }
  .tpl-business-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 64px; }
  .tpl-business-intro__lead { font-size: 27px; }
  .tpl-business-cta { padding: 84px 32px; }
  .tpl-business-cta__tit { font-size: 34px; }
}
/* 1024 ~ 769px 에서 실적 카드는 2 + 1 로 어긋나지 않게 3열을 유지합니다 */
@media (min-width: 769px) and (max-width: 1024px) {
  .tpl-business-works.tpl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tpl-business-works .tpl-card__body { padding: 28px 22px 30px; }
  .tpl-business-works .tpl-card__tit { font-size: 20px; }
  .tpl-business-works .tpl-card__txt { font-size: 16px; }
}
@media (max-width: 768px) {
  .tpl-business-hero { aspect-ratio: 4 / 3; }
  .tpl-business-intro { margin-top: 44px; gap: 22px; }
  .tpl-business-intro__lead { font-size: 22px; }
  .tpl-business-intro__txt { font-size: 17px; }
  .tpl-business-list { margin-top: 20px; padding-top: 18px; }
  .tpl-business-cta { padding: 64px 22px; }
  .tpl-business-cta__tit { margin-top: 18px; font-size: 27px; }
  .tpl-business-cta__txt { font-size: 16.5px; }
  .tpl-business-cta .tpl-btns { margin-top: 36px; }
}

/* cs.css — 고객센터 그룹(공지 · Q&A · FAQ · 갤러리 · 채용) 전용 보충 스타일입니다. 공통 부품은 sub.css 를 그대로 쓰고, 여기에는 부족한 것만 둡니다. */

/* FAQ 분류 탭 : sub.css 의 탭 버튼 모양을 aria-pressed 버튼에도 씁니다 */
.tpl-cs-faqtabs { margin-bottom: 56px; }
.tpl-cs-faqtabs .tpl-tabs__btn[aria-pressed="true"] { position: relative; border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-cs-empty { padding: 90px 0; border-bottom: 1px solid var(--tpl-line); text-align: center; font-size: 17px; color: var(--tpl-mute); }
.tpl-faq__a a { font-weight: 600; color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
/* 회색 띠 안의 FAQ 는 답 바탕을 흰색으로 */
.tpl-block--gray .tpl-faq__a > div > div { background: #fff; }

/* 안내 배너 : 연회색 상자 · 왼쪽 문구 · 오른쪽 버튼 */
.tpl-cs-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 110px; padding: 60px 64px; background: var(--tpl-gray); }
.tpl-inner > .tpl-cs-cta:first-child { margin-top: 0; }
.tpl-cs-cta__tit { margin-top: 18px; font-size: 32px; font-weight: 700; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-cs-cta__txt { margin-top: 10px; font-size: 17.5px; color: var(--tpl-text); }
.tpl-cs-cta .tpl-btns { flex: none; margin-top: 0; }

/* 갤러리 목록 : 두 줄 요약 */
.tpl-cs-gall__sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 10px; font-size: 16.5px; line-height: 1.7; color: var(--tpl-text); }

/* 갤러리 글 보기 : 큰 사진 + 썸네일 */
.tpl-cs-viewer { margin-top: 40px; }
.tpl-cs-viewer__main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-cs-viewer__main img { width: 100%; height: 100%; object-fit: cover; }
.tpl-cs-viewer__arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; background: rgba(255, 255, 255, .92); color: var(--tpl-ink); transition: background-color .25s, color .25s; }
.tpl-cs-viewer__arrow:hover { background: var(--tpl-ink); color: #fff; }
.tpl-cs-viewer__arrow--prev { left: 0; }
.tpl-cs-viewer__arrow--next { right: 0; }
.tpl-cs-viewer__count { position: absolute; right: 16px; bottom: 16px; padding: 4px 12px; background: rgba(0, 0, 0, .6); font-size: 14.5px; color: #fff; font-variant-numeric: tabular-nums; }
.tpl-cs-viewer__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.tpl-cs-viewer__thumbs button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; opacity: .45; transition: opacity .25s; }
.tpl-cs-viewer__thumbs button:hover, .tpl-cs-viewer__thumbs button[aria-current="true"] { opacity: 1; }
.tpl-cs-viewer__thumbs button[aria-current="true"]::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--tpl-ink); }
.tpl-cs-viewer__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* 채용 : 숫자 행 위 여백 · 복리후생 아이콘 카드 · 공고 표 */
.tpl-cs-stats { margin-top: 110px; }
.tpl-cs-benefit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tpl-cs-benefit > li { padding: 44px 34px 42px; background: #fff; }
.tpl-cs-benefit__ico { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--tpl-line); border-radius: 50%; color: var(--tpl-ink); }
.tpl-cs-benefit__ico .tpl-ico { width: 28px; height: 28px; stroke-width: 1.4; }
.tpl-cs-benefit__tit { display: block; margin-top: 28px; font-size: 21px; font-weight: 700; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-cs-benefit__txt { margin-top: 10px; font-size: 16.5px; line-height: 1.75; }
.tpl-board__table .tpl-cs-period { width: 210px; }
.tpl-job { width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 48px); margin: auto; padding: 0; border: 0; overflow: auto; }
.tpl-job::backdrop { background: rgba(0, 0, 0, .6); }
.tpl-job__box { padding: clamp(24px, 4vw, 48px); }
.tpl-job__tit { margin-top: 14px; font-size: 28px; font-weight: 700; line-height: 1.35; color: var(--tpl-ink); }
.tpl-job__body { padding: 28px 0 0; font-size: 16px; }
.tpl-cs-jobs tr.is-closed td.tpl-board__subject a { color: var(--tpl-mute); }

@media (max-width: 1024px) {
  .tpl-cs-cta { flex-direction: column; align-items: flex-start; gap: 32px; padding: 52px 48px; }
  .tpl-cs-benefit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tpl-cs-faqtabs { margin-bottom: 36px; }
  .tpl-cs-cta { margin-top: 72px; padding: 40px 24px; }
  .tpl-cs-cta__tit { font-size: 24px; }
  .tpl-cs-cta__txt { font-size: 16px; }
  .tpl-cs-cta .tpl-btns { justify-content: flex-start; }
  .tpl-cs-gall__sum { font-size: 16px; }
  .tpl-cs-viewer { margin-top: 28px; }
  .tpl-cs-viewer__arrow { width: 40px; height: 40px; margin-top: -20px; }
  .tpl-cs-viewer__count { right: 10px; bottom: 10px; font-size: 13.5px; }
  .tpl-cs-viewer__thumbs { gap: 6px; margin-top: 6px; }
  .tpl-cs-stats { margin-top: 64px; }
  .tpl-cs-benefit { gap: 12px; }
  .tpl-cs-benefit > li { padding: 30px 22px; }
  .tpl-cs-benefit__ico { width: 54px; height: 54px; }
  .tpl-cs-benefit__ico .tpl-ico { width: 24px; height: 24px; }
  .tpl-cs-benefit__tit { margin-top: 20px; font-size: 19px; }
  .tpl-board__table .tpl-cs-period { width: auto; }
  /* 채용 공고 : 상태 배지를 제목 위 한 줄로 올립니다 */
  .tpl-cs-jobs td.tpl-board__status { order: -2; flex-basis: 100%; margin-bottom: 10px; text-align: left; }
  .tpl-cs-jobs td.tpl-board__status::before { display: none !important; }
  .tpl-cs-cta .tpl-btns { align-self: stretch; }
  .tpl-cs-cta .tpl-btn { flex: 1 1 auto; }
}
@media (max-width: 600px) {
  /* 분류 탭 5개는 3 + 2 줄로 나눕니다 */
  .tpl-cs-faqtabs { flex-wrap: wrap; }
  .tpl-cs-faqtabs .tpl-tabs__btn { flex: 1 0 33.333%; margin-top: -1px; }
  .tpl-cs-faqtabs .tpl-tabs__btn:nth-child(4) { margin-left: 0; }
  .tpl-cs-benefit { grid-template-columns: minmax(0, 1fr); }
}

/* inquiry.css — 온라인문의 그룹 전용입니다. 공통 부품(sub.css)에 없는 것만 둡니다. */

/* 제휴 문의 : 사진 옆 글 아래 숫자 두 칸, 절차와 제안서 사이 간격 */
.tpl-inquiry-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
.tpl-inquiry-stats > li { padding: 30px 12px 4px; }
.tpl-inquiry-form { margin-top: 120px; }

@media (max-width: 768px) {
  .tpl-inquiry-stats > li:nth-child(n+3) { border-top: 0; }
  .tpl-inquiry-form { margin-top: 80px; }
}

/* member.css — 회원 · 약관 페이지(login · register · terms · privacy · email-policy) 전용입니다. 공통 부품은 sub.css 를 씁니다. */

/* 약관 문서 : 목차 · 본문 링크 · 법령 인용 */
.tpl-terms h3 { scroll-margin-top: 100px; }
.tpl-terms a:not(.tpl-member-toc a) { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-member-toc { margin-top: 40px; padding: 30px 36px 32px; border: 1px solid var(--tpl-line); }
.tpl-terms .tpl-member-toc__tit { margin: 0; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-terms .tpl-member-toc ol { columns: 2; column-gap: 48px; margin-top: 16px; padding: 0; list-style: none; }
.tpl-terms .tpl-member-toc li { margin: 0; padding: 4px 0; break-inside: avoid; }
.tpl-member-toc a { font-size: 16.5px; color: var(--tpl-text); transition: color .2s; }
.tpl-member-toc a:hover { color: var(--tpl-ink); text-decoration: underline; text-underline-offset: 4px; }
.tpl-member-law { margin-top: 18px; padding: 28px 32px; border-left: 2px solid var(--tpl-red); background: var(--tpl-gray); }
.tpl-terms .tpl-member-law__tit { margin: 0; font-weight: 700; color: var(--tpl-ink); }
.tpl-member-law__tit span { font-weight: 500; color: var(--tpl-mute); }
.tpl-terms .tpl-member-law ol { list-style: none; padding: 0; counter-reset: law; }
.tpl-member-law li { position: relative; padding-left: 1.6em; counter-increment: law; }
.tpl-member-law li::before { content: counter(law, decimal) '.'; position: absolute; left: 0; font-weight: 600; color: var(--tpl-ink); }

/* 회원가입 : 단계 표시 */
.tpl-member-steps { display: flex; margin-bottom: 56px; }
.tpl-member-steps li { display: flex; flex: 1; align-items: center; justify-content: center; gap: 10px; padding: 0 8px 18px; border-bottom: 2px solid var(--tpl-line); font-size: 17px; font-weight: 500; color: #999; }
.tpl-member-steps b { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.tpl-member-steps li.is-done { border-color: #bbb; color: var(--tpl-mute); }
.tpl-member-steps li[aria-current] { border-color: var(--tpl-ink); font-weight: 700; color: var(--tpl-ink); }
.tpl-member-steps li[aria-current] b { color: var(--tpl-red); }

/* 회원가입 : 전체 동의 · 동의 상자 · 2단계 묶음 */
.tpl-member-all { margin-bottom: 16px; padding: 22px 26px; border: 2px solid var(--tpl-ink); }
.tpl-member-all .tpl-check { font-size: 18px; font-weight: 700; color: var(--tpl-ink); }
.tpl-auth--wide .tpl-agree__box { height: 220px; }
.tpl-agree__box ol { padding-left: 1.4em; list-style: decimal; }
.tpl-agree__box ul { padding-left: 1.2em; list-style: disc; }
.tpl-agree__box > p, .tpl-agree__box > ol, .tpl-agree__box > ul, .tpl-agree__box .tpl-table-wrap { margin-bottom: 14px; }
.tpl-agree__box .tpl-table { font-size: 15px; background: #fff; }
.tpl-agree__box .tpl-table th, .tpl-agree__box .tpl-table td { padding: 12px 14px; }
.tpl-agree__check { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.tpl-agree__check .tpl-field__err { flex-basis: 100%; margin-top: 0; }
.tpl-member-more { flex: none; font-size: 15px; color: var(--tpl-mute); text-decoration: underline; text-underline-offset: 4px; }
.tpl-member-more:hover { color: var(--tpl-ink); }
/* sub.js 의 "통과하면 바로 뒤 .tpl-done 을 보여 줌" 을 2단계 전환에 쓰므로 .tpl-done 겉모양을 지웁니다 */
.tpl-done.tpl-member-next { padding: 0; border: 0; text-align: left; }
.tpl-member-next .tpl-btns { margin-top: 64px; }
.tpl-member-next .tpl-done .tpl-btns { margin-top: 40px; }
.tpl-member-sub { margin: 56px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--tpl-ink); font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-member-sub small { font-size: 15px; font-weight: 500; color: var(--tpl-mute); }
.tpl-form__note + .tpl-member-sub { margin-top: 0; }
.tpl-member-addr { display: grid; gap: 8px; }
.tpl-member-addr .tpl-row > .tpl-input { flex: none; width: 180px; }
.tpl-field__help.is-ok { color: var(--tpl-ink); font-weight: 600; }
.tpl-field__help.is-bad { color: var(--tpl-red); font-weight: 600; }

@media (max-width: 768px) {
  .tpl-member-toc { padding: 24px 20px; }
  .tpl-terms .tpl-member-toc ol { columns: 1; }
  .tpl-member-law { padding: 22px 20px; }
  .tpl-member-steps { margin-bottom: 40px; }
  .tpl-member-steps li { flex-direction: column; gap: 2px; padding-bottom: 14px; font-size: 15px; }
  .tpl-member-all { padding: 18px; }
  .tpl-member-all .tpl-check { font-size: 16.5px; }
  .tpl-member-sub { margin-top: 44px; font-size: 19px; }
  .tpl-member-addr .tpl-row > .tpl-input { flex: 1; width: auto; }
  .tpl-member-next .tpl-btns { margin-top: 48px; }
}

/* works.css — 제품소개(실적) 그룹 전용 모양입니다. 목록 · 표 · 숫자 행 등은 sub.css 공통 부품을 쓰고, 여기에는 필터 · 대표 실적 · 증서 · 상세 사진 보기만 둡니다. */

/* ---------- 목록 : 숫자 행 아래 여백, 분류 필터(aria-pressed), 위치 · 연도 사이 점 ---------- */
.tpl-works-stats { margin-bottom: 120px; }
.tpl-works-stats--flat { margin-bottom: 0; }
.tpl-works-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-works-filter button, .tpl-works-filter a { height: 46px; padding: 0 22px; border: 1px solid #d4d4d4; border-radius: 23px; font-size: 16px; font-weight: 600; color: var(--tpl-mute); transition: background-color .25s, color .25s, border-color .25s; }
.tpl-works-filter button:hover, .tpl-works-filter a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-works-filter button[aria-pressed="true"], .tpl-works-filter a[aria-current] { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-works-board .tpl-board__top { margin-bottom: 48px; }
.tpl-works-dot { display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.tpl-works-cta .tpl-btns { margin-top: 48px; }
.tpl-works-intro { max-width: 820px; margin-left: auto; margin-right: auto; line-height: 1.85; }

/* ---------- 분류 페이지 대표 실적 : 넓은 사진 + 아래 2단(설명 · 개요) ---------- */
.tpl-works-feature__img { aspect-ratio: 16 / 7.5; overflow: hidden; background: var(--tpl-gray); }
.tpl-works-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.tpl-works-feature__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 8%; margin-top: 64px; }
.tpl-works-feature__tit { margin-top: 20px; font-size: 38px; font-weight: 700; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-works-feature__txt { margin: 24px 0 36px; font-size: 18px; line-height: 1.9; }
.tpl-works-facts { border-top: 2px solid var(--tpl-ink); }
.tpl-works-facts > div { display: flex; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--tpl-line); font-size: 17px; }
.tpl-works-facts dt { flex: none; width: 90px; font-weight: 600; color: var(--tpl-ink); }

/* ---------- 인증 현황 : CSS 로 그린 증서 + 설명 카드 ---------- */
.tpl-works-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tpl-works-cert { display: flex; flex-direction: column; background: #fff; }
.tpl-works-cert__paper { position: relative; display: flex; flex-direction: column; align-items: center; margin: 28px 28px 0; padding: 30px 18px 22px; aspect-ratio: 3 / 4; background: #fcfbf8; border: 1px solid #ddd8cc; box-shadow: inset 0 0 0 6px #fcfbf8, inset 0 0 0 7px #e6e0d2, 0 14px 30px -18px rgba(0, 0, 0, .35); text-align: center; color: var(--tpl-ink); }
.tpl-works-cert__kind { font-size: 11.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #8a8270; }
.tpl-works-cert__big { margin-top: auto; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.tpl-works-cert__name { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--tpl-text); }
.tpl-works-cert__lines { width: 70%; height: 26px; margin: 18px 0 auto; background: repeating-linear-gradient(180deg, #e3ddcf 0 1px, transparent 1px 8px); }
.tpl-works-cert__foot { display: flex; align-items: flex-end; justify-content: space-between; align-self: stretch; padding: 0 6px; }
.tpl-works-cert__foot i { font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .14em; color: #8a8270; }
.tpl-works-cert__seal { width: 38px; height: 38px; border: 2px solid var(--tpl-red); border-radius: 50%; box-shadow: inset 0 0 0 3px #fcfbf8, inset 0 0 0 4px var(--tpl-red); opacity: .8; }
.tpl-works-cert__paper.tpl-works-cert__paper--image { padding: 0; overflow: hidden; }
.tpl-works-cert__paper--image img { width: 100%; height: 100%; object-fit: contain; }
.tpl-works-cert__paper--patent .tpl-works-cert__seal { border-radius: 4px; }
.tpl-works-cert__paper--award { background: #1f1f1f; border-color: #1f1f1f; box-shadow: inset 0 0 0 6px #1f1f1f, inset 0 0 0 7px #8a7a55, 0 14px 30px -18px rgba(0, 0, 0, .5); color: #fff; }
.tpl-works-cert__paper--award .tpl-works-cert__kind, .tpl-works-cert__paper--award .tpl-works-cert__foot i { color: #b9a77c; }
.tpl-works-cert__paper--award .tpl-works-cert__name { color: rgba(255, 255, 255, .8); }
.tpl-works-cert__paper--award .tpl-works-cert__lines { background: repeating-linear-gradient(180deg, #4a4538 0 1px, transparent 1px 8px); }
.tpl-works-cert__paper--award .tpl-works-cert__seal { box-shadow: inset 0 0 0 3px #1f1f1f, inset 0 0 0 4px var(--tpl-red); }
.tpl-works-cert__body { flex: 1; padding: 26px 28px 32px; }
.tpl-works-cert__body .tpl-gall__cat { margin-top: 0; }
.tpl-works-cert__tit { display: block; margin-top: 8px; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-works-cert__txt { margin-top: 10px; font-size: 16px; line-height: 1.7; }
.tpl-works-cert__meta { margin-top: 14px; font-size: 14.5px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-works-table { min-width: 860px; }
.tpl-works-table td { vertical-align: middle; font-variant-numeric: tabular-nums; }
.tpl-works-table td.tpl-works-table__name { text-align: left; color: var(--tpl-ink); }

/* ---------- 실적 상세 : 큰 사진 + 썸네일, 사진 크게 보기(dialog), 개요 표 + 설명 2단 ---------- */
.tpl-works-view__head { border-bottom: 0; }
.tpl-works-gal__main { position: relative; }
.tpl-works-gal__zoom { position: relative; display: block; width: 100%; aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--tpl-gray); cursor: zoom-in; }
.tpl-works-gal__zoom img { width: 100%; height: 100%; object-fit: cover; }
.tpl-works-gal__more { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; background: rgba(0, 0, 0, .62); font-size: 15px; font-weight: 600; color: #fff; transition: background-color .25s; }
.tpl-works-gal__more .tpl-ico { width: 16px; height: 16px; }
.tpl-works-gal__zoom:hover .tpl-works-gal__more { background: #000; }
.tpl-works-gal__main figcaption, .tpl-works-lb figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 16px; color: var(--tpl-text); }
.tpl-works-gal__count { flex: none; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-works-gal__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.tpl-works-gal__thumbs button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-gray); }
.tpl-works-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s; }
.tpl-works-gal__thumbs button:hover img, .tpl-works-gal__thumbs button[aria-pressed="true"] img { opacity: 1; }
.tpl-works-gal__thumbs button[aria-pressed="true"]::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--tpl-ink); }
.tpl-works-gal__thumbs button:focus-visible { outline-offset: 2px; }

.tpl-works-lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 72px 96px 40px; border: 0; background: rgba(0, 0, 0, .92); color: #fff; }
.tpl-works-lb[open] { display: flex; align-items: center; justify-content: center; }
.tpl-works-lb::backdrop { background: rgba(0, 0, 0, .5); }
.tpl-works-lb__fig { display: flex; flex-direction: column; align-items: center; width: 100%; max-height: 100%; }
.tpl-works-lb__fig img { min-height: 0; width: auto; max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; }
.tpl-works-lb figcaption { align-self: stretch; color: rgba(255, 255, 255, .9); }
.tpl-works-lb .tpl-works-gal__count { color: rgba(255, 255, 255, .6); }
.tpl-works-lb__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; transition: background-color .25s, color .25s; }
.tpl-works-lb__btn:hover { background: #fff; color: var(--tpl-ink); }
.tpl-works-lb__btn .tpl-ico { width: 24px; height: 24px; }
.tpl-works-lb__prev { left: 24px; top: 50%; margin-top: -26px; }
.tpl-works-lb__next { right: 24px; top: 50%; margin-top: -26px; }
.tpl-works-lb__close { right: 24px; top: 16px; }

.tpl-works-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 7%; margin-top: 100px; }
.tpl-works-detail--one { grid-template-columns: minmax(0, 1fr); }
.tpl-works-filter a { display: inline-flex; align-items: center; letter-spacing: normal; text-decoration: none; }
.tpl-works-detail__info { min-width: 0; }
.tpl-works-spec tbody th { width: 130px; }
.tpl-works-detail__desc { padding: 0; }
.tpl-works-detail__desc > .tpl-h3 { margin-bottom: 0; }
.tpl-works-view__nav { margin-top: 100px; }
.tpl-works-view__nav li > span { width: 110px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .tpl-works-stats { margin-bottom: 96px; }
  .tpl-works-board .tpl-board__top { flex-direction: column-reverse; align-items: flex-start; }
  .tpl-works-feature__body { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-top: 48px; }
  .tpl-works-feature__tit { font-size: 32px; }
  .tpl-works-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-works-detail { grid-template-columns: minmax(0, 1fr); gap: 72px; margin-top: 80px; }
  .tpl-works-lb { padding: 72px 24px 32px; }
  .tpl-works-lb__prev, .tpl-works-lb__next { top: auto; bottom: 24px; margin-top: 0; }
  .tpl-works-lb__fig img { max-height: calc(100vh - 230px); }
}
@media (max-width: 768px) {
  .tpl-works-stats { margin-bottom: 72px; }
  .tpl-works-filter { gap: 6px; }
  .tpl-works-filter button, .tpl-works-filter a { height: 40px; padding: 0 15px; font-size: 15px; }
  .tpl-works-board .tpl-board__top { margin-bottom: 32px; }
  .tpl-works-feature__img { aspect-ratio: 4 / 3; }
  .tpl-works-feature__tit { font-size: 27px; }
  .tpl-works-feature__txt { font-size: 17px; }
  .tpl-works-facts > div { font-size: 16px; }
  .tpl-works-facts dt { width: 72px; }
  .tpl-works-cert__paper { margin: 20px 20px 0; }
  .tpl-works-cert__big { font-size: 24px; }
  .tpl-works-cert__body { padding: 22px 20px 26px; }
  .tpl-works-cert__tit { font-size: 18px; }
  .tpl-works-gal__zoom { aspect-ratio: 4 / 3; }
  .tpl-works-gal__more { right: 12px; bottom: 12px; height: 38px; padding: 0 12px; font-size: 14px; }
  .tpl-works-gal__main figcaption { font-size: 15px; }
  .tpl-works-gal__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tpl-works-detail { gap: 56px; margin-top: 56px; }
  .tpl-works-spec tbody th { width: 96px; }
  .tpl-works-view__nav { margin-top: 64px; }
}
@media (max-width: 600px) {
  .tpl-works-certs { grid-template-columns: minmax(0, 1fr); }
  .tpl-works-cert { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: start; }
  .tpl-works-cert__paper { margin: 20px 0 20px 20px; padding: 16px 8px 12px; }
  .tpl-works-cert__kind { font-size: 9px; letter-spacing: .2em; }
  .tpl-works-cert__big { font-size: 17px; }
  .tpl-works-cert__name { font-size: 11px; }
  .tpl-works-cert__lines { height: 16px; margin-top: 10px; }
  .tpl-works-cert__foot i { display: none; }
  .tpl-works-cert__seal { width: 24px; height: 24px; margin-left: auto; }
}

/* 그누보드 연결부 */
.biz-map { width: 100%; height: 100%; min-height: 420px; background: #eee; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.allweb-gnu { max-width: calc(1680px + var(--tpl-side) * 2); margin: 0 auto; padding: 80px var(--tpl-side); font-size: 16px; }
.allweb-gnu:has(> .board-skin) { max-width: none; padding-inline: 0; }
.allweb-gnu > .board-skin.tpl-inner { width: calc(100% - var(--tpl-side) * 2); max-width: 1680px; margin: 0 auto; }

/* 그누보드 글쓰기·회원 화면 */
:root { --ink: var(--tpl-ink); --ink-2: var(--tpl-ink); --paper: #fff; --mist: #f5f5f5; --line: #ddd;
  --sub: var(--tpl-text); --dim: var(--tpl-mute); --accent: var(--tpl-red); --accent-ink: var(--tpl-red);
  --kr: 'Pretendard', sans-serif; --en: 'Pretendard', sans-serif; --gut: 24px; --sec: 96px; --head-h: 80px;
  --ease: ease; --ease-io: ease; --ease-in: ease; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--en); font-size: 17px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.eyebrow-light { color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #fff; transform: translateY(-2px); }
.news-cat { flex: none; min-width: 52px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; text-align: center; color: var(--sub); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 700; color: var(--sub); white-space: nowrap; }
.badge-on { background: var(--accent); color: var(--ink); }
.form { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 48px); border: 1px solid var(--line); border-radius: 24px; }
.form-row { margin: 0; padding: 0; border: 0; }
.form-row legend, .field > span { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.form em { font-style: normal; color: #e0452f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 194, 154, 0.18); }
.form.is-checked :is(input, textarea):invalid { border-color: #e0452f; }
.field-file input { padding: 12px; background: var(--mist); }
.form-msg { font-size: 15px; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #e0452f; }
.form-msg.is-ok { color: var(--accent-ink); }
.form-submit { align-self: flex-start; min-width: 200px; }
   ========================================================= */
/* 그누보드 화면 래퍼(.allweb-gnu, css/gnu.css)가 기준 글자를 0.875rem 으로 줄입니다.
   게시판 스킨은 템플릿 마크업이라 템플릿 기준으로 되돌립니다. */
.board-skin { font-size: 1rem; }
.board-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.board-acts .btn { min-height: 52px; padding: 0 26px; font-size: 15px; }
.board-cate ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.board-cate a { display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--sub); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.board-cate a:hover, .board-cate #bo_cate_on { background: var(--ink); border-color: var(--ink); color: #fff; }
.board-list .t-cmt { margin-left: 6px; font-family: var(--en); font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.board-list .t-title .badge { margin-left: 8px; }
/* 글쓰기 — 폼 모양은 .form · .field 가 냅니다. 고르기 칸만 여기서 맞춥니다. */
.board-skin .field select { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; }
.board-skin .field select:focus { outline: none; border-color: var(--ink); }
.form-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* 자동등록방지 — 마크업은 그누보드 플러그인이 냅니다(fieldset#captcha). 줄만 맞춥니다. */
/* 자동등록방지 칸은 그누보드 기본 모양 그대로 둡니다 — 마크업도 CSS(css/default.css:229-244)도
   코어 것이고, 아이디 선택자로 짜여 있어 덮으면 깨지기 쉽습니다. 테두리 칸만 벗겨 냅니다.
   칸 이름(「자동등록방지」)은 스킨이 .field 의 이름줄로 냅니다 — 코어는 legend 를 숨깁니다. */
.board-skin #captcha { padding: 0; border: 0; }
/* 자동등록방지 그림이 리셋(img{display:block})에 걸려 한 줄을 다 차지하면 입력칸이 아랫줄로 밀립니다. 한 줄로 세웁니다. */
#captcha { padding: 0; border: 0; }
#captcha #captcha_img { display: inline-block; vertical-align: middle; }
/* =========================================================
   그누보드 회원 스킨 (skin/member/allweb)
   마크업은 원본 퍼블리싱 login.html · register.html 의 .tpl-auth · .tpl-member-* 그대로이고
   그 모양은 위쪽 「회원」 구간이 들고 있습니다. 여기에는 그누보드 화면에만 있는 것만 둡니다.
   ========================================================= */
/* 회원가입은 다른 본문처럼 .tpl-inner 폭을 다 씁니다(원본 760px 보다 넓게, 대표 지시 2026-11-04). */
.tpl-auth--full { max-width: none; }
/* 카드 안 세로 쌓기 간격(.tpl-auth .tpl-field + .tpl-field)이 두 칸 격자에서는 오른쪽 칸만 내립니다. 격자는 gap 으로 띄웁니다. */
.tpl-auth .tpl-form__grid > .tpl-field + .tpl-field { margin-top: 0; }
/* 본인확인 단추 묶음 */
.tpl-auth__cert { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--tpl-line); }
.tpl-auth__cert .tpl-row { flex-wrap: wrap; }

/* 페이징 마크업은 그누보드 코어(get_paging)가 냅니다 — .paging 과 같은 모양으로 맞춥니다. */
.board-skin .pg_wrap { display: flex; justify-content: center; margin-top: 48px; }
.board-skin .pg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.board-skin .pg_page,
.board-skin .pg_current { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font-family: var(--en); font-size: 17px; font-weight: 700; color: var(--sub); transition: background 0.2s, color 0.2s; }
.board-skin .pg_page:hover { background: var(--mist); }
.board-skin .pg_current { background: var(--ink); color: #fff; }

/* 샘플은 모서리가 직각입니다. */
.board-skin * { border-radius: 0 !important; }

/* 답변 : 문의 게시판의 관리자 답변입니다 */
.tpl-answer { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--tpl-line); }
.tpl-answer__tit { font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-answer__tit b { color: var(--tpl-red); }
.tpl-answer__item { margin-top: 20px; padding: 24px 28px; background: var(--tpl-gray); }
.tpl-answer__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-answer__meta b { color: var(--tpl-ink); }
.tpl-answer__body { margin-top: 10px; font-size: 16px; line-height: 1.8; color: var(--tpl-text); overflow-wrap: anywhere; }
.tpl-answer__del { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--tpl-mute); text-decoration: underline; }
.tpl-answer__empty { margin-top: 18px; color: var(--tpl-mute); }
.tpl-answer__form { margin-top: 24px; }
.tpl-answer__form textarea { width: 100%; height: auto; padding: 14px 16px; resize: vertical; }
.board-skin label.check { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }

/* 퀵메뉴 : 오른쪽에 떠 있는 바로가기입니다. 좁은 화면에서는 이름을 숨깁니다 */
.tpl-quick { position: fixed; right: 20px; top: 50%; z-index: 85; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transition-delay: 0s; }
/* 퀵메뉴 — 라벨 앞 붉은 막대와 같은 말씨입니다. 흰 칸, 올리면 검은 칸에 붉은 막대가 섭니다 */
.tpl-quick ul { display: flex; flex-direction: column; border: 1px solid var(--tpl-line); background: #fff; }
.tpl-quick li + li { border-top: 1px solid var(--tpl-line); }
.tpl-quick a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 76px; min-height: 76px; padding: 10px 6px; font-size: 13px; line-height: 1.3; text-align: center; color: var(--tpl-ink); transition: background-color .25s, color .25s; }
.tpl-quick a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tpl-red); transform: scaleY(0); transition: transform .25s; }
.tpl-quick a:hover, .tpl-quick a:focus-visible { background: var(--tpl-ink); color: #fff; }
.tpl-quick a:hover::before, .tpl-quick a:focus-visible::before { transform: scaleY(1); }
.tpl-quick .tpl-ico { width: 22px; height: 22px; }
.tpl-quick__img { object-fit: contain; }
@media (max-width: 768px) {
  .tpl-quick { right: 10px; top: auto; bottom: 90px; transform: none; }
  .tpl-quick a { width: 44px; min-height: 44px; padding: 0; }
  .tpl-quick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* 지도 : 키가 없으면 지도 자리에 단추만, 있으면 지도 아래 링크로 나옵니다 */
.biz-map > .loc-map-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.biz-map { position: relative; 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; }
.loc-map-go { display: inline-block; padding: 12px 20px; border: 1px solid var(--tpl-ink); background: #fff; font-size: 15px; color: var(--tpl-ink); }
.loc-map-foot { margin-top: 12px; text-align: right; }

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

/* 제품소개 게시판의 분류 탭 */
.tpl-works-filter a { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border: 1px solid #d4d4d4; border-radius: 23px; font-size: 16px; color: var(--tpl-text); }
.tpl-works-filter a:hover { border-color: var(--tpl-ink); color: var(--tpl-ink); }
.tpl-works-filter a[aria-current="page"] { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.tpl-gall__img { position: relative; }
.tpl-gall__img .tpl-works-cert__paper { position: absolute; inset: 7%; margin: 0; padding: 12px; aspect-ratio: auto; justify-content: center; }
@media (max-width: 768px) {
  .tpl-works-filter a { height: 40px; padding: 0 15px; font-size: 15px; }
}

/* 전체검색·새글 — 그누보드 기본 스킨을 템플릿 색으로 맞춥니다. */
.allweb-gnu #sch_res_detail, .allweb-gnu #new_sch { min-width: 0; max-width: 100%; padding: 28px; border: 0; background: var(--tpl-gray); }
.allweb-gnu #sch_res_detail select, .allweb-gnu #sch_res_detail .frm_input, .allweb-gnu #new_sch select, .allweb-gnu #new_sch .frm_input { border: 1px solid #d4d4d4; border-radius: 0; }
.allweb-gnu #sch_res_detail .btn_submit, .allweb-gnu #new_sch .btn_submit { border: 0; border-radius: 0; background: var(--tpl-ink); color: #fff; }
.allweb-gnu #sch_res_ov { border: 0; border-bottom: 2px solid var(--tpl-ink); border-radius: 0; background: none; }
.allweb-gnu #sch_res_ov h2, .allweb-gnu #sch_res_ov ul { color: var(--tpl-ink); }
.allweb-gnu #sch_res_ov h2 strong { color: var(--tpl-red); }
.allweb-gnu #sch_res_board a { border: 1px solid #d4d4d4; border-radius: 0; background: #fff; color: var(--tpl-text); }
.allweb-gnu #sch_res_board a.sch_on, .allweb-gnu #sch_res_board .sch_on { border-color: var(--tpl-ink); background: var(--tpl-ink); color: #fff; }
.allweb-gnu .sch_word { background: none; color: var(--tpl-red); font-weight: 700; }
@media (max-width: 600px) {
  .allweb-gnu #sch_res_detail, .allweb-gnu #new_sch { padding: 18px; }
  .allweb-gnu #sch_res_detail select, .allweb-gnu #sch_res_detail .frm_input, .allweb-gnu #sch_res_detail .sch_wr, .allweb-gnu #new_sch select, .allweb-gnu #new_sch .frm_input, .allweb-gnu #new_sch .sch_wr { width: 100%; margin: 0 0 6px; }
}

/* 팝업 — 흰 바탕 · 붉은 윗막대 · 검은 단추(라벨과 같은 말씨) */
.tpl-pop__item { background: #fff; border-top: 4px solid var(--tpl-red); box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.tpl-pop__body { padding: 34px 30px 30px; }
.tpl-pop__title { margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--tpl-ink); }
.tpl-pop__text { margin: 0; font-size: 15px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; margin-top: 22px; padding: 11px 20px; background: var(--tpl-ink); font-size: 14px; font-weight: 600; color: #fff; transition: background-color .25s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-red); }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); }
.tpl-pop__foot button { min-height: 48px; padding: 0 12px; border: 0; background: #fff; font-size: 13.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; }
