/* =============================================
   XManager — Webトップページ(LP)
   デザインリファレンス: docs 参照のLPカンプ
   ============================================= */

:root {
  --blue: #2b6cf0;
  --logo-purple: #6654d9;
  --blue-strong: #1f5ce0;
  --blue-soft: #eaf2ff;
  --blue-softer: #f4f8ff;
  --ink: #1e2537;
  --ink-soft: #55617c;
  --ink-faint: #8b96ad;
  --line: #dfe8f6;
  --white: #ffffff;
  --navy: #131a2e;
  --navy-panel: #1b2340;
  --ok: #34c07f;
  --warn: #f0647c;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px rgba(43, 108, 240, 0.12);
  --shadow-card: 0 10px 30px rgba(30, 37, 55, 0.08);
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", var(--font-jp);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn .arrow { font-family: var(--font-en); transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(43, 108, 240, 0.35);
}
.btn-primary:hover { background: var(--blue-strong); transform: translateY(-1px); }

.btn-ghost {
  background: var(--blue-soft);
  color: var(--blue);
}
.btn-ghost:hover { background: #ddeafe; }

.btn-lg { padding: 17px 38px; font-size: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1.5px solid transparent;
}
.text-link:hover { border-bottom-color: currentColor; }
.text-link .arrow { font-family: var(--font-en); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 232, 246, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* アプリと同じロゴ画像 (client/src/assets/brand/logo.png 由来) */
.brand-logo { height: 30px; width: auto; display: block; }

.global-nav {
  display: flex;
  gap: 28px;
  margin-inline: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.global-nav a:hover { color: var(--blue); }

.header-actions { display: flex; gap: 10px; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(120, 168, 255, 0.35), transparent 65%),
    radial-gradient(700px 420px at 5% 90%, rgba(160, 200, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #eaf2ff 55%, #f6faff 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.6;
}
.blob-a { width: 220px; height: 220px; left: -70px; top: 40px; background: radial-gradient(circle at 30% 30%, #dcebff, #bcd6ff); }
.blob-b { width: 140px; height: 140px; right: 12%; bottom: -40px; background: radial-gradient(circle at 30% 30%, #e4f0ff, #c3dbff); }
.blob-c { width: 90px; height: 90px; left: 46%; top: -30px; background: radial-gradient(circle at 30% 30%, #eaf3ff, #cfe2ff); }
.ghost-x {
  position: absolute;
  right: 6%;
  top: 48px;
  width: 150px;
  height: 150px;
  color: #9dbdf6;
  opacity: 0.5;
  --rot: 8deg; transform: rotate(var(--rot));
}
.ghost-x svg { width: 100%; height: 100%; }
.hero-card {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 34px rgba(43, 108, 240, 0.12);
  --rot: -8deg; transform: rotate(var(--rot));
}
.hero-card-1 { width: 150px; height: 100px; right: 20%; top: 30%; }
.hero-card-2 { width: 110px; height: 80px; right: 4%; bottom: 18%; --rot: 10deg; transform: rotate(var(--rot)); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 84px 0 96px;
}
.hero-eyebrow {
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero-platform { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.hero-platform svg { width: 16px; height: 16px; color: var(--blue); }
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}
.hero-visual img {
  width: min(380px, 82%);
  filter: drop-shadow(0 26px 40px rgba(43, 108, 240, 0.25));
}
.hero-script {
  position: absolute;
  right: -2%;
  bottom: 6%;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  color: #7ea4e8;
  font-size: 22px;
  line-height: 1.5;
  --rot: -8deg; transform: rotate(var(--rot));
  opacity: 0.85;
}

/* 吹き出し */
.speech {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(30, 37, 55, 0.12);
}
.speech::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 30px;
  border: 9px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}
.speech-hero { top: 2%; right: 8%; --rot: 3deg; transform: rotate(var(--rot)); }
.speech-hero::after { left: 24px; }

/* ---------- 特長セクション共通 ---------- */
.feature-block {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}
.feature-block.alt {
  background: linear-gradient(180deg, #f6faff, #edf4ff 60%, #f7fbff);
}
.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.feature-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }

.feature-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.feature-body {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 26px;
}

.section-index {
  position: absolute;
  bottom: 26px;
  left: 4%;
  display: flex;
  align-items: baseline;
  gap: 14px;
  pointer-events: none;
}
.section-index.right { left: auto; right: 4%; top: 40px; bottom: auto; }
.section-index .num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(80px, 10vw, 130px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #d4e3fb;
}
.section-index .tag {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: #b9cdec;
}

/* ---------- モックアップ(ダーク) ---------- */
.mock {
  background: linear-gradient(160deg, #171f38, #10162a);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(19, 26, 46, 0.35);
  color: #cfd9ef;
  font-size: 11px;
  overflow: hidden;
}
.avatar {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}
.av-a { background: linear-gradient(135deg, #ffb56b, #ff7847); }
.pos { color: #6ee7a8; }

/* ---------- 02 投稿 ---------- */
.mascot-panel {
  position: relative;
  padding: 46px 40px 30px;
  display: grid;
  place-items: center;
}
.mascot-panel img { width: min(360px, 78%); filter: drop-shadow(0 18px 30px rgba(43, 108, 240, 0.22)); }
.plane {
  position: absolute;
  top: 34px;
  left: 42px;
  width: 44px;
  height: 44px;
  color: #6f9bff;
  --rot: -12deg; transform: rotate(var(--rot));
}
.plane svg { width: 100%; height: 100%; }



/* ---------- 03 アナリティクス ---------- */
.analytics-wrap { position: relative; padding-bottom: 46px; }
.mock-analytics { padding: 18px 18px 22px; }
.mock-an-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.an-account { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 12px; }
.an-range { display: flex; gap: 4px; }
.an-range em {
  font-style: normal;
  padding: 4px 10px;
  border-radius: 8px;
  color: #8d9ab8;
}
.an-range em.on { background: var(--blue); color: #fff; font-weight: 700; }

.mock-an-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.an-k { color: #8d9ab8; }
.an-v { font-family: var(--font-en); font-weight: 800; font-size: 30px; color: #fff; line-height: 1.2; }
.an-delta { margin-bottom: 8px; }
.an-delta .rate { color: #8d9ab8; }
.an-chart { width: 100%; height: 120px; }
.an-axis { display: flex; justify-content: space-between; color: #66738f; font-size: 9px; }

.an-right { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.an-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.an-tile .k { color: #8d9ab8; font-size: 10px; }
.an-tile .v { font-family: var(--font-en); font-weight: 800; font-size: 17px; color: #fff; }

.peek-badge {
  position: absolute;
  right: -24px;
  bottom: -10px;
}
.peek-mascot { width: 180px; filter: drop-shadow(0 16px 30px rgba(19, 26, 46, 0.35)); }

/* ---------- 04 セキュリティ ---------- */
#sec-04 .feature-grid { align-items: start; }
.panel-secure { padding-top: 66px; }
.speech-secure { top: 22px; left: 40px; --rot: -3deg; transform: rotate(var(--rot)); }
.panel-browser { padding-top: 70px; }
.panel-browser img { width: min(320px, 70%); }
.speech-browser { top: 22px; right: 36px; --rot: 3deg; transform: rotate(var(--rot)); }


/* ---------- 05 Proxy ---------- */
.route-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 70px 20px 20px;
}
.route-visual img { width: min(300px, 64%); margin-left: 22%; filter: drop-shadow(0 22px 36px rgba(43, 108, 240, 0.25)); }
.speech-route { top: 0; right: 8%; --rot: 2deg; transform: rotate(var(--rot)); }
.route-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px 9px 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(43, 108, 240, 0.16);
}
.route-chip em { font-style: normal; font-weight: 600; color: var(--blue); }
.route-chip-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
}
.route-chip-icon svg { width: 14px; height: 14px; }
.chip-p1 { left: 0; top: 26%; --rot: -5deg; transform: rotate(var(--rot)); }
.chip-p2 { left: 4%; top: 50%; --rot: 3deg; transform: rotate(var(--rot)); }
.chip-p3 { left: 1%; bottom: 12%; --rot: -3deg; transform: rotate(var(--rot)); }

/* ---------- できること ---------- */
/* セクションごとに背景を交互に: 05(白) → できること(淡い青) → 料金(白) → 必要な分だけ(淡い青) → よくある質問(白) → 最後の CTA(青) */
.features { padding: 100px 0 100px; background: linear-gradient(180deg, #f6faff, #edf4ff 60%, #f7fbff); }
.features-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.section-title {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.features-grid li {
  /* 絵・見出し・説明の 3 段を同じ行のカード同士でそろえる (イラストとアイコン、説明の行数が混ざっても見出しの高さが合う) */
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.features-grid li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: #cbdcf8;
}
.f-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 14px;
}
.f-icon svg { width: 22px; height: 22px; }
.f-icon, .f-art { align-self: end; justify-self: center; }
.f-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 104px;
  margin: -6px 0 12px;
}
.f-art img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.features-grid li.has-art:hover .f-art img { transform: translateY(-3px) scale(1.04); }
.features-grid h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.features-grid p { font-size: 11.5px; color: var(--ink-faint); line-height: 1.7; }

/* ---------- 料金 ---------- */
.pricing { padding: 80px 0 90px; }
.pricing-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.pricing-note { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }
.pricing-art { width: 190px; height: auto; flex: 0 0 auto; }
.price-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(43, 108, 240, 0.07); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { padding: 16px 20px; background: #f4f7fd; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-align: center; border-bottom: 1px solid #e3e9f5; }
.price-table tbody tr + tr { border-top: 1px solid #e8edf7; }
/* 表として読めるよう列の区切り線を入れる (ボタン列の前は除く) */
.price-table th + th, .price-table th + td, .price-table td + td:not(.price-action) { border-left: 1px solid #e8edf7; }
.price-table tbody th, .price-table tbody td { padding: 22px 20px; vertical-align: middle; }
.price-table tbody th { text-align: center; font-weight: 400; }
.price-table .is-free { background: #fbfcff; }
.price-name { display: block; font-family: var(--font-en); font-size: 17px; font-weight: 800; }
.price-table thead th.price-unit { width: 22%; }
.price-table thead th.price-monthly { width: 16%; }
.price-table td.price-unit { width: 22%; text-align: center; font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.price-table td.price-monthly { width: 16%; text-align: center; font-family: var(--font-en); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.price-table .price-action { width: 210px; padding-left: 28px; }
.price-cta-sp { display: none; }
.btn-price { width: 100%; justify-content: center; padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--blue); font-size: 13px; }
.btn-price:hover { border-color: var(--blue); }
.btn-price.solid { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(43, 108, 240, 0.25); }
.btn-price.solid:hover { background: var(--blue-strong); }
.pricing-lead { margin-top: 10px; font-size: 20px; font-weight: 800; color: var(--ink); }
.pricing-lead + .pricing-note { margin-top: 4px; }

/* 料金表の直後: XManager は、必要な分だけ。 → Shop */
.only-sp { display: none; }
.growth-section { padding: 90px 0 100px; background: linear-gradient(180deg, #f6faff, #edf4ff 60%, #f7fbff); }
.growth-logo { display: inline-block; height: 1.16em; width: auto; vertical-align: -0.16em; margin-right: 2px; }
.growth-title { margin-top: 14px; text-align: center; font-size: 30px; font-weight: 900; letter-spacing: -0.01em; }
.growth-lead { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

/* 縦の線でつないだ 3 ステップ (PC は左右交互、SP は左に線) */
.step-line { position: relative; margin: 56px 0 0; padding: 0; list-style: none; }
/* 線は 01 の中心から 03 の中心まで (各ステップの上半分・下半分に分けて引く) */
.step-item::before, .step-item::after { content: ""; position: absolute; left: 50%; width: 1.5px; margin-left: -0.75px; background: var(--ink); }
.step-item::before { top: -12px; bottom: 50%; }
.step-item::after { top: 50%; bottom: 0; }
.step-item:first-child::before, .step-item:last-child::after { display: none; }
.step-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); grid-template-areas: "copy no art"; align-items: center; min-height: 300px; }
.step-item + .step-item { margin-top: 12px; }
.step-item:nth-child(even) { grid-template-areas: "art no copy"; }
.step-copy { grid-area: copy; width: 100%; max-width: 420px; }
.step-item:nth-child(odd) .step-copy { justify-self: end; }
.step-no { grid-area: no; align-self: center; justify-self: center; position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--blue); box-shadow: 4px 5px 0 rgba(30, 37, 55, 0.9); font-family: var(--font-en); font-size: 28px; font-weight: 800; color: #fff; }
.step-no::after { content: ""; position: absolute; left: 50%; bottom: 20px; width: 28px; height: 2.5px; margin-left: -14px; border-radius: 2px; background: #fff; }
.step-art { grid-area: art; position: relative; display: grid; place-items: center; }
.step-art::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(143, 184, 255, 0.35), rgba(255, 229, 180, 0.12) 55%, transparent 72%); filter: blur(8px); }
.step-art img { position: relative; width: 250px; height: auto; }
.step-title { font-size: 20px; font-weight: 900; line-height: 1.5; color: var(--ink); }
.step-label { display: block; margin-bottom: 6px; font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--blue); }
.step-body { margin-top: 12px; font-size: 14px; color: var(--ink-soft); line-height: 1.9; }

.growth-free { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.growth-free strong { font-family: var(--font-en); font-size: 28px; font-weight: 800; color: var(--ink); }
.growth-free span { font-size: 12px; color: var(--ink-faint); }
.growth-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.growth-chips li { padding: 3px 9px; border-radius: 6px; background: #e8edfb; font-family: var(--font-mono, ui-monospace, Menlo, monospace); font-size: 12px; font-weight: 700; color: var(--blue); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 最終CTA ---------- */
/* ---------- よくある質問 ---------- */
.faq { padding: 100px 0; background: #fff; }
.faq-inner { max-width: 880px; }
.faq-title { margin-bottom: 32px; text-align: center; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid #e3e8f2; border-radius: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.faq-item:hover { border-color: #cfdcf5; }
.faq-item[open] { box-shadow: 0 12px 30px rgba(43, 108, 240, 0.07); }
.faq-item summary { position: relative; display: flex; align-items: center; gap: 22px; min-height: 92px; padding: 24px 120px 24px 32px; font-size: 16px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.7; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
/* Q / A は細めの大きな英字で (Q はグレー、A はサイトの青) */
.faq-item summary::before, .faq-a::before { flex: 0 0 auto; width: 26px; font-family: var(--font-en); font-size: 26px; font-weight: 300; line-height: 1; }
.faq-item summary::before { content: "Q"; color: var(--ink-faint); }
/* 開閉ボタン: 青い枠の横長ピルに ＋ / − */
.faq-item summary::after { content: "+"; position: absolute; right: 32px; top: 50%; display: grid; place-items: center; width: 60px; height: 30px; margin-top: -15px; border: 1.5px solid var(--blue); border-radius: 999px; font-family: var(--font-en); font-size: 18px; font-weight: 400; line-height: 1; color: var(--blue); transition: background 0.15s ease, color 0.15s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover::after { background: var(--blue); color: #fff; }
.faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 14px; }
.faq-a { display: flex; gap: 22px; margin: 0 32px; padding: 26px 0 30px; border-top: 1px solid #e3e8f2; }
.faq-a::before { content: "A"; color: var(--blue); }
.faq-a p { font-size: 14px; line-height: 2; letter-spacing: 0.03em; color: var(--ink-soft); }

/* ---------- 最後の CTA (青い帯で「無料」をもう一度) ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: linear-gradient(120deg, #2b6cf0 0%, #3f5ff0 55%, #6a5cf0 100%);
  color: #fff;
}
.final-cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.final-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.final-cta img { width: 170px; filter: drop-shadow(0 16px 30px rgba(10, 30, 90, 0.35)); }
.final-cta-copy h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.4;
}
.final-cta-copy p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.88); }
.final-cta-action { text-align: center; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 14px 30px rgba(10, 30, 90, 0.25); }
.btn-white:hover { background: #f1f6ff; transform: translateY(-1px); }
.cta-note { margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.8); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: #aab6dd;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
/* ダーク背景のフッターでは白抜きで表示 */
.brand-footer .brand-logo { height: 26px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  margin-inline: auto;
  flex-wrap: wrap;
}
.footer-nav a:hover { color: #fff; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #cdd8f5;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }
.footer-social svg[viewBox="0 0 1024 1024"] { width: 26px; height: 26px; }
.copyright { font-size: 11.5px; color: #6f7da6; }

/* ---------- 下層ページ共通 ---------- */
.subpage-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(120, 168, 255, 0.28), transparent 65%),
    linear-gradient(180deg, #f8fbff 0%, #eaf2ff 100%);
  padding: 56px 0 48px;
}
.subpage-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.subpage-eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #9db8e6;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.subpage-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.subpage-lead { margin-top: 12px; color: var(--ink-soft); font-size: 14px; }
.subpage-mascot {
  flex: 0 0 auto;
  width: clamp(110px, 14vw, 170px);
  filter: drop-shadow(0 14px 24px rgba(43, 108, 240, 0.22));
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

/* 記事本文 (規約・ポリシー) */
.doc {
  width: min(760px, calc(100% - 48px));
  margin: 56px auto 90px;
}
.doc-meta {
  color: var(--ink-faint);
  font-size: 12.5px;
  margin-bottom: 34px;
}
.doc-intro { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 34px; }
.doc h2 {
  font-size: 19px;
  font-weight: 900;
  margin: 44px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  line-height: 1.5;
}
.doc p { font-size: 14.5px; color: #3a4460; margin-bottom: 14px; }
.doc ol, .doc ul {
  margin: 0 0 14px;
  padding-left: 24px;
  font-size: 14.5px;
  color: #3a4460;
  display: block;
}
.doc ol { list-style: decimal; }
.doc ul { list-style: disc; }
.doc li { margin-bottom: 8px; }
.doc li > ol { list-style: lower-alpha; margin-top: 8px; }
.doc .note {
  background: var(--blue-softer);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 特商法テーブル */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.legal-table th, .legal-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table th {
  width: 220px;
  background: var(--blue-softer);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.legal-table td { color: #3a4460; }

/* お問い合わせ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: start;
  width: min(1000px, calc(100% - 48px));
  margin: 56px auto 90px;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 34px 30px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-row .req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #ffe3ea;
  color: #e0526c;
  font-size: 10px;
  vertical-align: 1px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--blue-softer);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--ink-faint); }
.form-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.form-consent a { color: var(--blue); text-decoration: underline; }
.contact-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.form-status { margin-top: 14px; font-size: 13px; color: var(--ok); font-weight: 700; }

.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}
.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 10px;
}
.contact-card h2 .f-icon { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.contact-card h2 .f-icon svg { width: 18px; height: 18px; }
.contact-card p { font-size: 13px; color: var(--ink-soft); }
.contact-card p + p { margin-top: 8px; }
.contact-card .mail { font-family: var(--font-en); font-weight: 700; color: var(--blue); font-size: 14px; }

/* ---------- 動き (site.js と連動) ---------- */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(30, 37, 55, 0.08); }

.an-chart .fill-anim { opacity: 0; transition: opacity 0.9s ease 0.9s; }
.an-chart.drawn .fill-anim { opacity: 1; }


@media (prefers-reduced-motion: no-preference) {
  /* スクロールで現れる要素 (site.js が .reveal を付与) */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* ふわふわ浮遊 */
  .hero-visual img,
  .mascot-panel img,
  .route-visual img {
    animation: floaty 5.5s ease-in-out infinite;
  }
  .mascot-panel img { animation-duration: 6.5s; }
  .peek-badge { animation: floaty 5s ease-in-out infinite; }

  .route-chip {
    animation: floaty-rot 4.6s ease-in-out infinite;
  }
  .chip-p2 { animation-delay: 1.2s; }
  .chip-p3 { animation-delay: 2.1s; }

  .speech { animation: bob-rot 4s ease-in-out infinite; }
  .plane { animation: plane-drift 5s ease-in-out infinite; }
  .hero-checks li::before { transition: transform 0.2s ease; }
  .hero-checks li:hover::before { transform: scale(1.15); }

}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floaty-rot {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
}
@keyframes bob-rot {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-5px) rotate(var(--rot, 0deg)); }
}
@keyframes plane-drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
  50% { transform: translate(8px, -10px) rotate(var(--rot, 0deg)); }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1020px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .step-line { max-width: 560px; margin-left: auto; margin-right: auto; }
  .step-item::before, .step-item::after { left: 22px; }
  .step-item::before { top: -48px; bottom: auto; height: 70px; }
  .step-item::after { top: 22px; }
  .step-item, .step-item:nth-child(even) { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "no title" ". art" ". body"; column-gap: 16px; align-items: start; min-height: 0; }
  .step-item + .step-item { margin-top: 48px; }
  .step-copy { display: contents; }
  .step-title { grid-area: title; align-self: center; }
  .step-body { grid-area: body; margin-top: 4px; }
  .step-no { width: 44px; height: 44px; font-size: 15px; box-shadow: 2px 3px 0 rgba(30, 37, 55, 0.9); }
  .step-no::after { bottom: 9px; width: 16px; height: 2px; margin-left: -8px; }
  .step-art { justify-self: start; margin: 10px 0; }
  .step-art img { width: 200px; }
  .global-nav { display: none; }
  .hero-inner,
  .feature-grid,
  .feature-grid.reverse {
    grid-template-columns: 1fr;
  }
  .hero-inner { padding: 56px 0 72px; }
  .hero-visual { order: -1; min-height: 0; }
  .hero-visual img { width: min(300px, 70%); }
  .hero-card, .ghost-x, .hero-script { display: none; }
  .feature-grid.reverse .feature-visual { order: 2; }
  .feature-grid.reverse .feature-copy { order: 1; }
  .section-index .num { font-size: 72px; }
  .peek-mascot { width: 140px; right: 0; }
  .final-cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; }
  .faq { padding: 64px 0; }
  .faq-item summary { min-height: 0; padding: 18px 74px 18px 18px; gap: 12px; font-size: 14px; }
  .faq-item summary::before, .faq-a::before { width: 20px; font-size: 22px; }
  .faq-item summary::after { right: 16px; width: 44px; height: 26px; margin-top: -13px; font-size: 16px; }
  .faq-a { gap: 12px; margin: 0 18px; padding: 18px 0 20px; }
  .faq-a p { font-size: 13px; line-height: 1.9; }
  .footer-inner { flex-direction: column; align-items: center; }
  .footer-right { align-items: center; }
  .footer-nav { margin-inline: 0; justify-content: center; }
  .subpage-hero-inner { flex-direction: column-reverse; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-table th { width: 150px; white-space: normal; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero-title br, .feature-title br { display: none; }
  .header-actions .btn-ghost { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-head { align-items: flex-end; }
  .pricing-art { width: 110px; }
  .price-table thead th { padding: 12px 10px; font-size: 11px; line-height: 1.4; }
  .price-table tbody th, .price-table tbody td { padding: 14px 10px; }
  .price-name { font-size: 13px; white-space: nowrap; }
  .price-table td.price-unit, .price-table thead th.price-unit { width: auto; font-size: 12px; }
  .price-table td.price-monthly, .price-table thead th.price-monthly { width: auto; }
  .price-table td.price-monthly { font-size: 16px; }
  .price-table .price-action, .price-table thead th:last-child { display: none; }
  .price-table td + td:not(.price-action) { border-left: 1px solid #e8edf7; }
  .price-cta-sp { display: flex; justify-content: center; margin-top: 16px; }
  .only-sp { display: inline; }
  .only-pc { display: none; }
  .growth-section { padding: 64px 0 72px; }
  .growth-title { font-size: 24px; line-height: 1.4; }
  .growth-lead { margin-top: 8px; font-size: 13px; }
  .growth-title { font-size: 24px; }
  .step-line { margin-top: 36px; }
  .step-title { font-size: 17px; }
  .step-label { margin-bottom: 2px; font-size: 11px; }
  .step-body { font-size: 13px; }
  .route-visual img { width: 56%; margin-left: 44%; }
  .route-chip { padding: 7px 12px 7px 8px; font-size: 11px; }
  .mock-an-body { grid-template-columns: 1fr; }
}
