/* ============================================================
   介護AI実務研修 LP
   設計方針
   - セクション見出しは全て中央揃え、カード内本文は全て左揃えで統一
   - 余白・文字サイズ・字間はトークンで統一し、個別調整を作らない
   - 主要色はローズ／ブルーグレー／生成りの3系統＋無彩色のみ
   ============================================================ */

:root {
  /* color */
  --primary: #6f8fa8;
  --primary-deep: #3f6178;
  --primary-tint: #eef3f7;
  --accent: #6f8fa8;
  --accent-deep: #3f6178;
  --accent-tint: #eef3f7;
  --secondary: #e9e5d4;
  --band: #f3e7c4;
  --band-line: #dcc899;
  --background: #faf9f6;
  --surface: #ffffff;
  --surface-alt: #f5f3ec;
  --ink: #232e36;
  --body: #232e36;
  --muted: #333e46;
  --line: #ddd8cb;
  --line-soft: #e8e4da;

  /* type */
  --font-body: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-display: var(--font-body);
  --font-mono: var(--font-body);
  --ls-tight: 0.015em;
  --ls-base: 0.04em;
  --ls-wide: 0.16em;

  /* layout */
  --content: 1120px;
  --gutter: 20px;
  --pad-section: clamp(56px, 6.4vw, 96px);
  --gap-card: clamp(16px, 1.8vw, 24px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 30px rgba(45, 55, 62, 0.07);
  --shadow-raise: 0 18px 44px rgba(45, 55, 62, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: var(--ls-base);
  font-feature-settings: "palt" 1;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; letter-spacing: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px; top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

.section-shell { width: min(calc(100% - (var(--gutter) * 2)), var(--content)); margin-inline: auto; }
.section { padding-block: var(--pad-section); }

/* ---------- 共通見出し（全セクション中央揃え） ---------- */
.section-heading { margin-bottom: clamp(30px, 3.6vw, 48px); text-align: center; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  line-height: 1.4;
}
.eyebrow-ja { display: inline-block; margin-bottom: 16px; padding: 6px 18px; border: 1px solid var(--primary-deep); border-radius: 999px; font-size: 1.5rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; }
.section-heading h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.48;
}
/* 文節ラップ：語の途中で改行させない（L01 / L70 / L92） */
.wb { display: inline-block; white-space: nowrap; }
.case-hero h1 span { display: inline-block; white-space: nowrap; }
.section-lead { max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: 1.02rem; }
.section-heading-light h2 { color: #fff; }
.section-heading-light .eyebrow { color: #bcd4e3; }
.section-heading-light .section-lead { color: rgba(255, 255, 255, 0.76); }
.fine-print { margin: 22px 0 0; color: #5d6870; font-size: 0.86rem; font-weight: 500; line-height: 1.8; text-align: center; }
.fine-print-light { color: rgba(255, 255, 255, 0.76); }

/* ---------- ボタン ---------- */
/* スキルアップAIの「資料請求」ボタンに合わせ、影のない平らな塗り＋角丸4pxにする。
   立体的な段差シャドウはやめる（テンプレ的に見えるため）。 */
.button {
  position: relative;
  min-height: 54px;
  padding: 15px 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  background-image: linear-gradient(135deg, #35566c 0%, #4a7086 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition: background-image 160ms ease, opacity 160ms ease;
}
.button:hover { background-image: linear-gradient(135deg, #2e4b5f 0%, #42647a 100%); }
.button:active { background-image: linear-gradient(135deg, #28414f 0%, #3a586b 100%); }
.button-small { min-height: 44px; padding: 9px 20px; font-size: 0.93rem; }
.button-lg { min-height: 58px; padding: 17px 48px; font-size: 1.08rem; }

/* 副ボタン：同サイトの「お問い合わせ」と同じ白地＋1px枠線 */
.text-link {
  min-height: 58px;
  padding: 17px 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-deep);
  border-radius: 4px;
  background: var(--surface);
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease;
}
.text-link:hover { background: var(--primary-tint); color: #35566c; }

:where(a, button, summary, input, textarea):focus-visible {
  outline: 3px solid rgba(63, 97, 120, 0.6);
  outline-offset: 3px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}
.header-inner {
  width: calc(100% - 64px);
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 160ms ease;
}
.brand:hover { color: var(--primary-deep); }
.brand-mark { display: none; }
/* スマホ用ハンバーガー（2026-09-06 ユーザー指示：右端に3本線ボタン。900px以下で表示） */
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: 4px; padding: 0; flex: 0 0 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }
.desktop-nav { display: flex; gap: 26px; margin-left: auto; }
.desktop-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.desktop-nav a:hover { color: var(--primary-deep); border-color: var(--primary); }

/* ---------- 1. ファーストビュー ---------- */
/* FVは全幅。ヘッダー直下に余白なしで写真を敷く */
.hero {
  position: relative;
  overflow: hidden;
  background: #46525c;
}
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 36%; }
/* スキルアップAI式：左右差のない均一の暗色オーバーレイを敷き、白文字を載せる */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(35, 46, 54, 0.66);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  min-height: clamp(460px, 40vw, 620px);
  margin-inline: auto;
  padding-block: clamp(48px, 5.6vw, 80px);
  display: flex;
  align-items: center;
}
.hero-copy { width: min(100%, 540px); }
.hero-eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.72rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.44;
}
.hero-rule { display: block; width: 64px; height: 2px; margin: 20px 0; background: rgba(255, 255, 255, 0.65); }
.hero-lead { color: rgba(255, 255, 255, 0.95); font-size: 1.02rem; line-height: 1.95; }
.pc-br { display: inline; }
.hero-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.hero-actions .button { border-color: rgba(255, 255, 255, 0.55); }

/* ---------- 2. 助成制度の帯 ---------- */
/* 2026-09-02 案A：FVの暗色をそのまま延長した濃紺帯（白文字・数字だけ帯色ゴールド） */
.offer-band {
  background: #2d4353;
}
.offer-band-inner { display: flex; align-items: center; justify-content: center; gap: 10px 28px; flex-wrap: wrap; padding-block: clamp(14px, 1.8vw, 20px); text-align: center; }
.offer-band-text {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: 1.6;
}
.offer-em {
  display: inline-block;
  margin-inline: 0.14em;
  color: #f3e7c4;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.offer-em.is-visible { animation: offer-pop 660ms cubic-bezier(0.2, 0.9, 0.25, 1.35) 1 both; }
@keyframes offer-pop {
  0% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-9px) scale(1.09); }
  74% { transform: translateY(2px) scale(0.99); }
  100% { transform: translateY(0) scale(1); }
}

/* ---------- 3. 事例カルーセル ---------- */
.cases { background: var(--surface); }
.carousel-wrap { margin-top: clamp(28px, 3vw, 40px); }
.case-track {
  display: flex;
  gap: var(--gap-card);
  padding: 4px max(var(--gutter), calc((100% - var(--content)) / 2)) 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.case-track::-webkit-scrollbar { display: none; }
.case-track:active { cursor: grabbing; }
.case-card { flex: 0 0 clamp(272px, 30%, 358px); scroll-snap-align: start; }
.case-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.case-card > a:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-raise); }
.case-card-head { display: grid; grid-template-columns: 40% 60%; align-items: stretch; }
.case-thumb {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-thumb span {
  color: #6f6c60;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.case-tag { padding: 18px 18px 16px; background: var(--accent-deep); color: #fff; }
.case-no {
  margin-bottom: 10px;
  color: #d3e3ec;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
}
.case-target { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.5; }
.case-role { margin-top: 2px; color: rgba(255, 255, 255, 0.78); font-size: 0.84rem; line-height: 1.6; }
.case-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.case-card-body h3 { font-size: 1.14rem; line-height: 1.6; }
.case-card-body > p { margin-top: 8px; color: var(--muted); font-size: 0.93rem; line-height: 1.8; }
.card-link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-block;
  align-self: flex-start;
  color: var(--accent-deep);
  font-size: 0.91rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.card-link::after { content: ""; display: block; height: 2px; margin-top: 3px; background: var(--accent); transition: background-color 160ms ease; }
.case-card > a:hover .card-link { color: var(--primary-deep); }
.case-card > a:hover .card-link::after { background: var(--primary); }
.carousel-progress {
  width: min(360px, calc(100% - (var(--gutter) * 2)));
  height: 3px;
  margin-inline: auto;
  border-radius: 999px;
  background: #e6e2d8;
}
.carousel-progress span { display: block; width: 33%; height: 100%; border-radius: 999px; background: var(--primary); transition: width 160ms linear; }

.cases-more { margin-top: clamp(26px, 3vw, 36px); text-align: center; }

/* ---------- 事例一覧ページ ---------- */
.case-index { display: grid; gap: 16px; margin-top: clamp(20px, 2.4vw, 30px); padding-bottom: var(--pad-section); }
.case-index a {
  display: block;
  padding: clamp(20px, 2.4vw, 26px) clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.case-index a:hover { border-color: var(--primary-deep); background: var(--primary-tint); }
.case-index .case-no { color: var(--accent-deep); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; letter-spacing: var(--ls-wide); }
.case-index h2 { margin: 8px 0 6px; color: var(--ink); font-size: 1.22rem; font-weight: 700; }
.case-index p:not(.case-no) { color: var(--muted); font-size: 0.97rem; line-height: 1.85; }
.case-index .card-link { margin-top: 4px; padding-top: 8px; }

/* ---------- 4. お悩み ---------- */
.issues { background: var(--surface-alt); }
.issue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
/* sumu-inc.jp参考：影付きの箱にせず、生成りの背景へ直接置く。見出しだけ白い帯に載せる */
.issue-card { display: flex; flex-direction: column; }
.issue-figure { padding: 0 26px; }
.issue-figure img { width: 100%; height: 172px; object-fit: contain; mix-blend-mode: multiply; }
.issue-text { padding: 16px 6px 0; }
.issue-heading {
  position: relative;
  margin-bottom: 14px;
  padding: 12px 16px 12px 52px;
  border-radius: 10px;
  background: var(--surface);
}
.issue-no {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-deep);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.issue-text h3 { font-size: 1.12rem; line-height: 1.5; }
.issue-text > p { padding-inline: 6px; color: var(--muted); font-size: 0.96rem; line-height: 1.9; }

/* ---------- 5. 解決策 ---------- */

/* ---------- 5. そんな方に（ジェネラボ参考：吹き出しラベル＋強調見出し） ---------- */
.bridge { background: var(--surface); }
.bridge-inner { text-align: center; }
.bridge-label {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
  padding: 10px 24px;
  border-radius: 8px;
  background: var(--primary-deep);
  color: #fff;
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.bridge-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-bottom: 0;
  border-top-color: var(--primary-deep);
}
.bridge h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.65; }
.hl { font-style: normal; padding: 0 4px; background: linear-gradient(transparent 60%, var(--band) 60%); }
.bridge-actions { margin-top: 28px; }

/* ---------- 6. 研修から現場定着までの支援 ---------- */
.support { background: var(--surface); }
.support-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.45fr);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.support-copy {
  padding: clamp(26px, 3.6vw, 48px);
  border-right: 1px solid var(--line-soft);
}
.support-pill {
  width: fit-content;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid var(--primary-deep);
  border-radius: 999px;
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}
.support-copy h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.6; }
.support-copy > p:last-child { margin-top: 18px; color: var(--muted); font-size: 0.97rem; line-height: 1.95; }
.support-journey {
  min-width: 0;
  padding: clamp(30px, 4vw, 52px) clamp(22px, 3.2vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) minmax(132px, 0.8fr);
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  background: linear-gradient(135deg, #fbfcfd 0%, var(--primary-tint) 100%);
}
.journey-step { min-width: 0; text-align: center; }
.journey-label {
  width: fit-content;
  margin: 0 auto 22px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #e7e8e8;
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}
.journey-after .journey-label { background: var(--primary-deep); color: #fff; }
.journey-icon { position: relative; width: 86px; height: 92px; margin: 0 auto 18px; }
.journey-icon-before span {
  position: absolute;
  width: 58px;
  height: 74px;
  border: 1px solid #7d858b;
  border-radius: 2px;
  background: #fff;
}
.journey-icon-before span:nth-child(1) { left: 4px; top: 16px; }
.journey-icon-before span:nth-child(2) { left: 13px; top: 8px; }
.journey-icon-before span:nth-child(3) { left: 22px; top: 0; }
.journey-icon-before span:nth-child(3)::before,
.journey-icon-before span:nth-child(3)::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1px;
  background: #9aa0a4;
}
.journey-icon-before span:nth-child(3)::before { top: 28px; }
.journey-icon-before span:nth-child(3)::after { top: 40px; }
.journey-icon-after span {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 62px;
  height: 78px;
  border: 2px solid var(--primary-deep);
  border-radius: 3px;
  background: #fff;
}
.journey-icon-after span::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 27px;
  height: 1px;
  background: var(--primary);
  box-shadow: 0 12px 0 var(--primary);
}
.journey-icon-after span::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -10px;
  width: 30px;
  height: 30px;
  border: 5px solid var(--primary-tint);
  border-radius: 50%;
  background: var(--primary-deep);
}
.journey-line { height: 2px; background: var(--primary); }
.journey-title { color: var(--body); font-size: 0.9rem; font-weight: 700; line-height: 1.75; }
.journey-goal {
  aspect-ratio: 1;
  min-width: 132px;
  max-width: 166px;
  margin-inline: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-deep);
  border-radius: 50%;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.journey-goal strong { display: block; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; }
.journey-goal-small { font-size: 0.78rem; }
.support-divider { margin: clamp(28px, 3.5vw, 40px) 0 22px; display: flex; align-items: center; gap: 24px; color: var(--ink); font-weight: 700; text-align: center; }
.support-divider::before, .support-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.support-divider span { white-space: nowrap; }
.support-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); }
.support-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}
.support-card-label { margin-bottom: 12px; color: var(--primary-deep); font-size: 0.82rem; font-weight: 700; letter-spacing: var(--ls-wide); }
.support-card h3 { padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); font-size: 1.2rem; line-height: 1.65; }
.support-card > p:last-child { margin-top: 16px; color: var(--muted); font-size: 0.95rem; line-height: 1.9; }

/* ---------- 6.5 導入・支援実績（2026-09-04 案B：会社サイト「数字で見る」寄せの濃紺帯） ---------- */
.results { --icon-bg: #2d4353; background: #2d4353; color: #fff; }
.results .eyebrow-ja { border-color: var(--band); color: var(--band); }
.results h2 { color: #fff; }
/* 主カード・サブカード共通のクリーム帯（企業属性）。2026-09-06 案1・ユーザー選定で主カードにも同じ帯を敷く */
.result-band { display: block; padding: 16px 20px; background: var(--band); color: #2d4353; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.5; text-align: center; }
.result-main {
  --main-pad-x: clamp(22px, 3vw, 44px);
  margin-top: clamp(28px, 3.2vw, 44px);
  padding: 0 var(--main-pad-x) clamp(26px, 3vw, 40px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: transparent;
}
.result-main-band { grid-column: 1 / -1; margin: 0 calc(-1 * var(--main-pad-x)); }
.result-headline { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.45; }
.result-big { display: inline-block; margin-right: 0.12em; color: var(--band); font-size: 2.6em; font-weight: 900; line-height: 1; letter-spacing: -0.01em; vertical-align: -0.06em; }
.result-big small { font-size: 0.38em; font-weight: 700; margin-right: 0.15em; vertical-align: 0.6em; }
.result-big small.unit { margin-left: 0.04em; margin-right: 0; vertical-align: 0.05em; }
.result-big-word { font-size: 1.5em; font-weight: 900; color: #fff; }
.result-desc { margin-top: 14px; color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; line-height: 1.9; }
.result-main-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-left: clamp(0px, 2vw, 24px);
  padding-right: 128px;
  border-left: 1px dashed rgba(255, 255, 255, 0.35);
}
.result-step { text-align: center; }
.result-step-label { display: inline-block; margin-bottom: 10px; padding: 5px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 0.86rem; font-weight: 600; }
.result-step-after .result-step-label { background: var(--band); color: #2d4353; }
.result-icon { display: block; width: 96px; height: 96px; margin: 0 auto 8px; color: rgba(255, 255, 255, 0.75); }
.result-step-after .result-icon { color: var(--band); }
.result-step-caption { color: rgba(255, 255, 255, 0.88); font-size: 0.8rem; font-weight: 600; }
.result-step-value { margin-top: 2px; color: rgba(255, 255, 255, 0.92); font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.result-step-value small { font-size: 0.55em; font-weight: 600; }
.result-step-after .result-step-value { color: var(--band); }
.result-chevron { width: 22px; height: 22px; margin-top: 74px; color: var(--band); }
.result-badge {
  position: absolute; right: 0; top: 50%; width: 118px; height: 118px; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px solid var(--band); border-radius: 50%; background: #2d4353; color: var(--band); text-align: center; line-height: 1.1;
}
.result-badge-label { font-size: 0.72rem; font-weight: 700; }
.result-badge-num { font-size: 1.9rem; font-weight: 900; }
.result-badge-num small { font-size: 0.5em; font-weight: 700; }
.result-divider { margin: clamp(28px, 3.2vw, 44px) 0 clamp(18px, 2.2vw, 28px); display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; font-weight: 600; }
.result-divider::before, .result-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.28); }
.result-sub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); }
/* 2枚のカードで見出しブロックの高さと罫線の位置をそろえる（subgrid。非対応環境は各カードの内容高さで並ぶ） */
@supports (grid-template-rows: subgrid) {
  .result-sub { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
}
/* サブカード：上部にクリームの帯（企業属性）を敷き、輪郭アイコンを帯に半分重ねる（2026-09-04 案4・ユーザー選定） */
.result-sub { --sub-pad-x: clamp(24px, 3vw, 40px); padding: 0 var(--sub-pad-x) clamp(30px, 3.2vw, 40px); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius); background: transparent; text-align: center; overflow: hidden; }
.result-sub-head { display: flex; flex-direction: column; padding-bottom: clamp(22px, 2.4vw, 30px); border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.result-sub-band { order: -1; margin: 0 calc(-1 * var(--sub-pad-x)); padding-bottom: 54px; }
.result-ring { width: 76px; height: 76px; margin: -38px auto 18px; display: grid; place-items: center; border: 2px solid var(--band); border-radius: 50%; background: #2d4353; color: #fff; }
.result-ring svg { width: 46px; height: 46px; }
.result-sub h3 { color: #fff; font-size: clamp(1.12rem, 1.5vw, 1.32rem); font-weight: 700; line-height: 1.55; }
.result-sub h3 { margin-top: 18px; }
.result-sub-figure { margin: 0; color: var(--band); font-size: 3.4rem; font-weight: 900; line-height: 1; letter-spacing: -0.01em; }
.result-sub-figure small { font-size: 0.6em; font-weight: 700; }
.result-sub-figure-lbl { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.result-sub .result-desc { margin-top: clamp(20px, 2.2vw, 26px); font-size: 0.92rem; text-align: left; }

/* ---------- 7. 研修の特徴・カリキュラム ---------- */
.program { background: var(--surface-alt); }
.group-block {
  margin-bottom: clamp(28px, 3vw, 40px);
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.6vw, 36px) clamp(26px, 2.8vw, 36px);
  border-left: 6px solid var(--accent-deep);
  border-radius: 4px var(--radius) var(--radius) 4px;
  background: var(--accent-tint);
}
.group-block:last-of-type { margin-bottom: 0; }
.group-build { border-left-color: var(--primary-deep); background: var(--primary-tint); }
/* グループ見出し部（パネル内の上段） */
.group-head {
  padding: 0 0 clamp(20px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  border-bottom: 1px solid rgba(63, 97, 120, 0.18);
}
.group-label {
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
}
.group-build .group-label { color: var(--primary-deep); }
.group-title { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.group-count {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.group-build .group-count { background: var(--primary-deep); }
.group-desc { margin-top: 12px; color: var(--body); font-size: 0.97rem; line-height: 1.9; }
.group-figure {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}
.group-figure img { width: 100%; height: 100%; object-fit: cover; }
/* 流れ図など全体を見せたい画像は、枠を画像の比率に合わせて見切れを防ぐ */
.group-figure.has-img { aspect-ratio: auto; background: #fff; }
.group-figure.has-img img { height: auto; object-fit: contain; }
.group-figure span { color: #6f6c60; font-size: 0.82rem; letter-spacing: 0.1em; }
.course-grid { margin-top: clamp(20px, 2.2vw, 28px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.course-card {
  padding: 4px clamp(18px, 2vw, 28px) 4px 0;
}
.course-card + .course-card { padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid rgba(63, 97, 120, 0.18); }
.course-no { color: var(--accent-deep); font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; letter-spacing: var(--ls-wide); }
.group-build .course-no { color: var(--primary-deep); }
.course-card h4 { margin: 8px 0 14px; font-size: 1.18rem; line-height: 1.45; }
.course-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 0.97rem; font-weight: 600; }
.course-points { display: grid; gap: 8px; }
.course-points li { position: relative; padding-left: 16px; color: var(--body); font-size: 0.95rem; line-height: 1.8; }
.course-points li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ---------- 7. 他の学び方との違い ---------- */
.comparison { background: #3a5568; }
.compare { display: grid; gap: 2px; }
.compare-row { display: grid; grid-template-columns: 148px minmax(0, 1fr) minmax(0, 1fr); gap: 2px; }
.compare-row > * {
  min-width: 0;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.97rem;
  line-height: 1.65;
  text-align: center;
}
.compare-axis { background: #2d4353; color: #fff; font-family: var(--font-display); font-size: 0.93rem; font-weight: 700; }
.compare-ours { border-inline: 2px solid var(--primary); background: var(--surface); color: var(--ink); font-weight: 700; }
.compare-other { background: #e9e8e4; color: #59626a; }
.compare-head > * { padding-block: 18px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; }
.compare-head .compare-axis { background: transparent; }
.compare-head .compare-ours { border-top: 2px solid var(--primary); border-radius: var(--radius) var(--radius) 0 0; background: var(--primary-deep); color: #fff; }
.compare-head .compare-other { border-radius: var(--radius) var(--radius) 0 0; background: #b8bcc0; color: #2c3439; }
.compare-row:last-child .compare-ours { border-bottom: 2px solid var(--primary); border-radius: 0 0 var(--radius) var(--radius); }
.compare-row:last-child .compare-other { border-radius: 0 0 var(--radius) var(--radius); }
.compare-text { margin: 0; }
.mark { font-size: 1.35rem; line-height: 1; }
.mark-good { color: var(--primary-deep); }
.mark-mid, .mark-no { color: #5f666c; }


/* ---------- 8. CTA ---------- */
.cta { background: var(--surface); }
.cta-card {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(40px, 4.4vw, 56px) clamp(24px, 3vw, 56px) clamp(30px, 3.4vw, 42px);
  border: 2px solid var(--primary);
  border-radius: 20px;
  background: linear-gradient(180deg, #fdfdfe 0%, var(--primary-tint) 100%);
  text-align: center;
}
.cta-badge {
  position: absolute;
  left: 50%; top: 0;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.cta-card h2 { font-size: clamp(1.4rem, 3vw, 2.05rem); line-height: 1.5; }
.cta-lead { margin-top: 14px; color: var(--body); font-size: 0.99rem; }
.cta-actions { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-note { margin-top: 26px; color: var(--muted); font-size: 0.86rem; font-weight: 500; line-height: 1.8; }
.cta-note strong { color: var(--primary-deep); font-size: 1.06em; }

/* ---------- 8.5 助成金（2026-09-06 案C・ユーザー選定：濃紺の独立セクション。大きな75%OFF＋申請の流れ3ステップ） ---------- */
.subsidy { background: #2d4353; color: #fff; }
.subsidy .eyebrow-ja { border-color: var(--band); color: var(--band); }
.subsidy h2 { color: #fff; }
.subsidy .section-lead { color: rgba(255, 255, 255, 0.88); }
.subsidy-figure { margin: clamp(22px, 2.6vw, 34px) auto 0; text-align: center; color: var(--band); font-weight: 900; line-height: 1; }
.subsidy-figure .num { font-size: clamp(3.4rem, 7vw, 5.4rem); letter-spacing: -0.01em; }
.subsidy-figure .num small { font-size: 0.42em; font-weight: 700; margin-right: 0.15em; vertical-align: 0.95em; }
.subsidy-figure .num small.unit { font-size: 0.5em; margin: 0 0 0 0.06em; vertical-align: 0.1em; }
.subsidy-figure .sub { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1.7; }
.subsidy-steps { margin-top: clamp(30px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
.subsidy-step { position: relative; padding: 40px clamp(20px, 2.4vw, 28px) clamp(24px, 2.6vw, 30px); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--radius); text-align: center; }
.subsidy-step .no { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--band); color: #2d4353; font-size: 1.1rem; font-weight: 900; }
.subsidy-step .when { color: var(--band); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; }
.subsidy-step h3 { margin-top: 8px; color: #fff; font-size: 1.12rem; font-weight: 700; line-height: 1.55; }
.subsidy-step p:last-child { margin-top: 12px; color: rgba(255, 255, 255, 0.88); font-size: 0.92rem; line-height: 1.9; text-align: left; }

/* ---------- 9. 無料相談の流れ ---------- */
/* スムサポ（sumu-inc.jp/sumu-sapo）参考：白カード上端に円形STEPバッジを半分重ねる。
   背景には同サイト風の大きな円・輪の線画シェイプを淡青で敷く（殺風景対策） */
.flow { position: relative; overflow: hidden; background: var(--primary-tint); }
.flow::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -150px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: #dfe9f1;
}
.flow::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -170px;
  width: 480px;
  height: 480px;
  border: 58px solid #dfe9f1;
  border-radius: 50%;
}
.flow > .section-shell { position: relative; z-index: 1; }
.flow .section-shell::before,
.flow .section-shell::after { z-index: -1; pointer-events: none; }
.flow .section-shell::before {
  content: "";
  position: absolute;
  top: 8px;
  right: -60px;
  width: 150px;
  height: 150px;
  border: 26px solid #e4edf3;
  border-radius: 50%;
}
.flow .section-shell::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: 220px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #e4edf3;
}
.flow-list { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
.flow-list li {
  position: relative;
  padding: 48px 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.step-badge {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 50%;
  background: var(--primary-deep);
  color: #fff;
}
.step-word { font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; }
.step-num { font-family: var(--font-mono); font-size: 1.28rem; font-weight: 700; line-height: 1; letter-spacing: 0.02em; }
.flow-list h3 { font-size: 1.14rem; text-align: center; }
/* STEPイラスト：3枚とも同じ枠・同じ余白。全体が切れないよう contain、白背景はカードの白に馴染ませる */
.step-figure { width: 120px; height: 120px; margin: 2px auto 14px; }
.step-figure img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.step-rule { display: block; width: 36px; height: 2px; margin: 14px auto; background: var(--primary); }
.flow-list li > p:last-child { color: var(--muted); font-size: 0.95rem; line-height: 1.85; }

.contact-form {
  max-width: 820px;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.form-copy { grid-column: 1 / -1; text-align: center; }
.form-copy h3 { font-size: 1.3rem; }
.form-copy p { margin-top: 8px; color: var(--muted); font-size: 0.91rem; font-weight: 500; }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: 0.95rem; font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 400;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form input { min-height: 50px; }
.contact-form input:hover, .contact-form textarea:hover { border-color: var(--accent); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(63, 97, 120, 0.14); }
.contact-form .full { grid-column: 1 / -1; }
.form-status { min-height: 1.8em; color: var(--accent-deep); font-size: 0.95rem; font-weight: 700; text-align: center; }

/* ---------- 10. FAQ ---------- */
.faq { background: var(--surface); }
.faq-shell { max-width: 860px; }
.faq-group + .faq-group { margin-top: 34px; }
.faq-group > h3 {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  color: var(--primary-deep);
  font-size: 0.99rem;
  letter-spacing: 0.06em;
}
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  width: 14px; height: 2px;
  background: var(--primary-deep);
  transition: transform 200ms ease;
}
.faq summary::before { transform: translateY(-50%) rotate(90deg); }
.faq summary::after { transform: translateY(-50%); }
.faq details[open] summary::before { transform: translateY(-50%) rotate(0deg); }
.faq summary:hover { color: var(--primary-deep); }
.faq details > p { margin: -4px 0 22px; padding-right: 44px; color: var(--muted); font-size: 0.97rem; }

/* ---------- フッター ---------- */
.site-footer { padding-block: 40px; border-top: 1px solid var(--line-soft); background: #eeeae1; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
/* 会社概要（フッター・小さく） */
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px 48px; align-items: start; }
.footer-company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 0; }
.footer-company > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; font-size: 0.8rem; line-height: 1.7; }
.footer-company dt { color: var(--muted); font-weight: 600; }
.footer-company dd { margin: 0; color: var(--body); }
.footer-company a { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; letter-spacing: 0.05em; }
.footer-brand p { margin-top: 4px; color: #5a656d; font-size: 0.91rem; }

/* ---------- 事例詳細ページ ---------- */
/* 事例詳細はナビが無いので、白バーの幅を本文幅に合わせ、ボタンを右端へ寄せる */
/* 下層ページのヘッダーもトップと同じ：全幅・ブランド左端・固定（2026-09-06 ユーザー指示。以前は本文幅820pxに寄せて中央に見えていた） */
/* PCではナビが margin-left:auto で右へ寄るので、ボタン側の auto は付けない（付けると余白が分かれてナビが中央に浮く） */
.case-hero, .case-main { width: min(calc(100% - (var(--gutter) * 2)), 820px); }
.case-hero { padding: clamp(44px, 5vw, 72px) 0 clamp(28px, 3vw, 40px); }
.case-hero .eyebrow { margin-bottom: 16px; }
.case-hero h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 700; line-height: 1.5; }
.case-lead { margin-top: 18px; color: var(--muted); font-size: 1.02rem; }
.case-main { padding-bottom: clamp(56px, 6vw, 92px); }
.case-figure {
  margin: 0 0 clamp(32px, 4vw, 52px);
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.case-figure img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
/* 事例詳細：紹介動画（16:9・横動画） */
.case-figure-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: var(--radius-sm);
  background: #232e36;
}
/* 事例詳細：操作動画（16:9・全幅。下に見どころ3点） */
.case-video {
  margin: 0 0 clamp(32px, 4vw, 52px);
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.case-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); background: #0f4f4a; }
.case-video-aside { margin-top: 18px; }
.case-video-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--ink); font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; line-height: 1.6; }
.case-video-meta { color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.case-video-points { margin: 10px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; }
.case-video-points li { position: relative; padding-left: 18px; color: var(--body); font-size: 0.98rem; line-height: 1.8; }
.case-video-points li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 8px; height: 2px; background: var(--primary-deep); }
.case-video figcaption { margin-top: 14px; color: var(--muted); font-size: 0.86rem; font-weight: 500; line-height: 1.8; }
@media (max-width: 720px) {
  .case-video-points { grid-template-columns: 1fr; }
}
.case-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 0.86rem; font-weight: 500; line-height: 1.8; }
.case-content { max-width: none; }
.case-main-text { width: min(calc(100% - (var(--gutter) * 2)), 820px); }
.case-content section { margin-top: clamp(32px, 4vw, 52px); }
.case-content h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.55; }
.case-content section > p { margin-top: 12px; }
.case-content p, .case-content li { color: var(--body); font-size: 1.01rem; }
.case-steps { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
.case-steps li { padding: 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.case-steps strong { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--font-display); font-size: 1.06rem; }
.case-steps p { color: var(--body); font-size: 0.94rem; line-height: 1.8; }
.back-link {
  min-height: 44px;
  margin-top: clamp(36px, 4vw, 52px);
  display: inline-flex;
  align-items: center;
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 0.99rem;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  transition: color 160ms ease, border-color 160ms ease;
}
.back-link:hover { color: var(--primary-deep); border-color: var(--primary); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1040px) {
  .support-feature { grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); }
  .support-journey { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); }
  .journey-goal { grid-column: 1 / -1; aspect-ratio: auto; max-width: none; min-width: 0; width: 100%; padding: 14px 22px; border-radius: 8px; }
  .journey-goal strong { display: inline; margin-inline: 5px; font-size: 1.4rem; }
  .group-head { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .compare-row { grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { width: min(calc(100% - (var(--gutter) * 2)), var(--content)); }
  .desktop-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 6px var(--gutter) 20px; border-bottom: 1px solid var(--line-soft); background: #fff; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a:not(.button) { padding: 15px 2px; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; }
  .mobile-nav a:not(.button):hover { color: var(--primary-deep); }
  .mobile-nav .button { margin-top: 16px; justify-self: stretch; }
  .header-inner .button { margin-left: auto; }
  .case-card { flex-basis: clamp(272px, 46%, 330px); }
  .flow-list, .course-grid, .case-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-grid { gap: 20px 0; }
  .course-grid > :last-child:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 20px; border-top: 1px solid rgba(63, 97, 120, 0.18); }
  .case-steps > :last-child:nth-child(3) { grid-column: 1 / -1; }
  .group-head { grid-template-columns: minmax(0, 1fr); }
  .group-figure { aspect-ratio: 16 / 7; max-height: 200px; }
  .group-figure.has-img { aspect-ratio: auto; max-height: none; }
}

/* ---- スマホ ---- */
@media (max-width: 860px) {
  .subsidy-steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  :root { --gutter: 16px; }
  /* スマホは写真を上部に16:10で全幅表示し（全体像が見える）、下端を暗色に溶かしてコピーを重ねる */
  .hero { background: #232e36; }
  .hero-media { inset: 0 0 auto 0; height: auto; aspect-ratio: 16 / 10; }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(180deg, rgba(35, 46, 54, 0) 0%, #232e36 100%);
  }
  .hero-media img { object-position: 58% 42%; }
  .hero-inner { min-height: 0; padding-block: calc(62.5vw * 0.7) clamp(36px, 8vw, 48px); }
  .hero-copy { width: 100%; max-width: 560px; }
  .hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: nowrap; }
  .hero-actions .button, .hero-actions .text-link { flex: 1; min-height: 50px; padding: 12px 8px; font-size: 0.97rem; }
  .issue-grid { grid-template-columns: minmax(0, 1fr); }
  .issue-card { flex-direction: row; align-items: flex-start; gap: 2px; }
  .issue-figure { flex: 0 0 104px; padding: 6px 0 0; align-self: center; }
  .issue-figure img { height: 96px; }
  .issue-text { flex: 1; min-width: 0; padding: 0 0 0 6px; }
  .issue-heading { margin-bottom: 8px; padding: 10px 12px 10px 46px; }
  .issue-no { left: 10px; width: 27px; height: 27px; font-size: 0.76rem; }
  .issue-text h3 { font-size: 1.06rem; }
  .issue-text > p { font-size: 0.91rem; padding-inline: 2px; }
  .support-feature { grid-template-columns: minmax(0, 1fr); }
  .support-copy { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .support-journey { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); }
  .compare-row { grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1fr); }
  .compare-row > * { padding: 14px 8px; font-size: 0.86rem; }
  .compare-axis { padding-inline: 4px; font-size: 0.82rem; }
  .compare-head > * { font-size: 0.89rem; }
  .cta-actions { display: grid; gap: 16px; }
  .cta-actions .button, .cta-actions .text-link { width: 100%; }
  .cta-actions .button { order: -1; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-direction: column; }
  .faq details > p { padding-right: 8px; }
}

@media (max-width: 600px) {
  .support-cards { grid-template-columns: minmax(0, 1fr); }
  .support-journey { padding-inline: 14px; gap: 8px; }
  .journey-icon { transform: scale(0.84); transform-origin: center; }
  .journey-label { padding-inline: 14px; }
  .journey-title { font-size: 0.83rem; }
  .journey-line { width: 22px; justify-self: center; }
  .flow-list, .course-grid, .case-steps { grid-template-columns: minmax(0, 1fr); }
  .course-grid > :last-child:nth-child(3), .case-steps > :last-child:nth-child(3) { grid-column: auto; }
  .course-grid { gap: 0; }
  .course-card { padding: 18px 0 0; }
  .course-card + .course-card { margin-top: 18px; padding-left: 0; border-left: 0; border-top: 1px solid rgba(63, 97, 120, 0.18); }
  /* 流れは横長カードを3段に積む */
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer-company { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .result-main { grid-template-columns: minmax(0, 1fr); }
  .result-main-visual { padding-left: 0; padding-right: 0; padding-top: 22px; border-left: 0; border-top: 1px dashed rgba(255, 255, 255, 0.35); padding-bottom: 124px; }
  .result-badge { right: auto; left: 50%; top: auto; bottom: 0; width: 104px; height: 104px; transform: translateX(-50%); }
  .result-icon { width: 80px; height: 80px; }
  .result-chevron { margin-top: 62px; }
  .result-sub-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-list { row-gap: 56px; }
  .flow-list li { padding: 44px 20px 24px; }
  .step-figure { width: 104px; height: 104px; }
  .bridge .pc-br { display: none; }
  .bridge h2 { font-size: 1.5rem; }
  .bridge-actions .button { width: 100%; }
  .flow .section-shell::before { top: -40px; right: -90px; width: 120px; height: 120px; border-width: 20px; }
  .flow .section-shell::after { display: none; }
  .flow::before { top: -180px; left: -200px; }
  .flow::after { right: -220px; bottom: -220px; }
}

@media (min-width: 601px) and (max-width: 860px) {
  .hero-inner { padding-top: calc(62.5vw * 0.66); }
}

@media (max-width: 480px) {
  body { line-height: 1.85; }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand-name { font-size: 0.97rem; }
  .button-small { padding: 9px 14px; font-size: 0.88rem; }
  .hero h1 { font-size: 1.62rem; }
  .hero-lead { font-size: 0.97rem; }
  .section-heading h2 { font-size: 1.44rem; }
  .cta-card h2 { font-size: 1.3rem; }
  .offer-band-text { font-size: 1.06rem; }
  .case-card { flex-basis: 82%; }
  .case-card-head { grid-template-columns: 38% 62%; }
  .case-thumb { min-height: 120px; }
  .group-title { flex-wrap: wrap; gap: 8px; }
  .mark { font-size: 1.21rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.48rem; }
  .result-headline { font-size: 1.36rem; }
  .result-sub-figure { font-size: 2.7rem; }
  .result-step-value { font-size: 1.4rem; }
  .result-main-visual { gap: 6px; }
  .issue-text h3 { font-size: 0.88rem; }
  .issue-heading { padding-left: 40px; padding-right: 8px; }
  .issue-no { left: 8px; width: 25px; height: 25px; font-size: 0.64rem; }
  .issue-figure { flex-basis: 84px; }
  .issue-heading { padding-left: 42px; padding-right: 10px; }
  .issue-figure { flex-basis: 92px; }
  .hero-lead { font-size: 0.91rem; }
  .hero-actions .button, .hero-actions .text-link { font-size: 0.93rem; padding-inline: 4px; }
  .section-heading h2 { font-size: 1.32rem; }
  .support-copy h3 { font-size: 1.28rem; }
  .support-journey { padding-inline: 10px; }
  .journey-icon { transform: scale(0.76); margin-bottom: 10px; }
  .journey-label { padding-inline: 11px; font-size: 0.82rem; }
  .journey-title { font-size: 0.77rem; letter-spacing: 0.01em; }
  .compare-row { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); }
  .compare-row > * { padding: 12px 4px; font-size: 0.8rem; }
  .compare-axis { padding-inline: 3px; font-size: 0.72rem; letter-spacing: 0; }
  .compare-head > * { font-size: 0.84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 事例詳細: 活用実例で変わること */
.case-effects { margin-top: 18px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
.case-effects li { padding: 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); }
.case-effects-label { display: block; margin-bottom: 8px; color: var(--primary-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; }
.case-effects strong { display: block; margin-bottom: 8px; color: var(--ink); font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; }
.case-effects p { color: var(--body); font-size: 0.94rem; line-height: 1.8; }
@media (max-width: 1023px) { .case-effects { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case-effects > :last-child:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 720px) { .case-effects { grid-template-columns: minmax(0, 1fr); } .case-effects > :last-child:nth-child(3) { grid-column: auto; } }
