/* ペライチ転用用CSS
   - `.juku-lp` 配下にスコープして衝突を避ける
   - 元の styles.css をベースに必要箇所を移植
*/

.juku-lp {
  --c-main: #008ff5;
  --c-navy: #1a3a5e;
  --c-cta: #f2994a;
  --c-text: #333333;
  --c-muted: #666666;

  /* 字階：PC（FV・同一LP内の基準） */
  --fv-fs-pc-lg: 44px;
  --fv-fs-pc-md: 16px;
  --fv-fs-pc-sm: 11px;
  /* 字階：スマホ */
  --fv-fs-sp-lg: 23px;
  --fv-fs-sp-md: 16px;
  --fv-fs-sp-sm: 11px;

  /* HTML埋め込みフル幅時：ヘッダー／FV の内側コンテンツ幅を揃える */
  --embed-content-max: 1280px;
  --embed-gutter: 40px;
  /* レスポンシブ（ブレークポイントはメディアクエリと揃える） */
  --bp-tablet: 920px;
  --bp-mobile: 480px;
  --embed-gutter-tight: 20px;

  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* セクション縦余白（隣接すると上下が足し算になるので控えめに） */
  --section-pt: 72px;
  --section-pb: 84px;
  --section-pt-strong: 84px;
  --section-pb-strong: 96px;

  font-family: var(--font-jp);
  color: var(--c-text);
  margin: 0 !important;
  padding: 0 !important;
}

.juku-lp + .juku-lp {
  margin-top: 0 !important;
}

/* セクションをフル幅（背景は横いっぱい、コンテンツは中央寄せ） */
.juku-lp.section-embed-full {
  width: 100% !important;
  max-width: none !important;
}

.juku-lp.section-embed-full .reasons-inner,
.juku-lp.section-embed-full .rtb-inner,
.juku-lp.section-embed-full .flow-inner,
.juku-lp.section-embed-full .cases-inner,
.juku-lp.section-embed-full .faq-inner,
.juku-lp.section-embed-full .closing-inner,
.juku-lp.section-embed-full .sticky-cta-inner {
  width: min(var(--embed-content-max), calc(100% - var(--embed-gutter)));
  margin-left: auto;
  margin-right: auto;
}

/* ヘッダー直後のFVブロックだけ、白帯を直接吸収 */
.juku-lp.header-block + .juku-lp.fv-block {
  margin-top: -110px !important;
}

/* ペライチ/テーマ側のデフォルト余白を打ち消す（ブロック間の謎スペース対策） */
.juku-lp header,
.juku-lp section,
.juku-lp nav {
  margin: 0 !important;
}

.juku-lp > *:first-child {
  margin-top: 0 !important;
}

.juku-lp > *:last-child {
  margin-bottom: 0 !important;
}

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

/* PC / SP 出し分け（ペライチで別ブロックを置く場合に使用） */
.juku-lp .lp-show-sp {
  display: none !important;
}

/* SPだけで改行したい br */
.juku-lp br.br-sp {
  display: none;
}

@media (max-width: 920px) {
  .juku-lp .lp-hide-sp {
    display: none !important;
  }

  .juku-lp .lp-show-sp {
    display: block !important;
  }

  .juku-lp br.br-sp {
    display: inline;
  }

  .juku-lp .lp-show-sp--flex {
    display: flex !important;
  }

  .juku-lp .lp-show-sp--inline-flex {
    display: inline-flex !important;
  }

  .juku-lp .lp-show-sp--grid {
    display: grid !important;
  }
}

/* 余白をペライチ側が持つことがあるので、最低限の見た目だけ再現 */
.juku-lp .container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

/* ------------------------------
   SP固定ヘッダー（ペライチでPCとは別ブロックとして先頭に貼る・.juku-lp 外でも有効）
   テーブル＋インラインstyleはテーマで上書きされやすいので、ラッパーにクラスを付与すること。
   ------------------------------ */
/* ラッパーに付与する想定だが、table に直接クラスが付いても効くよう両対応 */
.juku-sp-fixed-header,
table.juku-sp-fixed-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100%;
  z-index: 1000 !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-top: env(safe-area-inset-top, 0px);
  background-color: #ffffff !important;
  border-bottom: 1px solid #dddddd;
  box-sizing: border-box;
}

.juku-sp-fixed-header {
  display: block;
}

.juku-sp-fixed-header table {
  display: table;
}

.juku-sp-fixed-header table,
table.juku-sp-fixed-header {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.juku-sp-fixed-header td,
table.juku-sp-fixed-header td {
  padding: 10px 16px;
  vertical-align: middle;
}

.juku-sp-fixed-header a,
table.juku-sp-fixed-header a {
  display: inline-block;
  line-height: 0;
}

.juku-sp-fixed-header img,
table.juku-sp-fixed-header img {
  display: block;
  width: 150px;
  max-width: min(150px, 46vw);
  height: auto;
  max-height: 36px;
  object-fit: contain;
}

/* 固定バー分の下げ（高さはロゴ実測で .juku-sp-fixed-header img の max-height と合わせて調整） */
.juku-sp-fixed-header-spacer {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  height: calc(20px + 36px + env(safe-area-inset-top, 0px));
  min-height: 56px;
  box-sizing: border-box;
}

/* ペライチ側の親要素に transform が付くと fixed が効かないことがあるため、SPでは sticky を優先 */
@media (max-width: 920px) {
  .juku-sp-fixed-header,
  table.juku-sp-fixed-header {
    position: -webkit-sticky !important;
    position: sticky !important;
  }

  /* sticky の場合は要素がレイアウトに乗るのでスペーサー不要 */
  .juku-sp-fixed-header-spacer {
    display: none !important;
  }
}

/* 同一HTMLをPC/SPで出し分けていない場合のみ：PC幅ではSPヘッダーを隠す */
@media (min-width: 921px) {
  .juku-sp-fixed-header,
  .juku-sp-fixed-header-spacer {
    display: none !important;
  }
}

/* ------------------------------
   Header
   ------------------------------ */
.juku-lp .header-wrapper {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  margin: 0;
}

.juku-lp .header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.juku-lp .header-logo img {
  height: 30px;
  width: auto;
  display: block;
  background: transparent;
  filter: none;
  mix-blend-mode: multiply;
  vertical-align: top;
}

.juku-lp .header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.juku-lp .bookmark-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 400;
}

.juku-lp .login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00b7a5;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.juku-lp .nav-menu-bg {
  background: var(--c-main);
  width: 100%;
}

/* インライン margin:0!important 等で nav の auto が潰れても中央に寄せる */
.juku-lp.header-embed-full .nav-menu-bg {
  display: flex;
  justify-content: center;
}

.juku-lp .nav-menu {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  text-align: center;
  font-weight: 700;
}

.juku-lp .nav-item {
  flex: 1;
  padding: 15px 0;
  color: #ffffff;
  text-decoration: none;
  background: var(--c-main);
  font-size: 14px;
  line-height: 1.2;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  transition: opacity 0.2s;
}

.juku-lp .nav-item:hover {
  opacity: 0.8;
}

/* ------------------------------
   FV
   ------------------------------ */
.juku-lp .fv {
  /* グロナビ直下の不自然な空き対策 */
  padding: 0 0 54px;
  margin: 0;
  background: radial-gradient(900px 600px at 70% 10%, rgba(0, 143, 245, 0.08), transparent 55%),
    radial-gradient(900px 600px at 10% 40%, rgba(242, 153, 74, 0.06), transparent 50%),
    #ffffff;
}

/* FVをHTML埋め込みでフル幅運用する時の専用調整 */
.juku-lp.fv-embed-full {
  width: 100% !important;
  max-width: none !important;
}

.juku-lp.fv-embed-full .container,
.juku-lp.header-embed-full .header-inner {
  width: min(var(--embed-content-max), calc(100% - var(--embed-gutter)));
}

/* ヘッダーも埋め込みフル幅（グロナビは画面端まで） */
.juku-lp.header-embed-full {
  width: 100% !important;
  max-width: none !important;
}

.juku-lp.header-embed-full .nav-menu {
  /* 青帯は全幅のまま、中身はFVと同じ最大幅で中央寄せ・5列等幅 */
  width: min(var(--embed-content-max), calc(100% - var(--embed-gutter)));
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 0;
}

/* 5列等幅（文字量で幅が変わらない） */
.juku-lp.header-embed-full .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  line-height: 1.35;
  word-break: keep-all;
}

.juku-lp.header-embed-full .nav-item:first-child {
  border-left: 0;
}

.juku-lp.header-embed-full .nav-item--current {
  background: #eaf4ff;
  color: var(--c-main);
  font-weight: 800;
}

.juku-lp.header-embed-full .nav-item--current:hover {
  opacity: 1;
}

@media (max-width: 1100px) {
  .juku-lp.header-embed-full .nav-item {
    padding: 12px 6px;
    font-size: 11px;
    line-height: 1.3;
  }
}

/* フル幅時：左に詰まりすぎない比率＋右カラム最大幅でバランス調整 */
.juku-lp.fv-embed-full .fv-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 3.2vw, 48px);
  align-items: center;
}

.juku-lp.fv-embed-full .fv-left {
  max-width: min(520px, 100%);
  width: 100%;
  justify-self: end;
}

.juku-lp .fv-grid {
  display: grid;
  /* 右カラムを少し狭めて左（コピー）を広く */
  grid-template-columns: minmax(560px, 1.6fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: stretch; /* 左右レーンの高さを揃える */
}

.juku-lp .fv-right {
  padding: 8px 0;
}

/* NOTE: `.fv-left` は後半でも定義しています（後勝ち）。ここでは定義しない。 */

.juku-lp .headline {
  margin: 0;
  font-size: var(--fv-fs-pc-lg);
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: #333333;
  font-weight: 900;
  word-break: keep-all;
}

.juku-lp .headline-keep {
  white-space: nowrap;
}

.juku-lp .subcopy {
  margin: 20px 0 0;
  font-size: var(--fv-fs-pc-md);
  line-height: 2.05;
  color: var(--c-text);
  word-break: keep-all;
  font-weight: 700;
}
.juku-lp .subcopy-keep {
  white-space: nowrap;
}


.juku-lp .subcopy-accent {
  color: var(--c-main);
  font-weight: 800;
}

.juku-lp .medals {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.juku-lp .medal {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(26, 58, 94, 0.14);
  box-shadow: 0 14px 30px rgba(26, 58, 94, 0.08);
}

.juku-lp .medal-plate {
  position: relative;
  width: 90px;
  height: 90px;
}

.juku-lp .medal-disc {
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.0) 42%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.0) 44%),
    linear-gradient(135deg, #f7d26a, #e1b24b 60%, #c8922b);
  border: 1px solid rgba(135, 92, 10, 0.25);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 12px 22px rgba(26, 58, 94, 0.14);
}

.juku-lp .medal-laurel::before,
.juku-lp .medal-laurel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 50%, rgba(26, 58, 94, 0.18), transparent 42%),
    radial-gradient(circle at 72% 50%, rgba(26, 58, 94, 0.18), transparent 42%);
  filter: blur(0.2px);
}

.juku-lp .medal-ribbon {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 64px;
  height: 28px;
  border-radius: 10px 10px 14px 14px;
  background: linear-gradient(180deg, rgba(0, 143, 245, 0.85), rgba(26, 58, 94, 0.9));
  box-shadow: 0 10px 18px rgba(26, 58, 94, 0.16);
  opacity: 0.9;
}

.juku-lp .medal-top {
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 58, 94, 0.75);
  line-height: 1.25;
}

.juku-lp .medal-bottom {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.juku-lp .medal-number {
  margin-top: 8px;
  font-family: var(--font-num);
  font-weight: 800;
  line-height: 1;
  color: var(--c-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.juku-lp .medal-number .num {
  font-size: 28px;
  letter-spacing: -0.02em;
}

.juku-lp .medal-number .unit {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-main);
}

.juku-lp .medal-number .note {
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 700;
  color: rgba(26, 58, 94, 0.7);
}

.juku-lp .cta-stack {
  margin-top: 0; /* fv-bars 側で余白管理 */
  padding-top: 18px;
  position: relative;
}

.juku-lp .cta-stack::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 58, 94, 0.18), transparent);
}

.juku-lp .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 18px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(242, 153, 74, 1), rgba(230, 132, 49, 1));
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 22px 52px rgba(242, 153, 74, 0.32); /* CTAを主役に */
}

.juku-lp .footnotes {
  margin-top: 10px;
  font-size: var(--fv-fs-pc-sm);
  line-height: 1.55;
  color: var(--c-muted);
}

/* FV：ロゴ帯＋実績帯（横並び） */
.juku-lp .fv-bars {
  margin-top: 18px;
  margin-bottom: 20px; /* CTAとの段差（余白） */
  display: grid;
  /* ロゴ側を広く、実績側を締めてバランスを取る */
  grid-template-columns: clamp(320px, 32vw, 440px) minmax(0, 1fr);
  gap: 12px;
  align-items: center; /* ロゴとバッジを“平行”に見せる */
}

/* FVフル幅埋め込み時：ロゴ帯/実績帯の列幅と高さを安定させる */
.juku-lp.fv-embed-full .fv-bars {
  grid-template-columns: clamp(240px, 22vw, 320px) 1fr;
  gap: 8px;
  align-items: center;
}

/* FV：添付イメージ寄せ（ロゴ帯と実績帯を分離） */
.juku-lp .fv-brandbar {
  margin-top: 0;
  background: transparent; /* ロゴの下に白い箱が見えないように */
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  height: 100%;
  display: flex;
  align-items: center;
}

.juku-lp .fv-statsbar {
  margin-top: 0;
  background: transparent; /* 実績画像の背景を透過で扱う */
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  height: 100%;
  display: flex;
  align-items: center;
}

.juku-lp .fv-brand {
  display: block;
}

.juku-lp .fv-brand-logo {
  display: block;
  width: auto;
  max-width: 100%; /* 見切れ防止（列幅内に収める） */
  height: 96px;
  object-fit: contain;
}

.juku-lp.fv-embed-full .fv-brand-logo {
  max-width: 100%;
  height: 124px;
}

.juku-lp .fv-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(0, 143, 245, 0.18), rgba(0, 143, 245, 0.05) 55%, transparent 56%),
    radial-gradient(circle at 60% 60%, rgba(0, 143, 245, 0.22), rgba(26, 58, 94, 0.06) 55%, transparent 56%);
  border: 1px solid rgba(0, 143, 245, 0.18);
}

.juku-lp .fv-brand-sub {
  font-size: 12px;
  font-weight: 800;
  color: rgba(26, 58, 94, 0.7);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.juku-lp .fv-brand-main {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.juku-lp .fv-stats-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 110px; /* ロゴと平行に見える“帯”の高さ */
  object-fit: contain;
}

.juku-lp.fv-embed-full .fv-stats-img {
  height: 124px;
}

.juku-lp .fv-statsbar {
  display: flex;
  justify-content: flex-end;
}

/* FV 人物（背景に溶ける） */
.juku-lp .fv-left {
  padding-top: 8px; /* 左レーンと見出しの上端を揃える */
  align-self: start; /* 伸びて名前が下に落ちるのを防ぐ */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 名前が下に落ちないように */
  align-items: flex-end; /* 右カラム基準で揃える */
  min-height: 0;
}

.juku-lp .person {
  margin: 0;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 0 0 auto; /* 余白の伸びで名前が押し下がらない */
}

.juku-lp .person::before {
  display: none;
}

.juku-lp .person::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  pointer-events: none;
  /* 下端だけ背景に溶かして“浮き”を防ぐ */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 84%);
  opacity: 1;
  z-index: 2;
}

.juku-lp .person.is-fallback {
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(26, 58, 94, 0.06), rgba(26, 58, 94, 0.02));
  box-shadow: 0 22px 55px rgba(26, 58, 94, 0.12);
}

.juku-lp .person-img {
  width: min(520px, 100%);
  max-width: 100%;
  height: 520px; /* 高さを固定して名前が下に落ちないように */
  min-height: 0;
  max-height: 520px;
  object-fit: cover;
  /* 顔（頭）が切れないよう上に寄せる */
  object-position: 66% 6%;
  display: block;
  position: relative;
  z-index: 0;
  /* 透過PNGの輪郭が立ちすぎる場合の馴染ませ */
  filter: drop-shadow(0 10px 24px rgba(26, 58, 94, 0.06));
}

.juku-lp .person.is-fallback .person-img {
  max-height: none;
  object-fit: cover;
}

.juku-lp .person.is-fallback::after {
  display: none;
}

.juku-lp .person.is-fallback::before {
  display: none;
}

.juku-lp .person.is-fallback .person-fallback {
  display: grid;
}

.juku-lp .person-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 28px;
}

.juku-lp .person-fallback-inner {
  width: 100%;
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 58, 94, 0.16);
}

.juku-lp .person-fallback-title {
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: 0.03em;
}

.juku-lp .person-fallback-desc {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(26, 58, 94, 0.75);
}

.juku-lp .fv-agent-name {
  margin-top: 12px; /* 人物画像の直下に配置 */
  width: min(520px, 100%);
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--c-text);
  letter-spacing: 0.02em;
}

/* ------------------------------
   Reasons
   ------------------------------ */
.juku-lp .reasons {
  padding: var(--section-pt) 0 var(--section-pb);
  background:
    radial-gradient(900px 600px at 18% 20%, rgba(0, 143, 245, 0.06), transparent 55%),
    radial-gradient(900px 600px at 82% 10%, rgba(26, 58, 94, 0.05), transparent 55%),
    #ffffff;
}

.juku-lp .reasons-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.juku-lp .reasons-title {
  margin: 0;
  font-size: 45px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  text-align: center;
}

.juku-lp .reasons-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.juku-lp .reason-card {
  border-radius: 22px;
  padding: 30px 28px 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 58, 94, 0.14);
  box-shadow: 0 18px 44px rgba(26, 58, 94, 0.08);
}

.juku-lp .reason-icon {
  width: 200px;
  height: 200px;
  border-radius: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0 auto;
}

.juku-lp .reason-icon-img {
  width: 200px;
  height: 200px;
  max-width: 100%;
  display: block;
  object-fit: contain;
  padding: 0;
}

.juku-lp .reason-title {
  margin: 16px 0 0;
  font-size: 25px;
  font-weight: 900;
  color: var(--c-main);
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.juku-lp .reason-title--center {
  text-align: center;
}

.juku-lp .reason-title--single {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .juku-lp .reason-title--single {
    white-space: normal;
  }
}

.juku-lp .reason-body {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
}

/* ------------------------------
   RTB
   ------------------------------ */
.juku-lp .rtb {
  background: #f8f9fa;
  padding: var(--section-pt) 0 var(--section-pb);
}

.juku-lp .rtb-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.juku-lp .rtb-title {
  margin: 0;
  font-size: 45px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  text-align: center;
}

.juku-lp .rtb-list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.juku-lp .rtb-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 58, 94, 0.12);
  border-radius: 22px;
  padding: 28px 28px 30px;
  box-shadow: 0 18px 44px rgba(26, 58, 94, 0.06);
}

.juku-lp .rtb-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--c-main);
}

.juku-lp .rtb-num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 92px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--c-main);
}

.juku-lp .rtb-item-title {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.35;
}

.juku-lp .rtb-body {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 2.05;
  color: var(--c-text);
}

/* ------------------------------
   Flow
   ------------------------------ */
.juku-lp .flow {
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 42%, #ffffff 100%);
  padding: var(--section-pt) 0 var(--section-pb);
}

.juku-lp .flow-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* RTB見出しと同様、内側幅いっぱいで中央寄せ（位置ずれ防止） */
.juku-lp .flow-header {
  text-align: center;
  max-width: none;
  margin: 0 auto;
  width: 100%;
}

.juku-lp .flow-title {
  margin: 0;
  font-size: 45px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

/* 「流れ」が「流｜れ」と分断されないように */
.juku-lp .flow-title-nb {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .juku-lp .flow-title-nb {
    white-space: normal;
  }
}

.juku-lp .flow-title-keep {
  white-space: normal;
}

.juku-lp .flow-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.juku-lp .flow-list::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 36px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 143, 245, 0.15),
    rgba(0, 143, 245, 0.55) 50%,
    rgba(0, 143, 245, 0.15)
  );
  z-index: 0;
}

.juku-lp .flow-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
}

.juku-lp .flow-item-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 88px;
}

.juku-lp .flow-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--c-main);
  box-shadow: 0 12px 28px rgba(0, 143, 245, 0.18);
}

.juku-lp .flow-badge-label {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(26, 58, 94, 0.65);
}

.juku-lp .flow-badge-num {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-main);
}

.juku-lp .flow-badge--last {
  border-color: var(--c-cta);
  box-shadow: 0 12px 28px rgba(242, 153, 74, 0.22);
}

.juku-lp .flow-badge--last .flow-badge-num {
  color: #e07a2a;
}

.juku-lp .flow-item-body {
  margin-top: 22px;
  padding: 22px 18px 24px;
  background: #ffffff;
  border: 1px solid rgba(26, 58, 94, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(26, 58, 94, 0.07);
  text-align: left;
  flex: 1 1 auto;
  min-height: 210px;
}

.juku-lp .flow-item-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.35;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 143, 245, 0.35);
  text-align: center;
}

.juku-lp .flow-item-text {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-text);
}

/* ------------------------------
   Cases
   ------------------------------ */
.juku-lp .cases {
  background: #f8f9fa;
  padding: var(--section-pt) 0 var(--section-pb);
}

.juku-lp .cases-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.juku-lp .cases-header {
  text-align: center;
}

.juku-lp .cases-title {
  margin: 0;
  font-size: 45px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: -0.01em;
}

.juku-lp .cases-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.juku-lp .case-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(26, 58, 94, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(26, 58, 94, 0.08);
}

.juku-lp .case-tab {
  padding: 14px 16px;
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.35;
  word-break: keep-all;
}

.juku-lp .case-tab-keep {
  white-space: nowrap;
}

.juku-lp .case-card--a .case-tab {
  background: linear-gradient(180deg, #1a9eff, #0089ee);
}

.juku-lp .case-card--b .case-tab {
  background: linear-gradient(180deg, #7b6fd6, #5c52b8);
}

.juku-lp .case-card--c .case-tab {
  background: linear-gradient(180deg, #3cba7a, #2a9d62);
}

.juku-lp .case-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.juku-lp .case-profile {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
}

.juku-lp .case-profile-role {
  font-weight: 700;
  color: var(--c-navy);
}

.juku-lp .case-profile-sep {
  margin: 0 4px;
  color: #999;
}

.juku-lp .case-shift-line {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text);
}

.juku-lp .case-shift-line .case-after {
  font-weight: 800;
  color: var(--c-navy);
}

.juku-lp .case-arrow {
  color: var(--c-main);
  font-weight: 800;
}

.juku-lp .case-quote {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--c-text);
}

/* ------------------------------
   FAQ
   ------------------------------ */
.juku-lp .faq {
  background: #ffffff;
  padding: var(--section-pt) 0 var(--section-pb);
}

.juku-lp .faq-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.juku-lp .faq-title {
  margin: 0;
  font-size: 45px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  text-align: center;
}

.juku-lp .faq-list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.juku-lp .faq-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(26, 58, 94, 0.14);
  background: rgba(26, 58, 94, 0.04);
}

.juku-lp .faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.juku-lp .faq-q-text {
  font-size: 25px;
  line-height: 1.7;
  color: var(--c-navy);
  font-weight: 800;
}

.juku-lp .qa {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 45px;
  line-height: 1;
  color: var(--c-navy);
}

.juku-lp .faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}

.juku-lp .faq-icon::before,
.juku-lp .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: rgba(26, 58, 94, 0.85);
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.juku-lp .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.juku-lp .faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.juku-lp .faq-a {
  height: 0;
  overflow: hidden;
  background: #ffffff;
  transition: height 240ms ease-in-out;
}

/* FAQ：常時展開（アコーディオン無効化） */
.juku-lp .faq-q {
  cursor: default;
}

.juku-lp .faq-icon {
  display: none;
}

.juku-lp .faq-a {
  height: auto !important;
  overflow: visible !important;
  transition: none !important;
}

.juku-lp .faq-item.is-open .faq-icon::after {
  opacity: 0;
}

/* Closing：ロゴ（紺背景でも読めるよう白台紙） */
.juku-lp .closing-logo-wrap {
  display: inline-block;
  margin: 22px auto 0;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.juku-lp .closing-logo {
  display: block;
  width: min(360px, 78vw);
  height: auto;
  margin: 0;
  vertical-align: top;
  user-select: none;
}

.juku-lp .faq-a-inner {
  padding: 18px 18px 22px;
}

.juku-lp .faq-a-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.juku-lp .faq-a .qa {
  color: var(--c-main);
}

.juku-lp .faq-a-text {
  margin: 0;
  font-size: 25px;
  line-height: 2.05;
  color: var(--c-text);
}

.juku-lp .faq-link {
  color: var(--c-main);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------
   Closing
   ------------------------------ */
.juku-lp .closing {
  background: var(--c-navy);
  color: #ffffff;
  padding: var(--section-pt-strong) 0 var(--section-pb-strong);
}

.juku-lp .closing-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.juku-lp .closing-catch {
  margin: 0;
  font-size: 45px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* 選ばれる理由以降のセクション見出し：メインカラー下線（文字幅のみ） */
.juku-lp .reasons-title,
.juku-lp .rtb-title,
.juku-lp .flow-title,
.juku-lp .cases-title,
.juku-lp .faq-title {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 14px;
  border-bottom: 4px solid var(--c-main);
  box-sizing: border-box;
}

.juku-lp .closing-body {
  margin: 28px auto 0;
  max-width: 920px;
  font-size: 25px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.juku-lp .closing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(242, 153, 74, 1), rgba(230, 132, 49, 1));
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 22px 52px rgba(242, 153, 74, 0.26);
}

/* ------------------------------
   Sticky CTA（任意）
   ------------------------------ */
.juku-lp.sticky-cta-on {
  padding-bottom: 128px;
}

.juku-lp .sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(240, 241, 244, 0.97);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -10px 28px rgba(26, 58, 94, 0.1);
  padding: 20px 18px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.32s ease-in-out, visibility 0.32s ease-in-out;
}

.juku-lp .sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.juku-lp .sticky-cta-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
}

/* セクションフル幅運用時は内側幅の統一ルールを優先 */
.juku-lp.section-embed-full .sticky-cta-inner {
  width: min(var(--embed-content-max), calc(100% - var(--embed-gutter)));
}

.juku-lp .sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: min(100%, 320px);
  padding: 18px 28px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #f5a85a, var(--c-cta));
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(242, 153, 74, 0.35);
}

@media (max-width: 640px) {
  .juku-lp .sticky-cta-inner {
    flex-direction: column;
    align-items: center;
  }

  .juku-lp .sticky-cta-btn {
    width: 100%;
    min-width: 0;
    font-size: 17px;
    padding: 16px 20px;
  }
}

/* ------------------------------
   Responsive
   ------------------------------ */
@media (max-width: 1024px) {
  .juku-lp .headline {
    font-size: 40px;
  }
}

@media (max-width: 920px) {
  .juku-lp.header-block + .juku-lp.fv-block {
    margin-top: -72px !important;
  }

  .juku-lp {
    --section-pt: 56px;
    --section-pb: 68px;
    --section-pt-strong: 68px;
    --section-pb-strong: 76px;
  }

  .juku-lp .container {
    width: min(1160px, calc(100% - 32px));
  }

  .juku-lp.header-embed-full .header-inner,
  .juku-lp.fv-embed-full .container {
    width: calc(100% - 24px);
  }

  .juku-lp.section-embed-full .reasons-inner,
  .juku-lp.section-embed-full .rtb-inner,
  .juku-lp.section-embed-full .flow-inner,
  .juku-lp.section-embed-full .cases-inner,
  .juku-lp.section-embed-full .faq-inner,
  .juku-lp.section-embed-full .closing-inner,
  .juku-lp.section-embed-full .sticky-cta-inner {
    width: calc(100% - 24px);
  }

  /* ヘッダー上部：狭い幅で折り返し */
  .juku-lp .header-inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .juku-lp .header-logo img {
    height: 26px;
  }

  /* グロナビ：5列は詰まるため横スクロール */
  .juku-lp.header-embed-full .nav-menu-bg {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .juku-lp.header-embed-full .nav-menu {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    margin: 0 auto;
    padding: 0 12px 10px;
    grid-template-columns: unset;
    gap: 0;
  }

  .juku-lp.header-embed-full .nav-item {
    flex: 0 0 auto;
    min-width: min(46vw, 220px);
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }

  .juku-lp.header-embed-full .nav-item:first-child {
    border-left: 0;
  }

  /* FV：SP 字階（大23 / 中16 / 小11） */
  .juku-lp .headline {
    font-size: var(--fv-fs-sp-lg);
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .juku-lp .headline-keep,
  .juku-lp .subcopy-keep {
    white-space: normal;
  }

  .juku-lp .subcopy {
    font-size: var(--fv-fs-sp-md);
    line-height: 1.85;
    word-break: normal;
    overflow-wrap: break-word;
    margin-top: 0;
  }

  .juku-lp .footnotes {
    font-size: var(--fv-fs-sp-sm);
  }

  .juku-lp .cta {
    font-size: var(--fv-fs-sp-lg);
  }

  /* FV：人物写真を「上の帯（見出し〜サブコピー）」の背景にぼかして敷く（インライン --fv-person-bg 参照） */
  .juku-lp .fv {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  /* FV（SP専用HTML） */
  .juku-lp .fv.fv--sp {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
  }

  .juku-lp .fv.fv--sp::before {
    content: "";
    position: absolute;
    inset: -22px;
    z-index: 0;
    background-image: var(--fv-person-bg);
    background-size: cover;
    background-position: 58% 18%;
    background-repeat: no-repeat;
    filter: blur(18px) saturate(1.04);
    transform: scale(1.1);
    opacity: 0.92;
    pointer-events: none;
  }

  .juku-lp .fv.fv--sp::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(820px 540px at 78% 8%, rgba(0, 143, 245, 0.1), transparent 55%),
      radial-gradient(820px 540px at 12% 40%, rgba(242, 153, 74, 0.06), transparent 55%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(245, 249, 255, 0.72) 45%, rgba(255, 255, 255, 0.86) 100%);
    pointer-events: none;
  }

  .juku-lp .fv.fv--sp .container {
    position: relative;
    z-index: 2;
  }

  .juku-lp .fv-sp-hero {
    border-radius: 18px;
    padding: 18px 14px 16px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 36px rgba(26, 58, 94, 0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .juku-lp .fv-sp-headline {
    margin: 0;
  }

  .juku-lp .fv-sp-brand {
    margin-top: 12px;
    display: flex;
    justify-content: center;
  }

  .juku-lp .fv.fv--sp .fv-brand-logo {
    max-height: 64px;
    max-width: min(320px, 90vw);
  }

  .juku-lp .fv-sp-subcopy {
    margin-top: 12px;
  }

  .juku-lp .fv-sp-stats {
    margin-top: 14px;
    display: flex;
    justify-content: center;
  }

  .juku-lp .fv.fv--sp .fv-stats-img {
    max-height: 76px;
    width: auto;
    max-width: min(360px, 100%);
  }

  .juku-lp .fv-sp-cta {
    margin-top: 16px;
  }

  /* FV画像直下CTA（SP用・画像運用） */
  .juku-lp .fv-sp-cta-section {
    padding: 14px 0 6px;
  }

  .juku-lp .fv-sp-cta-inner {
    width: min(var(--embed-content-max), calc(100% - var(--embed-gutter)));
    margin: 0 auto;
    display: grid;
    gap: 10px;
  }

  .juku-lp.section-embed-full .fv-sp-cta-inner {
    width: min(var(--embed-content-max), calc(100% - var(--embed-gutter)));
  }

  .juku-lp .fv-sp-cta-btn {
    /* 1行固定（小さい端末はclampで微調整して改行を防ぐ） */
    font-size: clamp(18px, 5.6vw, var(--fv-fs-sp-lg));
    line-height: 1.15;
    white-space: nowrap;
    word-break: keep-all;
    padding: 16px 14px;
    border-radius: 999px;
  }

  .juku-lp .fv-sp-cta-notes {
    font-size: var(--fv-fs-sp-sm);
    line-height: 1.5;
  }

  .juku-lp.fv-block .fv-right {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 18px;
    padding: 18px 14px 16px;
    background: rgba(245, 249, 255, 0.86);
    box-shadow: 0 14px 36px rgba(26, 58, 94, 0.08);
  }

  .juku-lp.fv-block .fv-right::before {
    content: "";
    position: absolute;
    inset: -22px;
    z-index: 0;
    background-image: var(--fv-person-bg);
    background-size: cover;
    background-position: 62% 18%;
    background-repeat: no-repeat;
    filter: blur(18px) saturate(1.04);
    transform: scale(1.1);
    opacity: 0.9;
    pointer-events: none;
  }

  .juku-lp.fv-block .fv-right::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(800px 520px at 78% 8%, rgba(0, 143, 245, 0.1), transparent 55%),
      radial-gradient(800px 520px at 12% 40%, rgba(242, 153, 74, 0.06), transparent 55%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(245, 249, 255, 0.72) 45%, rgba(255, 255, 255, 0.86) 100%);
    pointer-events: none;
  }

  .juku-lp.fv-block .fv-right > * {
    position: relative;
    z-index: 2;
  }

  .juku-lp .cta-stack {
    margin-bottom: 8px;
  }

  /* SP ではカラムの人物写真は非表示（背景に統合） */
  .juku-lp .fv-left,
  .juku-lp.fv-block .fv-left,
  .juku-lp.fv-block .person {
    display: none !important;
  }

  /* FV ブロック順：見出し → ロゴ → サブコピー → 実績 → CTA */
  .juku-lp .fv-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-content: start;
    padding-top: 4px;
    min-width: 0;
    width: 100%;
  }

  .juku-lp .fv-right .headline {
    order: 1;
  }

  .juku-lp .fv-right .fv-bars {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
  }

  .juku-lp .fv-right .subcopy {
    order: 3;
  }

  .juku-lp .fv-right .cta-stack {
    order: 4;
  }

  .juku-lp .fv-right .fv-brandbar {
    order: 1;
    justify-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .juku-lp .fv-right .fv-statsbar {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  .juku-lp .fv-brandbar {
    display: flex;
    justify-content: center;
  }

  .juku-lp .fv-brand-logo {
    height: auto;
    max-height: 56px;
    width: auto;
    max-width: min(300px, 86vw);
    display: block;
  }

  .juku-lp.fv-embed-full .fv-brand-logo {
    max-height: 58px;
  }

  /* 実績バッジ画像：SPでは小さめに */
  .juku-lp .fv-stats-img {
    height: auto;
    min-height: 0;
    max-height: 68px;
    width: auto;
    max-width: min(340px, 100%);
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }

  .juku-lp.fv-embed-full .fv-stats-img {
    max-height: 68px;
  }

  .juku-lp .flow-item-body {
    min-height: 0;
  }

  .juku-lp .rtb-item-title {
    font-size: clamp(22px, 5.2vw, 28px);
  }

  .juku-lp .case-tab {
    font-size: clamp(18px, 4.5vw, 22px);
    padding: 12px 14px;
  }

  /* FV：embed-full の2列指定（min 280px）が SP で残ると第1列が極細になり縦組みに見えるため必ず1列化 */
  .juku-lp .fv-grid,
  .juku-lp.fv-embed-full .fv-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .juku-lp .fv-bars,
  .juku-lp.fv-embed-full .fv-bars {
    grid-template-columns: 1fr;
  }

  .juku-lp .reasons-title,
  .juku-lp .rtb-title,
  .juku-lp .flow-title,
  .juku-lp .cases-title,
  .juku-lp .faq-title,
  .juku-lp .closing-catch {
    font-size: 34px;
  }

  .juku-lp .reasons-grid,
  .juku-lp .cases-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .juku-lp .reason-icon,
  .juku-lp .reason-icon-img {
    width: 156px;
    height: 156px;
  }

  .juku-lp .rtb-num {
    font-size: 72px;
  }

  .juku-lp .flow-list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .juku-lp .flow-list::before {
    display: none;
  }

  .juku-lp .flow-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    text-align: left;
    padding: 0;
    align-items: start;
  }

  .juku-lp .flow-item-head {
    min-height: auto;
    flex-direction: row;
    align-items: flex-start;
  }

  .juku-lp .flow-badge {
    width: 72px;
    height: 72px;
  }

  .juku-lp .flow-badge-num {
    font-size: 24px;
  }

  .juku-lp .flow-item-title {
    font-size: 19px;
  }

  .juku-lp .flow-item-text {
    font-size: var(--fv-fs-sp-md);
  }

  .juku-lp .case-quote {
    font-size: var(--fv-fs-sp-md);
  }

  .juku-lp .faq-q-text,
  .juku-lp .faq-a-text {
    font-size: 19px;
  }

  .juku-lp .faq-a-text {
    line-height: 1.95;
  }

  .juku-lp .qa {
    font-size: 32px;
  }

  .juku-lp .closing-body {
    font-size: var(--fv-fs-sp-md);
    line-height: 1.95;
  }

  .juku-lp .closing-cta {
    width: 100%;
    max-width: 520px;
    font-size: 23px;
    padding: 18px 18px;
  }

  .juku-lp .sticky-cta-btn {
    font-size: 18px;
    padding: 16px 22px;
  }
}

/* 小型スマホ：余白・タイポを一段詰める */
@media (max-width: 480px) {
  .juku-lp.header-block + .juku-lp.fv-block {
    margin-top: -56px !important;
  }

  .juku-lp {
    --section-pt: 48px;
    --section-pb: 56px;
    --section-pt-strong: 56px;
    --section-pb-strong: 64px;
  }

  .juku-lp .container {
    width: calc(100% - 16px);
  }

  .juku-lp.header-embed-full .header-inner,
  .juku-lp.fv-embed-full .container {
    width: calc(100% - 16px);
  }

  .juku-lp.section-embed-full .reasons-inner,
  .juku-lp.section-embed-full .rtb-inner,
  .juku-lp.section-embed-full .flow-inner,
  .juku-lp.section-embed-full .cases-inner,
  .juku-lp.section-embed-full .faq-inner,
  .juku-lp.section-embed-full .closing-inner,
  .juku-lp.section-embed-full .sticky-cta-inner {
    width: calc(100% - 16px);
  }

  .juku-lp .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .juku-lp .header-icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .juku-lp .headline {
    font-size: var(--fv-fs-sp-lg);
  }

  .juku-lp .subcopy {
    font-size: var(--fv-fs-sp-md);
  }

  .juku-lp .cta {
    font-size: var(--fv-fs-sp-lg);
    padding: 16px 14px;
  }

  .juku-lp .footnotes {
    font-size: var(--fv-fs-sp-sm);
  }

  .juku-lp .reasons-title,
  .juku-lp .rtb-title,
  .juku-lp .flow-title,
  .juku-lp .cases-title,
  .juku-lp .faq-title,
  .juku-lp .closing-catch {
    font-size: 28px;
  }

  .juku-lp .reason-card {
    padding: 22px 18px 26px;
  }

  .juku-lp .reason-icon,
  .juku-lp .reason-icon-img {
    width: 128px;
    height: 128px;
  }

  .juku-lp .reason-title {
    font-size: var(--fv-fs-sp-lg);
  }

  .juku-lp .reason-body {
    font-size: var(--fv-fs-sp-md);
    line-height: 1.85;
  }

  .juku-lp .rtb-body {
    font-size: var(--fv-fs-sp-md);
  }

  .juku-lp .case-profile,
  .juku-lp .case-shift-line {
    font-size: var(--fv-fs-sp-sm);
  }

  .juku-lp .case-quote {
    font-size: var(--fv-fs-sp-md);
  }

  .juku-lp .rtb-head {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
    justify-items: center;
  }

  .juku-lp .rtb-num {
    font-size: 56px;
  }

  .juku-lp .faq-q {
    padding: 14px 14px;
  }

  .juku-lp .faq-q-text,
  .juku-lp .faq-a-text {
    font-size: 16px;
  }

  .juku-lp .qa {
    font-size: 26px;
  }

  .juku-lp .closing-cta {
    font-size: var(--fv-fs-sp-lg);
    padding: 16px 14px;
  }

  .juku-lp .closing-body {
    font-size: var(--fv-fs-sp-md);
  }

  .juku-lp.sticky-cta-on {
    padding-bottom: 112px;
  }
}

