@charset "UTF-8";
/* =========================================================================
   AX総合研究所 — 共通スタイル
   ベンチマーク（AI総研）ビジュアル踏襲版。melta UI（Layered/Contrast/Semantic/
   Minimal/Grid）を基盤に、トークンは HP/theme.override.md（ベンチマーク分析）で上書き。
   絶対制約: transition / animation / @keyframes 一切なし。
   例外: .logo-marquee のみ会長指示（2026-08-04）によりアニメーション使用可。
         これ以外の箇所には一切アニメーションを追加しないこと。
   html{font-size:62.5%} 運用（1rem = 10px）。
   ========================================================================= */

/* ---- Design Tokens（ベンチマーク分析 7-1 準拠） ---- */
:root {
  /* フォント */
  --main-font: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --sub-font: "Roboto", "Helvetica Neue", Arial, sans-serif; /* 英数字専用 */

  /* ブランドカラー（青一色系） */
  --color-brand: #1e4ed7;       /* ベースブランドブルー */
  --color-brand-dark: #001a88;  /* 濃紺（ヘッダーCTA/フッターグラデ） */
  --color-brand-deep: #172554;  /* ヒーロー背景の紺 */
  --color-accent-cta: #1d4ed8;  /* CTAボタン・英字ラベル色 */
  --color-accent-cta-strong: #1a44c0; /* CTAホバー（1段濃く） */

  /* ニュートラル */
  --color-white: #fff;
  --color-text: #171725;
  --color-text-sub: #5a5f6b;   /* サブテキスト（#666 より僅かに濃くしコントラスト確保） */
  --color-text-mute: #6b7280;
  --color-border: #eaedf1;
  --color-border-strong: #d7dce4;
  --color-bg: #ffffff;
  --color-bg-lightest: #f4f6f9;
  --color-bg-soft: #eef2fb;     /* 淡い青の面 */

  /* セマンティック（助成金＝成功） */
  --color-ok: #147a38;
  --color-ok-soft: #e7f4ec;
  --color-ok-border: #bfe0cb;

  /* 影（多層シャドウのメリハリ） */
  --shadow-card: 0 1px 2px rgba(23,37,84,.06);
  --shadow-primary: 0 4px 10px rgba(37,47,63,.10);
  --shadow-cta: 0 16px 68px rgba(47,48,55,.05), 0 0 4px rgba(34,42,53,.08),
                0 0 0 1px rgba(34,42,53,.04), 0 1px 1px rgba(0,0,0,.05),
                0 0 24px rgba(34,42,53,.06), inset 0 1px 0 rgba(255,255,255,.1);

  /* 角丸 */
  --radius-card: 1rem;      /* 10px */
  --radius-card-lg: 1.6rem; /* 16px */
  --radius-button: .8rem;   /* 8px */
  --radius-pill: 9999px;

  /* コンテナ */
  --container-max: 120rem;        /* 1200px セクション標準 */
  --container-wide: 132rem;       /* 1320px ヘッダー/フッター外枠 */
  --container-narrow: 82rem;      /* 820px 記事・フォーム */
  --pad-x: 2rem;

  --header-h: 7.2rem;
}

/* ---- Reset ---- */
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--main-font);
  font-size: 1.6rem;
  line-height: 1.8;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--color-accent-cta); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--color-accent-cta); outline-offset: 2px; border-radius: 4px; }
.en { font-family: var(--sub-font); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--pad-x); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 8rem 0; }
.section--tight { padding: 5.6rem 0; }
.section--surface { background: var(--color-bg-lightest); }
.section--soft { background: var(--color-bg-soft); }

/* ---- セクション見出し（英字ラベル＋和文見出しの2層・最重要パターン） ---- */
.sec-head { text-align: center; max-width: 76rem; margin: 0 auto 4.8rem; }
.sec-head--left { text-align: left; margin-left: 0; }
.sec-en {
  display: block; font-family: var(--sub-font); font-weight: 700;
  font-size: 1.7rem; letter-spacing: .06em; color: var(--color-accent-cta);
  margin-bottom: 1.2rem;
}
.sec-ja { font-size: 3rem; font-weight: 700; letter-spacing: .01em; color: var(--color-text); }
.sec-lead { margin-top: 1.8rem; color: var(--color-text-sub); font-size: 1.7rem; line-height: 1.9; }
.strong-num { font-weight: 900; font-size: 1.15em; color: var(--color-accent-cta); }
.text-ok { color: var(--color-ok); }

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  font-weight: 700; font-size: 1.6rem; line-height: 1.3;
  text-align: center; text-decoration: none; cursor: pointer;
  border: none; border-radius: var(--radius-pill);
  padding: 1.4rem 2.8rem; min-height: 5.2rem;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 2rem; height: 2rem; flex-shrink: 0; }
/* 折り返し位置制御ユーティリティ（意味の切れ目でのみ改行し、語中折れ・語の分断を防ぐ） */
.nb { white-space: nowrap; }
/* フラット青ピル（主CTA） */
.btn--cta { background: var(--color-accent-cta); color: #fff; box-shadow: var(--shadow-primary); }
.btn--cta:hover { background: var(--color-accent-cta-strong); }
/* 濃紺（ヘッダー主CTA/フッター） */
.btn--dark { background: var(--color-brand-dark); color: #fff; box-shadow: var(--shadow-primary); }
.btn--dark:hover { background: #001470; }
/* 線・ゴースト（薄いCV） */
.btn--ghost { background: var(--color-white); color: var(--color-brand-dark); border: 1.5px solid var(--color-border-strong); }
.btn--ghost:hover { background: var(--color-bg-lightest); border-color: var(--color-accent-cta); }
/* プレミアム（白地・凍結グラデ枠3px・多層シャドウ） */
.btn--premium {
  background: var(--color-white); color: var(--color-text);
  border: 3px solid transparent; border-radius: var(--radius-pill);
  background-image: linear-gradient(var(--color-white), var(--color-white)),
                    linear-gradient(135deg, #be72ff, #5f8aff 25%, #00a3ff 50%, #1cbad0 75%, #37d1a1);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-cta);
}
.btn--premium:hover { background-image: linear-gradient(#f7faff, #f7faff),
                    linear-gradient(135deg, #be72ff, #5f8aff 25%, #00a3ff 50%, #1cbad0 75%, #37d1a1); }
.btn--lg { font-size: 1.7rem; padding: 1.8rem 3.6rem; min-height: 6rem; }
.btn--sm { font-size: 1.45rem; padding: 1rem 1.8rem; min-height: 4.4rem; }
.btn--block { width: 100%; }
.btn-badge {
  display: inline-flex; align-items: center; font-family: var(--sub-font); font-weight: 700;
  font-size: 1.2rem; color: #fff; background: var(--color-accent-cta);
  padding: .3rem .9rem; border-radius: var(--radius-pill); margin-left: .2rem;
}
.btn--premium .btn-badge { background: #00a3ff; }
.btn-note { margin-top: 1.2rem; font-size: 1.3rem; color: var(--color-text-sub); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.btn-row--center { justify-content: center; }
.mt-16 { margin-top: 1.6rem; } .mt-24 { margin-top: 2.4rem; } .mt-32 { margin-top: 3.2rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 2000; background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); max-width: var(--container-wide); }
.brand { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 3.8rem; height: 3.8rem; flex-shrink: 0; }
.brand-name { line-height: 1.15; font-weight: 700; font-size: 1.9rem; letter-spacing: .01em; }
.brand-name small { display: block; font-family: var(--sub-font); font-weight: 700; font-size: .95rem; letter-spacing: .22em; color: var(--color-accent-cta); line-height: 1; margin-top: .2rem; }
.nav { margin-left: 2.4rem; }
.nav-list { display: flex; align-items: center; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.nav-list > li { position: relative; }
.nav-list a, .nav-trigger {
  display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 1.4rem;
  color: var(--color-text); font-weight: 700; font-size: 1.5rem; background: none; border: none; cursor: pointer;
}
.nav-list a:hover, .nav-trigger:hover { color: var(--color-accent-cta); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--color-accent-cta); }
.nav-trigger svg { width: 1.4rem; height: 1.4rem; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; }
.mobile-nav { display: none; }

/* ---- Hero（写真なし・CSSラジアルグラデ光斑＋SVGノイズ） ---- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--color-brand-deep);
  background-image:
    radial-gradient(60rem 45rem at 88% 12%, rgba(59,130,246,.38), transparent 60%),
    radial-gradient(55rem 45rem at 92% 96%, rgba(29,78,216,.34), transparent 62%),
    radial-gradient(50rem 40rem at 6% 88%, rgba(37,99,235,.28), transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 8rem 0 7.2rem; max-width: 88rem; margin: 0 auto; }
.hero-en { display: block; font-family: var(--sub-font); font-weight: 700; font-size: 1.6rem; letter-spacing: .14em; color: #93b4ff; margin-bottom: 1.8rem; }
.hero-title { font-size: 5rem; font-weight: 900; line-height: 1.35; letter-spacing: .01em; color: #fff; }
.hero-title .mark {
  background: linear-gradient(90deg, #7dd3fc, #93b4ff 55%, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin: 2.6rem auto 0; font-size: 1.75rem; line-height: 2; color: #d3ddf5; max-width: 60rem; }
/* ヒーローの要点（ピル廃止・チェック付きの簡素なテキスト行／罫線区切り） */
.hero-points {
  list-style: none; padding: 2rem 0 0; margin: 2.8rem auto 0;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem 2.4rem; max-width: 74rem;
}
.hero-points li { display: inline-flex; align-items: center; gap: .9rem; font-size: 1.4rem; font-weight: 700; color: #dbe6ff; }
.hero-points li svg { width: 1.9rem; height: 1.9rem; color: #7dd3fc; flex-shrink: 0; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; margin-top: 3.6rem; }
.hero-cta .btn { min-width: 30rem; }
.hero-note { margin-top: 1.8rem; font-size: 1.35rem; color: #b7c4e4; }

/* ---- 対応ツール バッジ（商標配慮: テキストロックアップのみ・公式ロゴ/ブランドカラー不使用） ---- */
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 3.2rem; }
.tool-badge {
  display: inline-flex; align-items: center; font-family: var(--sub-font); font-weight: 700;
  font-size: 1.5rem; letter-spacing: .01em; color: var(--color-text);
  background: var(--color-white); border: 1px solid var(--color-border-strong);
  padding: 1.1rem 2.2rem; border-radius: var(--radius-pill);
}
.tool-badge:hover { border-color: var(--color-accent-cta); color: var(--color-accent-cta); }
/* ロゴ画像スロット（会長支給の logos/{tool}.png を配置すると自動で表示され、テキストは隠れる） */
.tool-badge .tool-logo { max-height: 2.6rem; width: auto; display: block; }
.tools-disclaimer { margin-top: 2.4rem; font-size: 1.2rem; color: var(--color-text-mute); text-align: center; }
/* コンパクト版（既存セクション内への差し込み用） */
.tools-grid--compact { justify-content: flex-start; margin-top: 1.6rem; gap: .8rem; }
.tools-grid--compact .tool-badge { font-size: 1.3rem; padding: .7rem 1.6rem; background: var(--color-bg-lightest); border-color: var(--color-border); }
.tools-grid--compact .tool-badge:hover { background: var(--color-white); }

/* ---- 対応ツール ロゴマーキー（会長指示 2026-08-04 の例外アニメーション。LobeHub Icons 由来のロゴを左→右へ無限スクロール） ---- */
.logo-marquee {
  /* full-bleed: コンテナ幅から解放しビューポート全幅で表示 */
  overflow: hidden; margin-top: 3.6rem;
  width: 100vw; margin-left: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex; width: max-content;
  animation: logo-marquee-scroll 45s linear infinite; /* 12ロゴ×2セット。従来68sから1.5倍速へ調整（68÷1.5≒45s）。会長指示 2026-08-04 */
}
.logo-marquee__item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 4.5rem; }
.logo-marquee__item img { height: 3.6rem; width: auto; display: block; }
/* 左→右方向: 2セット複製し translateX(-50%)→0 でシームレスループ */
@keyframes logo-marquee-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 1rem 0; }
  .logo-marquee__item[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
  .logo-marquee { margin-top: 2.8rem; }
  .logo-marquee__item { padding: 0 3rem; }
  .logo-marquee__item img { height: 3rem; }
}

/* ---- 信頼の土台 4枠 ---- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.trust-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.8rem 2.4rem; }
.trust-item__icon { width: 5rem; height: 5rem; border-radius: 50%; background: var(--color-bg-soft); color: var(--color-accent-cta); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.6rem; }
.trust-item__icon svg { width: 2.6rem; height: 2.6rem; }
.trust-item h3 { font-size: 1.7rem; font-weight: 700; }
.trust-item p { margin-top: 1rem; color: var(--color-text-sub); font-size: 1.45rem; line-height: 1.85; }
.trust-lead { text-align: center; max-width: 66rem; margin: 0 auto 4rem; color: var(--color-text-sub); font-size: 1.6rem; }

/* ---- 旗艦サービス ---- */
.flagship { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card-lg); padding: 4.8rem; box-shadow: var(--shadow-primary); }
.flagship-lead { color: var(--color-text-sub); font-size: 1.7rem; line-height: 2; max-width: 68rem; margin: 0 auto 3.6rem; text-align: center; }
.flagship-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.phase-card { background: var(--color-bg-lightest); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.8rem 2.4rem; }
.phase-card__no { display: inline-flex; font-family: var(--sub-font); font-weight: 700; font-size: 1.3rem; color: #fff; background: var(--color-accent-cta); padding: .4rem 1.2rem; border-radius: var(--radius-pill); }
.phase-card h3 { font-size: 1.9rem; font-weight: 700; margin-top: 1.4rem; }
.phase-card p { margin-top: 1rem; color: var(--color-text-sub); font-size: 1.45rem; }
.flagship-price { margin-top: 3.2rem; text-align: center; background: var(--color-bg-soft); border-radius: var(--radius-card); padding: 2.4rem; font-size: 1.6rem; color: var(--color-text); }
.flagship-price b { color: var(--color-accent-cta); font-weight: 900; }

/* ---- 3ステップ ロードマップ（矢印でつなぐ一本道） ---- */
.roadmap { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.step-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.8rem 2.4rem; box-shadow: var(--shadow-card); }
.step-card--main { border: 2px solid var(--color-accent-cta); box-shadow: var(--shadow-primary); }
.step-card__no { align-self: flex-start; display: inline-flex; font-family: var(--sub-font); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; color: #fff; background: var(--color-text); padding: .4rem 1.2rem; border-radius: var(--radius-pill); }
.step-card--main .step-card__no { background: var(--color-accent-cta); }
.step-card h3 { font-size: 1.85rem; font-weight: 700; margin-top: 1.4rem; }
.step-card__price { margin-top: .8rem; font-size: 1.4rem; font-weight: 700; color: var(--color-accent-cta); }
.step-card__body { margin-top: 1.2rem; color: var(--color-text-sub); font-size: 1.45rem; flex: 1; }
.step-card__link { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--color-accent-cta); font-size: 1.45rem; }
.step-card__link svg { width: 1.6rem; height: 1.6rem; }
.step-arrow { align-self: center; color: var(--color-border-strong); }
.step-arrow svg { width: 3.2rem; height: 3.2rem; }

/* ---- 補助金訴求バナー ---- */
.subsidy { background: var(--color-ok-soft); border: 1px solid var(--color-ok-border); border-radius: var(--radius-card-lg); padding: 4rem; }
/* 助成金試算: コンテンツ列は左揃えのまま、列全体を中央に寄せて右側の余白偏りを解消（会長指示 2026-08-04） */
.subsidy-inner { max-width: 68rem; margin-inline: auto; }
.subsidy .sec-en { color: var(--color-ok); }
.subsidy-body { color: var(--color-text); font-size: 1.6rem; line-height: 2; max-width: 66rem; }
.subsidy-figs { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 2.4rem; }
.subsidy-fig { text-align: center; }
.subsidy-fig .num { font-weight: 900; font-size: 2.6rem; line-height: 1.1; color: var(--color-text); }
.subsidy-fig .num.is-result { color: var(--color-ok); }
.subsidy-fig .lbl { font-size: 1.25rem; color: var(--color-text-sub); margin-top: .4rem; }
.subsidy-op { font-size: 2rem; font-weight: 900; color: var(--color-text-mute); }
.note-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.note-list li { position: relative; padding-left: 1.8rem; font-size: 1.3rem; color: var(--color-text-sub); margin-top: .6rem; line-height: 1.8; }
.note-list li::before { content: "※"; position: absolute; left: 0; color: var(--color-text-mute); }

/* ---- 選ばれる理由 ---- */
.promise-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.promise-item { display: flex; gap: 1.8rem; align-items: flex-start; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.4rem 2.6rem; }
.promise-item__no { flex-shrink: 0; width: 4.4rem; height: 4.4rem; display: inline-flex; align-items: center; justify-content: center; font-family: var(--sub-font); font-weight: 700; font-size: 1.8rem; color: #fff; background: var(--color-accent-cta); border-radius: 50%; }
.promise-item h3 { font-size: 1.75rem; }
.promise-item p { margin-top: .6rem; color: var(--color-text-sub); font-size: 1.5rem; }

/* ---- 導入の流れ ---- */
.flow-list { list-style: none; counter-reset: flow; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.flow-item { counter-increment: flow; display: flex; gap: 2rem; align-items: flex-start; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.4rem 2.6rem; }
.flow-item::before { content: counter(flow); flex-shrink: 0; width: 4.4rem; height: 4.4rem; display: inline-flex; align-items: center; justify-content: center; font-family: var(--sub-font); font-weight: 700; font-size: 1.8rem; color: #fff; background: var(--color-brand-dark); border-radius: 50%; }
.flow-item h3 { font-size: 1.7rem; }
.flow-item p { margin-top: .4rem; color: var(--color-text-sub); font-size: 1.5rem; }

/* ---- 想定シナリオ / 資料カード（縦型サービスカード） ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 3.2rem 2.8rem; box-shadow: var(--shadow-card); }
.svc-card__icon { width: 5.6rem; height: 5.6rem; border-radius: 50%; background: var(--color-bg-soft); color: var(--color-accent-cta); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.6rem; }
.svc-card__icon svg { width: 2.8rem; height: 2.8rem; }
.svc-card h3 { font-size: 1.9rem; font-weight: 700; }
.svc-card p { margin-top: 1rem; color: var(--color-text-sub); font-size: 1.5rem; flex: 1; }
.svc-card__link { margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--color-accent-cta); font-size: 1.5rem; }
.svc-card__link svg { width: 1.6rem; height: 1.6rem; }

/* ---- 横型リストカード（記事・資料。サムネ41.5%・1px罫線・影なし） ---- */
.list-cards { display: grid; gap: 2rem; }
.list-card { display: grid; grid-template-columns: 41.5% 1fr; gap: 2.4rem; align-items: center; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.list-card:hover { text-decoration: none; border-color: var(--color-border-strong); }
.list-card__thumb { position: relative; width: 100%; padding-top: 56.25%; background: var(--color-bg-lightest); overflow: hidden; }
.list-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.list-card__thumb--ph { display: flex; align-items: center; justify-content: center; }
.list-card__thumb--ph svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 4.8rem; height: 4.8rem; color: var(--color-border-strong); padding: 0; }
.list-card__body { padding: 2rem 2.4rem 2rem 0; }
.list-card__cat { display: inline-block; font-size: 1.25rem; font-weight: 700; color: var(--color-accent-cta); background: var(--color-bg-soft); padding: .3rem 1.2rem; border-radius: var(--radius-pill); }
.list-card__title { margin-top: 1rem; font-size: 2rem; font-weight: 700; color: var(--color-text); line-height: 1.5; }
.list-card__desc { margin-top: .8rem; color: var(--color-text-sub); font-size: 1.45rem; }
.list-card__meta { margin-top: 1rem; font-size: 1.3rem; color: var(--color-text-mute); font-family: var(--sub-font); }

/* ---- 末尾CTA 2枚並列 ---- */
.cta-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
.cta-panel { display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: var(--radius-card-lg); padding: 4rem 3.2rem; }
.cta-panel--soft { background: var(--color-bg-soft); border: 1px solid #d5e0f7; }
.cta-panel--navy { background: var(--color-brand-deep); }
.cta-panel__icon { width: 5.6rem; height: 5.6rem; margin-bottom: 1.4rem; color: var(--color-accent-cta); }
.cta-panel--navy .cta-panel__icon { color: #93b4ff; }
.cta-panel h3 { font-size: 2rem; font-weight: 700; }
.cta-panel--navy h3 { color: #fff; }
.cta-panel p { margin-top: 1rem; color: var(--color-text-sub); font-size: 1.5rem; }
.cta-panel--navy p { color: #d3ddf5; }
.cta-panel .btn { margin-top: 2.4rem; }
.cta-note { text-align: center; margin-top: 2.4rem; color: var(--color-text-sub); font-size: 1.4rem; }

/* ---- ページヘッダー（下層） ---- */
.page-hero { position: relative; overflow: hidden; padding: 6.4rem 0 5.6rem; background-color: var(--color-brand-deep);
  background-image: radial-gradient(55rem 40rem at 90% 10%, rgba(59,130,246,.34), transparent 60%),
                    radial-gradient(45rem 40rem at 5% 95%, rgba(37,99,235,.26), transparent 60%); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .sec-en { color: #93b4ff; margin-bottom: 1.2rem; }
.page-title { font-size: 4.2rem; font-weight: 900; color: #fff; line-height: 1.4; }
.page-hero .lead { margin-top: 1.8rem; color: #d3ddf5; font-size: 1.7rem; line-height: 1.95; max-width: 60rem; }
/* 既定は白背景向け（記事詳細など）。紺のページヘッダー内では下で反転させる */
.breadcrumb { font-size: 1.3rem; color: var(--color-text-sub); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--color-text-sub); }
.breadcrumb a:hover { color: var(--color-text); }
.breadcrumb span[aria-current] { color: var(--color-text); }
.page-hero .breadcrumb { color: #b7c4e4; }
.page-hero .breadcrumb a { color: #b7c4e4; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span[aria-current] { color: #fff; }

/* 下層の白ヘッダー（記事詳細等の軽量ヘッダー用） */
.page-hero--light { background: var(--color-bg-lightest); border-bottom: 1px solid var(--color-border); padding: 4.8rem 0 3.6rem; }
.page-hero--light::before { display: none; }
.page-hero--light .sec-en { color: var(--color-accent-cta); }
.page-hero--light .page-title { color: var(--color-text); }
.page-hero--light .lead { color: var(--color-text-sub); }
.page-hero--light .breadcrumb { color: var(--color-text-sub); }
.page-hero--light .breadcrumb a { color: var(--color-text-sub); }
.page-hero--light .breadcrumb a:hover { color: var(--color-text); }
.page-hero--light .breadcrumb span[aria-current] { color: var(--color-text); }

/* ---- 料金/表 ---- */
.spec-table, .calc-table { width: 100%; border-collapse: collapse; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 1.8rem 2.4rem; border-bottom: 1px solid var(--color-border); font-size: 1.5rem; vertical-align: top; line-height: 1.8; }
.spec-table th { width: 34%; white-space: nowrap; color: var(--color-text-sub); font-weight: 700; background: var(--color-bg-lightest); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table .price-value { font-weight: 900; font-size: 1.8rem; color: var(--color-accent-cta); }
.calc-table th, .calc-table td { padding: 1.6rem 2rem; border-bottom: 1px solid var(--color-border); font-size: 1.5rem; }
.calc-table th { text-align: left; font-weight: 500; color: var(--color-text); }
.calc-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.calc-table tr:last-child { background: var(--color-ok-soft); }
.calc-table tr:last-child th, .calc-table tr:last-child td { border-bottom: none; font-weight: 900; font-size: 1.7rem; }
.calc-table tr:last-child td { color: var(--color-ok); }

/* こんな会社に（チェックリスト） */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.check-list li { display: flex; gap: 1.2rem; align-items: flex-start; font-size: 1.55rem; color: var(--color-text); }
.check-list li svg { flex-shrink: 0; width: 2.2rem; height: 2.2rem; color: var(--color-accent-cta); margin-top: .4rem; }

/* 講師紹介 */
.tutor { display: flex; gap: 2.4rem; align-items: flex-start; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.8rem; }
.tutor__avatar { flex-shrink: 0; width: 8rem; height: 8rem; border-radius: 50%; background: var(--color-bg-soft); color: var(--color-accent-cta); display: inline-flex; align-items: center; justify-content: center; }
.tutor__avatar svg { width: 4rem; height: 4rem; }
.tutor h3 { font-size: 1.7rem; }
.tutor p { margin-top: .8rem; color: var(--color-text-sub); font-size: 1.5rem; }
.ph-note { color: var(--color-text-mute); font-size: 1.3rem; }

/* ---- メイン講師（顔写真中心レイアウト） ---- */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.2rem; }
.person-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.person-card__photo { position: relative; width: 100%; padding-top: 75%; background: var(--color-bg-soft); overflow: hidden; }
.person-card__photo .person-card__img,
.person-card__photo .person-card__ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.person-card__img { object-fit: cover; }
.person-card__ph { display: flex; align-items: center; justify-content: center; color: #aebedf; }
.person-card__ph svg { width: 30%; height: 30%; }
.person-card__body { padding: 2.8rem 2.8rem 3.2rem; }
.person-card__role { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.3rem; color: #fff; background: var(--color-accent-cta); padding: .4rem 1.4rem; border-radius: var(--radius-pill); }
.person-card__body h3 { font-size: 2rem; font-weight: 700; margin-top: 1.4rem; }
.person-card__name { font-size: 2.2rem; }
.person-card__name-en { display: block; margin-top: .3rem; font-size: 1.3rem; font-weight: 500; letter-spacing: .04em; color: var(--color-text-sub); }
.person-card__body p { margin-top: 1.2rem; color: var(--color-text-sub); font-size: 1.5rem; line-height: 1.9; }

/* =========================================================================
   自社メディア（/articles 配下）
   一覧カード・カテゴリナビ・ページ送り。記事は大量に増える前提なので、
   サムネイル主体のグリッドで一覧性を優先している。
   ========================================================================= */

/* サムネイル共通（AI生成画像が入る想定。無いときはカテゴリ名を出す面で埋める） */
.post-card__thumb, .post-feature__thumb { position: relative; width: 100%; padding-top: 56.25%; background: var(--color-bg-lightest); overflow: hidden; }
.post-card__thumb img, .post-feature__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-thumb--ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1b2f66, var(--color-brand-deep)); }
.post-thumb__ph-cat {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 84%; text-align: center; font-weight: 700; font-size: 1.6rem; line-height: 1.5;
  color: #dbe6ff; letter-spacing: .02em;
}

/* 記事カードのグリッド */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.post-grid--compact { gap: 2rem; }
.post-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.post-card:hover { text-decoration: none; border-color: var(--color-accent-cta); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 2rem 2.2rem 2.2rem; }
.post-card__cat { align-self: flex-start; display: inline-block; font-size: 1.25rem; font-weight: 700; color: var(--color-accent-cta); background: var(--color-bg-soft); padding: .3rem 1.2rem; border-radius: var(--radius-pill); }
a.post-card__cat:hover { background: var(--color-accent-cta); color: #fff; text-decoration: none; }
.post-card__title { margin-top: 1.2rem; font-size: 1.8rem; font-weight: 700; color: var(--color-text); line-height: 1.55; }
.post-card__desc { margin-top: .8rem; color: var(--color-text-sub); font-size: 1.4rem; line-height: 1.8; flex: 1; }
.post-card__meta { display: block; margin-top: 1.6rem; font-size: 1.3rem; color: var(--color-text-mute); font-family: var(--sub-font); }

/* トップの注目記事（1本だけ大きく出す） */
.post-feature { display: grid; grid-template-columns: 52% 1fr; gap: 3.2rem; align-items: center; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card-lg); overflow: hidden; box-shadow: var(--shadow-primary); }
.post-feature:hover { text-decoration: none; border-color: var(--color-accent-cta); }
.post-feature__body { padding: 3.2rem 3.6rem 3.2rem 0; }
.post-feature__label { display: block; font-weight: 700; font-size: 1.3rem; letter-spacing: .14em; color: var(--color-accent-cta); margin-bottom: 1.2rem; }
.post-feature__title { margin-top: 1.2rem; font-size: 2.6rem; font-weight: 900; line-height: 1.45; color: var(--color-text); }
.post-feature__desc { margin-top: 1.2rem; color: var(--color-text-sub); font-size: 1.55rem; line-height: 1.9; }
.post-feature__more { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; font-weight: 700; font-size: 1.5rem; color: var(--color-accent-cta); }
.post-feature__more svg { width: 1.8rem; height: 1.8rem; }

/* カテゴリ切り替えバー */
.cat-nav { background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.cat-nav__list { display: flex; gap: .8rem; list-style: none; margin: 0; padding: 1.4rem 0; overflow-x: auto; }
.cat-nav__item { flex-shrink: 0; white-space: nowrap; display: inline-block; padding: .9rem 1.8rem; border-radius: var(--radius-pill); font-size: 1.45rem; font-weight: 700; color: var(--color-text-sub); border: 1.5px solid var(--color-border-strong); background: var(--color-white); }
a.cat-nav__item:hover { color: var(--color-accent-cta); border-color: var(--color-accent-cta); text-decoration: none; }
.cat-nav__item.is-current { color: #fff; background: var(--color-accent-cta); border-color: var(--color-accent-cta); }

/* トップページ用のカテゴリチップ（バーではなく中央寄せの並び） */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-bottom: 3.2rem; }
.cat-chip { display: inline-block; white-space: nowrap; padding: .8rem 1.8rem; border-radius: var(--radius-pill); font-size: 1.4rem; font-weight: 700; color: var(--color-text-sub); background: var(--color-white); border: 1.5px solid var(--color-border-strong); }
.cat-chip:hover { color: var(--color-accent-cta); border-color: var(--color-accent-cta); text-decoration: none; }

/* カテゴリ紹介カード（メディアトップ下部） */
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cat-card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.8rem; box-shadow: var(--shadow-card); }
.cat-card:hover { text-decoration: none; border-color: var(--color-accent-cta); }
.cat-card__en { font-size: 1.25rem; font-weight: 700; letter-spacing: .12em; color: var(--color-accent-cta); }
.cat-card__title { margin-top: 1rem; font-size: 1.85rem; font-weight: 700; color: var(--color-text); }
.cat-card__desc { margin-top: .8rem; color: var(--color-text-sub); font-size: 1.4rem; line-height: 1.8; flex: 1; }
.cat-card__count { margin-top: 1.6rem; font-size: 1.25rem; color: var(--color-text-mute); }

/* ページ送り */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 4.8rem; }
.pager__nums { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.pager__num, .pager__edge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 4.4rem; min-height: 4.4rem;
  padding: 0 1.4rem; border-radius: var(--radius-button); border: 1.5px solid var(--color-border-strong);
  font-family: var(--sub-font); font-weight: 700; font-size: 1.5rem; color: var(--color-brand-dark); background: var(--color-white);
}
.pager__edge { font-family: var(--main-font); font-size: 1.45rem; }
a.pager__num:hover, a.pager__edge:hover { border-color: var(--color-accent-cta); color: var(--color-accent-cta); text-decoration: none; }
.pager__num.is-current { background: var(--color-accent-cta); border-color: var(--color-accent-cta); color: #fff; }
.pager__gap { color: var(--color-text-mute); padding: 0 .4rem; }

/* 記事0件のときの受け皿 */
/* トップの記事枠（.post-grid）に直接入るときは3カラムをまたいで全幅にする */
.post-grid > .media-empty { grid-column: 1 / -1; }
.media-empty { text-align: center; background: var(--color-bg-soft); border: 1px solid #d5e0f7; border-radius: var(--radius-card-lg); padding: 5.6rem 3.2rem; }
.media-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 6.4rem; height: 6.4rem; border-radius: 50%; background: var(--color-white); color: var(--color-accent-cta); margin-bottom: 1.8rem; }
.media-empty__icon svg { width: 3.2rem; height: 3.2rem; }
.media-empty__title { font-size: 2.2rem; font-weight: 700; color: var(--color-text); max-width: 52rem; margin: 0 auto; line-height: 1.5; text-wrap: balance; }
.media-empty p { margin: 1.4rem auto 0; max-width: 52rem; color: var(--color-text-sub); font-size: 1.55rem; line-height: 1.9; }

/* メディアのページヘッダー（ページ番号バッジつき） */
.page-hero--media .page-title { font-size: 3.6rem; }
.page-hero__page { display: inline-block; margin-top: 1.8rem; font-weight: 700; font-size: 1.3rem; letter-spacing: .12em; color: #dbe6ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); padding: .5rem 1.4rem; border-radius: var(--radius-pill); }

/* 記事詳細：タグ・前後リンク・関連記事 */
.post-hero-img { width: 100%; border-radius: var(--radius-card); border: 1px solid var(--color-border); margin: 2.4rem 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 3.2rem; }
.post-tag { font-size: 1.3rem; color: var(--color-text-sub); background: var(--color-bg-lightest); border: 1px solid var(--color-border); padding: .5rem 1.4rem; border-radius: var(--radius-pill); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 4rem; }
.post-nav__link { display: flex; flex-direction: column; gap: .6rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2rem 2.2rem; }
a.post-nav__link:hover { text-decoration: none; border-color: var(--color-accent-cta); }
.post-nav__link.is-empty { border: none; background: none; }
.post-nav__label { font-size: 1.2rem; font-weight: 700; letter-spacing: .12em; color: var(--color-accent-cta); }
.post-nav__link--next { text-align: right; }
.post-nav__title { font-size: 1.5rem; font-weight: 700; color: var(--color-text); line-height: 1.6; }
.related { margin-top: 4.8rem; }
.related__title { font-size: 2.2rem; font-weight: 700; margin-bottom: 2.4rem; }
.related .post-card__title { font-size: 1.6rem; }
.related .post-card__desc { display: none; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 1.4rem; }
.faq-item { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.faq-item[open] { border-color: var(--color-border-strong); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.4rem; padding: 2rem 2.4rem; font-weight: 700; font-size: 1.6rem; color: var(--color-text); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary .q-mark { flex-shrink: 0; width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-soft); color: var(--color-accent-cta); border-radius: var(--radius-button); font-family: var(--sub-font); font-weight: 700; }
.faq-item > summary .chev { margin-left: auto; width: 2rem; height: 2rem; color: var(--color-text-mute); flex-shrink: 0; }
.faq-item[open] > summary .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 2.4rem 2.2rem 6.8rem; color: var(--color-text-sub); font-size: 1.5rem; line-height: 1.95; }

/* ---- 記事詳細 ---- */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.article-body { font-size: 1.65rem; line-height: 2; color: var(--color-text); }
.article-body h2 { font-size: 2.4rem; font-weight: 900; margin: 4.4rem 0 1.6rem; padding-bottom: 1rem; border-bottom: 2px solid var(--color-border); }
.article-body h3 { font-size: 2rem; margin: 3.2rem 0 1.2rem; }
.article-body p { margin: 1.6rem 0; }
.article-body ul, .article-body ol { margin: 1.6rem 0; padding-left: 1.4em; }
.article-body li { margin: .6rem 0; }
.article-body a { text-decoration: underline; }
.article-body img { border-radius: var(--radius-card); margin: 2.4rem 0; }
.article-body blockquote { margin: 2.4rem 0; padding: 1.6rem 2.4rem; border-left: 4px solid var(--color-accent-cta); background: var(--color-bg-lightest); color: var(--color-text-sub); }
.article-body blockquote p { margin: 0; }
.article-body figure { margin: 2.4rem 0; }
.article-body figure img { margin: 0; }
.article-body figcaption { margin-top: .8rem; font-size: 1.35rem; color: var(--color-text-mute); text-align: center; }
.article-body hr { border: none; border-top: 1px solid var(--color-border); margin: 3.2rem 0; }
.article-body code { font-family: var(--sub-font); font-size: .92em; background: var(--color-bg-lightest); border: 1px solid var(--color-border); border-radius: .4rem; padding: .1em .5em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.article-body th, .article-body td { border: 1px solid var(--color-border-strong); padding: 1rem 1.4rem; font-size: 1.45rem; }
.article-body th { background: var(--color-bg-lightest); }
/* 目次（TOC） */
.toc { background: var(--color-bg-lightest); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.4rem 2.8rem; margin: 3.2rem 0; }
.toc h2 { font-size: 1.6rem; margin: 0 0 1.2rem; }
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.toc li { counter-increment: toc; margin: .6rem 0; }
.toc li.toc--sub { padding-left: 2.4rem; }
.toc a { display: inline-flex; gap: .8rem; font-size: 1.45rem; }
.toc a::before { content: counter(toc) "."; color: var(--color-accent-cta); font-family: var(--sub-font); font-weight: 700; }
.toc li.toc--sub a::before { content: ""; }
/* 著者欄 */
.author-box { display: flex; gap: 2rem; align-items: flex-start; background: var(--color-bg-lightest); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 2.8rem; margin-top: 4rem; }
.author-box__avatar { flex-shrink: 0; width: 6.4rem; height: 6.4rem; border-radius: 50%; background: var(--color-bg-soft); color: var(--color-accent-cta); display: inline-flex; align-items: center; justify-content: center; }
.author-box__avatar svg { width: 3.2rem; height: 3.2rem; }
.author-box__role { font-size: 1.3rem; color: var(--color-accent-cta); font-weight: 700; }
.author-box h3 { font-size: 1.7rem; margin-top: .2rem; }
.author-box p { margin-top: .8rem; color: var(--color-text-sub); font-size: 1.45rem; }
/* 記事内・テーマ連動CTA枠 */
.inline-cta { background: var(--color-bg-soft); border: 1px solid #d5e0f7; border-radius: var(--radius-card); padding: 2.8rem; margin: 3.2rem 0; text-align: center; }
.inline-cta h3 { font-size: 1.8rem; }
.inline-cta p { margin-top: .8rem; color: var(--color-text-sub); font-size: 1.45rem; }
.inline-cta .btn { margin-top: 2rem; }

/* ---- フォーム ---- */
.form-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card-lg); box-shadow: var(--shadow-card); padding: 4rem; }
.form-field { margin-bottom: 2.4rem; }
.form-field label { display: block; font-weight: 700; font-size: 1.5rem; margin-bottom: .8rem; }
.req { color: #fff; background: var(--color-accent-cta); font-size: 1.15rem; margin-left: .8rem; padding: .2rem .8rem; border-radius: var(--radius-pill); vertical-align: middle; }
.opt { color: var(--color-text-mute); font-size: 1.25rem; margin-left: .8rem; font-weight: 500; }
.input, .select, .textarea { width: 100%; font-family: inherit; font-size: 1.6rem; color: var(--color-text); background: var(--color-white); border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-button); padding: 1.4rem 1.6rem; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--color-accent-cta); outline: none; }
.textarea { min-height: 14rem; resize: vertical; }
.select-wrap { position: relative; }
.select { appearance: none; padding-right: 4.4rem; }
.select-wrap .chev { position: absolute; right: 1.6rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; color: var(--color-text-mute); pointer-events: none; }
.form-embed-ph { border: 2px dashed var(--color-border-strong); border-radius: var(--radius-card); padding: 4.8rem 2.4rem; text-align: center; color: var(--color-text-sub); background: var(--color-bg-lightest); }
.form-embed-ph svg { width: 4rem; height: 4rem; margin: 0 auto 1.2rem; color: var(--color-border-strong); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 1.2rem; align-items: flex-start; font-size: 1.5rem; }
.info-list svg { flex-shrink: 0; width: 2.2rem; height: 2.2rem; color: var(--color-ok); margin-top: .3rem; }

/* ---- Alert ---- */
.alert { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.8rem 2rem; border-radius: var(--radius-card); font-size: 1.5rem; line-height: 1.85; }
.alert svg { flex-shrink: 0; width: 2.2rem; height: 2.2rem; margin-top: .2rem; }
.alert--info { background: var(--color-bg-soft); border: 1px solid #cfe0fb; color: #1c3f8f; }
.alert--ok { background: var(--color-ok-soft); border: 1px solid var(--color-ok-border); color: #145c39; }

/* 準備中バッジ */
.prep-badge { display: inline-flex; align-items: center; gap: .8rem; font-weight: 700; font-size: 1.35rem; color: var(--color-text-sub); background: var(--color-bg-lightest); border: 1px solid var(--color-border); padding: .8rem 1.8rem; border-radius: var(--radius-pill); }
.prep-badge svg { width: 1.7rem; height: 1.7rem; color: var(--color-accent-cta); }

/* ---- フッター ---- */
.footer-top { background: linear-gradient(135deg, var(--color-brand-dark), var(--color-accent-cta)); }
.footer-top__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem 0; }
.footer-top h2 { color: #fff; font-size: 2.2rem; font-weight: 700; }
.footer-top p { color: #d3ddf5; font-size: 1.4rem; margin-top: .4rem; }
.site-footer { background: var(--color-brand-deep); color: #cdd6ec; padding: 6.4rem 0 3.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3.2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 1rem; color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name small { color: #93b4ff; }
.footer-desc { margin-top: 1.6rem; font-size: 1.4rem; color: #a9b5d4; max-width: 34rem; line-height: 1.9; }
.footer-col h4 { font-size: 1.35rem; letter-spacing: .06em; color: #93b4ff; margin-bottom: 1.4rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-col a { color: #cdd6ec; font-size: 1.45rem; }
.footer-col a:hover { color: #fff; }
.footer-tags { margin-top: 4rem; padding-top: 2.4rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-tag { font-size: 1.25rem; color: #a9b5d4; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: .5rem 1.2rem; border-radius: var(--radius-pill); }
.footer-tag:hover { color: #fff; text-decoration: none; }
.footer-bottom { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; font-size: 1.3rem; color: #8a97b8; }
.footer-bottom .en { font-family: var(--sub-font); }

/* ---- SP追従ボトムバナー ---- */
.mobile-cta-bar { display: none; }

/* ---- ユーティリティ ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 4rem; }
.lead-block { color: var(--color-text-sub); font-size: 1.65rem; line-height: 2; max-width: 68rem; }
.prose h2 { font-size: 2.4rem; margin: 4rem 0 1.4rem; }
.prose h3 { font-size: 1.9rem; margin: 2.8rem 0 1rem; }
.prose p { margin: 1.4rem 0; color: var(--color-text); font-size: 1.6rem; line-height: 2; }
.prose ul { margin: 1.4rem 0; padding-left: 1.6em; }
.prose li { margin: .6rem 0; }

/* =========================================================================
   レスポンシブ
   ========================================================================= */
@media (max-width: 1024px) {
  .sec-ja { font-size: 2.4rem; }
  .hero-title { font-size: 3.8rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .flagship { padding: 3.2rem; }
  .post-grid, .cat-cards { grid-template-columns: repeat(2, 1fr); }
  .post-feature { grid-template-columns: 1fr; gap: 0; }
  .post-feature__body { padding: 2.8rem 3.2rem 3.2rem; }
  .post-feature__title { font-size: 2.2rem; }
}

@media (max-width: 767px) {
  .section { padding: 5.6rem 0; }
  .section--tight { padding: 4rem 0; }
  /* 見出し英字ラベルはモバイルで非表示（情報量を絞る） */
  .sec-en, .hero-en { display: none; }
  .sec-ja { font-size: 2.2rem; }
  /* 1文字だけ次行に落ちる不格好な折り返しを抑制（非対応ブラウザでは無害） */
  .sec-ja, .hero-title, .page-title { text-wrap: balance; }

  /* ナビをハンバーガーに */
  .nav { display: none; }
  .header-cta .btn--ghost { display: none; } /* 診断・資料DLはハンバーガー内に集約 */
  .header-cta { margin-left: auto; }
  /* ロゴ・ヘッダーCTAをモバイルで1行に収める */
  .brand { gap: .7rem; }
  .brand-mark { width: 3.4rem; height: 3.4rem; }
  .brand-name { font-size: 1.6rem; white-space: nowrap; }
  .brand-name small { font-size: .9rem; letter-spacing: .18em; }
  .header-cta .btn { white-space: nowrap; }
  .header-cta .btn--sm { padding: 1rem 1.5rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: .8rem;
    width: 4.6rem; height: 4.6rem; background: transparent; border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-button); cursor: pointer; color: var(--color-text);
  }
  .nav-toggle svg { width: 2.6rem; height: 2.6rem; }
  .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .nav-toggle[aria-expanded="false"] .icon-close { display: none; }
  .mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 1900; background: var(--color-white); padding: 2.4rem var(--pad-x) 12rem; overflow-y: auto; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
  .mobile-nav > ul > li > a, .mobile-nav__label { display: block; padding: 1.6rem 1.2rem; font-weight: 700; font-size: 1.6rem; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
  .mobile-nav__label { color: var(--color-text-mute); font-size: 1.3rem; }
  .mobile-nav .sub li a { display: block; padding: 1.2rem 1.2rem 1.2rem 2.8rem; font-size: 1.5rem; color: var(--color-text-sub); border-bottom: 1px solid var(--color-border); font-weight: 500; }
  .mobile-nav a:hover { text-decoration: none; }
  .mobile-nav .btn { margin-top: 2rem; }

  .hero-inner { padding: 5.6rem 0 5.2rem; }
  .hero-title { font-size: 2.6rem; line-height: 1.4; }
  .hero-lead { font-size: 1.55rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; min-width: 0; }
  .hero-points { flex-direction: column; align-items: flex-start; gap: 1.2rem; max-width: 32rem; margin-left: auto; margin-right: auto; }
  .hero-points li { align-items: flex-start; text-align: left; }
  .hero-points li svg { margin-top: .2rem; }
  .people-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .person-card__body { padding: 2.4rem 2.4rem 2.8rem; }

  .trust-grid, .flagship-phases, .svc-grid, .svc-grid--2 { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .cta-duo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .page-title { font-size: 2.8rem; }

  .list-card { grid-template-columns: 1fr; gap: 0; }
  .list-card__body { padding: 2rem 2.2rem; }

  .post-grid, .cat-cards { grid-template-columns: 1fr; }
  .post-feature__body { padding: 2.4rem 2.2rem 2.8rem; }
  .post-feature__title { font-size: 2rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { text-align: left; }
  .post-nav__link.is-empty { display: none; }
  .page-hero--media .page-title { font-size: 2.6rem; }
  /* カテゴリバーは画面端まで使って横スクロールさせる */
  .cat-nav__list { padding-left: var(--pad-x); padding-right: var(--pad-x); margin-left: calc(var(--pad-x) * -1); margin-right: calc(var(--pad-x) * -1); }
  .media-empty { padding: 3.6rem 2rem; }
  .pager { gap: .8rem; margin-top: 3.2rem; }
  .pager__num, .pager__edge { min-width: 4rem; min-height: 4rem; padding: 0 1rem; font-size: 1.4rem; }

  .subsidy, .form-card { padding: 2.4rem; }
  .flagship-price { padding: 2rem; }
  .promise-item, .flow-item { padding: 2rem; }
  .tutor { flex-direction: column; }
  .author-box { flex-direction: column; }
  .spec-table th { width: 40%; white-space: normal; }
  .spec-table th, .spec-table td { padding: 1.4rem 1.6rem; }
  /* 助成金試算テーブルがはみ出さないよう金額セルの折り返しを許可 */
  .calc-table th, .calc-table td { padding: 1.3rem 1.4rem; font-size: 1.4rem; }
  .calc-table td { white-space: normal; }
  .faq-answer { padding-left: 2.4rem; }

  /* SP追従ボトムバナー */
  .mobile-cta-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1800;
    padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--color-border);
  }
  .mobile-cta-bar .btn { min-height: 5rem; padding: 1.2rem .8rem; font-size: 1.45rem; box-shadow: none; white-space: nowrap; }
  body { padding-bottom: 7.6rem; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.3rem; }
  .subsidy-fig .num { font-size: 2.2rem; }
}
