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

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

/* ---------- 원본 assets/css/common.css ---------- */
/* common.css — 모든 페이지가 함께 쓰는 부분입니다. 색·글꼴 토큰, 공통 라벨·제목·버튼, 헤더, 메가메뉴, 드로어, 푸터, TOP 버튼을 담습니다.
   색은 흰 바탕 · 칠판 녹색 · 분필 노랑 · 분필 종이색 네 가지가 기본입니다. 바꾸려면 :root 값을 고치시면 됩니다.
   분필 노랑은 흰 바탕 글자색으로는 대비가 모자라므로 면(형광펜 밑줄 · 버튼 바탕)과 녹색 바탕 위 글자에만 씁니다. */

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

:root {
  --tpl-green: #1f4a3c;           /* 칠판 녹색 : 과정 단계 바탕 · 라벨 · 숫자 · 표 체크 */
  --tpl-green-d: #173a2f;         /* 녹색 버튼 hover */
  --tpl-yellow: #f2c94c;          /* 분필 노랑 : 형광펜 밑줄 · 수강 신청 버튼 · 녹색 바탕 위 강조 글자 */
  --tpl-ink: #1b2622;             /* 제목 · 강조 글자 */
  --tpl-text: #3d4843;            /* 본문 글자 */
  --tpl-mute: #5d6863;            /* 보조 글자 */
  --tpl-line: #dfe3e0;            /* 얇은 선 */
  --tpl-paper: #f5f3ec;           /* 분필 종이색 : 기능 표 · 공지 섹션 바탕 */
  --tpl-foot: #12261f;            /* 푸터 */
  --tpl-font: 'SUIT', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --tpl-ease: cubic-bezier(.25, .7, .25, 1);
  --tpl-hd-h: 72px;               /* 헤더 높이 */
  --tpl-gnb-gap: 64px;            /* 1차 메뉴 글자 사이 간격(모든 칸이 같습니다) */
  --tpl-side: 40px;               /* 화면 좌우 여백 */
}

html { scroll-behavior: auto; }
body { background: #fff; color: var(--tpl-text); font: 400 18px/1.7 var(--tpl-font); letter-spacing: -.015em; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.tpl-lock { overflow: hidden; }
/* 문구 줄바꿈은 PC 에서는 한 줄로 두고, 768px 이하에서만 지정한 자리에서 끊습니다 */
.tpl-m-br { display: none; }
@media (max-width: 768px) { .tpl-m-br { display: inline; } }
.tpl-wrap { width: calc(100% - var(--tpl-side) * 2); max-width: 1440px; margin: 0 auto; }
.tpl-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.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-green); 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: 150px 0; }
.tpl-label { display: inline-block; padding: 0 3px; font-size: 14.5px; font-weight: 800; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-green); background: linear-gradient(transparent 56%, var(--tpl-yellow) 56%); }
.tpl-label--light { padding: 0; color: var(--tpl-yellow); background: none; }
.tpl-head__ko { margin-top: 20px; font-size: 46px; font-weight: 800; line-height: 1.38; letter-spacing: -.045em; color: var(--tpl-ink); }
/* 제목 안 핵심어 형광펜 밑줄 (섹션마다 한 곳만) */
.tpl-hl { font-style: normal; background: linear-gradient(transparent 64%, rgba(242, 201, 76, .8) 64%); }
.tpl-textlink { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 700; 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-chalk) · 사진 위 흰 테두리 버튼(.tpl-btn-line) · 사각 화살표 버튼(.tpl-sqbtn) ---------- */
.tpl-btn-chalk { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; padding: 0 26px; height: 56px; background: var(--tpl-yellow); font-size: 17px; font-weight: 700; color: var(--tpl-green); transition: background-color .3s; }
.tpl-btn-chalk .tpl-ico { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .35s var(--tpl-ease); }
.tpl-btn-chalk:hover { background: #fff; }
.tpl-btn-chalk:hover .tpl-ico { transform: translateX(4px); }
.tpl-btn-line { display: inline-flex; align-items: center; gap: 12px; margin-top: 44px; padding: 0 26px; height: 54px; border: 1px solid rgba(255, 255, 255, .7); font-size: 16.5px; font-weight: 700; color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.tpl-btn-line .tpl-ico { width: 16px; height: 16px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-btn-line:hover { border-color: #fff; background: #fff; color: var(--tpl-green); }
.tpl-btn-line:hover .tpl-ico { transform: translateX(4px); }
.tpl-sqbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #cfd5d2; background: #fff; color: var(--tpl-ink); transition: border-color .25s, background-color .25s, color .25s; }
.tpl-sqbtn .tpl-ico { width: 17px; height: 17px; stroke-width: 1.8; }
.tpl-sqbtn:hover { border-color: var(--tpl-green); background: var(--tpl-green); color: #fff; }
.tpl-sqbtn.is-end { color: #b9c0bc; }
.tpl-sqbtn.is-end:hover { border-color: #cfd5d2; background: #fff; color: #b9c0bc; }

/* ---------- 로고 : 칠판 모양 심볼(테두리 + 노란 분필 받침) + 국문 워드마크 + 영문 보조 ---------- */
.tpl-logo a, a.tpl-logo { display: inline-flex; align-items: center; gap: 9px; }
.tpl-logo__mark { width: 24px; height: 24px; flex: none; }
.tpl-logo__ko { font-size: 23px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tpl-logo__en { margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1; opacity: .75; }

/* ---------- 헤더 : 맨 위에서는 투명(흰 글자), 스크롤하거나 메가메뉴가 열리면 흰 바탕(검정 글자) ---------- */
.tpl-header { position: fixed; left: 0; right: 0; top: 0; z-index: 100; color: #fff; transition: background-color .35s, color .35s; }
.tpl-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .22); transition: background-color .35s; }
.tpl-header.is-scrolled, .tpl-header.is-mega-open { background: #fff; color: var(--tpl-ink); }
.tpl-header.is-scrolled::after, .tpl-header.is-mega-open::after { background: var(--tpl-line); }
.tpl-header.is-scrolled .tpl-logo__mark, .tpl-header.is-mega-open .tpl-logo__mark { color: var(--tpl-green); }
.tpl-header__in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--tpl-hd-h); }
.tpl-header .tpl-logo { flex: 1 1 0; }
.tpl-gnb { height: 100%; }
.tpl-gnb__list { display: flex; height: 100%; }
/* 1차 메뉴 칸은 양옆 같은 여백(간격의 절반)을 가지므로 글자 사이 간격이 모두 같고, 2차 열은 이 칸에 left:0 · right:0 으로 붙어 폭이 칸 폭과 같습니다 */
.tpl-gnb__item { position: relative; height: 100%; padding: 0 calc(var(--tpl-gnb-gap) / 2); }
.tpl-gnb__link { position: relative; display: flex; align-items: center; height: 100%; font-size: 18px; font-weight: 700; white-space: nowrap; }
/* 1차 메뉴 표시 : 글자 폭의 노란 형광펜 띠 하나뿐입니다. 서브페이지에서 다른 1차 메뉴에 올리면 현재 메뉴 띠는 거둡니다 */
.tpl-gnb__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 3px; background: var(--tpl-yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--tpl-ease); }
.tpl-gnb__link[aria-current]::after { transform: scaleX(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: scaleX(0); }
.tpl-gnb__item:hover .tpl-gnb__link::after, .tpl-gnb__item:focus-within .tpl-gnb__link::after { transform: 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: 22px; font-size: 15px; }
.tpl-util p { display: flex; align-items: center; }
.tpl-util__member { gap: 16px; opacity: .88; }
.tpl-util__member a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-util__apply { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; background: var(--tpl-yellow); font-weight: 700; color: var(--tpl-green); white-space: nowrap; transition: background-color .25s, color .25s; }
.tpl-util__apply:hover { background: var(--tpl-green); color: #fff; }
.tpl-burger { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
.tpl-burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; }
.tpl-burger i:nth-child(1) { top: 14px; } .tpl-burger i:nth-child(2) { top: 21px; right: 17px; } .tpl-burger i:nth-child(3) { top: 28px; }

/* 메가메뉴 (01 과 같은 구현) : 흰 패널(.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 -2px 0 var(--tpl-green); 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; color: var(--tpl-mute); white-space: nowrap; transition: color .2s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible { color: var(--tpl-green); font-weight: 700; }
.tpl-gnb__sub a[aria-current] { color: var(--tpl-green); font-weight: 700; }
.is-mega-open .tpl-mega__bg { transform: scaleY(1); pointer-events: auto; }
.is-mega-open .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }

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

/* ---------- 푸터 : 짙은 녹흑색, 왼쪽 로고 + 상담 전화 · 오른쪽 메뉴 3열, 아래 정책 · 주소 · 관련 사이트 ---------- */
.tpl-footer { background: var(--tpl-foot); color: #a9b5af; font-size: 15px; line-height: 1.7; }
.tpl-footer__in { padding: 72px 0 56px; }
.tpl-footer__top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tpl-logo--foot { color: #fff; }
.tpl-footer__cs { display: grid; margin-top: 32px; line-height: 1.4; }
.tpl-footer__cs small { font-size: 14px; }
.tpl-footer__cs a { margin-top: 4px; font-size: 30px; font-weight: 800; letter-spacing: 0; color: var(--tpl-yellow); }
.tpl-footer__cs span { margin-top: 6px; font-size: 14.5px; }
.tpl-footer__nav { display: flex; gap: 72px; }
.tpl-footer__nav ul { display: grid; gap: 9px; align-content: start; min-width: 120px; }
.tpl-footer__h { margin-bottom: 6px; font-size: 16px; font-weight: 800; color: #fff; }
.tpl-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; }
.tpl-family { position: relative; flex: none; }
.tpl-family__btn { display: flex; align-items: center; justify-content: space-between; width: 190px; height: 44px; padding: 0 14px 0 16px; border: 1px solid rgba(255, 255, 255, .35); font-size: 15px; color: #fff; }
.tpl-family__btn .tpl-ico { width: 15px; height: 15px; transition: transform .35s var(--tpl-ease); }
.tpl-family__btn[aria-expanded="true"] .tpl-ico { transform: rotate(45deg); }
.tpl-family__list { position: absolute; left: 0; bottom: calc(100% + 6px); width: 190px; padding: 8px 0; border: 1px solid rgba(255, 255, 255, .25); background: #0c1b16; }
.tpl-family__list a { display: block; padding: 6px 16px; font-size: 15px; color: #c9d3ce; }
.tpl-family__list a:hover, .tpl-family__list a:focus-visible { color: #fff; background: #183129; }
.tpl-footer__info { max-width: 100%; }
.tpl-footer__policy { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-bottom: 16px; font-size: 15px; color: #d3dcd8; }
.tpl-footer__policy b { font-weight: 700; color: var(--tpl-yellow); }
.tpl-footer__policy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-footer address { font-size: 14.5px; }
.tpl-footer address span { display: inline-block; margin-right: 14px; }
.tpl-footer__copy { margin-top: 6px; font-size: 14px; letter-spacing: .02em; }

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

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  :root { --tpl-gnb-gap: 48px; }
  .tpl-util { gap: 14px; }
  .tpl-util__member { gap: 12px; }
}
@media (max-width: 1140px) {
  :root { --tpl-gnb-gap: 44px; }
  .tpl-util { gap: 12px; font-size: 14.5px; }
  .tpl-gnb__link { font-size: 17px; }
  .tpl-gnb__sub a { padding: 5px 2px; font-size: 15px; }
  .tpl-header .tpl-logo__en { display: none; }
}
@media (max-width: 1024px) {
  :root { --tpl-side: 32px; --tpl-hd-h: 64px; }
  .tpl-gnb, .tpl-util, .tpl-mega__bg { display: none; }
  .tpl-burger { display: block; }
  .tpl-sec { padding: 120px 0; }
  .tpl-head__ko { font-size: 40px; }
  .tpl-footer__top { flex-direction: column; }
  .tpl-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --tpl-side: 20px; --tpl-hd-h: 60px; }
  .tpl-sec { padding: 96px 0; }
  .tpl-head__ko { margin-top: 16px; font-size: 30px; }
  .tpl-btn-chalk, .tpl-btn-line { margin-top: 30px; height: 50px; padding: 0 20px; font-size: 16px; }
  .tpl-logo__ko { font-size: 21px; }
  .tpl-logo__en { font-size: 11px; }
  .tpl-footer__in { padding: 56px 0 44px; }
  .tpl-footer__nav { flex-wrap: wrap; gap: 28px 0; }
  .tpl-footer__nav ul { width: 50%; min-width: 0; }
  .tpl-totop { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 원본 assets/css/main.css ---------- */
/* main.css — 메인 페이지 전용입니다. 비주얼, About(숫자), Curriculum(6단계), Programs, EUM CLASS(기능 표), Teacher Academy, Classroom(갤러리), Notice, Contact 를 담습니다. */

/* ---------- 메인 비주얼 : 높이 70vh(최소 560px) · 배경은 섹션에 고정(스크롤해도 움직이지 않음) ---------- */
.tpl-visual { position: relative; height: 70vh; min-height: 560px; overflow: hidden; background: #24332d; 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(90deg, rgba(12, 28, 22, .72) 0%, rgba(12, 28, 22, .45) 48%, rgba(12, 28, 22, .2) 100%), linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 26%); }
.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, visibility 0s; }
.tpl-visual__item > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.tpl-visual__in { position: relative; height: 100%; }
/* 문구는 왼쪽 정렬 : 작은 안내 → 굵은 제목 → 설명 → 노란 버튼. 좌우 화살표를 피해 양옆 120px 안쪽에 둡니다 */
.tpl-visual__caps { position: absolute; inset: var(--tpl-hd-h) 120px 92px; display: grid; align-items: center; }
.tpl-visual__cap { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; visibility: hidden; transition: visibility 0s linear .6s; }
.tpl-visual__cap.is-active { visibility: visible; transition-delay: 0s; }
.tpl-visual__cap > * { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s var(--tpl-ease); }
.tpl-visual__cap > .tpl-btn-chalk { transition: background-color .3s; }
.tpl-visual__cap.is-active > * { opacity: 1; transform: none; transition-duration: 1.1s; }
.tpl-visual__cap.is-active .tpl-visual__tag { transition-delay: .05s; }
.tpl-visual__cap.is-active .tpl-visual__title { transition-delay: .15s; }
.tpl-visual__cap.is-active .tpl-visual__desc { transition-delay: .3s; }
.tpl-visual__cap.is-active .tpl-btn-chalk { transition-delay: .45s; }
.tpl-visual__tag { padding-left: 14px; border-left: 3px solid var(--tpl-yellow); font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--tpl-yellow); }
.tpl-visual__title { margin-top: 22px; font-size: 62px; font-weight: 800; line-height: 1.22; letter-spacing: -.05em; }
.tpl-visual__desc { margin-top: 20px; font-size: 20px; font-weight: 500; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.tpl-visual__ctrl { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.tpl-visual__pause { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; color: rgba(255, 255, 255, .8); transition: color .25s; }
.tpl-visual__pause i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .6); 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: 60px; height: 60px; 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, .7); font-variant-numeric: tabular-nums; }
.tpl-visual__count b { font-weight: 800; color: #fff; }
.tpl-visual__count span { position: relative; width: 80px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.tpl-visual__count span::after { content: ''; position: absolute; inset: 0; background: var(--tpl-yellow); transform: scaleX(0); transform-origin: left; }
.tpl-visual.is-run .tpl-visual__count span::after { animation: tplFill var(--tpl-vdelay, 6500ms) linear forwards; }
@keyframes tplFill { to { transform: scaleX(1); } }

/* ---------- About : 제목 한 줄 → 왼쪽 소개 · 오른쪽 숫자 4칸(위쪽 녹색 굵은 선) ---------- */
.tpl-intro__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 7%; margin-top: 64px; align-items: start; }
.tpl-intro__txt p { font-size: 18px; line-height: 1.85; color: var(--tpl-text); }
.tpl-intro__txt .tpl-textlink { margin-top: 32px; }
.tpl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.tpl-stats div { padding-top: 22px; border-top: 3px solid var(--tpl-green); }
.tpl-stats dt { font-size: 16px; font-weight: 700; color: var(--tpl-mute); }
.tpl-stats dd { margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--tpl-green); white-space: nowrap; }
.tpl-stats b { margin-right: 3px; font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tpl-intro__note { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--tpl-line); font-size: 15px; color: var(--tpl-mute); text-align: right; }

/* ---------- Curriculum : 칠판 녹색 단색 바탕, 6단계 가로 표(위쪽 진행선 + 노란 사각 표시) ---------- */
.tpl-steps { background: var(--tpl-green); color: #fff; }
.tpl-steps__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-steps .tpl-head__ko { color: #fff; }
.tpl-steps__list { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, .35); counter-reset: none; }
.tpl-steps__list > li { position: relative; display: flex; flex-direction: column; padding: 40px 24px 8px; }
.tpl-steps__list > li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.tpl-steps__list > li::before { content: ''; position: absolute; left: -1px; top: -6px; width: 11px; height: 11px; background: var(--tpl-yellow); }
.tpl-steps__list > li:first-child { padding-left: 0; }
.tpl-steps__list > li:first-child::before { left: 0; }
.tpl-steps__no { font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--tpl-yellow); }
.tpl-steps__tit { margin-top: 14px; font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.tpl-steps__age { margin-top: 2px; font-size: 16px; color: rgba(255, 255, 255, .78); }
.tpl-steps__items { display: grid; gap: 6px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed rgba(255, 255, 255, .28); font-size: 16.5px; color: rgba(255, 255, 255, .92); }
.tpl-steps__items li::before { content: ''; display: inline-block; width: 8px; height: 2px; margin-right: 9px; background: var(--tpl-yellow); vertical-align: 5px; }
.tpl-steps__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 32px; font-size: 15.5px; font-weight: 700; color: #fff; }
.tpl-steps__more .tpl-ico { width: 15px; height: 15px; stroke-width: 2; transition: transform .35s var(--tpl-ease); }
.tpl-steps__more:hover { color: var(--tpl-yellow); }
.tpl-steps__more:hover .tpl-ico { transform: translateX(4px); }

/* ---------- 가로 캐러셀 공용(Programs · Classroom): --per 장씩 보입니다 ---------- */
.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; }
.tpl-track { --per: 4; --gap: 24px; 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; }

/* ---------- Programs : 사진 + 대상 꼬리표 + 제목 + 두 줄 설명 ---------- */
.tpl-programs__card > a { display: block; }
.tpl-programs__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tpl-paper); }
.tpl-programs__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-programs__card a:hover img, .tpl-programs__card a:focus-visible img { transform: scale(1.04); }
.tpl-programs__card a:focus-visible { outline-offset: 4px; }
.tpl-programs__meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; color: var(--tpl-mute); }
.tpl-programs__meta span { padding: 2px 8px; background: var(--tpl-green); font-size: 13.5px; font-weight: 700; color: #fff; }
.tpl-programs__tit { display: block; margin-top: 12px; font-size: 21px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-programs__card a:hover .tpl-programs__tit { text-decoration: underline; text-decoration-color: var(--tpl-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tpl-programs__txt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(1.65em * 2); margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--tpl-text); }

/* ---------- EUM CLASS : 분필 종이색 바탕, 기능 목록 표 ---------- */
.tpl-platform { background: var(--tpl-paper); }
.tpl-platform__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.tpl-platform__lead { padding-bottom: 8px; font-size: 18px; color: var(--tpl-text); }
.tpl-table { position: relative; margin-top: 56px; overflow-x: auto; }
.tpl-table table { min-width: 680px; border-top: 2px solid var(--tpl-ink); font-size: 17px; }
.tpl-table thead th { padding: 16px 20px; border-bottom: 1px solid #c9cfc9; font-size: 15px; font-weight: 700; color: var(--tpl-mute); text-align: left; }
.tpl-table thead th:nth-child(n+3) { width: 9%; text-align: center; }
.tpl-table tbody th { width: 17%; padding: 20px; border-bottom: 1px solid #dcdcd2; font-weight: 800; color: var(--tpl-ink); text-align: left; white-space: nowrap; }
.tpl-table tbody td { padding: 20px; border-bottom: 1px solid #dcdcd2; color: var(--tpl-text); }
.tpl-table tbody td:nth-child(n+3) { text-align: center; }
.tpl-table tbody tr:hover { background: rgba(255, 255, 255, .6); }
.tpl-table .tpl-ico { display: inline-block; width: 22px; height: 22px; stroke-width: 2.6; color: var(--tpl-green); vertical-align: middle; }
.tpl-no { display: inline-block; width: 12px; height: 2px; background: #b3bab4; vertical-align: middle; }
.tpl-platform__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; font-size: 16px; color: var(--tpl-mute); }
.tpl-platform__foot .tpl-textlink { flex: none; }

/* ---------- Teacher Academy : 풀폭 배경 사진(섹션에 고정 · 패럴랙스 없음) + 녹색 막, 문구 왼쪽 ---------- */
.tpl-academy { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.tpl-academy__bg { position: absolute; inset: 0; z-index: -2; background: #2b3a33 center / cover no-repeat; }
.tpl-academy::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 38, 30, .88) 0%, rgba(15, 38, 30, .7) 50%, rgba(15, 38, 30, .35) 100%); }
.tpl-academy__in { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(520px, 40vw, 640px); padding: 110px 0; }
.tpl-academy__title { margin-top: 20px; font-size: 50px; font-weight: 800; line-height: 1.3; letter-spacing: -.05em; }
.tpl-academy__facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 36px; font-size: 17px; color: rgba(255, 255, 255, .9); }
.tpl-academy__facts li { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .3); }
.tpl-academy__facts li:first-child { padding-left: 0; border-left: 0; }
.tpl-academy__facts b { margin-right: 6px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--tpl-yellow); vertical-align: -3px; }

/* ---------- Classroom : 갤러리 사진 최대 10장, 한 화면 3장(1024↓ 2장, 600↓ 1장) ---------- */
.tpl-gallery__track { --per: 3; --gap: 28px; }
.tpl-gallery__card > a { display: block; }
.tpl-gallery__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tpl-paper); }
.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: 800; color: var(--tpl-green); }
.tpl-gallery__tit { display: block; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-gallery__card a:hover .tpl-gallery__tit { text-decoration: underline; text-decoration-color: var(--tpl-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* 내용은 두 줄까지 보이고 넘치면 … 로 줄입니다(줄 수가 달라도 카드 높이가 같도록 두 줄 높이를 확보) */
.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: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- Notice : 분필 종이색 바탕, 흰 최신글 카드 2개(위쪽 녹색 선) + 아래 바로가기 4칸 ---------- */
.tpl-updates { background: var(--tpl-paper); }
.tpl-updates__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.tpl-latest { min-width: 0; padding: 30px 36px 18px; border-top: 3px solid var(--tpl-green); background: #fff; }
.tpl-latest__head { display: flex; justify-content: space-between; align-items: center; }
.tpl-latest__tit { font-size: 23px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-latest__more { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; color: var(--tpl-ink); }
.tpl-latest__more .tpl-ico { width: 20px; height: 20px; transition: transform .4s var(--tpl-ease); }
.tpl-latest__more:hover .tpl-ico { transform: rotate(90deg); }
.tpl-latest__list { margin-top: 14px; }
.tpl-latest__list li { display: flex; align-items: center; gap: 24px; padding: 13px 0; border-top: 1px solid #e6e8e4; font-size: 16.5px; }
.tpl-latest__list a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #2c3632; }
.tpl-latest__list a:hover { color: var(--tpl-green); text-decoration: underline; text-underline-offset: 4px; }
.tpl-latest__re { display: inline-block; margin-right: 7px; padding: 0 6px; background: var(--tpl-yellow); font-size: 13px; font-weight: 700; line-height: 19px; color: var(--tpl-green); 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, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.tpl-shortcut a { position: relative; display: grid; gap: 6px; align-content: start; height: 100%; padding: 26px 56px 28px 26px; border: 1px solid #d8dad2; background: transparent; transition: background-color .3s, border-color .3s; }
.tpl-shortcut strong { font-size: 19px; font-weight: 800; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-shortcut__txt { font-size: 15.5px; line-height: 1.6; color: var(--tpl-mute); }
.tpl-shortcut .tpl-ico { position: absolute; right: 22px; top: 28px; width: 18px; height: 18px; color: var(--tpl-green); transition: transform .35s var(--tpl-ease); }
.tpl-shortcut a:hover { border-color: var(--tpl-green); background: #fff; }
.tpl-shortcut a:hover .tpl-ico { transform: translate(3px, -3px); }

/* ---------- Contact : 흰 바탕, 왼쪽 지도 · 오른쪽 상담 안내 ---------- */
.tpl-contact__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 6%; align-items: center; }
.tpl-contact__tel { display: grid; margin-top: 36px; font-size: 48px; font-weight: 800; line-height: 1.15; letter-spacing: 0; color: var(--tpl-green); }
.tpl-contact__tel small { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--tpl-mute); }
.tpl-contact__tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tpl-contact__hours { margin-top: 28px; border-top: 1px solid var(--tpl-ink); font-size: 16.5px; }
.tpl-contact__hours th { width: 110px; padding: 11px 0; border-bottom: 1px solid var(--tpl-line); font-weight: 700; color: var(--tpl-ink); text-align: left; vertical-align: top; }
.tpl-contact__hours td { padding: 11px 0; border-bottom: 1px solid var(--tpl-line); color: var(--tpl-text); }
.tpl-contact__meta { display: grid; gap: 6px; margin-top: 22px; 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-green); }
.tpl-contact__meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-contact__map { position: relative; width: 100%; aspect-ratio: 16 / 11; min-height: 340px; background: #e9ece9; }
.tpl-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.85); }
.tpl-contact__maplink { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-green); color: #fff; font-size: 15px; font-weight: 700; }
.tpl-contact__maplink .tpl-ico { width: 14px; height: 14px; }
.tpl-contact__maplink:hover { background: var(--tpl-green-d); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-visual__title { font-size: 56px; }
  .tpl-stats b { font-size: 44px; }
  .tpl-steps__list > li { padding: 36px 18px 8px; }
  .tpl-steps__tit { font-size: 23px; }
  .tpl-programs__track { --per: 3; }
}
@media (max-width: 1024px) {
  .tpl-visual__title { font-size: 46px; }
  .tpl-visual__desc { font-size: 18.5px; }
  .tpl-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px; }
  .tpl-stats b { font-size: 46px; }
  .tpl-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 0; }
  .tpl-steps__list > li { padding: 32px 20px 36px; border-top: 1px solid rgba(255, 255, 255, .35); }
  .tpl-steps__list > li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .tpl-steps__list > li:nth-child(3n+1)::before { left: 0; }
  .tpl-programs__track { --per: 2; }
  .tpl-gallery__track { --per: 2; }
  .tpl-academy__title { font-size: 40px; }
  .tpl-platform__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tpl-shortcut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-contact__in { grid-template-columns: minmax(0, 1fr); }
  .tpl-contact__map { order: 2; }
}
@media (max-width: 768px) {
  .tpl-visual__caps { inset: var(--tpl-hd-h) 56px 80px; }
  .tpl-visual__tag { font-size: 15px; }
  .tpl-visual__title { margin-top: 16px; font-size: 36px; line-height: 1.28; }
  .tpl-visual__desc { margin-top: 14px; font-size: 17px; }
  .tpl-visual__ctrl { gap: 18px; bottom: 28px; }
  .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: 38px; height: 38px; }
  .tpl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .tpl-stats b { font-size: 40px; }
  .tpl-intro__note { margin-top: 36px; text-align: left; }
  .tpl-steps__head { flex-direction: column; align-items: flex-start; }
  .tpl-steps__list { grid-template-columns: minmax(0, 1fr); margin-top: 40px; border-left: 1px solid rgba(255, 255, 255, .35); }
  .tpl-steps__list > li, .tpl-steps__list > li:nth-child(3n+1) { padding: 4px 0 40px 28px; border: 0; }
  .tpl-steps__list > li:last-child { padding-bottom: 4px; }
  .tpl-steps__list > li::before, .tpl-steps__list > li:nth-child(3n+1)::before { left: -6px; top: 8px; }
  .tpl-steps__tit { margin-top: 8px; }
  .tpl-steps__items { margin-top: 16px; padding-top: 14px; }
  .tpl-steps__more { padding-top: 18px; }
  .tpl-slider__side .tpl-textlink { display: none; }
  .tpl-track { margin-top: 40px; --gap: 16px; }
  .tpl-table { margin-top: 36px; margin-right: calc(var(--tpl-side) * -1); }
  .tpl-table table { font-size: 16px; }
  .tpl-platform__foot { flex-direction: column; align-items: flex-start; }
  .tpl-academy__in { min-height: 480px; padding: 90px 0; }
  .tpl-academy__title { font-size: 31px; }
  .tpl-academy__facts { flex-direction: column; gap: 8px; }
  .tpl-academy__facts li { padding: 0; border: 0; }
  .tpl-academy__facts b { font-size: 26px; }
  .tpl-updates__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
  .tpl-latest { padding: 24px 20px 12px; }
  .tpl-latest__tit { font-size: 21px; }
  .tpl-latest__list li { gap: 14px; font-size: 16px; }
  .tpl-contact__tel { font-size: 38px; }
  .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) 54px 76px; }
  .tpl-visual__title { font-size: 31px; }
  .tpl-visual__desc { font-size: 16.5px; }
  .tpl-stats b { font-size: 36px; }
  .tpl-programs__track, .tpl-gallery__track { --per: 1; }
  .tpl-shortcut { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  /* 기능 표 : 좁은 화면에서는 줄마다 카드처럼 쌓고, 학생 · 교사 · 학부모 칸에 머리글을 붙입니다 */
  .tpl-table { margin-right: 0; overflow: visible; }
  .tpl-table table { min-width: 0; }
  .tpl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tpl-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 0; border-bottom: 1px solid #dcdcd2; }
  .tpl-table tbody th, .tpl-table tbody td { width: auto; padding: 0; border: 0; }
  .tpl-table tbody th { grid-column: 1 / -1; }
  .tpl-table tbody td:nth-child(2) { grid-column: 1 / -1; margin: 4px 0 12px; }
  .tpl-table tbody td:nth-child(n+3) { display: flex; align-items: center; justify-content: flex-start; gap: 8px; text-align: left; font-size: 15px; color: var(--tpl-mute); }
  .tpl-table tbody td:nth-child(3)::before { content: '학생'; }
  .tpl-table tbody td:nth-child(4)::before { content: '교사'; }
  .tpl-table tbody td:nth-child(5)::before { content: '학부모'; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-track { scroll-behavior: auto; }
}

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

/* ---------- 원본 assets/css/sub.css ---------- */
/* sub.css — 서브페이지가 함께 쓰는 레이아웃과 콘텐츠 부품입니다. 색 · 글꼴 · 라벨 · 버튼 · 섹션 여백은 common.css 를 그대로 씁니다.
   서브 비주얼 사진은 움직이지 않습니다(패럴랙스 없음). */

/* ---------- 서브 비주얼 : 풀폭 사진 + 녹색 기운의 어두운 막, 가운데 영문 라벨 · 큰 제목 · 한 줄 설명 (PC 440px · 1024↓ 380px · 768↓ 320px) ---------- */
.tpl-subvis { position: relative; display: flex; align-items: center; justify-content: center; height: 440px; overflow: hidden; background: #24332d; color: #fff; text-align: center; isolation: isolate; }
.tpl-subvis__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tpl-subvis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 30%), rgba(12, 28, 22, .62); }
.tpl-subvis__in { display: flex; flex-direction: column; align-items: center; padding-top: var(--tpl-hd-h); }
.tpl-subvis__title { margin-top: 18px; font-size: 58px; font-weight: 800; line-height: 1.2; letter-spacing: -.05em; }
.tpl-subvis__desc { margin-top: 16px; font-size: 19px; font-weight: 500; line-height: 1.7; color: rgba(255, 255, 255, .9); }

/* ---------- 위치 표시(왼쪽) + 2차 메뉴 탭(오른쪽). 현재 탭은 노란 형광펜 띠. 1024px 이하에서는 위아래로 나뉘고 탭은 가로로 밀어 봅니다 ---------- */
.tpl-snb { border-bottom: 1px solid var(--tpl-line); background: #fff; }
.tpl-snb__in { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 72px; }
.tpl-loc ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--tpl-mute); }
.tpl-loc li { display: flex; align-items: center; }
.tpl-loc li + li::before { content: ''; width: 6px; height: 6px; margin: 0 14px 0 11px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.tpl-loc a { display: flex; align-items: center; }
.tpl-loc a:hover { color: var(--tpl-green); }
.tpl-loc .tpl-ico { width: 17px; height: 17px; }
.tpl-loc li[aria-current] { font-weight: 700; color: var(--tpl-ink); }
.tpl-snb__tabs ul { display: flex; }
.tpl-snb__tabs a { position: relative; display: flex; align-items: center; height: 72px; padding: 0 22px; font-size: 17px; font-weight: 700; 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: 4px; background: var(--tpl-yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--tpl-ease); }
.tpl-snb__tabs a:hover, .tpl-snb__tabs a[aria-current] { color: var(--tpl-green); }
.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-greet__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0 8%; align-items: start; margin-top: 64px; }
.tpl-greet__lead { padding-left: 20px; border-left: 3px solid var(--tpl-yellow); font-size: 21px; font-weight: 700; line-height: 1.65; color: var(--tpl-ink); }
.tpl-greet__txt { margin-top: 36px; line-height: 1.9; }
.tpl-greet__txt p + p { margin-top: 1.1em; }
.tpl-sign { display: flex; align-items: baseline; justify-content: flex-end; gap: 14px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--tpl-line); font-size: 16px; color: var(--tpl-mute); }
.tpl-sign strong { font-size: 27px; font-weight: 800; letter-spacing: .14em; color: var(--tpl-ink); }
.tpl-greet__photo { position: sticky; top: calc(var(--tpl-hd-h) + 40px); }
.tpl-greet__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-bottom: 6px solid var(--tpl-green); background: var(--tpl-paper); }
.tpl-greet__photo figcaption { margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-greet__photo figcaption strong { margin-right: 6px; font-size: 18px; font-weight: 800; color: var(--tpl-ink); }

/* ---------- 회사 개요 : 분필 종이색 바탕, 왼쪽 제목 + 숫자 2×2 · 오른쪽 개요 표(위 녹색 굵은 선) ---------- */
.tpl-overview { background: var(--tpl-paper); }
.tpl-overview__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 7%; align-items: start; }
.tpl-overview__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid #d9d6cb; }
.tpl-overview__nums > div { padding: 22px 0 20px; border-bottom: 1px solid #d9d6cb; }
.tpl-overview__nums > div:nth-child(even) { padding-left: 24px; border-left: 1px solid #d9d6cb; }
.tpl-overview__nums dt { font-size: 15.5px; font-weight: 700; color: var(--tpl-mute); }
.tpl-overview__nums dd { margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--tpl-ink); }
.tpl-overview__nums b { margin-right: 4px; font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--tpl-green); font-variant-numeric: tabular-nums; }
.tpl-overview__note { margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-overview__table table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--tpl-green); background: #fff; }
.tpl-overview__table th, .tpl-overview__table td { padding: 19px 24px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; font-size: 17px; line-height: 1.65; }
.tpl-overview__table th { width: 150px; font-weight: 800; color: var(--tpl-ink); }

/* ---------- 반응형 ---------- */
@media (max-width: 1280px) {
  .tpl-snb__tabs a { padding: 0 16px; }
  .tpl-snb__tabs a::after { left: 16px; right: 16px; }
  .tpl-snb__tabs li:last-child a { margin-right: -16px; }
}
@media (max-width: 1024px) {
  .tpl-subvis { height: 380px; }
  .tpl-subvis__title { font-size: 46px; }
  .tpl-subvis__desc { font-size: 18px; }
  .tpl-snb__in { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; }
  .tpl-loc 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: 56px; font-size: 16.5px; }
  .tpl-snb__tabs li:last-child a { margin-right: 0; }
  .tpl-greet__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 6%; margin-top: 48px; }
  .tpl-overview__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .tpl-subvis { height: 320px; }
  .tpl-subvis__title { margin-top: 14px; font-size: 36px; }
  .tpl-subvis__desc { margin-top: 12px; padding: 0 8px; font-size: 16.5px; }
  .tpl-greet__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 36px; }
  .tpl-greet__photo { position: static; grid-row: 1; max-width: 400px; }
  .tpl-greet__lead { padding-left: 16px; font-size: 18px; }
  .tpl-greet__txt { margin-top: 28px; font-size: 17px; }
  .tpl-sign { margin-top: 40px; }
  .tpl-sign strong { font-size: 23px; }
  .tpl-overview__nums { margin-top: 32px; }
  .tpl-overview__nums > div:nth-child(even) { padding-left: 16px; }
  .tpl-overview__nums b { font-size: 32px; }
  .tpl-overview__table th, .tpl-overview__table td { display: block; width: auto; padding: 0 16px; border: 0; font-size: 16px; }
  .tpl-overview__table th { padding-top: 16px; }
  .tpl-overview__table td { padding-bottom: 16px; border-bottom: 1px solid var(--tpl-line); }
}

/* ==========================================================================
   서브페이지 추가 (2026-11-10) : 연혁 · 교육 철학 · 조직 안내 · 오시는 길 · 교육과정 · 학습 서비스 · 수강 문의 ·
   게시판(목록 · 보기 · 쓰기) · 자주 묻는 질문 · 교실 소식 · 채용 · 회원 · 정책 화면 부품입니다.
   위의 기존 규칙은 고치지 않고 덧붙이기만 했습니다. 색 · 글꼴은 common.css 의 토큰(칠판 녹색 · 분필 노랑 · 분필 종이색)을 씁니다.
   ========================================================================== */

/* ---------- 섹션 틀 : 흰 바탕 · 분필 종이색 바탕. 흰 섹션끼리 이어지면 위 여백을 겹치지 않습니다 ---------- */
.tpl-block { padding: 120px 0; }
.tpl-block--paper { background: var(--tpl-paper); }
.tpl-block:not(.tpl-block--paper) + .tpl-block:not(.tpl-block--paper) { padding-top: 0; }
.tpl-head__desc { margin-top: 16px; font-size: 18px; color: var(--tpl-mute); }
.tpl-head + *, .tpl-head + .tpl-sr + * { margin-top: 56px; }

/* ---------- 버튼 · 꼬리표 ---------- */
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border: 1px solid var(--tpl-green); background: var(--tpl-green); font-size: 17px; font-weight: 700; color: #fff; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.tpl-btn:hover { background: var(--tpl-green-d); }
.tpl-btn .tpl-ico { width: 17px; height: 17px; stroke-width: 2; }
.tpl-btn--line { border-color: #c4ccc7; background: #fff; color: var(--tpl-ink); }
.tpl-btn--line:hover { border-color: var(--tpl-green); background: #fff; color: var(--tpl-green); }
.tpl-btn--chalk { border-color: var(--tpl-yellow); background: var(--tpl-yellow); color: var(--tpl-green); }
.tpl-btn--chalk:hover { border-color: #fff; background: #fff; }
.tpl-btn--ondark { border-color: rgba(255, 255, 255, .6); background: transparent; color: #fff; }
.tpl-btn--ondark:hover { border-color: #fff; background: #fff; color: var(--tpl-green); }
.tpl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.tpl-tag { display: inline-block; padding: 0 8px; background: var(--tpl-paper); font-size: 13.5px; font-weight: 700; line-height: 24px; color: var(--tpl-green); white-space: nowrap; vertical-align: 1px; }
.tpl-tag--y { background: var(--tpl-yellow); }
.tpl-tag--g { background: var(--tpl-green); color: #fff; }
.tpl-tag--line { background: #fff; box-shadow: inset 0 0 0 1px #c4ccc7; color: var(--tpl-mute); }

/* ---------- 자료 표 : 위 녹색 굵은 선 · 흰 바탕 (좁은 화면에서는 가로로 밀어 봅니다) ---------- */
.tpl-dtable { overflow-x: auto; }
.tpl-dtable table { width: 100%; min-width: 680px; border-collapse: collapse; border-top: 3px solid var(--tpl-green); background: #fff; font-size: 17px; }
.tpl-dtable th, .tpl-dtable td { padding: 18px 22px; border-bottom: 1px solid var(--tpl-line); text-align: left; vertical-align: top; line-height: 1.6; }
.tpl-dtable thead th { background: #f0eee5; font-size: 15.5px; font-weight: 800; color: var(--tpl-mute); white-space: nowrap; }
.tpl-dtable tbody th { font-weight: 800; color: var(--tpl-ink); white-space: nowrap; }
.tpl-dtable .is-c { text-align: center; }
.tpl-dtable a:hover { color: var(--tpl-green); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 숫자 4칸 : 라벨 위 · 큰 숫자 아래 ---------- */
.tpl-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--tpl-ink); }
.tpl-nums > div { padding: 24px 24px 22px 0; border-bottom: 1px solid #d9d6cb; }
.tpl-nums > div + div { padding-left: 24px; border-left: 1px solid #d9d6cb; }
.tpl-nums dt { font-size: 15.5px; font-weight: 700; color: var(--tpl-mute); }
.tpl-nums dd { margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--tpl-ink); }
.tpl-nums b { margin-right: 4px; font-size: 44px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--tpl-green); font-variant-numeric: tabular-nums; }

/* ---------- 단계 : 위 녹색 굵은 선 + 영문 단계 번호 + 제목 + 설명 ---------- */
.tpl-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: flow; }
.tpl-flow li { padding-top: 26px; border-top: 3px solid var(--tpl-green); }
.tpl-flow li:last-child { border-top-color: var(--tpl-yellow); }
.tpl-flow__no { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-green); }
.tpl-flow h4 { margin-top: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-flow p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; }

/* ---------- 줄 목록 : 왼쪽 큰 이름 · 오른쪽 설명 ---------- */
.tpl-rows { border-top: 3px solid var(--tpl-green); }
.tpl-rows > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 6%; padding: 34px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-rows h4 { display: flex; align-items: baseline; gap: 14px; font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-rows h4 small { font-size: 15px; font-weight: 800; letter-spacing: .06em; color: var(--tpl-green); font-variant-numeric: tabular-nums; }
.tpl-rows p { font-size: 17px; line-height: 1.75; }
.tpl-rows__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ---------- 문의 띠 : 흰 섹션 안쪽의 칠판 녹색 면 ---------- */
.tpl-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; padding: 52px 60px; background: var(--tpl-green); color: rgba(255, 255, 255, .86); }
.tpl-cta__tit { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1.4; color: #fff; }
.tpl-cta__tit em { font-style: normal; color: var(--tpl-yellow); }
.tpl-cta p { margin-top: 8px; font-size: 17px; }
.tpl-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.tpl-flow + .tpl-cta, .tpl-rows + .tpl-cta, .tpl-benefit + .tpl-cta, .tpl-faq + .tpl-cta { margin-top: 96px; }

/* ---------- 연혁 : 시기 3묶음, 왼쪽 시기 이름은 따라 내려오고 오른쪽에 해마다 한 일 ---------- */
.tpl-hist__era { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 6%; padding: 56px 0 64px; border-top: 1px solid var(--tpl-line); }
.tpl-hist__era:first-child { border-top: 3px solid var(--tpl-green); }
.tpl-hist__side { position: sticky; top: calc(var(--tpl-hd-h) + 32px); align-self: start; }
.tpl-hist__span { font-size: 15px; font-weight: 800; letter-spacing: .06em; color: var(--tpl-green); font-variant-numeric: tabular-nums; }
.tpl-hist__name { margin-top: 8px; font-size: 32px; font-weight: 800; line-height: 1.35; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-hist__txt { margin-top: 12px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-hist__list > li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 24px; padding: 22px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-hist__list > li:first-child { padding-top: 0; }
.tpl-hist__list > li:last-child { border-bottom: 0; }
.tpl-hist__y { font-size: 30px; font-weight: 800; line-height: 1.25; color: var(--tpl-green); font-variant-numeric: tabular-nums; }
.tpl-hist__list ul li { display: flex; gap: 16px; font-size: 17px; line-height: 1.75; }
.tpl-hist__list ul li + li { margin-top: 6px; }
.tpl-hist__list ul span { flex: none; width: 26px; padding-top: 1px; font-weight: 700; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }

/* ---------- 교육 철학 : 큰 문장 · 원칙 2×2 ---------- */
.tpl-motto { max-width: 1100px; padding-left: 28px; border-left: 4px solid var(--tpl-yellow); font-size: 34px; font-weight: 800; line-height: 1.5; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-princ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 6%; margin-top: 88px; }
.tpl-princ li { padding-top: 28px; border-top: 3px solid var(--tpl-green); }
.tpl-princ b { font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--tpl-green); }
.tpl-princ h4 { margin-top: 8px; font-size: 25px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-princ p { margin-top: 12px; font-size: 17px; line-height: 1.75; }

/* ---------- 조직 안내 : 대표이사 → 직속 3개 기관 → 5개 본부 ---------- */
.tpl-org { position: relative; display: grid; justify-items: center; }
.tpl-org::before { content: ''; position: absolute; left: calc(50% - 1px); top: 0; bottom: 120px; width: 2px; background: var(--tpl-green); }
.tpl-org__ceo { position: relative; padding: 20px 64px; background: var(--tpl-green); font-size: 22px; font-weight: 800; color: #fff; }
.tpl-org__staff { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(100%, 820px); margin-top: 48px; }
.tpl-org__staff li { padding: 16px 12px; border: 2px solid var(--tpl-green); background: #fff; text-align: center; font-size: 18px; font-weight: 800; color: var(--tpl-green); }
.tpl-org__divs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 72px; padding-top: 24px; }
.tpl-org__divs::before { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 2px; background: var(--tpl-green); }
.tpl-org__divs li { position: relative; padding: 24px 20px 26px; border-top: 4px solid var(--tpl-yellow); background: var(--tpl-paper); }
.tpl-org__divs li::before { content: ''; position: absolute; left: calc(50% - 1px); top: -28px; width: 2px; height: 24px; background: var(--tpl-green); }
.tpl-org__divs strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.035em; color: var(--tpl-ink); white-space: nowrap; }
.tpl-org__divs p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: var(--tpl-text); }

/* ---------- 오시는 길 : 카카오 지도(왼쪽 검색 창을 상자 밖으로 밀어 가림) + 주소 · 전화 · 교통 ---------- */
.tpl-locmap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 56px; align-items: start; }
.tpl-kmap { position: relative; height: 560px; overflow: hidden; background: #e9ece9; }
.tpl-kmap iframe { position: absolute; top: 0; left: -420px; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.tpl-kmap__link { position: absolute; left: 0; bottom: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; background: var(--tpl-green); font-size: 15px; font-weight: 700; color: #fff; }
.tpl-kmap__link .tpl-ico { width: 14px; height: 14px; }
.tpl-kmap__link:hover { background: var(--tpl-green-d); }
.tpl-locinfo { border-top: 3px solid var(--tpl-green); }
.tpl-locinfo > div { padding: 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-locinfo dt { font-size: 15px; font-weight: 800; color: var(--tpl-green); }
.tpl-locinfo dd { margin-top: 4px; font-size: 17px; color: var(--tpl-ink); }
.tpl-locinfo dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpl-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.tpl-route li { padding-top: 20px; border-top: 1px solid var(--tpl-ink); }
.tpl-route h4 { font-size: 19px; font-weight: 800; color: var(--tpl-ink); }
.tpl-route p { margin-top: 8px; font-size: 16.5px; }

/* ---------- 교육과정 개요 : 왼쪽 사진(아래 녹색 굵은 선) · 오른쪽 설명 + 사실 3칸 ---------- */
.tpl-bov { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 7%; align-items: start; }
.tpl-bov__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 6px solid var(--tpl-green); background: var(--tpl-paper); }
.tpl-bov__txt { margin-top: 28px; line-height: 1.85; }
.tpl-bov__txt p + p { margin-top: 1em; }
.tpl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--tpl-ink); }
.tpl-facts > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-facts > div + div { padding-left: 16px; border-left: 1px solid var(--tpl-line); }
.tpl-facts dt { font-size: 15px; font-weight: 800; color: var(--tpl-green); }
.tpl-facts dd { margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--tpl-ink); }

/* ---------- 학습 서비스 : 월간 리포트 예시 · 교재 시리즈 · 수상 ---------- */
.tpl-report { padding: 44px 48px; border-top: 3px solid var(--tpl-green); background: #fff; }
.tpl-report__who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-bottom: 24px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-report__who strong { font-size: 22px; font-weight: 800; color: var(--tpl-ink); }
.tpl-report__note { margin-top: 32px; padding-left: 20px; border-left: 3px solid var(--tpl-yellow); font-size: 17px; line-height: 1.8; }
.tpl-report__note b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 800; color: var(--tpl-green); }
.tpl-series { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl-series li { padding: 30px 32px 32px; border-left: 6px solid var(--tpl-green); background: var(--tpl-paper); }
.tpl-series li:nth-child(3n+2) { border-left-color: var(--tpl-yellow); }
.tpl-series span { font-size: 15px; font-weight: 800; color: var(--tpl-green); }
.tpl-series h4 { margin-top: 6px; font-size: 23px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-series p { margin-top: 10px; font-size: 16.5px; line-height: 1.7; }
.tpl-series small { display: block; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); }
.tpl-nums + .tpl-dtable { margin-top: 56px; }
.tpl-awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; border-top: 3px solid var(--tpl-green); }
.tpl-awards li { padding: 26px 0 28px; border-bottom: 1px solid #d9d6cb; }
.tpl-awards time { font-size: 15px; font-weight: 800; color: var(--tpl-green); font-variant-numeric: tabular-nums; }
.tpl-awards strong { display: block; margin-top: 6px; font-size: 20px; font-weight: 800; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-awards p { margin-top: 4px; font-size: 16px; color: var(--tpl-mute); }

/* ---------- 연락처 띠 : 문의서 위 칠판 녹색 면 ---------- */
.tpl-istrip { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 4fr)); background: var(--tpl-green); color: rgba(255, 255, 255, .86); }
.tpl-istrip > div { padding: 30px 36px; }
.tpl-istrip > div + div { border-left: 1px solid rgba(255, 255, 255, .18); }
.tpl-istrip small { display: block; font-size: 15px; font-weight: 700; color: var(--tpl-yellow); }
.tpl-istrip strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 800; color: #fff; }
.tpl-istrip a.tpl-istrip__tel { display: block; margin-top: 2px; font-size: 34px; font-weight: 800; line-height: 1.2; color: #fff; }
.tpl-istrip + .tpl-form, .tpl-flow + .tpl-form { margin-top: 72px; }

/* ---------- 입력 칸 · 문의서 · 게시판 쓰기 (왼쪽 항목 이름 · 오른쪽 입력) ---------- */
.tpl-form { border-top: 3px solid var(--tpl-green); }
.tpl-form__row { display: grid; grid-template-columns: 210px minmax(0, 1fr); border-bottom: 1px solid var(--tpl-line); }
.tpl-form__label { display: flex; align-items: center; gap: 4px; padding: 20px 24px; background: var(--tpl-paper); font-size: 16.5px; font-weight: 800; color: var(--tpl-ink); }
.tpl-form__label b { color: var(--tpl-green); }
.tpl-form__field { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; min-width: 0; padding: 14px 24px; }
.tpl-form__hint { width: 100%; font-size: 15px; color: var(--tpl-mute); }
.tpl-input, .tpl-select, .tpl-textarea { width: 100%; max-width: 420px; height: 50px; padding: 0 16px; border: 1px solid #c4ccc7; border-radius: 0; background: #fff; font: inherit; font-size: 16.5px; color: var(--tpl-ink); }
.tpl-select { padding-right: 40px; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d6863' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.tpl-input--full { max-width: none; }
.tpl-input--s { max-width: 200px; }
.tpl-textarea { max-width: none; height: 220px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tpl-input:focus, .tpl-select:focus, .tpl-textarea:focus { border-color: var(--tpl-green); outline: 2px solid var(--tpl-green); outline-offset: -2px; }
.tpl-input[type="file"] { height: auto; padding: 11px 14px; }
.tpl-check { display: inline-flex; align-items: center; gap: 8px; font-size: 16.5px; color: var(--tpl-ink); cursor: pointer; }
.tpl-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--tpl-green); }
.tpl-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tpl-captcha__img { display: grid; place-items: center; width: 140px; height: 50px; background: var(--tpl-paper); font-size: 24px; font-weight: 800; letter-spacing: .3em; color: var(--tpl-green); user-select: none; }
.tpl-agree { margin-top: 40px; padding: 28px 32px; background: var(--tpl-paper); }
.tpl-agree + .tpl-agree { margin-top: 16px; }
.tpl-agree h4 { font-size: 18px; font-weight: 800; color: var(--tpl-ink); }
.tpl-agree__box { max-height: 170px; overflow: auto; margin: 14px 0 16px; padding: 18px 22px; border: 1px solid var(--tpl-line); background: #fff; font-size: 15.5px; line-height: 1.75; }
.tpl-agree__box p + p { margin-top: .6em; }
.tpl-agree--all { display: flex; align-items: center; padding: 22px 32px; border: 2px solid var(--tpl-green); background: #fff; }
.tpl-agree--all .tpl-check { font-size: 18px; font-weight: 800; }

/* ---------- 게시판 목록 : 위 글 수 · 검색, 위 녹색 굵은 선 표, 아래 글쓰기 · 쪽 번호 ---------- */
.tpl-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tpl-cats a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #c4ccc7; font-size: 16px; font-weight: 700; color: var(--tpl-mute); white-space: nowrap; transition: border-color .25s, color .25s; }
.tpl-cats a:hover { border-color: var(--tpl-green); color: var(--tpl-green); }
.tpl-cats a[aria-current] { border-color: var(--tpl-green); background: var(--tpl-green); color: #fff; }
.tpl-bbs-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 20px; }
.tpl-bbs-total { font-size: 16px; color: var(--tpl-mute); }
.tpl-bbs-total b { font-weight: 800; color: var(--tpl-green); }
.tpl-search { display: flex; gap: 8px; }
.tpl-search .tpl-select { width: 120px; }
.tpl-search .tpl-input { width: 280px; }
.tpl-search__btn { display: grid; place-items: center; flex: none; width: 50px; height: 50px; background: var(--tpl-green); color: #fff; cursor: pointer; }
.tpl-search__btn:hover { background: var(--tpl-green-d); }
.tpl-bbs { width: 100%; border-collapse: collapse; border-top: 3px solid var(--tpl-green); }
.tpl-bbs th { padding: 16px 12px; border-bottom: 1px solid #c4ccc7; font-size: 15px; font-weight: 800; color: var(--tpl-mute); white-space: nowrap; }
.tpl-bbs td { padding: 19px 12px; border-bottom: 1px solid var(--tpl-line); text-align: center; font-size: 15.5px; color: var(--tpl-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tpl-bbs__num { width: 84px; }
.tpl-bbs td.tpl-bbs__subj { width: 100%; text-align: left; white-space: normal; font-size: 17px; color: var(--tpl-ink); }
.tpl-bbs__subj a:hover { text-decoration: underline; text-decoration-color: var(--tpl-yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.tpl-bbs__subj .tpl-tag { margin-right: 8px; }
.tpl-bbs__ico { display: inline-flex; margin-left: 8px; color: var(--tpl-mute); vertical-align: -3px; }
.tpl-bbs__ico .tpl-ico { width: 16px; height: 16px; }
.tpl-bbs tr.is-notice td { background: #faf9f4; }
.tpl-bbs tr.is-notice .tpl-bbs__subj { font-weight: 700; }
.tpl-bbs__re { display: inline-block; margin-right: 6px; font-weight: 800; color: var(--tpl-green); }
.tpl-bbs-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.tpl-bbs-foot--split { justify-content: space-between; }
.tpl-pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.tpl-pager a, .tpl-pager strong { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border: 1px solid var(--tpl-line); font-size: 16px; font-variant-numeric: tabular-nums; }
.tpl-pager a:hover { border-color: var(--tpl-green); color: var(--tpl-green); }
.tpl-pager strong { border-color: var(--tpl-green); background: var(--tpl-green); color: #fff; }
.tpl-pager .tpl-ico { width: 17px; height: 17px; }

/* ---------- 게시판 보기 : 제목 머리 · 첨부 · 본문 · 답변 · 이전/다음 ---------- */
.tpl-view__head { padding: 0 0 26px; border-bottom: 1px solid var(--tpl-line); }
.tpl-view__head .tpl-tag { margin-bottom: 12px; }
.tpl-view__title { font-size: 32px; font-weight: 800; line-height: 1.45; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-view__meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 14px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-view__meta b { margin-right: 6px; font-weight: 700; color: var(--tpl-ink); }
.tpl-view { padding-top: 0; border-top: 3px solid var(--tpl-green); }
.tpl-view .tpl-view__head { padding-top: 32px; }
.tpl-files { display: grid; gap: 6px; padding: 18px 24px; background: var(--tpl-paper); font-size: 16px; }
.tpl-files a { display: inline-flex; align-items: center; gap: 8px; color: var(--tpl-ink); }
.tpl-files a:hover { color: var(--tpl-green); text-decoration: underline; text-underline-offset: 4px; }
.tpl-files .tpl-ico { width: 17px; height: 17px; color: var(--tpl-green); }
.tpl-files span { color: var(--tpl-mute); }
.tpl-view__body { padding: 48px 0 64px; border-bottom: 1px solid var(--tpl-line); line-height: 1.9; }
.tpl-view__body p + p, .tpl-view__body p + ul, .tpl-view__body ul + p { margin-top: 1.1em; }
.tpl-view__body ul { padding: 22px 28px; border-left: 3px solid var(--tpl-yellow); background: var(--tpl-paper); }
.tpl-view__body ul li + li { margin-top: 4px; }
.tpl-view__body ul b { display: inline-block; min-width: 130px; font-weight: 800; color: var(--tpl-ink); }
.tpl-answer { margin-top: 40px; padding: 36px 40px; border-top: 3px solid var(--tpl-yellow); background: var(--tpl-paper); }
.tpl-answer__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15.5px; color: var(--tpl-mute); }
.tpl-answer__head strong { font-size: 20px; font-weight: 800; color: var(--tpl-ink); }
.tpl-answer__body { margin-top: 18px; line-height: 1.9; }
.tpl-answer__body p + p { margin-top: 1em; }
.tpl-prevnext { margin-top: 48px; border-top: 1px solid var(--tpl-ink); }
.tpl-prevnext a { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--tpl-line); }
.tpl-prevnext span { font-size: 15px; font-weight: 800; color: var(--tpl-green); }
.tpl-prevnext strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16.5px; font-weight: 500; color: var(--tpl-ink); }
.tpl-prevnext a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 자주 묻는 질문 : details · summary 로 접고 폅니다(스크립트 없음) ---------- */
.tpl-faq { border-top: 3px solid var(--tpl-green); }
.tpl-faq details { border-bottom: 1px solid var(--tpl-line); }
.tpl-faq summary { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 24px 4px; font-size: 18.5px; font-weight: 700; color: var(--tpl-ink); cursor: pointer; list-style: none; }
.tpl-faq summary::-webkit-details-marker { display: none; }
.tpl-faq summary:hover { color: var(--tpl-green); }
.tpl-faq__q, .tpl-faq__a { display: grid; place-items: center; width: 34px; height: 34px; font-size: 16px; font-weight: 800; }
.tpl-faq__q { background: var(--tpl-green); color: #fff; }
.tpl-faq__a { background: var(--tpl-yellow); color: var(--tpl-green); }
.tpl-faq summary .tpl-ico { transition: transform .3s var(--tpl-ease); }
.tpl-faq details[open] summary .tpl-ico { transform: rotate(180deg); }
.tpl-faq__body { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 24px 28px 30px 4px; background: var(--tpl-paper); font-size: 17px; line-height: 1.8; }
.tpl-faq__body p + p { margin-top: .6em; }
.tpl-faq__cat { margin-right: 4px; font-size: 14.5px; font-weight: 800; color: var(--tpl-green); }

/* ---------- 교실 소식 카드 : 사진 + 분류 + 제목 + 내용 두 줄 말줄임 + 날짜 ---------- */
.tpl-gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.tpl-gcard > a { display: block; }
.tpl-gcard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tpl-paper); }
.tpl-gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tpl-ease); }
.tpl-gcard a:hover img { transform: scale(1.05); }
.tpl-gcard a:focus-visible { outline-offset: 4px; }
.tpl-gcard__cat { display: block; margin-top: 22px; font-size: 15px; font-weight: 800; color: var(--tpl-green); }
.tpl-gcard__tit { display: block; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 21px; font-weight: 700; letter-spacing: -.035em; color: var(--tpl-ink); }
.tpl-gcard a:hover .tpl-gcard__tit { text-decoration: underline; text-decoration-color: var(--tpl-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tpl-gcard__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; }
.tpl-gcard__date { display: block; margin-top: 14px; font-size: 15px; color: var(--tpl-mute); font-variant-numeric: tabular-nums; }
.tpl-gview { padding-top: 40px; }
.tpl-gview__main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 6px solid var(--tpl-green); }
.tpl-gview__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.tpl-gview__sub img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tpl-gview figcaption { margin-top: 10px; font-size: 15px; color: var(--tpl-mute); }

/* ---------- 채용 : 복리후생 목록 ---------- */
.tpl-benefit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6%; margin-top: 88px; border-top: 1px solid var(--tpl-ink); }
.tpl-benefit > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-benefit dt { font-size: 17px; font-weight: 800; color: var(--tpl-green); }
.tpl-benefit dd { font-size: 17px; }
.tpl-subhead { margin-top: 88px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-subhead + * { margin-top: 28px; }

/* ---------- 회원 : 로그인 상자(좁은 폭) · 가입 단계 · 가입 완료 · 계정 찾기 ---------- */
.tpl-mbox { max-width: 480px; margin: 0 auto; padding-top: 40px; border-top: 3px solid var(--tpl-green); }
.tpl-mbox__tit { font-size: 30px; font-weight: 800; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-mbox__desc { margin-top: 8px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-mbox form { display: grid; gap: 10px; margin-top: 32px; }
.tpl-mbox .tpl-input { max-width: none; height: 54px; }
.tpl-mbox .tpl-btn { width: 100%; margin-top: 10px; }
.tpl-mbox__opt { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.tpl-mbox__links { display: flex; justify-content: center; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--tpl-line); font-size: 16px; }
.tpl-mbox__links a:hover { color: var(--tpl-green); text-decoration: underline; text-underline-offset: 4px; }
.tpl-msteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 56px; border: 1px solid var(--tpl-line); }
.tpl-msteps li { display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; font-size: 17px; font-weight: 700; color: var(--tpl-mute); }
.tpl-msteps li + li { border-left: 1px solid var(--tpl-line); }
.tpl-msteps b { font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.tpl-msteps li[aria-current] { background: var(--tpl-green); color: #fff; }
.tpl-msteps li[aria-current] b { color: var(--tpl-yellow); }
.tpl-done { padding: 64px 40px 72px; border-top: 3px solid var(--tpl-green); background: var(--tpl-paper); text-align: center; }
.tpl-done__mark { display: inline-grid; place-items: center; width: 72px; height: 72px; background: var(--tpl-yellow); color: var(--tpl-green); }
.tpl-done__mark .tpl-ico { width: 34px; height: 34px; stroke-width: 2.6; }
.tpl-done__tit { margin-top: 24px; font-size: 34px; font-weight: 800; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-done__desc { margin-top: 10px; font-size: 17.5px; }
.tpl-done__info { display: inline-grid; grid-template-columns: auto auto; gap: 8px 28px; margin-top: 32px; padding: 22px 36px; background: #fff; text-align: left; font-size: 16.5px; }
.tpl-done__info dt { font-weight: 800; color: var(--tpl-green); }
.tpl-find { display: grid; gap: 64px; }
.tpl-find section > h4 { font-size: 26px; font-weight: 800; letter-spacing: -.04em; color: var(--tpl-ink); }
.tpl-find section > p { margin-top: 6px; font-size: 16.5px; color: var(--tpl-mute); }
.tpl-find .tpl-form { margin-top: 24px; }

/* ---------- 정책 문서 : 시행일 · 조항 ---------- */
.tpl-doc { border-top: 3px solid var(--tpl-green); }
.tpl-doc__date { padding: 20px 24px; background: var(--tpl-paper); font-size: 16.5px; font-weight: 700; color: var(--tpl-ink); }
.tpl-doc__intro { margin-top: 32px; line-height: 1.85; }
.tpl-doc article { padding: 36px 0; border-bottom: 1px solid var(--tpl-line); }
.tpl-doc h4 { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--tpl-ink); }
.tpl-doc article p, .tpl-doc article ol { margin-top: 12px; font-size: 17px; line-height: 1.85; }
.tpl-doc article ol { padding-left: 22px; list-style: decimal; }
.tpl-doc article ol li + li { margin-top: 4px; }

/* ---------- 반응형 (2026-11-10 덧붙임) ---------- */
@media (max-width: 1280px) {
  .tpl-org__divs strong { font-size: 17.5px; }
  .tpl-istrip a.tpl-istrip__tel { font-size: 30px; }
}
@media (max-width: 1024px) {
  .tpl-block { padding: 96px 0; }
  .tpl-head + *, .tpl-head + .tpl-sr + * { margin-top: 44px; }
  .tpl-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .tpl-hist__era { grid-template-columns: minmax(0, 1fr); }
  .tpl-hist__side { position: static; }
  .tpl-org__divs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; padding-top: 0; }
  .tpl-org__divs::before, .tpl-org__divs li::before, .tpl-org::before { display: none; }
  .tpl-org__staff { margin-top: 24px; }
  .tpl-locmap { grid-template-columns: minmax(0, 1fr); }
  .tpl-bov { grid-template-columns: minmax(0, 1fr); }
  .tpl-bov__photo { max-width: 640px; }
  .tpl-series, .tpl-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-cta { flex-direction: column; align-items: flex-start; padding: 44px 40px; }
  .tpl-istrip { grid-template-columns: minmax(0, 1fr); }
  .tpl-istrip > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 768px) {
  .tpl-block { padding: 72px 0; }
  .tpl-head + *, .tpl-head + .tpl-sr + * { margin-top: 32px; }
  .tpl-head__desc { font-size: 16.5px; }
  .tpl-btn { height: 50px; padding: 0 20px; font-size: 16px; }
  .tpl-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpl-nums > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tpl-nums > div:nth-child(even) { padding-left: 16px; }
  .tpl-nums b { font-size: 34px; }
  .tpl-flow, .tpl-princ, .tpl-route, .tpl-series, .tpl-gcards, .tpl-awards, .tpl-benefit { grid-template-columns: minmax(0, 1fr); }
  .tpl-flow h4 { font-size: 20px; }
  .tpl-rows > li { grid-template-columns: minmax(0, 1fr); padding: 26px 0; }
  .tpl-rows h4 { font-size: 21px; }
  .tpl-rows p { font-size: 16.5px; }
  .tpl-cta { padding: 36px 24px; }
  .tpl-cta__tit { font-size: 23px; }
  .tpl-cta p { font-size: 16px; }
  .tpl-flow + .tpl-cta, .tpl-rows + .tpl-cta, .tpl-benefit + .tpl-cta, .tpl-faq + .tpl-cta { margin-top: 64px; }
  .tpl-hist__era { padding: 40px 0 44px; }
  .tpl-hist__name { font-size: 26px; }
  .tpl-hist__list > li { grid-template-columns: minmax(0, 1fr); }
  .tpl-hist__y { font-size: 26px; }
  .tpl-hist__list ul li { font-size: 16.5px; }
  .tpl-motto { padding-left: 18px; font-size: 23px; }
  .tpl-princ { gap: 36px; margin-top: 56px; }
  .tpl-princ h4 { font-size: 21px; }
  .tpl-princ p { font-size: 16.5px; }
  .tpl-org__ceo { padding: 16px 40px; font-size: 19px; }
  .tpl-org__staff { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tpl-org__divs { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .tpl-kmap { height: 460px; }
  .tpl-route { margin-top: 40px; }
  .tpl-facts { grid-template-columns: minmax(0, 1fr); }
  .tpl-facts > div + div { padding-left: 0; border-left: 0; }
  .tpl-report { padding: 28px 20px; }
  .tpl-series li { padding: 24px 22px; }
  .tpl-istrip > div { padding: 22px 22px; }
  .tpl-istrip a.tpl-istrip__tel { font-size: 28px; }
  .tpl-istrip + .tpl-form, .tpl-flow + .tpl-form { margin-top: 48px; }
  .tpl-form__row { grid-template-columns: minmax(0, 1fr); }
  .tpl-form__label { padding: 18px 0 0; background: none; }
  .tpl-form__field { padding: 10px 0 18px; }
  .tpl-input, .tpl-select { max-width: none; }
  .tpl-agree { padding: 22px 18px; }
  .tpl-agree--all { padding: 18px; }
  .tpl-bbs-top { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .tpl-search .tpl-select { width: 96px; flex: none; }
  .tpl-search .tpl-input { width: auto; flex: 1; min-width: 0; }
  .tpl-bbs .is-pc { display: none; }
  .tpl-bbs__num { width: 52px; }
  .tpl-bbs td, .tpl-bbs th { padding-left: 6px; padding-right: 6px; }
  .tpl-bbs td.tpl-bbs__subj { font-size: 16px; }
  .tpl-cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--tpl-side) * -1) 24px; padding: 0 var(--tpl-side); scrollbar-width: none; }
  .tpl-cats::-webkit-scrollbar { display: none; }
  .tpl-cats a { flex: none; height: 40px; padding: 0 16px; font-size: 15.5px; }
  .tpl-view__title { font-size: 24px; }
  .tpl-view__body { padding: 32px 0 44px; font-size: 17px; overflow-wrap: anywhere; }
  .tpl-view__body ul { padding: 18px 18px; }
  .tpl-answer { padding: 26px 20px; }
  .tpl-prevnext a { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .tpl-faq summary { grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 10px; padding: 20px 0; font-size: 17px; }
  .tpl-faq__q, .tpl-faq__a { width: 30px; height: 30px; font-size: 15px; }
  .tpl-faq__body { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 20px 16px 24px 0; font-size: 16.5px; }
  .tpl-gcards { gap: 44px; }
  .tpl-gview__sub { grid-template-columns: minmax(0, 1fr); }
  .tpl-benefit > div { grid-template-columns: 110px minmax(0, 1fr); }
  .tpl-subhead { margin-top: 64px; font-size: 23px; }
  .tpl-msteps li { flex-direction: column; gap: 0; height: 64px; font-size: 15px; }
  .tpl-done { padding: 48px 20px 56px; }
  .tpl-done__tit { font-size: 26px; }
  .tpl-done__info { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 18px 22px; }
  .tpl-find section > h4 { font-size: 22px; }
  .tpl-doc article p, .tpl-doc article ol { font-size: 16.5px; }
}
/* 1025~1280px 에서 짧은 설명이 두 줄로 꺾이지 않게 칸을 위아래로 쌓습니다 (2026-11-10 덧붙임) */
@media (max-width: 1280px) {
  .tpl-facts { grid-template-columns: minmax(0, 1fr); }
  .tpl-facts > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: baseline; padding: 14px 0; }
  .tpl-facts > div + div { padding-left: 0; border-left: 0; }
  .tpl-facts dd { margin-top: 0; }
  .tpl-cta { flex-direction: column; align-items: flex-start; }
  .tpl-locmap { grid-template-columns: minmax(0, 1fr); }
  .tpl-locinfo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
  .tpl-route, .tpl-benefit, .tpl-istrip { grid-template-columns: minmax(0, 1fr); }
  .tpl-route li { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: baseline; padding: 16px 0; }
  .tpl-route p { margin-top: 0; }
  .tpl-istrip > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 768px) {
  .tpl-locinfo { grid-template-columns: minmax(0, 1fr); }
  .tpl-route li { grid-template-columns: minmax(0, 1fr); }
  .tpl-route p { margin-top: 6px; }
}
[hidden] { display: none !important; }

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

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

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

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

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

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


/* ---------- 상단 메뉴 : 「쓴 메뉴 조합」 biz035(가 2 · 나 8 · 다 2 · 라 1 · 마 1, 대표 지시 2026-11-08, 지침 3-4). 1차 · 2차 이름과 순서는 원본 그대로이고 효과와 패널 모양만 바꿨습니다.
   가 2 : 1차에 올리면 원본의 노란 형광펜 띠(3px)가 글자 가운데에서 양쪽으로 퍼집니다. 서브페이지 현재 메뉴 띠는 다른 1차에 올리면 거둡니다(원본 그대로, 띠는 늘 하나).
   나 8 : 올린 1차 바로 아래로 그 1차의 2차만 좁은 세로 목록(드롭다운)으로 내려옵니다. 목록 폭은 1차 칸 폭 이상, 가장 긴 2차가 한 줄로 들어가는 만큼입니다.
          원본의 전체 폭 흰 패널(.tpl-mega__bg)은 쓰지 않습니다.
   다 2 : 맨 위의 투명 머리글(흰 글자)이든 스크롤한 흰 머리글이든, 메뉴가 열리면 머리글이 푸터와 같은 녹흑색 면으로 짙어지고 드롭다운은 칠판 녹색 면입니다.
   라 1 : 드롭다운은 바탕과 글자가 한 상자라 clip-path 로 위에서 아래로 함께 덮이며 드러나고 함께 걷힙니다(상자 밖 글자 0). 다른 1차로 옮기면 그 칸의 상자만 열립니다.
   마 1 : 2차에 올리면 글자색만 분필 노랑으로 바뀝니다(밑줄 · 배경 · 굵기 변화 없음). ---------- */
.tpl-mega__bg { display: none; }
.tpl-header.is-mega-open { background: var(--tpl-foot); color: #fff; }
.tpl-header.is-mega-open::after { background: rgba(255, 255, 255, .12); }
.tpl-header.is-mega-open .tpl-logo__mark { color: #fff; }
.tpl-header.is-mega-open .tpl-util__apply:hover { background: #fff; color: var(--tpl-green); }
.tpl-gnb__link::after { transform-origin: 50% 50%; }
.tpl-gnb__sub { left: 50%; right: auto; min-width: 100%; width: max-content; height: auto; padding: 18px 0 20px; background: var(--tpl-green); text-align: left; transform: translateX(-50%); clip-path: inset(0 0 100% 0); transition: clip-path .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-gnb__sub a { display: block; padding: 7px 28px; font-size: 16px; font-weight: 500; color: #d3ddd8; transition: color .25s; }
.tpl-gnb__sub a:hover, .tpl-gnb__sub a:focus-visible, .tpl-gnb__sub a[aria-current] { color: var(--tpl-yellow); font-weight: 500; }
.tpl-gnb__sub a:focus-visible { outline-color: var(--tpl-yellow); outline-offset: -3px; }
/* 지금 칸(.is-on, js/main.js)의 드롭다운만 엽니다. 다른 칸의 드롭다운은 곧바로 숨겨 두 상자가 겹쳐 보이지 않습니다 */
.is-mega-open .tpl-gnb__sub { visibility: hidden; clip-path: inset(0 0 100% 0); transition: none; }
.is-mega-open .tpl-gnb__item.is-on .tpl-gnb__sub { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .35s var(--tpl-ease); }
@media (max-width: 1140px) {
  .tpl-gnb__sub a { padding: 7px 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-gnb__link::after, .tpl-gnb__sub, .tpl-gnb__sub a { transition: none !important; }
}

/* ---------- 퀵메뉴 : 「쓴 조합」 biz035(배치 2 · 효과 2). 오른쪽 가운데에 흰 직각 칸(얇은 녹회 선 · 칠판 녹색 아이콘)을 6px 씩 띄워 쌓습니다.
   올리거나 키보드로 가면 칸이 왼쪽으로 늘어나며 이름이 나옵니다(효과 2 의 「알약으로 늘어남」을 이 템플릿의 직각 말씨에 맞춰 모서리 없이 늘였습니다). 늘어날 때 칸 왼쪽 끝에 노란 3px 선이 섭니다.
   남은 조합이 모두 동그라미 · 알약이라 2-2 를 받아들였습니다(「쓴 조합」 표). 칸 크기는 본문 좌우 여백 안에 들어가게 폭마다 줄입니다(1681px↑ 46px · 1281~1680px 36px · 1025~1280px 32px).
   이름은 늘 <span> 에 있어 화면 낭독기가 읽습니다. 맨 위에서는 숨고 내려가면 나타납니다(js/main.js 의 is-show). 1024px 이하는 44px 칸으로 오른쪽 아래에 서고 누르면 바로 이동합니다 ---------- */
.tpl-quick { --qd: 46px; position: fixed; right: 14px; top: 50%; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; opacity: 0; visibility: hidden; transform: translate(12px, -50%); transition: opacity .3s, transform .35s var(--tpl-ease), visibility 0s linear .35s; }
.tpl-quick.is-show { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.tpl-quick ul { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tpl-quick a { position: relative; display: flex; flex-direction: row-reverse; align-items: center; max-width: var(--qd); height: var(--qd); overflow: hidden; border: 1px solid #c9d0cc; background: #fff; color: var(--tpl-ink); transition: max-width .3s var(--tpl-ease), border-color .3s; }
.tpl-quick a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tpl-yellow); transform: scaleY(0); transition: transform .3s var(--tpl-ease); }
.tpl-quick a .tpl-ico, .tpl-quick__img { flex: none; width: calc(var(--qd) - 2px); height: calc(var(--qd) * .4); stroke-width: 1.7; color: var(--tpl-green); }
.tpl-quick__img { object-fit: contain; }
.tpl-quick a span { flex: none; padding-left: 18px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.tpl-quick a:focus-visible { max-width: 240px; border-color: var(--tpl-green); outline: 2px solid var(--tpl-ink); outline-offset: 2px; }
.tpl-quick a:focus-visible::before { transform: none; }
.tpl-quick a:focus-visible span { opacity: 1; }
@media (hover: hover) {
  .tpl-quick a:hover { max-width: 240px; border-color: var(--tpl-green); }
  .tpl-quick a:hover::before { transform: none; }
  .tpl-quick a:hover span { opacity: 1; }
}
/* 맨 위로 : 퀵메뉴 맨 아래 칸에 붙은 선만 있는 정사각(칠판 녹색 2px 선 · 녹색 화살표, 「쓴 조합」 biz035 의 맨 위로 「정사각 · 선만 · 퀵메뉴 맨 아래 칸」).
   흰 본문 · 녹흑 푸터 어디서나 보이게 안쪽은 흰 바탕이고, 올리면 녹색으로 찹니다. 원본 .tpl-totop 의 오른쪽 아래 자리 대신 이 줄에 붙습니다 */
.tpl-quick .tpl-totop { position: static; display: grid; place-items: center; width: var(--qd); height: var(--qd); margin-top: 6px; border: 2px solid var(--tpl-green); background: #fff; color: var(--tpl-green); opacity: 1; visibility: inherit; transform: none; transition: background-color .3s, color .3s; }
.tpl-quick .tpl-totop .tpl-ico { width: calc(var(--qd) * .38); height: calc(var(--qd) * .38); stroke-width: 2; }
.tpl-quick .tpl-totop:hover, .tpl-quick .tpl-totop:focus-visible { background: var(--tpl-green); color: #fff; }
@media (max-width: 1680px) { .tpl-quick { --qd: 36px; right: 4px; } .tpl-quick a span { font-size: 14.5px; padding-left: 14px; } }
@media (max-width: 1280px) { .tpl-quick { --qd: 32px; right: 3px; } }
/* 낮은 화면 : 8칸이 위아래로 넘치지 않게 칸 사이를 줄입니다 */
@media (min-width: 1025px) and (max-height: 700px) { .tpl-quick, .tpl-quick ul { gap: 3px; } .tpl-quick .tpl-totop { margin-top: 3px; } }
@media (max-width: 1024px) {
  .tpl-quick { --qd: 44px; top: auto; bottom: 20px; right: 14px; transform: translateY(12px); }
  .tpl-quick.is-show { transform: none; }
  .tpl-quick a span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-quick, .tpl-quick * { transition: none !important; }
}

/* ---------- 팝업 : 흰 직각 판 · 윗변 칠판 녹색 4px 선 · 제목 아래 노란 짧은 막대(원본 라벨의 형광펜) · 녹색 면 단추 · 분필 종이색 아래 띠(닫기는 올리면 녹색 면) ---------- */
.tpl-pop__item { border-top: 4px solid var(--tpl-green); background: #fff; box-shadow: 0 24px 56px rgba(18, 38, 31, .38); }
.tpl-pop__body { padding: 30px 32px; }
.tpl-pop__title { margin: 0 0 18px; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -.045em; color: var(--tpl-ink); }
.tpl-pop__title::after { content: ''; display: block; width: 40px; height: 4px; margin-top: 12px; background: var(--tpl-yellow); }
.tpl-pop__text { margin: 0; font-size: 16px; line-height: 1.75; color: var(--tpl-text); }
.tpl-pop__more { display: inline-flex; align-items: center; height: 50px; margin-top: 22px; padding: 0 24px; background: var(--tpl-green); font-size: 15.5px; font-weight: 700; color: #fff; transition: background-color .25s, color .25s; }
.tpl-pop__more:hover, .tpl-pop__more:focus-visible { background: var(--tpl-yellow); color: var(--tpl-green); }
.tpl-pop__more:first-child { margin-top: 0; }
.tpl-pop__foot { border-top: 1px solid var(--tpl-line); background: var(--tpl-paper); }
.tpl-pop__foot button { min-height: 50px; padding: 0 12px; border: 0; background: transparent; font-size: 14px; 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: 700; }
.tpl-pop__foot button:hover, .tpl-pop__foot button:focus-visible { background: var(--tpl-green); color: #fff; }
