/* =========================================================
   academy 테마 — 학원·교육기관용
   색상은 theme.css(company.json colors)에서 --primary / --accent / --ink 로 들어옴
   ========================================================= */
:root {
  --text: #34443f;
  --muted: #6f7f7a;
  --line: #e2ebe7;
  --soft: #f3f8f5;
  --white: #fff;
  --r: 20px;
  --hd-h: 76px;
  --wrap: 1240px;
  --gutter: 32px;
  --sec-y: 104px;
  --shadow: 0 14px 36px rgba(22, 48, 42, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1024px) { :root { --hd-h: 64px; --gutter: 20px; --sec-y: 76px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; --sec-y: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(860px + var(--gutter) * 2); }
.center { text-align: center; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.mt { margin-top: 40px; margin-bottom: 14px; }

.eyebrow { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.eyebrow-light { background: rgba(255,255,255,.14); color: var(--accent); }
.h2 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; font-weight: 800; letter-spacing: -.035em; color: var(--ink); }
.h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.lead { margin-top: 16px; font-size: 17px; line-height: 1.9; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--primary); font-size: 15px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 800; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover, .btn-primary:hover { transform: translateY(-2px); }
.btn-line { border: 2px solid var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 800; background: var(--soft); color: var(--primary); white-space: nowrap; }
.tag-모집 { background: #fff3d1; color: #a26a00; }
.tag-행사 { background: #ffe5e5; color: #c03636; }
.subj { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: var(--primary); }
.subj-영어 { background: #3a6ff0; }

/* 공지 띠 + 헤더 */
.topbar { background: var(--ink); color: rgba(255,255,255,.85); font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 40px; }
.topbar-in p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-in a { flex: none; color: var(--accent); font-weight: 700; }
.hd { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.hd-bar { display: flex; align-items: center; gap: 28px; height: var(--hd-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 38px; }
.logo-mark { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: -.04em; }
.logo-text small { font-size: 12px; font-weight: 700; color: var(--primary); }
.gnb { flex: 1; }
.gnb ul { display: flex; justify-content: center; gap: 2px; }
.gnb a { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--ink); }
.gnb a:hover { background: var(--soft); }
.gnb a[aria-current] { background: var(--primary); color: #fff; }
.hd-util { display: flex; align-items: center; gap: 12px; flex: none; }
.hd-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--soft); }
.menu-btn .ico { width: 24px; height: 24px; }
@media (max-width: 1120px) { .gnb, .hd-tel { display: none; } .menu-btn { display: grid; } .hd-bar { justify-content: space-between; } }
@media (max-width: 420px) { .hd-cta { display: none; } }
.sitemap { position: fixed; inset: 0; z-index: 200; background: rgba(22,48,42,.5); animation: fadeIn .2s; }
.sitemap[hidden] { display: none; }
.sitemap-box { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%); padding: 72px 24px 32px; background: #fff; overflow-y: auto; animation: slideIn .3s var(--ease); }
.sitemap-close { position: absolute; right: 16px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; }
.sitemap-list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 800; color: var(--ink); }
.sitemap-call { margin-top: 28px; }
.sitemap-call small { display: block; color: var(--muted); }
.sitemap-call a { font-size: 26px; font-weight: 900; color: var(--primary); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 메인 배너: 왼쪽 문구 · 오른쪽 둥근 사진 */
.hero { position: relative; background: linear-gradient(180deg, var(--soft), #fff); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 35%, transparent); filter: blur(10px); }
.hero-in { position: relative; display: grid; min-height: 560px; padding-top: 48px; padding-bottom: 104px; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 800; }
.hero-title { margin: 20px 0 14px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.25; font-weight: 900; letter-spacing: -.045em; color: var(--ink); }
.hero-text { font-size: 18px; color: var(--muted); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-img { position: relative; aspect-ratio: 5 / 4; border-radius: 48% 52% 40% 60% / 50% 40% 60% 50%; overflow: hidden; box-shadow: var(--shadow); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.hero-slide.is-active .hero-img img { transform: scale(1); }
.hero-dots { position: absolute; left: var(--gutter); bottom: 64px; display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--primary) 25%, #fff); transition: width .3s, background .3s; }
.hero-dot.is-active { width: 32px; background: var(--primary); }
@media (max-width: 860px) {
  .hero-in { min-height: 0; padding-top: 24px; padding-bottom: 64px; }
  .hero-dots { bottom: 28px; left: 50%; transform: translateX(-50%); }
  .hero-slide { grid-template-columns: 1fr; gap: 24px; }
  .hero-img { order: -1; aspect-ratio: 16 / 10; border-radius: 24px; }
  .hero-text { font-size: 16px; }
  .hero-btns .btn { flex: 1; padding: 0 14px; }
}

.quick { position: relative; z-index: 2; margin-top: -32px; }
.quick-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick a { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; align-items: center; padding: 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.quick a:hover { transform: translateY(-4px); }
.quick-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.quick li:first-child .quick-ico { background: var(--accent); color: var(--ink); }
.quick-ico .ico { width: 26px; height: 26px; }
.quick b { color: var(--ink); font-size: 16px; }
.quick small { font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .quick { margin-top: 0; } .quick-in { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (max-width: 420px) { .quick a { grid-template-columns: 1fr; padding: 16px; } .quick-ico { grid-row: auto; margin-bottom: 8px; width: 44px; height: 44px; } }

.sec { padding: var(--sec-y) 0; }
.sec-soft { background: var(--soft); }

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.points li { position: relative; padding-bottom: 8px; }
.point-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.point-img img { width: 100%; height: 100%; object-fit: cover; }
.point-no { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 900; }
.points b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.points p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .points { grid-template-columns: 1fr; } }

.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.level { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.level:hover { transform: translateY(-6px); }
.level-img { aspect-ratio: 16 / 10; overflow: hidden; }
.level-img img { width: 100%; height: 100%; object-fit: cover; }
.level-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.level-body em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--primary); }
.level-body b { font-size: 24px; color: var(--ink); margin-bottom: 6px; }
.level-body > span { font-size: 15px; color: var(--muted); }
.level-subj { display: flex; gap: 6px; margin-top: auto; padding-top: 16px; }
.level-subj i { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .level-grid { grid-template-columns: 1fr; } .level { flex-direction: row; } .level-img { flex: 0 0 38%; aspect-ratio: auto; } }
@media (max-width: 480px) { .level { flex-direction: column; } .level-img { aspect-ratio: 16 / 9; } }

.results-band { background: var(--ink); color: rgba(255,255,255,.8); }
.results-band .h2 { color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.stat-grid li { padding: 28px 22px; border-radius: var(--r); background: rgba(255,255,255,.06); text-align: center; }
.stat-grid strong { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 900; color: var(--accent); line-height: 1.1; }
.stat-grid li > span { display: block; margin-top: 6px; font-size: 14px; }
.stat-grid-light { margin: 0; }
.stat-grid-light li { background: var(--soft); }
.stat-grid-light strong { color: var(--primary); }
@media (max-width: 860px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col > * { min-width: 0; }
.two-col .sec-head { margin-bottom: 24px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }
.t-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.t-mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 16px; margin-bottom: 8px; }
.t-mini b { display: block; color: var(--ink); }
.t-mini span { font-size: 13px; color: var(--muted); }
@media (max-width: 480px) { .t-mini { grid-template-columns: 1fr 1fr; } }
.notice-mini { border-top: 2px solid var(--ink); }
.notice-mini a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.notice-mini b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-mini a:hover b { color: var(--primary); }
.notice-mini time { font-size: 13px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews li { padding: 26px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); position: relative; }
.reviews li::before { content: "“"; position: absolute; right: 20px; top: 0; font-size: 72px; line-height: 1; color: color-mix(in srgb, var(--accent) 60%, #fff); font-weight: 900; }
.reviews p { color: var(--ink); font-size: 16px; }
.reviews span { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--primary); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

.cta { padding: var(--sec-y) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 48px 52px; border-radius: 32px; background: var(--primary); color: rgba(255,255,255,.88); }
.cta-kicker { color: var(--accent); font-weight: 800; }
.cta-title { margin: 6px 0 8px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; font-weight: 900; color: #fff; letter-spacing: -.03em; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-in { padding: 32px 22px; border-radius: 24px; } }

/* 푸터 */
.ft { background: #102520; color: rgba(255,255,255,.6); font-size: 14px; padding: 56px 0 40px; }
.ft-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-name { font-size: 18px; font-weight: 900; color: #fff; }
.ft-call a { display: block; font-size: 30px; font-weight: 900; color: #fff; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-links a { color: rgba(255,255,255,.8); }
.ft-links b { color: #fff; }
.ft-info { margin-top: 20px; }
.ft-info span { display: inline-block; margin-right: 16px; line-height: 2; }
.sns { display: flex; gap: 8px; margin: 16px 0 10px; }
.sns a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.copy { font-size: 12px; }

/* 고정 버튼 */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 900; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .2s; }
.float-cta:hover { transform: translateY(-3px); }
.m-bar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .float-cta { display: none; }
  .m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 2fr; height: 64px; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.08); }
  .m-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 800; color: var(--ink); }
  .m-bar a + a { border-left: 1px solid var(--line); }
  .m-bar .ico { width: 21px; height: 21px; }
  .m-bar-em { background: var(--accent); flex-direction: row !important; gap: 6px !important; font-size: 15px !important; }
}

/* 하위 페이지 */
.sub-head { background: var(--soft); padding: 36px 0; }
.sub-head-in { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.crumb { display: flex; gap: 6px; font-size: 13px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.sub-title { margin-top: 6px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.sub-lead { margin-top: 6px; color: var(--muted); font-size: 17px; }
.sub-img { width: 340px; aspect-ratio: 16 / 10; border-radius: 24px; background: center / cover no-repeat; }
@media (max-width: 760px) { .sub-head-in { grid-template-columns: 1fr; } .sub-img { width: 100%; } }

.greet { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.greet-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.sign { margin-top: 28px; color: var(--muted); }
.sign b { margin-left: 8px; font-size: 22px; color: var(--ink); letter-spacing: .1em; }
@media (max-width: 860px) { .greet { grid-template-columns: 1fr; gap: 28px; } .greet-img { max-width: 300px; } }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: f; }
.flow li { position: relative; padding: 22px 18px; border-radius: 18px; background: #fff; counter-increment: f; }
.flow li::before { content: counter(f); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; }
.flow b { display: block; color: var(--ink); }
.flow span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
.flow-v { grid-template-columns: 1fr; }
.flow-v li { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding: 14px 16px; }
.flow-v li::before { grid-row: 1 / 3; margin: 0; }
.facility { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.facility img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-bottom: 10px; }
.facility b { color: var(--ink); }
@media (max-width: 640px) { .facility { grid-template-columns: 1fr; } }
.shuttle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shuttle li { display: flex; gap: 14px; padding: 22px; border-radius: 18px; border: 2px solid var(--line); }
.shuttle .ico { width: 30px; height: 30px; color: var(--primary); }
.shuttle b { display: block; color: var(--ink); }
.shuttle span { display: block; font-size: 14px; }
.shuttle em { display: block; margin-top: 4px; font-style: normal; font-size: 14px; font-weight: 800; color: var(--primary); }
@media (max-width: 860px) { .shuttle { grid-template-columns: 1fr; } }
.office { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.map { border-radius: 24px; overflow: hidden; background: #dfe9e5; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }
.dl { margin-top: 16px; }
.dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dl dt { color: var(--muted); }
.dl dd { color: var(--ink); font-weight: 600; }
.dl-row { display: grid; grid-template-columns: repeat(3, auto); gap: 0 32px; margin: 0; }
.dl-row > div { border: 0; grid-template-columns: auto 1fr; }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; } .map iframe { height: 260px; } .dl-row { grid-template-columns: 1fr; } }

.course { padding: 28px; border-radius: 28px; border: 2px solid var(--line); scroll-margin-top: calc(var(--hd-h) + 20px); }
.course + .course { margin-top: 24px; }
.course-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-bottom: 20px; }
.course-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.course-head em { font-style: normal; font-weight: 800; color: var(--primary); }
.course-head p { margin-top: 6px; color: var(--muted); }
.course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.course-list li { padding: 20px; border-radius: 18px; background: var(--soft); }
.course-list b { display: block; margin: 8px 0 6px; font-size: 18px; color: var(--ink); }
.course-list dl > div { display: grid; grid-template-columns: 40px 1fr; gap: 8px; font-size: 14px; padding: 2px 0; }
.course-list dt { color: var(--muted); font-weight: 700; }
@media (max-width: 760px) { .course { padding: 18px; } .course-head, .course-list { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { height: 46px; padding: 0 22px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 800; color: var(--muted); }
.tabs button[aria-selected="true"], .tabs button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.tt[hidden] { display: none; }
.table-scroll { overflow-x: auto; }
.table { min-width: 560px; background: #fff; border-radius: 18px; overflow: hidden; font-size: 15px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { background: var(--ink); color: #fff; font-size: 14px; }
.table tbody th { color: var(--ink); }
.table .num { text-align: right; }
.table b { color: var(--primary); }
.tt .table { min-width: 0; }
@media (max-width: 760px) {
  .tt .table thead { display: none; }
  .tt .table, .tt .table tbody, .tt .table tr { display: block; }
  .tt .table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .tt .table th, .tt .table td { display: inline-block; padding: 2px 10px 2px 0; border: 0; }
  .tt .table tbody th { display: block; font-size: 16px; }
}
.seat { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.seat-open { background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); }
.seat-full { background: #f1f3f2; color: var(--muted); }

.teachers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.teacher { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px; border-radius: 24px; border: 2px solid var(--line); scroll-margin-top: calc(var(--hd-h) + 20px); }
.teacher[hidden] { display: none; }
.teacher-img { position: relative; }
.teacher-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 18px; }
.teacher-img .subj { position: absolute; left: 10px; top: 10px; }
.teacher-role { font-size: 13px; font-weight: 800; color: var(--primary); }
.teacher-name { font-size: 26px; font-weight: 900; color: var(--ink); }
.teacher-name small { font-size: 15px; color: var(--muted); font-weight: 600; }
.teacher-msg { margin: 10px 0 14px; padding: 14px 16px; border-radius: 14px; background: var(--soft); color: var(--ink); font-size: 15px; }
.checks li { display: flex; gap: 8px; font-size: 14px; padding: 3px 0; }
.checks .ico { color: var(--primary); margin-top: 4px; stroke-width: 3; }
@media (max-width: 960px) { .teachers { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .teacher { grid-template-columns: 1fr; } .teacher-img { max-width: 220px; } }

.admit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admit li { padding: 22px; border-radius: 18px; background: #fff; text-align: center; }
.admit b { display: block; font-size: 22px; font-weight: 900; color: var(--primary); }
.admit span { display: block; color: var(--ink); font-weight: 700; }
.admit small { color: var(--muted); }
@media (max-width: 860px) { .admit { grid-template-columns: 1fr 1fr; } }

.fee-head { margin-bottom: 20px; padding: 18px 22px; border-radius: 18px; background: var(--soft); }
.extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.extra li { padding: 16px; border-radius: 14px; border: 2px solid var(--line); }
.extra b { display: block; color: var(--ink); }
.extra span { font-size: 14px; }
@media (max-width: 640px) { .extra { grid-template-columns: 1fr; } }
.notice-box { display: flex; gap: 10px; margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: #fff8e1; color: var(--ink); font-size: 14px; }
.notice-box .ico { color: #a26a00; margin-top: 3px; }

.notices { border-top: 2px solid var(--ink); }
.notices > li { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hd-h) + 20px); }
.notices > li[hidden] { display: none; }
.notices summary { display: grid; grid-template-columns: auto 1fr auto 20px; gap: 12px; align-items: center; padding: 18px 4px; cursor: pointer; list-style: none; }
.notices summary::-webkit-details-marker { display: none; }
.notices summary b { color: var(--ink); }
.notices time { font-size: 13px; color: var(--muted); }
.nt-ico { color: var(--muted); transition: transform .3s; }
details[open] .nt-ico { transform: rotate(180deg); }
.notice-body { padding: 4px 4px 22px; }
.notice-body p { padding: 16px 18px; border-radius: 14px; background: var(--soft); }
@media (max-width: 560px) { .notices summary { grid-template-columns: auto 1fr 20px; } .notices time { grid-column: 2; grid-row: 2; } .nt-ico { grid-row: 1 / 3; grid-column: 3; } }

/* 폼 */
.form-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.form-wrap > * { min-width: 0; }
.form { display: grid; gap: 20px; }
.form-intro { padding: 16px 18px; border-radius: 16px; background: var(--soft); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 800; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field em { color: #d93636; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; }
.field input, .field select { height: 52px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.is-invalid { border-color: #d93636 !important; }
.chips.is-invalid { outline: 2px solid #d93636; outline-offset: 4px; border-radius: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-grade { display: grid; grid-template-columns: repeat(9, 1fr); }
@media (max-width: 760px) { .chips-grade { grid-template-columns: repeat(5, 1fr); } }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; }
.chip span { display: flex; align-items: center; justify-content: center; height: 46px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; }
.chips-grade .chip span { padding: 0 4px; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hint { font-size: 14px; color: #d93636; font-weight: 700; margin-top: -8px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.agree a { color: var(--primary); text-decoration: underline; }
.form-msg { min-height: 1em; font-size: 14px; color: #d93636; }
.form-msg.is-ok { color: var(--primary); }
.side-box { position: sticky; top: calc(var(--hd-h) + 20px); padding: 24px; border-radius: 24px; background: var(--soft); }
.side-call { margin-top: 16px; font-size: 14px; color: var(--muted); }
.side-call a { display: block; font-size: 26px; font-weight: 900; color: var(--primary); }
.side-call small { display: block; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } .side-box { position: static; } }

.policy h2 { font-size: 18px; color: var(--ink); margin: 32px 0 10px; }
.policy-date { margin-top: 36px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
