/* 단단 수학학원 — 템플릿 03 입시 학원
   모바일 먼저. 768 이상은 넓힌 모바일, 1024 이상은 PC 디자인(콘텐츠 1200, 12컬럼). */

/* ===== 1. 디자인 토큰 ===== */
:root {
  /* 색 (DESIGN.md '색 (2단계 확정)') */
  --navy: #1E2B4A;          /* 기본색: 로고·제목·표 머리·남색 띠 */
  --yellow: #E2A23B;        /* 강조색: 주 버튼 면·숫자 밑줄. 글자색으로 쓰지 않는다 */
  --yellow-hover: #D6982F;
  --yellow-active: #CB8E2C;
  --ink: #1D2331;           /* 본문 글자 */
  --muted: #5B6576;         /* 보조 글자 */
  --on-navy-muted: #BAC3D3; /* 남색 위 보조 글자 */
  --error: #B42318;
  --bg: #F7F8FA;            /* 페이지 바탕 */
  --surface: #FFFFFF;       /* 표·카드·입력칸 */
  --navy-50: #EEF1F6;       /* 시간표 수업 칸·띠·자리 면 */
  --navy-100: #DDE3EC;      /* 보조 버튼 누름 */
  --yellow-50: #FAEFD9;     /* 시간표 주간 테스트 칸 */
  --line: #D5DBE3;
  --navy-line: #3A4766;
  --disabled-bg: #E9ECF1;
  --disabled-ink: #6E7787;

  /* 글자 단계 — 모바일 값 (PC 값은 아래 1024 미디어 쿼리) */
  --t1-size: 34px; --t1-lh: 44px; --t1-ls: -1px;
  --t2-size: 26px; --t2-lh: 34px; --t2-ls: -0.6px;
  --t3-size: 21px; --t3-lh: 28px; --t3-ls: -0.45px;
  --t4-size: 18px; --t4-lh: 26px; --t4-ls: -0.4px;
  --b-size: 16px;  --b-lh: 26px;  --b-ls: -0.1px;
  --s-size: 13px;  --s-lh: 20px;  --s-ls: 0;

  /* 간격 단계 */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px;
  --sp-32: 32px; --sp-48: 48px; --sp-64: 64px; --sp-96: 96px;

  /* 레이아웃 */
  --gutter: 16px;
  --side: 20px;
  --content: 1200px;
  --sec-pad: 48px;
  --sec-pad-navy: 48px;
  --btn-h: 48px;
  --radius: 2px;
  --header-h: 92px;
  --bar-h: 72px;
}

@media (min-width: 1024px) {
  :root {
    --t1-size: 56px; --t1-lh: 70px; --t1-ls: -1.6px;
    --t2-size: 40px; --t2-lh: 52px; --t2-ls: -1px;
    --t3-size: 28px; --t3-lh: 36px; --t3-ls: -0.6px;
    --t4-size: 20px; --t4-lh: 28px; --t4-ls: -0.4px;
    --b-size: 17px;  --b-lh: 28px;  --b-ls: -0.1px;
    --s-size: 14px;  --s-lh: 22px;  --s-ls: 0;
    --gutter: 24px;
    --side: 24px;
    --sec-pad: 64px;
    --sec-pad-navy: 96px;
    --btn-h: 56px;
    --header-h: 120px;
  }
}

/* ===== 2. 기본 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--b-size);
  line-height: var(--b-lh);
  letter-spacing: var(--b-ls);
  word-break: keep-all;
  overflow-wrap: break-word;
  /* Noto Sans KR의 locl 기능이 숫자 사이 쌍점(17:00)을 위로 올려 그려서 끈다 */
  font-feature-settings: "locl" 0;
}
button, input, select, textarea { font-feature-settings: inherit; }
.tbl, .day-panel, .fee-card__amount, .refund4 .amt { font-variant-numeric: tabular-nums; }
body.has-bar { padding-bottom: 0; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 16px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap { width: min(var(--content), 100% - var(--side) * 2); margin-inline: auto; }

/* 글자 단계 클래스 */
.t1 { font-size: var(--t1-size); line-height: var(--t1-lh); letter-spacing: var(--t1-ls); font-weight: 700; color: var(--navy); }
.t2 { font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); font-weight: 700; color: var(--navy); }
.t3 { font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); font-weight: 700; color: var(--navy); }
.t4 { font-size: var(--t4-size); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); font-weight: 700; color: var(--navy); }
.b  { font-size: var(--b-size); line-height: var(--b-lh); letter-spacing: var(--b-ls); }
.s  { font-size: var(--s-size); line-height: var(--s-lh); letter-spacing: var(--s-ls); font-weight: 500; }
.muted { color: var(--muted); }
.strong { font-weight: 700; color: var(--navy); }

/* 줄바꿈 자리: 디자인에서 손으로 끊은 곳. 모바일·PC 따로 */
.br-pc { display: none; }
@media (min-width: 1024px) {
  .br-pc { display: inline; }
  .br-mo { display: none; }
}
@media (max-width: 1023px) { .pc-only { display: none !important; } }
@media (min-width: 1024px) { .mo-only { display: none !important; } }

/* ===== 3. 버튼·링크 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h); padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; line-height: 26px; font-weight: 700; letter-spacing: -0.1px;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
@media (min-width: 1024px) { .btn { font-size: 17px; line-height: 28px; padding: 0 32px; } }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--primary:active { background: var(--yellow-active); }
.btn--secondary { background: var(--surface); color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy-50); }
.btn--secondary:active { background: var(--navy-100); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--disabled-bg); color: var(--disabled-ink); border-color: transparent; cursor: not-allowed; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row > .btn { flex: 1 1 0; }
@media (min-width: 768px) { .btn-row > .btn { flex: 0 0 auto; } }
@media (min-width: 1024px) {
  .w176 { min-width: 176px; }
  .w224 { min-width: 224px; }
  .btn-row { gap: 16px; }
  .btn-row--24 { gap: 24px; }
}

.link {
  display: inline-block; font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link:hover { border-bottom-color: currentColor; }
.link:active { color: var(--ink); }

/* ===== 4. 헤더 ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); }
.notice-bar { background: var(--navy); color: #fff; }
.notice-bar__in { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.notice-bar__link { display: inline-flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; font-size: 13px; line-height: 20px; font-weight: 500; }
.notice-bar__link:hover .notice-bar__text { text-decoration: underline; }
.notice-bar__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { flex: none; background: var(--yellow); color: var(--navy); border-radius: var(--radius); padding: 0 6px; font-size: 13px; line-height: 20px; font-weight: 700; }
.notice-bar__all { color: var(--on-navy-muted); text-decoration: none; font-size: 14px; line-height: 22px; font-weight: 500; }
.notice-bar__all:hover { color: #fff; text-decoration: underline; }

.bar { border-bottom: 1px solid var(--line); }
.bar__in { display: flex; align-items: center; height: 55px; gap: 24px; }
.logo { font-size: 18px; line-height: 26px; letter-spacing: -0.54px; font-weight: 700; color: var(--navy); text-decoration: none; margin-right: auto; }
.logo .sp { letter-spacing: -0.2em; }
.gnb, .bar__tel, .bar__cta { display: none; }
.menu-btn {
  min-width: 64px; height: 40px; padding: 0 16px; border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--surface); color: var(--navy); font-weight: 700; cursor: pointer;
}
.menu-btn:hover { background: var(--navy-50); }
.menu-btn:active { background: var(--navy-100); }

@media (min-width: 1024px) {
  .notice-bar__in { height: 40px; }
  .notice-bar__link, .tag { font-size: 14px; line-height: 22px; }
  .tag { padding: 0 6px; }
  .bar__in { height: 79px; gap: 0; }
  .logo { font-size: 20px; line-height: 28px; letter-spacing: -0.6px; }
  .gnb { display: block; }
  .gnb ul { display: flex; gap: 24px; }
  .gnb a { display: block; padding: 8px 0; text-decoration: none; font-weight: 500; color: var(--ink); text-underline-offset: 6px; }
  .gnb a:hover { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; }
  .gnb a[aria-current="page"] { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; }
  .bar__tel { display: inline-flex; align-items: center; gap: 4px; margin-left: 40px; font-weight: 700; color: var(--navy); text-decoration: none; }
  .bar__tel:hover { text-decoration: underline; }
  .bar__tel svg { width: 24px; height: 24px; }
  .bar__cta { display: inline-flex; margin-left: 32px; padding: 0 32px; }
  .menu-btn { display: none; }
}
@media (min-width: 1200px) { .gnb ul { gap: 40px; } .gnb { margin-right: 8px; } }

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
  background: var(--surface); overflow-y: auto; padding: 0 0 48px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between; height: 63px;
  border-bottom: 1px solid var(--line); text-decoration: none;
  font-size: var(--t4-size); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); font-weight: 700; color: var(--navy);
}
.mobile-menu__list a:hover { background: var(--bg); }
.mobile-menu__list a[aria-current="page"] span:first-child { text-decoration: underline; text-underline-offset: 6px; }
.mobile-menu__list svg { width: 24px; height: 24px; }
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu__info { margin-top: 48px; display: grid; gap: 24px; }
.mobile-menu__info dt { color: var(--muted); }
.mobile-menu__info dd { margin-top: 4px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* 하단 고정 행동 바 (모바일만) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 12px var(--side); background: var(--surface); border-top: 1px solid var(--line);
}
@media (min-width: 1024px) { .action-bar { display: none; } body.has-bar { padding-bottom: 0; } }

/* ===== 5. 섹션 공통 ===== */
.sec { padding: var(--sec-pad) 0; }
.sec--white { background: var(--surface); }
.sec--bg { background: var(--bg); }
.sec--band { background: var(--navy-50); }
.sec--navy { background: var(--navy); color: #fff; padding: var(--sec-pad-navy) 0; }
.sec--navy .t2, .sec--navy .t4 { color: #fff; }
.sec--navy .muted { color: var(--on-navy-muted); }

.qnum { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.qnum__n {
  position: relative; padding-bottom: 8px;
  font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); font-weight: 700; color: var(--navy);
}
.qnum__n::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow); }
.qnum__t { color: var(--muted); font-weight: 500; padding-top: 1px; }
.sec--navy .qnum__n { color: #fff; }
.sec--navy .qnum__t { color: var(--on-navy-muted); }
@media (min-width: 1024px) { .qnum { gap: 16px; } .qnum__t { padding-top: 2px; } }

.sec-head { margin-bottom: 32px; }
.sec-head .t2 + .sec-intro { margin-top: 16px; }
.sec-intro .link { margin-top: 16px; }
.sec-head--link-bottom .sec-intro .link { display: none; }
@media (min-width: 1024px) {
  .sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); margin-bottom: 48px; }
  .sec-head .qnum { grid-column: 1 / -1; }
  .sec-head .t2 { grid-column: 1 / 7; }
  .sec-head .sec-intro { grid-column: 7 / 13; margin-top: 0 !important; padding-top: 8px; }
  .sec-intro .link { margin-top: 24px; }
  .sec-head--link-bottom .sec-intro .link { display: inline-block; }
}
.more { margin-top: 24px; }
@media (min-width: 1024px) { .more--mo { display: none; } }

/* 12컬럼 그리드 (PC) */
@media (min-width: 1024px) {
  .grid12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .c1-5 { grid-column: 1 / 6; }
  .c1-6 { grid-column: 1 / 7; }
  .c6-12 { grid-column: 6 / 13; }
  .c7-12 { grid-column: 7 / 13; }
  .c5-12 { grid-column: 5 / 13; }
}

.photo { border-radius: var(--radius); overflow: hidden; background: var(--navy-50); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* 사진 자리 (강사) */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--navy-50); color: var(--muted); border-radius: var(--radius);
  font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500;
}

/* 카드 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ===== 6. 표 ===== */
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.tbl th, .tbl td { padding: 0 24px; text-align: left; vertical-align: middle; }
.tbl thead th { background: var(--navy); color: #fff; font-weight: 500; height: 52px; border: 0; }
.tbl tbody th, .tbl tbody td { height: 64px; border-top: 1px solid var(--line); font-weight: 400; }
.tbl tbody th { font-weight: 700; color: var(--navy); }
.tbl .num { text-align: right; }
.tbl .fee { font-weight: 700; color: var(--navy); }
.tbl-wrap { display: none; }
@media (min-width: 1024px) { .tbl-wrap { display: block; } .tbl-alt { display: none !important; } }

/* 줄 목록 (모바일에서 표 대신) */
.rows { border-top: 1px solid var(--navy); }
.rows > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows .t4 { display: block; }
.rows .s { display: block; color: var(--muted); margin-top: 2px; }

/* ===== 7. 홈: 히어로 ===== */
.hero { position: relative; background: var(--bg); }
.hero__in { padding-top: 48px; padding-bottom: 32px; }
.hero__eyebrow { color: var(--muted); margin-bottom: 8px; }
.hero__lead { margin-top: 24px; }
.hero .btn-row { margin-top: 32px; }
.info-box { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info-box > div { padding: 16px; }
.info-box > div + div { border-top: 1px solid var(--line); }
.info-box dt { font-size: 13px; line-height: 20px; font-weight: 700; color: var(--navy); }
.info-box dd { margin-top: 4px; }
.hero__photo { height: 300px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .hero__photo { height: 420px; } }
@media (min-width: 1024px) {
  .hero { min-height: 688px; }
  .hero__in { padding: 64px 0; }
  .hero__text { width: calc(50% - 12px); max-width: 588px; }
  .hero__eyebrow { margin-bottom: 8px; }
  .hero__lead { margin-top: 24px; }
  .info-box { margin-top: 32px; }
  .info-box > div { display: flex; align-items: center; min-height: 59px; padding: 15px 24px; }
  .info-box dt { flex: 0 0 96px; font-size: 14px; line-height: 22px; }
  .info-box dd { margin-top: 0; }
  .hero__photo { position: absolute; top: 0; bottom: 0; left: calc(50% + 12px); right: 0; height: auto; }
}

/* ===== 8. 홈: 01 수업 방식 ===== */
.method__photo { aspect-ratio: 350 / 220; margin-bottom: 32px; }
.steps { border-top: 1px solid var(--navy); }
.steps > li { padding: 19px 0 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; column-gap: 0; }
.steps .step__label { grid-column: 1 / -1; color: var(--muted); }
.steps .step__num { margin-top: 3px; font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); font-weight: 700; color: var(--navy); }
.steps .step__name { margin-top: 6px; align-self: start; }
.steps .step__desc { grid-column: 1 / -1; margin-top: 16px; }
@media (min-width: 1024px) {
  .method .grid12 { align-items: stretch; }
  .method__left { display: flex; flex-direction: column; }
  .method__left .sec-head { display: block; margin-bottom: 0; }
  .method__left .sec-head .sec-intro { padding-top: 0; margin-top: 24px !important; }
  .method__photo { margin: auto 0 0; aspect-ratio: auto; height: 320px; }
  .steps { margin-top: 0; }
  .steps > li { height: 224px; padding: 31px 0 0; grid-template-columns: 240px 1fr; grid-template-rows: auto 1fr; }
  .steps .step__label { grid-column: 1; grid-row: 1; }
  .steps .step__num { grid-column: 1; grid-row: 2; margin-top: 6px; }
  .steps .step__name { grid-column: 2; grid-row: 1; margin-top: 0; }
  .steps .step__desc { grid-column: 2; grid-row: 2; margin-top: 12px; }
}

/* ===== 9. 홈: 02 반 안내 ===== */
.classes__photo { aspect-ratio: 350 / 220; margin-bottom: 24px; }
.classes .rows { margin-top: 0; }
.classes .note { margin-top: 12px; color: var(--muted); }
.cls-table col.c-grade { width: 120px; }
.cls-table col.c-kind, .cls-table col.c-time { width: 170px; }
@media (min-width: 1024px) {
  .classes__photo { aspect-ratio: auto; height: 742px; margin: 0; }
  .classes__right { position: relative; }
  .classes__right .sec-head { display: block; margin-bottom: 32px; }
  .classes__right .sec-head .sec-intro { padding-top: 0; margin-top: 24px !important; }
  .classes__right .head-link { position: absolute; right: 0; top: 0; padding-top: 8px; }
  .classes .tbl tbody th, .classes .tbl tbody td { height: 63px; }
  .classes .note { margin-top: 16px; }
}

/* ===== 10. 강사진 ===== */
.teachers { display: grid; gap: 12px; }
.t-card { padding: 0; }
.t-card--lead .ph { height: 216px; border-radius: var(--radius) var(--radius) 0 0; }
.t-card--lead .t-card__body { padding: 20px; }
.t-card__role { color: var(--muted); }
.t-card__name { margin-top: 4px; }
.t-card__career { margin-top: 16px; }
.t-card__quote { margin: 0 20px 20px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 500; }
.t-card--sub { display: flex; gap: 16px; padding: 20px; }
.t-card--sub .ph { flex: 0 0 78px; height: 104px; }
.t-card--sub .t-card__career { margin-top: 4px; }
@media (min-width: 768px) {
  .teachers { grid-template-columns: 1fr 1fr; }
  .t-card--lead { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .teachers { gap: 16px var(--gutter); }
  .t-card--lead { display: grid; grid-template-columns: 176px 1fr; column-gap: 24px; padding: 24px; align-content: start; }
  .t-card--lead .ph { height: 236px; border-radius: var(--radius); }
  .t-card--lead .t-card__body { padding: 0; padding-top: 6px; }
  .t-card--lead .t-card__quote { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; }
  .t-card--sub { padding: 24px; gap: 24px; }
  .t-card--sub .ph { flex-basis: 118px; height: 148px; }
  .t-card--sub .t-card__body { padding-top: 6px; }
  .t-card__career { margin-top: 12px; }
  .t-card--sub .t-card__career { margin-top: 8px; }
  .t-card__quote { font-size: var(--b-size); }
}

/* ===== 11. 시간표 ===== */
.tt { table-layout: fixed; }
.tt col.c-time { width: 168px; }
.tt thead th { text-align: center; }
.tt thead th:first-child { text-align: left; }
.tt tbody th, .tt tbody td { height: 72px; padding: 8px; border: 1px solid var(--line); }
.tt tbody th { padding-left: 24px; font-weight: 500; color: var(--ink); }
.tt tbody tr.tall th, .tt tbody tr.tall td { height: 86px; }
.slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; min-height: 56px; border-radius: var(--radius);
  background: var(--navy-50); color: var(--navy); font-weight: 500; text-align: center; text-decoration: none;
}
.slot--test { background: var(--yellow-50); }
a.slot:hover { text-decoration: underline; }
.tt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; color: var(--muted); }
.legend { display: flex; gap: 24px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 14px; height: 14px; background: var(--navy-50); border-radius: 2px; }
.legend i.test { background: var(--yellow-50); }
.tt-foot .legend { display: none; }
@media (min-width: 1024px) { .tt-foot { margin-top: 16px; } .tt-foot .legend { display: flex; padding-right: 28px; } }

/* 요일 탭 (모바일 시간표) */
.tabs-day { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tabs-day [role="tab"] {
  position: relative; height: 42px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-weight: 400;
}
.tabs-day [role="tab"] + [role="tab"]::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.tabs-day [role="tab"]:hover { background: var(--navy-50); }
.tabs-day [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; font-weight: 700; }
.tabs-day [role="tab"][aria-selected="true"]::before, .tabs-day [role="tab"][aria-selected="true"] + [role="tab"]::before { display: none; }
.day-panel { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.day-panel li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 10px 14px 10px 16px; }
.day-panel li + li { border-top: 1px solid var(--line); }
.day-panel .time { font-weight: 700; color: var(--navy); }
.day-panel .slot { flex: 0 0 167px; min-height: 40px; }
.day-panel .empty { color: var(--muted); }
.day-panel--inset li + li { border-top: 0; }
.day-panel--inset li { min-height: 55px; padding: 8px 14px 8px 14px; }
.day-panel--inset li + li { box-shadow: inset 0 1px 0 var(--line); margin: 0 14px; padding-left: 0; padding-right: 0; }

/* ===== 12. 교습비 ===== */
.fee-table col.c-course { width: 300px; }
.fee-table col.c-cap { width: 120px; }
.fee-table col.c-period { width: 140px; }
.fee-table col.c-total { width: 220px; }
.fee-table col.c-fee { width: 200px; }
.fee-table tbody th { font-weight: 400; color: var(--ink); }
.fee-table tbody th, .fee-table tbody td { height: 70px; }
.fee-cards { display: grid; gap: 12px; }
.fee-card { padding: 20px; min-height: 180px; }
.fee-card__name { display: flex; align-items: baseline; gap: 8px; }
.fee-card__name .s { color: var(--muted); }
.fee-card__amount { margin-top: 16px; font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); font-weight: 700; color: var(--navy); }
.fee-card__meta { margin-top: 16px; }
@media (min-width: 768px) { .fee-cards { grid-template-columns: repeat(3, 1fr); } }

.refund-title { margin-top: 48px; margin-bottom: 24px; }
.refund { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.refund__card { padding: 23px 23px 27px; }
.refund__card .s { color: var(--muted); }
.refund__card .t3 { margin-top: 8px; }
.reg-note { margin-top: 24px; font-weight: 500; }
.reg-note.muted { color: var(--muted); }

/* 아코디언 */
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.acc + .acc { margin-top: 8px; }
.acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px; cursor: pointer; list-style: none;
  font-weight: 700; color: var(--navy);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: var(--bg); }
.acc__icon { flex: none; width: 24px; height: 24px; position: relative; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 1.5px; background: var(--navy); }
.acc__icon::after { transform: rotate(90deg); transition: transform .15s ease; }
.acc[open] > summary .acc__icon::after { transform: rotate(0deg); opacity: 0; }
.acc__body { margin: 0 16px; padding: 12px 0 16px; border-top: 1px solid var(--line); }
.acc__sum { display: block; font-weight: 500; font-size: var(--s-size); line-height: var(--s-lh); color: var(--muted); margin-top: 4px; }
@media (min-width: 1024px) {
  .acc > summary { min-height: 70px; padding: 20px 24px; }
  .acc__body { margin: 0 24px; padding: 16px 0 22px; }
}
.acc--refund .acc__body { display: grid; gap: 0; }
.acc--refund .acc__body div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.acc--refund .acc__body div + div { border-top: 1px solid var(--line); }

/* ===== 13. 상담 신청 폼 ===== */
.consult__steps-title { margin-top: 48px; margin-bottom: 16px; }
.order { border-top: 1px solid var(--navy-line); }
.order li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--navy-line); }
.order .n { font-weight: 700; flex: 0 0 12px; }
.order .k { font-weight: 400; }
@media (min-width: 1024px) { .order .k { font-weight: 500; } }
.order .d { color: var(--on-navy-muted); }
.order--light { border-top-color: var(--line); }
.order--light li { border-bottom-color: var(--line); }
.order--light .k { color: var(--navy); font-weight: 700; }
.order--light .n { color: var(--navy); }
.order--light .d { color: var(--muted); }
@media (min-width: 1024px) {
  .order li { padding: 9px 0 10px; gap: 0; }
  .order .n { flex: 0 0 32px; }
  .order .k { flex: 0 0 204px; }
  .order--light li { padding: 11px 0 12px; }
  .order--light .k { flex-basis: 186px; }
}

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); }
.form-card--boxed { border: 1px solid var(--line); }
.form-sec { background: var(--surface); }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.form-head .s { color: var(--muted); }
.form-grid { display: grid; gap: 16px; }
.form-card .t4 { color: var(--navy); }
.field { min-height: 99px; }
.field.full, .field.consent-field { min-height: 0; }
.field > label { display: block; margin-bottom: 8px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; color: var(--navy); }
.input, .select, .textarea {
  display: block; width: 100%; height: var(--btn-h); padding: 0 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.select { padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%231E2B4A' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.select:invalid, .select.is-placeholder { color: var(--muted); }
.select option { color: var(--ink); }
.textarea { height: 116px; padding: 13px 15px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border: 2px solid var(--navy); padding-left: 14px; }
.textarea:focus { padding-top: 12px; }
.field.is-error .input, .field.is-error .select, .field.is-error .textarea { border: 2px solid var(--error); padding-left: 14px; }
.err { display: block; margin-top: 8px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 700; color: var(--error); }
.err:empty { display: none; }
.err-summary { margin-bottom: 16px; padding: 14px 16px; border: 1px solid var(--error); border-radius: var(--radius); color: var(--error); font-size: var(--s-size); line-height: var(--s-lh); font-weight: 700; }
.err-summary:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.err-summary[hidden] { display: none; }

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip span { font-weight: 400; color: var(--ink); }
.chips legend { padding: 0; margin-bottom: 8px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; color: var(--navy); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: flex; align-items: center; justify-content: center; height: var(--btn-h);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; text-align: center;
}
.chip span:hover { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.field.is-error .chip span { border-color: var(--error); }

.consent { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
@media (min-width: 1024px) { .consent { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; } }
.check { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 3px 0 0; border: 1.5px solid var(--navy); border-radius: 2px; background: var(--surface); cursor: pointer; }
.check input:checked { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.field.is-error .check input { border: 2px solid var(--error); }
.consent__toggle { padding: 0; border: 0; background: none; color: var(--muted); font-size: var(--s-size); line-height: var(--s-lh); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-left: 32px; }
.consent__toggle:hover { color: var(--navy); }
.consent .err { flex-basis: 100%; margin: 0 0 0 32px; }
@media (min-width: 1024px) { .consent .err { margin-left: 0; } }
.consent__body { margin-top: 16px; padding: 14px 16px; background: var(--navy-50); border-radius: var(--radius); font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; }
.consent__body[hidden] { display: none; }
.form-submit { margin-top: 16px; }
.form-tel { margin-top: 16px; color: var(--muted); }
.form-tel a { text-decoration: none; }
.form-tel a:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .form-card { padding: 32px; }
  .form-head { margin-bottom: 32px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 16px var(--gutter); }
  .form-grid .full { grid-column: 1 / -1; }
  .field { min-height: 114px; }
  .field.full, .field.consent-field { min-height: 0; }
  .consent__toggle { margin-left: 0; }
  .consent__body { margin-top: 16px; }
  .form-submit { margin-top: 24px; }
  .err-summary { margin-bottom: 24px; padding: 15px 16px; }
}
.form-grid .consent-field { margin-top: 8px; }

/* 홈 상담 (남색 섹션 + 흰 신청서) */
/* 모바일: 신청서 칸을 화면 끝까지 흰 면으로 (가로 넘침 없이 그림자로 칠함) */
@media (max-width: 1023px) {
  .home-consult .form-wrap { margin-top: 48px; padding: 48px 0; }
  .home-consult { padding-bottom: 0; }
  .home-consult .form-wrap { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
  .consult-page { padding-top: 48px; }
  .consult-page .form-sec { margin-top: 48px; padding: 48px 0; background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
  .form-card--boxed { border: 0; }
  .consent .err { order: 1; }
  .consent__toggle { order: 2; }
}
@media (min-width: 1024px) {
  .home-consult .sec-head { display: block; margin-bottom: 0; }
  .home-consult .sec-head .sec-intro { padding-top: 0; margin-top: 24px !important; }
  .home-consult .form-wrap { padding-top: 0; }
}

/* ===== 14. 오시는 길 ===== */
.map { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-50); overflow: hidden; aspect-ratio: 350 / 234; }
.map svg { display: block; width: 100%; height: 100%; }
.place { display: grid; gap: 24px; margin-top: 32px; }
.place dt { color: var(--muted); }
.place dd { margin-top: 4px; }
.place .tel { font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); font-weight: 700; color: var(--navy); text-decoration: none; }
.place .tel:hover { text-decoration: underline; }
.place-actions { margin-top: 32px; display: grid; gap: 12px; }
.map-alt { margin-top: 12px; color: var(--muted); }
.map-alt a { color: var(--navy); font-weight: 700; }
@media (min-width: 1024px) {
  .map { aspect-ratio: auto; height: 404px; }
  .place { margin-top: 0; gap: 24px; }
  .place-col { display: flex; flex-direction: column; }
  .place-actions { display: flex; gap: 16px; margin-top: auto; padding-top: 32px; }
  .place-actions .btn { min-width: 160px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .place-actions { grid-template-columns: 1fr 1fr; }
}

/* ===== 15. 푸터 ===== */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 48px 0; font-size: 13px; line-height: 20px; font-weight: 500; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-logo { display: inline-block; font-size: 18px; line-height: 26px; letter-spacing: -0.54px; font-weight: 700; color: #fff; }
.f-menu { margin-top: 16px; display: flex; flex-wrap: wrap; }
.f-menu li:not(:last-child)::after { content: "·"; margin: 0 5px; }
.f-menu li.br-after { flex-basis: auto; }
.f-info { margin-top: 24px; }
.f-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.f-links a:first-child { color: #fff; font-weight: 700; }
.f-copy { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--navy-line); }
body.has-bar .site-footer { padding-bottom: calc(48px + var(--bar-h)); }
@media (max-width: 1023px) {
  .f-menu .mo-break { flex-basis: 100%; height: 0; }
  .f-menu .mo-break + li::before { content: none; }
  .f-menu li.before-break::after { content: none; }
}
@media (min-width: 1024px) {
  .site-footer { padding: 64px 0 64px; font-size: 14px; line-height: 22px; }
  .f-top { display: flex; justify-content: space-between; align-items: center; }
  .f-logo { font-size: 20px; line-height: 28px; letter-spacing: -0.6px; }
  .f-menu { margin-top: 0; }
  .f-menu .mo-break { display: none; }
  .f-info { margin-top: 32px; }
  .f-links { margin-top: 32px; gap: 0 24px; }
  .f-copy { margin-top: 32px; padding-top: 32px; }
  body.has-bar .site-footer { padding-bottom: 64px; }
}

/* ===== 16. 하위 페이지 머리 ===== */
.page-head { background: var(--bg); padding: 48px 0; }
.page-head__eyebrow { color: var(--muted); margin-bottom: 8px; }
.page-head .t2 + .b { margin-top: 16px; }
.jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.jump a {
  display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 4px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-size: 13px; line-height: 20px; font-weight: 500; color: var(--ink); text-decoration: none; text-align: center;
}
.jump a:hover { border-color: var(--navy); }
.jump a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.page-head__photo { margin-top: 32px; aspect-ratio: 350 / 220; }
@media (min-width: 1024px) {
  .page-head { padding: 64px 0; }
  .page-head .grid12 { align-items: start; }
  .page-head__eyebrow { margin-bottom: 8px; }
  .page-head .t2 + .b { margin-top: 24px; }
  .jump { display: flex; gap: 16px; margin-top: 48px; }
  .jump a { width: 180px; height: 48px; font-size: 17px; line-height: 28px; }
  .page-head__photo { margin-top: 0; aspect-ratio: auto; height: 314px; }
}

/* 다음 행동 띠 */
.band { background: var(--navy-50); padding: 48px 0; }
.band .b { margin-top: 16px; }
.band .btn-row { margin-top: 32px; }
.band .band__primary { display: none; }
@media (min-width: 1024px) {
  .band { padding: 0; }
  .band__in { display: flex; align-items: center; justify-content: space-between; min-height: 200px; gap: 24px; }
  .band .b { margin-top: 4px; }
  .band .btn-row { margin-top: 0; gap: 24px; flex-wrap: nowrap; }
  .band .band__primary { display: inline-flex; }
}
@media (max-width: 1023px) { .band .btn-row > .btn { flex: 1 1 100%; } }

/* ===== 17. 학원 소개 ===== */
.week { border-top: 1px solid var(--navy); }
.week > li { padding: 19px 0 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; }
.week .step__label { grid-column: 1 / -1; color: var(--muted); }
.week .step__num { margin-top: 3px; font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); font-weight: 700; color: var(--navy); }
.week .step__name { margin-top: 6px; font-size: var(--t4-size); line-height: var(--t4-lh); }
.week .step__desc { grid-column: 1 / -1; margin-top: 16px; }
.week-note { margin-top: 24px; color: var(--muted); }
@media (min-width: 1024px) {
  .week { border-top: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
  .week > li { display: block; padding: 32px 0 0; border-top: 1px solid var(--navy); border-bottom: 0; }
  .week .step__num { display: none; }
  .week .step__name { margin-top: 8px; font-size: var(--t3-size); line-height: var(--t3-lh); }
  .week .step__desc { margin-top: 16px; }
  .week-note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
}

.staff { display: grid; gap: 12px; }
.staff-card { padding: 20px; display: flex; gap: 16px; }
.staff-card .ph { flex: 0 0 78px; height: 104px; }
.staff-card__name { margin-top: 4px; }
.staff-card__career { margin-top: 8px; }
.staff-card__job dt { display: inline; }
.staff-card__job dt::after { content: ": "; }
.staff-card__job dd { display: inline; }
@media (min-width: 768px) { .staff { grid-template-columns: repeat(3, 1fr); } .staff-card { flex-direction: column; } .staff-card .ph { flex: none; height: auto; aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) {
  .staff { gap: var(--gutter); }
  .staff-card { padding: 24px 24px 27px; gap: 0; }
  .staff-card .ph { margin-bottom: 32px; }
  .staff-card__name { margin-top: 4px; font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .staff-card__career { margin-top: 16px; }
  .staff-card__job { margin-top: 12px; }
  .staff-card__job dt { display: block; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; color: var(--muted); }
  .staff-card__job dt::after { content: none; }
  .staff-card__job dd { display: block; font-weight: 500; }
}

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.facts > li { border-top: 1px solid var(--navy); padding-top: 16px; }
.facts .big { display: inline-block; font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); font-weight: 700; color: var(--navy); }
.facts .big--mark { box-shadow: inset 0 -4px 0 var(--yellow); padding-bottom: 4px; }
.facts .t4 { margin-top: 8px; }
.facts .desc { margin-top: 8px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; }
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
  .facts > li { padding-top: 32px; }
  .facts .big { font-size: var(--t1-size); line-height: var(--t1-lh); letter-spacing: var(--t1-ls); }
  .facts .big--mark { padding-bottom: 0; box-shadow: none; border-bottom: 4px solid var(--yellow); }
  .facts .t4 { margin-top: 24px; }
  .facts .desc { margin-top: 12px; font-size: var(--b-size); line-height: var(--b-lh); font-weight: 400; }
}

/* ===== 18. 반 안내·시간표 ===== */
.glance { margin-top: 32px; padding: 0 20px; }
.glance > div { padding: 16px 0 15px; }
.glance > div + div { border-top: 1px solid var(--line); }
.glance dt { color: var(--muted); }
.glance .v { display: block; margin-top: 4px; }
.glance .sub { display: block; margin-top: 2px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; }
@media (min-width: 1024px) {
  .glance { margin-top: 0; padding: 0 24px; }
  .glance > div { display: flex; padding: 16px 0 14px; }
  .glance dt { flex: 0 0 112px; padding-top: 4px; }
  .glance dd { margin: 0; }
  .glance .v { margin-top: 0; }
  .glance .sub { margin-top: 0; }
}

.cls-cards { display: grid; gap: var(--gutter); }
.cls-card { padding: 24px; }
.cls-card__cat { color: var(--muted); }
.cls-card__name { margin-top: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); }
.cls-card dl { margin-top: 16px; display: grid; gap: 7px; }
.cls-card dl > div { display: flex; gap: 0; }
.cls-card dt { flex: 0 0 62px; font-size: var(--s-size); line-height: var(--b-lh); font-weight: 500; color: var(--muted); }
.cls-card .time { font-weight: 700; color: var(--navy); }
.criteria { background: var(--navy-50); padding: 24px; border-radius: var(--radius); }
.criteria__name { margin-top: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); }
.criteria ol { margin-top: 20px; display: grid; gap: 19px; }
.criteria li { display: flex; gap: 16px; }
.criteria li b { color: var(--navy); flex: 0 0 auto; }
@media (min-width: 1024px) { .cls-cards { grid-template-columns: repeat(3, 1fr); } .cls-card, .criteria { min-height: 352px; } }

/* 모바일 반 목록 (아코디언) */
.cls-acc .acc > summary { align-items: flex-start; padding: 16px; }
.cls-acc .acc > summary > span:first-child { display: block; }
.cls-acc .acc__name { display: block; font-weight: 700; color: var(--navy); }
.cls-acc .acc__icon { margin-top: 1px; }
.cls-acc .acc__body { padding-top: 12px; }
.criteria-mo { margin-top: 24px; padding: 20px; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--surface); }
.criteria-mo ol { margin-top: 12px; display: grid; gap: 8px; }
.criteria-mo li { display: flex; gap: 12px; }
.criteria-mo li b { color: var(--navy); }
@media (min-width: 768px) and (max-width: 1023px) {
  .cls-cards--pc { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ===== 19. 교습비 페이지 ===== */
.supplies-intro .strong { margin-top: 24px; }
.sup-table col.c-book, .sup-table col.c-who { width: 30%; }
.sup-table tbody th, .sup-table tbody td { height: 61px; }
.sup-list { margin-top: 32px; padding: 0 20px; }
.sup-list li { padding: 12px 0 11px; }
.sup-list li + li { border-top: 1px solid var(--line); }
.sup-list .s { display: block; color: var(--muted); }
.refund4 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.refund4 .card { padding: 16px; }
.refund4 .s { display: block; }
.refund4 .when { font-weight: 700; color: var(--navy); min-height: 40px; }
.refund4 .mins { color: var(--muted); margin-top: 8px; }
.refund4 .rate { margin-top: 8px; font-weight: 500; color: var(--navy); }
.refund4 .amt { margin-top: 2px; font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); font-weight: 700; color: var(--navy); }
.refund-note { margin-top: 24px; }
@media (min-width: 1024px) {
  .refund4 { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
  .refund4 .card { padding: 24px 24px 27px; min-height: 176px; }
  .refund4 .when { font-weight: 500; color: var(--muted); min-height: 0; }
  .refund4 .mins { margin-top: 0; }
  .refund4 .rate { margin-top: 16px; font-size: var(--t4-size); line-height: var(--t4-lh); font-weight: 700; }
  .refund4 .amt { margin-top: 4px; }
  .refund-note { margin-top: 24px; color: var(--muted); }
  .faq .sec-head { display: block; }
}

/* ===== 20. 상담 신청 페이지 ===== */
.tel-box { margin-top: 32px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tel-box .s { color: var(--muted); }
.tel-box .num { display: inline-block; margin-top: 8px; font-size: 34px; line-height: 44px; letter-spacing: -1px; font-weight: 700; color: var(--navy); text-decoration: none; }
.tel-box .num:hover { text-decoration: underline; }
.tel-box .hours { margin-top: 4px; font-weight: 500; }
.consult-steps-acc { margin-top: 16px; }
@media (min-width: 1024px) {
  .consult-page { padding: 64px 0; background: var(--bg); }
  .consult-page .form-sec { padding: 0; background: transparent; }
  .tel-box { margin-top: 32px; padding: 24px; background: var(--navy-50); border: 0; }
  .tel-box .num { font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); margin-top: 12px; }
  .tel-box .hours { color: var(--muted); }
}

/* ===== 21. 신청 완료 ===== */
.receipt { margin-top: 0; }
.receipt dl { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 20px; }
.receipt dl > div { display: flex; align-items: center; min-height: 47px; }
.receipt dl > div + div { border-top: 1px solid var(--line); }
.receipt dt { flex: 0 0 127px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; color: var(--muted); }
.receipt dd { font-weight: 700; color: var(--ink); }
.receipt .s { margin-top: 16px; color: var(--muted); }
.receipt-empty { padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.next-cards { display: grid; gap: 12px; }
.next-card { padding: 20px; }
.next-card h3 { display: flex; align-items: baseline; gap: 12px; }
.next-card .no { font-size: var(--t2-size); line-height: var(--t2-lh); letter-spacing: var(--t2-ls); font-weight: 700; color: var(--navy); }
.next-card p { margin-top: 12px; }
@media (min-width: 768px) { .next-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .receipt-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .receipt dl { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; margin-top: 24px; background: transparent; }
  .receipt dl > div { min-height: 55px; }
  .receipt dt { flex-basis: 200px; }
  .receipt dd { font-size: var(--b-size); }
  .next-cards { gap: var(--gutter); }
  .next-card { padding: 24px 24px 27px; background: var(--navy-50); border: 0; min-height: 232px; }
  .next-card h3 { display: block; }
  .next-card .no { display: block; }
  .next-card .t4 { display: block; margin-top: 8px; }
  .next-card p { margin-top: 16px; }
}

/* ===== 22. 공지 ===== */
.chip-tabs { display: grid; grid-template-columns: 72fr 84fr 68fr 102fr; gap: 8px; margin-top: 32px; }
.chip-tabs [role="tab"] {
  height: 48px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); cursor: pointer; white-space: nowrap;
}
.chip-tabs [role="tab"]:hover { border-color: var(--navy); }
.chip-tabs [role="tab"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.list-meta { color: var(--muted); margin-bottom: 16px; }
.notice-head { display: none; }
.notice-list .acc > summary { align-items: flex-start; padding: 16px; }
.n-title { display: block; font-weight: 700; color: var(--navy); }
.n-meta { display: block; margin-top: 8px; font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; color: var(--muted); }
.n-cat { font-weight: 500; }
.notice-list .acc__body { margin-top: 0; }
.pager { margin-top: 24px; }
.pager .pc-pages { display: none; }
@media (min-width: 1024px) {
  .chip-tabs { display: flex; gap: 16px; margin-top: 32px; }
  .chip-tabs [role="tab"] { width: 150px; }
  .list-meta { margin-bottom: 16px; }
  .notice-head { display: grid; grid-template-columns: 188px 1fr 160px 64px; align-items: center; height: 52px; padding-left: 24px; background: var(--navy); color: #fff; font-weight: 500; }
  .notice-list { border: 1px solid var(--line); border-top: 0; background: var(--surface); }
  .notice-list .acc { border: 0; border-radius: 0; }
  .notice-list .acc + .acc { margin-top: 0; border-top: 1px solid var(--line); }
  .notice-list .acc > summary { display: grid; grid-template-columns: 188px 1fr 160px 40px; align-items: start; min-height: 62px; padding: 17px 24px 15px; }
  .notice-list .n-cat-pc { font-size: var(--s-size); line-height: var(--s-lh); font-weight: 700; color: var(--navy); padding-top: 4px; }
  .notice-list .n-meta { display: none; }
  .notice-list .n-date { font-size: var(--s-size); line-height: var(--s-lh); font-weight: 500; color: var(--muted); padding-top: 4px; }
  .notice-list .acc__icon { justify-self: end; }
  .notice-list .acc__body { border-top: 0; margin: 0 24px 0 212px; padding: 0 0 28px; }
  .pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
  .pager .pc-pages { display: flex; gap: 8px; }
  .pager .mo-more { display: none; }
  .pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: var(--s-size); font-weight: 500; text-decoration: none; color: var(--ink); }
  .pager a:hover { border-color: var(--navy); }
  .pager a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
  .pager a.next { min-width: 88px; }
}
@media (max-width: 1023px) { .n-cat-pc, .n-date { display: none; } }

/* ===== 23. 움직임 줄이기 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 시간표 반 이름 링크 */
.slot a { color: inherit; text-decoration: none; }
.slot a:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .sec-head--one { margin-bottom: 64px; }
  .reg-note--muted-pc { color: var(--muted); }
}

/* 전화 링크: 본문 속에서는 밑줄 없이, 올리면 밑줄 */
a[href^="tel:"] { text-decoration: none; }
a[href^="tel:"]:hover { text-decoration: underline; }

/* 신청 완료 — 모바일은 접수 내용이 흰 칸, 다음 순서는 바탕색 칸 */
.receipt__title { margin-bottom: 24px; font-size: var(--t3-size); line-height: var(--t3-lh); letter-spacing: var(--t3-ls); }
@media (max-width: 1023px) {
  .page-done .page-head { padding-bottom: 0; }
  .done-right { margin-top: 48px; padding: 48px 0; background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
  .done-next { background: var(--bg); }
}
@media (min-width: 1024px) {
  .receipt__title { margin-bottom: 0; font-size: var(--t4-size); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); }
}

/* 1024~1279: 칸이 1200보다 좁아서 1200 기준 줄바꿈이 두세 글자짜리 끝줄을 만드는 곳은 자연 줄바꿈으로 둔다 (2026-11-03 검수) */
@media (min-width: 1024px) and (max-width: 1279px) { .br-mid-off { display: none !important; } }
