@charset "UTF-8";
/* ==========================================================================
   IT資産管理ツール LP スタイル v2（2026-08-31 全面刷新）
   設計方針:
     ・シンプルさ最優先。装飾より可読性と導線のわかりやすさを取る
     ・配色は ITAM アプリ本体の実装色をそのままブランドカラーとして使う
       （static/style.css の --primary #2563b0 / topbar #1e3a5f / tab #5ea0e0）
     ・日本語の改行位置は word-break:auto-phrase と .nw で制御する
     ・manual/ が使う共有クラスと旧変数名も本ファイルで提供する（別ファイル不要）
   ========================================================================== */

/* ===== 1. デザイントークン ===== */
:root {
  /* ITAM ブランドカラー（アプリ実装色と一致） */
  --itam-blue: #2563b0;        /* アプリ --primary */
  --itam-blue-dark: #1d4f8c;   /* アプリ --primary-dark（hover） */
  --itam-navy: #1e3a5f;        /* アプリ topbar */
  --itam-sky: #5ea0e0;         /* アプリ タブ選択下線（罫線・装飾用） */
  --itam-sky-text: #96c5f2;    /* 濃紺の上に小さな文字を置くとき用（#5ea0e0 は 4.15:1 で AA 未達） */
  --itam-tint: #eaf2fb;        /* 淡い面 */
  --itam-tint-deep: #d5e5f6;

  /* 基本色 */
  --ink: #1f2a37;              /* アプリ --text */
  --muted: #5f6b7a;            /* 白背景で 5.4:1・AA 適合 */
  --line: #dde3ea;             /* アプリ --border */
  --line-soft: #eaeef3;
  --white: #ffffff;
  --surface-soft: #f4f6f9;     /* アプリ --bg */

  /* 状態色（アプリと同一） */
  --ok: #2e8b57;
  --warn: #b8860b;
  --danger: #c23b3b;

  /* 差し色（CTA 上のマイクロラベル専用。面積を広げない） */
  --accent: #ffc83d;
  --accent-ink: #4a3600;

  /* レイアウト */
  --wrap: 1080px;
  --wrap-wide: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --pad-x: clamp(20px, 5vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --shadow-card: 0 1px 2px rgba(30, 58, 95, .04), 0 8px 24px rgba(30, 58, 95, .06);
  --shadow-lift: 0 2px 4px rgba(30, 58, 95, .06), 0 16px 40px rgba(30, 58, 95, .12);

  /* 旧 style.css 互換の別名。manual.css が実際に参照している3つだけ残す
     （--cream-soft / --gold / --blue は参照ゼロだったため 2026-08-31 に削除） */
  --brand: var(--itam-blue);
  --brand-dark: var(--itam-navy);
  --cream: var(--itam-tint);
}

/* ===== 2. リセット・基盤 ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* 固定ヘッダー分のアンカー補正 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  /* Noto Sans JP を Web フォントで読み込む（Windows 既定の Meiryo / BIZ UD 表示だと
     見出しの太さが出ず古く見えるため）。読み込み前・失敗時は従来のシステム書体で表示する */
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic",
               "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.9;              /* 日本語は行間を広めに取る */
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 0; /* 業務文書として字面を詰めすぎない */
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--itam-blue); text-underline-offset: 3px; }
a:hover { color: var(--itam-blue-dark); }

/* フォーカスリング（キーボード操作時のみ・全要素共通） */
:focus-visible {
  outline: 3px solid var(--itam-sky);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 本文先頭へ飛ぶスキップリンク */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--itam-navy); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ===== 3. タイポグラフィと日本語の改行制御 =====
   auto-phrase: 文節単位で折り返す（Chrome/Edge 119+）。非対応ブラウザは従来動作
   balance/pretty: 行長のばらつきと最終行1文字を抑える                         */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.5;
  font-weight: 800;
  color: var(--itam-navy);
  word-break: auto-phrase;
  text-wrap: balance;
  letter-spacing: .01em;
  /* 見出しだけ約物を詰めて、太いウェイトでも間延びしないようにする */
  font-feature-settings: "palt" 1;
}
h1 { font-size: clamp(2rem, 5.4vw, 3.1rem); line-height: 1.35; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); line-height: 1.4; }
h3 { font-size: clamp(1.08rem, 2vw, 1.3rem); }
h4 { font-size: 1.05rem; }

p, li, dd, td, th { word-break: auto-phrase; text-wrap: pretty; line-break: strict; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* 途中で絶対に割りたくない語句に付ける */
.nw { white-space: nowrap; }

/* 画面には出さず、読み上げと見出し構造にだけ残す */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

code {
  font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
  font-size: .92em;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .1em .45em;
  /* break-all だと「…ITAssetManag / er」のように語中で割れ、2文字だけの
     角丸チップが取り残される。必要なときだけ折るこちらを使う */
  overflow-wrap: anywhere;
}

strong { font-weight: 700; color: var(--itam-navy); }

/* ===== 4. レイアウト ===== */
.wrap { width: min(100% - var(--pad-x) * 2, var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - var(--pad-x) * 2, var(--wrap-wide)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--surface-soft); }
/* 最も強い訴求（データの扱い）だけ紺に反転して、同じ構成が続く単調さを断つ */
.section--navy { background: var(--itam-navy); color: #fff; }
.section--navy h2 { color: #fff; }
.section--navy .section__head > p { color: rgba(255, 255, 255, .84); }
.section--navy .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.section--navy .eyebrow::before { background: var(--accent); }
.section--navy .section__head.is-center h2::after { background: var(--accent); }
.section--navy .policy-card { border-color: transparent; box-shadow: var(--shadow-lift); }

/* セクション見出しブロック */
.section__head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head.is-center { margin-inline: auto; text-align: center; }
/* 中央揃えの節見出しには短い下線を敷く（節の切れ目を目で追いやすくする） */
.section__head.is-center h2::after {
  content: ""; display: block;
  width: 48px; height: 4px; border-radius: 2px;
  background: var(--itam-blue);
  margin: 18px auto 0;
}
.section__head > p { color: var(--muted); margin-top: 1em; }

/* 節ラベル。ピル型にして節の先頭を目立たせる */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 4px 14px 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--itam-tint); color: var(--itam-blue-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--itam-blue);
}
.is-center .eyebrow { justify-content: center; }

.lead { font-size: 1.05rem; color: var(--muted); }

/* ===== 5. ヘッダー・ナビ ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(100% - var(--pad-x) * 2, var(--wrap-wide));
  margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 148px; height: auto; }

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: clamp(8px, 1.4vw, 22px);
}
.nav a {
  color: var(--ink); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--itam-blue); border-bottom-color: var(--itam-sky); }

/* ヘッダー内のCTA（ナビ最終項目） */
.nav .nav-download {
  background: var(--itam-blue); color: #fff;
  padding: 10px 20px; border-radius: var(--radius-pill);
  border-bottom: none; font-weight: 700;
}
.nav .nav-download:hover { background: var(--itam-blue-dark); color: #fff; border-bottom-color: transparent; }

/* ハンバーガー */
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute; left: 50%; width: 22px; height: 2px;
  background: var(--itam-navy); border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { content: ""; top: -7px; }
.nav-toggle__bars::after { content: ""; top: 7px; }
.is-open .nav-toggle__bars { background: transparent; }
.is-open .nav-toggle__bars::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.is-open .nav-toggle__bars::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* ===== 6. ボタン ===== */
/* 文中に .nw を含むため flex にしない（flex にすると文字列が別アイテム化し、
   gap がそのまま単語間の余白として現れ、折り返しも効かなくなる） */
.button {
  display: inline-block;
  min-height: 56px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-size: 1rem; font-weight: 700; line-height: 1.5;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  word-break: auto-phrase;
}
.button:hover { transform: translateY(-1px); }

.button--primary { background: var(--itam-blue); color: #fff; border-color: var(--itam-blue); }
.button--primary:hover { background: var(--itam-blue-dark); border-color: var(--itam-blue-dark); color: #fff; }

.button--ghost { background: var(--white); color: var(--itam-navy); border-color: var(--line); }
.button--ghost:hover { background: var(--itam-tint); border-color: var(--itam-sky); color: var(--itam-navy); }

/* LINEの緑（#06c755）は白文字だと 2.26:1 で AA を大きく下回る。
   色による識別性は保ちたいので、地色はそのままに文字を濃色にして 6.4:1 を確保する */
.button--line { background: #06c755; color: var(--ink); border-color: #06c755; }
.button--line:hover { background: #05b84e; border-color: #05b84e; color: var(--ink); }

/* 濃紺の面（ヒーロー・最終CTA）の上に置くボタン */
.button--white { background: var(--white); color: var(--itam-navy); border-color: var(--white); }
.button--white:hover { background: var(--itam-tint); border-color: var(--itam-tint); color: var(--itam-navy); }
.button--outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.button--outline-white:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
/* ボタン内アイコン（矢印・再生） */
.button .ico { width: 1.1em; height: 1.1em; margin: 0 6px 0 0; vertical-align: -.18em; }
.button .ico--arrow { margin: 0 0 0 8px; }

/* CTA の直上に置くマイクロラベル（「カード登録不要」など、押す前の不安を先に消す） */
.cta-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-tag {
  display: inline-block; padding: 3px 12px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font-size: .78rem; font-weight: 700; line-height: 1.6;
}
.cta-tag--ghost { background: rgba(255, 255, 255, .16); color: #fff; }

.button--lg { min-height: 64px; font-size: 1.08rem; padding: 18px 40px; }
.button--block { width: 100%; }

/* ===== 7. ヒーロー ===== */
/* 濃紺〜青の全面塗り。SaaS 大手の FV と同じく「ブランド色の面＋白文字」で第一印象を作る。
   下端は次節の「選ばれる理由」カードが食い込むため、下側の余白を多めに取る */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(94, 160, 224, .48), transparent 62%),
    radial-gradient(700px 480px at -8% 108%, rgba(37, 99, 176, .7), transparent 60%),
    linear-gradient(135deg, var(--itam-navy) 0%, #234a7d 55%, var(--itam-blue) 100%);
  padding-block: clamp(40px, 6vw, 76px) clamp(112px, 12vw, 152px);
}
/* うっすらしたドット地。面の単調さを消す装飾で、文字の上では薄く消す */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}
.hero__inner {
  position: relative; z-index: 1;
  width: min(100% - var(--pad-x) * 2, var(--wrap-wide));
  margin-inline: auto;
  display: grid;
  column-gap: clamp(32px, 4vw, 56px);
  row-gap: 0;
  /* PCは左に本文＋対象者、右に画面写真。
     スマホは 本文 → 画面写真 → 対象者 の順にして、画面写真を1画面目に入れる */
  /* 本文側をわずかに広く取り、主CTAと副CTAが 1440px で横に並ぶ幅を確保する */
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-areas:
    "copy     visual"
    "audience visual";
  align-items: center;
}
.hero__copy { grid-area: copy; }
.hero__visual { grid-area: visual; }
.audience { grid-area: audience; margin-top: 20px; }

/* 製品名ロックアップ（h1 はベネフィットのキャッチに譲り、製品名はその上に小さく置く） */
.hero__product { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.hero__h1-main { display: block; }
.hero__product-name { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 800; letter-spacing: .02em; }
.hero__product-tag {
  font-size: .76rem; font-weight: 700; padding: 3px 10px;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .16);
}
.hero h1 {
  color: #fff; margin-bottom: 18px;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 900; line-height: 1.3;
}
.hero__lead { font-size: 1.02rem; color: rgba(255, 255, 255, .88); margin-bottom: 22px; }
/* LP のヒーローでは使わないが、同じ lp.css を読む manual/index.html のヒーロー
   （.hero--manual 内の .eyebrow と .lead）が紺地の上で使うため残す */
.hero .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.hero .eyebrow::before { background: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, .88); }

/* 価格は買い切りという唯一の構造的差分なので、バッジと同格にせず独立した1行で大きく見せる */
.hero__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin: 0 0 18px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.hero__price-amount { font-size: 1.05rem; font-weight: 700; color: #fff; white-space: nowrap; }
.hero__price-amount b { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 900; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; margin-right: 2px; }
.hero__price-note { font-size: .9rem; font-weight: 700; color: rgba(255, 255, 255, .88); }
.hero__price-trial {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font-size: .82rem; font-weight: 700;
}
.hero__price-trial .ico { width: 16px; height: 16px; stroke-width: 3; }

/* 事実ベースの特徴バッジ（審査通過・外部送信なし・台数制限なし） */
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 26px; }
.hero__badges li { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: rgba(255, 255, 255, .82); line-height: 1.45; }
.hero__badges li b { display: block; color: #fff; font-size: .96rem; }
.hero__badges .ico { width: 24px; height: 24px; color: var(--accent); flex: 0 0 auto; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; margin-bottom: 20px; }

.audience { display: flex; flex-wrap: wrap; gap: 8px; }
.audience span {
  font-size: .84rem; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-pill); padding: 5px 14px;
}

/* ヒーロー画像はアプリの画面らしく「窓」に収め、KPI カードを浮かせて奥行きを出す */
.hero__visual { margin: 0; position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: 10% -6% -4%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(94, 160, 224, .45), transparent);
  filter: blur(20px);
}
.app-frame {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(8, 24, 48, .45);
  overflow: hidden;
}
/* ダッシュボードの画面写真は下 4 割が白紙なので、表示上だけ上部を切り出して枠を満たす
   （原寸は OG 画像と #screens の拡大リンクで使うため加工しない） */
.app-frame img { aspect-ratio: 16 / 7; object-fit: cover; object-position: left top; }
.float-card {
  position: absolute; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 148px; padding: 12px 16px 10px;
  background: var(--white); color: var(--itam-navy);
  border-radius: 14px; box-shadow: var(--shadow-lift);
}
.float-card--a { left: -26px; bottom: 64px; border-left: 4px solid var(--danger); }
.float-card--b { right: -18px; top: 44px; border-left: 4px solid var(--warn); }
.float-card__label { font-size: .74rem; font-weight: 700; color: var(--muted); }
.float-card__value { font-size: 1.75rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.float-card__value small { font-size: .85rem; margin-left: 2px; font-weight: 700; }
.app-frame__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--itam-navy);
}
.app-frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.34); }
.app-frame__bar span {
  margin-left: 8px; color: rgba(255,255,255,.9);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.app-frame img { width: 100%; }
.hero__visual figcaption {
  margin-top: 10px; font-size: .84rem; color: rgba(255, 255, 255, .72); text-align: center;
}

/* ===== 8. 選ばれる理由（ヒーロー直下・カードがヒーローの下端に食い込む） ===== */
.reasons { position: relative; z-index: 2; margin-top: -76px; padding-bottom: clamp(40px, 5vw, 64px); }
.reasons__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reason {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px 26px;
  box-shadow: var(--shadow-lift);
}
.reason .icon-chip { margin-bottom: 16px; }
.reason__num { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--itam-blue); }
.reason h3 { font-size: 1.2rem; margin-bottom: 8px; }
.reason p { font-size: .94rem; color: var(--muted); margin: 0; }
/* 検証できる仕様値だけの数字帯（導入社数・評価の代わり。数値の出所は README を参照） */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 28px; padding: 18px 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.stats b { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 900; color: var(--itam-navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats small { font-size: .85rem; font-weight: 800; margin-left: 3px; color: var(--itam-blue); }
.stats span { font-size: .84rem; color: var(--muted); font-weight: 700; }

/* ===== 9. お知らせ ===== */
.news-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.news-list > li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
/* 日付とタグは縦積みで揃える（横並びだとタグ名の長短で行が不揃いになる） */
.news-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.news-meta time { font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-tag {
  font-size: .78rem; font-weight: 700; border-radius: var(--radius-pill);
  padding: 3px 12px; white-space: nowrap;
  background: var(--itam-tint); color: var(--itam-blue-dark);
}
.news-tag--price { background: #fdf3d7; color: #6b5300; }
.news-tag--release { background: var(--itam-navy); color: #fff; }
.news-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.news-body p { font-size: .95rem; color: var(--muted); margin: 0; }
.news-note {
  margin-top: 24px; font-size: .92rem; color: var(--muted);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
}
.section--soft .news-note { background: var(--white); }

/* ===== 10. カードグリッド（課題・機能・FAQ 等） ===== */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ホバーで少し持ち上げる（カード系共通）。移動は transform、フェードは translate と分けて干渉させない */
.card, .reason, .video-card, .policy-card, .side-card, .cta-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .reason:hover, .video-card:hover, .policy-card:hover, .side-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--itam-tint-deep);
}

/* スクロールに合わせたフェードイン。JS が .reveal を付けたときだけ初期状態を薄くする
   （JS なし・IntersectionObserver なし・reduced-motion では最初から表示） */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .55s ease, translate .55s ease; }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.card-grid .reveal:nth-child(2), .reasons__grid .reveal:nth-child(2), .video-grid .reveal:nth-child(2), .flow .reveal:nth-child(2) { transition-delay: .07s; }
.card-grid .reveal:nth-child(3), .reasons__grid .reveal:nth-child(3), .video-grid .reveal:nth-child(3), .flow .reveal:nth-child(3) { transition-delay: .14s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: 0 0; }
  .card:hover, .reason:hover, .video-card:hover, .policy-card:hover, .side-card:hover { transform: none; }
}

/* 線画アイコン（本文先頭の <svg> スプライトを <use> で参照する） */
.ico {
  display: inline-block; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: middle;
}
/* アイコンを淡い角丸の面に載せたチップ。カードの頭に置いて視線の起点を作る */
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--itam-tint); color: var(--itam-blue);
}
.icon-chip .ico { width: 26px; height: 26px; }

/* 課題カード */
.pain-card .icon-chip { margin-bottom: 16px; }

/* 機能カード：アイコン＋連番 */
.feature__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.feature__num {
  font-size: .82rem; font-weight: 800; letter-spacing: .1em;
  color: var(--muted); font-variant-numeric: tabular-nums;
}

/* 画面紹介の「POINT 01」ラベル */
.point-chip {
  display: inline-block; margin-bottom: 12px; padding: 2px 10px;
  border: 2px solid var(--itam-blue); border-radius: 6px;
  font-size: .76rem; font-weight: 800; letter-spacing: .1em; color: var(--itam-blue);
}

/* 導入前後の比較表（課題節の末尾） */
.compare { margin-top: clamp(36px, 5vw, 56px); }
.compare__title { text-align: center; font-size: 1.25rem; font-weight: 800; color: var(--itam-navy); margin-bottom: 18px; }
.compare-table { min-width: 620px; }
.compare-table thead th { text-align: center; font-weight: 800; background: var(--surface-soft); padding-block: 14px; }
.compare-table thead th.compare-before { color: var(--muted); }
.compare-table thead th.compare-after { background: var(--itam-blue); color: #fff; }
.compare-table th[scope="row"] { width: 22%; }
.compare-table tbody td:nth-child(2) { color: var(--muted); }
.compare-table tbody td:nth-child(3) { color: var(--itam-navy); font-weight: 700; background: #f3f8fe; }
.compare-table tbody td:nth-child(3)::before {
  content: ""; display: inline-block; width: 12px; height: 7px; margin: 0 8px 3px 0;
  border-left: 2.5px solid var(--itam-blue); border-bottom: 2.5px solid var(--itam-blue);
  transform: rotate(-45deg);
}
/* 狭い画面では横スクロール表にせず、1行を1枚のカードに積み替える
   （横スクロールだと勝ち列の本文が画面外に出て、スクロールできる手がかりもない） */
@media (max-width: 700px) {
  .compare .table-wrap { border: none; background: transparent; overflow: visible; }
  .compare-table { min-width: 0; display: block; }
  .compare-table thead { display: none; }
  .compare-table tbody { display: grid; gap: 12px; }
  .compare-table tr {
    display: block; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  }
  .compare-table th[scope="row"] { display: block; width: auto; padding: 12px 16px; background: var(--surface-soft); }
  .compare-table td { display: block; padding: 10px 16px; border-bottom: none; }
  .compare-table td::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 2px; }
  .compare-table tbody td:nth-child(2)::before { color: var(--muted); }
  .compare-table tbody td:nth-child(3) { background: #f3f8fe; border-top: 1px solid var(--line-soft); }
  .compare-table tbody td:nth-child(3)::before { content: attr(data-label); color: var(--itam-blue); width: auto; height: auto; border: none; transform: none; margin: 0 0 2px; }
}

/* チェックリスト */
.check-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.check-list li {
  position: relative; padding-left: 30px;
  font-size: .95rem; color: var(--ink);
}
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--itam-blue);
  border-bottom: 2.5px solid var(--itam-blue);
  transform: rotate(-45deg);
}

/* ===== 11. ステップ（導入フロー・収集キット） ===== */
.flow { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.flow > li {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.flow__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.flow__head > span {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--itam-blue); color: #fff;
  font-size: 1.05rem; font-weight: 700;
}
.flow__head .ico { width: 28px; height: 28px; color: var(--itam-blue); }
.flow h3 { margin-bottom: 8px; font-size: 1.08rem; }
.flow p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ===== 12. 画面紹介（交互レイアウト） ===== */
.screen-row {
  display: grid; gap: clamp(24px, 4vw, 48px);
  /* 画面写真は原寸1600pxなので、縮小率を下げるため画像側の列を広く取る */
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  padding-block: clamp(28px, 4vw, 44px);
}
/* 区切り線は2つ目以降に引く（:first-of-type は section__head を拾ってしまうため使わない） */
.screen-row + .screen-row { border-top: 1px solid var(--line); }
.section__head + .screen-row { padding-top: 0; }
/* 交互配置。画像を2列目へ送る行は、広い列も2列目へ入れ替える
   （order だけ入れ替えると画像が狭い 1fr 側に入り、縮小率が上がってしまう）
   :nth-child は先行する .section__head の有無で全反転するため、明示クラスで指定する */
.screen-row--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.screen-row--reverse .screen-media { order: 2; }
.screen-media { margin: 0; }
.screen-media img {
  width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}
/* 縮小表示では細部が読めないため、クリックで原寸を開けるようにする */
.screen-media a { display: block; }
.screen-media a:hover img { border-color: var(--itam-sky); box-shadow: var(--shadow-lift); }
.screen-media figcaption {
  margin-top: 10px; font-size: .84rem; color: var(--muted); text-align: center;
}
.screen-media figcaption .zoom-hint {
  display: inline-block; margin-left: 8px;
  color: var(--itam-blue); font-weight: 700;
}
.screen-text h3 { margin-bottom: 12px; }
.screen-text p { font-size: .98rem; color: var(--muted); }
.screen-note { font-size: .88rem !important; margin-top: 12px !important; }

/* ===== 13. 動画 ===== */
.video-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.video-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card video { width: 100%; display: block; background: #000; }
.video-card figcaption { padding: 14px 18px; font-size: .93rem; font-weight: 700; color: var(--itam-navy); }

/* 1分デモ（クリックで YouTube 生成） */
.demo-embed {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000;
  box-shadow: var(--shadow-card);
  max-width: 900px; margin-inline: auto;
}
.demo-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-embed__play {
  width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: none; position: relative; display: block;
}
.demo-embed__play img { width: 100%; height: 100%; object-fit: cover; }
.demo-embed__icon {
  position: absolute; inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(37, 99, 176, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: background-color .18s ease, transform .18s ease;
}
.demo-embed__icon::after {
  content: ""; position: absolute; inset: 50% auto auto 54%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
}
.demo-embed__play:hover .demo-embed__icon { background: var(--itam-blue-dark); transform: translate(-50%, -50%) scale(1.05); }
.demo-embed__play:focus-visible .demo-embed__icon { outline: 3px solid #fff; outline-offset: 4px; }

/* ===== 14. 収集キット ===== */
.kit-figure { margin: 0 0 28px; }
.kit-figure img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.kit-figure figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); text-align: center; }
.kit-notes {
  margin-top: 24px; padding: 18px 22px;
  background: #fdf3d7; border: 1px solid #e4cd8a; border-radius: var(--radius);
}
.kit-notes p { font-size: .92rem; color: #6b5300; margin-bottom: .6em; }
.kit-notes p:last-child { margin-bottom: 0; }

/* 中間CTA */
.mid-cta {
  margin-top: 32px; padding: 26px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.mid-cta h3 { margin-bottom: 6px; font-size: 1.1rem; }
.mid-cta p { margin: 0; font-size: .93rem; color: var(--muted); max-width: 46ch; }
.mid-cta .button { flex: 0 0 auto; }

/* ===== 15. データの扱い（安心設計） ===== */
/* 「取得する↔取得しない」「保存先↔外部送信」が対で並ぶ2列。
   4列にすると1行の文字数が減りすぎて箇条書きが折り返しだらけになる */
.policy-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.policy-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; }
.policy-card ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.policy-card li { position: relative; padding-left: 26px; font-size: .93rem; color: var(--muted); }
.policy-card p { font-size: .93rem; color: var(--muted); }
/* 取得する情報＝青チェック */
.policy-card--yes li::before {
  content: ""; position: absolute; left: 3px; top: .55em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--itam-blue); border-bottom: 2.5px solid var(--itam-blue);
  transform: rotate(-45deg);
}
/* 取得しない情報＝グレーの横棒 */
.policy-card--no li::before {
  content: ""; position: absolute; left: 3px; top: .95em;
  width: 13px; height: 2.5px; border-radius: 2px; background: var(--muted);
}
.policy-badge {
  flex: 0 0 auto; font-size: .74rem; font-weight: 700;
  border-radius: var(--radius-pill); padding: 3px 12px;
}
.policy-badge--yes { background: var(--itam-tint); color: var(--itam-blue-dark); }
.policy-badge--no { background: var(--surface-soft); color: var(--muted); }

/* ===== 16. 価格・ダウンロード ===== */
.price-layout {
  display: grid; gap: 24px;
  /* 左右を均等にすると右カラムだけ内容が短く、右下に大きな余白が空く */
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}
.price-card {
  background: var(--white); border: 1px solid var(--itam-tint-deep);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.price-card__head { background: var(--itam-navy); color: #fff; padding: 18px 26px; }
.price-card__head p { margin: 0; font-size: .88rem; color: var(--itam-sky-text); font-weight: 700; letter-spacing: .04em; }
.price-card__head h3 { color: #fff; font-size: 1.15rem; margin-top: 2px; }
.price-card__body { padding: 26px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.price-amount b {
  font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 700;
  color: var(--itam-navy); line-height: 1.1; font-variant-numeric: tabular-nums;
}
.price-amount span { font-size: 1rem; color: var(--muted); font-weight: 700; }
.price-sub { font-size: .95rem; color: var(--itam-blue); font-weight: 700; margin-bottom: 20px; }
.price-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 24px; border-top: 1px solid var(--line-soft); }
.price-list > div {
  display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between;
  padding: 12px 2px; border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
}
.price-list dt { color: var(--muted); margin: 0; }
.price-list dd { margin: 0; font-weight: 700; color: var(--itam-navy); text-align: right; }
.price-actions { display: grid; gap: 12px; }
.store-badge-wrap { margin: 18px 0 0; display: flex; justify-content: center; }
.download-meta {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--muted); line-height: 1.85;
}
.price-caution {
  margin-top: 16px; font-size: .86rem; color: var(--muted);
  background: var(--surface-soft); border-radius: var(--radius-sm); padding: 14px 16px;
}

/* 月額型との違い（他社名・他社価格は出さず、費用の「構造」だけを対比する） */
.price-compare {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px; align-items: stretch; margin-bottom: 28px;
}
.price-compare__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--white); }
.price-compare__col--main { background: var(--itam-navy); border-color: var(--itam-navy); color: #fff; }
.price-compare__label { font-size: .82rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.price-compare__col--main .price-compare__label { color: var(--itam-sky-text); }
.price-compare__big { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 900; line-height: 1.3; color: var(--itam-navy); margin-bottom: 6px; }
.price-compare__sub { font-size: .95rem; font-weight: 700; }
.price-compare__col--main .price-compare__big { color: #fff; }
.price-compare__col > p:last-child { font-size: .9rem; color: var(--muted); margin: 0; }
.price-compare__col--main > p:last-child { color: rgba(255, 255, 255, .82); }
.price-compare__vs {
  align-self: center; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-soft); color: var(--muted); font-size: .85rem; font-weight: 900;
}

/* 右カラム（サポート導線） */
.price-side { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.side-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.side-card p { font-size: .95rem; color: var(--muted); }
.side-card .button { margin-top: 16px; }
.side-card--line { background: var(--itam-tint); border-color: var(--itam-tint-deep); }

/* ===== 17. FAQ（アコーディオン） ===== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 4px; cursor: pointer;
  font-size: 1.02rem; font-weight: 700; color: var(--itam-navy);
  list-style: none; word-break: auto-phrase;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: 0 0 auto; margin-left: auto; margin-top: .45em;
  width: 13px; height: 13px;
  border-right: 2.5px solid var(--itam-blue); border-bottom: 2.5px solid var(--itam-blue);
  transform: rotate(45deg); transform-origin: center;
  transition: transform .2s ease;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); margin-top: .8em; }
.faq-item > summary:hover { color: var(--itam-blue); }
.faq-answer { padding: 0 4px 22px; font-size: .96rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== 18. テーブル ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: none; }
th[scope="row"] { width: 34%; color: var(--itam-navy); font-weight: 700; background: var(--surface-soft); }

/* ===== 19. サポート・利用条件 ===== */
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.split p { color: var(--muted); font-size: .98rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.support-box { background: var(--itam-tint); border: 1px solid var(--itam-tint-deep); border-radius: var(--radius); padding: 26px 24px; }
.support-box h3 { margin-bottom: 10px; font-size: 1.08rem; }
.support-box p { font-size: .95rem; }
.support-box__tel { font-size: 1.25rem; font-weight: 700; color: var(--itam-navy); margin-top: 8px; }
.support-box__tel a { color: inherit; text-decoration: none; display: inline-block; padding: 10px 0; }

/* 利用条件は最終CTAの後ろ・フッターの前に、法務文として小さく置く */
.terms { padding-block: clamp(36px, 5vw, 56px); background: var(--white); }
.terms__title { font-size: 1.1rem; margin-bottom: 16px; color: var(--muted); }
.terms-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.terms-grid .card { padding: 18px 20px; }
.terms-grid .card h3 { font-size: .98rem; margin-bottom: 6px; }
.terms-grid .card p { font-size: .88rem; }

/* ===== 20. 最終CTA ===== */
.cta { background: var(--itam-navy); color: #fff; padding-block: clamp(52px, 7vw, 84px); }
.cta__inner {
  width: min(100% - var(--pad-x) * 2, var(--wrap));
  margin-inline: auto; text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 40rem; margin-inline: auto; margin-bottom: 28px; }
.cta .eyebrow { background: rgba(255, 255, 255, .14); color: #fff; }
.cta .eyebrow::before { background: var(--accent); }
/* 2枚カードの導線（試す／相談する）。どちらも押せる面全体をリンクにする */
.cta-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin-inline: auto; text-align: left; }
.cta-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px 26px 24px;
  background: var(--white); color: var(--itam-navy);
  border: 2px solid transparent; border-radius: var(--radius);
  box-shadow: var(--shadow-lift); text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.cta-card:hover { transform: translateY(-2px); border-color: var(--itam-sky); color: var(--itam-navy); }
.cta-card__ico { width: 36px; height: 36px; color: var(--itam-blue); }
.cta-card strong { font-size: 1.15rem; line-height: 1.45; color: inherit; }
.cta-card__desc { font-size: .9rem; color: var(--muted); }
.cta-card--sub { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; border-color: rgba(255, 255, 255, .35); }
.cta-card--sub:hover { border-color: #fff; color: #fff; }
.cta-card--sub .cta-card__ico { color: #fff; }
.cta-card--sub .cta-card__desc { color: rgba(255, 255, 255, .82); }

/* ===== 21. フッター ===== */
.footer { background: var(--surface-soft); border-top: 1px solid var(--line); padding-block: 48px 0; }
.footer__inner {
  width: min(100% - var(--pad-x) * 2, var(--wrap-wide));
  margin-inline: auto;
  display: grid; gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.footer p { font-size: .9rem; color: var(--muted); margin: 14px 0; }
.footer img { width: 132px; }
.footer__line img { width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 26px; align-content: start; }
.footer__links a { font-size: .93rem; color: var(--ink); text-decoration: none; padding: 8px 0; }
.footer__links a:hover { color: var(--itam-blue); text-decoration: underline; }
.copyright {
  margin: 40px 0 0; padding: 18px var(--pad-x);
  border-top: 1px solid var(--line);
  text-align: center; font-size: .82rem; color: var(--muted);
}

/* ===== 22. レスポンシブ ===== */
@media (max-width: 1140px) {
  /* 1カラムに畳むときは minmax(0,1fr) を使う。素の 1fr は min-content が下限になり、
     中身の最小幅が画面幅を超えるとトラックごと画面外へはみ出す */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "visual" "audience";
    row-gap: 24px;
  }
  .audience { margin-top: 0; }
  .price-layout { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  /* :nth-child(even) 付きの指定は詳細度が高いので、ここでも同じ強さで打ち消す */
  .screen-row,
  .screen-row--reverse { grid-template-columns: minmax(0, 1fr); }
  .screen-row--reverse .screen-media { order: 0; }
}

@media (max-width: 1140px) {
  /* ナビをハンバーガーに切り替え。
     JS無効時は「押しても何も起きないボタン」を出さず、ナビを折り返して見せる */
  .js .nav-toggle { display: block; }
  .nav { flex-wrap: wrap; }
  .js .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    padding: 8px 0 16px;
  }
  .js .site-header.is-open .nav { display: flex; }
  /* JS無効時はナビが常時表示になるため、ヘッダー内で2段に折り返せるようにする
     （JS有効時はナビが display:none なので折り返しは発生しない） */
  .site-header__inner { position: relative; flex-wrap: wrap; }
  .nav a { padding: 14px var(--pad-x); border-bottom: 1px solid var(--line-soft); }
  .nav a:hover { background: var(--itam-tint); border-bottom-color: var(--line-soft); }
  .nav .nav-download {
    margin: 12px var(--pad-x) 0; border-radius: var(--radius-pill);
    justify-content: center; text-align: center; border-bottom: none;
  }
  .policy-grid { grid-template-columns: 1fr; }
  .reasons__grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .price-compare { grid-template-columns: minmax(0, 1fr); }
  .price-compare__vs { justify-self: center; }
  .cta-cards { grid-template-columns: minmax(0, 1fr); }
  /* 浮かせた KPI カードは画面の内側に収める */
  .float-card--a { left: 12px; bottom: 48px; }
  .float-card--b { right: 12px; top: 56px; }
  /* 追従 CTA の分だけフッターの下に余白を足す */
  .footer { padding-bottom: 76px; }
  .news-list > li { grid-template-columns: 1fr; gap: 8px; }
  .news-meta { flex-direction: row; align-items: center; gap: 12px; }
  .footer__inner { grid-template-columns: 1fr; }
  .mid-cta { flex-direction: column; align-items: stretch; }
  .mid-cta .button { width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  /* 画面高844pxの端末でヒーロー画像が画面内に入るよう、上側の余白と間隔を詰める。
     下側は「選ばれる理由」カードが 64px 食い込むため、対象者チップ2行分が隠れない 100px を確保する */
  .hero { padding-block: 16px 100px; }
  .hero__lead { margin-bottom: 16px; }
  .hero__badges { gap: 8px 16px; margin-bottom: 18px; }
  .hero__actions { margin-bottom: 0; gap: 12px; }
  .hero__actions .button--lg { min-height: 56px; padding: 15px 24px; font-size: 1rem; }
  .button { width: 100%; padding-inline: 20px; }
  .cta-stack { width: 100%; }
  .hero__actions .button, .cta__actions .button, .contact-actions .button { width: 100%; }
  .float-card--b { display: none; }
  .float-card { min-width: 0; padding: 8px 12px 6px; }
  .float-card__value { font-size: 1.35rem; }
  .reasons { margin-top: -64px; }
  .card, .flow > li, .policy-card, .side-card, .support-box { padding: 22px 20px; }
  .price-card__body { padding: 22px 20px; }
  th[scope="row"] { width: 40%; }
  th, td { padding: 12px 14px; }
}

/* Microsoft 提供のストアバッジは実寸約380pxで縮まないため、
   極小画面では非表示にする（直上の主ボタンが同じ導線を担う） */
@media (max-width: 400px) {
  .store-badge-wrap { display: none; }
}

/* ===== 23. アクセシビリティ・モーション ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .button:hover { transform: none; }
}

/* 印刷時は導線を落として本文だけ残す */
@media print {
  .site-header, .cta, .demo-embed, .video-grid, .skip-link { display: none; }
  body { font-size: 12pt; }
  .section { padding-block: 16pt; }
}

/* ===== 24. 開発元の話（導入事例の代わりに置く、事実だけの信頼要素） ===== */
.story {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start;
  background: var(--itam-tint); border: 1px solid var(--itam-tint-deep);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
}
.story__logo {
  display: flex; align-items: center; justify-content: center;
  padding: 22px; background: var(--white);
  border: 1px solid var(--itam-tint-deep); border-radius: var(--radius-sm);
}
.story__body h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 12px; }
.story__body > p { color: var(--ink); }
/* 基底の定義より後ろに置く（22節の共通ブロックに書くと基底に負ける） */
@media (max-width: 1140px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__logo { justify-self: start; }
}

/* ===== 25. 追従 CTA（タブレット以下・ヒーローを過ぎたら出す・CTA 節が見えたら消す） ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; gap: 10px;
  padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(30, 58, 95, .12);
}
.sticky-cta.is-visible { display: flex; }
.sticky-cta .button { flex: 1 1 auto; width: auto; min-height: 50px; padding: 12px 16px; font-size: .98rem; }
.sticky-cta__sub {
  flex: 0 0 auto; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: .86rem; font-weight: 700; color: var(--itam-navy);
  text-decoration: none; white-space: nowrap;
}
@media (min-width: 1141px) {
  .sticky-cta { display: none !important; }
}

/* PC 表示でだけ効かせる改行（h1 の句点位置） */
.br-pc { display: none; }
@media (min-width: 561px) { .br-pc { display: inline; } }

/* ヘッダーの製品名（会社ロゴの横。狭い画面では隠す） */
.brand-product {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .95rem; font-weight: 800; color: var(--itam-navy); white-space: nowrap;
}
.brand-product::before { content: ""; width: 1px; height: 26px; background: var(--line); }
@media (max-width: 700px) { .brand-product { display: none; } }

/* ===== 26. 動作環境の表（料金セクションのカード内） =====
   カード幅が350px程度になる画面では、項目名と値を横並びにすると
   表が枠を超えて文字が切れる（Windows 11 対応の記述が読めなくなる）ため縦積みにする */
@media (max-width: 700px) {
  .env-table,
  .env-table tbody,
  .env-table tr,
  .env-table th,
  .env-table td { display: block; width: auto; }
  .env-table tr { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .env-table tr:last-child { border-bottom: none; }
  .env-table th[scope="row"] {
    background: none; padding: 0 14px 2px;
    font-size: .88rem; color: var(--muted); font-weight: 700;
  }
  .env-table td { padding: 0 14px; border-bottom: none; }
}
