@charset "UTF-8";

/* ==========================================================================
   For-teachers page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero (page-hero)
   -------------------------------------------------------------------------- */

.ft-hero {
  position: relative;
}

.ft-hero__visual {
  display: block;
  width: 100%;
  line-height: 0;
}

.ft-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* このページ専用 container 共通クラス
   .section と同じレスポンシブ横余白パターンを .container に適用するためのユーティリティ
   非 .section セクション配下の container（.ft-hero__overlay / .ft-closing 等）で使用 */
.ft-container {
  padding-left: 13.5417%;
  padding-right: 13.5417%;
  box-sizing: border-box;
}

/* SP 専用改行: desktop では非表示、≤767.98px のみ inline */
.ft-sp-br {
  display: none;
}
@media screen and (max-width: 767.98px) {
  .ft-sp-br {
    display: inline;
  }
}

/* PC 専用改行: 768px+ で inline, SP で none */
.ft-pc-br {
  display: inline;
}
@media screen and (max-width: 767.98px) {
  .ft-pc-br {
    display: none;
  }
}

/* 狭幅専用改行: ≤450px のみ inline */
.ft-narrow-br {
  display: none;
}
@media screen and (max-width: 450px) {
  .ft-narrow-br {
    display: inline;
  }
}

@media screen and (max-width: 1439.98px) {
  .ft-container {
    padding-left: clamp(37.5px, 6vw, 96px);
    padding-right: clamp(37.5px, 6vw, 96px);
  }
}

@media screen and (max-width: 991.98px) {
  .ft-container {
    padding-left: clamp(37.5px, 4vw, 40px);
    padding-right: clamp(37.5px, 4vw, 40px);
  }
}

@media screen and (max-width: 767.98px) {
  .ft-container {
    padding-left: calc(23 / 375 * 100vw);
    padding-right: calc(23 / 375 * 100vw);
    padding-top: 0;
  }
}

.ft-hero__overlay {
  position: absolute;
  top: 124px; /* ヘッダー高さ分 */
  margin-top: 37px;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 5; /* ft-cta (z-index:3) より上に表示 */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 40px);
  pointer-events: none;
}

.ft-hero__overlay > * {
  pointer-events: auto;
}

.ft-hero__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.15vw, 22px);
  padding-bottom: clamp(0px, 7.24vw, 139px);
  flex: 1 1 auto;
  min-width: 0;
}

.ft-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 12.55vw, 241px);
  aspect-ratio: 1 / 1;
  padding: clamp(16px, 2vw, 32px);
  background: #D7250C;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: clamp(0px, 7.24vw, 139px);
}

.ft-badge__title {
  --design-font-size: 22;
  --design-line-height: 33;
  --design-tracking: 100;
  padding: 0 10px;
  font-family: "Yu Gothic", YuGothic, "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(13px, 1.15vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  white-space: nowrap;
}

.ft-badge__sub {
  margin-top: clamp(8px, 0.8vw, 16px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(11px, 0.9vw, 16px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.ft-hero__title {
  --design-font-size: 58;
  --design-line-height: 121;
  --design-tracking: 0;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-weight: 700;
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  color: #1d1d1d;
}

.ft-hero__title-row {
  display: block;
  font-size: clamp(28px, 3.6vw, calc(var(--design-font-size) * 1px));
  line-height: 1;
}

.ft-hero__title-row--bottom {
  margin-top: 17px;
  /* 袋状の白グロー: 多重 text-shadow で文字の周囲を白く包む */
  text-shadow:
    0 0 4px #fff,
    0 0 6px #fff,
    0 0 8px #fff,
    0 0 10px #fff,
    0 0 14px #fff,
    0 0 18px #fff,
    0 0 24px #fff,
    0 0 32px rgba(255, 255, 255, 0.95),
    0 0 44px rgba(255, 255, 255, 0.85);
}

.ft-hero__title-row--top {
  /* 袋状の白グロー: 多重 text-shadow で文字の周囲を白く包む */
  text-shadow:
    0 0 4px #fff,
    0 0 6px #fff,
    0 0 8px #fff,
    0 0 10px #fff,
    0 0 14px #fff,
    0 0 18px #fff,
    0 0 24px #fff,
    0 0 32px rgba(255, 255, 255, 0.95),
    0 0 44px rgba(255, 255, 255, 0.85);
}

.ft-hero__marker {
  display: inline-flex;
  align-items: center;
  height: clamp(28px, calc(36 / 375 * 100vw), 90px);
  padding: 0 14px;
  background-color: #fff;
  color: #D7250C;
  font-weight: 900;
  font-style: normal;
  text-decoration: none;
}

.ft-hero__subcopy-accent {
  color: #D7250C;
  font-weight: 900;
  /* 袋状の白グロー: 多重 text-shadow で文字の周囲を白く包む */
  text-shadow:
    0 0 4px #fff,
    0 0 6px #fff,
    0 0 8px #fff,
    0 0 10px #fff,
    0 0 14px #fff,
    0 0 18px #fff,
    0 0 24px #fff,
    0 0 32px rgba(255, 255, 255, 0.95),
    0 0 44px rgba(255, 255, 255, 0.85);
}

.ft-hero__subcopy {
  --design-font-size: 24;
  --design-line-height: 46;
  --design-tracking: 60;
  margin: 0;
  color: #1d1d1d;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.5vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  /* 袋状の白グロー: 多重 text-shadow で文字の周囲を白く包む */
  text-shadow:
    0 0 4px #fff,
    0 0 6px #fff,
    0 0 8px #fff,
    0 0 10px #fff,
    0 0 14px #fff,
    0 0 18px #fff,
    0 0 24px #fff,
    0 0 32px rgba(255, 255, 255, 0.95),
    0 0 44px rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Case page — common hero
   -------------------------------------------------------------------------- */

.ft-case-hero {
  padding: 193px 0 0;
}

.ft-case-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 60px);
}

.ft-case-hero__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ft-case-hero__title {
  position: relative;
  margin: 0;
  padding-left: clamp(16px, 1.8vw, 28px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-case-hero__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: #D7250C;
}

.ft-case-hero__title-line {
  display: block;
}

.ft-case-hero__title-accent {
  color: #D7250C;
}

.ft-case-hero__subcopy {
  margin: clamp(20px, 2.2vw, 36px) 0 0;
  padding-left: clamp(16px, 1.8vw, 28px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-case-hero__subcopy-line {
  display: block;
}

.ft-case-hero__subcopy-accent {
  color: #D7250C;
}

/* --------------------------------------------------------------------------
   Case page — tabs (small / large)
   -------------------------------------------------------------------------- */

.ft-case-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ft-case-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 12px);
  padding: clamp(18px, 2.2vw, 30px) clamp(12px, 2vw, 32px);
  background: #F0EAE3;
  border-radius: 20px 20px 0 0;
  color: #1d1d1d;
  text-align: center;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
}

.ft-case-tab__title {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(20px, calc(32 / 1400 * 100vw), 32px);
  font-weight: 700;
  line-height: calc(46 / 32);
  letter-spacing: 0.06em;
  color: inherit;
}

.ft-case-tab__sub-arrow {
  color: #D7250C;
}

.ft-case-tab__sub {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(22 / 1400 * 100vw), 22px);
  font-weight: 500;
  line-height: calc(32 / 22);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-tab.is-active {
  background: #FFD8C5;
}

.ft-case-tab.is-active .ft-case-tab__title {
  color: #D7250C;
}

.ft-case-tab.is-active::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: clamp(10px, 1.2vw, 16px) clamp(10px, 1.2vw, 16px) 0 clamp(10px, 1.2vw, 16px);
  border-color: #FFD8C5 transparent transparent transparent;
}

.ft-case-panel {
  display: none;
  scroll-margin-top: clamp(120px, 11vw, 160px);
}

.ft-case-panel.is-active {
  display: block;
}

/* --------------------------------------------------------------------------
   Case panel — MV (image bg + 右テキスト + glow lead)
   -------------------------------------------------------------------------- */

.ft-case-mv {
  position: relative;
  min-height: clamp(420px, calc(660 / 1920 * 100vw), 660px);
}

.ft-case-mv__visual {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
  z-index: 0;
}

.ft-case-mv__visual-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ft-case-mv__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8vw;
  width: 100%;
  display: block;
  pointer-events: none;
  line-height: 0;
  z-index: 2;
}

.ft-case-mv__bottom img {
  width: 100%;
  height: auto;
  display: block;
}

.ft-case-mv__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(40px, calc(80 / 1400 * 100vw), 80px) clamp(24px, calc(90 / 1400 * 100vw), 90px);
  min-height: inherit;
}

.ft-case-mv__copy {
  width: clamp(440px, 55%, 652px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ft-case-mv__badge {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 18px;
  border: 2px solid #F4C5AD;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1d;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(20 / 1400 * 100vw), 20px);
  font-weight: 700;
  line-height: calc(30 / 20);
  letter-spacing: 0.06em;
}

.ft-case-mv__title {
  margin: 0 0 clamp(30px, calc(40 / 1400 * 100vw), 40px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(26px, calc(46 / 1400 * 100vw), 46px);
  font-weight: 700;
  line-height: calc(80 / 46);
  letter-spacing: 0;
  color: #1d1d1d;
  /* 画像との重なり時の可読性確保: lead と同パターンの白 glow */
  text-shadow:
    0 0 4px #fff,
    0 0 6px #fff,
    0 0 8px #fff,
    0 0 12px #fff,
    0 0 18px #fff,
    0 0 24px #fff,
    0 0 32px rgba(255, 255, 255, 0.95),
    0 0 44px rgba(255, 255, 255, 0.85);
}

.ft-case-mv__title-line {
  display: block;
}

.ft-case-mv__title-accent {
  color: #D7250C;
}

.ft-case-mv__lead {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, calc(18 / 1400 * 100vw), 18px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #1d1d1d;
  /* 袋状の白グロー: 多重 text-shadow で文字の周囲を白く包む */
  text-shadow:
    0 0 4px #fff,
    0 0 6px #fff,
    0 0 8px #fff,
    0 0 10px #fff,
    0 0 14px #fff,
    0 0 18px #fff,
    0 0 24px #fff,
    0 0 32px rgba(255, 255, 255, 0.95),
    0 0 44px rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Case panel — CTA (mv 直後、bottom_mv と同色背景でつなぐ)
   .cta-section の #FFD8C5 背景 & contact-cards グリッドを継承
   .section の 13.5417% 横 padding を打ち消し、ft-container の padding だけ残す
   -------------------------------------------------------------------------- */

.section.cta-section.ft-case-cta {
  padding-top: 0;
  padding-bottom: 40px;
}

.ft-case-panel .cta-section-inner {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.ft-case-panel .ft-container.cta-section-inner {
  padding-left: 0;
  padding-right: 0;
}

.ft-case-cta__lead {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  margin: 0 0 30px;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, calc(28 / 1400 * 100vw), 28px);
  font-weight: 700;
  line-height: calc(40 / 28);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-cta__lead-accent {
  color: #D7250C;
}

@media screen and (max-width: 767.98px) {
  .ft-case-cta__lead {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(32 / 22);
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Case panel — concern (吹き出し + リード + 状況カード)
   -------------------------------------------------------------------------- */

.ft-case-concern {
  padding: clamp(50px, 6vw, 100px) 0;
  padding-bottom: 0;
}

.ft-case-concern__inner.ft-container {
  padding-left: clamp(37.5px, 6vw, 96px);
  padding-right: clamp(37.5px, 6vw, 96px);
}

.ft-case-concern__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.5vw, 40px);
}

.ft-case-concern__lead-heading {
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(24px, calc(47 / 1400 * 100vw), 47px);
  font-weight: 700;
  line-height: calc(62 / 47);
  letter-spacing: 0.06em;
  color: #D7250C;
}

.ft-case-concern__lead {
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 500;
  line-height: calc(46 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-concern__question {
  margin: clamp(50px, 6vw, 100px) 0 clamp(20px, 2.5vw, 40px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(18px, calc(32 / 1400 * 100vw), 32px);
  font-weight: 700;
  line-height: calc(42 / 32);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-concern__cards {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  column-gap: 33px;
  row-gap: 30px;
  width: 87%;
}

@media screen and (max-width: 991.98px) {
  .ft-case-concern__cards {
    width: 100%;
  }
}

.ft-case-concern__card {
  background: #FFE6DC;
  border-radius: 6px;
  padding: clamp(18px, 2vw, 28px) clamp(10px, 1.4vw, 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  text-align: center;
}

.ft-case-concern__card-check {
  display: block;
  width: clamp(36px, 3.4vw, 48px);
  height: auto;
  flex: 0 0 auto;
  overflow: visible;
}

.ft-case-concern__card-text {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(20 / 1400 * 100vw), 20px);
  font-weight: 700;
  line-height: calc(30 / 20);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

/* メッセージブロック (heart bg image + 中央テキスト) */
.ft-case-concern__message {
  position: relative;
  margin: 100px 0 0;
  padding: 0;
  display: grid;
  grid-template-areas: "stack";
  justify-items: center;
  align-items: center;
}

.ft-case-concern__message-bg {
  grid-area: stack;
  display: block;
  width: min(95%, 725px);
  aspect-ratio: 725 / 529;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
  clip-path: inset(50px 0);
  margin-top: -50px;
  margin-bottom: -50px;
}

.ft-case-concern__message-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ft-case-concern__message-content {
  grid-area: stack;
  position: relative;
  z-index: 1;
  text-align: center;
}

.ft-case-concern__message-heading {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(18px, calc(28 / 1400 * 100vw), 28px);
  font-weight: 700;
  line-height: calc(50 / 28);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-concern__message-quote {
  color: #D7250C;
}

.ft-case-concern__message-body {
  margin: clamp(14px, 1.5vw, 22px) 0 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 500;
  line-height: calc(42 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   Case panel — Support 01 (見出し + 4 アイテム / 吹き出し pill + 画像)
   -------------------------------------------------------------------------- */

.ft-case-support {
  padding: 25px 0;
}

.ft-case-support__head {
  margin-bottom: clamp(30px, 4vw, 60px);
}

.ft-case-support__index {
  display: inline-block;
  padding: 6px 24px;
  border-radius: 999px;
  background: #FFE6DC;
  color: #D7250C;
  font-family: "Lato", "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin-bottom: clamp(16px, 2vw, 30px);
}

.ft-case-support__heading {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(24px, calc(42 / 1400 * 100vw), 42px);
  font-weight: 700;
  line-height: calc(62 / 42);
  letter-spacing: 0.04em;
  color: #D7250C;
}

.ft-case-support__lead {
  margin: clamp(30px, calc(42 / 1400 * 100vw), 42px) 0 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 700;
  line-height: calc(42 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-support__items {
  position: relative;
  z-index: 3;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.ft-case-support__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  text-align: center;
}

.ft-case-support__bubble {
  position: relative;
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #D7250C;
  color: #D7250C;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, calc(18 / 1400 * 100vw), 18px);
  font-weight: 700;
  line-height: calc(39 / 18);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ft-case-support__bubble::before,
.ft-case-support__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left-style: solid;
  border-right-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
}

.ft-case-support__bubble::before {
  top: 100%;
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 9px solid #D7250C;
}

.ft-case-support__bubble::after {
  top: calc(100% - 1px);
  border-left-width: 7px;
  border-right-width: 7px;
  border-top: 8px solid #fff;
}

.ft-case-support__item-heading {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(15px, calc(26 / 1400 * 100vw), 26px);
  font-weight: 700;
  line-height: calc(36 / 26);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-support__item-image {
  display: block;
  width: 100%;
  line-height: 0;
}

.ft-case-support__item-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ft-case-support--large: ヘッダーを 2 カラム (テキスト左 / 写真右) */
.ft-case-support--large .ft-case-support__head {
  position: relative;
  display: block;
}

.ft-case-support--large .ft-case-support__head-main {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
}

.ft-case-support--large .ft-case-support__head-photo {
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  width: 60%;
  z-index: 1;
}

.ft-case-support__head-photo {
  display: block;
  line-height: 0;
}

.ft-case-support__head-photo picture {
  display: block;
  width: 100%;
}

.ft-case-support__head-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ft-case-support__head--with-badges: 左テキスト + 右 4 円バッジ */
.ft-case-support__head--with-badges {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 2.5vw, 50px);
  align-items: center;
  margin-bottom: 60px;
}

.ft-case-support__risk-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 1199.98px) {
  .ft-case-support__risk-badges {
    max-width: calc(2 * 142px + 20px);
    margin-left: auto;
    margin-right: auto;
  }
}

.ft-case-support__risk-badge {
  width: clamp(90px, calc(142 / 1400 * 100vw), 142px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px solid #FFE6DC;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, calc(20 / 1400 * 100vw), 20px);
  font-weight: 500;
  line-height: calc(42 / 20);
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   Case panel — pricing (Support 03 / 左テキスト + 右チャート画像 + 価格表)
   -------------------------------------------------------------------------- */

.ft-case-pricing {
  padding: clamp(40px, 5vw, 90px) 0 clamp(50px, 6vw, 100px);
}

.ft-case-pricing__title {
  margin: 0 0 clamp(30px, 4vw, 60px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-case-pricing__title-mark {
  display: inline-block;
  padding: 4px 16px;
  background-color: #FFD8C5;
  color: #D7250C;
  font-weight: 900;
  font-style: normal;
  text-decoration: none;
}

.ft-case-pricing__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}

.ft-case-pricing__left {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 28px);
  min-width: 0;
  min-height: clamp(400px, calc(583 / 1400 * 100vw), 583px);
}

.ft-case-pricing__index {
  align-self: flex-start;
  display: inline-block;
  padding: 6px 24px;
  border-radius: 999px;
  background: #FFE6DC;
  color: #D7250C;
  font-family: "Lato", "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.ft-case-pricing__heading {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(24px, calc(42 / 1400 * 100vw), 42px);
  font-weight: 700;
  line-height: calc(62 / 42);
  letter-spacing: 0.04em;
  color: #D7250C;
}

.ft-case-pricing__body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 700;
  line-height: calc(42 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-pricing__right {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  min-width: 0;
}

.ft-case-pricing__chart-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: clamp(8px, 1vw, 16px);
  margin-bottom: clamp(10px, 1vw, 16px);
}

.ft-case-pricing__chart-title {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-case-pricing__chart-subtitle {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 500;
  line-height: 1.4;
  color: #555;
}

.ft-case-pricing__chart picture,
.ft-case-pricing__chart img {
  display: block;
  width: 100%;
  height: auto;
}

.ft-case-pricing__table-image {
  display: block;
  width: 100%;
  line-height: 0;
}

.ft-case-pricing__table-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ft-case-pricing__table-title {
  margin: 0 0 clamp(10px, 1vw, 16px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-case-pricing__table {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 12px);
}

.ft-case-pricing__row {
  display: grid;
  grid-template-columns: clamp(90px, 14vw, 140px) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #FFE6DC;
}

.ft-case-pricing__row-label {
  background: #FFE6DC;
  padding: clamp(10px, 1.2vw, 18px) clamp(8px, 1vw, 14px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  line-height: 1.45;
  color: #1d1d1d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ft-case-pricing__row-label small {
  font-size: 0.85em;
  font-weight: 500;
}

.ft-case-pricing__row-value {
  padding: clamp(10px, 1.2vw, 18px) clamp(12px, 1.4vw, 22px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(6px, 1vw, 16px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  color: #1d1d1d;
}

.ft-case-pricing__before {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
}

.ft-case-pricing__before small {
  font-size: 0.7em;
  font-weight: 500;
  margin-left: 2px;
}

.ft-case-pricing__arrow {
  color: #D7250C;
  font-size: clamp(12px, 1vw, 14px);
  flex-shrink: 0;
}

.ft-case-pricing__after {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  color: #1d1d1d;
}

.ft-case-pricing__after small {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
}

/* --------------------------------------------------------------------------
   Case panel — Support 04 (左テキスト + 右画像、右端ブリード、画像重ね、白丸チェック)
   -------------------------------------------------------------------------- */

.ft-case-support04 {
  padding: clamp(60px, calc(120 / 1400 * 100vw), 120px) 0;
  overflow: hidden;
}

.ft-case-support04__inner {
  display: grid;
  grid-template-columns: min(50%, 594px) minmax(0, 1fr);
  grid-template-areas:
    "text visual"
    "checklist visual";
  align-items: start;
  column-gap: clamp(24px, 3vw, 50px);
  row-gap: 0;
}

.ft-case-support04__text { grid-area: text; max-width: 594px; }
.ft-case-support04__visual { grid-area: visual; align-self: center; }
.ft-case-support04__checklist { grid-area: checklist; max-width: 594px; }

.ft-case-support04__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 24px);
  min-width: 0;
}

.ft-case-support04__heading {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(24px, calc(42 / 1400 * 100vw), 42px);
  font-weight: 700;
  line-height: calc(62 / 42);
  letter-spacing: 0.04em;
  color: #D7250C;
}

.ft-case-support04__lead {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 700;
  line-height: calc(42 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-support04__body {
  margin: 0 0 94px;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(12px, calc(16 / 1400 * 100vw), 16px);
  font-weight: 500;
  line-height: calc(30 / 16);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-support04__checklist {
  list-style: none;
  margin: clamp(8px, 1vw, 16px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
}

.ft-case-support04__check-item {
  background: #FFE6DC;
  border-radius: 4px;
  padding: clamp(12px, 1.4vw, 18px) clamp(14px, 1.5vw, 22px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
}

.ft-case-support04__check {
  flex: 0 0 auto;
  display: block;
  width: clamp(38px, 3.6vw, 50px);
  height: auto;
  overflow: visible;
}

.ft-case-support04__check-item p {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 700;
  line-height: calc(34 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-support04__visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 1035 / 860;
  margin-right: -13.5417vw;
}

.ft-case-support04__visual-main {
  display: block;
  width: 100%;
  aspect-ratio: 1015 / 628;
  line-height: 0;
}

.ft-case-support04__visual-main img {
  width: 100%;
  height: auto;
  display: block;
}

.ft-case-support04__visual-overlay {
  position: absolute;
  left: -6%;
  bottom: -8%;
  width: 100%;
  z-index: 1;
  line-height: 0;
}

.ft-case-support04__visual-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Case panel — Support 02 (テキスト上 / 画像下のカード 6 枚)
   -------------------------------------------------------------------------- */

.ft-case-support02__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, calc(56 / 1400 * 100vw), 28px);
  row-gap: clamp(20px, calc(56 / 1400 * 100vw), 28px);
}

/* subgrid で同一行内のテキスト部の高さを揃える */
.ft-case-support02__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 0;
  width: 100%;
}

.ft-case-support02__text {
  background: #FFE6DC;
  padding: clamp(20px, 2.4vw, 36px) clamp(16px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 16px);
  text-align: center;
}

.ft-case-support02__title {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(15px, calc(23 / 1400 * 100vw), 23px);
  font-weight: 700;
  line-height: calc(39 / 23);
  letter-spacing: 0.1em;
  color: #1d1d1d;
}

.ft-case-support02__body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, calc(18 / 1400 * 100vw), 18px);
  font-weight: 500;
  line-height: calc(30 / 20);
  letter-spacing: 0.06em;
  color: #1d1d1d;
  text-align: left;
}

.ft-case-support02__media {
  position: relative;
  background: #E0DBD4;
  aspect-ratio: 420 / 260;
  overflow: hidden;
}

.ft-case-support02__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ft-case-support02__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.ft-case-support02__note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(8px, 1vw, 16px);
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  line-height: 1.4;
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   Case panel — closing message (bg image + 中央テキスト)
   -------------------------------------------------------------------------- */

.ft-case-closing-message {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 140px) 0;
}

.ft-case-closing-message__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  display: block;
  line-height: 0;
}

.ft-case-closing-message__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ft-case-closing-message__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ft-case-closing-message__heading {
  margin: 0 0 clamp(30px, 4vw, 60px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: #1d1d1d;
}

.ft-case-closing-message__heading-line {
  display: block;
}

.ft-case-closing-message__body {
  margin: 0 0 clamp(24px, 2.5vw, 40px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: #1d1d1d;
}

.ft-case-closing-message__body:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Case panel — loop (左テキスト + 右画像)
   -------------------------------------------------------------------------- */

.ft-case-loop {
  padding: clamp(40px, 5vw, 100px) 0;
}

.ft-case-loop__inner {
  display: grid;
  grid-template-columns: min(55%, 770px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: min(1400px, calc(100vw - 80px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  justify-self: center;
}

.ft-case-loop__text {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 36px);
  min-width: 0;
  width: min(100%, 770px);
}

.ft-case-loop__heading {
  margin: 0;
  text-align: left;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, calc(36 / 1400 * 100vw), 36px);
  font-weight: 700;
  line-height: calc(63 / 36);
  letter-spacing: 0;
  color: #1d1d1d;
}

.ft-case-loop__heading-accent {
  color: #D7250C;
}

.ft-case-loop__body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 500;
  line-height: calc(46 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-loop__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.ft-case-loop__visual picture {
  display: block;
  width: 100%;
}

.ft-case-loop__visual-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Case panel — worries (背景画像 + 2 カラムお悩みリスト)
   -------------------------------------------------------------------------- */

.ft-case-worries {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 6vw, 100px) 0;
}

.ft-case-worries__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  line-height: 0;
}

.ft-case-worries__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ft-case-worries__inner {
  position: relative;
  z-index: 1;
  width: min(1268px, calc(100vw - 80px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 767.98px) {
  .ft-case-worries__inner {
    width: calc(100vw - 46px);
    padding-left: 0;
    padding-right: 0;
  }
}

.ft-case-worries__title {
  margin: 0 0 clamp(30px, 4vw, 60px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, 3vw, 47px);
  font-weight: 700;
  line-height: calc(62 / 47);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-worries__title-mark {
  display: inline-block;
  padding: 4px 16px;
  background-color: #FFD8C5;
  color: #D7250C;
  font-weight: 900;
  font-style: normal;
  text-decoration: none;
}

.ft-case-worries__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, calc(80 / 1400 * 100vw), 80px);
}

.ft-case-worries__column-title {
  margin: 0 0 clamp(12px, 1.5vw, 20px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 700;
  line-height: calc(42 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-worries__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 14px);
}

.ft-case-worries__item {
  background: #FFE6DC;
  border-radius: 4px;
  padding: clamp(12px, 1.4vw, 20px) clamp(14px, 1.6vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
}

.ft-case-worries__item-check {
  display: block;
  flex: 0 0 auto;
  width: clamp(28px, 2.4vw, 36px);
  height: auto;
  margin-top: 0.05em;
  overflow: visible;
}

.ft-case-worries__item p {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(24 / 1400 * 100vw), 24px);
  font-weight: 700;
  line-height: calc(34 / 24);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   Case panel — result (heart bg + 見出し + 3 円バッジ)
   -------------------------------------------------------------------------- */

.ft-case-result {
  position: relative;
  padding: clamp(50px, 6vw, 110px) 0;
}

.ft-case-result__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  aspect-ratio: 1100 / 580;
  z-index: 0;
  pointer-events: none;
  line-height: 0;
}

.ft-case-result__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ft-case-result__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ft-case-result__heading {
  margin: 0 0 40px;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(24px, calc(47 / 1400 * 100vw), 47px);
  font-weight: 700;
  line-height: calc(62 / 47);
  letter-spacing: 0.06em;
  color: #1d1d1d;
}

.ft-case-result__heading-mark {
  display: inline-block;
  padding: 4px 14px;
  background-color: #FFE6DC;
  color: #D7250C;
  font-weight: 900;
  font-style: normal;
  text-decoration: none;
}

.ft-case-result__circles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 1.8vw, 30px);
}

.ft-case-result__circle {
  width: clamp(130px, calc(190 / 1400 * 100vw), 190px);
  height: clamp(130px, calc(190 / 1400 * 100vw), 190px);
  border-radius: 50%;
  border: 2px solid #F4C5AD;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, calc(26 / 1400 * 100vw), 26px);
  font-weight: 500;
  line-height: calc(36 / 26);
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   CTA section — cta-section 共通デザイン + Zoom バリアント
   -------------------------------------------------------------------------- */

.for-teachers-page {
  position: relative;
}

/* 1679.98px 以下でヘッダーの cta-block を非表示
   （MV 直下に同等の CTA セクションがあるため重複回避）
   - site-header は max-width:1500px で右寄せされるため、for-teachers では左寄せに変更
   - cta-block 非表示後の header-inner は左寄せ維持（中央↔左の切り替え抑制） */
@media screen and (max-width: 1679.98px) {
  body.page-for-teachers:not(.page-for-teachers-case) .site-header .cta-block {
    display: none;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .site-header {
    left: 0;
    right: auto;
    margin-left: 0;
    margin-right: auto;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .header-inner {
    justify-content: flex-start;
    gap: clamp(16px, 2vw, 40px);
    padding-left: 64px;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .header-menu {
    flex: 0 0 auto;
  }
}

/* 1072.98px 以下では header-inner を中央寄せ・左パディング解除 */
@media screen and (max-width: 1072.98px) {
  body.page-for-teachers:not(.page-for-teachers-case) .header-inner {
    justify-content: center;
    padding-left: 0;
  }
}

/* 768〜1073px の中間幅では header-menu が absolute 配置になり
   ロゴと重なってしまうので、flex フローに戻して中央寄せを維持 */
@media screen and (min-width: 768px) and (max-width: 1073px) {
  body.page-for-teachers:not(.page-for-teachers-case) .site-header {
    height: auto;
    min-height: 0;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .header-inner {
    align-items: center;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .logo {
    margin-top: 0;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .header-menu {
    position: static;
    top: auto;
    left: auto;
  }
}

/* 1074〜1500px ではフルロゴ維持（cta-block を消したスペースを活用）
   1073px 以下では共通の切り替え（シンボルロゴ）に戻す */
@media screen and (min-width: 1074px) and (max-width: 1500px) {
  body.page-for-teachers:not(.page-for-teachers-case) .logo-full {
    display: flex;
  }
  body.page-for-teachers:not(.page-for-teachers-case) .logo-symbol {
    display: none;
  }
}


.for-teachers-page .section {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media screen and (max-width: 767.98px) {
  .for-teachers-page .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.for-teachers-page .ft-cta {
  position: relative;
  z-index: 3;
  margin-top: -15vw;
  padding: 20px 0 40px;
}

.ft-cta__lead {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-case-panel--large .ft-cta__lead {
  font-size: clamp(22px, calc(28 / 1400 * 100vw), 28px);
  line-height: calc(40 / 28);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  width: max-content;
  max-width: calc(100vw - 58px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* お見積もりカード: accent サイズ/色を --contact と揃える + 赤
   .cta-section .contact-card--contact .contact-main と同じ media query スコープで揃える */
.cta-section .contact-main-accent--estimate {
  font-size: 28px;
  color: #D7250C;
}

@media screen and (max-width: 1679.98px) {
  .cta-section .contact-card--estimate .contact-main {
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .cta-section .contact-card--estimate .contact-main br {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1073px) {
  .cta-section .contact-card--estimate .contact-main {
    font-size: clamp(18px, 3vw, 28px);
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .cta-section .contact-card--estimate .contact-main br {
    display: none;
  }
}

@media screen and (max-width: 767.98px) {
  .cta-section .contact-card--estimate .contact-main {
    --design-font-size: 20;
    --design-line-height: 26;
    --design-tracking: 60;
    font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
    font-size: clamp(16px, calc(20 / 375 * 100vw), 20px);
    line-height: calc(var(--design-line-height) / var(--design-font-size));
    font-weight: 900;
    letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
    white-space: normal;
  }
  .cta-section .contact-card--estimate .contact-main br {
    display: inline;
  }
}

.ft-cta__lead-accent {
  color: #D7250C;
}

.cta-section .contact-card--zoom {
  --contact-pill-color: #2D5FF8;
}

.cta-section .contact-card--zoom:hover,
.cta-section .contact-card--zoom:focus-visible {
  box-shadow: 0 14px 28px rgba(45, 95, 248, 0.22);
}

.cta-section .contact-card--zoom:active {
  box-shadow: 0 4px 10px rgba(45, 95, 248, 0.22);
}

.cta-section .contact-main-accent--zoom {
  color: #2D5FF8;
}

@media screen and (min-width: 768px) {
  .cta-section .contact-main-accent--zoom {
    font-size: 28px;
  }
}

/* zoom カードの .contact-main を contact/line カードと揃える
   common.css の 991.98px / 767.98px ブロックには zoom 専用上書きがなく、
   そのままだと .contact-main の 33px が残ってしまうため for-teachers 側で補う */
@media screen and (max-width: 991.98px) {
  .cta-section .contact-card--zoom .contact-main {
    font-size: clamp(18px, 3vw, 28px);
    line-height: 1.25;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .cta-section .contact-card--zoom .contact-main br {
    display: none;
  }
}

@media screen and (max-width: 767.98px) {
  .cta-section .contact-card--zoom .contact-main {
    --design-font-size: 20;
    --design-line-height: 26;
    --design-tracking: 60;
    font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
    font-size: clamp(16px, calc(20 / 375 * 100vw), 20px);
    line-height: calc(var(--design-line-height) / var(--design-font-size));
    font-weight: 900;
    letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
    white-space: normal;
  }
  .cta-section .contact-card--zoom .contact-main br {
    display: inline;
  }
}

.contact-card--zoom::after {
  border-color: transparent transparent #2D5FF8 transparent;
}

/* sample-image 上に重ねるテキスト（for-teachers エリアの cta-section で使用） */
.for-teachers-page .sample-image,
.for-teachers-case-page .sample-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 0.6vw, 12px);
  max-width: 401px;
}

.sample-image__overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 0.8vw, 14px);
}

.sample-image__overlay-slash {
  flex: 0 0 auto;
  width: clamp(22px, 2.4vw, 36px);
  height: clamp(22px, 2.4vw, 36px);
}

.sample-image__overlay-text {
  --design-font-size: 26;
  --design-line-height: 35;
  --design-tracking: 60;
  display: block;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.5vw, calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
  text-align: center;
}

/* for-teachers エリアの cta-section--featured 上下余白
   - ft-voice__testimonial の画像内に余白があるため margin-top は不要 */
.for-teachers-page .cta-section--featured,
.for-teachers-case-page .cta-section--featured {
  padding-top: 70px;
  padding-bottom: 88px;
  overflow: hidden;
}

/* sample-image を desktop (>=992px) で absolute 配置に統一
   top は contact-lead 高さに依存しない固定 px で配置し、p が wrap しても画像が動かないようにする */
@media screen and (min-width: 992px) {
  .for-teachers-page .cta-section--featured .contact-lead .sample-image,
  .for-teachers-case-page .cta-section--featured .contact-lead .sample-image {
    position: absolute;
    top: -55px;
    right: 0;
    bottom: auto;
    width: var(--featured-sample-width, 370px);
    grid-area: auto;
    align-self: auto;
  }
}

/* ≤991.98px ではテキストと縦並びにする + p ブロック中央寄せ */
/* for-teachers-page では inner .container に .ft-container が付いているため、
   .section の左右 padding を 0 化して二重 padding を回避
   (common.css の .section.cta-section.cta-section--featured @SP より specificity を高める) */
.for-teachers-page .section.cta-section.cta-section--featured {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 767.98px) {
  .for-teachers-page .section.cta-section.cta-section--featured {
    padding-left: 17.5px;
    padding-right: 17.5px;
    padding-top: 34px;
  }
}

/* for-teachers / for-teachers-case の cta-section--featured 第1段落のピンク背景・角丸を全 viewport で解除 */
.for-teachers-page .cta-section--featured .contact-lead > p:first-of-type,
.for-teachers-case-page .cta-section--featured .contact-lead > p:first-of-type {
  background: transparent;
  border-radius: 0;
}

/* for-teachers / for-teachers-case ページの cta-section--featured 専用オーバーライド
   - 第1段落のピンク背景・角丸を解除
   - 各 p をサイズ・太さ統一（1行ずつ p で、改行なし）
   - 768px 以上で適用（SP は @<=767.98 で別途上書き） */
@media screen and (min-width: 768px) {
  .for-teachers-page .cta-section--featured .cta-section-inner,
  .for-teachers-case-page .cta-section--featured .cta-section-inner {
    row-gap: 80px;
  }

  .for-teachers-page .cta-section--featured .cta-section-inner > .contact-lead,
  .for-teachers-case-page .cta-section--featured .cta-section-inner > .contact-lead {
    --featured-sample-width: clamp(200px, 20vw, 340px);
    row-gap: 0;
  }

  .for-teachers-page .cta-section--featured .contact-lead > p,
  .for-teachers-case-page .cta-section--featured .contact-lead > p {
    --design-font-size: 26;
    --design-line-height: 46;
    --design-tracking: 30;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 var(--featured-sample-width, 370px) 0 35px;
    font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
    font-size: clamp(22px, 2.4vw, calc(var(--design-font-size) * 1px));
    line-height: clamp(32px, 3.6vw, calc(var(--design-line-height) * 1px));
    font-weight: 700;
    letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
    color: #1d1d1d;
  }
}

/* ≤991.98px ではテキストと縦並び + p ブロック中央寄せ (@>=768 のスタイルを後勝ちで上書き) */
@media screen and (max-width: 991.98px) {
  .for-teachers-page .cta-section--featured .cta-section-inner > .contact-lead,
  .for-teachers-case-page .cta-section--featured .cta-section-inner > .contact-lead {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "p1" "p2" "img";
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

  .for-teachers-page .cta-section--featured .contact-lead .sample-image,
  .for-teachers-case-page .cta-section--featured .contact-lead .sample-image {
    grid-area: img;
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    justify-self: center;
    width: 47vw;
    max-width: 370px;
    margin-top: 20px;
  }

  .for-teachers-page .cta-section--featured .contact-lead > p,
  .for-teachers-case-page .cta-section--featured .contact-lead > p {
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
}

/* >=1680px では sample-image が position: absolute（共通CSSベース）に戻るため、
   p と画像が重ならないよう padding-right で領域を予約 */
@media screen and (min-width: 1680px) {
  .for-teachers-page .cta-section--featured .contact-lead > p,
  .for-teachers-case-page .cta-section--featured .contact-lead > p {
    padding-right: calc(var(--featured-sample-width, 370px) + 35px);
  }
}

/* SP では両 p を 22 Bold / line 32 / tracking 0.02em に統一し、
   p:first のピンク背景・角丸を解除 */
@media screen and (max-width: 767.98px) {
  .for-teachers-page .cta-section--featured .contact-lead > p:first-of-type,
  .for-teachers-case-page .cta-section--featured .contact-lead > p:first-of-type {
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-weight: 700;
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
  }

  .for-teachers-page .cta-section--featured .contact-lead > p:first-of-type br,
  .for-teachers-case-page .cta-section--featured .contact-lead > p:first-of-type br {
    display: inline;
  }

  .for-teachers-page .cta-section--featured .contact-lead > p:nth-of-type(2),
  .for-teachers-case-page .cta-section--featured .contact-lead > p:nth-of-type(2) {
    font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(32 / 22);
    font-weight: 700;
    letter-spacing: 0.02em;
  }
}

/* --------------------------------------------------------------------------
   Support intro section
   -------------------------------------------------------------------------- */

.ft-support-intro {
  padding: 100px 0;
}

.ft-support-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 1fr);
  gap: 50px;
  align-items: stretch;
}

.ft-support-intro__text {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 28px);
  justify-content: center;
}

.ft-support-intro__badge {
  --design-font-size: 20;
  --design-line-height: 30;
  --design-tracking: 60;
  align-self: flex-start;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: #D7250C;
  color: #fff;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.3vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
}

.ft-support-intro__heading {
  --design-font-size: 36;
  --design-line-height: 63;
  --design-tracking: 0;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(20px, 2.4vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  white-space: nowrap;
  color: #1d1d1d;
}

.ft-support-intro__heading-accent {
  color: #D7250C;
}

.ft-support-intro__body {
  --design-font-size: 24;
  --design-line-height: 46;
  --design-tracking: 60;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  /* SP boundary 14px@768 → desktop 24px@1500 を linear に補間 (SP rule の 14px と接続) */
  font-size: clamp(14px, calc(1.366vw + 3.5px), calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

.ft-support-intro__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 664 / 636;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.ft-support-intro__visual picture {
  display: block;
  width: 100%;
  aspect-ratio: 664 / 636;
}

.ft-support-intro__visual-image {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

/* --------------------------------------------------------------------------
   Handwork section (background image + overlay text/checklist)
   -------------------------------------------------------------------------- */

.ft-handwork {
  position: relative;
  overflow: hidden;
}

.ft-handwork__visual {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 758;
  line-height: 0;
}

/* 中間幅では section が短すぎてオーバーレイ内容（4 チェックリスト含む）が収まらない
   ため、aspect-ratio を縦長寄りに切替 */
@media screen and (max-width: 1919.98px) {
  .ft-handwork__visual {
    aspect-ratio: 1920 / 1200;
  }
}

.ft-handwork__visual-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ft-handwork__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 5vw, 90px) clamp(20px, 4vw, 60px);
  gap: clamp(14px, 1.8vw, 26px);
}

.ft-handwork__title {
  --design-font-size: 47;
  --design-line-height: 62;
  --design-tracking: 60;
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, 3vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

.ft-handwork__marker {
  display: inline-block;
  padding: 4px 16px;
  background-color: #FFE6DC;
  color: #D7250C;
  font-weight: 900;
  font-style: normal;
  text-decoration: none;
}

.ft-handwork__lead {
  --design-font-size: 24;
  --design-line-height: 42;
  --design-tracking: 60;
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.5vw, calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 0em);
  color: #1d1d1d;
}

.ft-handwork__checklist {
  list-style: none;
  margin: clamp(20px, 2.4vw, 40px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1vw, 18px);
  align-self: flex-start;
  margin-left: clamp(20px, 14vw, 220px);
}

.ft-handwork__check {
  list-style: none;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: clamp(10px, 1.2vw, 16px) clamp(18px, 2.4vw, 30px);
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  width: auto;
}

.ft-handwork__check-icon {
  flex: 0 0 auto;
  width: clamp(28px, 2.6vw, 38px);
  height: auto;
  display: block;
  overflow: visible;
}

.ft-handwork__check-text {
  --design-font-size: 28;
  --design-line-height: 37;
  --design-tracking: 60;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.6vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   Cases section (badge + title + underline + 2 cards)
   -------------------------------------------------------------------------- */

.ft-cases {
  padding: 100px 0;
}

.ft-cases__inner {
  /* max-width removed - ft-container's L/R padding provides side spacing */
}

.ft-cases__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(30px, 3.5vw, 50px);
}

.ft-cases__head .ft-cases__title {
  margin-top: clamp(20px, 2.5vw, 40px);
}

.ft-cases__head .ft-title-underline {
  margin-top: 20px;
}

.ft-cases__badge {
  --design-font-size: 20;
  --design-line-height: 30;
  --design-tracking: 60;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: #D7250C;
  color: #fff;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.3vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
}

.ft-title-underline > img,
.ft-title-underline picture img {
  width: 100%;
  height: auto;
  display: block;
}

.ft-cases__title {
  --design-font-size: 36;
  --design-line-height: 52;
  --design-tracking: 60;
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, 2.4vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

.ft-cases__title-accent {
  color: #D7250C;
}

.ft-title-underline {
  width: 27%;
  max-width: 466px;
  height: 47px;
  line-height: 0;
}

.ft-cases__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.ft-cases__card {
  display: block;
  width: 100%;
  max-width: 690px;
  aspect-ratio: 690 / 512;
  line-height: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ft-cases__card:hover,
.ft-cases__card:focus-visible {
  transform: translateY(-3px);
}

.ft-cases__card img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Voice section (intro text + 2 survey images + closing text)
   -------------------------------------------------------------------------- */

.ft-voice {
  padding: 100px 0;
}

.ft-voice__inner {
  /* max-width removed - ft-container's L/R padding provides side spacing */
}

.ft-voice__intro {
  margin-bottom: clamp(40px, 5vw, 80px);
}

.ft-voice__badge {
  --design-font-size: 20;
  --design-line-height: 30;
  --design-tracking: 60;
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: #D7250C;
  color: #fff;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.3vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.ft-voice__intro-body {
  display: grid;
  grid-template-columns: minmax(0, 740fr) minmax(0, 652fr);
  gap: clamp(8px, 1vw, 20px);
  align-items: start;
}

.ft-voice__heading {
  --design-font-size: 42;
  --design-line-height: 62;
  --design-tracking: 40;
  margin: 0;
  max-width: 740px;
  font-family: "YuGothic", "Yu Gothic", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(22px, 2.8vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #D7250C;
}

.ft-voice__intro-text {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 16px);
  max-width: 652px;
}

.ft-voice__intro-text p {
  --design-font-size: 24;
  --design-line-height: 42;
  --design-tracking: 60;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.5vw, calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

/* アンケート結果ブロック */
.ft-voice__survey-result {
  margin-top: clamp(40px, 5vw, 80px);
}

.ft-voice__highlight {
  --design-font-size: 33;
  --design-line-height: 58;
  --design-tracking: 60;
  margin: 0 0 clamp(24px, 3vw, 40px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(18px, 2.2vw, calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

.ft-voice__highlight-stat {
  --design-font-size: 55;
  --design-line-height: 58;
  --design-tracking: 60;
  font-size: clamp(28px, 3.6vw, calc(var(--design-font-size) * 1px));
  font-weight: 900;
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #D7250C;
}

.ft-voice__highlight-slash {
  display: inline-block;
  vertical-align: middle;
  width: clamp(22px, 2.4vw, 36px);
  height: clamp(22px, 2.4vw, 36px);
  margin: 0 clamp(6px, 0.8vw, 14px);
}

.ft-voice__charts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 60px);
  margin-bottom: clamp(30px, 4vw, 60px);
}

.ft-voice__chart {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 18px);
}

.ft-voice__chart-q {
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 12px);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-voice__chart-q-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(20px, 1.8vw, 24px);
  height: clamp(20px, 1.8vw, 24px);
  border: 1px solid #D7250C;
  border-radius: 50%;
  background: #fff;
  color: #D7250C;
  font-family: "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1;
  font-style: italic;
}

.ft-voice__chart-image {
  width: 100%;
  height: auto;
  display: block;
}

.ft-voice__remaining {
  margin: 0 0 clamp(16px, 2vw, 28px);
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #1d1d1d;
}

.ft-voice__bubbles {
  list-style: none;
  margin: 0 auto clamp(28px, 3.5vw, 56px);
  padding: 0;
  max-width: 1399px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

.ft-voice__bubble {
  margin: 0;
  line-height: 0;
  aspect-ratio: 450 / 206;
}

.ft-voice__bubble picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ft-voice__bubble img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ft-voice__summary {
  --design-font-size: 24;
  --design-line-height: 42;
  --design-tracking: 60;
  margin: 0;
  text-align: center;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(14px, 1.5vw, calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

/* 人物画像 + 吹き出し（中身はテキストで重ねる） */
.ft-voice__testimonial {
  position: relative;
  margin: clamp(30px, 4vw, 60px) auto 0;
  max-width: 972px;
}

.ft-voice__testimonial-bg {
  display: block;
  width: 100%;
  line-height: 0;
}

.ft-voice__testimonial-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.ft-voice__testimonial-text {
  --design-font-size: 22;
  --design-line-height: 41;
  --design-tracking: 40;
  position: absolute;
  top: 41%;
  right: 11%;
  width: calc(572 / 972 * 100%);
  aspect-ratio: 572 / 155;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(12px, 1.4vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Closing section (background color + text only)
   -------------------------------------------------------------------------- */

.for-teachers-page .ft-closing,
.for-teachers-case-page .ft-closing {
  position: relative;
  overflow: hidden;
  height: 731px;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-closing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  line-height: 0;
}

.ft-closing__bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.ft-closing__inner {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 60px 80px;
}

.ft-closing__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 40px;
  filter: blur(18px);
  z-index: -1;
}

.ft-closing__inner > * {
  position: relative;
  z-index: 1;
}

.ft-closing__heading {
  --design-font-size: 46;
  --design-line-height: 74;
  --design-tracking: 0;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(22px, 3vw, calc(var(--design-font-size) * 1px));
  font-weight: 700;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

.ft-closing__heading-accent {
  color: #D7250C;
}

.ft-closing__body {
  --design-font-size: 20;
  --design-line-height: 36;
  --design-tracking: 60;
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
  font-size: clamp(16px, 1.3vw, calc(var(--design-font-size) * 1px));
  font-weight: 500;
  line-height: calc(var(--design-line-height) / var(--design-font-size));
  letter-spacing: calc(var(--design-tracking) / 1000 * 1em);
  color: #1d1d1d;
}

/* --------------------------------------------------------------------------
   Responsive (mobile ≤767.98px / 375px 基準)
   -------------------------------------------------------------------------- */

@media screen and (max-width: 1199.98px) {
  .for-teachers-page .ft-cta {
    padding-top: 56px;
  }
}

@media screen and (max-width: 991.98px) {
  .for-teachers-page .ft-cta {
    margin-top: -4vw;
  }
  .ft-badge {
    width: clamp(118px, 15vw, 139px);
  }
}

@media screen and (max-width: 1073px) {
  body.page-for-teachers-case .ft-case-hero__subcopy {
    margin-bottom: 33px;
  }
}

/* 768〜1073px の中間幅では正方形バッジを横長の細い形に切り替え、
   英語サブテキストを非表示にする。ヘッダー右側の cta-block と重ならないよう
   absolute 配置でコピーの幅を奪わず、サブコピー直下に配置する */
@media screen and (min-width: 768px) and (max-width: 1073px) {
  body.page-for-teachers-case .ft-case-hero__inner {
    position: relative;
  }
  body.page-for-teachers-case .ft-case-hero__inner .ft-badge {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 20%;
    left: 41%;
    width: auto;
    aspect-ratio: auto;
    flex-direction: row;
    padding: 8px;
    margin: 0;
  }
  body.page-for-teachers-case .ft-case-hero__inner .ft-badge__sub {
    display: none;
  }
}

@media screen and (max-width: 767.98px) {

  body.page-for-teachers .header-inner {
    padding-left: 32px;
  }

  .ft-badge {
    display: none;
  }

  body.page-for-teachers-case .ft-case-hero__inner {
    position: relative;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  body.page-for-teachers-case .ft-case-hero__inner .ft-badge {
    display: flex;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 109px;
    height: 109px;
    min-width: 0;
    align-self: auto;
    margin: 0;
    padding: 12px;
    box-sizing: border-box;
  }

  body.page-for-teachers-case .ft-case-hero__inner .ft-badge__title {
    padding: 0;
    white-space: nowrap;
    font-family: "Yu Gothic", YuGothic, "Zen Kaku Gothic New", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: calc(14 / 12);
    letter-spacing: 0.1em;
  }

  body.page-for-teachers-case .ft-case-hero__inner .ft-badge__sub {
    font-family: "Lato", "Zen Kaku Gothic New", "Yu Gothic", YuGothic, sans-serif;
    font-size: 8px;
    font-weight: 400;
    line-height: calc(12 / 8);
    letter-spacing: 0.1em;
  }

  body.page-for-teachers-case .ft-case-hero__inner .ft-badge__sub {
    display: block;
  }

  .for-teachers-page .ft-cta {
    margin-top: -18vw;
    padding-top: 0;
  }
}

@media screen and (max-width: 374.98px) {
  body.page-for-teachers-case .ft-case-hero__inner .ft-badge {
    width: 85px;
    height: 85px;
  }

  body.page-for-teachers-case .ft-case-hero__inner .ft-badge__title {
    font-size: 9px;
  }
}

@media screen and (max-width: 767.98px) {
  .ft-handwork__visual {
    aspect-ratio: 375 / 649;
  }

  .ft-hero__overlay {
    top: clamp(100px, 26vw, 140px);
    gap: clamp(8px, 2vw, 16px);
    margin-top: 0;
    padding-top: 0;
  }

  .ft-hero__copy {
    gap: calc(14 / 375 * 100vw);
  }

  .ft-hero__title-row {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 45px);
  }

  .ft-hero__title-row--bottom {
    margin-top: calc(8 / 375 * 100vw);
  }

  .ft-hero__marker {
    padding: calc(3 / 375 * 100vw) calc(6 / 375 * 100vw);
    margin-right: calc(6 / 375 * 100vw);
    white-space: nowrap;
  }

  .ft-hero__subcopy {
    font-size: clamp(10px, calc(12 / 375 * 100vw), 25px);
    line-height: calc(17 / 12);
  }

  .ft-cta__lead {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(32 / 22);
    text-align: left;
    margin-bottom: 30px;
  }

  .ft-case-panel--large .ft-cta__lead {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: static;
    left: auto;
    transform: none;
    text-align: left;
  }

  .ft-case-panel--large .ft-cta .cta-section-inner > .contact-cards {
    width: min(100%, 500px);
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    justify-content: center;
  }

  .cta-section .contact-card {
    width: min(100%, 628px);
    min-width: 0;
  }

  .ft-support-intro__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .ft-support-intro__visual picture {
    aspect-ratio: 636 / 663;
    margin-left: auto;
    margin-right: auto;
  }

  .ft-support-intro__badge {
    font-size: clamp(16px, calc(16 / 375 * 100vw), 16px);
    line-height: calc(24 / 16);
  }

  .ft-support-intro__heading {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(38 / 22);
    letter-spacing: -2px;
  }

  .ft-support-intro__body {
    font-size: clamp(16px, calc(14 / 375 * 100vw), 14px);
    line-height: calc(24 / 14);
  }

  .ft-handwork__overlay {
    padding: calc(30 / 375 * 100vw) calc(20 / 375 * 100vw);
    gap: calc(12 / 375 * 100vw);
    top: 13%;
  }

  .ft-handwork__title {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 45px);
    line-height: calc(29 / 22);
  }

  .ft-handwork__title-row {
    display: block;
  }

  .ft-handwork__title-row--top {
    text-align: left;
  }

  .ft-handwork__title-row--bottom {
    text-align: right;
  }

  .ft-handwork__marker {
    padding: 3px 10px;
  }

  .ft-handwork__lead {
    font-size: clamp(12px, calc(14 / 375 * 100vw), 29px);
    line-height: calc(24 / 14);
  }

  .ft-handwork__checklist {
    margin-top: calc(16 / 375 * 100vw);
    margin-left: calc(20 / 375 * 100vw);
    gap: calc(8 / 375 * 100vw);
  }

  .ft-handwork__check {
    padding: 14px calc(30 / 375 * 100vw) 10px calc(14 / 375 * 100vw);
    border: 1px solid #F4C5AD;
  }

  .ft-handwork__check-text {
    font-size: clamp(12px, calc(14 / 375 * 100vw), 29px);
    line-height: calc(21 / 14);
  }

  .ft-cases__head {
    align-items: flex-start;
  }

  .ft-cases__badge {
    text-align: left;
  }

  .ft-cases__badge-sub {
    display: block;
  }

  .ft-cases__title {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(32 / 22);
    text-align: left;
  }

  .ft-title-underline {
    width: 31%;
    max-width: 240px;
    align-self: center;
  }

  .ft-cases__cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ft-voice__intro-body {
    grid-template-columns: 1fr;
    gap: calc(20 / 375 * 100vw);
  }

  .ft-voice__badge {
    text-align: left;
  }

  .ft-voice__badge-sub {
    display: block;
  }

  .ft-voice__heading {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(32 / 22);
    letter-spacing: -0.004em;
    text-align: left;
  }

  .ft-voice__intro-text p {
    font-size: clamp(16px, calc(14 / 375 * 100vw), 14px);
    line-height: calc(24 / 14);
  }

  .ft-voice__summary {
    font-size: clamp(15px, calc(18 / 375 * 100vw), 18px);
    line-height: calc(32 / 18);
    letter-spacing: normal;
    text-align: left;
  }

  .ft-voice__summary br {
    display: none;
  }

  .ft-voice__highlight {
    font-size: clamp(16px, calc(20 / 375 * 100vw), 20px);
    line-height: calc(40 / 20);
  }

  .ft-voice__highlight-stat {
    font-size: clamp(32px, calc(40 / 375 * 100vw), 40px);
    line-height: calc(42 / 40);
  }

  .ft-voice__charts {
    grid-template-columns: 1fr;
    gap: calc(28 / 375 * 100vw);
  }

  .ft-voice__chart-q {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
  }

  .ft-voice__chart-q-icon {
    width: calc(20 / 375 * 100vw);
    height: calc(20 / 375 * 100vw);
    font-size: clamp(11px, calc(12 / 375 * 100vw), 13px);
  }

  .ft-voice__remaining {
    font-size: clamp(16px, calc(20 / 375 * 100vw), 20px);
    line-height: calc(32 / 20);
    font-weight: 500;
  }

  .ft-voice__bubbles {
    grid-template-columns: 1fr;
    gap: clamp(6px, calc(16 / 375 * 100vw), 16px);
  }

  .ft-voice__testimonial {
    flex-direction: column;
    gap: calc(16 / 375 * 100vw);
    margin-top: calc(28 / 375 * 100vw);
    /* ft-container padding を超えて viewport 全幅まで吹き出し画像を拡大 */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .ft-voice__testimonial-text {
    width: calc(300 / 375 * 100vw);
    aspect-ratio: 300 / 80;
    padding: 0;
    /* 吹き出し画像が viewport 比例で拡縮するため、font も比例させる */
    font-size: calc(12 / 375 * 100vw);
    line-height: calc(21 / 12);
    letter-spacing: 0;
    /* 上半分の中央寄せ (base の top: 41% / right: 11% を解除) */
    top: 27%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .for-teachers-page .ft-closing,
  .for-teachers-case-page .ft-closing {
    height: auto;
    aspect-ratio: 375 / 760;
  }

  .ft-closing__inner {
    width: 100%;
    max-width: calc(290 / 375 * 100vw);
    height: auto;
    aspect-ratio: 329 / 430;
    gap: 0;
    padding: 0;
  }

  .ft-closing__inner::before {
    inset: 0 calc(-5 / 375 * 100vw);
  }

  .ft-closing__heading {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(36 / 22);
    margin-bottom: calc(28 / 375 * 100vw);
  }

  .ft-closing__body {
    font-size: clamp(12px, calc(14 / 375 * 100vw), 16px);
    line-height: calc(24 / 14);
    letter-spacing: -0.017em;
    margin-bottom: calc(18 / 375 * 100vw);
  }

  .ft-closing__body br {
    display: inline;
  }

  .ft-case-hero {
    padding: calc(100 / 375 * 100vw) 0 0;
  }

  .ft-case-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(24 / 375 * 100vw);
  }

  .ft-case-hero__title {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(46 / 22);
  }


  .ft-case-tabs {
    padding: 0;
  }

  .ft-case-tab {
    padding: calc(14 / 375 * 100vw) calc(10 / 375 * 100vw);
    gap: calc(6 / 375 * 100vw);
  }

  .ft-case-tab__title {
    font-size: clamp(12px, calc(14 / 375 * 100vw), 14px);
    font-weight: 700;
    line-height: calc(20 / 14);
    letter-spacing: 0;
  }

  .ft-case-tab__sub {
    font-size: clamp(9px, calc(10 / 375 * 100vw), 10px);
    font-weight: 500;
    line-height: calc(15 / 10);
    letter-spacing: 0.06em;
  }

  .ft-case-tab.is-active::after {
    border-width: calc(10 / 375 * 100vw) calc(10 / 375 * 100vw) 0 calc(10 / 375 * 100vw);
  }

  .ft-case-mv {
    display: flex;
    flex-direction: column;
  }

  .ft-case-mv__visual {
    order: 2;
    aspect-ratio: 375 / 312;
  }

  .ft-case-mv__overlay {
    z-index: 4;
  }

  .ft-case-mv__bottom {
    bottom: 0;
  }

  .ft-case-mv__overlay {
    position: static;
    inset: auto;
    order: 1;
    display: block;
    padding: calc(24 / 375 * 100vw) calc(23 / 375 * 100vw);
  }

  .ft-case-mv__copy {
    width: 100%;
    gap: calc(12 / 375 * 100vw);
  }

  .ft-case-mv__badge {
    font-size: 16px;
    font-weight: 700;
    line-height: calc(30 / 16);
    letter-spacing: 0.06em;
  }

  .ft-case-mv__title {
    font-size: 22px;
    font-weight: 700;
    line-height: calc(38 / 22);
    letter-spacing: -0.08em;
  }

  .ft-case-mv__title-line:nth-child(n+2) {
    display: inline;
  }

  .ft-case-mv__lead {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.85;
  }

  .ft-case-concern__head {
    gap: 20px;
  }

  .ft-case-concern__lead-heading {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: calc(28 / 22);
    white-space: nowrap;
  }

  .ft-case-concern__lead {
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
  }

  .ft-case-concern__question {
    font-size: clamp(16px, calc(18 / 375 * 100vw), 20px);
    margin-top: calc(40 / 375 * 100vw);
    margin-bottom: calc(20 / 375 * 100vw);
  }

  .ft-case-concern__cards {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 10px;
  }

  .ft-case-concern__card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: calc(12 / 375 * 100vw) calc(14 / 375 * 100vw);
    gap: calc(10 / 375 * 100vw);
  }

  .ft-case-concern__card-check {
    width: calc(16 / 375 * 100vw);
  }

  .ft-case-concern__card-text {
    font-size: clamp(12px, calc(14 / 375 * 100vw), 14px);
    line-height: calc(22 / 14);
  }

  .ft-case-concern__card-text br,
  .ft-case-worries__item p br {
    display: none;
  }

  .ft-case-concern__message {
    margin-top: 0;
    padding: 0;
  }

  .ft-case-concern__message-bg {
    clip-path: inset(0 0);
    margin-top: 0;
    margin-bottom: 0;
  }

  .ft-case-concern__message-heading {
    font-size: clamp(16px, calc(20 / 375 * 100vw), 20px);
    font-weight: 700;
    line-height: calc(32 / 20);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .ft-case-concern__message-body {
    font-size: clamp(12px, calc(14 / 375 * 100vw), 14px);
    font-weight: 500;
    line-height: calc(24 / 14);
    letter-spacing: 0.02em;
  }

  .ft-case-support__index {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
  }

  .ft-case-support {
    padding: 0;
  }

  .ft-case-support__heading {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 22px);
    line-height: 1.55;
  }

  .ft-case-support__lead {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
    line-height: 1.8;
  }

  .ft-case-support__items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ft-case-support__bubble {
    font-size: clamp(10px, calc(11 / 375 * 100vw), 12px);
    white-space: normal;
  }

  .ft-case-support__item-heading {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
    line-height: 1.55;
  }

  .ft-case-support--large .ft-case-support__head {
    grid-template-columns: 1fr;
    gap: calc(24 / 375 * 100vw);
  }

  .ft-case-support--large .ft-case-support__head-main {
    width: 100%;
  }

  .ft-case-support--large .ft-case-support__head-photo {
    position: static;
    width: 100%;
    margin-top: calc(24 / 375 * 100vw);
  }


  .ft-case-support__head--with-badges {
    grid-template-columns: 1fr;
    gap: calc(20 / 375 * 100vw);
    margin-bottom: 20px;
  }

  .ft-case-support__risk-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    gap: calc(7 / 375 * 100vw);
    width: calc(215 / 375 * 100vw);
    margin-left: auto;
    margin-right: auto;
  }

  .ft-case-support__risk-badge {
    width: calc(104 / 375 * 100vw);
    height: calc(104 / 375 * 100vw);
    flex: initial;
    font-size: calc(13 / 375 * 100vw);
  }

  .ft-case-pricing__title {
    font-size: clamp(17px, calc(19 / 375 * 100vw), 22px);
    line-height: 1.6;
    margin-bottom: calc(24 / 375 * 100vw);
  }

  .ft-case-pricing__columns {
    grid-template-columns: 1fr;
    gap: calc(28 / 375 * 100vw);
  }

  .ft-case-pricing__heading {
    font-size: clamp(17px, calc(19 / 375 * 100vw), 22px);
    line-height: 1.65;
  }

  .ft-case-pricing__body {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
    line-height: 1.85;
  }

  .ft-case-pricing__chart-title,
  .ft-case-pricing__table-title {
    font-size: clamp(14px, calc(15 / 375 * 100vw), 17px);
  }

  .ft-case-pricing__row {
    grid-template-columns: calc(90 / 375 * 100vw) minmax(0, 1fr);
  }

  .ft-case-pricing__row-label {
    font-size: clamp(11px, calc(12 / 375 * 100vw), 13px);
  }

  .ft-case-pricing__before {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
  }

  .ft-case-pricing__after {
    font-size: clamp(17px, calc(20 / 375 * 100vw), 22px);
  }

  .ft-case-support04__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "visual"
      "checklist";
    gap: calc(28 / 375 * 100vw);
  }

  .ft-case-support04__checklist {
    margin-top: 30px;
  }

  .ft-case-support04__heading {
    font-size: clamp(18px, calc(20 / 375 * 100vw), 22px);
  }

  .ft-case-support04__lead {
    font-size: clamp(16px, calc(14 / 375 * 100vw), 15px);
    line-height: 1.75;
  }

  .ft-case-support04__body {
    font-size: clamp(11px, calc(12 / 375 * 100vw), 13px);
    line-height: 1.85;
    margin-bottom: 30px;
  }

  .ft-case-support04__check-item {
    padding: calc(12 / 375 * 100vw) calc(14 / 375 * 100vw);
    gap: calc(10 / 375 * 100vw);
  }

  .ft-case-support04__check {
    width: calc(38 / 375 * 100vw);
  }

  .ft-case-support04__check-item p {
    font-size: clamp(12px, calc(13 / 375 * 100vw), 14px);
  }

  .ft-case-support04__visual-overlay {
    left: -7%;
    bottom: -10%;
    width: 100%;
  }

  .ft-case-support02__items {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  /* SP は 1 カラムなので subgrid を解除して通常フローに */
  .ft-case-support02__item {
    display: block;
    grid-template-rows: none;
    grid-row: auto;
  }

  .ft-case-support02__text {
    padding: calc(18 / 375 * 100vw) calc(16 / 375 * 100vw);
    gap: calc(8 / 375 * 100vw);
  }

  .ft-case-support02__title {
    font-size: 17px;
    line-height: 1.55;
  }

  .ft-case-support02__body {
    font-size: 16px;
    line-height: calc(20 / 16);
  }

  .ft-case-support02__media {
    aspect-ratio: 330 / 205;
  }

  .ft-case-support02__note {
    font-size: clamp(10px, calc(11 / 375 * 100vw), 12px);
  }

  .ft-case-closing-message {
    padding: calc(60 / 375 * 100vw) 0;
  }

  .ft-case-closing-message__bg {
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
  }

  .ft-case-closing-message__heading {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 24px);
    line-height: 1.65;
    margin-bottom: calc(28 / 375 * 100vw);
  }

  .ft-case-closing-message__body {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: calc(20 / 375 * 100vw);
  }

  .ft-case-loop__inner {
    grid-template-columns: 1fr;
    gap: calc(28 / 375 * 100vw);
    padding-left: calc(23 / 375 * 100vw);
    padding-right: calc(23 / 375 * 100vw);
  }

  .ft-case-loop__heading {
    font-size: 22px;
    font-weight: 700;
    line-height: calc(36 / 22);
    letter-spacing: 0.02em;
  }

  .ft-case-loop__body {
    font-size: 16px;
    line-height: calc(24 / 14);
    text-align: left;
  }

  .ft-case-worries__inner {
    padding-left: calc(23 / 375 * 100vw);
    padding-right: calc(23 / 375 * 100vw);
  }

  .ft-case-worries__title {
    font-size: clamp(18px, calc(22 / 375 * 100vw), 45px);
    line-height: calc(29 / 22);
    margin-bottom: calc(24 / 375 * 100vw);
    text-align: left;
  }

  .ft-case-worries__title-mark {
    display: block;
    width: fit-content;
    margin-left: auto;
  }

  .ft-case-worries__columns {
    grid-template-columns: 1fr;
    gap: calc(28 / 375 * 100vw);
  }

  .ft-case-worries__column-title {
    font-size: clamp(14px, calc(18 / 375 * 100vw), 18px);
    line-height: calc(23 / 18);
  }

  .ft-case-worries__item {
    padding: calc(12 / 375 * 100vw) calc(14 / 375 * 100vw);
    gap: calc(10 / 375 * 100vw);
  }

  .ft-case-worries__item-check {
    width: calc(16 / 375 * 100vw);
  }

  .ft-case-worries__item p {
    font-size: clamp(14px, calc(16 / 375 * 100vw), 16px);
    line-height: calc(22 / 14);
  }

  .ft-case-result__bg {
    width: 100%;
    aspect-ratio: 375 / 300;
  }

  .ft-case-result__heading {
    font-size: clamp(16px, calc(18 / 375 * 100vw), 22px);
    line-height: 1.7;
    margin-bottom: calc(24 / 375 * 100vw);
  }

  .ft-case-result__circles {
    gap: calc(10 / 375 * 100vw);
  }

  .ft-case-result__circle {
    width: calc(95 / 375 * 100vw);
    height: calc(95 / 375 * 100vw);
    font-size: clamp(12px, calc(16 / 375 * 100vw), 16px);
  }
}
