/* AP 페이지 — 2026-11-03 요청(ap_page_v4.html) 구성.
   모든 선택자는 .legacy-page #ap 로 시작해 다른 페이지로 새지 않게 한다.
   2026-11-04 요청: 글꼴은 SAT·TOEFL 페이지와 같은 고딕(명조 제목 없앰).
   2026-11-04 요청 2차: 과목이 달라도 SAT 페이지와 통일감이 느껴지게 — 첫 화면 영상 배경, 번호 이름표(SAT .check1-badge 모양, 색만 AP 주황),
   제목·본문 크기와 구역 간격을 SAT 수준으로 키웠다. 유튜브 영상 슬라이더 모양은 /css/video-carousel.css(메인 페이지와 같음). */

.legacy-page #ap {
  --ap-ink: #1a1410;
  --ap-navy: #0a0f22;
  --ap-orange: #b5531c;
  --ap-orange-light: #d4702e;
  --ap-gold: #d3a852;
  --ap-gold-deep: #b8862c;
  --ap-mute: #6b6660;
  --ap-light: #f7f5f2;
  --ap-line: #e8e2da;
  --ap-card: #2a1e14;
  --ap-card-line: #3d2d1f;

  font-family:
    'Pretendard',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    var(--font-roboto),
    Roboto,
    'Helvetica Neue',
    'Segoe UI',
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    'Malgun Gothic',
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    sans-serif;
  color: var(--ap-ink);
  line-height: 1.65;
  word-break: keep-all;
  background: #fff;
}

.legacy-page #ap img {
  max-width: 100%;
  height: auto;
}

.legacy-page #ap .ap-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.legacy-page #ap p {
  font-size: 19px;
  text-align: center;
  margin: 0 0 14px;
  color: #3a332c;
}

.legacy-page #ap .ap-hl {
  color: var(--ap-orange);
}

/* 구역 본문(작은 설명·타임라인 아래 문단 말고)은 SAT 본문처럼 화면 폭에 따라 16~24px. */
.legacy-page #ap .ap-wrap > p:not(.ap-small):not(.ap-tl__after) {
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.7;
  letter-spacing: -0.5px;
}

.legacy-page #ap .ap-small {
  font-size: 15px;
  color: var(--ap-mute);
  margin-top: 14px;
}

/* 구역 공통 */
.legacy-page #ap .ap-sec {
  padding: 140px 0;
}

.legacy-page #ap .ap-sec--light {
  background: var(--ap-light);
}

.legacy-page #ap .ap-sec--dark {
  background: var(--ap-navy);
  color: #fff;
}

.legacy-page #ap .ap-sec--dark p {
  color: #e6ded4;
}

.legacy-page #ap .ap-sec--dark .ap-hl {
  color: var(--ap-gold);
}

.legacy-page #ap .ap-h2 {
  font-size: clamp(27px, 3.6vw, 52px);
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
  margin: 0 0 28px;
  letter-spacing: -1.5px;
}

.legacy-page #ap .ap-h3 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.35;
  letter-spacing: -1px;
}

/* 번호 이름표(1. 채점 기준 이해 …): SAT 의 .check1-badge 와 같은 모양·크기, 색은 AP 주황·갈색. 어두운 구역에서도 같다. */
.legacy-page #ap .ap-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 100px;
  box-sizing: border-box;
  margin: 0 auto 40px;
  padding: 20px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--ap-orange-light), var(--ap-orange) 55%, #8e3f12 103%);
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.5px;
  text-align: center;
}

/* ① 히어로 — 개편 전처럼 공부하는 손 영상(/video/AP.mp4)을 깔고, SAT 첫 화면처럼 어두운 덮개 위에 흰 글씨. */
.legacy-page #ap .ap-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 810px;
  overflow: hidden;
  background: var(--ap-navy);
  color: #fff;
  text-align: center;
}

.legacy-page #ap .ap-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SAT 첫 화면의 덮개 두 겹(검정 30% + 30%)과 같은 어둡기. */
.legacy-page #ap .ap-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.legacy-page #ap .ap-hero .ap-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* 2026-11-04 요청: 윗줄(2026년 5월 AP, 응시생 106명 중)은 굵게 하지 않고, 강조 상자만 굵게. */
.legacy-page #ap .ap-hero__title {
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.3;
  font-weight: 400;
  margin: 0 0 30px;
  letter-spacing: -2px;
  color: #fff;
}

.legacy-page #ap .ap-hero p {
  color: #fff;
}

.legacy-page #ap .ap-box {
  display: inline-block;
  margin-top: 16px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ap-orange-light), var(--ap-orange) 55%, #8e3f12 103%);
  color: #fff;
  padding: 8px 30px;
}

/* ② 숫자 · 세계 평균 비교 · 인증 */
.legacy-page #ap .ap-sec--result {
  padding-top: 70px;
}

.legacy-page #ap .ap-laurels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 10px auto 0;
}

.legacy-page #ap .ap-laurel {
  position: relative;
  text-align: center;
  padding: 26px 10px;
}

.legacy-page #ap .ap-laurel::before,
.legacy-page #ap .ap-laurel::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 46px;
  height: 90px;
  margin-top: -45px;
  background: url('/img/ap/laurel_left.webp') no-repeat center / contain;
}

.legacy-page #ap .ap-laurel::before {
  left: 3%;
}

.legacy-page #ap .ap-laurel::after {
  right: 3%;
  background-image: url('/img/ap/laurel_right.webp');
}

.legacy-page #ap .ap-laurel__k,
.legacy-page #ap .ap-laurel__s {
  font-size: 14px;
  color: var(--ap-mute);
}

.legacy-page #ap .ap-laurel__k {
  font-weight: 700;
}

.legacy-page #ap .ap-laurel__v {
  font-size: 30px;
  font-weight: 900;
  margin: 4px 0 2px;
  color: var(--ap-gold-deep);
}

.legacy-page #ap .ap-cmp {
  max-width: 820px;
  margin: 40px auto 0;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  padding: 28px 32px;
  background: #fff;
}

.legacy-page #ap .ap-cmp__title {
  margin: 0 0 18px;
  font-size: 17px;
  text-align: center;
  color: var(--ap-mute);
  font-weight: 700;
}

.legacy-page #ap .ap-cmp__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f0ebe4;
}

.legacy-page #ap .ap-cmp__title + .ap-cmp__row {
  border-top: 0;
}

.legacy-page #ap .ap-cmp__name {
  font-weight: 800;
  font-size: 16px;
}

.legacy-page #ap .ap-bars {
  display: grid;
  gap: 6px;
}

.legacy-page #ap .ap-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.legacy-page #ap .ap-bar i {
  display: block;
  height: 14px;
  border-radius: 7px;
}

.legacy-page #ap .ap-bar--world i {
  background: #d9d2c8;
}

.legacy-page #ap .ap-bar--vet i {
  background: linear-gradient(90deg, var(--ap-orange-light), var(--ap-orange));
}

.legacy-page #ap .ap-bar span {
  min-width: 70px;
  color: var(--ap-mute);
}

.legacy-page #ap .ap-bar b {
  min-width: 44px;
  text-align: right;
}

.legacy-page #ap .ap-cmp__foot {
  margin: 18px 0 0;
  font-size: 15px;
}

.legacy-page #ap .ap-cmp__source {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ap-mute);
}

.legacy-page #ap .ap-proof {
  margin-top: 50px;
  text-align: center;
}

.legacy-page #ap .ap-proof__title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 24px;
}

.legacy-page #ap .ap-proof img {
  width: 100%;
  border-radius: 12px;
}

/* 수업 문의 띠 */
.legacy-page #ap .ap-askband {
  background: linear-gradient(100deg, #8e3f12, #c9661f 60%, var(--ap-orange));
  color: #fff;
  padding: 56px 0;
}

.legacy-page #ap .ap-askband__in,
.legacy-page #ap .ap-ending__in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.legacy-page #ap .ap-askband__title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.legacy-page #ap .ap-askband__btn {
  display: inline-block;
  border: 1.5px solid #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.legacy-page #ap .ap-askband img {
  width: 220px;
}

/* ③ 도입 */
.legacy-page #ap .ap-quote {
  max-width: 960px;
  margin: 48px auto 0;
  background: #fff;
  border-left: 6px solid var(--ap-orange);
  padding: 30px 36px;
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 700;
  line-height: 1.5;
}

/* ④ 핵심 1 : 루브릭 */
.legacy-page #ap .ap-frq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 48px auto 0;
}

.legacy-page #ap .ap-ans {
  position: relative;
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 14px;
  padding: 22px;
}

.legacy-page #ap .ap-ans img {
  display: block;
  width: 100%;
  border: 1px solid #f0ebe4;
  border-radius: 6px;
}

.legacy-page #ap .ap-score {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}

.legacy-page #ap .ap-score--a {
  background: #2e9e6b;
}

.legacy-page #ap .ap-score--b {
  background: #e0a020;
}

.legacy-page #ap .ap-score--c {
  background: #c8402e;
}

.legacy-page #ap .ap-ans__name {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ap-mute);
  font-weight: 700;
}

.legacy-page #ap .ap-g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto 0;
  align-items: center;
}

.legacy-page #ap .ap-g2__text .ap-h3,
.legacy-page #ap .ap-g2__text p {
  text-align: left;
}

.legacy-page #ap .ap-g2__text .ap-h3 {
  font-size: clamp(22px, 2.1vw, 30px);
}

.legacy-page #ap .ap-g2__text p {
  font-size: clamp(16px, 1.3vw, 19px);
}

.legacy-page #ap .ap-figure {
  margin: 0;
  text-align: center;
}

.legacy-page #ap .ap-figure img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--ap-line);
}

.legacy-page #ap .ap-figure figcaption {
  font-size: 14px;
  color: var(--ap-mute);
  margin-top: 10px;
}

/* ⑤ 핵심 2 : 질문 */
.legacy-page #ap .ap-g2--qna {
  align-items: start;
}

.legacy-page #ap .ap-g2--qna .ap-g2__text {
  align-self: center;
}

/* 카톡 캡처 슬라이드(2026-11-04 요청): 가운데 1장은 다 보이고 양옆은 반 장씩 보인다.
   장마다 --ap-qna-offset(-1 왼쪽, 0 가운데, 1 오른쪽, 2 뒤로 숨김)을 ap-page.js 가 붙인다. */
.legacy-page #ap .ap-qna {
  --ap-qna-slide: 50%;
  position: relative;
}

.legacy-page #ap .ap-qna__view {
  position: relative;
  overflow: hidden;
  /* 가장 긴 캡처(720×1494)가 칸 너비의 반으로 들어가는 높이 */
  aspect-ratio: 1440 / 1494;
  touch-action: pan-y;
}

.legacy-page #ap .ap-qna__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ap-qna-slide);
  overflow: hidden;
  border-radius: 12px;
  background: #b2c7da;
  transform: translate(
      calc(-50% + var(--ap-qna-offset, 0) * 100% + var(--ap-qna-offset, 0) * 8px),
      -50%
    )
    scale(var(--ap-qna-scale, 1));
  opacity: var(--ap-qna-opacity, 1);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.legacy-page #ap .ap-qna__item.is-side {
  --ap-qna-scale: 0.92;
  --ap-qna-opacity: 0.55;
  cursor: pointer;
}

.legacy-page #ap .ap-qna__item.is-hidden {
  --ap-qna-opacity: 0;
  pointer-events: none;
}

.legacy-page #ap .ap-qna__item img {
  display: block;
  width: 100%;
}

.legacy-page #ap .ap-qna__btn {
  position: absolute;
  top: calc(50% - 16px);
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 15, 34, 0.75);
  color: var(--ap-gold);
  font-size: 16px;
  line-height: 44px;
  cursor: pointer;
  transition: background 0.2s;
}

.legacy-page #ap .ap-qna__btn:hover,
.legacy-page #ap .ap-qna__btn:focus-visible {
  background: var(--ap-orange);
  color: #fff;
}

.legacy-page #ap .ap-qna__btn--prev {
  left: 6px;
}

.legacy-page #ap .ap-qna__btn--next {
  right: 6px;
}

.legacy-page #ap .ap-qna__count {
  margin: 12px 0 0;
  font-size: 14px;
  color: #c9bfb2;
}

@media (prefers-reduced-motion: reduce) {
  .legacy-page #ap .ap-qna__item {
    transition: none;
  }
}

.legacy-page #ap .ap-g2--qna .ap-g2__text p {
  font-size: 18px;
}

.legacy-page #ap .ap-points {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.legacy-page #ap .ap-points div,
.legacy-page #ap .ap-how div {
  background: var(--ap-card);
  border: 1px solid var(--ap-card-line);
  border-radius: 12px;
  padding: 22px;
}

.legacy-page #ap .ap-points b,
.legacy-page #ap .ap-how b {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.legacy-page #ap .ap-points span,
.legacy-page #ap .ap-how span {
  font-size: 16px;
  color: #c9bfb2;
}

/* ⑥ 핵심 3 : 타이밍 */
.legacy-page #ap .ap-tl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 980px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.legacy-page #ap .ap-tl::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 3px;
  background: linear-gradient(90deg, #d9d2c8, var(--ap-orange));
}

.legacy-page #ap .ap-tl li {
  position: relative;
  text-align: center;
  padding-top: 50px;
}

.legacy-page #ap .ap-tl li::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #d9d2c8;
}

.legacy-page #ap .ap-tl li:last-child::before {
  border-color: var(--ap-orange);
  background: var(--ap-orange);
}

.legacy-page #ap .ap-tl__m {
  font-size: 16px;
  color: var(--ap-mute);
  font-weight: 700;
}

.legacy-page #ap .ap-tl__t {
  font-size: 24px;
  font-weight: 800;
  margin-top: 4px;
}

.legacy-page #ap .ap-tl li:last-child .ap-tl__t {
  color: var(--ap-orange);
  font-size: 32px;
}

.legacy-page #ap .ap-tl__after {
  margin-top: 48px;
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.7;
  letter-spacing: -0.5px;
}

/* ⑦ 영상 슬라이더(2026-11-04 요청 2차) — 메인 페이지 성공사례 영상과 같은 슬라이더. 바로 아래 '이렇게 수강합니다'와 한 덩어리로 이어진다. */
.legacy-page #ap .ap-sec--videos {
  padding-bottom: 0;
}

.legacy-page #ap .ap-videos {
  width: min(1340px, 93.3333vw);
  margin: 60px auto 0;
}

.legacy-page #ap .video-carousel {
  margin-bottom: 0;
}

/* ⑧ 이렇게 수강합니다 */
.legacy-page #ap .ap-sec--how {
  padding: 120px 0 140px;
}

.legacy-page #ap .ap-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: center;
}

.legacy-page #ap .ap-how b {
  font-size: 22px;
  color: var(--ap-gold);
}

/* ⑧ 개설 과목 · 시간표 — 2026-11-04 요청으로 개편 전 구성으로 되돌렸다.
   개편 전 ap.css 에서 이 구역(.sec6, #ms13)에 쓰이던 규칙만 골라 .ap-legacy 안으로 옮겼다.
   (개편 전 파일은 git 6020232^ 의 public/css/pages/ap.css) */
.legacy-page #ap .ap-legacy {
  word-break: normal;
}

.legacy-page #ap .ap-legacy {
  font-size: 10px;
  line-height: 1.5;
  color: #333;
}
.legacy-page #ap .ap-legacy .container {
  width: auto;
  padding: 0;
}
.legacy-page #ap .ap-legacy *,
.legacy-page #ap .ap-legacy :after,
.legacy-page #ap .ap-legacy :before {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}
.legacy-page #ap .ap-legacy {
  margin: 0;
  line-height: inherit;
}
.legacy-page #ap .ap-legacy h2,
.legacy-page #ap .ap-legacy h3,
.legacy-page #ap .ap-legacy h5 {
  font-size: inherit;
  font-weight: inherit;
}
.legacy-page #ap .ap-legacy a {
  color: inherit;
  text-decoration: inherit;
}
.legacy-page #ap .ap-legacy :-moz-focusring {
  outline: auto;
}
.legacy-page #ap .ap-legacy :-moz-ui-invalid {
  box-shadow: none;
}
.legacy-page #ap .ap-legacy ::-webkit-inner-spin-button,
.legacy-page #ap .ap-legacy ::-webkit-outer-spin-button {
  height: auto;
}
.legacy-page #ap .ap-legacy [type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
.legacy-page #ap .ap-legacy ::-webkit-search-decoration {
  -webkit-appearance: none;
}
.legacy-page #ap .ap-legacy ::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
.legacy-page #ap .ap-legacy h2,
.legacy-page #ap .ap-legacy h3,
.legacy-page #ap .ap-legacy h5 {
  margin: 0;
}
.legacy-page #ap .ap-legacy ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.legacy-page #ap .ap-legacy [role='button'] {
  cursor: pointer;
}
.legacy-page #ap .ap-legacy :disabled {
  cursor: default;
}
.legacy-page #ap .ap-legacy img {
  display: block;
  vertical-align: middle;
}
.legacy-page #ap .ap-legacy img {
  max-width: 100%;
  height: auto;
}
.legacy-page #ap .ap-legacy {
  overflow-x: hidden;
  max-width: 100%;
}
.legacy-page #ap .ap-legacy {
  font-family:
    'Pretendard',
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    var(--font-roboto),
    Roboto,
    'Helvetica Neue',
    'Segoe UI',
    'Apple SD Gothic Neo',
    'Noto Sans KR',
    'Malgun Gothic',
    'Apple Color Emoji',
    'Segoe UI Emoji',
    'Segoe UI Symbol',
    sans-serif;
  color: #333;
  position: relative;
}
.legacy-page #ap .ap-legacy,
.legacy-page #ap .ap-legacy div,
.legacy-page #ap .ap-legacy h2,
.legacy-page #ap .ap-legacy h3,
.legacy-page #ap .ap-legacy h5 {
  letter-spacing: -0.05em;
}
.legacy-page #ap .ap-legacy .f_hr {
  font-family: WarhavenB, sans-serif !important;
}
.legacy-page #ap .ap-legacy h2.as-h1.dft {
  line-height: 1.4em;
}
.legacy-page #ap .ap-legacy h2.dft {
  line-height: 1.4em;
}
.legacy-page #ap .ap-legacy h3.dft {
  line-height: 1.3em;
}
.legacy-page #ap .ap-legacy h5.dft {
  line-height: 1.7em;
}
@media (max-width: 1200px) {
  .legacy-page #ap .ap-legacy .dft {
    line-height: 1.3em !important;
  }
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (45 / 1200));
    line-height: 1.1em !important;
  }
}
@media (992px <= width <= 1200px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (40 / 1200));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (30 / 1200));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (28 / 1200));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (20 / 1200));
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (40 / 992));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (30 / 992));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (28 / 992));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (22 / 992));
  }
}
@media (max-width: 768px) and (min-width: 500px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (40 / 768));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (30 / 768));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (26 / 768));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (22 / 768));
  }
}
@media (max-width: 501px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (35 / 500));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (30 / 500));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (24 / 500));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (18 / 500));
  }
}
.legacy-page #ap .ap-legacy .font-Heavy {
  font-weight: 800 !important;
}
.legacy-page #ap .ap-legacy .c_ap {
  color: #bc5517 !important;
}
.legacy-page #ap .ap-legacy img {
  max-width: 100%;
}
.legacy-page #ap .ap-legacy :focus {
  outline: 0 auto -webkit-focus-ring-color;
}
@media (max-width: 450px) {
  .legacy-page #ap .ap-legacy .show450 {
    display: block;
  }
}
@media (min-width: 1370px) {
  .legacy-page #ap .ap-legacy .container:not(.mini) {
    width: 1370px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .legacy-page #ap .ap-legacy #ms13 {
    padding-top: calc(16vw);
    padding-bottom: calc(16vw);
  }
}
.legacy-page #ap .ap-legacy .conbox {
  margin-top: 60px;
}
.legacy-page #ap .ap-legacy .conbox.conbox_xxxs {
  margin-top: 10px;
}
@media (max-width: 1200px) and (min-width: 992px) {
  .legacy-page #ap .ap-legacy .conbox {
    margin-top: calc(100vw * (60 / 1200));
  }
  .legacy-page #ap .ap-legacy .conbox.conbox_xxxs {
    margin-top: calc(100vw * (10 / 1200));
  }
}
@media (max-width: 991px) and (min-width: 767px) {
  .legacy-page #ap .ap-legacy .conbox {
    margin-top: calc(100vw * (60 / 992));
  }
  .legacy-page #ap .ap-legacy .conbox.conbox_xxxs {
    margin-top: calc(100vw * (10 / 992));
  }
}
@media (max-width: 768px) and (min-width: 450px) {
  .legacy-page #ap .ap-legacy .conbox {
    margin-top: calc(100vw * (40 / 768));
  }
  .legacy-page #ap .ap-legacy .conbox.conbox_xxxs {
    margin-top: calc(100vw * (5 / 768));
  }
}
@media (max-width: 501px) {
  .legacy-page #ap .ap-legacy .conbox {
    margin-top: calc(100vw * (40 / 500));
  }
  .legacy-page #ap .ap-legacy .conbox.conbox_xxxs {
    margin-top: calc(100vw * (5 / 500));
  }
}
.legacy-page #ap .ap-legacy .sec_dvd {
  padding: 130px 0;
}
.legacy-page #ap .ap-legacy .sec_dvd.sec_dvd_lg {
  padding: 150px 0;
}
@media (max-width: 1200px) and (min-width: 992px) {
  .legacy-page #ap .ap-legacy .sec_dvd {
    padding-top: calc(100vw * (50 / 1200));
    padding-bottom: calc(100vw * (50 / 1200));
  }
  .legacy-page #ap .ap-legacy .sec_dvd.sec_dvd_lg {
    padding-top: calc(100vw * (70 / 1200));
    padding-bottom: calc(100vw * (70 / 1200));
  }
}
@media (max-width: 991px) and (min-width: 767px) {
  .legacy-page #ap .ap-legacy .sec_dvd {
    padding-top: calc(100vw * (80 / 992));
    padding-bottom: calc(100vw * (80 / 992));
  }
  .legacy-page #ap .ap-legacy .sec_dvd.sec_dvd_lg {
    padding-top: calc(100vw * (100 / 992));
    padding-bottom: calc(100vw * (100 / 992));
  }
}
@media (max-width: 768px) and (min-width: 500px) {
  .legacy-page #ap .ap-legacy .sec_dvd {
    padding-top: calc(100vw * (80 / 768));
    padding-bottom: calc(100vw * (80 / 768));
  }
  .legacy-page #ap .ap-legacy .sec_dvd.sec_dvd_lg {
    padding-top: calc(100vw * (100 / 768));
    padding-bottom: calc(100vw * (100 / 768));
  }
}
@media (max-width: 501px) {
  .legacy-page #ap .ap-legacy .sec_dvd {
    padding-top: calc(100vw * (80 / 500));
    padding-bottom: calc(100vw * (80 / 500));
  }
  .legacy-page #ap .ap-legacy .sec_dvd.sec_dvd_lg {
    padding-top: calc(100vw * (100 / 500));
    padding-bottom: calc(100vw * (100 / 500));
  }
}
.legacy-page #ap .ap-legacy .dft {
  word-break: keep-all;
  color: #111;
  text-transform: none;
  line-height: 1.3em;
}
.legacy-page #ap .ap-legacy h2.as-h1.dft {
  font-size: 45px;
}
.legacy-page #ap .ap-legacy h2.dft {
  font-size: 35px;
}
.legacy-page #ap .ap-legacy h3.dft {
  font-size: 28px;
}
.legacy-page #ap .ap-legacy h5.dft {
  font-size: 20px;
}
.legacy-page #ap .ap-legacy .font-SemiBold {
  font-weight: 600 !important;
}
.legacy-page #ap .ap-legacy .font-Bold {
  font-weight: 700 !important;
}
.legacy-page #ap .ap-legacy .font-ExtraBold {
  font-weight: 800 !important;
}
.legacy-page #ap .ap-legacy .font-Heavy {
  font-weight: 900 !important;
}
@media (max-width: 1200px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (45 / 1200));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (30 / 1200));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (28 / 1200));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (20 / 1200));
  }
}
@media (max-width: 768px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (40 / 768));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (28 / 768));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (24 / 768));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (18 / 768));
  }
}
@media (max-width: 501px) {
  .legacy-page #ap .ap-legacy h2.as-h1.dft {
    font-size: calc(100vw * (35 / 500));
  }
  .legacy-page #ap .ap-legacy h2.dft {
    font-size: calc(100vw * (30 / 500));
  }
  .legacy-page #ap .ap-legacy h3.dft {
    font-size: calc(100vw * (24 / 500));
  }
  .legacy-page #ap .ap-legacy h5.dft {
    font-size: calc(100vw * (18 / 500));
  }
}
.legacy-page #ap .ap-legacy .show450 {
  display: none;
}
@media (max-width: 450px) {
  .legacy-page #ap .ap-legacy .show450 {
    display: block;
  }
}
@media (min-width: 768px) {
  .legacy-page #ap .ap-legacy .container {
    width: 750px;
    margin: 0 auto;
  }
}
@media (min-width: 992px) {
  .legacy-page #ap .ap-legacy .container {
    width: 970px;
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .legacy-page #ap .ap-legacy .container {
    width: 1170px;
    margin: 0 auto;
  }
}
.legacy-page #ap .ap-legacy .row {
  margin-left: -15px;
  margin-right: -15px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .legacy-page #ap .ap-legacy .row {
    margin-left: -5px;
    margin-right: -5px;
  }
}
.legacy-page #ap .ap-legacy .row:after,
.legacy-page #ap .ap-legacy .row:before {
  content: ' ';
  display: table;
}
.legacy-page #ap .ap-legacy .row:after {
  clear: both;
}
.legacy-page #ap .ap-legacy .col-sm-3 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .legacy-page #ap .ap-legacy .col-sm-3 {
    width: 25%;
    float: left;
  }
}
.legacy-page #ap .ap-legacy .list-unstyled {
  padding-left: 0;
  list-style: none;
}
.legacy-page #ap .ap-legacy .text-center {
  text-align: center;
}
.legacy-page #ap .ap-legacy .mb-none {
  margin-bottom: 0 !important;
}
.legacy-page #ap .ap-legacy .apClass .item {
  border-top: 4px solid #bc5517;
  text-align: center;
}
.legacy-page #ap .ap-legacy .apClass .item .tt {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  font-size: 23px;
}
.legacy-page #ap .ap-legacy .apClass .item ul li {
  padding: 10px 15px;
  margin: 8px 0;
  background-color: #f9f8f7;
  border-radius: 8px;
}
.legacy-page #ap .ap-legacy .apClass .item ul li h5 {
  color: #7b7065;
}
@media (max-width: 1200px) {
  .legacy-page #ap .ap-legacy .apClass .item .tt {
    font-size: calc(100vw * (23 / 1200));
  }
}
@media (max-width: 992px) {
  .legacy-page #ap .ap-legacy .apClass .item .tt {
    font-size: calc(100vw * (23 / 992));
  }
}
@media (max-width: 768px) {
  .legacy-page #ap .ap-legacy .apClass .item {
    border-top-width: 2px;
  }
  .legacy-page #ap .ap-legacy .apClass .item .tt {
    padding: 10px;
    font-size: calc(100vw * (24 / 768));
  }
  .legacy-page #ap .ap-legacy .apClass .item ul li {
    padding: 7px 10px;
  }
}
@media (max-width: 500px) {
  .legacy-page #ap .ap-legacy .apClass .item .tt {
    font-size: calc(100vw * (24 / 500));
  }
}
.legacy-page #ap .ap-legacy .stit {
  margin-bottom: 0;
}
.legacy-page #ap .ap-legacy #ms13 {
  width: 100%;
  padding: 200px 0;
  text-align: center;
}
.legacy-page #ap .ap-legacy #ms13 .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
.legacy-page #ap .ap-legacy #ms13 .first h2 {
  color: #bc5517;
  margin-bottom: 20px;
}
.legacy-page #ap .ap-legacy #ms13 .first h2.as-h1 {
  font-size: 70px;
  line-height: 100px;
  letter-spacing: -2.5px;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-accordion {
  width: 100%;
  border-top: 2px solid #333;
  display: flex;
  flex-direction: column;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-item {
  scroll-margin-top: 90px;
}
@media (max-width: 768px) {
  .legacy-page #ap .ap-legacy #ms13 .timetable-item {
    scroll-margin-top: 53px;
  }
}
.legacy-page #ap .ap-legacy #ms13 .timetable-item {
  border-bottom: 1px solid #e0e0e0;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
  background: #bc5517;
  color: #fff;
  font-size: 30px;
  line-height: 50px;
  padding: 8px 20px;
  border-radius: 999px;
  letter-spacing: -0.5px;
  display: inline-block;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-subtitle {
  font-size: 30px;
  line-height: 30px;
  color: #333;
  letter-spacing: -0.5px;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-right {
  width: 42px;
  height: 42px;
  background: #bc5517;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-body {
  display: none;
  padding: 0 30px 30px;
  text-align: left;
}
.legacy-page #ap .ap-legacy #ms13 .timetable-body img {
  margin: 0 auto;
  display: block;
  width: 100%;
}
@media (max-width: 1370px) {
  .legacy-page #ap .ap-legacy #ms13 {
    padding: 14.5985vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .container {
    gap: 5.8394vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2 {
    margin-bottom: 1.4599vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2.as-h1 {
    letter-spacing: -0.1825vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header {
    padding: 2.1898vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-left {
    gap: 0.7299vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
    padding: 0.5839vw 1.4599vw;
    letter-spacing: -0.0365vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-subtitle {
    letter-spacing: -0.0365vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-right {
    width: 3.0657vw;
    height: 3.0657vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-body {
    padding: 0 2.1898vw 2.1898vw;
  }
}
@media (max-width: 1200px) {
  .legacy-page #ap .ap-legacy #ms13 {
    padding: 16.6667vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .container {
    gap: 6.6667vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2 {
    margin-bottom: 1.6667vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2.as-h1 {
    letter-spacing: -0.2083vw;
    font-size: calc(100vw * (65 / 1200));
    line-height: calc(100vw * (95 / 1200));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header {
    padding: 2.5vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-left {
    gap: 0.8333vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
    padding: 0.6667vw 1.6667vw;
    letter-spacing: -0.0417vw;
    font-size: calc(100vw * (25 / 1200));
    line-height: calc(100vw * (45 / 1200));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-subtitle {
    letter-spacing: -0.0417vw;
    font-size: calc(100vw * (25 / 1200));
    line-height: calc(100vw * (25 / 1200));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-right {
    width: 3.5vw;
    height: 3.5vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-body {
    padding: 0 2.5vw 2.5vw;
  }
}
@media (max-width: 992px) {
  .legacy-page #ap .ap-legacy #ms13 {
    padding: 20.1613vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .container {
    gap: 8.0645vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2 {
    margin-bottom: 2.0161vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2.as-h1 {
    letter-spacing: -0.252vw;
    font-size: calc(100vw * (65 / 992));
    line-height: calc(100vw * (95 / 992));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header {
    padding: 3.0242vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-left {
    gap: 1.0081vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
    padding: 0.8065vw 2.0161vw;
    letter-spacing: -0.0504vw;
    font-size: calc(100vw * (25 / 992));
    line-height: calc(100vw * (45 / 992));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-subtitle {
    letter-spacing: -0.0504vw;
    font-size: calc(100vw * (25 / 992));
    line-height: calc(100vw * (25 / 992));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-right {
    width: 4.2339vw;
    height: 4.2339vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-body {
    padding: 0 3.0242vw 3.0242vw;
  }
}
@media (max-width: 768px) {
  .legacy-page #ap .ap-legacy #ms13 {
    padding: 13.0208vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .container {
    gap: 10.4167vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2 {
    margin-bottom: 2.6042vw;
    font-size: calc(100vw * (40 / 768));
    line-height: calc(100vw * (40 / 768));
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2.as-h1 {
    letter-spacing: -0.2604vw;
    font-size: calc(100vw * (50 / 768));
    line-height: calc(100vw * (70 / 768));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header {
    padding: 3.9063vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-left {
    gap: 1.3021vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
    padding: 1.0417vw 2.6042vw;
    letter-spacing: 0;
    font-size: calc(100vw * (25 / 768));
    line-height: calc(100vw * (35 / 768));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-subtitle {
    letter-spacing: 0;
    font-size: calc(100vw * (25 / 768));
    line-height: calc(100vw * (25 / 768));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-right {
    width: 5.4688vw;
    height: 5.4688vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-body {
    padding: 0 3.9063vw 3.9063vw;
  }
}
@media (max-width: 450px) {
  .legacy-page #ap .ap-legacy #ms13 {
    padding: 22.2222vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .container {
    gap: 17.7778vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2 {
    margin-bottom: 4.4444vw;
    font-size: calc(100vw * (22 / 450));
    line-height: calc(100vw * (22 / 450));
  }
  .legacy-page #ap .ap-legacy #ms13 .first h2.as-h1 {
    letter-spacing: -0.4444vw;
    font-size: calc(100vw * (32 / 450));
    line-height: calc(100vw * (45 / 450));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header {
    padding: 6.6667vw 0;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-left {
    gap: 1.1111vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
    padding: 1.7778vw 2.2222vw;
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-subtitle,
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-title {
    letter-spacing: -0.1111vw;
    font-size: calc(100vw * (15 / 450));
    line-height: calc(100vw * (15 / 450));
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-header .tt-right {
    width: 4.5vw;
    height: 4.5vw;
    background: none;
    filter: brightness(0);
  }
  .legacy-page #ap .ap-legacy #ms13 .timetable-body {
    padding: 0 6.6667vw 6.6667vw;
  }
}

/* ⑨ 엔딩 */
.legacy-page #ap .ap-ending {
  background: linear-gradient(135deg, #2a1a0e, var(--ap-navy));
  color: #fff;
  padding: 100px 0;
}

.legacy-page #ap .ap-ending__title {
  text-align: left;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 22px;
  color: #fff;
}

.legacy-page #ap .ap-ending p {
  text-align: left;
  color: #e6ded4;
}

.legacy-page #ap .ap-ending__btn {
  display: inline-block;
  margin-top: 22px;
  background: linear-gradient(90deg, #e2b85c, var(--ap-gold-deep));
  color: var(--ap-ink);
  font-weight: 800;
  font-size: 19px;
  padding: 16px 40px;
  border-radius: 999px;
}

.legacy-page #ap .ap-ending img {
  width: 300px;
}

/* 영문은 문장이 길어 제목 크기를 조금 줄인다. */
.legacy-page #ap:lang(en) .ap-hero__title {
  font-size: clamp(28px, 3.6vw, 52px);
}

/* 번호 이름표 반응형: SAT .check1-badge 의 1370·1200·992·768·450px 규칙과 같은 값. */
@media (max-width: 1370px) {
  .legacy-page #ap .ap-label {
    margin-bottom: 2.9197vw;
    font-size: calc(100vw * (40 / 1370));
    letter-spacing: -0.1095vw;
  }
}

@media (max-width: 1200px) {
  .legacy-page #ap .ap-label {
    min-height: 8.3333vw;
    font-size: calc(100vw * (40 / 1370));
    line-height: calc(100vw * (40 / 1370));
    letter-spacing: -0.1095vw;
  }
}

@media (max-width: 992px) {
  .legacy-page #ap .ap-label {
    font-size: clamp(18px, calc(5.3571vw - 23.143px), 30px);
    line-height: clamp(24px, calc(5.3571vw - 17.143px), 36px);
    letter-spacing: -0.1512vw;
  }

  .legacy-page #ap .ap-hero {
    height: 100vw;
    max-height: 800px;
  }
}

@media (max-width: 768px) {
  .legacy-page #ap .ap-label {
    min-height: 0;
    margin-bottom: 20px;
    padding: 12px 20px;
    font-size: clamp(15px, calc(0.9434vw + 10.755px), 18px);
    line-height: clamp(22px, calc(0.6289vw + 19.17px), 24px);
    letter-spacing: -0.1302vw;
  }
}

@media (max-width: 500px) {
  .legacy-page #ap .ap-hero {
    height: 150vw;
    max-height: 500px;
  }

  /* SAT 처럼 휴대폰에서는 덮개를 더 어둡게 한다. */
  .legacy-page #ap .ap-hero::after {
    background: rgba(0, 0, 0, 0.6);
  }
}

@media (max-width: 450px) {
  .legacy-page #ap .ap-label {
    font-size: calc(100vw * (16 / 450));
    line-height: calc(100vw * (22 / 450));
    letter-spacing: -0.2222vw;
  }
}

@media (max-width: 767px) {
  .legacy-page #ap .ap-wrap,
  .legacy-page #ap .ap-askband__in,
  .legacy-page #ap .ap-ending__in {
    padding: 0 16px;
  }

  .legacy-page #ap .ap-sec {
    padding: 80px 0;
  }

  .legacy-page #ap .ap-sec--videos {
    padding-bottom: 0;
  }

  .legacy-page #ap .ap-sec--how {
    padding-top: 64px;
  }

  .legacy-page #ap .ap-videos {
    margin-top: 32px;
  }

  .legacy-page #ap .ap-hero__title,
  .legacy-page #ap:lang(en) .ap-hero__title {
    font-size: 30px;
  }

  .legacy-page #ap .ap-h2 {
    font-size: 27px;
  }

  .legacy-page #ap p {
    font-size: 16px;
  }

  .legacy-page #ap .ap-quote {
    font-size: 18px;
    padding: 20px;
  }

  .legacy-page #ap .ap-laurels,
  .legacy-page #ap .ap-frq,
  .legacy-page #ap .ap-g2,
  .legacy-page #ap .ap-tl,
  .legacy-page #ap .ap-how {
    grid-template-columns: 1fr;
  }

  .legacy-page #ap .ap-frq {
    gap: 28px;
  }

  .legacy-page #ap .ap-laurel::before,
  .legacy-page #ap .ap-laurel::after,
  .legacy-page #ap .ap-tl::before {
    display: none;
  }

  .legacy-page #ap .ap-tl li {
    padding-top: 0;
    padding-left: 40px;
    text-align: left;
    margin-bottom: 18px;
  }

  .legacy-page #ap .ap-tl li::before {
    top: 4px;
    left: 0;
    margin-left: 0;
  }

  .legacy-page #ap .ap-cmp {
    padding: 22px 18px;
  }

  .legacy-page #ap .ap-cmp__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .legacy-page #ap .ap-askband__in,
  .legacy-page #ap .ap-ending__in {
    flex-direction: column;
    align-items: flex-start;
  }

  .legacy-page #ap .ap-askband img,
  .legacy-page #ap .ap-ending img {
    width: 180px;
    align-self: flex-end;
  }

  .legacy-page #ap .ap-ending__title {
    font-size: 30px;
  }

  /* 휴대폰에서는 가운데 장을 조금 키운다(양옆은 반 장보다 조금 적게 보인다). */
  .legacy-page #ap .ap-qna {
    --ap-qna-slide: 56%;
  }

  .legacy-page #ap .ap-qna__view {
    aspect-ratio: 720 / 837;
  }
}
