/* =========================================================
   landing.css — ドローン落下範囲 ランディングページ
   白基調・信頼感のある日本向けBtoB SaaS風デザイン
   ========================================================= */

/* ── CSS変数 ─────────────────────────────────── */
:root {
  /* メインカラー */
  --blue:        #2f80d1;
  --blue-dark:   #1a5fa8;
  --blue-light:  #e8f3fc;
  --blue-soft:   #deedf8;
  --navy:        #10233f;
  --ink:         #172033;
  --muted:       #5b687a;
  --line:        #d9e3ee;
  --soft:        #f4f7fb;
  --white:       #ffffff;
  --green:       #28b464;
  --green-light: #e8f8ef;
  --red:         #e03030;
  --red-light:   #fdeaea;
  --orange:      #ff8c00;
  --warning:     #fff7e8;

  /* シェイプ・シャドウ */
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(16,35,63,0.08);
  --shadow:      0 4px 20px rgba(16,35,63,0.10);
  --shadow-md:   0 8px 32px rgba(16,35,63,0.12);
  --max-w:       1140px;
  --section-py:  80px;

  /* ── 後方互換エイリアス ──────────────────────
     interviews.html / beta-register.html 等、旧 landing.css の
     CSS変数を参照しているページが色崩れしないよう定義。       */
  --paper:       #ffffff;          /* 旧: 明るい背景色 */
  --paper-soft:  #f4f7fb;          /* 旧: 薄いグレー背景 */
  --accent:      #2f80d1;          /* 旧: アクセントブルー */
  --accent-soft: #7fb3e8;          /* 旧: 明るいアクセントブルー */
  --text-muted:  #5b687a;          /* 旧: 控えめテキスト */
  --text-dim:    #6b7e93;               /* 旧: さらに薄いテキスト（白背景でWCAG AA相当 4:1以上） */
  --line-strong: #b8c8dc;          /* 旧: 強めのボーダー */
  --ink-800:     #2d3e55;          /* 旧: 少し明るいインク */
}

/* ── リセット・ベース ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── レイアウトユーティリティ ──────────────────── */
.lp-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.lp-section {
  padding-block: var(--section-py);
}

.lp-section--gray {
  background: var(--soft);
}

.lp-section-head {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.lp-section-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.lp-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

/* ── ボタン ────────────────────────────────────── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.lp-btn--primary {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 4px 14px rgba(47,128,209,0.3);
}
.lp-btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(47,128,209,0.4);
  text-decoration: none;
}

.lp-btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.lp-btn--outline:hover {
  background: var(--blue-light);
  text-decoration: none;
}

.lp-btn--white {
  background: #fff;
  color: var(--blue);
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.lp-btn--white:hover {
  background: #f0f7ff;
  text-decoration: none;
}

/* 既存 JS が data-register-link を参照するため button クラスも維持 */
.button.primary {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.96rem;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.button.primary:hover { background: var(--blue-dark); text-decoration: none; }
.button.secondary {
  background: transparent; color: var(--blue); border: 2px solid var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.96rem; cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.button.secondary:hover { background: var(--blue-light); text-decoration: none; }

/* ── 見出し ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  word-break: keep-all;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); }
h3 { font-size: 1.05rem; color: var(--ink); }

/* ── ヘッダー ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(16,35,63,0.06);
}

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand-beta {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* 旧ブランドスタイルとの互換 */
.brand-sub {
  font-size: 0.62rem; font-weight: 700;
  background: var(--blue); color: #fff;
  padding: 0.15rem 0.45rem; border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
  background: var(--blue-light);
  text-decoration: none;
}

.nav-cta, .site-nav .nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-sm) !important;
  margin-left: 0.5rem;
}
.nav-cta:hover, .site-nav .nav-cta:hover {
  background: var(--blue-dark) !important;
  text-decoration: none !important;
}

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── ヒーロー ──────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eef5fc 0%, #f7fafd 50%, #e8f3fc 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(47,128,209,0.25);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 1.4rem;
  font-weight: 900;
}

.hero-lead {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.hero-note {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ヒーロービジュアル */
.hero-visual {
  position: relative;
}

.hero-map-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #c8ddf5 0%, #deedf8 50%, #b8d4f0 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(47,128,209,0.15);
}

.hero-map-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-map-card:has(img[src]:not([src=""])) .hero-map-overlay {
  opacity: 0.45;
}

/* 凡例 */
.hero-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.legend-dot {
  display: inline-block;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* image-frame との互換 */
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-image { aspect-ratio: 4 / 3; }

/* ── 特徴カードストリップ ──────────────────────── */
.strip-cards {
  background: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.strip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.strip-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.strip-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.strip-card-icon--blue   { background: var(--blue-light); color: var(--blue); }
.strip-card-icon--red    { background: var(--red-light);  color: var(--red); }
.strip-card-icon--green  { background: var(--green-light);color: var(--green); }
.strip-card-icon--orange { background: var(--warning);    color: var(--orange); }

.strip-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.strip-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── 課題→解決 ─────────────────────────────────── */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.ps-col-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.ps-col-label--problem {
  color: var(--red);
  background: rgba(224, 48, 48, 0.12);
  border: 1px solid rgba(224, 48, 48, 0.18);
}

.ps-col-label--solution {
  color: var(--green);
  background: rgba(40, 180, 100, 0.12);
  border: 1px solid rgba(40, 180, 100, 0.18);
}

.ps-card {
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.ps-card--problem {
  background: #fff;
  border: 1px solid rgba(224,48,48,0.2);
  border-left: 4px solid var(--red);
}

.ps-card--solution {
  background: #fff;
  border: 1px solid rgba(40,180,100,0.2);
  border-left: 4px solid var(--green);
}

.ps-num {
  font-size: 0.68rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.ps-card--solution .ps-num { color: var(--green); }

.ps-check {
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ps-card h3 {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.ps-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.ps-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding-top: 0;
  min-width: 56px;
}

.ps-arrow svg {
  width: 52px;
  height: 52px;
}

/* ── 主な機能 ──────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

.feature-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 2rem;
}

/* ── ご利用の流れ ───────────────────────────────── */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.flow-step-num {
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.flow-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.flow-step p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

.flow-arrow {
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}

.flow-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── なぜ落下範囲が必要か ──────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.why-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.why-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

.why-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 3rem;
}

/* ── 実際の確認イメージ ────────────────────────── */
.usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.usage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.usage-card:hover {
  box-shadow: var(--shadow);
}

.usage-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.usage-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像が読み込めない場合のフォールバック */
.usage-img-wrap.is-missing::after {
  content: "画像を準備中";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--soft);
}

.usage-img-wrap.is-missing img {
  display: none;
}

.usage-card-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.usage-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.usage-card-body p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.75;
}

.usage-caption {
  font-size: 0.72rem !important;
  color: var(--muted) !important; /* #5b687a: 白背景で5:1以上のコントラスト確保 */
  margin-top: 0.6rem !important;
}

.usage-notice {
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2rem;
  line-height: 1.65;
}

/* ── 活用シーン ────────────────────────────────── */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.scene-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.scene-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.scene-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.scene-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.scene-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── インタビュー導線 ───────────────────────────── */
.iv-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

.iv-teaser-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.iv-teaser-role {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-transform: none;
}

.iv-teaser-quote {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.75;
  font-style: normal;
  border-left: 3px solid var(--blue);
  padding-left: 0.9rem;
}

.iv-teaser-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.iv-teaser-cta {
  text-align: center;
  margin-top: 1.75rem;
}

/* ── FAQ ───────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: background 0.15s;
}

.faq-question:hover { background: var(--soft); }

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.4rem 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── 最終CTA ────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, #1a5fa8 0%, #2f80d1 60%, #4a9de0 100%);
  padding-block: clamp(4rem, 7vw, 6rem);
  text-align: center;
  color: #fff;
}

.final-cta .lp-container {
  max-width: 700px;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.final-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.final-cta-notes {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.final-cta-notes li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.88); /* 青背景でのコントラスト確保（0.7では3.4:1で不足） */
}

.final-cta-notes li::before {
  content: "• ";
}

/* ── フッター ──────────────────────────────────── */
.site-footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 1.2rem 3rem;
  align-items: start;
}

.footer-brand { grid-column: 1; }

.footer-logo {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
  grid-column: 1 / -1;
}

.footer-nav a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--blue); text-decoration: none; }

.trademark {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  grid-column: 1 / -1;
}

.copyright {
  font-size: 0.72rem;
  color: var(--muted); /* #5b687a: --soft背景で5:1以上確保（旧の#a0aab8は2:1で不十分） */
  grid-column: 1 / -1;
}

/* ── モバイルメニュー ───────────────────────────── */
@media (max-width: 900px) {
  .menu-button { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 64px 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    gap: 0.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow-y: auto;
    z-index: 99;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta, .site-nav .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* ── タブレット（〜1024px）──────────────────────── */
@media (max-width: 1024px) {
  .strip-grid   { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ── タブレット（〜860px）──────────────────────── */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }
  .hero-lead  { max-width: 100%; }

  .hero-visual { order: -1; }

  .ps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ps-arrow {
    display: none;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flow-arrow { display: none; }

  .why-grid   { grid-template-columns: 1fr; }
  .usage-grid { grid-template-columns: 1fr; }

  .iv-teaser-grid { grid-template-columns: 1fr; max-width: 500px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── スマホ（〜580px）────────────────────────────── */
@media (max-width: 580px) {
  :root { --section-py: 56px; }

  h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); }

  .strip-grid   { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .scenes-grid  { grid-template-columns: repeat(2, 1fr); }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-btn {
    width: 100%;
    justify-content: center;
  }

  .why-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-card { padding: 1rem; }

  .faq-question { padding: 1rem 1.15rem; font-size: 0.9rem; }
  .faq-answer   { padding: 0 1.15rem 1rem; }

  .hero-legend {
    gap: 0.4rem 0.8rem;
    padding: 0.55rem 0.7rem;
  }

  .legend-item { font-size: 0.68rem; }
}

/* スクロール後ヘッダー強調 */
.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(16,35,63,0.10);
}

/* ハンバーガー → X アニメーション */
.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 印刷 ───────────────────────────────────────── */
@media print {
  .site-header, .hero-actions, .final-cta, .menu-button { display: none; }
  .hero { background: none; padding-block: 2rem; }
}

/* ── interviews.html 向け互換スタイル ─────────────
   interviews.html は landing.css を使い、
   固有スタイルは自ページの <style> ブロックで定義済み。
   以下は共通コンポーネントの互換のみ。
   ──────────────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--navy);
  font-weight: 700;
}

/* phrase span（JS / 既存CSS との互換） */
.phrase { display: inline-block; }

/* =========================================================
   Legal / Contact pages
   法務ページとお問い合わせページの共通レイアウト
   ========================================================= */
.legal-main {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at top right, rgba(47, 128, 209, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.legal-container {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.back-link::before {
  content: "←";
  font-size: 0.95rem;
}

.back-link:hover {
  text-decoration: none;
  color: var(--blue-dark);
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(16, 35, 63, 0.10);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.legal-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.25;
}

.legal-card h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.35;
}

.legal-card p,
.legal-card li {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--muted);
}

.legal-card ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-card li + li {
  margin-top: 0.5rem;
}

.legal-lead {
  margin-bottom: 1.6rem;
  font-size: 1rem;
}

.legal-section + .legal-section {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(217, 227, 238, 0.9);
}

.legal-note-box {
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #d8e7f5;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.compact-form {
  padding: 1.15rem;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dce8f4;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid #c8d8e8;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 209, 0.12);
}

.contact-form .button {
  width: fit-content;
  min-width: min(100%, 220px);
}

.form-help {
  min-height: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.form-help.is-success {
  color: #18794e;
}

.form-help.is-error {
  color: #b42318;
}

[data-contact-mailto].is-disabled {
  color: var(--muted);
  text-decoration: none;
  pointer-events: none;
}

@media (max-width: 720px) {
  .legal-card {
    border-radius: 14px;
    padding: 1.25rem;
  }

  .contact-form .button {
    width: 100%;
  }
}

/* ヒーロー画像を白背景になじませ、カード風の装飾を消す */
.hero {
  background: linear-gradient(
    180deg,
    #F9FAFD 0%,
    #F8F9FA 55%,
    #F4F6F1 100%
  );
}

.hero-map-card,
.hero-visual .hero-image {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.hero-map-card img,
.hero-visual .hero-image img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  transform: scale(1.5);
  transform-origin: center center;
}

.hero-map-overlay,
.hero-legend {
  display: none;
}
