@charset "UTF-8";
/* ==========================================================
  高校 入試対策講座LP（/koukou/feature/nyushi/）
  - TOPと同じく、コンテンツ幅は最大550px
  - 375px基準で拡縮し、550px以上で固定（--u = 1デザインpx）
  - KVのみ768px以上でPCレイアウトに切り替え
========================================================== */

.nyushi {
  --u: min(calc(100vw / 375), calc(550px / 375));
  --navy: #2a305c;
  --text: #0b1142;
  --red: #fd6467;
  --blue: #2b7be9;
  --grad: linear-gradient(90deg, #0b70ff 0%, #35bed9 100%);
  display: block;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
}

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

.nyushi img,
.nyushi video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* :where() で詳細度を .nyushi 1つ分に抑え、後続のクラス指定を優先させる */
.nyushi :where(h1, h2, h3, h4, p, ul, ol, dl, dt, dd) {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  border: 0;
  background: none;
}

.nyushi ul,
.nyushi ol {
  list-style: none;
}

.nyushi em {
  font-style: normal;
}

.nyushi a {
  text-decoration: none;
  transition: opacity 0.3s;
}

.nyushi a:hover {
  opacity: 0.7;
}

.nyushi-inner {
  width: 100%;
  max-width: 550px;
  margin-inline: auto;
}

/* 共通テキスト */
.nyushi-text {
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: 1.65;
  text-align: justify;
}

.nyushi-text strong {
  color: var(--red);
  font-weight: 700;
}

.nyushi-note {
  color: #555;
  font-size: calc(10 * var(--u));
  line-height: 1.6;
  text-align: left;
}

/* ドット矢印 */
.nyushi-arrow {
  display: block;
  width: calc(32 * var(--u));
  aspect-ratio: 53 / 47;
  margin-inline: auto;
  background: url("/assets/koukou/top/img/recommend__arrow.svg") no-repeat center / contain;
}

/* 見出し（POINT以外のセクション） */
.nyushi-pill {
  display: inline-block;
  min-width: calc(220 * var(--u));
  padding: calc(4 * var(--u)) calc(20 * var(--u));
  border-radius: 99px;
  background: #fff;
  color: var(--text);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  line-height: 1.5;
}

.nyushi-pill--navy {
  background: var(--navy);
  color: #fff;
}

.nyushi-sec-title {
  margin-top: calc(18 * var(--u)) !important;
  color: var(--text);
  font-size: calc(24 * var(--u)) !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  line-height: 1.55 !important;
}

/* ----------------------------------------------------------
  KV
---------------------------------------------------------- */
.nyushi-kv {
  position: relative;
  z-index: 2;
}

.nyushi-kv__bg,
.nyushi .nyushi-kv__title-pc,
.nyushi-kv__pc-cta {
  display: none;
}

.nyushi-kv__title-sp {
  width: 100%;
}

.nyushi-kv__sp-cta {
  position: absolute;
  right: calc(12 * var(--u));
  bottom: calc(-22 * var(--u));
  z-index: 3;
  display: block;
  width: calc(126 * var(--u));
}

.nyushi-kv__sp-cta img {
  width: 100%;
}

@media (min-width: 768px) {
  .nyushi-kv {
    height: calc(100vh - 250px);
    min-height: 500px;
  }
  .nyushi-kv__bg {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .nyushi-kv__bg img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 70% top;
  }
  .nyushi-kv__title {
    position: absolute;
    left: 10vw;
    top: 50%;
    z-index: 2;
    transform: translateY(-70%);
  }
  .nyushi-kv__title-sp {
    display: none !important;
  }
  .nyushi-kv__title-pc {
    display: block !important;
    width: clamp(320px, calc(560 / 1440 * 100vw), 560px);
  }
  .nyushi-kv__pc-cta {
    display: block;
    position: absolute;
    left: 10vw;
    top: calc(50% + clamp(320px, calc(560 / 1440 * 100vw), 560px) * 165 / 325 * 0.3 + 24px);
    z-index: 2;
    width: clamp(320px, calc(560 / 1440 * 100vw), 560px);
    text-align: center;
  }
  .nyushi-kv__pc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px clamp(48px, calc(80 / 1440 * 100vw), 80px);
    border-radius: 99px;
    background: #fc7f01;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #fff !important;
    font-size: clamp(15px, calc(17 / 1440 * 100vw), 20px);
    font-weight: 700;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }
  .nyushi-kv__pc-btn--doc {
    background: #22c55e;
  }
  .nyushi-kv__pc-btn::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 12px;
    height: 14px;
    transform: translateY(-50%);
    background: url("/assets/koukou/top/img/fv_cta-arrow.svg") no-repeat center / contain;
  }
  .nyushi-kv__sp-cta {
    display: none;
  }
}

/* ----------------------------------------------------------
  お悩み
---------------------------------------------------------- */
.nyushi-worry {
  position: relative;
  z-index: 1;
  padding-top: calc(52 * var(--u));
  padding-bottom: 0;
  background: linear-gradient(180deg, #f4f7fd 0%, #e8effb 45%, #fff 75%);
}

.nyushi-worry__title {
  color: var(--text);
  font-size: calc(18 * var(--u)) !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

.nyushi-worry__box {
  position: relative;
  margin: calc(22 * var(--u)) calc(25 * var(--u)) 0;
  padding: calc(14 * var(--u)) calc(20 * var(--u)) calc(14 * var(--u)) calc(30 * var(--u));
  border-radius: calc(6 * var(--u));
  background: #fff;
  text-align: left;
}

.nyushi-worry__list li {
  position: relative;
  width: calc(210 * var(--u));
  padding: calc(10 * var(--u)) 0 calc(10 * var(--u)) calc(24 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: 1.5;
}

.nyushi-worry__list li + li {
  border-top: 1px dashed #9aa6c2;
}

.nyushi-worry__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(14 * var(--u));
  width: calc(12 * var(--u));
  height: calc(12 * var(--u));
  border: 1.5px solid var(--blue);
  border-radius: 2px;
}

.nyushi-worry__list em {
  color: var(--red);
  font-weight: 700;
}

/* 定期テスト対策と同様、モデルを枠の下にはみ出させる */
.nyushi-worry__img {
  position: absolute;
  right: 0;
  bottom: calc(-17 * var(--u));
  width: calc(124 * var(--u)) !important;
}

.nyushi-worry .nyushi-arrow {
  margin-top: calc(42 * var(--u));
}

.nyushi-copy {
  margin: calc(42 * var(--u)) calc(24 * var(--u)) 0 !important;
}

.nyushi-copy img {
  width: calc(327 * var(--u));
}

.nyushi-worry__main {
  width: calc(287 * var(--u)) !important;
  margin: calc(14 * var(--u)) auto 0;
}

/* ----------------------------------------------------------
  3つのポイント
---------------------------------------------------------- */
.nyushi-points {
  position: relative;
  isolation: isolate;
  padding: calc(48 * var(--u)) 0 calc(110 * var(--u));
  background: linear-gradient(180deg, #d4e3f8 0%, #edf3fc 100%);
}

/* 背景の円（デザイン：375×352 をスクリーン合成） */
.nyushi-points::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(45 * var(--u));
  z-index: -1;
  width: calc(375 * var(--u));
  height: calc(352 * var(--u));
  margin-left: calc(-3 * var(--u));
  transform: translateX(-50%);
  background: url("/koukou/feature/nyushi/local/images/koukou_nyushi_points_bg.jpg") no-repeat center / 100% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

.nyushi-points__title-sub {
  display: block;
  color: var(--text);
  font-size: calc(16 * var(--u));
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nyushi-points__title-main {
  display: inline-block;
  margin-top: calc(2 * var(--u));
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: calc(30 * var(--u));
  font-weight: 700;
  line-height: 1.5;
}

.nyushi-points__list {
  margin: calc(28 * var(--u)) calc(21 * var(--u)) 0 !important;
  border-bottom: 1px dashed #9aa6c2;
}

.nyushi-points__list li + li {
  border-top: 1px dashed #9aa6c2;
}

.nyushi-points__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(22 * var(--u));
  padding: calc(14 * var(--u)) calc(30 * var(--u)) calc(14 * var(--u)) calc(16 * var(--u));
  color: var(--text) !important;
  text-align: left;
}

.nyushi-points__list a::after {
  content: "";
  position: absolute;
  right: calc(16 * var(--u));
  top: 50%;
  width: calc(15 * var(--u));
  aspect-ratio: 53 / 47;
  transform: translateY(-50%);
  background: url("/assets/koukou/top/img/recommend__arrow.svg") no-repeat center / contain;
}

.nyushi-points__num {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-family: "Oswald", sans-serif;
  font-size: calc(36 * var(--u));
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.nyushi-points__num span {
  font-size: calc(14 * var(--u));
  margin-bottom: calc(2 * var(--u));
}

.nyushi-points__text {
  font-size: calc(18 * var(--u));
  font-weight: 700;
  line-height: 1.45;
}

/* ----------------------------------------------------------
  POINT 共通（上部アーチ）
---------------------------------------------------------- */
.nyushi-point {
  --arch-bg: #fff;
  position: relative;
  margin-top: calc(-68 * var(--u));
  padding: calc(56 * var(--u)) 0 calc(130 * var(--u));
  /* デザイン：375幅に対し 523×406.63 の楕円を中央に配置（左右にはみ出した上部だけ見せる） */
  background:
    radial-gradient(69.73% calc(203.3 * var(--u)) at 50% calc(203.3 * var(--u)), var(--arch-bg) calc(100% - 1px), transparent 100%) 0 0 / 100% calc(68 * var(--u)) no-repeat,
    linear-gradient(var(--arch-bg), var(--arch-bg)) 0 calc(62 * var(--u)) / 100% 100% no-repeat;
  scroll-margin-top: 60px;
}

.nyushi-point__label {
  display: inline-block;
  min-width: calc(100 * var(--u));
  padding: calc(2 * var(--u)) calc(16 * var(--u));
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: calc(18 * var(--u));
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.nyushi-point__sub {
  margin-top: calc(8 * var(--u)) !important;
  font-size: calc(15 * var(--u));
  font-weight: 700;
}

.nyushi-point__title {
  margin-top: calc(22 * var(--u)) !important;
  color: var(--text);
  font-size: calc(25 * var(--u)) !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  line-height: 1.55 !important;
}

/* 吹き出し */
.nyushi-balloon {
  position: relative;
  margin: calc(34 * var(--u)) calc(50 * var(--u)) 0 !important;
  padding: calc(10 * var(--u)) 0;
  border-radius: calc(6 * var(--u));
  background: #e6f0fd;
  color: var(--navy);
  font-size: calc(15 * var(--u));
  font-weight: 700;
  line-height: 1.55;
}

.nyushi-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-9 * var(--u));
  width: calc(14 * var(--u));
  height: calc(10 * var(--u));
  transform: translateX(-50%);
  background: #e6f0fd;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* POINT01 */
.nyushi-matching {
  width: calc(277 * var(--u)) !important;
  margin: calc(24 * var(--u)) auto 0;
}

.nyushi-point01__lead {
  margin: calc(38 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-point01__gamen {
  width: calc(311 * var(--u)) !important;
  margin: calc(34 * var(--u)) auto 0;
}

.nyushi-count {
  margin: calc(-2 * var(--u)) calc(25 * var(--u)) 0;
}

.nyushi-count__model {
  width: calc(142 * var(--u)) !important;
  margin: 0 calc(14 * var(--u)) 0 auto;
}

.nyushi-count__box {
  padding: calc(16 * var(--u)) 0 calc(18 * var(--u));
  border-radius: calc(6 * var(--u));
  background: var(--navy);
  color: #fff;
  font-size: calc(15 * var(--u));
  font-weight: 700;
  line-height: 1.6;
}

.nyushi-count__box span {
  font-size: calc(17 * var(--u));
}

.nyushi-count__box b {
  font-size: calc(30 * var(--u));
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nyushi-count__box sup {
  top: -0.7em;
  font-size: 0.55em;
  line-height: 0;
  vertical-align: baseline;
}

.nyushi-count .nyushi-note {
  margin-top: calc(8 * var(--u)) !important;
}

.nyushi-features {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10 * var(--u));
  margin: calc(32 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc((100% - 10 * var(--u)) / 2);
  min-height: calc(78 * var(--u));
  border: 1px solid transparent;
  border-radius: calc(6 * var(--u));
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
}

.nyushi-features li.is-wide {
  width: 100%;
}

.nyushi-features span {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: calc(18 * var(--u));
  font-weight: 700;
  line-height: 1.45;
}

/* POINT02 */
.nyushi-point--02 {
  --arch-bg: #e5f0fd;
}

.nyushi-point02__img {
  width: calc(277 * var(--u)) !important;
  margin: calc(36 * var(--u)) auto 0;
}

.nyushi-point02__lead {
  margin: calc(30 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-schedule {
  position: relative;
  margin: calc(46 * var(--u)) calc(25 * var(--u)) 0;
  padding: calc(22 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #fff;
  text-align: left;
}

.nyushi-schedule__title {
  font-size: calc(18 * var(--u)) !important;
  font-weight: 700 !important;
}

.nyushi-schedule__model {
  position: absolute;
  right: calc(18 * var(--u));
  bottom: calc(100% - 56 * var(--u));
  width: calc(90 * var(--u)) !important;
}

.nyushi-schedule__list {
  margin-top: calc(12 * var(--u)) !important;
}

.nyushi-schedule__list > div {
  display: flex;
  align-items: center;
  height: calc(38 * var(--u));
  border-radius: calc(4 * var(--u));
  background: #e6f0fd;
  overflow: hidden;
}

.nyushi-schedule__list > div + div {
  margin-top: calc(10 * var(--u));
}

.nyushi-schedule__list dt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(116 * var(--u));
  height: 100%;
  padding-right: calc(12 * var(--u));
  background: linear-gradient(90deg, #35bed9 0%, #0b70ff 100%);
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  color: #fff;
  font-size: calc(16 * var(--u));
  font-weight: 700;
}

.nyushi-schedule__list dd {
  flex: 1;
  font-size: calc(16 * var(--u));
  font-weight: 700;
  text-align: center;
}

/* POINT03 */
.nyushi-point03__gamen1 {
  width: calc(279 * var(--u)) !important;
  margin: calc(36 * var(--u)) auto 0;
}

.nyushi-point--03 .nyushi-arrow {
  margin-top: calc(26 * var(--u));
}

.nyushi-point03__gamen2 {
  width: calc(225 * var(--u)) !important;
  margin: calc(16 * var(--u)) auto 0;
}

.nyushi-point03__lead {
  margin: calc(34 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-point03__model {
  width: calc(179 * var(--u)) !important;
  margin: calc(36 * var(--u)) auto 0;
}

.nyushi-point--03 {
  padding-bottom: calc(72 * var(--u));
}

.nyushi-steps {
  margin: 0 calc(25 * var(--u)) !important;
}

.nyushi-steps li {
  position: relative;
  padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  border: 1px solid #35bed9;
  border-radius: calc(6 * var(--u));
  background: #fff;
  text-align: left;
}

.nyushi-steps li + li {
  margin-top: calc(12 * var(--u));
}

.nyushi-steps li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-12 * var(--u));
  width: calc(18 * var(--u));
  height: calc(12 * var(--u));
  transform: translateX(-50%);
  background: #3aa0e6;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.nyushi-steps__title {
  display: inline-block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: calc(18 * var(--u)) !important;
  font-weight: 700 !important;
}

.nyushi-steps__text {
  margin-top: calc(4 * var(--u)) !important;
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: 1.6;
}

/* ----------------------------------------------------------
  入試対策の流れ
---------------------------------------------------------- */
/* デザイン：#0b70ff→#35bed9 の横グラデ（不透明度15%）＋上部に波の画像 */
.nyushi-flow {
  --flow-grad: linear-gradient(90deg, #dae9ff 0%, #e1f5f9 100%);
  padding: calc(64 * var(--u)) 0 calc(68 * var(--u));
  background:
    url("/koukou/feature/nyushi/local/images/koukou_nyushi_nagare_bg.png") 0 calc(19.6 * var(--u)) / 100% calc(164.5 * var(--u)) no-repeat,
    var(--flow-grad);
}

.nyushi-period {
  margin: calc(34 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-period__item {
  position: relative;
  padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  border: 1px solid var(--c);
  border-radius: calc(6 * var(--u));
  background: #fff;
  text-align: left;
}

.nyushi-period__item + .nyushi-period__item {
  margin-top: calc(12 * var(--u));
}

.nyushi-period__item + .nyushi-period__item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-12 * var(--u));
  width: calc(18 * var(--u));
  height: calc(12 * var(--u));
  transform: translateX(-50%);
  background: var(--c-prev);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.nyushi-period__item--1 { --c: #35b6d9; }
.nyushi-period__item--2 { --c: #31a2e0; --c-prev: #35b6d9; }
.nyushi-period__item--3 { --c: #2b8de5; --c-prev: #31a2e0; }
.nyushi-period__item--4 { --c: #2c7cec; --c-prev: #2b8de5; }
.nyushi-period__item--5 { --c: #2766e0; --c-prev: #2c7cec; }

.nyushi-period__name {
  color: var(--c);
  font-size: calc(19 * var(--u)) !important;
  font-weight: 700 !important;
}

.nyushi-period__term {
  width: calc(160 * var(--u));
  margin-top: calc(6 * var(--u)) !important;
  border-radius: calc(3 * var(--u));
  background: var(--c);
  color: #fff;
  font-size: calc(12 * var(--u));
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.nyushi-period__text {
  margin-top: calc(8 * var(--u)) !important;
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: 1.6;
  text-align: justify;
}

.nyushi-flow__note {
  margin: calc(14 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-flow__model {
  width: calc(206 * var(--u)) !important;
  margin: calc(34 * var(--u)) auto 0;
}

/* ----------------------------------------------------------
  一般入試対策 学習の特長（上下アーチ）
---------------------------------------------------------- */
/* 流れセクションの下端は下向きの楕円（デザイン：523×406.63 の下部 131px）。
   モデル画像はその楕円の下端より少しはみ出させる */
.nyushi-flow {
  padding-bottom: 0;
}

.nyushi-flow__model {
  position: relative;
  z-index: 2;
  margin-bottom: calc(-176 * var(--u));
}

.nyushi-feature {
  position: relative;
  z-index: 1;
  padding: calc(241 * var(--u)) 0 calc(76 * var(--u));
  /* 上：流れセクションの背景色の楕円（下向き）／下：523×406.63 の白い楕円 */
  --arch-bg: #fff;
  background:
    radial-gradient(69.73% calc(203.3 * var(--u)) at 50% calc(-72.3 * var(--u)), transparent calc(100% - 1px), var(--arch-bg) 100%) 0 0 / 100% calc(131 * var(--u)) no-repeat,
    linear-gradient(90deg, #dae9ff 0%, #e1f5f9 100%) 0 0 / 100% calc(131 * var(--u)) no-repeat,
    linear-gradient(var(--arch-bg), var(--arch-bg)) 0 calc(130 * var(--u)) / 100% calc(100% - 193 * var(--u)) no-repeat,
    radial-gradient(69.73% calc(203.3 * var(--u)) at 50% calc(-135.3 * var(--u)), var(--arch-bg) calc(100% - 1px), transparent 100%) 0 100% / 100% calc(68 * var(--u)) no-repeat;
}

.nyushi-switch {
  position: relative;
  width: calc(279 * var(--u));
  margin: calc(36 * var(--u)) auto 0;
}

.nyushi-switch img + img {
  position: absolute;
  inset: 0;
  animation: nyushi-switch 6s ease-in-out infinite;
}

@keyframes nyushi-switch {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nyushi-switch img + img {
    animation: none;
    opacity: 0;
  }
}

.nyushi-feature__lead {
  margin: calc(30 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-subjects {
  position: relative;
  margin: calc(140 * var(--u)) calc(25 * var(--u)) 0;
  padding: calc(26 * var(--u)) calc(18 * var(--u)) calc(20 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #e6f0fd;
  text-align: left;
}

/* タブレットが切れないよう、モデルを科目カードより前面に重ねる */
.nyushi-subjects__model {
  position: absolute;
  z-index: 2;
  right: calc(32 * var(--u));
  bottom: calc(100% - 94 * var(--u));
  width: calc(131 * var(--u)) !important;
}

.nyushi-subjects__title {
  font-size: calc(19 * var(--u)) !important;
  font-weight: 700 !important;
}

.nyushi-subjects__list {
  margin-top: calc(14 * var(--u)) !important;
}

.nyushi-subjects__list li {
  position: relative;
  z-index: 1;
  padding: calc(12 * var(--u)) calc(12 * var(--u)) calc(14 * var(--u));
  border-radius: calc(6 * var(--u));
  background: #fff;
}

.nyushi-subjects__list li + li {
  margin-top: calc(12 * var(--u));
}

.nyushi-subjects__list h4 {
  color: var(--blue);
  font-size: calc(15 * var(--u)) !important;
  font-weight: 700 !important;
}

.nyushi-subjects__list p {
  margin-top: calc(6 * var(--u)) !important;
  font-size: calc(12.5 * var(--u));
  font-weight: 500;
  line-height: 1.65;
  text-align: justify;
}

/* ----------------------------------------------------------
  大学入学共通テスト対策
---------------------------------------------------------- */
.nyushi-test {
  margin-top: calc(-68 * var(--u));
  padding: calc(134 * var(--u)) 0 calc(50 * var(--u));
  background: linear-gradient(160deg, #dce8fb 0%, #e3f3fa 100%);
}

.nyushi-test__gamen {
  width: calc(256 * var(--u)) !important;
  margin: calc(32 * var(--u)) auto 0;
}

.nyushi-test__lead {
  margin: calc(30 * var(--u)) calc(25 * var(--u)) 0 !important;
}

.nyushi-test__model {
  width: calc(186 * var(--u)) !important;
  margin: calc(30 * var(--u)) auto 0;
}

.nyushi-term {
  position: relative;
  margin: 0 calc(25 * var(--u));
  padding: calc(12 * var(--u)) calc(11 * var(--u)) calc(20 * var(--u));
  border: 1px solid var(--c);
  border-radius: calc(6 * var(--u));
  background: #fff;
}

.nyushi-term--1 { --c: #3fb0e0; }
.nyushi-term--2 { --c: var(--blue); margin-top: calc(12 * var(--u)); }

.nyushi-term--2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-12 * var(--u));
  width: calc(18 * var(--u));
  height: calc(12 * var(--u));
  transform: translateX(-50%);
  background: #3fb0e0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.nyushi-term__name {
  border-radius: 99px;
  background: var(--c);
  color: #fff;
  font-size: calc(18 * var(--u)) !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

.nyushi-term__months {
  display: flex;
  justify-content: center;
  margin-top: calc(12 * var(--u)) !important;
}

.nyushi-term__months li {
  position: relative;
  width: calc(88 * var(--u));
  height: calc(30 * var(--u));
  color: var(--c);
  font-size: calc(13 * var(--u));
  font-weight: 500;
  line-height: calc(30 * var(--u));
}

/* 矢羽根型の枠 */
.nyushi-term__months li::before,
.nyushi-term__months li::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%);
  z-index: -1;
}

.nyushi-term__months li::before {
  background: var(--c);
}

.nyushi-term__months li::after {
  inset: 1px 2px;
  background: #fff;
}

.nyushi-term__months li:first-child::before,
.nyushi-term__months li:first-child::after {
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
}

.nyushi-term__months li + li {
  margin-left: calc(-4 * var(--u));
}

.nyushi-term__months {
  position: relative;
  z-index: 0;
}

.nyushi-term__circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(30 * var(--u));
  margin-top: calc(22 * var(--u)) !important;
}

.nyushi-term__circles li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100 * var(--u));
  height: calc(100 * var(--u));
  border-radius: 50%;
  background: #e3f3fa;
  font-size: calc(15 * var(--u));
  font-weight: 700;
  line-height: 1.5;
}

.nyushi-term__circles li + li::before {
  content: "+";
  position: absolute;
  left: calc(-22 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  font-size: calc(18 * var(--u));
  font-weight: 500;
}

.nyushi-term__text {
  margin-top: calc(26 * var(--u)) !important;
  margin-bottom: calc(10 * var(--u)) !important;
  font-size: calc(15 * var(--u));
  font-weight: 700;
  line-height: 1.6;
}

.nyushi-info {
  margin: calc(28 * var(--u)) calc(25 * var(--u)) 0;
  padding: calc(20 * var(--u)) calc(16 * var(--u)) calc(18 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #fff;
  text-align: left;
}

.nyushi-info__title {
  font-size: calc(18 * var(--u)) !important;
  font-weight: 700 !important;
}

.nyushi-info__img {
  width: calc(255 * var(--u)) !important;
  margin: calc(14 * var(--u)) auto 0;
}

.nyushi-info .nyushi-text {
  margin-top: calc(14 * var(--u)) !important;
}

/* ----------------------------------------------------------
  CTA
---------------------------------------------------------- */
.nyushi-cta {
  padding: calc(56 * var(--u)) 0 calc(40 * var(--u));
  background: #0b1142;
}

.nyushi-cta__title {
  color: #fff !important;
  font-size: calc(27 * var(--u)) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.nyushi-cta__lead {
  margin-top: calc(22 * var(--u)) !important;
  color: #fff;
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: 1.7;
}

.nyushi-cta__btns {
  margin-top: calc(40 * var(--u));
}

.nyushi-cta__btns > div + div {
  margin-top: calc(28 * var(--u));
}

.nyushi-cta__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(300 * var(--u));
  height: calc(59 * var(--u));
  margin-inline: auto;
  border-radius: 99px;
  background: #ff6a00;
  color: #fff !important;
  font-size: calc(15 * var(--u));
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nyushi-cta__btn--doc {
  background: #22c55e;
}

.nyushi-cta__btn::after {
  content: "";
  position: absolute;
  right: calc(25 * var(--u));
  top: 50%;
  width: calc(12 * var(--u));
  height: calc(14 * var(--u));
  transform: translateY(-50%);
  background: url("/assets/koukou/top/img/recommendcta-icon.svg") no-repeat center / contain;
}

.nyushi-cta__note {
  margin-top: calc(6 * var(--u)) !important;
  color: #fff;
  font-size: calc(11 * var(--u));
}

/* ----------------------------------------------------------
  よくあるご質問（TOPのデザインに準拠）
---------------------------------------------------------- */
.nyushi-faq {
  padding: 44px 0 60px;
  background: #fff;
}

.nyushi-faq__title {
  margin-bottom: 18px !important;
  color: #2b2b2b;
  font-size: 25px !important;
  font-weight: 700 !important;
}

.nyushi-faq__list {
  border-top: 1px solid #e0e0e0;
}

.nyushi-faq__item {
  border-bottom: 1px solid #e0e0e0;
}

.nyushi-faq__q {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 24px 30px;
  border: 0;
  background: none;
  color: #2b2b2b;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.nyushi-faq__q[aria-expanded="true"] {
  padding-bottom: 11px;
}

.nyushi-faq__mark {
  flex-shrink: 0;
  color: #fd6467;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.nyushi-faq__q-text {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

@media (min-width: 550px) {
  .nyushi-faq__q-text br {
    display: none;
  }
}

.nyushi-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.nyushi-faq__icon::before,
.nyushi-faq__icon::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  background: rgba(43, 43, 43, 0.5);
  transition: transform 0.3s, opacity 0.3s;
}

.nyushi-faq__icon::before {
  left: 9px;
  top: 3px;
  width: 2px;
  height: 14px;
}

.nyushi-faq__icon::after {
  left: 3px;
  top: 9px;
  width: 14px;
  height: 2px;
}

.nyushi-faq__q[aria-expanded="true"] .nyushi-faq__icon::before {
  transform: rotate(90deg);
  opacity: 0;
}

.nyushi-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 30px 20px;
  text-align: left;
}

.nyushi-faq__a[hidden] {
  display: none;
}

.nyushi-faq__a .nyushi-faq__mark {
  color: #0b70ff;
  line-height: 1.1;
}

.nyushi-faq__a p {
  flex: 1;
  color: #2b2b2b;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
