/*
  [생성일] 2026-11-24
  [경위] 가야디자인학원 리뉴얼 제안 시안(index · course · check) 공통 스타일. 브리프 2절(색 · 글꼴 · 모양)과 3절(아임웹 기본 위젯으로 옮길 수 있는 구조만)을 따른다
  [변경이력]
    - 2026-11-24: 최초 생성
    - 2026-11-24: 숫자 줄 · 한눈에 칸 사이 세로선 제거 → 칸 간격 24로 구분(아임웹 칸 테두리 근거 없음)
*/

/* ── 색 · 간격 값 (브리프 2절) ── */
:root {
  --paper: #F6F4EF;            /* 바탕(트레이싱지) */
  --white: #FFFFFF;            /* 흰 면 */
  --ink: #1A1A1A;              /* 글자 1 (로고 글자색) */
  --ink-2: #4F4C46;            /* 글자 2 */
  --ink-3: #8A867E;            /* 글자 3 (날짜 같은 보조 정보만) */
  --line: rgba(26, 26, 26, .12); /* 가는 선 */
  --gold: #C0963A;             /* 로고 금색: 주 버튼 바탕 · 치수선 눈금 */
  --gold-ink: #8C6A22;         /* 밝은 바탕 위 금색 글자 */
  --gold-dark: #A9832F;        /* 주 버튼에 마우스를 올렸을 때 */
}

/* ── 기본 ── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Pretendard, 'Noto Sans KR', sans-serif; font-size: 16px; line-height: 1.65; font-weight: 400;
  word-break: keep-all; overflow-wrap: anywhere; font-variant-numeric: tabular-nums;
}
img { display: block; max-width: 100%; height: auto; border-radius: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
.wrap { max-width: 1264px; margin: 0 auto; padding: 0 32px; }   /* 본문 폭 1200 + 좌우 32 */
.tlink { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(26, 26, 26, .35); }
.tlink:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

/* ── 시안 안내 띠 (시안 전용, 아임웹 이전 때 지움) ── */
.sian-band { background: var(--white); border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-2); }
.sian-band .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.sian-band strong { color: var(--ink); }
.sian-band nav { display: flex; gap: 16px; }
.sian-band nav a { text-decoration: underline; text-underline-offset: 3px; }
.sian-band nav a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ── 헤더 (아임웹 기본 헤더: 로고 · 메뉴 6 · 오른쪽 전화 글자 + 버튼) ── */
.hd { background: var(--paper); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.hd-logo img { height: 34px; width: auto; }
.hd-nav { display: flex; gap: 28px; margin-left: 8px; font-size: 15px; font-weight: 600; }
.hd-nav a { padding: 8px 0; white-space: nowrap; }
.hd-nav a:hover { color: var(--gold-ink); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.hd-tel { font-size: 15px; font-weight: 600; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }

/* ── 버튼 (모서리 4, 높이 48. 주 = 금색 채움, 보조 = 흑연 테두리) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.on-dark .btn { border-color: var(--paper); color: var(--paper); }
.on-dark .btn:hover { background: var(--paper); color: var(--ink); }

/* ── 할인 · 개강 띠 (섹션 배경색 + 텍스트 한 줄) ── */
.promo { background: var(--ink); color: var(--paper); font-size: 14px; }
.promo .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: center; padding-top: 12px; padding-bottom: 12px; text-align: center; }
.promo a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ── 구간 공통 ── */
.sec { padding: 96px 0; }
.sec-white { background: var(--white); }
.sec-head { margin-bottom: 40px; max-width: 760px; }
.dim { height: 16px; width: auto; }                 /* 치수선 그림(이미지 위젯) */
.sec-name { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sec-head h2 { margin-top: 8px; font-size: 32px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.sec-lead { margin-top: 12px; color: var(--ink-2); }
.sec-foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.sec-foot p { color: var(--ink-2); font-size: 15px; }
.link-row { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }   /* 글자 링크 줄(탭 대신) */
.link-row a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(26, 26, 26, .35); }
.link-row a:hover { text-decoration-color: var(--ink); }

/* 칸 나누기 (아임웹 1~4칸 섹션) */
.cols { display: grid; gap: 40px 32px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }

/* 사진: 직각, 비율 고정(아임웹 이미지 위젯의 비율 맞춤) */
.ph { width: 100%; object-fit: cover; background: #E9E6DF; }
.r43 { aspect-ratio: 4 / 3; }
.r75 { aspect-ratio: 7 / 5; }
.r11 { aspect-ratio: 1 / 1; }
/* 표제란: 사진 바로 아래 한 줄 + 가는 선 */
.cap { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--ink-2); }

/* ── 첫 화면 (2칸: 글 5 · 사진 7) ── */
.hero { padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hero-eyebrow { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.hero h1 { margin-top: 16px; font-size: 44px; line-height: 1.28; font-weight: 600; letter-spacing: -.02em; }
.hero-lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 30em; }
.hero .btn-row { margin-top: 32px; }
.hero-meta { margin-top: 20px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.hero-meta img { width: 18px; height: 18px; flex: none; }
.hero-fig img { width: 100%; }

/* ── 숫자 줄 4칸 ── */
.stats { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .cols { gap: 24px; } /* 2026-11-24: 칸 사이 세로선 대신 간격(아임웹 칸 테두리 근거 없음) */
.stat { padding: 32px 0; }
.stat-num { font-size: 36px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.stat-num.gold { color: var(--gold-ink); }
.stat-label { margin-top: 8px; font-size: 15px; font-weight: 600; }
.stat-note { font-size: 13px; color: var(--ink-2); }

/* ── 카드 (사진 + 이름 + 한 줄 + 글자 링크) ── */
.card h3 { margin-top: 16px; font-size: 20px; line-height: 1.4; font-weight: 600; }
.card-line { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.card-links { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.9; }
.card-links a { margin-right: 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(26, 26, 26, .35); white-space: nowrap; }
.card-links a:hover { text-decoration-color: var(--ink); }

/* ── 수업 과정 4단계 (칸마다 단계 치수선 그림 + 사진 + 글) ── */
.step .dim { margin-bottom: 12px; }
.step h3 { margin-top: 12px; font-size: 20px; font-weight: 600; }
.step-line { margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.step-sub { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.step-sub b { color: var(--ink); margin-right: 6px; }
.note-line { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }

/* ── 합격 장부 (칸 안에 텍스트 줄 + 구분선) ── */
.ledger h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 16px; font-weight: 600; }
.ledger li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.ledger li b { margin-right: 12px; }
.ledger li span { color: var(--ink-2); }

/* ── 게시판 최신글(목록형) ── */
.board-head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.board-head h3 { font-size: 18px; font-weight: 600; }
.board-head span { font-size: 15px; font-weight: 600; color: var(--gold-ink); }
.board li a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.board li a:hover .b-title { text-decoration: underline; text-underline-offset: 4px; }
.b-cat { font-size: 13px; color: var(--ink-2); }
.b-date { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.board.no-cat li a { grid-template-columns: minmax(0, 1fr) auto; }
.board .btn { margin-top: 24px; }
.interview { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.interview strong { margin-right: 4px; }

/* ── 교수진 (3칸 × 2줄: 사진 1:1 + 담당 + 이름 + 경력 2줄) ── */
.teacher .ph { max-width: 240px; }
.t-role { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.teacher h3 { font-size: 20px; font-weight: 600; line-height: 1.5; }
.t-career { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

/* ── 학원 모습 ── */
.addr { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink-2); }
.addr img { width: 18px; height: 18px; flex: none; }

/* ── 상담 (어두운 띠 1곳, 2칸: 글 · 입력폼) ── */
.consult { background: var(--ink); color: var(--paper); }
.consult .sec-name, .consult .sec-lead { color: rgba(246, 244, 239, .78); }
.consult-in { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.contact { margin-top: 32px; border-top: 1px solid rgba(246, 244, 239, .2); }
.contact li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(246, 244, 239, .2); font-size: 16px; }
.contact img { width: 18px; height: 18px; flex: none; }
.contact a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(246, 244, 239, .4); }
.contact a:hover { text-decoration-color: var(--paper); }
.contact .sub { color: rgba(246, 244, 239, .78); font-size: 15px; }
/* 입력폼(아임웹 입력폼 위젯: 단답 · 연락처 · 체크 · 여러 줄) */
.form { background: var(--white); color: var(--ink); padding: 32px; }
.form h3 { font-size: 20px; font-weight: 600; }
.f-row { margin-top: 20px; }
.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.f-label small { font-size: 13px; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(26, 26, 26, .3); border-radius: 4px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--ink);
}
.form textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold-ink); outline-offset: 0; border-color: transparent; }
.f-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.f-checks.one { flex-direction: column; }
.f-checks label, .f-agree { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; }
.f-agree { font-size: 14px; color: var(--ink-2); }
.form .btn { width: 100%; margin-top: 24px; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--ink-2); min-height: 22px; }

/* ── 꼬리말 ── */
.ft { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ft-logo { height: 30px; width: auto; }
.ft-nav { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; color: var(--ink); }
.ft-policy { margin-top: 12px; display: flex; gap: 20px; }
.ft-info { margin-top: 16px; }
.ft-note { margin-top: 16px; font-size: 13px; }

/* ── 휴대폰 하단 고정 줄 (코드 삽입 1벌: 전화 · 카톡 상담 · 수강료 조회) ── */
.bar { display: none; }

/* ══ 과정 상세(course.html) ══ */
.tpl-note { background: var(--white); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tpl-note .wrap { padding-top: 8px; padding-bottom: 8px; }
.crumb { padding: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.crumb .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.crumb b { color: var(--ink); }
.crumb .link-row { font-size: 14px; }
.crumb .link-row [aria-current] { font-weight: 600; text-decoration: none; }
.hero-course { padding-top: 40px; }
.hero-course h1 { margin-top: 0; }
.hero-one { margin-top: 12px; font-size: 20px; font-weight: 600; line-height: 1.5; }
/* 한눈에 4칸 */
.glance { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance .cols { gap: 24px; } /* 2026-11-24: 세로선 대신 간격 */
.glance-item { padding: 28px 0; }
.glance-item dt { font-size: 13px; font-weight: 600; color: var(--gold-ink); }
.glance-item dd { margin-top: 6px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.glance-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 16px 0 20px; border-top: 1px solid var(--line); }
.glance-foot p { font-size: 15px; }
/* 세부 커리큘럼: 과목마다 한 줄(3칸: 과목명 · 기간 막대 / 배우는 것 / 작은 작품 그림) */
.tl { border-top: 1px solid var(--ink); }
.tl-row { display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tl-row h3 { font-size: 20px; font-weight: 600; line-height: 1.4; }
.tl-dur { margin-top: 12px; }
.tl-term { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.tl-term b { color: var(--ink); }
.tl-list li { position: relative; padding-left: 14px; font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.tl-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--ink-3); }
.tl-fig .cap { border-bottom: 0; padding-bottom: 0; }
.tl-legend { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
/* 6단계 · 4단계 */
.flow h3 { font-size: 18px; font-weight: 600; }
.flow p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.flow .dim { margin-bottom: 12px; }
.flow > li { padding-bottom: 20px; border-bottom: 1px solid var(--line); }

/* ══ 리뉴얼 안내(check.html) — 시안 설명용 쪽, 아임웹으로 옮기지 않는다 ══ */
.ck-top { padding: 64px 0 24px; }
.ck-top h1 { margin-top: 12px; font-size: 36px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.ck-top p { margin-top: 16px; max-width: 720px; color: var(--ink-2); font-size: 17px; }
.ck-list { border-top: 1px solid var(--ink); }
.ck-list > li { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ck-shot { display: flex; gap: 12px; align-items: flex-start; }
.ck-shot img { border: 1px solid var(--line); background: var(--white); min-width: 0; }
.ck-shot .m { max-width: 150px; }
.ck-shot.only-m img { max-width: 260px; }
.ck-no { font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.ck-tx h3 { margin-top: 8px; font-size: 22px; line-height: 1.45; font-weight: 600; }
.ck-tx > p:not(.ck-no) { margin-top: 12px; color: var(--ink-2); }
.ck-fix { margin-top: 20px; padding: 14px 16px; background: var(--white); border-left: 2px solid var(--gold); font-size: 15px; color: var(--ink-2); }
.ck-fix b { color: var(--ink); margin-right: 8px; }
.keep { border-top: 1px solid var(--ink); }
.keep > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.keep dt { font-weight: 600; }
.keep dd { color: var(--ink-2); }
.plain li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.plain li b { color: var(--ink); margin-right: 8px; }
.plain { border-top: 1px solid var(--ink); }
.quote { border-top: 1px solid var(--ink); }
.quote li { display: flex; gap: 16px; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.quote li span:last-child { white-space: nowrap; font-weight: 600; }
.quote li.sum { font-size: 17px; font-weight: 600; border-bottom-color: var(--ink); }
.quote-total { margin-top: 32px; padding: 24px 28px; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between; }
.quote-total strong { font-size: 28px; font-weight: 600; color: var(--gold); }
.h3s { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.small-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* ── 태블릿 이하 ── */
@media (max-width: 1080px) {
  .hd-nav { gap: 18px; font-size: 14px; }
  .hd-tel { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-in { gap: 40px; }
  .tl-row { grid-template-columns: 220px minmax(0, 1fr) 180px; gap: 24px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 24px; }
  /* 헤더: 로고 + 「메뉴」 버튼 (아임웹 기본 모바일 메뉴가 대신함) */
  .hd-in { height: 60px; gap: 12px; }
  .hd-logo img { height: 30px; }
  .hd-right { display: none; }
  .menu-btn { display: block; }
  .hd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; flex-direction: column; gap: 0; margin: 0; background: var(--white); border-bottom: 1px solid var(--line); font-size: 16px; }
  .hd-nav.open { display: flex; }
  .hd-nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .hd { position: relative; }
  .sian-band .wrap { justify-content: flex-start; }
  .sian-band .pc { display: none; }
  .promo { font-size: 13px; }
  /* 첫 화면: 글 → 버튼 → 사진 */
  .hero { padding: 36px 0 48px; }
  .hero-in, .consult-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 16px; }
  .hero .btn-row { margin-top: 24px; }
  .hero-fig { margin: 0 -20px; }
  .hero-fig .cap { padding-left: 20px; padding-right: 20px; }
  .cols { gap: 32px 16px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .stat, .glance-item { padding: 20px 0; }
  .stat:nth-child(odd), .glance-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3), .glance-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 14px; }
  .glance-item dd { font-size: 15px; }
  .ledger-cols { grid-template-columns: minmax(0, 1fr); }
  .teacher .ph { max-width: none; }
  .form { padding: 24px 20px; }
  .tl-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .tl-fig { max-width: 260px; }
  .crumb .wrap { flex-direction: column; }
  .ck-top { padding: 40px 0 16px; }
  .ck-top h1 { font-size: 26px; }
  .ck-list > li { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .ck-tx h3 { font-size: 20px; }
  .keep > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  /* 하단 고정 줄: 본문을 가리지 않게 body 아래에 같은 높이만큼 여백 */
  body { padding-bottom: 56px; }
  .bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 56px; background: var(--white); border-top: 1px solid rgba(26, 26, 26, .3); }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; border-left: 1px solid var(--line); }
  .bar a:first-child { border-left: 0; }
  .bar a img { width: 18px; height: 18px; }
  .bar a.bar-gold { background: var(--gold); border-left: 0; }
}
@media (max-width: 560px) {
  /* 좁은 휴대폰: 과정 카드 · 수업 과정 · 6단계는 한 칸씩 */
  .cols-1m { grid-template-columns: minmax(0, 1fr); }
  .card .ph.r43 { aspect-ratio: 3 / 2; }
  .f-two { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 0 16px; }
  .btn-long { font-size: 14px; padding: 0 12px; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .board li a { grid-template-columns: minmax(0, 1fr) auto; }
  .board li a .b-cat { grid-column: 1 / -1; margin-bottom: -8px; }
  .quote-total strong { font-size: 24px; }
  .ck-shot .m { max-width: 110px; }
}
/* 상담 구간 안의 제목 묶음은 아래 여백 없이 */
.consult .sec-head { margin-bottom: 0; }
/* 하단 고정 줄이 없는 쪽(check)은 아래 여백도 없음 */
body.no-bar { padding-bottom: 0; }
/* 수업 과정 4칸: 표제란이 한 줄이든 두 줄이든 제목 높이가 같게 */
@media (min-width: 561px) { .step .cap { min-height: 61px; } }
