/* =====================================================
   TOPページ専用スタイル (front-page.php)
   ===================================================== */

/* ---- ファーストビュー ---- */
.fv { position: relative; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); overflow: hidden; }

/* 背景アニメーション(世界のつながり)。本文より下のレイヤーに敷く */
.fv .fv-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fv .fv-bg canvas { display: block; width: 100%; height: 100%; }
.fv .fv-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 12%, var(--accent-soft) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 8% 88%, var(--primary-soft) 0%, transparent 70%);
  opacity: 0.5;
}
.fv .wrap { position: relative; z-index: 1; }

/* ヒーローの入場アニメーション(ふわっと立ち上がる) */
@keyframes jjs-fv-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.fv .fv-copy,
.fv .fv-lede,
.fv .fv-ctas,
.fv .fv-visual {
  animation: jjs-fv-rise 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.fv .fv-lede   { animation-delay: 0.15s; }
.fv .fv-ctas   { animation-delay: 0.3s; }
.fv .fv-visual { animation-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  .fv .fv-copy, .fv .fv-lede, .fv .fv-ctas, .fv .fv-visual { animation: none; }
}
.fv .fv-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 56px;
}
.fv h1 {
  font-size: var(--fv-size);
  letter-spacing: var(--fv-spacing);
  line-height: 1.32;
  color: var(--primary);
}
.fv .fv-sub {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--ink);
  margin-top: 18px;
}
.fv .fv-lede { color: var(--ink-soft); font-size: 15.5px; margin-top: 18px; max-width: 540px; }
.fv .fv-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.fv .fv-visual { position: relative; }
.fv .fv-visual .accent-frame {
  position: absolute;
  inset: 26px -26px -26px 26px;
  background: var(--primary-soft);
  border-radius: var(--radius);
  z-index: 0;
}
.fv .fv-visual img.slot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.fv .badge-strip { margin: 18px 0 64px; }
@media (max-width: 920px) {
  .fv .fv-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .fv .fv-visual img.slot { height: 300px; }
}

/* ---- 悩みカード ---- */
.pain-card .pain-q {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
}
.pain-card .pain-q::before {
  content: "“";
  display: block;
  font-size: 44px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 6px;
}

/* ---- 選ばれる理由 ---- */
.reason-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}
.reason-row + .reason-row { border-top: 1px solid var(--line); }
.reason-row .r-num {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.reason-row h3 { font-size: clamp(21px, 2.2vw, 27px); color: var(--primary); margin: 10px 0 14px; }
.reason-row p { color: var(--ink-soft); font-size: 15px; }
.reason-row img.slot {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.reason-row:nth-child(even) .r-visual { order: -1; }
@media (max-width: 860px) {
  .reason-row { grid-template-columns: 1fr; gap: 24px; }
  .reason-row:nth-child(even) .r-visual { order: 0; }
  .reason-row img.slot { height: 220px; }
}

/* ---- 定着率セクション ---- */
.stat-sec .stat-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.stat-sec .big-stat {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: clamp(64px, 8vw, 110px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.stat-sec .big-stat .unit { font-size: 0.38em; }
.stat-sec .big-stat-label { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 8px; letter-spacing: 0.1em; }
@media (max-width: 860px) { .stat-sec .stat-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- 導入事例 ---- */
.case-card { padding: 0; overflow: hidden; }
.case-card img.slot {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.case-card .case-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card .case-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.case-card .case-meta span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 4px;
  padding: 2px 9px;
}
.case-card h3 { font-size: 16px; line-height: 1.6; }
.case-card .case-result { font-size: 13px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 12px; }
.case-card .case-result strong { color: var(--accent-deep); }

/* ---- WordPress連携カード ---- */
.case-card .case-thumb { width: 100%; height: 180px; overflow: hidden; background: var(--bg-alt); }
.case-card .case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
a.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-card .case-thumb-empty { display: flex; align-items: center; justify-content: center; }
.case-card .case-thumb-empty span { font-family: ui-monospace, monospace; font-size: 12px; color: var(--ink-faint); }
.wp-live-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 16px;
  margin: -28px 0 32px;
}
.wp-live-note .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: wp-pulse 2s infinite;
}
@keyframes wp-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- 資料カード ---- */
.doc-card { text-align: left; }
.doc-card .doc-cover {
  height: 170px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(130px 90px at 85% 12%, rgba(255, 255, 255, 0.22), transparent 70%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  border: none;
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.doc-card .doc-cover::before {
  content: "FREE PDF";
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary-deep);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
}
.doc-card .doc-cover span {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.55;
  color: #fff;
  text-align: left;
  background: none;
  padding: 0;
  border: none;
}

.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.news-head .sec-title { margin-bottom: 0; }
.news-head-cta { flex-shrink: 0; }
#news .news-card { padding: 26px 26px 22px; justify-content: flex-start; }
#news .card-grid { margin-top: 28px; }
@media (max-width: 560px){ .news-head-cta { width: 100%; } }


/* ---------- マーカー下線(FV見出し) ---------- */
.marker {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  padding: 0 2px;
}

/* ---------- FV写真: 非対称角丸 ---------- */
.fv-visual img.slot {
  border-radius: 28px 28px 28px 90px;
  box-shadow: 0 16px 40px rgba(6, 42, 64, 0.18);
}

/* ---------- 数値バッジをカード化 ---------- */
.badge-strip .badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.badge-strip .badge::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* ---------- 数字でわかるJJS(ファクトグリッド) ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.fact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  text-align: center;
}
.fact .f-value {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.15;
  color: var(--primary);
}
.fact .f-value span { font-size: 15px; margin-left: 2px; font-weight: 700; }
.fact .f-label { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.7; }
@media (max-width: 900px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   2026-10 大胆リデザイン: 没入型ヒーロー+エディトリアル
   ===================================================== */

/* ---------- FV: フルスクリーン・濃紺・地球全面 ---------- */
.fv.fv-immersive {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(48, 187, 242, 0.16), transparent 60%),
    linear-gradient(145deg, #03121d 0%, #062a40 55%, #0a3a58 100%);
  color: #fff;
  padding: 120px 0 90px;
}
.fv-immersive .fv-bg { position: absolute; inset: 0; opacity: 0.95; }
.fv-immersive .fv-inner { position: relative; z-index: 2; }
.fv-eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.fv-immersive h1 {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 26px;
}
.marker-dk {
  background: linear-gradient(transparent 68%, rgba(48, 187, 242, 0.45) 68%);
  padding: 0 4px;
}
.fv-immersive .fv-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}
.fv-immersive .fv-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn-ghost-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* 実績バッジ: ガラス質感 */
.badge-strip.glass {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  max-width: 760px;
}
.badge-strip.glass .badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px 22px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.badge-strip.glass .badge::before { display: none; }
.badge-strip.glass .b-label { color: rgba(255, 255, 255, 0.65); font-size: 12px; }
.badge-strip.glass .b-value { color: #fff; font-size: 30px; font-weight: 900; font-family: var(--heading-font); }
.badge-strip.glass .b-value .b-unit { font-size: 13px; color: var(--accent); margin-left: 2px; }
.badge-strip.glass .b-value em { font-style: normal; color: var(--accent); }

/* SCROLLインジケーター */
.fv-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.3em;
}
.fv-scroll::after {
  content: "";
  width: 1.5px;
  height: 44px;
  background: linear-gradient(rgba(255, 255, 255, 0.8), transparent);
  animation: jjs-scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes jjs-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- 英字マーキー帯 ---------- */
.marquee {
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.marquee-track { display: flex; width: max-content; animation: jjs-marquee 28s linear infinite; }
.marquee-track span {
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.16em;
  color: #bcd9ea;
  white-space: nowrap;
  padding-right: 48px;
}
@keyframes jjs-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- お悩み: エディトリアル行リスト ---------- */
.issue-rows { margin-top: 40px; border-top: 1px solid var(--line); }
.issue-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  align-items: center;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.issue-row:hover { background: var(--primary-soft); padding-left: 20px; }
.issue-row .i-num {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
}
.issue-row .i-q {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--primary-deep);
}
.issue-row .i-a { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.issue-row .i-arrow {
  font-size: 26px;
  color: var(--primary);
  justify-self: end;
  transition: transform 0.25s ease;
}
.issue-row:hover .i-arrow { transform: translateX(8px); }

/* ---------- 数字でわかる: ダーク帯・特大数字 ---------- */
.facts-dark { background: linear-gradient(145deg, #041b2a, #062a40); }
.facts-dark .sec-title { color: #fff; }
.facts-dark .sec-lede { color: rgba(255, 255, 255, 0.8); }
.facts-dark .sec-label { color: var(--accent); }
.facts-dark .fact {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.facts-dark .fact .f-value { color: #fff; font-size: 38px; }
.facts-dark .fact .f-value span { color: var(--accent); }
.facts-dark .fact .f-label { color: rgba(255, 255, 255, 0.66); }
.facts-dark .note { color: rgba(255, 255, 255, 0.45); }

/* ---------- セクション見出しをエディトリアルに拡大 ---------- */
.sec-title { font-size: clamp(30px, 4vw, 46px); line-height: 1.35; }

/* ---------- reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .fv-scroll::after { animation: none; }
  .issue-row, .issue-row .i-arrow { transition: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .fv.fv-immersive { padding: 90px 0 70px; min-height: 92svh; }
  .badge-strip.glass { grid-template-columns: 1fr; gap: 10px; margin-top: 40px; }
  .badge-strip.glass .badge { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 18px; }
  .issue-row { grid-template-columns: 54px 1fr 32px; gap: 14px; padding: 22px 4px; }
  .issue-row .i-num { font-size: 28px; }
  .marquee-track span { font-size: 15px; }
  .pc-only { display: none; }
}

/* glassバッジ: 旧.badge-stripの白背景を無効化(数値が白文字のため) */
.badge-strip.glass {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
/* マーカー帯を文字に寄せる */
.marker-dk { background: linear-gradient(transparent 72%, rgba(48, 187, 242, 0.5) 72%); }

/* ---------- 受入可能性チェック ---------- */
.fit-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 36px;
}
.fit-inputs { padding: 34px 32px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); }
.fit-inputs label { font-weight: 700; font-size: 14px; color: var(--primary-deep); }
.fit-inputs select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.fit-inputs .btn { margin-top: 10px; justify-content: center; }
.fit-result { padding: 34px 32px; background: var(--bg); }
.fit-placeholder { color: var(--ink-faint); font-size: 14px; }
.fit-badge {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 18px;
  border-radius: 999px;
  padding: 6px 22px;
  margin-bottom: 14px;
}
.fit-badge.ok { background: var(--accent); color: var(--primary-deep); }
.fit-badge.maybe { background: var(--primary-soft); color: var(--primary); }
.fit-msg { font-size: 15px; line-height: 2; }
.fit-tip {
  margin-top: 14px;
  font-size: 13.5px;
  background: var(--primary-soft);
  border-radius: 10px;
  padding: 12px 16px;
  line-height: 1.9;
}
.fit-ng { color: #c0392b; font-weight: 700; }
.fit-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 860px) {
  .fit-panel { grid-template-columns: 1fr; }
  .fit-inputs { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- 料金のしくみ ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.price-card .p-when {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.price-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--primary-deep); }
.price-card p:not(.p-when) { font-size: 14px; line-height: 2; color: var(--ink-soft); }
.price-card.is-zero { border: 2px solid var(--accent); }
.price-card.is-zero .p-when { background: var(--accent); color: var(--primary-deep); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- タイポグラフィ底上げ(トップページ) ---------- */
.fact .f-value { font-size: 44px; }
.facts-dark .fact .f-value { font-size: 48px; }
.fact .f-value span { font-size: 17px; }
.fact .f-label { font-size: 14px; }
.badge-strip.glass .b-label { font-size: 13.5px; }
.badge-strip.glass .b-value { font-size: 36px; }
.issue-row .i-a { font-size: 15.5px; }
.fit-msg { font-size: 16px; }
.fit-tip { font-size: 14.5px; }
.news-card .news-date { font-size: 13.5px; }
.case-card .case-result { font-size: 14px; }
.marquee-track span { color: #a8cde2; }

/* =====================================================
   数字でわかるJJS: ベントーグリッド(羅列カードからの脱却)
   ===================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
  margin-top: 40px;
}
.bento-cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 26px 26px;
}

/* 主役セル: リンググラフ+説明(2x2) */
.bento-hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  gap: 32px;
  background:
    radial-gradient(240px 180px at 85% 15%, rgba(48, 187, 242, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.05);
}
.ring {
  flex: none;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 337deg, rgba(255, 255, 255, 0.12) 337deg);
  display: grid;
  place-items: center;
}
.ring-inner {
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #07293e;
  display: grid;
  place-items: center;
}
.ring-value {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 44px;
  color: #fff;
  line-height: 1;
}
.ring-value span { font-size: 20px; color: var(--accent); margin-left: 2px; }
.bento-hero-text h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bento-hero-text .b-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-deep);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
}
.bento-hero-text p { font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.8); }

/* 数値セル */
.bento-num .bn-value,
.bento-photo .bn-value,
.bento-mini .bn-value {
  font-family: var(--heading-font);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.bento-num .bn-value { font-size: 40px; }
.bento-num .bn-value span,
.bento-photo .bn-value span,
.bento-mini .bn-value span { font-size: 15px; color: var(--accent); margin-left: 3px; }
.bn-label { font-size: 13.5px; color: rgba(255, 255, 255, 0.68); margin-top: 8px; line-height: 1.8; }

/* 直営校セル(実写) */
.bento-photo {
  grid-column: 3 / 5;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 190px;
}
.bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.bento-photo .bp-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px;
  background: linear-gradient(transparent 20%, rgba(4, 27, 42, 0.9));
}
.bento-photo .bn-value { font-size: 26px; }
.bento-photo .bn-label { color: rgba(255, 255, 255, 0.78); }

/* ミニセル(対応力の帯) */
.bento-mini { padding: 20px 22px; }
.bento-mini .bn-value { font-size: 26px; }
.bento-mini .bn-label { font-size: 12.5px; margin-top: 4px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: 1 / 3; grid-row: auto; flex-direction: column; text-align: center; gap: 20px; padding: 32px 24px; }
  .bento-hero-text h3 { justify-content: center; }
  .ring { width: 160px; }
  .bento-photo { grid-column: 1 / 3; }
}

/* 数値の「名以上」折返し防止 */
.bento-num .bn-value, .bento-mini .bn-value { white-space: nowrap; }
@media (max-width: 960px) {
  .bento-num .bn-value { font-size: 32px; }
}


/* ===== 2026-10 微調整ラウンド ===== */
/* 見出し強調: 帯をやめてアクセント色の文字に */
.h1-em { color: var(--accent); }

/* SPで見出しが3行に折れないようサイズ調整 */
@media (max-width: 900px) {
  .fv-immersive h1 { font-size: clamp(34px, 10.2vw, 48px); line-height: 1.3; }
}

/* ガラスバッジ: 地球の明部と重なっても読めるよう背景を濃く */
.badge-strip.glass .badge {
  background: rgba(4, 22, 38, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}
.badge-strip.glass .b-value .b-unit { color: rgba(255, 255, 255, 0.85); }
.badge-strip.glass .b-value em { color: var(--accent); }

/* ===== ヒーロー調整(2026-10): 明るく誠実なブルー / 高さ圧縮 ===== */
.fv.fv-immersive {
  min-height: 0;
  padding: 92px 0 60px;
  background:
    radial-gradient(900px 620px at 78% 24%, rgba(80, 200, 245, 0.24), transparent 62%),
    linear-gradient(152deg, #0b3a5c 0%, #0d507c 55%, #1173ad 100%);
}
.fv-immersive .fv-eyebrow { margin-bottom: 16px; }
.fv-immersive h1 { margin-bottom: 20px; font-size: clamp(42px, 6.4vw, 88px); }
.fv-immersive .fv-ctas { margin-top: 28px; }
.badge-strip.glass { margin-top: 40px; }
.badge-strip.glass .badge {
  background: rgba(10, 46, 72, 0.5);
  border-color: rgba(255, 255, 255, 0.26);
}
@media (max-width: 900px) {
  .fv.fv-immersive { min-height: 0; padding: 64px 0 48px; }
  .badge-strip.glass { margin-top: 30px; }
}

/* コンパクト化したヒーローではSCROLLインジケーターは不要 */
.fv-scroll { display: none; }

/* =====================================================
   POPヒーロー(Timee参考: 明るい・人物写真・浮遊バッジ)
   ===================================================== */
.fv.fv-pop {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf6fd 0%, #ffffff 100%);
  padding: 72px 0 56px;
}
.pop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.pop-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  background: #fff;
  border: 1.5px solid var(--primary-soft);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(11, 154, 222, 0.1);
}
.fv-pop h1 {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.3;
  color: var(--primary-deep);
  margin: 0 0 22px;
}
.mk-y {
  background: linear-gradient(transparent 62%, #ffe16e 62%);
  padding: 0 2px;
}
.pop-lede {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 2.1;
  color: var(--ink-soft);
  max-width: 560px;
}
.pop-lede strong { color: var(--primary-deep); }
.fv-pop .fv-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* 写真と浮遊バッジ */
.pop-visual { position: relative; }
.pop-photo {
  width: 100%;
  height: auto;
  border-radius: 28px 28px 28px 96px;
  box-shadow: 0 18px 44px rgba(16, 58, 82, 0.16);
  display: block;
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 10px 28px rgba(16, 58, 82, 0.18);
  animation: pop-float 5s ease-in-out infinite;
}
.float-chip .fc-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.float-chip strong {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 24px;
  color: var(--primary);
  line-height: 1;
}
.float-chip strong small { font-size: 13px; margin-left: 1px; }
.chip-a { right: -16px; top: -22px; }
.chip-b { left: -18px; bottom: -20px; animation-delay: 1.4s; }
.chip-a strong { color: #e8a200; }
@keyframes pop-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.pop-dot { position: absolute; width: 34px; height: 34px; border-radius: 50%; opacity: 0.85; }
.pop-dot.sm { width: 18px; height: 18px; }

/* 実績ストリップ(白カード・上辺カラー) */
.pop-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.pop-stat {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px 16px;
  box-shadow: 0 6px 20px rgba(16, 58, 82, 0.07);
  overflow: hidden;
}
.pop-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--primary);
}
.pop-stat.is-key::before { background: #ffd95e; }
.pop-stat .ps-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.pop-stat .ps-value {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 34px;
  color: var(--primary-deep);
  line-height: 1.25;
  white-space: nowrap;
}
.pop-stat .ps-value span { font-size: 14px; color: var(--primary); margin-left: 3px; }
.pop-stat.is-key .ps-value { color: #d99500; }
.pop-stat.is-key .ps-value span { color: #d99500; }

@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }
@media (max-width: 960px) {
  .pop-grid { grid-template-columns: 1fr; gap: 40px; }
  .pop-visual { max-width: 520px; margin: 0 auto; }
  .chip-a { right: 0; }
  .chip-b { left: 0; }
  .pop-stats { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .pop-stat { display: flex; align-items: baseline; justify-content: space-between; }
  .pop-stat .ps-value { font-size: 28px; }
}

/* POPヒーロー微調整: 見出しを1行に収めマーカー崩れを防ぐ */
.fv-pop h1 { font-size: clamp(38px, 4.6vw, 64px); }
.float-chip { z-index: 2; }
.pop-dot { z-index: 1; }
.chip-a { right: -10px; top: -20px; }

/* =====================================================
   シネマワイドヒーロー: corp-jjs(ブロブ系)と差別化した
   「ドットパターン×ステッカー×青×黄」の独自言語
   ===================================================== */
.fv.fv-cine {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 64px 0 56px;
}
/* 水玉ドットパターン(ブロブの代わりの装飾言語) */
.dot-grid {
  position: absolute;
  width: 260px;
  height: 200px;
  background-image: radial-gradient(var(--primary-soft) 26%, transparent 27%);
  background-size: 22px 22px;
  pointer-events: none;
}
.dg-tr { right: 24px; top: 36px; }
.dg-bl {
  left: 24px;
  bottom: 220px;
  background-image: radial-gradient(#ffe9a8 32%, transparent 33%);
}

.cine-head { position: relative; z-index: 1; }
.cine-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-deep);
  margin-bottom: 18px;
}
.cine-eyebrow .ce-dot { width: 10px; height: 10px; border-radius: 50%; background: #ffce3a; }
.fv-cine h1 {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.25;
  color: #0c1b26;
  margin: 0 0 24px;
}
/* 見出しとリード/CTAの2カラム(エディトリアル) */
.cine-sub {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.cine-sub .fv-ctas { margin-top: 0; justify-content: flex-end; }

/* シネマワイド写真帯(全幅断ち落とし) */
.cine-band {
  position: relative;
  width: 100%;
}
.cine-band img {
  width: 100%;
  height: clamp(260px, 30vw, 430px);
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
/* ステッカー(角度付き・黄) */
.cine-sticker {
  position: absolute;
  left: max(24px, calc((100% - 1160px) / 2 + 24px));
  top: 34px;
  transform: rotate(-4deg);
  background: #ffce3a;
  color: #0c1b26;
  font-weight: 700;
  font-size: 15px;
  border-radius: 14px;
  padding: 12px 22px;
  box-shadow: 0 8px 22px rgba(12, 27, 38, 0.18);
}
.cine-sticker strong { font-family: var(--heading-font); font-weight: 900; font-size: 24px; margin: 0 2px; }
.cine-band .chip-a { right: max(24px, calc((100% - 1160px) / 2)); top: -24px; left: auto; }
.cine-band .chip-b { left: max(24px, calc((100% - 1160px) / 2)); bottom: -22px; }

.fv-cine .pop-stats { margin-top: 56px; }

@media (max-width: 960px) {
  .fv.fv-cine { padding: 44px 0 44px; }
  .cine-sub { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .cine-sub .fv-ctas { justify-content: flex-start; }
  .cine-band img { height: 240px; }
  .cine-sticker { top: 18px; font-size: 13px; padding: 9px 16px; }
  .cine-sticker strong { font-size: 19px; }
  .cine-band .chip-a { top: -18px; }
  .dot-grid { display: none; }
  .fv-cine .pop-stats { margin-top: 44px; }
}

/* SP: 見出しをフレーズ単位で改行 */
.br-sp { display: none; }
@media (max-width: 760px) {
  .br-sp { display: block; }
  .fv-cine h1 { font-size: clamp(34px, 9.4vw, 40px); }
}

/* ---- 資料カード: 実表紙画像版 ---- */
.doc-card .doc-cover.has-img { padding: 0; background: #eef4f8; }
.doc-card .doc-cover.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   サービス: 成長段階ジャーニー(採用→支援委託→自社支援化)
   ===================================================== */
.journey {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1.06fr;
  align-items: stretch;
  gap: 6px;
  margin-top: 44px;
}
.journey-step {
  position: relative;
  display: block;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.journey-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 60, 93, 0.12);
  border-color: var(--primary-soft);
}
.j-stage {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin: 0 0 10px;
}
.journey-step .tag { margin-bottom: 10px; }
.journey-step h3 {
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 23px;
  color: var(--ink);
  margin: 0 0 10px;
}
.journey-step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; margin: 0 0 14px; }
.j-arrow {
  align-self: center;
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 22px;
  color: var(--primary);
}
/* ゴール(自社支援化)を主役に */
.journey-step.is-goal {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #f3fbff 0%, #fff 55%);
}
.journey-step.is-goal .j-stage { color: var(--primary-deep); }
.j-sticker {
  position: absolute;
  top: -15px;
  right: 14px;
  transform: rotate(2.5deg);
  background: #ffce3a;
  color: #0c1b26;
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 6px 16px rgba(12, 27, 38, 0.16);
}
.j-note {
  margin: 26px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
}
/* 土台: 海外日本語教育の横長バー */
.journey-base {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  background: var(--bg-alt, #f2f8fb);
  border: 1.5px dashed var(--primary-soft);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-decoration: none;
}
.journey-base .jb-label {
  flex: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 999px;
  padding: 7px 14px;
}
.journey-base p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.journey-base .card-link { flex: none; white-space: nowrap; }

@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 4px; }
  .j-arrow { transform: rotate(90deg); padding: 2px 0; }
  .j-sticker { top: -13px; right: 10px; }
  .journey-base { flex-wrap: wrap; gap: 12px; }
}

/* ヒーロー: ミニジャーニーピル(採用→支援委託→自社支援化) */
.j-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.j-pill {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: 8px 18px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.j-pill:hover { transform: translateY(-2px); border-color: var(--primary); }
.j-pill.is-goal { background: #ffce3a; border-color: #ffce3a; color: #0c1b26; }
.jp-arrow { font-weight: 900; color: var(--primary); font-size: 15px; }
@media (max-width: 760px) {
  .j-pill { font-size: 12.5px; padding: 7px 13px; }
  .j-pills { gap: 6px; margin-bottom: 18px; }
}

/* FAQ: ジャーニー3ステージの見出し */
.faq-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
  margin: 34px 0 6px;
}
.faq-group:first-child { margin-top: 0; }
.faq-group .fg-num {
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 5px 12px;
}

/* 30秒チェック: チェック前の空状態(結果プレビュー) */
.fit-empty { display: flex; flex-direction: column; gap: 16px; }
.fe-kicker {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 0;
}
.fe-sample { display: flex; align-items: center; gap: 12px; opacity: 0.6; }
.fe-sample .fit-badge { margin: 0; }
.fe-note { font-size: 12.5px; color: var(--ink-faint); }
.fe-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fe-points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.fe-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

/* 選ばれる理由: ジャーニー段階チップ */
.r-num { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.r-stage {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 5px 13px;
}
.r-stage.is-goal { background: #ffce3a; border-color: #ffce3a; color: #0c1b26; }

/* SP: 眉ラベルが長くなったため1行に収める */
@media (max-width: 760px) {
  .cine-eyebrow { font-size: 11.5px; letter-spacing: 0.01em; align-items: flex-start; }
  .cine-eyebrow .ce-dot { flex: none; margin-top: 3px; }
}
