@charset "utf-8";
/* ===== 서브 페이지 (올댓뷰티 서브 레이아웃 기준) ===== */
.page_wrap.sub { padding-top: calc(var(--topnav-h) + var(--header-h)); }

/* ---------- 서브 상단 (텍스트 + 이미지) ---------- */
.sub-top { background: linear-gradient(180deg, #f7f7f7 0%, #fff 100%); }
.sub-top__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; min-height: 560px; padding-top: 50px !important; padding-bottom: 50px !important; }
.crumb { font-size: 13px; color: var(--c-mute); margin-bottom: 18px; }
.crumb a:hover { text-decoration: underline; }
.sub-top h1 { font-size: 56px; font-weight: 900; line-height: 1.15; letter-spacing: -0.045em; }
.sub-top__lead { font-size: 18px; color: #444; margin: 18px 0 30px; }
.sub-top__img { aspect-ratio: 3 / 2; border-radius: 20px; }
.badge2 { display: inline-block; font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 20px; background: #111; color: #fff; margin-bottom: 12px; }
.news .badge2 { background: #f1f1f1; color: #333; margin-bottom: 8px; }

/* ---------- 2차 탭 메뉴 ---------- */
.sub-tab { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #fff; position: sticky; top: var(--header-h); z-index: 50; }
body:not(.scroll_down) .sub-tab { top: calc(var(--topnav-h) + var(--header-h)); }
.sub-tab .inner { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sub-tab .inner::-webkit-scrollbar { display: none; }
.sub-tab a { flex: 0 0 auto; padding: 16px 22px; font-size: 15px; font-weight: 700; color: #777; position: relative; }
.sub-tab a.on { color: var(--c-text); }
.sub-tab a.on::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--c-text); }
.sub-tab--campus a { padding: 14px 12px; font-size: 14px; }
.sub-tab--campus a.on::after { left: 12px; right: 12px; }

/* ---------- 섹션 ---------- */
.container.sub { display: block; }
.sec { padding: 90px 0 0; scroll-margin-top: 140px; }
.sec .wrap, .cta .wrap { max-width: var(--inner); margin: 0 auto; }
@media (max-width: 1240px) { .sec .wrap, .cta .wrap, .sub-tuition .inner { padding: 0 20px; } }
.sec-head { margin-bottom: 30px; }
.eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--c-point); margin-bottom: 6px; }
.sec h2 { font-size: 44px; font-weight: 900; line-height: 1.2; letter-spacing: -0.04em; }
.sec h2 br { display: inline; }
.lead { color: var(--c-sub); margin-top: 10px; font-size: 16px; }
.sec p { color: #333; }
.mt3 { margin-top: 14px; } .mt4 { margin-top: 22px; } .mt5 { margin-top: 32px; } .mt6 { margin-top: 48px; }
.note { font-size: 14px; color: var(--c-sub); }
.center-txt { text-align: center; }
.hi { color: var(--c-point); font-weight: 800; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }

/* 그리드 */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.ph--1x1 { aspect-ratio: 1 / 1; border-radius: 12px; }
.ph--fit { aspect-ratio: 4 / 5; border-radius: 12px; }
.g-2 > div > .ph { aspect-ratio: 1 / 1; border-radius: 16px; }
.gallery .ph { border-radius: 10px; }

/* 카드 */
.card { border: 1px solid var(--c-line); border-radius: 14px; padding: 30px 28px; background: #fff; transition: .25s; }
.card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.06); transform: translateY(-3px); }
.card .ic { width: 56px; height: 56px; border-radius: 50%; background: #f4f4f4; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.card p { color: var(--c-sub); font-size: 14.5px; }
.card--flat { background: var(--c-bg2); border-color: transparent; text-align: center; }
.card--flat .ic { margin: 0 auto 14px; background: #fff; }
.sec--tint { }

/* 강사 */
.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard .cap { margin-top: 14px; font-size: 17px; }
.tcard .cap b { font-weight: 900; }
.sheets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sheet .ph { aspect-ratio: 1200 / 1700; border-radius: 12px; }

/* 과정 카드 (crs2) */
.crs2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.crs2 { border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; background: #fff; scroll-margin-top: 140px; }
.crs2-face { position: relative; background: #111; color: #fff; padding: 30px 30px 26px; display: flex; align-items: center; gap: 16px; }
.crs2--hi .crs2-face { background: var(--c-point); }
.crs2-icon { font-size: 34px; }
.crs2-badge { position: absolute; right: 24px; top: 24px; font-size: 12px; font-weight: 800; background: #fff; color: #111; padding: 3px 12px; border-radius: 20px; }
.crs2-ttl b { display: block; font-size: 26px; font-weight: 900; }
.crs2-ttl span { font-size: 13px; opacity: .75; }
.crs2-detail { padding: 26px 30px 30px; }
.crs2-lead { font-size: 19px; font-weight: 900; margin-bottom: 16px; }
.crs2-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.crs2-cols h4 { font-size: 14px; font-weight: 900; margin-bottom: 8px; }
.crs2-cols li, .bullets li, .box ul li, .acc-a li { position: relative; padding-left: 14px; margin-bottom: 5px; font-size: 14.5px; }
.crs2-cols li::before, .bullets li::before, .box ul li::before, .acc-a li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-point); }
.crs2-note { font-size: 13.5px; color: var(--c-sub); border-top: 1px dashed #ddd; padding-top: 14px; margin: 16px 0 18px; }

/* 표 */
.tbl-wrap { overflow-x: auto; border-top: 2px solid #111; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--c-line); padding: 14px 16px; text-align: center; vertical-align: middle; }
.tbl thead th { background: var(--c-bg2); font-weight: 900; }
.tbl tbody th { font-weight: 800; background: #fcfcfc; }

/* 아코디언 */
.acc { border-bottom: 1px solid var(--c-line); }
.acc:first-child { border-top: 2px solid #111; }
.acc-q { width: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 6px; text-align: left; font-size: 17px; font-weight: 800; }
.acc-q .no { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.acc-q .tt { flex: 1; }
.acc-q .ar { transition: transform .25s; font-size: 18px; color: #999; }
.acc.is-on .acc-q .ar { transform: rotate(180deg); }
.acc-a { display: none; }
.acc.is-on .acc-a { display: block; }
.acc-a .in { padding: 0 6px 22px 50px; color: #444; }

/* 새소식 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news { display: block; border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; background: #fff; transition: .25s; }
.news:hover { box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.news-thumb .ph { aspect-ratio: 16 / 10; }
.news-body { padding: 18px 20px 20px; }
.news-body h3 { font-size: 17px; font-weight: 900; line-height: 1.4; }
.news-body p { font-size: 14px; color: var(--c-sub); margin-top: 6px; }
.foot2 { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--c-mute); }
.foot2 b { color: var(--c-text); }
.news-more, .pager { display: none; }

/* 캠퍼스 목록 */
.camp-group { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--c-line); }
.camp-group:first-child { border-top: 2px solid #111; }
.camp-region { font-size: 20px; font-weight: 900; }
.camps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.camp { display: flex; gap: 10px; padding: 16px 18px; border-radius: 10px; background: var(--c-bg2); transition: .2s; }
.camp:hover { background: #111; color: #fff; }
.camp:hover small, .camp:hover .go { color: #ddd; }
.camp b { display: block; font-weight: 800; }
.camp small { display: block; font-size: 13px; color: var(--c-sub); }
.camp em { font-style: normal; }
.camp .go { display: block; font-size: 12.5px; font-weight: 700; color: var(--c-point); margin-top: 4px; }

/* 박스 */
.box { border-radius: 12px; background: var(--c-bg2); padding: 22px 24px; }
.box > b { display: block; font-size: 16px; margin-bottom: 10px; }
.place { display: flex; flex-direction: column; gap: 3px; border-left: 4px solid #111; background: var(--c-bg2); padding: 18px 22px; margin: 18px 0; border-radius: 0 10px 10px 0; }
.place b { font-size: 16.5px; }
.place span { color: #444; font-size: 14.5px; }

/* 기사형 (캠퍼스 · 교습비 · 개인정보 · 전체 기사) */
.art { max-width: 900px; margin: 0 auto; }
.art--wide { max-width: var(--inner); }
.art > h2 { font-size: 30px; font-weight: 900; margin: 56px 0 14px; padding-top: 30px; border-top: 1px solid var(--c-line); letter-spacing: -0.03em; }
.art > h3, .art h3 { font-size: 19px; font-weight: 900; margin: 22px 0 10px; }
.art > p { margin: 10px 0; color: #333; line-height: 1.8; }
.art ul:not([class]), .art ol:not([class]) { margin: 10px 0; }
.art ul:not([class]) li { position: relative; padding-left: 14px; margin-bottom: 4px; }
.art ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--c-point); }
.art-back { margin-top: 40px; text-align: center; }
.cp-links li { border-bottom: 1px solid var(--c-line); }
.cp-links li:first-child { border-top: 1px solid var(--c-line); }
.cp-links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 6px; }
.cp-links a:hover b { text-decoration: underline; }
.cp-links b { font-weight: 700; }
.cp-links span { color: var(--c-mute); font-size: 13.5px; white-space: nowrap; }
.cp-map { position: relative; margin-top: 30px; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; background: var(--c-bg3); }
.cp-map iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; }
.cp-map-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.cp-sibs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cp-sibs a { padding: 16px 18px; border-radius: 10px; background: var(--c-bg2); display: flex; justify-content: space-between; }
.cp-sibs a:hover { background: #111; color: #fff; }
.cp-sibs span { color: var(--c-mute); font-size: 13.5px; }
.art-faq { margin-top: 10px; }

/* 간편 상담 바 (캠퍼스) */
.qform { margin-top: 30px; }
.qform-bar { background: #111; color: #fff; border-radius: 14px; padding: 22px 24px; }
.qf-row { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr auto; gap: 10px; align-items: center; }
.qf-lead b { display: block; font-size: 17px; }
.qf-lead span { font-size: 12.5px; opacity: .7; }
.qform .field input:not([type=checkbox]), .qform .field select { width: 100%; height: 46px; border-radius: 6px; border: 0; padding: 0 12px; color: #111; }
.qform .btn-fill { background: var(--c-point); height: 46px; }
.qf-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; }
.qf-foot .agree, .qf-foot label { color: #ccc; }
.qf-foot .agree { display: flex; gap: 8px; align-items: flex-start; }
.qf-foot .agree input { margin-top: 4px; accent-color: var(--c-point); }
.qf-foot .agree a { text-decoration: underline; }
.qf-safe { color: #aaa; }
.msg, .form-err, .form-done { display: none; }

/* 상담 폼 (contact) */
.form { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 30px; }
.form .field { margin-bottom: 14px; }
.form .agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--c-sub); }
.form .agree input { margin-top: 4px; }
.form .field > label { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 6px; }
.form .field input:not([type=checkbox]), .form .field select, .form .field textarea { width: 100%; height: 48px; border: 1px solid #dcdcdc; border-radius: 6px; padding: 0 14px; background: #fff; }
.form .field textarea { height: 110px; padding: 12px 14px; }
.req { color: var(--c-point); }
.form .btn { width: 100%; }

/* 장학 카운트다운 */
.cdbig { background: #111; color: #fff; border-radius: 16px; padding: 28px; text-align: center; }
.cdbig-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; background: var(--c-point); padding: 4px 14px; border-radius: 20px; }
.cdbig .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.cdbig-lead { color: #ccc !important; margin-top: 12px; }
.cdbig-nums { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 8px 0; }
.cdbig-nums b { font-size: 44px; font-weight: 900; font-variant-numeric: tabular-nums; }
.cdbig-nums .u span { font-size: 13px; margin-left: 2px; color: #aaa; }
.cdbig-note { color: #bbb !important; font-size: 13.5px; }
.cdbig-go { display: inline-block; margin-top: 14px; font-weight: 800; color: #7fe3df; }

/* 후기 카드 (메인과 동일) */
.sl-nav--r { justify-content: flex-end; margin: -10px 0 14px; }
.itv-card { width: 224px; }
.itv-card .ph { width: 224px; aspect-ratio: 224 / 260; border-radius: 10px; }
.itv-card__name { margin-top: 14px; font-size: 17px; font-weight: 900; }
.itv-card__tag { font-size: 13px; color: var(--c-point); font-weight: 700; }
.itv-card p { margin-top: 6px; font-size: 14px; color: #444; }

/* 하단 CTA (Free Counseling) */
.cta { padding: 110px 0 0; }
.cta-in { background: #111; color: #fff; border-radius: 22px; padding: 60px 40px; text-align: center; }
.cta-in .eyebrow { color: #7fe3df; }
.cta-in h2 { font-size: 36px; font-weight: 900; line-height: 1.3; letter-spacing: -0.03em; }
.cta-in > p { color: #ccc; margin-top: 10px; }
.cta-in .btn-row { justify-content: center; margin-top: 26px; }
.cta-in .btn-fill { background: var(--c-point); }
.cta-in .btn-line { background: transparent; color: #fff; border-color: #555; }
.cta-tel { margin-top: 16px; font-size: 14px; color: #aaa !important; }

/* 빠른 상담 (올댓 sub-tuition) */
.sub-tuition { padding: 100px 0 0; }
.sub-tuition__box { border: 1px solid var(--c-line); border-radius: 20px; padding: 44px 50px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--c-bg2); }
.sub-tuition__head h2 { font-size: 30px; font-weight: 900; }
.sub-tuition__head p { color: var(--c-sub); }
.sub-tuition__form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.sub-tuition__form .btn { height: 48px; }
.sub-tuition__form .agree, .sub-tuition__form .form-safe { grid-column: 1 / -1; text-align: left; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .sub-top__in { grid-template-columns: 1fr; min-height: 0; gap: 30px; padding-top: 36px !important; }
  .sub-top h1 { font-size: 38px; }
  .sub-top__lead { font-size: 16px; }
  .sub-tab .inner { justify-content: flex-start; }
  .sec { padding-top: 64px; }
  .sec h2 { font-size: 32px; }
  .g-2 { grid-template-columns: 1fr; gap: 30px; }
  .g-3, .news-grid { grid-template-columns: 1fr 1fr; }
  .g-4, .teachers { grid-template-columns: 1fr 1fr; }
  .crs2-grid { grid-template-columns: 1fr; }
  .camp-group { grid-template-columns: 1fr; gap: 12px; }
  .qf-row { grid-template-columns: 1fr 1fr; }
  .qf-lead { grid-column: 1 / -1; }
  .sub-tuition__box { grid-template-columns: 1fr; padding: 30px 20px; gap: 20px; }
}
@media (max-width: 600px) {
  .sub-top h1 { font-size: 30px; }
  .sec h2 { font-size: 26px; }
  .art > h2 { font-size: 23px; }
  .g-3, .news-grid, .camps, .cp-sibs, .crs2-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 24px 20px; }
  .cta-in { padding: 40px 20px; } .cta-in h2 { font-size: 24px; }
  .qf-row { grid-template-columns: 1fr; }
  .sub-tuition__form { grid-template-columns: 1fr; }
  .cp-map { aspect-ratio: 1 / 1; }
  .itv-card, .itv-card .ph { width: 72vw; max-width: 260px; }
}
