@charset "utf-8";

/* =========================================================
   Foundation
   ========================================================= */
:root {
  --navy: #1e2f6f;
  --navy-deep: #0f2854;
  --blue: #29508e;
  --blue-mid: #538add;
  --blue-light: #92ddff;
  --blue-pale: #caebff;
  --blue-paler: #e7f6ff;
  --yellow: #fffc72;
  --text: #3e3e3e;
  --text-sub: #454545;
  --line: #d9d9e0;
  --chip-gray: #e3e3e3;
  --gray-bg: #f4f4f4;
  --gray-bg-deep: #e7e7e7;

  --inner: 77.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* 1440px幅のPCデザインを、768〜1439pxでは横スクロールを出さずに
   そのままの比率で縮小表示する（1rem = 画面幅 / 90）。
   1440px以上は 1rem = 16px でデザイン等倍。body に最小幅は持たせない。 */
@media screen and (min-width: 768px) and (max-width: 1439px) {
  html {
    font-size: calc(100vw / 90);
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: max(12px, 1rem);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
img {
  border: 0;
  vertical-align: bottom;
}
a {
  color: inherit;
  text-decoration: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
sup {
  font-size: max(10px, 0.625rem);
  vertical-align: super;
  line-height: 1;
}

section[id] {
  scroll-margin-top: 3.125rem;
}

/* ---------- 表示切替 ----------
   それぞれのブレークポイントで「隠す」側だけを指定し、
   表示側は各要素本来の display を保つ。 */
@media screen and (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .u-pc {
    display: none !important;
  }
}

/* =========================================================
   Layout
   ========================================================= */
.l-inner {
  width: var(--inner);
  margin: 0 auto;
}

/* ---------- header ---------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 3.125rem;
  background: #fff;
}

.l-header__inner {
  display: flex;
  align-items: space-between;
  height: 3.125rem;
}

.l-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 17.5rem;
  padding-left: 3.6875rem;
  background: var(--navy);
}
.l-header__logo img {
  width: 9.8125rem;
  height: 1.75rem;
}

/* SPではドロワーの中身になるが、PCではラッパーを無効化して従来通り横並びにする */
.l-header__drawer {
  display: contents;
}

.l-header__nav {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-left: 3.25rem;
}

.l-header__nav-item {
  color: var(--navy);
  font-size: max(12px, 0.875rem);
  font-weight: 500;
  text-align: center;
}
.l-header__nav-item:nth-child(1) {
  width: 13.75rem;
}
.l-header__nav-item:nth-child(2) {
  width: 15rem;
}
.l-header__nav-item:nth-child(3) {
  width: 10rem;
}

.l-header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 10.625rem;
  font-size: max(12px, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.04375rem;
}
.l-header__btn img {
  width: 0.5rem;
  height: auto;
}
.l-header__btn--doc {
  margin-left: auto;
  background: var(--navy);
  color: #fff;
}
.l-header__btn--apply {
  background: var(--yellow);
  color: var(--navy);
}

.l-header__menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.125rem;
  margin: auto 1.125rem auto 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.l-header__menu span {
  display: block;
  height: 0.125rem;
  background: #fff;
  /* 閉じるとき：先に回転を戻してから上下へ開く */
  transition: rotate 0.2s ease, translate 0.2s ease 0.2s, opacity 0.15s linear 0.25s;
}
/* 開いている間は上下の線を中央に寄せて×にする */
/* 開くとき：先に中央へ寄せてから回す */
.l-header__menu.is-open span {
  transition: translate 0.2s ease, rotate 0.2s ease 0.2s, opacity 0.15s linear;
}
.l-header__menu.is-open span:nth-child(1) {
  translate: 0 0.5rem;
  rotate: 45deg;
}
.l-header__menu.is-open span:nth-child(2) {
  opacity: 0;
}
.l-header__menu.is-open span:nth-child(3) {
  translate: 0 -0.5rem;
  rotate: -45deg;
}

/* =========================================================
   Component
   ========================================================= */

/* ---------- 見出しラベル（黄色帯） ---------- */
.c-label {
  width: 18.75rem;
  min-height: 3.125rem;
  margin: 0 auto 2.5rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: "Volkhov", serif;
  font-size: max(12px, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.09375rem;
  line-height: 3.125rem;
  text-align: center;
}

/* ---------- 見出しラベル（罫線） ---------- */
.c-label-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.375rem;
  margin-bottom: 0.5625rem;
  color: var(--navy);
  font-family: "Volkhov", serif;
  font-size: max(12px, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.075rem;
  line-height: 1.5;
}
/* テキスト両脇の罫線 */
.c-label-line::before,
.c-label-line::after {
  content: "";
  width: 3.125rem;
  border-top: 0.0625rem solid currentColor;
}

/* ---------- 見出し ---------- */
.c-heading-lg {
  margin-bottom: 2.5rem;
  color: var(--navy);
  font-size: max(12px, 3.125rem);
  font-weight: 400;
  letter-spacing: 0.3125rem;
  line-height: 1.4;
  text-align: center;
}

/* 見出しごとの字送り（Figma準拠）
   ABOUT / CHECK POINT / CHECK（一般選抜）/ SCHEDULE / APPLY … 5px
   FEE（3方式とも）/ CHECK（共通テスト・奨学特待生）    … 指定なし
   SPは全見出し 2.4px のため、PC・縮小レンジのみに適用する。 */
@media screen and (min-width: 768px) {
  .p-fee .c-heading-lg,
  .p-check--kyotsu .c-heading-lg,
  .p-check--tokutai .c-heading-lg {
    letter-spacing: normal;
  }
}

.c-heading-md {
  margin-bottom: 1.875rem;
  color: var(--navy);
  font-size: max(12px, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.25rem;
  line-height: 1.4;
  text-align: center;
}

.c-lead {
  color: var(--navy);
  font-size: max(12px, 1.25rem);
  line-height: 1.6;
  text-align: center;
}
.c-lead--left {
  text-align: left;
}

/* ---------- ボタン ---------- */
.c-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16.875rem;
  min-height: 4.375rem;
  padding: 0 1.875rem;
  border-radius: 2.78125rem;
  font-size: max(12px, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.125rem;
  line-height: 1.4;
  text-align: center;
}
.c-btn__arrow {
  position: absolute;
  right: 1.3125rem;
  top: 50%;
  width: 0.5rem;
  height: auto;
  transform: translateY(-50%);
}
.c-btn--wide {
  width: 28.125rem;
}
.c-btn--yellow {
  background: var(--yellow);
  color: var(--navy);
}
.c-btn--white {
  background: #fff;
  color: var(--navy);
  border: 0.0625rem solid var(--navy);
}
.c-btn--navy {
  background: var(--navy);
  color: #fff;
}
.c-btn--blue {
  width: 18.75rem;
  background: var(--blue);
  color: #fff;
  border: 0.0625rem solid var(--navy);
}
.c-btn--navy-deep {
  background: var(--navy-deep);
  color: #fff;
  border: 0.0625rem solid var(--navy);
}
.c-btn--blue .c-btn__arrow {
  right: 1.0625rem;
}

/* ---------- 学部リスト（EXAM / INTERVIEW 共通） ---------- */
.c-dept-list {
  display: flex;
  margin: 1.4375rem 0 0 1.9375rem;
  flex-direction: column;
  gap: 0.625rem;
  width: 33.75rem;
}
.c-dept-list__row {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  min-height: 3rem;
}
.c-dept-list__row--tall {
  min-height: 3.625rem;
}
.c-dept-list__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 9.375rem;
  align-self: stretch;
  color: #fff;
  font-size: max(12px, 0.875rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.c-dept-list__text {
  color: var(--navy);
  font-size: max(12px, 0.875rem);
  line-height: 1.45;
}
.c-dept-list__text sup {
  color: var(--navy);
}

/* ---------- 学部ブロック（SP：EXAM の学科一覧） ---------- */
.c-dept-block + .c-dept-block {
  margin-top: 1.1875rem;
}
.c-dept-block__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.375rem;
  color: #fff;
  font-size: max(12px, 0.75rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.c-dept-block__list {
  margin-top: 0.5rem;
  color: var(--navy);
  font-size: max(12px, 0.75rem);
  line-height: 1.6;
  /* デザインと同じ行数に収めるため約物を詰める */
  font-feature-settings: "palt";
}
.c-dept-block__list li {
  padding-left: 0.75rem;
  text-indent: -0.75rem;
}
.c-dept-block__list li::before {
  content: "・";
}

/* ---------- 注記（＊1〜＊5） ---------- */
.c-notes {
  color: var(--navy);
  font-size: max(12px, 0.75rem);
  line-height: 1.45;
}

/* ---------- ネイビーバッジ ---------- */
.c-badge-navy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  min-height: 1.75rem;
  border-radius: 0.25rem;
  background: var(--blue);
  color: #fff;
  font-size: max(12px, 0.875rem);
  font-weight: 700;
}

/* =========================================================
   FV
   ========================================================= */
.p-fv {
  position: relative;
}

.p-fv__visual {
  position: relative;
  height: 43.75rem;
  overflow: hidden;
  background: #ccc;
}
/* デザイン上は 1635×943 の写真を (0, -211) に置いた状態。
   画面幅が広がっても隙間が出ないよう幅は % で持たせる。 */
.p-fv__image {
  position: absolute;
  left: 0;
  top: -13.1875rem;
  width: 113.513%;
  min-width: 102.1625rem;
  height: 58.9375rem;
  background: url(../images/fv/mv.jpg) center / cover no-repeat;
}

.p-fv__panel {
  position: absolute;
  left: 0;
  top: 3.625rem;
  width: calc(50% - 45rem + 47.375rem);
  min-width: 47.375rem;
  min-height: 36.5rem;
  padding-left: calc(50% - 45rem + 6.25rem);
  border-top: 0.625rem solid var(--yellow);
  background: rgba(255, 255, 255, 0.9);
}
.p-fv__bar {
  height: 0.375rem;
  background: var(--yellow);
}
.p-fv__body {
  padding-top: 1.9375rem;
}

.p-fv__title {
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
}
.p-fv__title-lg,
.p-fv__title-md {
  display: block;
}
.p-fv__title-lg {
  font-size: max(12px, 2.875rem);
}
.p-fv__title-md {
  font-size: max(12px, 2.5rem);
}

.p-fv__lead {
  width: 34.625rem;
  margin-top: 1.875rem;
  color: var(--navy);
  font-size: max(12px, 1.25rem);
  font-weight: 400;
  line-height: 1.8;
}

.p-fv__btns {
  display: flex;
  gap: 1.125rem;
  margin-top: 1.9375rem;
}
/* FVのボタンだけ文字が1段小さい（デザイン準拠） */
.p-fv .c-btn {
  width: 16.875rem;
  min-height: 4.375rem;
  border: 0.0625rem solid var(--navy);
  font-size: max(12px, 1.25rem);
  letter-spacing: normal;
}
.p-fv .c-btn--yellow {
  letter-spacing: 0.125rem;
}

/* =========================================================
   ABOUT
   ========================================================= */
.p-about {
  padding: 6.25rem 0;
  background: var(--gray-bg);
}
.p-about .c-heading-lg {
  margin-bottom: 2.75rem;
}

.p-about__cards {
  display: grid;
  grid-template-columns: repeat(3, 25rem);
  gap: 1.25rem;
  margin-top: 3.125rem;
}
.p-about__card {
  position: relative;
  min-height: 12.5rem;
  padding: 1.25rem 1.25rem 4.375rem;
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}
.p-about__card-title {
  color: var(--navy-deep);
  font-size: max(12px, 1.625rem);
  font-weight: 600;
  line-height: 1.4;
}
.p-about__card-body {
  margin-top: 20px;
  color: var(--navy-deep);
  font-size: max(12px, 1rem);
  line-height: 1.6;
}
/* カード下端に貼り付く黄色の導線。カード高さを揃えるため端に固定する */
.p-about__card-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9375rem;
  width: 11.25rem;
  min-height: 3.125rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 500;
}
.p-about__card-btn img {
  width: 0.8125rem;
  height: auto;
}

/* ---------- 年明け入試のスケジュール表 ---------- */
.p-about__schedule {
  margin-top: 3.125rem;
  border-radius: 0.625rem;
  background: #fff;
  overflow: hidden;
}
.p-about__schedule-bar {
  display: grid;
  grid-template-columns: 26.5625rem 26rem 1fr;
  align-items: center;
  min-height: 3.125rem;
  padding-left: 1.875rem;
  background: var(--blue-mid);
  color: #fff;
  font-size: max(12px, 1.25rem);
  font-weight: 500;
}
.p-about__schedule-body {
  display: grid;
  grid-template-columns: 26.5625rem 26rem 1fr;
  padding: 1.9375rem 1.875rem 1.875rem;
}
/* 月をまたいで行頭が揃うよう、行の高さとピッチを固定する */
.p-about__exams {
  display: grid;
  grid-auto-rows: minmax(3.1875rem, auto);
  row-gap: 1.6875rem;
}
/* 共通テスト利用選抜Ⅱ期は1月の同Ⅰ期と同じ3行目に置く */
.p-about__exam--row3 {
  grid-row: 3;
}
.p-about__exam {
  display: flex;
}
.p-about__exam-name {
  flex: 0 0 8.0625rem;
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 500;
  line-height: 1.25;
}
.p-about__exam-rows {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}
.p-about__exam-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.p-about__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 5rem;
  min-height: 1rem;
  background: var(--navy);
  color: #fff;
  font-size: max(12px, 0.75rem);
  line-height: 1;
  padding-block: 1px 2px;
}
.p-about__date {
  color: var(--text);
  font-size: max(12px, 1rem);
  line-height: 1.5;
  white-space: nowrap;
}

/* =========================================================
   CHECK POINT
   ========================================================= */
.p-point {
  padding: 6.25rem 0;
  background: #fff;
}
.p-point .c-label {
  margin-bottom: 3.125rem;
}
.p-point .c-heading-lg {
  margin-bottom: 2.6875rem;
}

.p-point__list {
  width: 65rem;
  margin: 3.0625rem auto 0;
}
.p-point__item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 6.25rem;
}
/* 円バッジの右側だけに敷くグレーの帯 */
.p-point__item::before {
  content: "";
  position: absolute;
  left: 2.6875rem;
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--gray-bg);
}
.p-point__item + .p-point__item {
  margin-top: 1.25rem;
}
.p-point__badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 6.25rem;
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
  background: var(--blue-mid);
  color: #fff;
  font-family: "Volkhov", serif;
  font-weight: 700;
}
.p-point__badge-label {
  font-size: max(12px, 1rem);
  line-height: 2.125rem;
}
.p-point__badge-num {
  font-size: max(12px, 1.875rem);
  line-height: 2.125rem;
}
.p-point__title {
  position: relative;
  flex: 0 0 24.6875rem;
  margin-left: 1.5625rem;
  color: var(--navy);
  font-size: max(12px, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
}
.p-point__body {
  position: relative;
  flex: 1 1 auto;
  padding-right: 1.25rem;
  color: #000;
  font-size: max(12px, 1rem);
  line-height: 1.6;
}

/* =========================================================
   CHECK（選抜方式ごとの概要カード）
   ========================================================= */
.p-check {
  padding: 6.25rem 0;
}
.p-check--ippan,
.p-check--kyotsu {
  background: var(--blue-pale);
}
.p-check--tokutai {
  background: var(--gray-bg-deep);
}
.p-check .c-heading-lg {
  margin-bottom: 1.375rem;
}
.p-check__cards {
  display: grid;
  grid-template-columns: repeat(3, 25rem);
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.p-check__card {
  min-height: 12.5rem;
  padding: 1.875rem;
  border-radius: 0.5rem;
  background: #fff;
}
.p-check__card-title {
  color: var(--navy);
  font-size: max(12px, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}
.p-check__card-body {
  margin-top: 20px;
  color: var(--text);
  font-size: max(12px, 1rem);
  line-height: 1.6;
}

/* =========================================================
   EXAM / INTERVIEW（科目・面接カード）
   ========================================================= */
.p-exam {
  padding: 6.25rem 0;
  background: var(--blue-paler);
}
.p-exam--tokutai {
  background: var(--gray-bg);
}

.p-exam__cards,
.p-interview__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 37.5rem);
  gap: 2.5rem;
  margin-top: 3.125rem;
}

.p-subject-card {
  position: relative;
  width: 37.5rem;
  min-height: 30rem;
  padding: 1.4375rem 0 0.625rem;
  border-radius: 0.625rem;
  background: #fff;
}
.p-subject-card__visual {
  position: relative; /* イラストと --inner タグの基準 */
  width: 33.75rem;
  margin-left: 1.875rem;
  height: 10.625rem;
  border-radius: 0.625rem;
  background: var(--blue-paler);
  overflow: hidden;
}
.p-subject-card__visual--pale {
  background: var(--blue-pale);
}
.p-subject-card__illust {
  position: absolute;
  display: block;
}
.p-subject-card__illust img {
  position: absolute;
}

.p-illust-exam1 {
  left: 7.75rem;
  top: 0.375rem;
  width: 18.25rem;
  height: 10rem;
}
.p-illust-exam1__a {
  left: 0;
  top: 0.34%;
  width: 54.73%;
  height: 99.66%;
}
.p-illust-exam1__b {
  left: 51.74%;
  top: 0;
  width: 48.26%;
  height: 100%;
}

.p-illust-exam2 {
  left: 8.1875rem;
  top: 0.375rem;
  width: 18.5rem;
  height: 9.9375rem;
}
.p-illust-exam2__a {
  left: 0;
  top: 0.31%;
  width: 45.1%;
  height: 99.69%;
}
.p-illust-exam2__b {
  left: 53.44%;
  top: 0;
  width: 46.56%;
  height: 99.81%;
}
.p-illust-exam2__c {
  left: 39.42%;
  top: 74.69%;
  width: 16.03%;
  height: 1.58%;
}

.p-illust-int5 {
  left: 9.6875rem;
  top: 0.4375rem;
  width: 14.375rem;
  height: 13.6875rem;
}
.p-illust-int8 {
  left: 5.125rem;
  top: 0.5625rem;
  width: 21.4375rem;
  height: 12.4375rem;
}
.p-illust-int5 img,
.p-illust-int8 img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.p-subject-card__tag {
  position: absolute;
  left: 1.875rem;
  top: 2.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9.375rem;
  min-height: 3.4375rem;
  border-radius: 0 0.3125rem 0.3125rem 0;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: max(12px, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.p-subject-card__tag--white {
  left: 1.25rem;
  top: 1.4375rem;
  width: 7.5rem;
  min-height: 3rem;
  border-radius: 0 0 0.625rem 0;
  background: #fff;
  font-size: max(12px, 0.75rem);
}
.p-subject-card__tag--inner {
  left: 0;
  top: 0;
}

.p-subject-card__badge-circle > img {
  width: 100%;
  height: 100%;
}
.p-subject-card__badge-circle {
  position: absolute;
  z-index: 2;
  right: -1.1875rem;
  top: -1.5rem;
  width: 8.75rem;
  height: 8.75rem;
}
.p-subject-card__circle-text {
  position: absolute;
  inset: 0;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.p-subject-card__circle-label,
.p-subject-card__circle-num,
.p-subject-card__circle-sub {
  display: block;
}
.p-subject-card__circle-label {
  font-size: max(12px, 1rem);
  font-weight: 500;
}
.p-subject-card__circle-num {
  font-size: max(12px, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
.p-subject-card__circle-num em {
  font-style: normal;
  font-size: max(12px, 2.5rem);
}
.p-subject-card__circle-sub {
  font-size: max(12px, 1rem);
  font-weight: 500;
}

/* ---------- 出題範囲 ---------- */
.p-exam__notes {
  margin-top: 0.1875rem;
}
.p-exam__scope {
  margin-top: 7.5rem;
}
.p-exam__scope-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.p-exam__scope-lead {
  color: var(--navy);
  font-size: max(12px, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}
.p-exam__scope-text {
  margin-top: 0.875rem;
  color: var(--navy);
  font-size: max(12px, 1.25rem);
  line-height: 1.7;
}
.p-scope-card {
  margin-top: 1.375rem;
  border-radius: 0.625rem;
  background: #fff;
  overflow: hidden;
}
.p-scope-card__head {
  display: flex;
  align-items: center;
  min-height: 3.125rem;
  padding-left: 1.875rem;
  background: var(--blue-mid);
  color: #fff;
  font-size: max(12px, 1.25rem);
  font-weight: 600;
}
.p-scope-card__inner {
  display: flex;
  align-items: stretch;
  padding: 1.4375rem 1.875rem 1.625rem;
}
.p-scope-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 0 0 36.875rem;
}
.p-scope-card__list li {
  display: flex;
  align-items: baseline;
}
/* 注記（※Ⅲ期のみ）を持つ行だけ折り返しを許可する。
   他の行はチップと本文を必ず横並びにしたいので nowrap のまま。 */
.p-scope-card__row--note {
  flex-wrap: wrap;
}
.p-scope-card__chip {
  flex: 0 0 2.75rem;
  align-self: flex-start;
  min-height: 1.5625rem;
  border-radius: 0.25rem;
  background: var(--chip-gray);
  color: var(--text);
  font-size: max(12px, 1rem);
  line-height: 1.5625rem;
  text-align: center;
  padding-inline: 5px;
}
.p-scope-card__chip--wide {
  flex-basis: 9.0625rem;
}
/* 「日本史」のようにチップ幅44pxに収まらない見出しは文字数なりに広げる */
.p-scope-card__chip--auto {
  flex-basis: auto;
}
.p-scope-card__desc {
  margin-left: 1.625rem;
  color: var(--text);
  font-size: max(12px, 1rem);
  line-height: 1.6;
}
.p-scope-card__chip--wide + .p-scope-card__desc {
  margin-left: 0.375rem;
}
.p-scope-card__small {
  margin-left: 0.75rem;
  font-size: max(12px, 0.75rem);
}
.p-scope-card__notes {
  flex: 1 1 auto;
  margin-block: -0.3125rem -0.5625rem;
  padding: 0.3125rem 0 0.5625rem 2.8125rem;
  border-left: 1px solid;
  color: var(--text);
  font-size: max(12px, 1rem);
  line-height: 1.6;
}
.p-scope-card__notes p + p {
  margin-top: 1.625rem;
}

/* =========================================================
   INTERVIEW
   ========================================================= */
.p-interview {
  padding: 0 0 6.25rem;
  background: var(--blue-paler);
}
.p-interview__cards {
  margin-top: 3.5rem;
}
/* 5分カードは学科が1行だけなので、デザインどおり一覧と注記を下げて配置する */
.p-interview__cards > .p-subject-card:first-child .c-dept-list {
  margin-top: 5rem;
}
.p-interview__exclude {
  margin: 5rem 1.9375rem 0;
  color: var(--navy);
  font-size: max(12px, 0.875rem);
  line-height: 1.6;
}
.p-interview__notes {
  margin-top: 1rem;
}

/* =========================================================
   DOCUMENT
   ========================================================= */
.p-document {
  padding: 0 0 4.8125rem;
  background: var(--blue-paler);
}
.p-document--tokutai {
  background: var(--gray-bg);
}
.p-document__list {
  display: grid;
  justify-content: center;
  margin-top: 2.6875rem;
}
.p-document__list--1 {
  grid-template-columns: 25rem;
}
.p-document__list--2 {

  grid-template-columns: repeat(2, 25rem);
  column-gap: 2.5rem;
}
/* 2枚組はSPで「1枚目 → 注記 → 2枚目」の順に並べるためDOM順をその通りにしている。
   PCでは注記だけ2行目1列へ送り、カードを横並びに戻す。 */
.p-document__list--2 > :nth-child(1) {
  grid-area: 1 / 1;
}
.p-document__list--2 > :nth-child(2) {
  grid-area: 2 / 1;
}
.p-document__list--2 > :nth-child(3) {
  grid-area: 1 / 2;
}
.p-document__card {
  min-height: 11.0625rem;
  border-radius: 0.625rem;
  background: #fff;
  overflow: hidden;
}
.p-document__title {
  display: flex;
  align-items: center;
  min-height: 4rem;
  margin: 0.5625rem 0 0 0.8125rem;
  color: var(--navy);
  font-size: max(12px, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}
.p-document__icon {
  position: relative;
  flex: 0 0 4rem;
  width: 4rem;
  height: 4rem;
}
.p-document__icon img {
  position: absolute;
}
.p-document__icon-a {
  left: 21.18%;
  top: 21.17%;
  width: 57.82%;
  height: 57.81%;
}
.p-document__icon-b {
  left: 29.86%;
  top: 16.28%;
  width: 62.13%;
  height: 48.61%;
}
.p-document__body {
  margin: -0.125rem 1.5rem 1.25rem;
  color: var(--navy);
  font-size: max(12px, 1rem);
  line-height: 1.7;
}
/* 注記は1枚目のカードの左端から少し内側に揃える */
.p-document__note {
  margin-top: 0.4375rem;
  padding-left: 2.0625rem;
  color: var(--navy);
  font-size: max(12px, 0.75rem);
  line-height: 1.6;
}

/* =========================================================
   CERTIFICATE
   ========================================================= */
.p-certificate {
  position: relative;
  padding: 6.25rem 0;
  background: url(../images/certificate/bg.jpg) center / cover no-repeat;
  isolation: isolate;
}
.p-certificate::before {
  content: "";
  position: absolute;
  inset: 0;
  top: -1px;
  z-index: -1;
  background: rgba(231, 246, 255, 0.9);
}

.p-certificate__cards {
  display: flex;
  justify-content: space-between;
  width: 64.875rem;
  margin: 2.875rem auto 0;
}
.p-certificate__card {
  width: 20.8125rem;
  min-height: 16.25rem;
  padding: 1.25rem 1.25rem 0.625rem;
  border-radius: 0.625rem;
  background: #fff;
}
.p-certificate__thumb {
  display: block;
  width: 18.3125rem;
  height: 8.125rem;
  margin-bottom: 0.625rem;
  overflow: hidden;
}
.p-certificate__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-certificate__title {
  color: var(--navy);
  font-size: max(12px, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}
.p-certificate__body {
  margin-top: 0.125rem;
  color: var(--navy);
  font-size: max(12px, 1rem);
  line-height: 1.7;
}

.p-certificate__detail {
  margin-top: 3.125rem;
}
.p-certificate__heading {
  width: 65rem;
  margin: 0 auto;
  color: var(--navy);
  font-size: max(12px, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}
.p-certificate__terms {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 0.3125rem;
  width: 65rem;
  margin: 1.375rem auto 0;
}
.p-certificate__terms dt {
  width: 7.6875rem;
  min-height: 1.875rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: max(12px, 1.25rem);
  font-weight: 600;
  line-height: 1.875rem;
  text-align: center;
  align-self: self-start;
}
.p-certificate__terms dd {
  padding-left: 0.625rem;
  color: var(--text);
  font-size: max(12px, 0.875rem);
  line-height: 1.7;
  font-feature-settings: "palt";
}
.p-certificate__strip {
  display: flex;
  align-items: center;
  width: 64.875rem;
  min-height: 1.875rem;
  margin: 1.8125rem auto 0;
  padding: 0.125rem 2rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 700;
  line-height: 1.6;
}

.p-certificate__table {
  width: 65rem;
  margin: 1.9375rem auto 0;
  border-radius: 0.5rem;
  overflow: hidden;
  table-layout: fixed;
}
.p-certificate__table th,
.p-certificate__table td {
  height: 2.5rem;
  text-align: left;
  vertical-align: middle;
}
.p-certificate__table thead th {
  background: var(--blue-light);
  color: var(--navy-deep);
  font-size: max(12px, 1rem);
  font-weight: 700;
}
.p-certificate__table tbody td {
  background: #fff;
  color: var(--text);
  font-size: max(12px, 0.875rem);
  font-weight: 400;
}
.p-certificate__table tbody tr:nth-child(even) td {
  background: var(--blue-paler);
}
.p-certificate__table tbody tr:last-child td {
  border-bottom: 0;
}
.p-certificate__table th:nth-child(1),
.p-certificate__table td:nth-child(1) {
  width: 10.8125rem;
  padding-left: 1.9375rem;
}
.p-certificate__table th:nth-child(2),
.p-certificate__table td:nth-child(2) {
  width: 21.6875rem;
}
.p-certificate__table td:nth-child(3) {
  color: var(--text-sub);
}

/* =========================================================
   モーダル（SP：対象資格一覧）
   ボトムシート。画面上端から60px空けて下いっぱいに広がり、
   タイトルバーは固定、本文だけがスクロールする。
   ========================================================= */
.p-modal {
  position: fixed;
  inset: 3.75rem 0 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1rem 1rem 0 0;
  background: #fff;
  color: var(--text);
  overflow: hidden;
  /* 下から迫り上がるボトムシート。display / overlay も併せて遷移させることで
     close() 直後にすぐ消えず、閉じるアニメーションが最後まで再生される */
  translate: 0 100%;
  opacity: 0;
  transition: translate 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
  transition-property: translate, opacity, display, overlay;
  transition-behavior: allow-discrete;
}
.p-modal[open] {
  translate: 0 0;
  opacity: 1;
  transition: translate 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
  transition-property: translate, opacity, display, overlay;
  transition-behavior: allow-discrete;
}
@starting-style {
  .p-modal[open] {
    translate: 0 100%;
    opacity: 0;
  }
}
.p-modal:not([open]) {
  display: none;
}
.p-modal::backdrop {
  background: transparent;
}

.p-modal__bar {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 3.5rem;
  padding: 0 0.75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.p-modal__title {
  color: var(--navy-deep);
  font-size: max(12px, 1rem);
  font-weight: 700;
}
.p-modal__close {
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-sub);
  font-family: inherit;
  font-size: max(12px, 1.25rem);
  font-weight: 700;
  line-height: 2rem;
  text-align: center;
  cursor: pointer;
}

.p-modal__body {
  flex: 1 1 auto;
  padding: 1.8125rem 1rem 3.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.p-modal__heading {
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 700;
  line-height: 1.4;
}
.p-modal__terms {
  margin-top: 0.5625rem;
}
.p-modal__terms dt:first-child {
  margin-top: 0;
}
.p-modal__terms dt {
  width: 7.6875rem;
  min-height: 1.875rem;
  margin-top: 1.875rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 600;
  line-height: 1.875rem;
  text-align: center;
}
.p-modal__terms dd {
  margin-top: 0.6875rem;
  color: var(--text);
  font-size: max(12px, 0.875rem);
  line-height: 1.7;
}
.p-modal__strip {
  width: 20.9375rem;
  margin: 1.375rem 0 0;
  padding: 0.125rem 0.5rem;
  background: var(--yellow);
  color: var(--blue);
  font-size: max(12px, 0.75rem);
  font-weight: 700;
  line-height: 1.5;
}
.p-modal__table {
  width: 21.125rem;
  margin: 1.9375rem 0 0;
  border-radius: 0.5rem;
  overflow: hidden;
  table-layout: fixed;
}
.p-modal__table th,
.p-modal__table td {
  height: 2.5rem;
  text-align: left;
  vertical-align: middle;
}
.p-modal__table thead th {
  background: var(--blue-light);
  color: var(--navy-deep);
  font-size: max(12px, 1rem);
  font-weight: 700;
}
.p-modal__table tbody td {
  background: #fff;
  color: var(--text);
  font-size: max(12px, 0.75rem);
  font-weight: 400;
  line-height: normal;
}
.p-modal__table tbody tr:nth-child(even) td {
  background: var(--blue-paler);
}
.p-modal__table tbody tr:last-child td {
  border-bottom: 0;
}
.p-modal__table th:nth-child(1) {
  width: 6.25rem;
  padding-left: 1.0625rem;
}
.p-modal__table th:nth-child(2) {
  width: 8.1875rem;
  padding-left: 0.6875rem;
}
.p-modal__table td:nth-child(1) {
  width: 6.25rem;
  text-align: center;
  font-size: max(12px, 0.875rem);
}
.p-modal__table td:nth-child(2) {
  width: 8.1875rem;
}
.p-modal__table td:nth-child(3) {
  color: var(--text-sub);
}

/* モーダル表示中は背面をスクロールさせない */
body.is-modal-open,
body.is-drawer-open {
  overflow: hidden;
}

/* =========================================================
   CHOICE
   ========================================================= */
.p-choice {
  position: relative;
}
.p-choice__body {
  position: relative;
  padding: 6.25rem 0 6.3125rem;
  background: var(--blue-mid);
  overflow: hidden;
  isolation: isolate;
}
.p-choice__body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../images/choice/bg.jpg) center / cover no-repeat;
  opacity: 0.1;
}
.p-choice__title {
  margin-bottom: 3.125rem;
  color: #fff;
  font-size: max(12px, 3.125rem);
  font-weight: 500;
  letter-spacing: 0.3125rem;
  line-height: 1.4;
  text-align: center;
}
.p-choice__lead {
  color: #fff;
  font-size: max(12px, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}
.p-choice__note {
  font-size: max(12px, 1rem);
  font-weight: 300;
}
.p-choice__band {
  margin-top: 2.875rem;
  padding-block: 0.625rem 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #f7f7fa;
  font-size: max(12px, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.125rem;
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   SCHEDULE
   ========================================================= */
.p-schedule {
  padding: 6.25rem 0;
}
.p-schedule .c-heading-lg {
  margin-bottom: 2.9375rem;
}

.p-schedule__steps {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 65rem;
  margin: 4.25rem auto 0;
}
.p-schedule__steps::before {
  content: "";
  position: absolute;
  left: 0.1%;
  top: 1.1875rem;
  width: 99.9%;
  height: 0.125rem;
  background: var(--navy);
}
.p-schedule__step {
  position: relative;
  flex: 0 0 auto;
}
.p-schedule__steps--a .p-schedule__step--01 {
  width: 20.6875rem;
}
.p-schedule__steps--a .p-schedule__step--02 {
  width: 19.0625rem;
}
.p-schedule__steps--a .p-schedule__step--03 {
  width: 14rem;
}
.p-schedule__steps--a .p-schedule__step--04 {
  width: 11.25rem;
}
/* 奨学特待生は4分割で等間隔 */
.p-schedule__steps--b .p-schedule__step {
  flex: 1 1 0;
}
.p-schedule__badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1.25rem;
  background: var(--yellow);
  color: var(--navy);
  font-size: max(12px, 0.9375rem);
  font-weight: 700;
}
.p-schedule__step-title {
  margin-top: 0.6875rem;
  color: var(--navy);
  font-size: max(12px, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
}
.p-schedule__row {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  margin-top: 0.625rem;
}
.p-schedule__row:first-of-type {
  margin-top: 0.875rem;
}
.p-schedule__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 1.5625rem;
  padding-inline: 16px;
  border-radius: calc(infinity*1px);
  background: var(--blue);
  color: #fff;
  font-size: max(12px, 0.875rem);
  font-weight: 700;
  line-height: 1.5;
}
.p-schedule__date {
  color: var(--blue);
  font-size: max(12px, 0.875rem);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  font-feature-settings: "palt";
}
.p-schedule__row--single {
  margin-top: 0.75rem;
}

.p-schedule__place {
  display: flex;
  align-items: center;
  width: 65rem;
  min-height: 6.25rem;
  margin: 3rem auto 0;
  padding: 1.375rem 2.625rem;
  border-radius: 0.625rem;
  background: var(--blue-paler);
}
.p-schedule__place-title {
  flex: 0 0 7.125rem;
  color: var(--blue);
  font-size: max(12px, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.15rem;
}
.p-schedule__place-text {
  width: 53.625rem;
  color: var(--text);
  font-size: max(12px, 1rem);
  line-height: 1.7;
}
.p-schedule__btn {
  margin-top: 3.125rem;
  text-align: center;
}
.p-schedule--tokutai .p-schedule__btn {
  margin-top: 4.5rem;
}

/* =========================================================
   FEE
   ========================================================= */
.p-fee {
  padding: 6.25rem 0 6.875rem;
  background: var(--blue-paler);
}
.p-fee .c-heading-lg {
  margin-bottom: 2.4375rem;
}
.p-fee--text {
  padding: 6.3125rem 0 6.25rem;
  background: var(--blue-paler);
}
.p-fee--text.p-fee--gray {
  padding-bottom: 8.25rem;
  background: var(--gray-bg);
}

.p-fee__chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7.5rem;
  width: 56.25rem;
  margin: 2.9375rem auto 0;
  padding-bottom: 2.5rem;
}
.p-fee__axis {
  position: absolute;
  left: 0;
  bottom: 2.5rem;
  width: 100%;
  height: 0.125rem;
  background: var(--navy);
}
.p-fee__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12.5rem;
}
.p-fee__pill {
  width: 8.125rem;
  min-height: 1.4375rem;
  border-radius: 0.71875rem;
  background: #fff;
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 500;
  letter-spacing: 0.05rem;
  line-height: 1.4375rem;
  text-align: center;
}
.p-fee__price {
  margin-bottom: 0.75rem;
  color: var(--navy);
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: max(12px, 1.75rem);
  font-weight: 700;
  line-height: 2.25rem;
}
.p-fee__bar {
  width: 12.5rem;
  border-radius: 0.375rem 0.375rem 0 0;
}
.p-fee__bar--1 {
  height: 17.5rem;
  background: var(--blue-light);
}
.p-fee__bar--2 {
  height: 7.5rem;
  background: var(--blue-mid);
}
.p-fee__caption {
  position: absolute;
  top: calc(100% - 1.5rem);
  width: 12.5rem;
  color: var(--navy);
  font-size: max(12px, 1.25rem);
  font-weight: 600;
  line-height: 1.5rem;
  text-align: center;
}
/* 破線はPC/SPで刻み幅が異なるため <picture> で書き出しを切り替える */
.p-fee__dash {
  position: absolute;
  display: block;
  left: 24.375rem;
  top: 4.4375rem;
  width: 7.9375rem;
  height: 10.4375rem;
}
.p-fee__dash img {
  width: 100%;
  height: 100%;
}

/* =========================================================
   EXAM（共通テスト利用選抜 / 奨学特待生選抜の教科・科目カード）
   ========================================================= */
.p-subject {
  padding: 6.0625rem 0 6.25rem;
  background: var(--blue-paler);
}
.p-subject .c-lead {
  margin-bottom: 0;
}
.p-subject__cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
.p-subject__card {
  padding: 1.75rem;
  border-radius: 0.625rem;
  background: #fff;
}
/* 学部チップは左右2列。デザインと同じ並び順になるよう列方向に流す */
.p-subject__depts {
  display: grid;
  grid-template-columns: 23.6875rem 1fr;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: 0.625rem 0;
}
.p-subject__depts--1row {
  grid-template-rows: auto;
}
.p-subject__dept {
  display: flex;
  align-items: center;
  gap: 1.3125rem;
}
.p-subject__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 9.375rem;
  min-height: 1.875rem;
  color: #fff;
  font-size: max(12px, 0.875rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.p-subject__dept-text {
  color: var(--navy);
  font-size: max(12px, 0.875rem);
  line-height: 1.45;
  font-feature-settings: "palt";
}
.p-subject__table {
  margin-top: 1.25rem;
}
.p-subject__row {
  display: flex;
  border: 0.0625rem solid var(--chip-gray);
}
/* 行同士は罫線を重ねて1本に見せる */
.p-subject__row + .p-subject__row {
  margin-top: -0.0625rem;
}
.p-subject__row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 6.875rem;
  padding: 0.5rem 0.5rem;
  background: var(--blue-paler);
  color: var(--navy);
  font-size: max(12px, 0.875rem);
  font-weight: 600;
  line-height: 1.45;
}
.p-subject__row-body {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.5rem 1.875rem 0.5rem 1.25rem;
  color: var(--text);
  font-size: max(12px, 0.75rem);
  line-height: 1.6;
}
.p-subject__bullets {
  padding-left: 1.125rem;
  list-style: disc;
}
.p-subject__bullets li::marker {
  font-size: 0.75em;
}
.p-subject__bullet-note {
  display: block;
}
.p-subject__notes {
  margin-top: 0.75rem;
  color: var(--text);
  font-size: max(12px, 0.75rem);
  line-height: 1.6;
}

/* 奨学特待生 EXAM：カード下部の「科目・教科」 */
.p-subject-card__subject {
  margin: 2.4375rem 1.875rem 0;
}
.p-subject-card__subject-title {
  color: var(--navy);
  font-size: max(12px, 1rem);
  font-weight: 600;
  line-height: 1.45;
}
.p-subject-card__subject-text {
  margin-top: 0.625rem;
  color: var(--text-sub);
  font-size: max(12px, 0.8125rem);
  line-height: 1.45;
}

/* =========================================================
   APPLY
   ========================================================= */
.p-apply {
  padding: 3.1875rem 0 3.125rem;
  background: url(../images/apply/bg.jpg) center / cover no-repeat;
}
.p-apply__panel {
  width: 71.25rem;
  min-height: 38.8125rem;
  margin: 0 auto;
  padding: 3.1875rem 0 3rem;
  background: rgba(255, 255, 255, 0.9);
}
.p-apply .c-lead {
  color: var(--navy-deep);
}
.p-apply__btns {
  display: grid;
  grid-template-columns: repeat(2, 18.75rem);
  gap: 1.875rem 2.5rem;
  width: 40rem;
  margin: 3.0625rem auto 0;
}

/* =========================================================
   CTA
   ========================================================= */
.p-cta {
  padding: 5.625rem 0 6.25rem;
  background: var(--navy);
}
.p-cta__title {
  color: #fff;
  font-size: max(12px, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
.p-cta__lead {
  margin-top: 2.75rem;
  color: #fff;
  font-size: max(12px, 1.25rem);
  line-height: 1.6;
  text-align: center;
}
.p-cta__btn {
  margin-top: 3.125rem;
  text-align: center;
}
.p-cta .c-btn--yellow {
  color: var(--navy-deep);
}

/* =========================================================
   タブレット〜小型PC（768〜1439px）
   文字サイズに12pxの下限があるため、縮小率が大きいほど
   本文がデザイン比より大きくなる。固定寸法を解除して
   はみ出し・重なりを防ぐ。
   ========================================================= */
@media screen and (min-width: 768px) and (max-width: 1439px) {
  .p-point__title {
    flex: 0 1 24.6875rem;
  }
  .p-schedule__steps--a .p-schedule__step--04 {
    flex: 1 1 auto;
    width: auto;
  }
  .p-schedule__place-text {
    width: auto;
  }
  .p-fv__lead {
    width: auto;
    max-width: 34.625rem;
    padding-right: 1.25rem;
  }
  .p-fv__btns {
    gap: 1rem;
  }
  .p-fv .c-btn {
    width: auto;
    min-width: 16.875rem;
    padding: 0 2.5rem 0 1.5rem;
  }
  .p-scope-card__list {
    flex: 0 1 36.875rem;
  }
}

/* =========================================================
   SP（〜767px）
   ========================================================= */
@media screen and (max-width: 767px) {
  /* ---------- Foundation ---------- */
  body {
    min-width: 0;
  }
  .l-inner {
    width: auto;
    padding: 0 1.875rem;
  }

  /* ---------- header ---------- */
  .l-header {
    background: var(--navy);
  }
  .l-header__inner {
    justify-content: space-between;
  }
  .l-header__logo {
    flex: 0 0 auto;
    padding-left: 0.6875rem;
    background: none;
  }
  /* 閉じている間は visibility で操作を無効化し、
     開閉はヘッダー下から滑り出すアニメーションにする */
  .l-header__drawer {
    display: block;
    visibility: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 3.125rem;
    max-height: calc(100dvh - 3.125rem);
    overflow-y: auto;
    padding: 0 1.25rem 1.875rem;
    background: var(--navy);
    overscroll-behavior: contain;
    opacity: 0;
    translate: 0 -0.75rem;
    clip-path: inset(0 0 100% 0);
    transition: opacity 0.24s ease, translate 0.28s cubic-bezier(0.4, 0, 0.2, 1),
      clip-path 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.32s;
  }
  .l-header__drawer.is-open {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    clip-path: inset(0 0 0 0);
    transition: opacity 0.2s ease, translate 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      clip-path 0.36s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
  }
  .l-header__nav {
    display: block;
    padding-left: 0;
  }
  .l-header__nav-item {
    display: block;
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: max(12px, 0.9375rem);
    text-align: left;
  }
  .l-header__nav-item:nth-child(1),
  .l-header__nav-item:nth-child(2),
  .l-header__nav-item:nth-child(3) {
    width: auto;
  }
  .l-header__btn {
    width: auto;
    min-height: 3.125rem;
    margin-top: 1.25rem;
    border-radius: 0.3125rem;
    font-size: max(12px, 0.9375rem);
  }
  .l-header__btn--doc {
    margin-left: 0;
    border: 1px solid #fff;
    background: none;
  }
  .l-header__btn--apply {
    margin-top: 0.75rem;
  }

  /* ---------- component ---------- */
  .c-label {
    width: 12.5rem;
    min-height: 1.875rem;
    margin-bottom: 1.375rem;
    font-size: max(12px, 1.25rem);
    letter-spacing: 0.0625rem;
    line-height: 1.875rem;
  }
  .c-label-line {
    gap: 0.875rem;
    margin-bottom: 1.0625rem;
    font-size: max(12px, 1.25rem);
    letter-spacing: 0.0625rem;
  }
  .c-heading-lg,
  .c-heading-md {
    margin-bottom: 1.875rem;
    font-size: max(12px, 1.5rem);
    letter-spacing: 0.15rem;
  }
  .c-lead {
    font-size: max(12px, 0.875rem);
    text-align: left;
  }
  .c-notes {
    font-size: max(12px, 0.75rem);
  }

  .c-btn {
    width: 100%;
    max-width: 19.6875rem;
    min-height: 3.75rem;
    padding: 0 1.875rem;
    font-size: max(12px, 1.125rem);
    letter-spacing: 0.0625rem;
  }
  .c-btn--wide,
  .c-btn--blue {
    width: 100%;
    max-width: 19.6875rem;
  }
  .c-btn__arrow {
    right: 1.25rem;
    width: 0.5rem;
  }
  .c-btn--blue .c-btn__arrow {
    right: 1.25rem;
  }

  .c-dept-list {
    margin: 1.5rem 1.25rem 0;
    width: auto;
  }
  .c-dept-list__chip {
    flex-basis: 4.75rem;
    font-size: max(12px, 0.75rem);
  }
  .c-dept-list__row--tall .c-dept-list__text {
    font-size: max(12px, 0.75rem);
  }

  /* ---------- FV ---------- */
  .p-fv__visual {
    height: 17.5rem;
  }
  .p-fv__image {
    left: -35.2%;
    top: -10%;
    width: 142.667%;
    min-width: 0;
    height: 110%;
  }
  .p-fv__panel {
    position: static;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 0 1.875rem;
    border-top: 0;
    background: none;
  }
  .p-fv__body {
    padding-top: 2.125rem;
    padding-bottom: 3.125rem;
  }
  .p-fv__title {
    font-feature-settings: "palt";
    line-height: 2.125rem;
  }
  .p-fv__title-lg {
    font-size: max(12px, 1.875rem);
  }
  .p-fv__title-md {
    font-size: max(12px, 1.5rem);
  }
  .p-fv__title-lg:first-child {
    line-height: 1.875rem;
  }
  .p-fv__title-lg:last-child {
    line-height: 2.25rem;
  }
  .p-fv__lead {
    width: auto;
    margin-top: 1.9375rem;
    font-size: max(12px, 0.875rem);
    line-height: 1.6;
  }
  .p-fv__btns {
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.875rem;
    align-items: center;
  }
  .p-fv .c-btn {
    width: 100%;
    max-width: 19.6875rem;
    min-height: 3.75rem;
  }

  /* ---------- ABOUT ---------- */
  .p-about {
    padding: 3.125rem 0;
  }
  .p-about .c-heading-lg {
    margin-bottom: 1.875rem;
  }
  .p-about__cards {
    display: block;
    margin-top: 1.625rem;
  }
  .p-about__card + .p-about__card {
    margin-top: 0.625rem;
  }
  .p-about__card {
    min-height: 11.375rem;
    padding: 1.25rem 1.1875rem 4.375rem 1.25rem;
    border-radius: 0.75rem;
  }
  .p-about__card-title {
    font-size: max(12px, 1.25rem);
    font-weight: 500;
  }
  .p-about__card-body {
    margin-top: 1.25rem;
    font-size: max(12px, 0.875rem);
    font-feature-settings: "palt";
  }
  .p-about__card-btn {
    gap: 0.9375rem;
    width: 11.25rem;
    min-height: 3.125rem;
    font-size: max(12px, 1rem);
  }

  .p-about__schedule {
    margin-top: 1.875rem;
  }
  .p-about__schedule-bar {
    display: block;
    padding: 0 1.25rem;
  }
  .p-about__bar-title {
    display: flex;
    align-items: center;
    min-height: 3.125rem;
    font-size: max(12px, 1rem);
    font-weight: 600;
  }
  .p-about__schedule-body {
    display: block;
    padding: 1.25rem 1.25rem 1rem;
  }
  .p-about__month {
    display: flex;
    align-items: stretch;
    gap: 1rem;
  }
  .p-about__month + .p-about__month {
    margin-top: 1.25rem;
  }
  .p-about__month-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 0 0 1.625rem;
    background: var(--blue-paler);
    color: var(--blue-mid);
    font-size: max(12px, 0.875rem);
    font-weight: 700;
    line-height: 1.2;
  }
  .p-about__exams {
    display: block;
    flex: 1 1 auto;
  }
  .p-about__exam {
    display: block;
  }
  .p-about__exam + .p-about__exam {
    margin-top: 0.625rem;
  }
  .p-about__exam-name {
    font-size: max(12px, 0.8125rem);
    line-height: 1.5;
  }
  .p-about__exam-rows {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3125rem 0.375rem;
  }
  .p-about__exam-row {
    min-height: 1.5rem;
    gap: 0.25rem;
  }
  .p-about__chip {
    flex: 0 0 2.5rem;
    border-radius: 0.125rem;
  }
  .p-about__chip--wide {
    flex-basis: 4.375rem;
  }
  .p-about__date {
    font-size: max(12px, 0.8125rem);
  }

  /* ---------- CHECK POINT ---------- */
  .p-point {
    padding: 3.125rem 0;
  }
  .p-point .c-label {
    margin-bottom: 1.5rem;
  }
  .p-point .c-heading-lg {
    margin-bottom: 1.6875rem;
  }
  .p-point__list {
    width: auto;
    margin-top: 1.875rem;
  }
  .p-point__item {
    display: block;
    min-height: 9.625rem;
    padding: 0.75rem 1.25rem 1rem;
    background: var(--gray-bg);
  }
  .p-point__item::before {
    display: none;
  }
  .p-point__item + .p-point__item {
    margin-top: 0.625rem;
  }
  .p-point__badge {
    float: left;
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 0.5rem 0 -0.625rem;
  }
  .p-point__badge-label {
    font-size: max(12px, 0.625rem);
    line-height: 1.1875rem;
  }
  .p-point__badge-num {
    font-size: max(12px, 1.125rem);
    line-height: 1.1875rem;
  }
  .p-point__title {
    flex: none;
    margin-left: 0;
    padding-top: 0.375rem;
    font-size: max(12px, 1rem);
    line-height: 1.42;
  }
  .p-point__body {
    clear: both;
    padding: 0.375rem 0 0;
    font-size: max(12px, 0.75rem);
    line-height: 1.65;
  }

  /* ---------- CHECK ---------- */
  .p-check {
    padding: 3.125rem 0;
  }
  .p-check .c-heading-lg {
    margin-bottom: 0.875rem;
  }
  .p-check__cards {
    display: block;
    margin-top: 1.25rem;
  }
  .p-check__card + .p-check__card {
    margin-top: 0.625rem;
  }
  .p-check__card {
    min-height: 8.75rem;
    padding: 1.125rem 1.1875rem;
    border-radius: 0.625rem;
  }
  .p-check__card-title {
    /* デザインでは見出しだけがカードの余白より右まで伸びる */
    margin-right: -0.75rem;
    font-size: max(12px, 1.25rem);
  }
  .p-check__card-body {
    margin-top: 0.6875rem;
    font-size: max(12px, 0.875rem);
  }

  /* ---------- 科目 / 面接カード ---------- */
  .p-exam__cards,
  .p-interview__cards {
    display: grid;
    /* カードは最大315px。入るだけ横に並べ、入らなければ折り返す */
    grid-template-columns: repeat(auto-fit, minmax(min(19.6875rem, 100%), 19.6875rem));
    justify-content: center;
    gap: 0.625rem 1.875rem;
  }
  .p-subject-card {
    width: auto;
    min-height: 0;
    padding-bottom: 1.25rem;
  }
  .p-subject-card__visual {
    width: auto;
    height: 10.625rem;
    margin: 0 1.25rem;
  }
  .p-subject-card__badge-circle {
    right: -0.8125rem;
    top: -1.0625rem;
    width: 5rem;
    height: 5rem;
  }
  .p-subject-card__circle-label {
    font-size: max(10px, 0.625rem);
  }
  .p-subject-card__circle-num {
    margin-top: -0.15em;
    font-size: max(10px, 1.25rem);
    line-height: 1;
  }
  .p-subject-card__circle-num em {
    font-size: max(10px, 1.875rem);
  }
  .p-subject-card__circle-sub {
    font-size: max(10px, 0.625rem);
  }
  .p-subject-card__tag {
    left: 0;
    top: 1.25rem;
    width: 12.5rem;
    min-height: 1.625rem;
    font-size: max(12px, 0.875rem);
  }
  .p-subject-card__tag--white {
    left: 0.875rem;
    top: 1.4375rem;
    width: 5.625rem;
    min-height: 1.875rem;
    font-size: max(12px, 0.75rem);
    padding-bottom: 0.25rem;
  }
  .p-subject-card__tag--inner {
    left: -0.125rem;
    top: 0;
  }

  .p-illust-exam1 {
    left: 1.3125rem;
    top: 2.0625rem;
    width: 14.625rem;
    height: 8.0625rem;
  }
  .p-illust-exam2 {
    left: 1.0625rem;
    top: 2.125rem;
    width: 15.125rem;
    height: 8.125rem;
  }
  .p-illust-int5 {
    left: 2.9375rem;
    top: 0.375rem;
    width: 11.3125rem;
    height: 10.75rem;
  }
  .p-illust-int8 {
    left: 0.75rem;
    top: 1.9375rem;
    width: 15.75rem;
    height: 9.125rem;
  }

  /* SP：学科一覧を全件展開して表示する。受験科目数の円バッジはSPでは出さない */
  .p-exam .p-subject-card__badge-circle {
    display: none;
  }
  .p-subject-card__detail {
    padding: 0 1.25rem;
  }
  .p-subject-card__detail-title {
    margin-top: 2.4375rem;
    color: var(--navy);
    font-size: max(12px, 1rem);
    font-weight: 700;
    line-height: 1.4;
  }
  .p-subject-card__detail-title + .c-dept-block {
    margin-top: 1.25rem;
  }

  /* ---------- EXAM ---------- */
  .p-exam {
    padding: 3.125rem 0;
  }
  .p-exam__cards {
    margin-top: 1.875rem;
  }
  .p-exam__notes {
    margin-top: 0.75rem;
  }
  .p-exam__scope {
    margin-top: 1.875rem;
  }
  .p-exam__scope-head {
    display: block;
  }
  .p-exam__scope-lead {
    margin: 0.75rem 0 0;
    font-size: max(12px, 1rem);
    font-weight: 400;
  }
  .p-exam__scope-text {
    margin-top: 0.75rem;
    font-size: max(12px, 0.875rem);
  }
  .p-scope-card {
    margin-top: 1.625rem;
  }
  .p-scope-card__head {
    padding-left: 1.5625rem;
    font-size: max(12px, 1.125rem);
  }
  .p-scope-card__inner {
    display: block;
    padding: 1.375rem 1.25rem 1.25rem;
  }
  .p-scope-card__list {
    gap: 0.5625rem;
  }
  /* デザインは140pxだが、チップ＋本文でカード内寸275pxにちょうど収まらない。
     文字は収まる範囲で2px詰めて1行に保つ */
  .p-scope-card__chip--wide {
    flex-basis: max-content;
  }
  .p-scope-card__desc {
    margin-left: 0.9375rem;
    font-size: max(12px, 0.875rem);
  }
  .p-scope-card__chip--wide + .p-scope-card__desc {
    margin-left: 0.25rem;
  }
  /* 「※Ⅲ期のみ」は次行に送り、チップの左端に揃える */
  .p-scope-card__small {
    flex: 0 0 100%;
    margin: 0.125rem 0 0;
  }
  .p-scope-card__notes {
    margin: 0.75rem 0 0;
    padding: 0.75rem 0 0;
    border-left: 0;
    border-top: 0.0625rem solid var(--line);
    font-size: max(12px, 0.75rem);
  }
  .p-scope-card__notes p + p {
    margin-top: 0;
  }

  /* ---------- INTERVIEW ---------- */
  .p-interview {
    padding: 0 0 3.125rem;
  }
  .p-interview__cards {
    margin-top: 1.75rem;
  }
  .p-interview__cards > .p-subject-card:first-child .c-dept-list {
    margin-top: 1.5rem;
  }
  .p-interview__exclude {
    margin: 1.25rem 1.25rem 0;
    font-size: max(12px, 0.75rem);
  }
  .p-interview__notes {
    margin-top: 0.8125rem;
  }

  /* ---------- DOCUMENT ---------- */
  .p-document {
    padding: 0 0 2.625rem;
  }
  .p-document__list {
    display: block;
    margin-top: 1.875rem;
  }
  .p-document__list > * + * {
    margin-top: 0.625rem;
  }
  .p-document__card {
    min-height: 0;
    padding-bottom: 1.25rem;
  }
  .p-document__title {
    min-height: 3.125rem;
    margin: 0.6875rem 0 0 0.5625rem;
    font-size: max(12px, 1.25rem);
  }
  .p-document__icon {
    flex-basis: 3.125rem;
    width: 3.125rem;
    height: 3.125rem;
    margin-right: 0.4375rem;
  }
  .p-document__body {
    margin: 0.3125rem 1.1875rem 0;
    font-size: max(12px, 0.875rem);
    line-height: 1.6;
  }
  .p-document__note {
    margin-top: 0.375rem;
    padding-left: 0;
    /* 1行に収めるため約物を詰める（デザイン準拠） */
    font-feature-settings: "palt";
    letter-spacing: -0.025em;
  }
  .p-document__note + .p-document__card {
    margin-top: 0.625rem;
  }

  /* ---------- CERTIFICATE ---------- */
  .p-certificate {
    padding: 3.125rem 0;
    background-image: url(../images/certificate/bg-sp.jpg);
  }
  .p-certificate__cards {
    display: block;
    width: auto;
    margin-top: 1.875rem;
  }
  .p-certificate__card + .p-certificate__card {
    margin-top: 0.625rem;
  }
  .p-certificate__card {
    width: auto;
    min-height: 0;
    padding-bottom: 1.25rem;
  }
  .p-certificate__thumb {
    width: auto;
    height: 8.125rem;
    margin-bottom: 0.4375rem;
  }
  .p-certificate__title {
    font-size: max(12px, 1.25rem);
  }
  .p-certificate__body {
    margin-top: 0.1875rem;
    font-size: max(12px, 0.875rem);
  }
  .p-certificate__btn {
    margin-top: 1.875rem;
    text-align: center;
  }

  /* ---------- CHOICE ---------- */
  .p-choice__body {
    min-height: 0;
    padding: 3.125rem 0;
  }
  .p-choice__body::before {
    background-image: url(../images/choice/bg-sp.jpg);
  }
  .p-choice__title {
    margin-bottom: 1.875rem;
    font-size: max(12px, 1.5rem);
    letter-spacing: 0.15rem;
  }
  .p-choice__lead {
    font-size: max(12px, 0.875rem);
    font-weight: 400;
    text-align: left;
  }
  .p-choice__note {
    display: block;
    font-size: max(12px, 0.875rem);
    font-weight: 400;
  }
  .p-choice__band {
    margin-top: 1.875rem;
    padding-block: 0.875rem;
    font-size: max(12px, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.075rem;
  }

  /* ---------- SCHEDULE ---------- */
  .p-schedule {
    padding: 3.125rem 0;
  }
  .p-schedule .c-heading-lg {
    margin-bottom: 1.875rem;
  }
  .p-schedule__steps {
    display: block;
    width: auto;
    margin-top: 1.875rem;
  }
  .p-schedule__steps::before {
    display: none;
  }
  .p-schedule__steps--a .p-schedule__step--01,
  .p-schedule__steps--a .p-schedule__step--02,
  .p-schedule__steps--a .p-schedule__step--03,
  .p-schedule__steps--a .p-schedule__step--04,
  .p-schedule__steps--b .p-schedule__step {
    width: auto;
  }
  .p-schedule__step {
    width: auto;
    min-height: 2.5rem;
    padding-left: 3rem;
  }
  /* 縦のつなぎ線。最後のステップには引かない */
  .p-schedule__step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    translate: -50% 0;
    top: 0;
    width: 2px;
    height: calc(100% + 1.75rem);
    background: var(--navy);
  }
  .p-schedule__step + .p-schedule__step {
    margin-top: 1.75rem;
  }
  .p-schedule__badge {
    position: absolute;
    left: 0;
    top: 0;
  }
  .p-schedule__step-title {
    margin-top: 0;
    padding-top: 0.32rem;
  }
  /* 320px級の狭い端末では日付を折り返させ、横スクロールを出さない */
  .p-schedule__row {
    flex-wrap: wrap;
    gap: 0.4375rem;
    margin-top: 0.625rem;
  }
  .p-schedule__row:first-of-type {
    margin-top: 1.1875rem;
  }
  .p-schedule__row--single {
    margin-top: 0.875rem;
  }
  .p-schedule__tag {
    flex: 0 0 4.625rem;
    font-size: max(12px, 0.75rem);
    white-space: nowrap;
  }
  .p-schedule__place {
    display: block;
    width: auto;
    min-height: 0;
    margin-top: 1.875rem;
    padding: 0.875rem 1rem 1rem;
  }
  .p-schedule__place-title {
    margin-bottom: 0.375rem;
  }
  .p-schedule__place-text {
    width: auto;
    font-size: max(12px, 0.875rem);
  }
  .p-schedule__btn,
  .p-schedule--tokutai .p-schedule__btn {
    margin-top: 1.875rem;
    text-align: center;
  }

  /* ---------- FEE ---------- */
  .p-fee {
    padding: 3.125rem 0;
  }
  .p-fee--text,
  .p-fee--text.p-fee--gray {
    padding: 3.125rem 0;
  }
  .p-fee .c-heading-lg {
    margin-bottom: 1.875rem;
  }
  .p-fee__chart {
    width: 17.1875rem;
    gap: 2.9375rem;
    padding-bottom: 1.4375rem;
    margin: 2rem auto 0;
  }
  .p-fee__axis {
    bottom: 1.4375rem;
  }
  .p-fee__col {
    width: 4.5rem;
  }
  .p-fee__bar {
    width: 4.5rem;
  }
  .p-fee__bar--1 {
    height: 6.375rem;
  }
  .p-fee__bar--2 {
    height: 2.6875rem;
  }
  .p-fee__pill {
    width: 4.0625rem;
    min-height: 1rem;
    font-size: max(10px, 0.625rem);
    letter-spacing: 0.03125rem;
    line-height: 1rem;
  }
  .p-fee__price {
    margin-block: 0.25rem 0.3125rem;
    font-size: max(12px, 0.875rem);
    line-height: 0.875rem;
  }
  .p-fee__caption {
    top: calc(100% - 1.0625rem);
    width: 4.5rem;
    font-size: max(12px, 0.75rem);
    line-height: 1.0625rem;
  }
  .p-fee__dash {
    left: 7.1875rem;
    top: 2.1875rem;
    width: 3rem;
    height: 3.6875rem;
  }

  /* ---------- EXAM（共通テスト利用選抜） ---------- */
  .p-subject {
    padding: 3.125rem 0;
  }
  .p-subject__cards {
    gap: 0.625rem;
    margin-top: 1.9375rem;
  }
  .p-subject__card {
    padding: 1.25rem;
  }
  .p-subject__depts,
  .p-subject__depts--1row {
    display: block;
  }
  .p-subject__dept {
    display: block;
    text-align: center;
  }
  .p-subject__dept + .p-subject__dept {
    margin-top: 0.625rem;
  }
  .p-subject__chip {
    width: 100%;
    min-height: 1.375rem;
    font-size: max(12px, 0.75rem);
  }
  .p-subject__dept-text {
    margin-top: 0.1875rem;
    font-size: max(12px, 0.8125rem);
  }
  .p-subject__table {
    margin-top: 1rem;
  }
  /* SPは見出しを上に重ねた縦積みのブロックにする */
  .p-subject__row {
    display: block;
  }
  .p-subject__row-label {
    display: flex;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-height: 1.625rem;
    padding: 0.25rem 0.75rem;
  }
  .p-subject__row-body {
    padding: 0.5rem 0.75rem 0.75rem;
  }

  /* 奨学特待生 EXAM：カード下部の「科目・教科」 */
  .p-subject-card__subject {
    margin: 1.25rem 1.25rem 0;
    padding-top: 1rem;
    border-top: 0.0625rem solid var(--line);
  }
  .p-subject-card__subject-text {
    margin-top: 0;
    font-size: max(12px, 0.75rem);
  }

  /* ---------- APPLY ---------- */
  .p-apply {
    padding: 3.125rem 0;
  }
  .p-apply__panel {
    width: auto;
    min-height: 0;
    padding: 3.125rem 1.875rem;
  }
  .p-apply__btns {
    display: block;
    width: auto;
    margin-top: 1.875rem;
  }
  .p-apply__btns li + li {
    margin-top: 1.25rem;
  }
  .p-apply__btns li {
    text-align: center;
  }

  /* ---------- CTA ---------- */
  .p-cta {
    padding: 3.125rem 0;
  }
  .p-cta__title {
    font-size: max(12px, 1.5rem);
  }
  .p-cta__lead {
    margin-top: 3.25rem;
    font-size: max(12px, 0.875rem);
    line-height: 1.7;
    text-align: left;
  }
  .p-cta__btn {
    margin-top: 1.875rem;
  }
}

/* =========================================================
   アクセシビリティ
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
