/**
 * site.css — plan3 · Figma header / main_visual
 */

/* ─── Header — Figma 15137:3808 ─── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
  transition:
    transform 0.42s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform;
}

#header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

html.menu-opened #header.is-hidden {
  transform: none;
  pointer-events: auto;
}

#wrapper {
  --sub-gutter: min(240px, 12.5vw);
  padding-top: var(--header-bar-height);
}

/* 메인 — 헤더 투명 · 비주얼을 헤더 아래부터 풀폭(상단 0) */
#wrapper:has(> #container > .main-visual) {
  padding-top: 0;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid) {
  background: transparent;
  border-bottom: none;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid) .header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid) .contain.header-bar {
  background: transparent;
}

html.menu-opened #wrapper:has(> #container > .main-visual) #header,
html.menu-opened #wrapper:has(> #container > .main-visual) #header .header-bar,
html.menu-opened #wrapper:has(> #container > .main-visual) #header .contain.header-bar {
  background: #fff;
}

/* Figma 15478:8117 — 위 스크롤 시 화이트 헤더 바 */
#header.is-solid {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

#header.is-solid .header-bar,
#header.is-solid .contain.header-bar {
  background: #fff;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid) {
  border-bottom: none;
}

/* 메인 투명 헤더 — GNB 1depth 흰색 · 헤더/GNB 호버 시 화이트 바 + 다크 GNB */
#wrapper:has(> #container > .main-visual) #header:not(.is-solid) #gnb > ul > li > a {
  color: #fff;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid) #gnb > ul > li.active > a {
  color: #fff;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover),
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within),
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover {
  background: #fff;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover:not(:has(#gnb:hover)):not(:has(#gnb:focus-within)),
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover:not(:has(#gnb:hover)):not(:has(#gnb:focus-within)) {
  border-bottom: 1px solid #ddd;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover .header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover .contain.header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover) .header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover) .contain.header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within) .header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within) .contain.header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover .header-bar,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover .contain.header-bar {
  background: #fff;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover #gnb > ul > li > a,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover) #gnb > ul > li > a,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within) #gnb > ul > li > a,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover #gnb > ul > li > a {
  color: var(--color-text-heading);
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover #gnb > ul > li.active > a,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover) #gnb > ul > li.active > a,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within) #gnb > ul > li.active > a,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover #gnb > ul > li.active > a {
  color: var(--color-primary);
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover .logo-w,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover) .logo-w,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within) .logo-w,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover .logo-w {
  display: none;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid):hover .logo-default,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:hover) .logo-default,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid):has(#gnb:focus-within) .logo-default,
#wrapper:has(> #container > .main-visual) #header:not(.is-solid).is-header-hover .logo-default {
  display: block;
}

/* 데스크톱 GNB — 2depth 16px · 호버 텍스트 우측 원형 포인트 */
@media (min-width: 1101px) {
  /* 1depth만 있을 때 — 헤더 맨 아래 #ddd */
  #header:hover {
    border-bottom: 1px solid #ddd;
  }

  /* 2depth 펼침 — #header 하단 border는 메가메뉴 끝에 붙어 안 보임 → 1depth 행 바로 아래 전폭 선 */
  #header:has(#gnb:hover),
  #header:has(#gnb:focus-within) {
    border-bottom: none;
  }

  #header:has(#gnb:hover) .header-bar,
  #header:has(#gnb:focus-within) .header-bar {
    position: relative;
  }

  #header:has(#gnb:hover) .header-bar::after,
  #header:has(#gnb:focus-within) .header-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--header-band-y) * 2 + var(--header-band-h));
    height: 1px;
    background: #ddd;
    pointer-events: none;
    z-index: 6;
  }

  /* GNB — 1depth 아래 20px(=상단과 동일) 후 2depth · SNS는 패널 하단 */
  #gnb {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
  }

  #gnb > ul {
    width: 100%;
    flex: 0 0 auto;
  }

  /* 1depth — 하단 20px(상단 padding과 대칭) 후 구분선 */
  #header:has(#gnb:hover) #gnb > ul > li > a,
  #header:has(#gnb:focus-within) #gnb > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--header-band-h);
    margin: 0 0 var(--header-band-y);
    box-sizing: border-box;
  }

  #header:has(#gnb:hover) #gnb .submenu,
  #header:has(#gnb:focus-within) #gnb .submenu {
    margin-top: 0;
  }

  #header:has(#gnb:hover) #gnb .submenu > ul,
  #header:has(#gnb:focus-within) #gnb .submenu > ul {
    padding: var(--header-band-y) 6px var(--header-band-y);
  }

  /* 2depth 펼침 — 로고·CTA = 1depth 행(48+하단20)과 세로 중심 맞춤 */
  #header:has(#gnb:hover) .sitelogo,
  #header:has(#gnb:focus-within) .sitelogo,
  #header:has(#gnb:hover) .header-actions,
  #header:has(#gnb:focus-within) .header-actions {
    display: flex;
    align-items: center;
    align-self: flex-start;
    min-height: var(--header-band-h);
    box-sizing: border-box;
  }

  #gnb .submenu > ul > li > a {
    position: relative;
    display: inline-block;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 12px 10px 0;
    text-decoration: none;
    vertical-align: top;
  }

  /* 호버 — 글자 끝 우측·살짝 위(대각 상단) */
  #gnb .submenu > ul > li > a::after {
    content: "";
    position: absolute;
    top: 0.42em;
    left: 100%;
    margin-left: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0;
    transform: translateY(-72%) scale(0.5);
    transform-origin: center center;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  #gnb .submenu > ul > li > a:hover,
  #gnb .submenu > ul > li > a:focus-visible {
    color: var(--color-primary);
    text-decoration: none;
  }

  #gnb .submenu > ul > li > a:hover::after,
  #gnb .submenu > ul > li > a:focus-visible::after {
    opacity: 1;
    transform: translateY(-72%) scale(1);
  }
}

#contArea:not(.wide) {
  max-width: none;
  padding-left: var(--sub-gutter);
  padding-right: var(--sub-gutter);
}

@media (max-width: 1023px) {
  #wrapper {
    --sub-gutter: 40px;
  }
}

@media (max-width: 767px) {
  #wrapper {
    --sub-gutter: 20px;
  }
}

body.website-layout {
  background: #fff;
}

.sub-head {
  padding: clamp(64px, 6.25vw, 120px) var(--sub-gutter) clamp(56px, 5.2084vw, 100px);
  box-sizing: border-box;
}

.sub-head__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6667vw, 32px);
  word-break: keep-all;
}

.sub-head__title {
  margin: 0;
  font-size: clamp(36px, 3.3334vw, 64px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
}

.sub-head__desc {
  margin: 0;
  font-size: clamp(17px, 1.1459vw, 22px);
  font-weight: 400;
  line-height: 1.64;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
}

@media (max-width: 1023px) {
  .sub-head {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  .sub-head {
    padding: 48px 20px 40px;
  }

  .sub-head__title {
    font-size: 32px;
    line-height: 40px;
  }

  .sub-head__desc {
    font-size: 16px;
    line-height: 26px;
  }
}

/* 인사말 */
.greeting {
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.greeting em {
  font-style: normal;
  color: #ce0d0d;
}

@media (min-width: 768px) {
  .greeting-hero__title {
    white-space: nowrap;
  }
}

/* 1. 대표 이미지 — Figma 15351:5054 · 가로 full · 세로 720px(1920+) */
.greeting-hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1920 / 720;
  padding: 0 var(--sub-gutter) clamp(40px, 5.2084vw, 100px);
  overflow: hidden;
}

@media (min-width: 1920px) {
  .greeting-hero__stage {
    aspect-ratio: auto;
    height: 720px;
  }
}

.greeting-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.greeting-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 38%;
}

.greeting-hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(26px, 3.3334vw, 64px);
  font-weight: 600;
  line-height: clamp(32px, 4.0625vw, 78px);
  letter-spacing: -0.02em;
  color: #fff;
  word-break: keep-all;
}

/* 2. 1982 + 본문 — Figma 15353:5414 */
.greeting-story {
  padding: clamp(80px, 5.2084vw, 100px) var(--sub-gutter) 0;
  box-sizing: border-box;
}

.greeting-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 4.1667vw, 80px);
  align-items: start;
}

.greeting-story__head {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.0834vw, 40px);
}

.greeting-story__year {
  margin: 0;
  font-size: clamp(72px, 6.875vw, 132px);
  font-weight: 900;
  line-height: 1.105;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px #ce0d0d;
}

.greeting-story__title {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
}

.greeting-story__col--body {
  padding-top: clamp(0px, 9.6875vw, 186px);
}

.greeting-story__content {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3.125vw, 60px);
}

.greeting-story__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.0834vw, 40px);
}

.greeting-story__lead {
  margin: 0;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.583;
  letter-spacing: -0.02em;
  color: var(--color-text-body);
}

.greeting-story__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.greeting-story__body p {
  margin: 0;
  font-size: clamp(16px, 1.0417vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
}

.greeting-story__closing-line {
  margin: 0;
}

.greeting-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.greeting-sign__role {
  margin: 0;
  font-size: clamp(16px, 1.0417vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: var(--color-text-body);
}

.greeting-sign__mark {
  display: block;
  width: clamp(78px, 5.1042vw, 98px);
  height: auto;
  aspect-ratio: 98 / 64;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .greeting-story {
    padding-left: 40px;
    padding-right: 40px;
  }

  .greeting-story__grid {
    grid-template-columns: 1fr;
  }

  .greeting-story__col--body {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .greeting-hero__stage {
    aspect-ratio: auto;
    height: auto;
    min-height: 320px;
    padding: 28px 16px 24px;
  }

  .greeting-hero__stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: 0;
    height: 46%;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.5), rgba(20, 20, 20, 0));
    pointer-events: none;
  }

  .greeting-hero__img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 62% 42%;
  }

  .greeting-hero__title {
    font-size: 26px;
    line-height: 35px;
    text-wrap: balance;
    white-space: normal;
  }

  .greeting-story {
    padding: 64px 20px 0;
  }

  .greeting-story__year {
    font-size: 72px;
  }

  .greeting-story__title {
    font-size: 26px;
    line-height: 34px;
  }

  .greeting-story__lead {
    font-size: 17px;
    line-height: 28px;
  }

  .greeting-story__body p {
    font-size: 16px;
    line-height: 28px;
  }
}

/* 소수정예시스템 */
.sys {
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.sys em {
  font-style: normal;
  color: #ce0d0d;
}

.sys-eyebrow {
  margin: 0;
  font-size: clamp(14px, 0.9375vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ce0d0d;
}

.sys-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(40px, 3.6459vw, 70px);
}

.sys-title {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-heading);
}

/* 1. 히어로 */
.sys-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 33.3334vw, 640px);
  padding: 0 var(--sub-gutter);
  overflow: hidden;
  box-sizing: border-box;
}

.sys-hero__media {
  position: absolute;
  inset: 0;
}

.sys-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.8) 32%, rgba(255, 255, 255, 0) 62%);
}

.sys-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 70% 50%;
}

.sys-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.sys-hero__title {
  margin: 0;
  font-size: clamp(32px, 2.9167vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-heading);
}

.sys-hero__desc {
  margin: 8px 0 0;
  font-size: clamp(17px, 1.1459vw, 22px);
  line-height: 1.64;
  color: var(--color-text-body);
}

/* 2. 핵심 수치 */
.sys-stats {
  padding: 0 var(--sub-gutter);
  background: #0b0b0c;
  color: #fff;
}

.sys-stats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.sys-stats__item {
  padding: clamp(40px, 3.125vw, 60px) 0;
  text-align: center;
}

.sys-stats__item + .sys-stats__item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.sys-stats__num {
  margin: 0;
  font-size: clamp(48px, 4.1667vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.sys-stats__num span {
  margin-left: 4px;
  font-size: 0.4em;
  font-weight: 600;
  color: #ff5a5a;
}

.sys-stats__label {
  margin: 16px 0 0;
  font-size: clamp(15px, 0.9375vw, 18px);
  color: rgba(255, 255, 255, 0.7);
}

/* 3. 반 구성 */
.sys-classes {
  padding: clamp(100px, 7.2917vw, 140px) var(--sub-gutter);
}

.sys-class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.0417vw, 20px);
}

.sys-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 1.6667vw, 32px);
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sys-card:hover {
  border-color: #2c2c2c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.sys-card__badge {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 40px;
  background: #ce0d0d;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #fff;
}

.sys-card--prep .sys-card__badge {
  background: #2c2c2c;
}

.sys-card--junior .sys-card__badge {
  border: 1px solid #2c2c2c;
  background: #fff;
  color: var(--color-text-heading);
}

.sys-card__name {
  margin: 14px 0 0;
  font-size: clamp(22px, 1.4584vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-heading);
}

.sys-card__cap {
  margin: 16px 0 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3e3e3;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-body);
}

.sys-card__cap strong {
  margin-right: 2px;
  font-size: clamp(44px, 2.9167vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text-heading);
}

.sys-card__cap span {
  margin-left: 6px;
  color: var(--color-text-muted);
}

.sys-card__label {
  margin: 18px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.sys-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(18px, 1.4584vw, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.sys-card__tags li {
  padding: 6px 12px;
  border-radius: 4px;
  background: #f4f4f4;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-text-body);
}

/* 4. 왜 강남고도 */
.sys-why {
  padding: clamp(100px, 7.2917vw, 140px) var(--sub-gutter) 0;
  background: #f7f7f7;
}

.sys-why__list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 5.2084vw, 100px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sys-why__item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 5.2084vw, 100px);
  align-items: center;
}

.sys-why__item:nth-child(even) .sys-why__img {
  order: 2;
}

.sys-why__img {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #e9e9e9;
}

.sys-why__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sys-why__item:hover .sys-why__img img {
  transform: scale(1.04);
}

.sys-why__num {
  display: block;
  font-size: clamp(48px, 4.1667vw, 80px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px #ce0d0d;
}

.sys-why__title {
  margin: clamp(20px, 1.6667vw, 32px) 0 0;
  font-size: clamp(24px, 1.875vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-heading);
}

.sys-why__title small {
  font-size: inherit;
  font-weight: 400;
  color: var(--color-text-body);
}

.sys-why__desc {
  margin: clamp(20px, 1.6667vw, 32px) 0 0;
  padding-top: clamp(20px, 1.6667vw, 32px);
  border-top: 1px solid #d9d9d9;
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.sys-why__desc strong {
  font-weight: 700;
  color: #ce0d0d;
}

@media (max-width: 1023px) {
  .sys-class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sys-why__item {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sys-why__item:nth-child(even) .sys-why__img {
    order: 0;
  }
}

@media (max-width: 767px) {
  .sys-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
  }

  .sys-hero__media {
    position: relative;
    aspect-ratio: 16 / 10;
  }

  .sys-hero__media::after {
    display: none;
  }

  .sys-hero__copy {
    padding: 40px 20px 48px;
  }

  .sys-hero__title br:first-of-type {
    display: none;
  }

  .sys-stats__list {
    grid-template-columns: 1fr;
  }

  .sys-stats__item {
    padding: 28px 0;
  }

  .sys-stats__item + .sys-stats__item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .sys-classes {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .sys-why {
    padding-top: 72px;
    padding-bottom: 0;
  }

  .sys-class-grid {
    grid-template-columns: 1fr;
  }

  .sys-card__tags li {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sys-card,
  .sys-why__img img {
    transition: none;
  }

  .sys-card:hover,
  .sys-why__item:hover .sys-why__img img {
    transform: none;
  }
}

/* 입시반 */
.exm {
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.exm em {
  font-style: normal;
  color: #ce0d0d;
}

.exm-eyebrow {
  margin: 0;
  font-size: clamp(14px, 0.9375vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ce0d0d;
}

.exm-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: clamp(40px, 3.6459vw, 70px);
}

.exm-title {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text-heading);
}

/* 과정 탭 */
.exm-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 var(--sub-gutter);
  margin-bottom: clamp(50px, 4.1667vw, 80px);
}

.exm-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid #ddd;
  border-radius: 26px;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-muted);
  box-sizing: border-box;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.exm-tab.is-active {
  border-color: #1c1c1c;
  background: #1c1c1c;
  font-weight: 600;
  color: #fff;
}

.exm-tab.is-unlinked {
  cursor: default;
}

/* 1. 인트로 */
.exm-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 3.125vw, 60px);
  padding: 0 var(--sub-gutter) 0;
}

.exm-intro__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exm-intro__title {
  margin: 0;
  font-size: clamp(30px, 2.5vw, 48px);
  font-weight: 600;
  line-height: 1.35;
}

.exm-intro__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 1.25vw, 24px);
}

.exm-info {
  padding: clamp(28px, 2.0834vw, 40px);
  border-radius: 8px;
  background: #f7f7f7;
}

.exm-info__title {
  margin: 0 0 clamp(20px, 1.4584vw, 28px);
  padding-bottom: 16px;
  border-bottom: 1px solid #1c1c1c;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

.exm-univ {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}

.exm-univ__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.exm-univ dt {
  padding-top: 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: #ce0d0d;
}

.exm-univ dd {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(106px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}

.exm-univ dd span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  height: 40px;
  box-sizing: border-box;
  padding: 0 16px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background: #fff;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text-heading);
}

.exm-info--time {
  display: flex;
  flex-direction: column;
  background: #0b0b0c;
  color: #fff;
}

.exm-info--time .exm-info__title {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.exm-time {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}

.exm-time__freq {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  text-align: center;
}

.exm-time__freq strong {
  font-size: clamp(30px, 2.0834vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.exm-time__freq span {
  font-size: 18px;
  line-height: 28px;
  color: #ff5a5a;
}

.exm-time__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(24px, 2.0834vw, 40px);
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.exm-time__list li {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.85);
}

.exm-time__list span {
  display: inline-block;
  min-width: 64px;
  margin-right: 12px;
  font-weight: 600;
  color: #fff;
}

/* 2. COMPOSED */
.exm-composed {
  padding: clamp(100px, 7.2917vw, 140px) var(--sub-gutter);
  background: #f7f7f7;
}

.exm-comp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.0417vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.exm-comp {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.0834vw, 40px) clamp(24px, 1.6667vw, 32px);
  border-radius: 8px;
  background: #fff;
}

.exm-comp__num {
  font-size: clamp(36px, 2.5vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: #ce0d0d;
}

.exm-comp__title {
  margin: 20px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e2e2;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 600;
  line-height: 1.4;
}

.exm-comp__list,
.exm-step__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.exm-comp__list li,
.exm-step__list li {
  position: relative;
  padding-left: 14px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-body);
}

.exm-comp__list li::before,
.exm-step__list li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ccc;
}

/* 3. PROGRAM */
.exm-program {
  padding: clamp(100px, 7.2917vw, 140px) var(--sub-gutter) 0;
}

.exm-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #1c1c1c;
  list-style: none;
}

.exm-step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4.1667vw, 80px);
  padding: clamp(32px, 2.5vw, 48px) 0;
  border-bottom: 1px solid #e2e2e2;
}

.exm-step__num {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  background: #ce0d0d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #fff;
}

.exm-step__title {
  margin: 16px 0 0;
  font-size: clamp(24px, 1.6667vw, 32px);
  font-weight: 600;
  line-height: 1.35;
}

.exm-step__en {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-muted);
}

.exm-step__lead {
  margin: 0;
  font-size: clamp(19px, 1.1459vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-text-heading);
}

.exm-step__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px clamp(20px, 2.0834vw, 40px);
}

/* 4. CTA */
.exm-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(80px, 5.2084vw, 100px) var(--sub-gutter) 0;
  background: #0b0b0c;
  text-align: center;
  color: #fff;
}

.exm-cta__title {
  margin: 0;
  font-size: clamp(28px, 2.0834vw, 40px);
  font-weight: 600;
  line-height: 1.35;
}

.exm-cta__desc {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.7);
}

.exm-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 56px;
  margin-top: 16px;
  padding: 0 32px;
  border-radius: 28px;
  background: #ce0d0d;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.3s ease;
}

.exm-cta__link:hover,
.exm-cta__link:focus-visible {
  background: #a90a0a;
}

@media (max-width: 1023px) {
  .exm-intro__info {
    grid-template-columns: minmax(0, 1fr);
  }

  .exm-comp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exm-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .exm-tabs {
    gap: 6px;
  }

  .exm-tab {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 8px;
    font-size: 14px;
  }

  .exm-univ__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .exm-univ dt {
    padding-top: 0;
  }

  .exm-univ dd {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }

  .exm-univ dd span {
    min-width: 90px;
    height: 36px;
    padding: 0 12px;
    font-size: 15px;
  }

  .exm-time__list li {
    font-size: 16px;
  }

  .exm-comp-grid,
  .exm-step__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .exm-comp__list li,
  .exm-step__list li {
    font-size: 16px;
    line-height: 26px;
  }

  .exm-comp__list li::before,
  .exm-step__list li::before {
    top: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exm-tab,
  .exm-cta__link {
    transition: none;
  }
}

/* 합격수기 */
.stp {
  padding: 0 var(--sub-gutter) 0;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.stp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: #0b0b0c;
  color: #fff;
}

.stp-feature__img {
  position: relative;
  min-height: clamp(400px, 28.125vw, 540px);
  margin: 0;
  overflow: hidden;
}

.stp-feature__img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 40% 30%;
}

.stp-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 4.1667vw, 80px);
}

.stp-feature__badge {
  align-self: flex-start;
  margin: 0;
  padding: 6px 14px;
  border-radius: 40px;
  background: #ce0d0d;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.02em;
}

.stp-feature__title {
  margin: clamp(20px, 1.6667vw, 32px) 0 0;
  font-size: clamp(26px, 2.0834vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.stp-feature__univ {
  margin: 20px 0 0;
  font-size: clamp(16px, 0.9375vw, 18px);
  font-weight: 600;
  color: #ff5a5a;
}

.stp-feature__univ span {
  margin-left: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.stp-feature__desc {
  margin: clamp(24px, 1.6667vw, 32px) 0 0;
  padding-top: clamp(24px, 1.6667vw, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.stp-feature__link {
  align-self: flex-start;
  margin-top: clamp(28px, 2.0834vw, 40px);
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 80px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.stp-feature__link:hover,
.stp-feature__link:focus-visible {
  border-color: #ce0d0d;
  background: #ce0d0d;
}

.stp-list {
  margin-top: clamp(72px, 5.2084vw, 100px);
}

.stp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1c1c1c;
}

.stp-toolbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stp-count {
  margin: 0;
  font-size: 15px;
  line-height: normal;
  letter-spacing: -0.03em;
  color: var(--color-text-body);
  white-space: nowrap;
}

.stp-select {
  width: auto;
  min-width: 94px;
  height: 44px;
  padding: 0 32px 0 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff url("/images/bbs/select.svg") no-repeat right 16px center / 12px auto;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: -0.03em;
  color: var(--color-text-body);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.stp-select:focus,
.stp-search__input:focus {
  border-color: #2c2c2c;
  outline: none;
}

.stp-search {
  display: flex;
  gap: 10px;
}

.stp-search__input {
  width: 300px;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text-heading);
}

.stp-search__btn {
  flex: none;
  width: 100px;
  height: 44px;
  border: 0;
  background: #555;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.stp-search__btn:hover,
.stp-search__btn:focus-visible {
  background: #2c2c2c;
}

.stp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.5625vw, 30px);
  margin: clamp(32px, 2.0834vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.stp-card[hidden] {
  display: none;
}

.stp-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(15px, 2.0834vw, 40px);
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stp-card__link:hover,
.stp-card__link:focus-visible {
  border-color: #2c2c2c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.stp-card__univ {
  align-self: flex-start;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #ce0d0d;
}

.stp-card__title {
  margin: 16px 0 0;
  font-size: clamp(20px, 1.25vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text-heading);
}

.stp-card__desc {
  display: -webkit-box;
  margin: 16px 0 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-muted);
}

.stp-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 24px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-muted);
}

.stp-card__meta span:first-child {
  font-weight: 600;
  color: var(--color-text-body);
}

.stp-card__desc + .stp-card__meta {
  border-top: 1px solid #eee;
}

.stp-card__desc {
  margin-bottom: 24px;
}

.stp-empty {
  margin: 40px 0 0;
  padding: 60px 0;
  background: #f7f7f7;
  font-size: 17px;
  text-align: center;
  color: var(--color-text-muted);
}

.stp-paging {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(48px, 3.125vw, 60px);
}

.stp-paging__arrows {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stp-paging__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.stp-paging__arrow svg {
  display: block;
  fill: none;
  stroke: #505050;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stp-paging__arrow:hover svg {
  stroke: #1c1c1c;
}

.stp-paging__nums {
  display: flex;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stp-paging__nums a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--color-text-body);
  transition: color 0.2s ease;
}

.stp-paging__nums a:hover {
  color: #ce0d0d;
}

.stp-paging__nums a.is-active {
  background: #f1f1f1;
  font-weight: 700;
  color: #ce0d0d;
}

.stp-paging__num.is-disabled,
.stp-paging__arrow.is-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #b0b0b0;
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.stp-paging__arrow.is-disabled svg {
  stroke: #c8c8c8;
}

@media (max-width: 1023px) {
  .stp-feature {
    grid-template-columns: 1fr;
  }

  .stp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .stp-feature__img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .stp-feature__body {
    padding: 32px 24px 40px;
  }

  .stp-feature__univ span {
    display: block;
    margin: 4px 0 0;
  }

  .stp-toolbar {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .stp-toolbar__left {
    justify-content: space-between;
  }

  .stp-search__input {
    flex: 1 1 0;
    width: auto;
  }

  .stp-paging {
    gap: 6px;
  }

  .stp-paging__arrows {
    gap: 0;
  }

  .stp-paging__arrow {
    width: 28px;
  }

  .stp-paging__nums {
    gap: 2px;
  }

  .stp-paging__nums li:nth-child(n + 6) {
    display: none;
  }

  .stp-paging__nums a {
    width: 34px;
    height: 34px;
  }

  .stp-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stp-card__link {
    transition: none;
  }

  .stp-card__link:hover,
  .stp-card__link:focus-visible {
    transform: none;
  }
}

/* 상담신청 폼 */

.inquiry {
  padding: 0 var(--sub-gutter) 0;
  box-sizing: border-box;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.inquiry-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inquiry-row {
  display: flex;
  gap: 30px;
}

.inquiry-row--first {
  padding-top: 30px;
  border-top: 1px solid #1c1c1c;
}

.inquiry-field {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
}

.inquiry-label {
  flex: 0 0 140px;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  color: var(--color-text-heading);
}

.inquiry-label .req {
  color: #ce0d0d;
}

.inquiry-input {
  flex: 1 1 0;
  min-width: 0;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.inquiry-input::placeholder {
  color: #a8a8a8;
  opacity: 1;
}

.inquiry-input:focus {
  border-color: #2c2c2c;
  outline: none;
}

.inquiry-textarea {
  height: 320px;
  padding: 20px;
  resize: vertical;
}

select.inquiry-input.inquiry-select {
  padding-right: 48px;
  cursor: pointer;
  background-color: #fff;
  background-image: url("/images/bbs/select.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px auto;
  -webkit-appearance: none;
  appearance: none;
}

select.inquiry-input.inquiry-select:invalid {
  color: #a8a8a8;
}

select.inquiry-input.inquiry-select option {
  color: var(--color-text-heading);
}

.inquiry-fields > .inquiry-field {
  flex: none;
}

.inquiry-field--radio {
  min-height: 60px;
}

.inquiry-radios {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  gap: 12px 30px;
  min-width: 0;
}

.inquiry-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text-body);
  cursor: pointer;
}

.inquiry-radio input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  background: url("/images/sub/radio.svg") center / 20px 20px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.inquiry-radio input:checked {
  background-image: url("/images/sub/radio-checked.svg");
}

.inquiry-radio input:focus-visible,
.inquiry-check__label input:focus-visible {
  outline: 2px solid #ce0d0d;
  outline-offset: 2px;
}

.inquiry-captcha {
  display: flex;
  gap: 10px;
}

.inquiry-captcha img {
  display: block;
  flex: none;
  width: 150px;
  height: 50px;
  border-radius: 4px;
  object-fit: fill;
  cursor: pointer;
  background: #fff;
}

.inquiry-captcha .inquiry-input {
  flex: 0 0 140px;
}

.inquiry-agree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

.inquiry-consent,
.inquiry-privacy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.inquiry-consent {
  align-items: center;
}

.inquiry-privacy__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 34px;
  color: var(--color-text-heading);
}

.inquiry-privacy__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 140px;
  padding: 15px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  box-sizing: border-box;
  overflow-y: auto;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-body);
}

.inquiry-privacy__box p {
  margin: 0;
}

.inquiry-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inquiry-check__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 30px;
  color: var(--color-text-body);
  cursor: pointer;
}

.inquiry-check__label input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff center / 12px 12px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.inquiry-check__label input:checked {
  border-color: #ce0d0d;
  background-color: #ce0d0d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.inquiry-check__more {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 12px;
  letter-spacing: -0.02em;
  color: var(--color-text-body);
  text-decoration: none;
  cursor: pointer;
}

.inquiry-submit {
  padding: 16px 40px;
  border: 0;
  border-radius: 80px;
  background: #2c2c2c;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 34px;
  letter-spacing: -0.02em;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.inquiry-submit:hover,
.inquiry-submit:focus-visible {
  background: #ce0d0d;
  transform: translateY(-3px);
}

@media (max-width: 1023px) {
  .inquiry {
    padding-left: 40px;
    padding-right: 40px;
  }

  .inquiry-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .inquiry {
    padding: 0 20px 80px;
  }

  .inquiry-form,
  .inquiry-fields,
  .inquiry-row {
    gap: 14px;
  }

  .inquiry-row--first {
    padding-top: 16px;
  }

  .inquiry-field {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .inquiry-field--radio {
    min-height: 0;
  }

  .inquiry-label {
    flex: none;
    font-size: 14px;
    line-height: 20px;
  }

  .inquiry-input {
    flex: none;
    height: 44px;
    padding: 0 12px;
    font-size: 15px;
    line-height: 42px;
  }

  select.inquiry-input.inquiry-select {
    padding-right: 36px;
    background-position: right 12px center;
  }

  .inquiry-textarea {
    height: 160px;
    padding: 12px;
    line-height: 1.5;
  }

  .inquiry-radios {
    flex: none;
    flex-direction: column;
    gap: 6px;
  }

  .inquiry-radio {
    gap: 8px;
    font-size: 15px;
    line-height: 22px;
  }

  .inquiry-radio input {
    width: 18px;
    height: 18px;
    background-size: 18px 18px;
  }

  .inquiry-captcha {
    align-items: center;
  }

  .inquiry-captcha img {
    width: 112px;
    height: 44px;
  }

  .inquiry-captcha .inquiry-input {
    flex: 1 1 0;
    height: 44px;
  }

  .inquiry-agree {
    gap: 24px;
    padding-top: 24px;
  }

  .inquiry-privacy,
  .inquiry-consent {
    gap: 12px;
  }

  .inquiry-privacy__title {
    font-size: 16px;
    line-height: 24px;
  }

  .inquiry-privacy__box {
    height: 132px;
    justify-content: flex-start;
  }

  .inquiry-check {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .inquiry-check__label {
    font-size: 14px;
    line-height: 20px;
  }

  .inquiry-submit {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-submit {
    transition: none;
  }

  .inquiry-submit:hover,
  .inquiry-submit:focus-visible {
    transform: none;
  }
}

#header .header-bar,
#header .contain.header-bar {
  --header-band-y: 20px;
  --header-band-h: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  min-height: calc(var(--header-band-y) * 2 + var(--header-band-h));
  height: auto;
  padding: var(--header-band-y) var(--sub-gutter);
  box-sizing: border-box;
  background: #fff;
}

/* Figma 15141:4044 — bar py 20 · logo 208×28 · CTA 18/28 · menu 48 */

.sitelogo a.logo-link {
  display: block;
  font-size: 0;
  line-height: 0;
}

/* Figma 15141:4012 — logo 208×28 · 메인 오버레이 logo-w / 스크롤·서브 logo */
.sitelogo .logo {
  display: block;
  width: min(267px, 50vw);
  max-width: none;
  height: auto;
  aspect-ratio: 267 / 36;
  object-fit: contain;
}

.sitelogo .logo-w {
  display: none;
}

.sitelogo .logo-default {
  display: block;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid) .logo-w {
  display: block;
}

#wrapper:has(> #container > .main-visual) #header:not(.is-solid) .logo-default {
  display: none;
}

html.menu-opened #wrapper:has(> #container > .main-visual) #header .logo-w {
  display: none;
}

html.menu-opened #wrapper:has(> #container > .main-visual) #header .logo-default {
  display: block;
}

/* GNB layout rules are maintained in layout.css. */

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  #header .header-actions .btn-header-cta {
    order: 1;
  }

  #header .header-actions .btn-m-menu {
    order: 2;
  }
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 80px;
  background: #ce0d0d;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 28px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-header-cta:hover {
  color: #fff;
  background: #b00b0b;
}

.btn-m-menu.btn-header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: none;
  border-radius: 80px;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

#header .btn-m-menu.btn-header-menu:hover,
#header .btn-m-menu.btn-header-menu:focus,
#header .btn-m-menu.btn-header-menu:active,
#header .btn-m-menu.btn-header-menu:focus-visible,
html.menu-opened #header .btn-m-menu.btn-header-menu,
#header .btn-m-menu.btn-header-menu[aria-expanded="true"],
#header.is-menu-open .btn-m-menu.btn-header-menu {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

#header .btn-m-menu.btn-header-menu:focus-visible {
  outline: 2px solid rgba(206, 13, 13, 0.35);
  outline-offset: 3px;
}

.btn-header-menu .btn-header-menu-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-header-menu div,
.btn-header-menu span {
  display: none !important;
}

#header .submenu-bg {
  display: none !important;
}

/* Figma — 데스크톱에서도 햄버거 패널 사용 */
.mobile-navigation {
  display: block;
}

/* ─── GNB 패널 — Figma 15141:4046 (#header_menu) ─── */
html {
  scrollbar-gutter: stable;
}

html.menu-opened #header {
  z-index: 170;
  width: 100%;
  padding-right: 0;
  box-sizing: border-box;
}

html.menu-opened body {
  padding-right: 0;
}

html.menu-opened #wrapper,
html.menu-opened #container {
  transform: none;
  margin-left: 0;
  margin-right: 0;
}

/* 메뉴가 열려 있으면 배경 페이지 스크롤을 잠근다. 패널 목록은 .gnb-panel__nav 가 스크롤한다. */
html.menu-opened:has(#menu.gnb-panel),
html.menu-opened:has(#menu.gnb-panel) body {
  overflow: hidden;
}

/* Figma Submenu — viewport 우측 10px · 400×(헤더+10 ~ 하단 10) · 위치만 고정 */
#menu.mobile-navigation.gnb-panel {
  --gnb-panel-gap: 10px;
  display: block;
  position: fixed;
  top: calc(var(--header-bar-height) + var(--gnb-panel-gap));
  right: var(--gnb-panel-gap);
  bottom: var(--gnb-panel-gap);
  left: auto;
  width: min(400px, calc(100vw - var(--gnb-panel-gap) * 2));
  max-width: 400px;
  min-width: 0;
  margin: 0;
  padding: 0;
  height: auto;
  overflow: visible;
  background: transparent;
  z-index: 160;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition:
    opacity 0.32s cubic-bezier(0.33, 1, 0.68, 1),
    visibility 0s linear 0.32s;
}

html.menu-opened #menu.mobile-navigation.gnb-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  right: var(--gnb-panel-gap);
  transform: none;
  transition:
    opacity 0.32s cubic-bezier(0.33, 1, 0.68, 1),
    visibility 0s linear 0s;
}

/* layout.css 슬라이드 인(.mobile-navigation translateX) — gnb-panel은 오버레이만 */
html.menu-opened .mobile-navigation.gnb-panel,
.mobile-navigation.gnb-panel {
  right: var(--gnb-panel-gap, 10px);
  width: min(400px, calc(100vw - var(--gnb-panel-gap, 10px) * 2));
  max-width: 400px;
  transform: none !important;
}

.gnb-panel__inner {
  --gnb-panel-foot-block: 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  padding: 40px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.16);
  overflow: hidden;
  pointer-events: auto;
}

.gnb-panel__nav {
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100% - 20px - var(--gnb-panel-foot-block));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Figma 15478:8165 — 메뉴 마지막 항목 ↔ 하단 SNS·전화 20px */
.gnb-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 16px;
  width: 100%;
  margin-top: 0;
}

.gnb-panel__sns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gnb-panel__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  background: transparent;
}

.gnb-panel__sns-link img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.gnb-panel__tel {
  font-size: 20px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.4px;
  color: #ce0d0d;
  white-space: nowrap;
  text-decoration: none;
}

.gnb-panel__tel:hover,
.gnb-panel__tel:focus-visible {
  color: #ce0d0d;
  text-decoration: underline;
}

.gnb-panel .nav-menu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
}

/* layout.css 모바일 GNB border(#ddd)와 이중선 방지 */
.mobile-navigation.gnb-panel .nav-menu > ul {
  border-top: none;
}

.mobile-navigation.gnb-panel .nav-menu > ul > li {
  position: static;
  border-bottom: 1px solid #eee;
  border-top: none;
  transition: padding 0.28s ease, border-color 0.2s ease;
}

.mobile-navigation.gnb-panel .nav-menu > ul > li:first-child:not(.is-expanded) {
  border-top: 1px solid #eee;
}

.mobile-navigation.gnb-panel .nav-menu > ul > li.is-expanded {
  border-top: 1px solid #2c2c2c;
}

/* 펼침 항목 위는 #2c2c2c 1줄만 (이전 li 하단선과 겹침 제거) */
.gnb-panel .nav-menu > ul > li:has(+ li.is-expanded) {
  border-bottom-color: transparent;
}

.gnb-panel .nav-menu > ul > li > a {
  position: static;
  display: block;
  padding: 30px 0;
  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 500;
  line-height: 46px;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
  background: transparent;
  cursor: pointer;
  transition: padding 0.28s ease, color 0.2s ease;
}

.gnb-panel .nav-menu > ul > li > a::after {
  display: none;
}

.mobile-navigation .nav-menu > ul > li.active > a,
.gnb-panel .nav-menu > ul > li.active > a,
.gnb-panel .nav-menu > ul > li.active.is-expanded > a,
html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li.active > a,
html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li.active.is-expanded > a {
  padding-left: 14px;
  padding-right: 14px;
  background: var(--color-primary);
  color: #fff;
}

/* 펼침 — Figma 15141:4123 (학원소개 + 2depth) */
.mobile-navigation.gnb-panel .nav-menu > ul > li.is-expanded,
.gnb-panel .nav-menu > ul > li.is-expanded {
  padding: 30px 0;
  box-sizing: border-box;
}

.gnb-panel .nav-menu > ul > li.is-expanded > a {
  padding: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 46px;
  letter-spacing: -0.02em;
  color: #ce0d0d;
}

.gnb-panel .nav-menu .submenu {
  position: static !important;
  left: auto !important;
  width: auto !important;
  text-align: left;
  display: grid !important;
  grid-template-rows: 0fr;
  height: auto !important;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  background: transparent;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gnb-panel .nav-menu > ul > li.is-expanded .submenu {
  grid-template-rows: 1fr;
  margin-top: 24px; /* Figma 4123 — 1depth 하단 ~ 2depth 상단 24px */
  opacity: 1;
}

/* Figma 15141:4126 — 2depth gap 10px · 24px/38px · #676767 */
.gnb-panel .nav-menu .submenu > ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 0;
  overflow: hidden;
}

.mobile-navigation.gnb-panel .nav-menu .submenu > ul > li {
  border: none;
}

.mobile-navigation.gnb-panel .nav-menu .submenu ul li a {
  padding: 0;
}

.gnb-panel .nav-menu .submenu > ul > li + li {
  margin-top: 0;
}

.gnb-panel .nav-menu .submenu > ul > li > a {
  display: block;
  padding: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: -0.48px;
  color: var(--color-text-muted);
  background: transparent;
}

.gnb-panel .nav-menu .submenu > ul > li > a:hover,
.gnb-panel .nav-menu .submenu > ul > li > a:focus-visible {
  color: var(--color-primary);
}

.gnb-panel .nav-menu > ul > li > a.is-unlinked {
  color: var(--color-text-heading);
}

.gnb-panel .nav-menu .submenu a.is-unlinked {
  color: var(--color-text-muted);
  opacity: 0.5;
  cursor: default;
  padding: 0;
}

.gnb-panel .nav-menu .submenu a.is-unlinked:hover {
  color: var(--color-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-navigation.gnb-panel,
  html.menu-opened .mobile-navigation.gnb-panel,
  .gnb-panel .nav-menu .submenu {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 767px) {
  #menu.mobile-navigation.gnb-panel {
    --gnb-panel-gap: 10px;
    top: calc(var(--header-bar-height) + var(--gnb-panel-gap));
    right: var(--gnb-panel-gap);
    bottom: var(--gnb-panel-gap);
    width: min(400px, calc(100vw - var(--gnb-panel-gap) * 2));
  }

  .gnb-panel__inner {
    padding: 24px;
  }

  .gnb-panel .nav-menu > ul > li > a {
    padding: 22px 0;
    line-height: 1.35;
  }
}

/* ─── main_visual — Figma 15137:3587 · 세로 954px · 와이드 100svh ─── */
.main-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100svh;
  min-height: 954px;
  padding-left: var(--sub-gutter);
  padding-right: var(--sub-gutter);
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
}

.main-visual__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.main-visual__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.main-visual__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Figma 15137:3588 — box */
.main-visual__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
}

.main-visual__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

/* Figma 15137:3589 */
.main-visual__badge {
  margin: 0;
  font-size: clamp(18px, 1.46vw, 28px);
  font-weight: 600;
  line-height: 42px;
  letter-spacing: -0.56px;
  color: #ce0d0d;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Figma 15137:3590 */
.main-visual__title {
  margin: 0;
  font-size: clamp(28px, 3.75vw, 72px);
  font-weight: 600;
  line-height: 1.278;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

#main-quotes {
  scroll-margin-top: var(--header-bar-height);
}

/* TXT LINE — Figma 15153:4969 */
.main-visual-ticker {
  background: #ce0d0d;
  padding: 16px 0;
  overflow: hidden;
}

.main-visual-ticker__viewport {
  overflow: hidden;
  width: 100%;
}

.main-visual-ticker__track {
  display: flex;
  width: max-content;
  animation: main-visual-ticker-scroll 45s linear infinite;
}

.main-visual-ticker__half {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}

.main-visual-ticker__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 20px;
}

.main-visual-ticker__icon {
  display: block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.main-visual-ticker__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.36px;
  color: #fff;
  white-space: nowrap;
}

@keyframes main-visual-ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── 합격결과(레거시 다크) — 섹션 패딩 ─── */
.main-results:not(.results-2026) {
  position: relative;
  padding: clamp(80px, 9vw, 140px) 100px;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff;
  --seam-glow-size: 760px 520px;
  --seam-glow-lift: 380px;
  --seam-glow: rgba(206, 13, 13, 0.22) 0%, rgba(206, 13, 13, 0) 70%;
  padding-top: clamp(80px, 8.3334vw, 160px);
  padding-bottom: clamp(90px, 9.375vw, 180px);
}

.main-results:not(.results-2026) {
  background:
    radial-gradient(ellipse 55% 65% at 90% 12%, rgba(206, 13, 13, 0.24) 0%, rgba(206, 13, 13, 0) 70%),
    radial-gradient(ellipse var(--seam-glow-size) at 0% calc(100% - var(--seam-glow-lift)), var(--seam-glow)),
    #111;
}

@media (max-width: 1023px) {
  #header .header-bar,
  #header .contain.header-bar {
    padding-left: 40px;
    padding-right: 40px;
  }

  .main-results.results-2026 {
    min-height: 0;
    padding: clamp(64px, 8vw, 120px) 40px clamp(72px, 9vw, 140px);
  }
}

@media (max-width: 767px) {
  .main-results:not(.results-2026) {
    --seam-glow-size: 360px 300px;
    --seam-glow-lift: 220px;
  }
}

.results-inner,
.faculty-inner {
  position: relative;
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
}

.main-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ce0d0d;
}

.main-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.results-heading,
.faculty-heading {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
}

.results-heading em,
.faculty-heading em {
  font-style: normal;
  color: #ce0d0d;
}

.results-desc {
  margin: 28px 0 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.62);
}

.main-more-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.main-more-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.main-more-link:hover,
.main-more-link:focus-visible {
  background: #ce0d0d;
  border-color: #ce0d0d;
}

.results-heading,
.faculty-heading {
  font-size: clamp(34px, 2.92vw, 56px);
  font-weight: 600;
  line-height: 1.357;
  letter-spacing: -0.02em;
}

.results-desc {
  margin-top: 30px;
  max-width: none;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.636;
  color: rgba(255, 255, 255, 0.9);
}

.results-head .main-more-link {
  margin-top: 60px;
}

.faculty-head__side .main-more-link {
  margin-top: 0;
  padding: 14px 24px;
  border-color: #fff;
  border-radius: 80px;
  font-size: 18px;
  line-height: 28px;
}

.results-head .main-more-link::after,
.faculty-head__side .main-more-link::after {
  display: none;
}

.results-head .main-more-link:hover,
.results-head .main-more-link:focus-visible,
.faculty-head__side .main-more-link:hover,
.faculty-head__side .main-more-link:focus-visible {
  border-color: transparent;
  background: #ce0d0d;
  color: #fff;
}

.faculty-head__side .main-more-link {
  margin-top: 0;
  border-color: #1a1a1a;
  color: var(--color-text-heading);
}

.faculty-head__side .main-more-link.is-unlinked { cursor: default; }

/* 합격결과 — Figma 15489:8275 (1920×1028 · bg 1x · pt120 pb140 px100) */
.main-results.results-2026 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: clamp(720px, 53.54vw, 1028px);
  max-width: none;
  padding: clamp(64px, 6.25vw, 120px) clamp(40px, 5.208vw, 100px) clamp(72px, 7.29vw, 140px);
  box-sizing: border-box;
  overflow: hidden;
  background-color: #101010;
  color: #fff;
}

.main-results.results-2026 .results-figma-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* 좌우 풍경을 확장한 배경 — 정문 하단과 도로가 보이는 구도 */
.main-results.results-2026 .results-figma-bg__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  transform: none;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1919px) {
  .main-results.results-2026 .results-figma-bg__img {
    width: 100%;
    height: 100%;
    transform: none;
    left: 0;
    object-fit: cover;
    object-position: center bottom;
  }
}

/* 빛 궤적(배경 하단 약 78%~) 바로 위에 CTA가 오도록 하단 여백을 배경 비율로 고정 */
.main-results.results-2026 {
  padding-bottom: clamp(150px, 13.6vw, 261px);
}

.main-results.results-2026 .results-figma-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.main-results.results-2026 .results-figma-title {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: clamp(32px, 2.917vw, 56px);
  font-weight: 600;
  line-height: 1.357;
  letter-spacing: -0.02em;
  color: #fff;
}

.main-results.results-2026 .results-figma-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  margin-top: auto;
  padding-top: clamp(40px, 3.125vw, 60px);
  font-size: clamp(22px, 3.125vw, 60px);
  text-align: center;
}

.main-results.results-2026 .results-figma-headline {
  display: flex;
  align-items: flex-end;
  gap: 0.32em;
}

.main-results.results-2026 .results-figma-stack {
  display: flex;
  flex-direction: column;
  width: 3.6em;
}

.main-results.results-2026 .results-figma-year,
.main-results.results-2026 .results-figma-univ {
  margin: 0;
  width: 100%;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.main-results.results-2026 .results-figma-year {
  font-size: 0.56em;
  line-height: 1.2;
  color: var(--color-primary);
}

.main-results.results-2026 .results-figma-year__num {
  font-size: 1.12em;
}

.main-results.results-2026 .results-figma-univ {
  line-height: 1.08;
}

.main-results.results-2026 .results-figma-univ--snu {
  font-size: 1.14em;
  color: #fef002;
}

.main-results.results-2026 .results-figma-univ--ewha {
  font-size: 0.86em;
  color: #fff;
}

.main-results.results-2026 .results-figma-rank {
  margin: 0;
  font-size: 2.45em;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: #fff;
}

.main-results.results-2026 .results-figma-countline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.8em;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.main-results.results-2026 .results-figma-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

.main-results.results-2026 .results-figma-count__univ,
.main-results.results-2026 .results-figma-count__txt {
  font-size: 0.78em;
  color: #fff;
}

.main-results.results-2026 .results-figma-count__num {
  font-size: 1.05em;
  color: #fef002;
}

.main-results.results-2026 .results-figma-more {
  margin-top: clamp(20px, 1.458vw, 28px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(140px, 10.417vw, 200px);
  padding: clamp(12px, 0.833vw, 16px) clamp(28px, 2.083vw, 40px);
  border-radius: 999px;
  background: #1a4fd6;
  color: #fff;
  font-size: clamp(16px, 1.042vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.main-results.results-2026 .results-figma-more:hover,
.main-results.results-2026 .results-figma-more:focus-visible {
  background: #153fb0;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .main-results.results-2026 .results-figma-countline {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-visual-ticker__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .main-visual-ticker__half[aria-hidden="true"] {
    display: none;
  }

  .main-visual-ticker__half {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 30px;
    padding-right: 0;
  }

  .faculty-card,
  .faculty-slider__btn,
  .main-more-link {
    transition: none;
  }

  .faculty-card:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  #header .header-bar,
  #header .contain.header-bar {
    padding: 18px 20px;
    min-height: 64px;
  }

  :root {
    --header-bar-height: 64px;
  }

  .sitelogo .logo {
    width: min(267px, 52vw);
    height: auto;
    max-height: none;
  }

  .btn-header-cta {
    padding: 5px 11px;
    font-size: 14px;
    line-height: 20px;
  }

  .btn-m-menu.btn-header-menu {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  .main-visual__badge {
    line-height: 1.5;
    letter-spacing: -0.02em;
  }

  .main-visual__title {
    line-height: 1.278;
    letter-spacing: -0.02em;
    white-space: normal;
  }
}

/* 푸터 — Figma 15515:8406 */
#footer {
  padding: 0;
  background: #fff;
  color: var(--color-text-muted);
  text-align: left;
  border-top: 1px solid #dfdfdf;
}

#footer .footer-inner {
  width: 100%;
  margin: 0 auto;
  padding-left: 100px;
  padding-right: 100px;
  box-sizing: border-box;
}

#footer .footer-box {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#footer .footer-row--head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
}

#footer .footer-logo__img {
  display: block;
  width: 370px;
  max-width: 100%;
  height: auto;
}

#footer .footer-policy {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

#footer .footer-policy__link {
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: var(--color-text-body);
  text-decoration: none;
}

#footer .footer-policy__link.is-unlinked {
  cursor: default;
}

#footer .footer-row--body {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 0 40px;
  box-sizing: border-box;
}

#footer .footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 480px;
  min-width: 0;
  font-size: 20px;
  line-height: 34px;
  letter-spacing: -0.03em;
}

#footer .footer-info__line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
}

#footer .footer-info__group {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

#footer .footer-info__label {
  font-weight: 500;
  color: #bbb;
}

#footer .footer-info__value {
  font-weight: 400;
  color: var(--color-text-muted);
}

#footer .footer-logo {
  flex: 0 1 auto;
  min-width: 0;
}

#footer .footer-aside {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-left: auto;
  text-align: right;
}

#footer .footer-consult__num {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 62px;
  letter-spacing: -0.02em;
}

#footer .footer-consult__num a {
  color: #e27070;
  text-decoration: none;
}

#footer .footer-consult__num a:hover {
  opacity: 0.88;
}

#footer .footer-row--foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-left: -100px;
  margin-right: -100px;
  padding: 24px 100px;
  border-top: 1px solid #eee;
  box-sizing: border-box;
}

#footer .footer-credits {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#footer .footer-credits__copy,
#footer .footer-credits__design {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

#footer .footer-credits__copy.copyright {
  color: var(--color-text-muted);
}

#footer .footer-credits .design-credit {
  color: #f6f6f6;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

#footer .footer-credits .design-credit:hover {
  text-decoration: underline;
}

#footer .footer-sns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .footer-sns__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 0;
  transition: opacity 0.2s;
}

#footer .footer-sns__btn:hover {
  opacity: 0.75;
}

#footer .footer-sns__btn img {
  display: block;
  width: 24px;
  height: 24px;
}

@media (max-width: 1023px) {
  #footer .footer-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  #footer .footer-row--foot {
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
  }

  #footer .footer-row--head {
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }

  #footer .footer-row--body {
    flex-direction: column;
    align-items: flex-start;
  }

  #footer .footer-aside {
    align-items: center;
    margin-left: 0;
    margin-top: 24px;
    text-align: center;
    width: 100%;
  }

  #footer .footer-consult__num {
    font-size: 36px;
    line-height: 1.2;
  }

  #footer .footer-row--foot {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }

  #footer .footer-policy {
    width: 100%;
  }

  #footer .footer-info {
    font-size: 16px;
    line-height: 28px;
  }

  #footer .footer-info__group {
    gap: 16px 24px;
  }

  #footer .footer-credits {
    white-space: normal;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  #footer .footer-policy {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
  }

  #footer .footer-info__group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* 1차 시안 — 미제작 페이지 (클릭해도 이동 없음) */
#gnb a.is-unlinked,
.lnb a.is-unlinked,
.mobile-navigation a.is-unlinked,
#footer a.is-unlinked { cursor: default; }

/* 강사진 — 라이트 섹션 · 사진 카드 계단형 슬라이드 (합격수기와 동일 gutter · 1840) */
.main-faculty {
  --faculty-content-max: 1840px;
  --faculty-gutter: 100px;
  --faculty-stagger: clamp(24px, 2.083vw, 40px);
  --faculty-bigword: clamp(64px, 7.8vw, 150px);
  --faculty-btn-size: clamp(48px, 2.917vw, 56px);
  --faculty-slider-inset: calc(var(--faculty-btn-size) + clamp(10px, 0.833vw, 16px));
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  padding: clamp(60px, 4.167vw, 80px) var(--faculty-gutter) clamp(60px, 3.646vw, 70px);
  background: #fff;
  color: var(--color-text-heading);
}

.main-faculty .faculty-inner {
  max-width: var(--faculty-content-max);
}

.main-faculty .faculty-heading {
  color: #ce0d0d;
}

.main-faculty .faculty-heading em {
  color: #ce0d0d;
}

.faculty-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.04vw, 16px);
  text-align: center;
}

.main-faculty .faculty-head .faculty-heading {
  width: 100%;
  text-align: center;
}

.faculty-head__desc {
  margin: 0;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.636;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  text-align: center;
}

.faculty-head .faculty-head__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.04vw, 16px);
  max-width: 640px;
  width: 100%;
}

.faculty-bigword {
  padding-left: var(--faculty-slider-inset);
  margin: clamp(16px, 1.04vw, 20px) 0 0;
  font-size: var(--faculty-bigword);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: #f1f1f1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.faculty-body {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--faculty-bigword) * -0.35);
  padding-left: var(--faculty-slider-inset);
  padding-right: var(--faculty-slider-inset);
  box-sizing: border-box;
}

.faculty-slider {
  overflow: visible;
  overflow-x: clip;
}

.faculty-list {
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
  transition-property: transform, height;
}

.faculty-card {
  display: flex;
  flex-direction: column;
  height: auto;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-sizing: border-box;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.faculty-card:hover,
.faculty-card:focus-within {
  border-color: #ce0d0d;
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.1);
}

.faculty-card-blank {
  visibility: hidden;
  pointer-events: none;
}

.faculty-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 1.46vw, 28px) clamp(24px, 1.67vw, 32px) 0;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.faculty-card__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: clamp(24px, 1.67vw, 32px);
}

.faculty-card__num {
  margin-bottom: auto;
  padding-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #ce0d0d;
}

.faculty-card__role {
  margin: 0 0 10px;
  font-size: clamp(14px, 0.84vw, 16px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  word-break: keep-all;
}

.faculty-card__name {
  margin: 0;
  font-size: clamp(30px, 2.3vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-heading);
}

.faculty-card__photo {
  flex: 0 0 34%;
  align-self: flex-end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: #dcdcdc;
}

.faculty-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.faculty-card:hover .faculty-card__photo img,
.faculty-card:focus-within .faculty-card__photo img {
  transform: scale(1.04);
}

.faculty-card__info {
  flex: 1;
  background: #fafafa;
  padding: clamp(20px, 1.25vw, 24px) clamp(24px, 1.67vw, 32px) clamp(22px, 1.46vw, 28px);
}

.faculty-card__label {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #bbb;
}

.faculty-card__info ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.faculty-card__info li {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  word-break: keep-all;
}

.faculty-card__info,
.faculty-card__label,
.faculty-card__info li {
  transition: background-color 0.4s ease, color 0.4s ease;
}

.faculty-card:hover .faculty-card__info,
.faculty-card:focus-within .faculty-card__info {
  background: #ce0d0d;
}

.faculty-card:hover .faculty-card__label,
.faculty-card:focus-within .faculty-card__label {
  color: rgba(255, 255, 255, 0.7);
}

.faculty-card:hover .faculty-card__info li,
.faculty-card:focus-within .faculty-card__info li {
  color: #fff;
}

.faculty-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--faculty-btn-size);
  height: var(--faculty-btn-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.faculty-slider__btn--prev {
  left: calc((var(--faculty-slider-inset) - var(--faculty-btn-size)) / 2);
}

.faculty-slider__btn--next {
  right: calc((var(--faculty-slider-inset) - var(--faculty-btn-size)) / 2);
}

.faculty-slider__btn:hover,
.faculty-slider__btn:focus-visible {
  background: #ce0d0d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(206, 13, 13, 0.32);
}

.faculty-slider__btn:focus-visible {
  outline: 2px solid #ce0d0d;
  outline-offset: 3px;
}

.faculty-slider__btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

@media (min-width: 1200px) {
  .faculty-card:nth-child(3n + 2) {
    margin-top: var(--faculty-stagger);
  }

  .faculty-card:nth-child(3n + 3) {
    margin-top: calc(var(--faculty-stagger) * 2);
  }
}

@media (max-width: 991px) {
  .faculty-head {
    gap: clamp(10px, 1.04vw, 16px);
  }
}

@media (max-width: 1023px) {
  .main-faculty {
    --faculty-gutter: 40px;
  }
}

@media (max-width: 767px) {
  .main-faculty {
    --faculty-gutter: 16px;
    --faculty-bigword: 12.5vw;
    --faculty-btn-size: 40px;
    --faculty-slider-inset: 0px;
  }

  .faculty-foot {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }

  .faculty-slider__nav {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .faculty-slider__btn {
    position: static;
    transform: none;
    box-shadow: none;
  }

  .faculty-slider__btn--prev,
  .faculty-slider__btn--next {
    left: auto;
    right: auto;
  }

  .faculty-head__desc br {
    display: none;
  }

  .faculty-card__top {
    padding: 24px 24px 0;
  }

  .faculty-card__photo {
    flex-basis: 54%;
  }

  .faculty-card__who {
    padding-bottom: 32px;
  }

  .faculty-card__num {
    padding-bottom: 24px;
  }

  .faculty-card__info {
    padding: 24px 24px 28px;
  }

  .faculty-card__info ul {
    margin-top: 16px;
  }
}

/* 메인 섹션 제목 — 전 섹션 동일 크기 (강사진은 한 화면용 소형 제목 별도) */
.main-results.results-2026 .results-figma-title,
.main-stories .block-head .block-heading,
.stories-showcase__head .block-heading,
.main-system .system-cta__section-title,
.main-recruitment .recruitment-head h2 {
  font-size: clamp(36px, 3.333vw, 64px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.main-faculty .faculty-head .faculty-heading {
  font-size: clamp(28px, 2.08vw, 40px);
  font-weight: 600;
  line-height: 1.357;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   메인 04~08 — 합격수기 · 소수정예 · 미술적성테스트 · 입시설명회 · 상담신청
   ========================================================================== */
.main-block {
  position: relative;
  padding: clamp(80px, 8.3334vw, 160px) 100px clamp(90px, 9.375vw, 180px);
  box-sizing: border-box;
  overflow: hidden;
  color: var(--color-text-heading);
}

.block-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1840px;
  margin: 0 auto;
}

.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.block-heading {
  margin: 0;
  font-size: clamp(34px, 2.92vw, 56px);
  font-weight: 600;
  line-height: 1.357;
  letter-spacing: -0.02em;
  color: inherit;
}

.block-desc {
  margin: 30px 0 0;
  max-width: 640px;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.636;
  letter-spacing: -0.02em;
  color: rgba(26, 26, 26, 0.72);
}

.block-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 14px 24px;
  border: 1px solid #1a1a1a;
  border-radius: 80px;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.block-link:hover,
.block-link:focus-visible {
  border-color: transparent;
  background: #ce0d0d;
  color: #fff;
}

.block-link.is-unlinked { cursor: default; }

.block-link--light {
  border-color: #fff;
  color: #fff;
}

/* 04 합격수기 */
.main-stories {
  --stories-content-max: 1840px;
  --stories-gutter: 100px;
  --stories-card-w: clamp(240px, 29.17vw, 560px);
  --stories-card-h: calc(var(--stories-card-w) * 580 / 560);
  --stories-gap: 20px;
  --stories-peek: 104px;
  --stories-slide-w: var(--stories-card-w);
  --stories-slide-h: calc(var(--stories-slide-w) * 580 / 560);
  background: linear-gradient(180deg, #fff 0%, #f7f4ef clamp(240px, 22vw, 420px), #fafafa 100%);
}

.main-stories .block-inner {
  overflow: visible;
}

.main-stories .stories-body {
  overflow: visible;
}

.main-stories .stories-list.is-spread {
  --stories-slide-w: min(
    560px,
    calc((100% - 2 * var(--stories-gap) - var(--stories-peek)) / 3)
  );
  --stories-slide-h: calc(var(--stories-slide-w) * 580 / 560);
  width: calc(
    3 * var(--stories-slide-w) + 2 * var(--stories-gap) + var(--stories-peek)
  );
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

@media (min-width: 1400px) {
  .main-stories .stories-list.is-spread {
    --stories-slide-w: 560px;
    --stories-slide-h: 580px;
    width: min(
      calc(3 * 560px + 2 * var(--stories-gap) + var(--stories-peek)),
      calc(
        100vw - var(--stories-gutter)
        - max(0px, (100vw - var(--stories-gutter) * 2 - var(--stories-content-max)) / 2)
      )
    );
    margin-right: calc(
      -100vw + 100% + var(--stories-gutter)
      + max(0px, (100vw - var(--stories-gutter) * 2 - var(--stories-content-max)) / 2)
    );
  }
}

.main-stories .block-head {
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.04vw, 16px);
  text-align: center;
  min-height: 48px;
}

.main-stories .stories-head__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.04vw, 16px);
  width: 100%;
  max-width: 100%;
}

.main-stories .block-head .block-heading {
  width: 100%;
  text-align: center;
  color: #ce0d0d;
}

.main-stories .stories-head__desc {
  margin: 0;
  max-width: 640px;
  font-size: clamp(17px, 1.15vw, 22px);
  font-weight: 400;
  line-height: 1.636;
  letter-spacing: -0.02em;
  color: var(--color-text-muted);
  text-align: center;
}

.main-stories::before {
  content: "";
  position: absolute;
  top: 0;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 13, 13, 0.1) 0%, rgba(206, 13, 13, 0) 70%);
  pointer-events: none;
}

.stories-body {
  position: relative;
  margin-top: clamp(48px, 5.2vw, 100px);
}

.main-stories .stories-body__toolbar {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.main-stories.is-slider-active .stories-body__toolbar {
  opacity: 1;
  pointer-events: auto;
}

.stories-slider__nav {
  display: flex;
  gap: 8px;
}

.stories-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text-heading);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.stories-slider__btn:hover,
.stories-slider__btn:focus-visible {
  background: #ce0d0d;
  color: #fff;
}

.stories-slider__btn:focus-visible {
  outline: 2px solid #ce0d0d;
  outline-offset: 3px;
}

.stories-slider__btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.stories-list {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories-list:not(.is-spread) {
  overflow: visible;
  width: 100%;
  display: flex;
  justify-content: center;
}

.stories-list:not(.is-spread) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(6, var(--stories-card-w));
  gap: 20px;
  position: relative;
  width: max-content;
  max-width: 100%;
  min-height: var(--stories-card-h);
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories-list:not(.is-spread) .story-card {
  position: relative;
  left: auto;
  top: auto;
  width: var(--stories-card-w);
  height: var(--stories-card-h);
  max-width: none;
  margin-left: 0;
  aspect-ratio: auto;
}

.stories-foot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 40px;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.stories-body.is-slider-active .stories-foot {
  opacity: 1;
}

.stories-slider__pagination {
  position: static;
  display: inline-flex !important;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  width: auto !important;
}

.stories-slider__pagination .swiper-pagination-bullet,
.stories-slider__bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 80px;
  background: #dfdfdf;
  opacity: 1;
  transition: width 0.28s ease, background-color 0.28s ease;
}

.stories-slider__pagination .swiper-pagination-bullet-active,
.stories-slider__bullet--active {
  width: 32px;
  background: #ce0d0d;
}

.stories-list.is-spread .story-card.is-peek-blur img {
  filter: blur(4px);
  transform: scale(1.02);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.stories-list.is-spread .story-card.is-peek-blur::after {
  opacity: 0.85;
}

.stories-list.is-spread .story-card:not(.is-peek-blur) img {
  filter: none;
  transform: none;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.stories-list.is-spread::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 4;
  width: min(200px, 14vw);
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stories-list.is-spread.has-right-peek::after {
  right: 0;
  opacity: 1;
  background: linear-gradient(
    270deg,
    #fafafa 0%,
    rgba(250, 250, 250, 0.92) 28%,
    rgba(247, 244, 239, 0.45) 62%,
    rgba(247, 244, 239, 0) 100%
  );
}

.stories-list.is-spread.has-right-peek {
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 calc(100% - min(220px, 16vw)),
    rgba(0, 0, 0, 0.55) calc(100% - min(100px, 8vw)),
    transparent calc(100% - min(24px, 2vw))
  );
  mask-image: linear-gradient(
    90deg,
    #000 0,
    #000 calc(100% - min(220px, 16vw)),
    rgba(0, 0, 0, 0.55) calc(100% - min(100px, 8vw)),
    transparent calc(100% - min(24px, 2vw))
  );
}

.story-card {
  position: relative;
  aspect-ratio: 560 / 580;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow 0.5s ease;
}

.stories-list.is-ready .story-card {
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.16);
  will-change: transform;
}

.stories-list.is-ready.is-spread .story-card {
  box-shadow: none;
}

@media (min-width: 1024px) {
  .stories-list:not(.is-spread) .story-card {
    width: var(--stories-card-w);
    height: var(--stories-card-h);
    aspect-ratio: auto;
  }

  .stories-list.is-spread .story-card {
    width: var(--stories-slide-w, var(--stories-card-w));
    height: var(--stories-slide-h, calc(var(--stories-slide-w, var(--stories-card-w)) * 580 / 560));
    aspect-ratio: auto;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .main-stories {
    --stories-pin: 90vh;
    padding-top: 0;
    padding-bottom: 0;
    overflow: clip;
  }

  .main-stories::after {
    content: "";
    display: block;
    height: var(--stories-pin);
  }

  .main-stories .block-inner {
    position: sticky;
    top: var(--stories-stick, 0px);
    padding-top: clamp(80px, 8.3334vw, 160px);
    padding-bottom: clamp(90px, 9.375vw, 180px);
  }

  .main-stories::before {
    content: none;
  }

  .main-stories .block-inner::before {
    content: "";
    position: absolute;
    top: 0;
    right: calc(-180px - max(100px, (100vw - 1840px) / 2));
    z-index: -1;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 13, 13, 0.1) 0%, rgba(206, 13, 13, 0) 70%);
    pointer-events: none;
  }
}

.story-card:nth-child(1) { z-index: 1; }
.story-card:nth-child(2) { z-index: 3; }
.story-card:nth-child(3) { z-index: 5; }
.story-card:nth-child(4) { z-index: 6; }
.story-card:nth-child(5) { z-index: 4; }
.story-card:nth-child(6) { z-index: 2; }

.story-card__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.story-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55.69%, rgba(0, 0, 0, 0.64) 95.776%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.story-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.stories-list:not(.is-ready) .story-card,
.stories-list.is-spread .story-card {
  transition: translate 0.4s ease, box-shadow 0.4s ease;
}

.stories-list:not(.is-ready) .story-card:hover,
.stories-list:not(.is-ready) .story-card:active,
.stories-list.is-spread .story-card:hover,
.stories-list.is-spread .story-card:active {
  translate: 0 -8px;
  box-shadow: 0 24px 48px rgba(26, 26, 26, 0.1);
}

.story-card__label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 30px;
  z-index: 2;
  margin: 0;
  font-size: clamp(22px, 1.875vw, 36px);
  font-weight: 600;
  line-height: 50px;
  letter-spacing: -0.72px;
  color: #fff;
  word-break: keep-all;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stories-list.is-ready .story-card::after,
.stories-list.is-ready .story-card__label {
  opacity: 0;
}

.stories-list.is-ready .story-card__label {
  transform: translateY(16px);
}

.stories-list.is-ready.is-spread .story-card::after,
.stories-list.is-ready.is-spread .story-card__label {
  opacity: 1;
  transform: none;
}

.stories-list.is-ready.is-spread .story-card:nth-child(2) .story-card__label { transition-delay: 0.06s; }
.stories-list.is-ready.is-spread .story-card:nth-child(3) .story-card__label { transition-delay: 0.12s; }
.stories-list.is-ready.is-spread .story-card:nth-child(4) .story-card__label { transition-delay: 0.18s; }
.stories-list.is-ready.is-spread .story-card:nth-child(5) .story-card__label { transition-delay: 0.24s; }
.stories-list.is-ready.is-spread .story-card:nth-child(6) .story-card__label { transition-delay: 0.3s; }

.stories-list.is-spread .swiper-wrapper {
  align-items: flex-start;
  height: auto !important;
  min-height: var(--stories-slide-h, var(--stories-card-h));
}

.stories-list.is-spread .story-card {
  position: relative;
  left: auto;
  margin-left: 0;
  width: var(--stories-slide-w, var(--stories-card-w));
  height: var(--stories-slide-h, calc(var(--stories-slide-w, var(--stories-card-w)) * 580 / 560));
  aspect-ratio: auto;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}

.stories-list.is-spread .story-card__link {
  display: block;
  width: 100%;
  height: 100%;
}

.stories-list.is-spread .story-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 05 소수정예 시스템 CTA */
.main-system {
  --system-stars:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 64%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 43% 32%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 82%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 12%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 48%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 88%, rgba(255, 255, 255, 0.6) 50%, transparent 51%);
  padding-bottom: clamp(100px, 9.375vw, 180px);
  background: #0b0b0c;
  color: #fff;
  text-align: center;
}

.main-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--system-stars), var(--system-stars);
  background-size: 420px 420px, 260px 260px;
  background-position: 0 0, 130px 90px;
  opacity: 0.55;
  pointer-events: none;
  animation: system-twinkle 6s ease-in-out infinite alternate;
}

.main-system::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(1400px, 120%);
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(206, 13, 13, 0.42) 0%, rgba(206, 13, 13, 0.12) 40%, rgba(206, 13, 13, 0) 70%);
  pointer-events: none;
}

@keyframes system-twinkle {
  from { opacity: 0.35; }
  to { opacity: 0.7; }
}

.system-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 2.5vw, 48px);
}

.system-cta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.04vw, 20px);
  width: 100%;
  max-width: 720px;
}

.system-cta__section-title {
  margin: 0;
  font-size: clamp(22px, 1.67vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #ff5a5a;
  word-break: keep-all;
}

.system-cta__eyebrow {
  margin: 0;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}

.system-cta__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(920px, 100%);
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.system-cta__title {
  margin: 0;
  font-size: clamp(32px, 2.92vw, 56px);
  font-weight: 600;
  line-height: 1.357;
  letter-spacing: -0.02em;
  color: #fff;
  word-break: keep-all;
}

.system-cta__link {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(32px, 2.5vw, 48px);
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 80px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.system-cta__link:hover,
.system-cta__link:focus-visible {
  border-color: #ce0d0d;
  background: #ce0d0d;
}

.system-cta__panel .system-cta__emblem {
  margin-top: clamp(36px, 3.4vw, 64px);
}

.system-cta__emblem strong {
  display: block;
  font-size: clamp(120px, 12.5vw, 240px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: "case" 1;
  background: linear-gradient(180deg, #fff 0%, #ffd6d6 45%, #ce0d0d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(206, 13, 13, 0.45));
}

.system-cta__emblem p {
  margin: 18px 0 0;
  font-size: clamp(13px, 0.83vw, 16px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.system-cta__panel .system-cta__desc {
  margin: clamp(40px, 3.3vw, 64px) 0 0;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.72);
  word-break: keep-all;
}

/* 06 미술적성테스트 · 입시설명회 — Figma 15137:3683 */
.main-program-duo {
  background: #fff;
  color: var(--color-text-heading);
  padding-top: clamp(80px, 6.25vw, 120px);
  padding-bottom: clamp(90px, 7.29vw, 140px);
}

.main-program-duo .block-inner.program-duo {
  max-width: none;
  padding-left: clamp(24px, 5.208vw, 100px);
  padding-right: clamp(24px, 5.208vw, 100px);
}

.program-duo {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.program-duo__col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
}

.program-duo__col--aptitude {
  padding-right: 40px;
  border-right: 1px solid #dfdfdf;
}

.program-duo__col--seminar {
  padding-left: 40px;
}

.program-duo__media {
  position: relative;
  flex: none;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 160px 160px 0 0;
  box-sizing: border-box;
}

.program-duo__col--aptitude .program-duo__media {
  margin-left: 25px;
  margin-right: 25px;
  width: auto;
  align-self: stretch;
}

.program-duo__col--seminar .program-duo__media {
  margin-left: 24px;
  margin-right: 24px;
  width: auto;
  align-self: stretch;
}

.program-duo__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 160px 160px 0 0;
  pointer-events: none;
}

.program-duo__col--aptitude .program-duo__media img {
  object-position: center 28%;
}

.program-duo__content {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  padding-top: 40px;
  text-align: center;
}

.program-duo__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.program-duo__title {
  margin: 0;
  font-size: clamp(28px, 2.08vw, 40px);
  font-weight: 600;
  line-height: 54px;
  letter-spacing: -0.02em;
  color: #ce0d0d;
  word-break: keep-all;
}

.program-duo__lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.program-duo__subtitle {
  margin: 0;
  font-size: clamp(20px, 1.35vw, 26px);
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
  word-break: keep-all;
}

.program-duo__desc {
  margin: 0;
  font-size: clamp(17px, 1.04vw, 20px);
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.02em;
  color: var(--color-text-body);
  word-break: keep-all;
}

.program-duo__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid #2c2c2c;
  border-radius: 80px;
  background: transparent;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.program-duo__btn:hover,
.program-duo__btn:focus-visible {
  background: #ce0d0d;
  border-color: #ce0d0d;
  color: #fff;
}

@media (max-width: 1023px) {
  .program-duo {
    flex-direction: column;
    gap: 64px;
  }

  .program-duo__col--aptitude {
    padding-right: 0;
    border-right: none;
    padding-bottom: 64px;
    border-bottom: 1px solid #dfdfdf;
  }

  .program-duo__col--seminar {
    padding-left: 0;
  }

  .program-duo__media {
    height: clamp(320px, 72vw, 480px);
    border-radius: clamp(80px, 22vw, 160px) clamp(80px, 22vw, 160px) 0 0;
  }

  .program-duo__media img {
    border-radius: clamp(80px, 22vw, 160px) clamp(80px, 22vw, 160px) 0 0;
  }

  .program-duo__content {
    gap: clamp(40px, 10vw, 60px);
    padding-top: clamp(28px, 6vw, 40px);
  }

  .program-duo__copy {
    gap: clamp(20px, 5vw, 30px);
  }

  .program-duo__title {
    line-height: 1.35;
  }

  .program-duo__subtitle {
    line-height: 1.538;
  }

  .program-duo__desc {
    line-height: 1.7;
  }

  .program-duo__btn {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    line-height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-duo__btn {
    transition: none;
  }
}

/* 08 상담신청 — Figma 15137:3712 · 영역 높이·여백 확대 */
.main-consult.main-block {
  box-sizing: border-box;
  min-height: clamp(720px, 50vw, 960px);
  padding: clamp(120px, 10.417vw, 200px) clamp(40px, 5.208vw, 100px);
  color: #fff;
  background: #1a1a1a;
}

.consult-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.consult-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

.consult-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 28vw, 520px);
  max-width: none;
  padding-block: clamp(32px, 3.125vw, 60px);
  text-align: center;
  word-break: keep-all;
}

.consult-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(72px, 6.25vw, 120px);
  width: 100%;
  max-width: 920px;
}

.consult-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.consult-heading {
  margin: 0;
  font-size: clamp(32px, 2.92vw, 56px);
  font-weight: 600;
  line-height: clamp(42px, 3.65vw, 70px);
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.consult-desc {
  margin: 0;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
}

.consult-cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 80px;
  background: #ce0d0d;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.consult-cta:hover,
.consult-cta:focus-visible {
  background: #a80a0a;
  color: #fff;
  transform: translateY(-2px);
}


/* 반응형 */
@media (max-width: 1400px) {
  .seminar-card {
    flex-direction: column;
  }

  .seminar-card__date {
    flex: none;
    flex-direction: row;
    align-items: flex-end;
    padding: 28px 32px;
  }

  .seminar-card__date p {
    order: -1;
    margin: 0;
  }

  .seminar-card__status {
    align-self: flex-end;
  }
}

@media (max-width: 1023px) {
  .main-block {
    padding-left: 40px;
    padding-right: 40px;
  }

  .main-stories {
    --stories-gutter: 40px;
  }
}

@media (max-width: 767px) {
  .main-block {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main-stories {
    --stories-gutter: 20px;
  }

  .block-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .block-desc {
    margin-top: 20px;
  }

  .block-link {
    padding: 12px 22px;
    font-size: 16px;
    line-height: 24px;
  }

  .stories-list {
    gap: 12px;
  }

  .story-card__label {
    left: 14px;
    right: 14px;
    bottom: 16px;
    font-size: 18px;
    line-height: 26px;
  }

  .main-consult.main-block {
    min-height: clamp(560px, 120vw, 720px);
    padding: clamp(80px, 18vw, 120px) 20px;
  }

  .consult-inner {
    min-height: 0;
    padding-block: clamp(24px, 6vw, 40px);
  }

  .consult-box {
    gap: clamp(56px, 14vw, 88px);
  }

  .consult-desc {
    line-height: 1.636;
  }

  .consult-cta {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
    line-height: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .seminar-card,
  .consult-cta {
    transition: none;
  }

  .seminar-card:hover,
  .seminar-card:focus-within,
  .consult-cta:hover {
    transform: none;
  }

  .main-system::before {
    animation: none;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 부드러운 스크롤 (Lenis) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* 합격자 현황 — 이미지 등록형 (exam-nav 연도 탭 · doc.css) */
.acceptance-detail .exam-nav a {
  min-width: 0;
}

.acceptance-panel {
  display: none;
  max-width: 720px;
  margin: 0 auto;
}

.acceptance-panel.is-active {
  display: block;
}

.acceptance-figures {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.acceptance-figure {
  margin: 0;
  line-height: 0;
}

.acceptance-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* 메인 강사진 — 한 화면 (responsive EVEN HOME FONTS 확대 최종 보정 · site.css 정본) */
html.home-fullpage #wrapper #container > section.main-sec.main-faculty > div.faculty-inner > div.faculty-head > h2.faculty-heading {
  font-size: clamp(28px, 2.08vw, 40px);
  font-weight: 600;
  line-height: 1.357;
}

html.home-fullpage #wrapper #container > section.main-sec.main-faculty > div.faculty-inner > p.faculty-bigword {
  font-size: clamp(48px, 5.2vw, 96px);
}

html.home-fullpage #wrapper #container > section.main-sec.main-faculty > div.faculty-inner > div.faculty-body > div.faculty-slider.swiper > ul.faculty-list > li.faculty-card > div.faculty-card__top > div.faculty-card__who > h3.faculty-card__name {
  font-size: clamp(26px, 1.85vw, 30px);
}

/* html.fr-view 의 에디터 목록 스타일이 메뉴·시안 목록까지 덮어 ::marker 가 생긴다.
   게시글 본문(.fr-view 안의 .fr-view)만 글머리 기호를 유지한다. */
html.fr-view ul,
html.fr-view ol {
  list-style: none;
  padding-left: 0;
}
html.fr-view .fr-view ul {
  list-style: disc;
  padding-left: 1.5em;
}
html.fr-view .fr-view ol {
  list-style: decimal;
  padding-left: 1.5em;
}

/* 챗봇·TOP은 고정 버튼이다. 스타일이 없으면 푸터 아래에 본문으로 쌓여 시안이 길어진다.
   우측 하단 상담 퀵메뉴 위에 둔다. */
#cb-t3-widget {
  position: fixed;
  width: 0;
  height: 0;
  overflow: visible;
  z-index: 1100;
}

#chat-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ce0d0d;
  box-shadow: 0 12px 30px rgba(36, 36, 36, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body:has(.quick-menu) #chat-fab {
  bottom: calc(28px + 76px + 12px + 76px + 12px);
}

#chat-fab:hover {
  background: #242424;
}

#chat-fab .fab-ic {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

#chat-fab .fab-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid #fff;
}

#chat-win {
  position: fixed;
  right: 28px;
  bottom: calc(28px + 60px + 12px);
  z-index: 1101;
  width: min(372px, calc(100vw - 40px));
  height: 520px;
  min-height: 400px;
  max-height: calc(100vh - 110px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 24px 60px rgba(20, 22, 28, 0.24);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

body:has(.quick-menu) #chat-win {
  bottom: calc(28px + 76px + 12px + 76px + 12px + 60px + 12px);
}

#chat-win.open {
  display: flex;
}

.chat-resize {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 3;
  cursor: ns-resize;
  touch-action: none;
}

.chat-resize::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
}

.chat-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px 14px;
  background: #242424;
  flex-shrink: 0;
}

.chat-head-ic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-head-ic .fab-ic {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.chat-head-tx {
  flex: 1;
}

.chat-head-tx strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.chat-head-tx span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-head-tx span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

.chat-reset,
.chat-close {
  margin: 0;
  background: none;
  cursor: pointer;
}

.chat-reset {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 5px 11px;
  line-height: 1;
}

.chat-close {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1;
  padding: 2px 4px;
  border: 0;
}

.chat-body {
  flex: 1;
  min-height: 220px;
  padding: 18px;
  background: #faf9f6;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-welcome-hero {
  font-size: 14px;
  font-weight: 700;
  color: #242424;
  margin: 0 0 8px;
}

.chat-welcome-tx {
  font-size: 13px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 14px;
}

.chat-welcome-label {
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin: 0 0 8px;
}

.chat-welcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.chat-welcome-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: #ce0d0d;
  background: #fff;
  border: 1px solid rgba(206, 13, 13, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.chat-welcome-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: #777;
  margin: 0;
}

.chat-bubble {
  max-width: 84%;
  font-size: 13.5px;
  line-height: 1.72;
  padding: 12px 15px;
  border-radius: 16px;
}

.chat-bubble.bot {
  background: #fff;
  border: 1px solid #eee;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.chat-bubble.me {
  background: #ce0d0d;
  color: #fff;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}

.chat-bubble ul.cb-t1-list {
  margin: 6px 0 10px;
  padding-left: 18px;
  list-style: disc;
}

.chat-foot {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #eee;
  background: #fff;
  flex-shrink: 0;
}

.chat-foot input {
  flex: 1;
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13.5px;
}

.chat-foot button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ce0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-foot button .ic {
  width: 16px;
  height: 16px;
}

#top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1099;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 22, 28, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

body:has(.quick-menu) #top-btn {
  bottom: calc(28px + 76px + 12px + 76px + 12px);
}

#top-btn.visible {
  opacity: 1;
  visibility: visible;
}

#top-btn .top-arrow {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

#top-btn .top-label {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  color: #242424;
}

#toast {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 1300;
  background: #242424;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
}

#toast.on {
  opacity: 1;
}

.detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
}

.detail-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  max-width: 920px;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  overflow: hidden;
  flex-direction: column;
}

.detail-modal.show,
.detail-overlay.show {
  display: flex;
}

@media (max-width: 1100px) {
  #chat-fab {
    right: 16px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }

  body:has(.quick-menu) #chat-fab {
    bottom: calc(20px + 62px + 10px + 62px + 10px);
  }

  #chat-fab .fab-ic {
    width: 22px;
    height: 22px;
  }

  #top-btn {
    right: 16px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }

  body:has(.quick-menu) #top-btn {
    bottom: calc(20px + 62px + 10px + 62px + 10px);
  }

  #chat-win {
    right: 16px;
    bottom: calc(20px + 48px + 10px);
    width: min(372px, calc(100vw - 32px));
  }
}

/* STEP 2 — 태블릿 1023 / 모바일 767. 콘텐츠 폭 기준(--inner)은 1600 */
@media (max-width: 1023px) {
  html.home-fullpage {
    scroll-snap-type: none;
    scroll-padding-top: 0;
  }

  html.home-fullpage #footer {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  html.home-fullpage #container > section,
  html.home-fullpage #container > section.main-sec.main-faculty {
    min-height: 0;
    height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }

  html.home-fullpage #container > section:not(.main-visual) {
    display: block;
    justify-content: flex-start;
  }

  .main-visual,
  html.home-fullpage #container > .main-visual {
    height: 72vw;
    min-height: 420px;
    scroll-margin-top: 0;
  }

  .recruitment-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .recruitment-course {
    gap: 20px;
  }

  .recruitment-course + .recruitment-course {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  body.website-layout .sub-head__title {
    font-size: 44px;
    line-height: 1.25;
  }

  body.website-layout .sub-head__desc {
    font-size: 18px;
    line-height: 1.6;
  }

  body.website-layout :is(.main-visual__title, .greeting-hero__title) {
    font-size: 44px;
    line-height: 1.28;
  }

  body.website-layout :is(.greeting-story__year, .sys-stats__num, .sys-why__num) {
    font-size: 40px;
  }

  body.website-layout .system-cta__emblem strong {
    font-size: 48px;
  }

  body.website-layout :is(.block-heading, .faculty-heading, .greeting-story__title, .sys-why__title) {
    font-size: 32px;
    line-height: 1.35;
  }
}

@media (max-width: 767px) {
  :root {
    --header-bar-height: 60px;
    --header-height: 60px;
  }

  #wrapper {
    --sub-gutter: 16px;
  }

  #header .header-bar,
  #header .contain.header-bar {
    --header-band-y: 6px;
    --header-band-h: 48px;
    min-height: 60px;
    height: 60px;
    padding: 0 16px;
  }

  .main-visual,
  html.home-fullpage #container > .main-visual {
    height: 150vw;
    min-height: 150vw;
    max-height: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-visual__title {
    white-space: normal;
  }

  .real-cont {
    padding-bottom: 48px;
  }

  body.website-layout .sub-head {
    padding: 40px 16px 32px;
  }

  body.website-layout .sub-head__title {
    font-size: 30px;
    line-height: 1.25;
  }

  body.website-layout .sub-head__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  body.website-layout :is(.main-visual__title, .greeting-hero__title) {
    font-size: 30px;
    line-height: 1.3;
  }

  body.website-layout .greeting-hero__title {
    font-size: 22px;
    line-height: 1.4;
  }

  body.website-layout .main-visual__badge {
    font-size: 16px;
    line-height: 1.4;
  }

  body.website-layout :is(.greeting-story__year, .sys-stats__num, .sys-why__num, .system-cta__emblem strong) {
    font-size: 32px;
  }

  body.website-layout :is(.block-heading, .faculty-heading) {
    font-size: 22px;
    line-height: 1.35;
  }

  body.website-layout :is(.greeting-story__title, .sys-why__title, .stp-feature__title, .exm-intro__title) {
    font-size: 22px;
    line-height: 1.4;
  }

  body.website-layout .sub-content :is(
    .greeting-story__body p,
    .greeting-story__lead,
    .sys-why__desc,
    .stp-card__desc,
    .stp-feature__desc,
    .inquiry-privacy__box,
    .success-detail__body,
    .success-detail__body p
  ) {
    font-size: 15px;
    line-height: 1.7;
  }

  body.website-layout .success-detail.stp-detail .success-detail__subhead {
    font-size: 17px;
    line-height: 1.45;
    margin-top: 28px;
    margin-bottom: 12px;
  }

  body.website-layout .sub-content :is(.stp-card__meta, .sys-stats__label, .main-visual-ticker__text) {
    font-size: 14px;
  }

  body.website-layout :is(
    .inquiry,
    .greeting-story,
    .sys-hero__copy,
    .stp-feature__body
  ) {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.website-layout :is(.sys-classes, .sys-why, .greeting-story) {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  #footer .footer-inner,
  #footer .footer-row--foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  #footer .footer-row--foot {
    margin-left: -16px;
    margin-right: -16px;
  }

  #footer .footer-logo__img {
    width: 148px;
  }

  #footer .footer-row--head {
    padding: 16px 0 8px;
    gap: 8px;
  }

  #footer .footer-row--body {
    gap: 6px;
    padding-bottom: 12px;
  }

  #footer .footer-aside {
    margin-top: 4px;
    gap: 6px;
  }

  #footer .footer-consult__num,
  #footer .footer-consult__num a,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--head > div.footer-aside > p.footer-consult__num > a {
    font-size: 20px;
    line-height: 1.3;
  }

  #footer .footer-info,
  #footer .footer-credits,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > p.footer-info__line > span.footer-info__label,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > p.footer-info__line > span.footer-info__value,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > div.footer-info__group > p.footer-info__line > span.footer-info__label,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--body > div.footer-info > div.footer-info__group > p.footer-info__line > span.footer-info__value,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > div.footer-credits > p.footer-credits__copy.copyright,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > div.footer-credits > p.footer-credits__design > a.design-credit,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > nav.footer-policy > a.footer-policy__link {
    font-size: 13px;
    line-height: 20px;
  }

  #footer .footer-info {
    flex: 0 0 auto;
    gap: 2px;
  }

  #footer .footer-info__line {
    gap: 6px;
  }

  #footer .footer-info__group {
    gap: 2px;
  }

  #footer .footer-policy__link,
  html.home-fullpage #wrapper #footer > div.footer-inner > div.footer-box > div.footer-row.footer-row--foot > nav.footer-policy > a.footer-policy__link {
    font-size: 12px;
    line-height: 18px;
  }

  #footer .footer-row--foot {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px;
  }

  .main-program-duo.main-block {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-program-duo .block-inner.program-duo {
    padding-left: 0;
    padding-right: 0;
  }

  .program-duo {
    align-items: stretch;
  }

  .program-duo__col {
    width: 100%;
  }

  .program-duo__media,
  .program-duo__col--aptitude .program-duo__media,
  .program-duo__col--seminar .program-duo__media,
  html.home-fullpage #container .program-duo__media {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 120vw;
    max-height: 520px;
    align-self: stretch;
    border-radius: min(160px, 36vw) min(160px, 36vw) 0 0;
  }

  .program-duo__media img,
  .program-duo__col--aptitude .program-duo__media img,
  .program-duo__col--seminar .program-duo__media img {
    border-radius: min(160px, 36vw) min(160px, 36vw) 0 0;
  }

  .quick-menu {
    right: 15px;
    bottom: 15px;
    gap: 8px;
  }

  .quick-menu__btn,
  .quick-menu__trigger {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    gap: 0;
  }

  .quick-menu__btn svg,
  .quick-menu__trigger svg {
    width: 22px;
    height: 22px;
  }

  .quick-menu__label,
  .quick-menu__trigger > span {
    display: none;
  }

  #top-btn {
    right: 15px;
    width: 44px;
    height: 44px;
  }

  body:has(.quick-menu) #top-btn {
    bottom: calc(15px + 44px + 8px + 44px + 8px);
  }

  .inquiry-submit,
  .stp-search__btn,
  .block-link {
    font-size: 16px;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  html.home-fullpage #wrapper #header > div.header-bar.contain > div.header-actions > a.btn-header-cta,
  #header .btn-header-cta {
    font-size: 14px;
    line-height: 20px;
    padding: 5px 11px;
  }

  .stp-paging__nums a,
  .stp-paging__arrow {
    width: 44px;
    height: 44px;
  }

  .stp-paging {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
    justify-content: center;
  }

  .stp-paging__arrows,
  .stp-paging__nums {
    gap: 0;
    min-width: 0;
  }

  .stp-paging__arrow,
  .stp-paging__arrow.is-disabled,
  .stp-paging__nums a,
  .stp-paging__num,
  .stp-paging__num.is-disabled {
    width: 30px;
    height: 36px;
    flex: 0 0 30px;
  }

  .gnb-panel__inner {
    padding: 20px 16px 16px;
    gap: 16px;
  }

  .gnb-panel .nav-menu > ul > li > a,
  .gnb-panel .nav-menu > ul > li.is-expanded > a,
  html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li > a {
    min-height: 44px;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
  }

  .mobile-navigation.gnb-panel .nav-menu > ul > li.is-expanded,
  .gnb-panel .nav-menu > ul > li.is-expanded {
    padding: 0;
  }

  .gnb-panel .nav-menu > ul > li.is-expanded > a,
  html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li.is-expanded > a {
    min-height: 44px;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
  }

  .gnb-panel .nav-menu > ul > li.is-expanded .submenu {
    margin-top: 8px;
  }

  .gnb-panel .nav-menu .submenu > ul {
    gap: 0;
  }

  .mobile-navigation.gnb-panel .nav-menu .submenu ul li a,
  .gnb-panel .nav-menu .submenu > ul > li > a,
  html.home-fullpage body #menu > div.gnb-panel__inner > nav.nav-menu.gnb-panel__nav > ul > li > div.submenu > ul > li > a {
    padding: 8px 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 26px;
  }

  .gnb-panel__tel,
  html.home-fullpage body #menu > div.gnb-panel__inner > div.gnb-panel__foot > a.gnb-panel__tel {
    font-size: 16px;
    line-height: 24px;
  }

  input,
  select,
  textarea,
  .input,
  .inquiry-input {
    font-size: 16px;
  }

  .inquiry-form :is(input, select, textarea).inquiry-input,
  .inquiry-form .inquiry-radio {
    font-size: 15px;
  }

  .pc-br {
    display: none;
  }

  img {
    max-width: 100%;
  }

  .sub-content iframe[src*="youtube.com"],
  .sub-content iframe[src*="youtube-nocookie.com"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Requested main section typography. IDs keep these sizes above fullpage overrides. */
#wrapper #container #main-results-title,
#wrapper #container #main-stories-title,
#wrapper #container #main-faculty-title .faculty-heading__subtitle,
#wrapper #container #main-system-section-title,
#wrapper #container #main-aptitude-title,
#wrapper #container #main-seminar-title {
  font-size: 60px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
#wrapper #container #main-stories-title {
  color: #ce0d0d;
}
#wrapper #container #main-system-section-title {
  color: #ff5a5a;
  text-align: center;
}

/* Supplied results artwork: white title band and CTA above the light trails. */
html.home-fullpage #wrapper #container > #main-results.results-2026 {
  height: calc(100svh - var(--header-bar-height, 88px));
  min-height: 0;
  padding: 0;
  display: block;
  background: #101010;
}
#wrapper #container #main-results .results-figma-bg__img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}
#wrapper #container #main-results .results-figma-box {
  position: absolute;
  inset: 0;
  height: 100%;
  display: block;
}
#wrapper #container #main-results #main-results-title {
  position: absolute;
  top: 5%;
  margin: 0;
  color: #ce0d0d;
  font-size: 60px;
  line-height: 1.3;
}
#wrapper #container #main-results .results-figma-hero {
  position: absolute;
  top: calc(30% + 24px);
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  box-sizing: border-box;
}
#wrapper #container #main-results .results-figma-more {
  position: absolute;
  top: calc(64% + 12px);
  left: 50%;
  transform: translate(-50%, -100%);
  margin: 0;
  background: #245bff;
  color: #fff;
}
@media (max-width: 767px) {
  #wrapper #container #main-results .results-figma-bg__img {object-fit: fill; object-position: center;}
  #wrapper #container #main-results .results-figma-more {top: calc(64% + 12px);}
}

@media (min-width: 768px) {
  #wrapper #container #main-results .results-figma-hero {
    top: calc(24% + 24px);
    transform: scale(.8);
    transform-origin: top center;
  }
}


/* Extend only the lower edge into a soft dark tail. */
html.home-fullpage #wrapper #container > #main-results.results-2026 {
  overflow: hidden;
  margin-bottom: 0;
}
#wrapper #container #main-results::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: #101010;
  pointer-events: none;
}

/* Keep the copy clear of the CTA on shorter desktop viewports. */
@media (min-width: 768px) and (max-height: 850px) {
  #wrapper #container #main-results .results-figma-hero {transform: scale(.6);}
}
@media (min-width: 768px) and (max-height: 650px) {
  #wrapper #container #main-results .results-figma-hero {transform: scale(.45);}
}
#wrapper #container #main-results .results-figma-bg::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(16,16,16,0), #101010);
  pointer-events: none;
}


/* Recruitment heading size requested on 2026-10-23. */
#wrapper #container #recruitment-title { font-size: 60px; line-height: 1.3; }

/* 4th revision: scroll direction takes priority over desktop hover styles. */
#wrapper #header.is-hidden{transform:translateY(-100%)!important;pointer-events:none}
html.menu-opened #wrapper #header.is-hidden{transform:none!important;pointer-events:auto}
