/* Sunforest Portal — Apple-inspired design system */
:root {
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, monospace;
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.08);
  --success: #34c759;
  --success-soft: rgba(52, 199, 89, 0.12);
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 980px;
  --max: 1060px;
  --header-h: 52px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root.auto-dark {
    --bg: #000000;
    --bg-alt: #1d1d1f;
    --surface: #1d1d1f;
    --text: #f5f5f7;
    --text-secondary: #a1a1a6;
    --text-tertiary: #6e6e73;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --accent-soft: rgba(0, 113, 227, 0.2);
    --success-soft: rgba(52, 199, 89, 0.15);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.47059;
  font-size: 17px;
  letter-spacing: -0.022em;
  overflow-x: hidden;
}
body::before {
  display: none;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-hover); }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(251, 251, 253, 0.92);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 1px;
  letter-spacing: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.nav a.active { color: var(--text); background: var(--bg-alt); font-weight: 500; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease-out), background 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: none;
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  text-decoration: none;
  color: var(--accent);
}
.btn-sm { font-size: 12px; padding: 7px 14px; }
.header-cta { flex-shrink: 0; }

/* Role bar */
.role-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 199;
  background: rgba(245, 245, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.role-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.role-label { font-size: 11px; color: var(--text-tertiary); font-weight: 500; margin-right: 4px; }
.role-btn {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s var(--ease);
}
.role-btn:hover { color: var(--text); }
.role-btn.active { background: var(--text); color: #fff; }
#roleStatus { margin-left: auto; font-size: 11px; color: var(--text-tertiary); font-weight: 400; }

/* —— Layout —— */
.page { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 44px); }
main { max-width: var(--max); margin: 0 auto; padding: 0 22px 100px; }
section {
  padding: 88px 0;
  border-bottom: none;
}
section + section { padding-top: 0; }
.section-head { margin-bottom: 48px; max-width: 680px; }
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
h1 {
  font-size: clamp(40px, 6.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}
h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.subhead {
  font-size: clamp(19px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  max-width: 580px;
}
.lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.lead strong { color: var(--text); font-weight: 600; }

/* ④費用 — リード（スマホでも段落が崩れない） */
.pricing-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin-top: 4px;
}
.pricing-lead__row {
  margin: 0;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  display: grid;
  grid-template-columns: minmax(7.5em, 9.5em) 1fr;
  gap: 6px 12px;
  align-items: baseline;
}
.pricing-lead__row--si {
  background: var(--surface);
}
.pricing-lead__k {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}
.pricing-lead__v {
  color: var(--text-secondary);
}
.pricing-lead__v strong {
  color: var(--text);
  font-weight: 700;
}
.pricing-lead__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}
.pricing-lead__link {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}
@media (max-width: 560px) {
  .pricing-lead__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 14px;
  }
  .pricing-lead__k {
    display: block;
    margin-bottom: 2px;
  }
}

/* 音声ガイド（ElevenLabs） */
.guide-welcome {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}
.guide-welcome.hidden { display: none !important; }
.guide-welcome__card {
  max-width: 480px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg, 0 12px 40px rgba(0, 0, 0, 0.12));
}
.guide-welcome__card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.guide-welcome__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.guide-hint a { color: var(--accent); font-weight: 600; }

body.mode-ceo.has-guide-player { padding-bottom: 64px; }
body.guide-tour-active .site-header {
  background: #fbfbfd;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body.guide-tour-active .role-bar {
  display: none;
}
body.guide-tour-active {
  padding-bottom: 64px !important;
}
body.guide-tour-active .page {
  padding-top: calc(var(--header-h) + 8px);
}
body.guide-tour-active section,
body.guide-tour-active #pricing-anchor,
body.guide-tour-active #pricing-offer,
body.guide-tour-active #roadmap {
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.guide-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: none;
}
.guide-caption {
  width: 100%;
  margin: 0;
  padding: 6px 14px 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  border: none;
  background: transparent;
}
.guide-caption[hidden] { display: none; }
.guide-player__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4px 12px 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.guide-player__title {
  display: none;
}
.guide-player__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 6px;
}
.guide-player__label {
  font-size: 12px;
  color: var(--text-tertiary);
}
.guide-player__select {
  flex: 1 1 160px;
  max-width: 280px;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}
.guide-player__btn {
  padding: 8px 14px;
  font-size: 14px;
}
.guide-player__status {
  display: none;
}
@media (max-width: 640px) {
  body.mode-ceo.has-guide-player { padding-bottom: 72px; }
  .guide-caption { font-size: 12px; }
  .guide-player__btn { padding: 6px 10px; font-size: 12px; }
}

/* ガイド中 — 目立たせすぎない（暗転・厚い影なし） */
.guide-section-active {
  outline: none;
  box-shadow: inset 3px 0 0 var(--accent);
  background: rgba(0, 113, 227, 0.03);
  border-radius: 0;
}

#exp-estimate,
#pricing-anchor,
#pricing-offer,
#evidence-build { scroll-margin-top: calc(var(--header-h) + 44px); }

/* ロードマップ */
#roadmap { scroll-margin-top: calc(var(--header-h) + 44px); }

.roadmap-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
}
@media (max-width: 900px) {
  .roadmap-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .roadmap-flow { grid-template-columns: 1fr; }
}

.roadmap-step {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 140px;
}
.roadmap-step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--text-tertiary);
}
.roadmap-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.roadmap-step p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: var(--text-secondary);
}
.roadmap-price {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.roadmap-step--done {
  background: var(--bg-alt);
  border-style: dashed;
}
.roadmap-step--now {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
  background: linear-gradient(160deg, rgba(0, 113, 227, 0.06), var(--surface));
}
.roadmap-step--now .roadmap-step__num { color: var(--accent); }
.roadmap-step--next {
  border-color: #e8a317;
  background: linear-gradient(160deg, rgba(255, 149, 0, 0.08), var(--surface));
}
.roadmap-step--next .roadmap-step__num { color: #c93400; }
.roadmap-step--out {
  background: var(--bg-alt);
  opacity: 0.92;
}

.roadmap-table td:first-child { font-weight: 600; color: var(--text-tertiary); }
.roadmap-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
.roadmap-badge.done { background: var(--bg-alt); color: var(--text-tertiary); }
.roadmap-badge.p1 { background: rgba(0, 113, 227, 0.12); color: var(--accent); }
.roadmap-badge.p2 { background: rgba(255, 149, 0, 0.15); color: #c93400; }
.roadmap-badge.part { background: rgba(52, 199, 89, 0.12); color: #248a3d; }
.roadmap-badge.out { background: var(--bg-alt); color: var(--text-tertiary); }
.roadmap-badge.ops { background: rgba(30, 64, 175, 0.12); color: #1e40af; }

.roadmap-service {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  margin-top: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid #f5d78e;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 55%);
}
.roadmap-service__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 149, 0, 0.2);
  color: #c93400;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.roadmap-service h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.roadmap-service p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: var(--text-secondary);
}
.roadmap-service__list {
  margin: 0 0 12px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.roadmap-service__note {
  font-size: 12px !important;
  color: var(--text-tertiary) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
@media (max-width: 600px) {
  .roadmap-service { flex-direction: column; padding: 18px 16px; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* —— Hero —— */
.hero {
  padding: 32px 0 88px;
  min-height: auto;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.hero-card .section-tag { margin-bottom: 16px; }
.strike {
  text-decoration: line-through;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 400;
  display: block;
  margin-bottom: 8px;
}
.price-hero {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin: 4px 0;
}
.price-hero .unit {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-left: 4px;
}
.price-secondary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.price-secondary .label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.price-secondary .amount {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--success);
}
.price-secondary .period { font-size: 13px; color: var(--text-tertiary); }
.hero-points { list-style: none; }
.hero-points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 0;
  position: relative;
  letter-spacing: -0.01em;
}
.hero-points li:last-child { border-bottom: none; }
.hero-points li strong { color: var(--text); font-weight: 600; }
.hero-points li::before { display: none; }

/* —— Cards & Bento —— */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-secondary); line-height: 1.45; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.bento-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.bento-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.bento-item h3 { font-size: 17px; margin-bottom: 6px; }
.bento-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }

/* Compare */
.compare-block { margin-top: 40px; }
.compare-label {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.compare-col { padding: 24px; font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.compare-before { background: var(--bg-alt); }
.compare-after { background: var(--success-soft); border-left: 1px solid var(--border); }
.compare-head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-tertiary);
}
.compare-after .compare-head { color: var(--success); }

.footnote {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 640px;
}
.footnote strong { color: var(--text-secondary); font-weight: 500; }

/* —— Experience —— */
.exp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 20px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  width: fit-content;
  max-width: 100%;
}
.exp-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.exp-tab:hover { color: var(--text); }
.exp-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.exp-panel { display: none; }
.exp-panel.active { display: block; animation: fadeIn 0.4s var(--ease-out); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.exp-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  margin-left: 8px;
  letter-spacing: 0.02em;
}
.exp-demo-map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.exp-demo-chip {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 8px 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.exp-demo-chip strong { color: var(--accent); font-weight: 600; }
.exp-panel-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin: 0 0 12px;
  line-height: 1.45;
}

.demo-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.demo-toolbar {
  padding: 14px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}
.demo-toolbar strong { color: var(--text); font-weight: 600; }
.demo-frame {
  width: 100%;
  height: 540px;
  border: none;
  background: #fff;
  display: block;
}

/* Mock apps */
.mock-app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.mock-app-head {
  padding: 16px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.mock-app-title { display: block; font-size: 15px; }
.mock-app-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.4;
}
.mock-app-body { padding: 24px; }
.mock-run-btn { width: 100%; margin-top: 12px; }
.mock-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.mock-step { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--bg-alt); }
.mock-step.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mock-step.done { color: var(--success); font-weight: 500; }
.mock-step-arrow { opacity: 0.4; }
.mock-loading {
  font-size: 13px;
  color: var(--accent);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: mockSpin 0.7s linear infinite;
}
@keyframes mockSpin { to { transform: rotate(360deg); } }
.mock-save-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.mock-save-label { font-size: 14px; color: var(--text-secondary); margin: 0; }
.mock-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 140px;
  padding: 20px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}
.mock-dropzone:hover, .mock-dropzone:focus {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mock-dropzone.has-file {
  border-style: solid;
  border-color: var(--accent);
  background: #fff;
}
.mock-drop-icon { font-size: 28px; line-height: 1; }
.mock-drop-title { font-size: 14px; font-weight: 600; color: var(--text); }
.mock-drop-file { font-size: 12px; color: var(--text-tertiary); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-file-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mock-doc-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.mock-doc-thumb {
  width: 48px;
  height: 56px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #f0f0f5 100%);
  border: 1px solid var(--border-strong);
  position: relative;
}
.mock-doc-thumb::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 3px;
  background: var(--border-strong);
  box-shadow: 0 8px 0 var(--border), 0 16px 0 var(--border);
}
.mock-doc-meta { flex: 1; min-width: 0; }
.mock-doc-meta strong { display: block; font-size: 13px; margin-bottom: 4px; }
.mock-doc-meta span { font-size: 12px; color: var(--text-tertiary); }
.mock-doc-meta span.scanning { color: var(--accent); }
.mock-doc-meta span.done { color: var(--success); }
.mock-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 8px;
}
.mock-table-wrap .mock-table { margin-top: 0; }
.mock-table .mock-empty-row td {
  color: var(--text-tertiary);
  text-align: center;
  padding: 28px 12px;
  font-size: 13px;
}
.mock-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.mock-tag.ok { background: rgba(52, 199, 89, 0.12); color: #248a3d; }
.mock-tag.warn { background: rgba(255, 149, 0, 0.12); color: #c93400; }
.mock-tag.pending { background: var(--bg-alt); color: var(--text-tertiary); }
.mock-toast {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #248a3d;
  background: rgba(52, 199, 89, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(52, 199, 89, 0.25);
}
.mock-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mock-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mock-hint { font-size: 12px; color: var(--text-tertiary); margin-top: 12px; line-height: 1.45; }
.mock-file, .mock-text {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mock-file:focus, .mock-text:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.mock-table th, .mock-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
}
.mock-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.mock-table th {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mock-fields label { display: block; margin-bottom: 12px; font-size: 12px; color: var(--text-secondary); }
.mock-fields input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.photo-placeholder {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #87ceeb 0%, #b8d4e8 45%, #e8e8ed 100%);
  position: relative;
  overflow: hidden;
  cursor: default;
  padding: 0;
  font-family: inherit;
}
.photo-interactive { cursor: pointer; transition: box-shadow 0.2s; }
.photo-interactive:hover { box-shadow: 0 0 0 4px var(--accent-soft); }
.photo-sky {
  position: absolute;
  inset: 0 0 40%;
  background: linear-gradient(180deg, #6eb5e8, #a8d4f0);
}
.photo-panel {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 28%;
  height: 22%;
  background: linear-gradient(145deg, #1a3a5c, #2d5a87);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.photo-panel::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: repeating-linear-gradient(90deg, #3d6a9a 0, #3d6a9a 8px, #2d5a87 8px, #2d5a87 16px);
  opacity: 0.6;
  border-radius: 1px;
}
.photo-caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  z-index: 1;
}
.mock-scan-line {
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  animation: scanPulse 1.2s ease-in-out infinite;
}
@keyframes scanPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}
.mock-fields input.filled {
  border-color: rgba(52, 199, 89, 0.4);
  background: rgba(52, 199, 89, 0.04);
}
.mock-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .mock-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .mock-gallery { grid-template-columns: repeat(2, 1fr); }
}
.mock-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: transform 0.25s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.mock-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: radial-gradient(circle at 30% 25%, #fff 0%, transparent 55%);
}
.mock-thumb-a { background: linear-gradient(155deg, #1e5f8a 0%, #4a9fd4 50%, #87ceeb 100%); }
.mock-thumb-b { background: linear-gradient(155deg, #c45c26 0%, #e8a04c 45%, #f5d89a 100%); }
.mock-thumb-c { background: linear-gradient(155deg, #2d6a4f 0%, #52b788 50%, #95d5b2 100%); }
.mock-thumb span { position: relative; z-index: 1; }
.mock-thumb:hover { transform: scale(1.03); border-color: var(--accent); }
.mock-thumb.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mock-thumb-img {
  padding: 0;
  min-height: 140px;
  background: var(--bg-alt);
}
.mock-thumb-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2px);
}
.mock-thumb-label {
  position: relative;
  z-index: 2;
  margin-top: auto;
}
.mock-thumb-img.loading .mock-thumb-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  z-index: 1;
}
.mock-thumb-img.loading .mock-thumb-spinner::after {
  content: '';
  width: 28px;
  height: 28px;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: mockSpin 0.7s linear infinite;
}
.mock-thumb-img.loading img { display: none; }
.mock-thumb-photo .mock-thumb-label {
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin: 8px;
}
.mock-thumb-illus .mock-thumb-label::after {
  content: ' · イラスト';
  font-weight: 400;
  opacity: 0.85;
}
.mock-thumb-photo .mock-thumb-label::after {
  content: ' · 人物';
  font-weight: 400;
  opacity: 0.9;
}
.mock-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.mock-sample-chip {
  font-family: inherit;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  max-width: 100%;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.mock-sample-chip:hover { border-color: var(--accent); color: var(--text); }
.mock-sample-chip.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}
.mock-ocr-result {
  margin-top: 12px;
  padding: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mock-ocr-dl { margin: 0; font-size: 13px; }
.mock-ocr-dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 4px 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mock-ocr-dl > div:last-child { border-bottom: none; }
.mock-ocr-dl dt { color: var(--text-tertiary); font-weight: 600; font-size: 11px; margin: 0; }
.mock-ocr-dl dd { margin: 0; color: var(--text); line-height: 1.45; }
.mock-excel-ref { font-weight: 600; color: var(--accent); }
.mock-inspect-extra {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 8px 0 12px;
  line-height: 1.45;
  padding: 8px 10px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.mock-upload-hint { color: var(--warn, #c93400); }

/* SF-30 可否一覧（サイト内） */
.feasibility-root { margin-top: 8px; }
.feas-loading { font-size: 14px; color: var(--text-tertiary); }
.feas-intro { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 12px; }
.feas-count-box {
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.feas-full-link { margin-bottom: 24px; }
.feas-h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 24px 0 12px;
  letter-spacing: -0.02em;
}
.feas-roadmap { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.feas-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.feas-step-n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feas-step p { font-size: 13px; color: var(--text-secondary); margin: 6px 0 0; line-height: 1.45; }
.feas-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
}
.feas-badge.ok { background: rgba(52, 199, 89, 0.12); color: #248a3d; }
.feas-badge.warn { background: rgba(255, 149, 0, 0.12); color: #c93400; }
.feas-badge.ng { background: rgba(255, 59, 48, 0.1); color: #c93400; }
.feas-table td { font-size: 13px; }
.feas-scope-note {
  font-size: 14px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  margin: 16px 0 8px;
  line-height: 1.5;
}
.feas-why250 {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.feas-list { font-size: 14px; color: var(--text-secondary); margin: 0 0 16px 20px; line-height: 1.6; }
.feas-callout {
  font-size: 14px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.55;
}
.mock-ok { color: var(--success); font-size: 13px; margin-top: 12px; font-weight: 500; }
.mock-btn-sm {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-family: inherit;
  transition: opacity 0.2s;
}
.mock-btn-sm:disabled { opacity: 0.5; cursor: not-allowed; }

/* —— Tables —— */
.table-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.pricing-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table th {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-alt);
}
.pricing-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.pricing-table tr.highlight td {
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--text);
}
.pricing-table td.accent { color: var(--success); font-weight: 500; }

.scope-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.scope-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.build { background: var(--accent); }
.legend-dot.ops { background: var(--success); }

/* Pricing spotlight */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.spotlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease-out);
}
.spotlight:hover { box-shadow: var(--shadow-md); }
.spotlight.featured {
  background: linear-gradient(160deg, #f5f5f7 0%, #fff 50%);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.spotlight .spot-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.spotlight .spot-price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.spotlight .spot-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.5;
}
.spotlight .spot-desc small { display: block; margin-top: 10px; font-size: 12px; color: var(--text-tertiary); }

.mrr-card {
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.mrr-price {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--success);
  line-height: 1;
}
.mrr-unit { font-size: 14px; color: var(--text-tertiary); margin-top: 4px; }

/* Design samples */
.design-sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 14px;
  font-size: 15px;
  transition: box-shadow 0.3s;
}
.design-sample:hover { box-shadow: var(--shadow-sm); }
.design-sample h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.design-sample p { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.design-sample pre {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 12px;
  font-family: var(--mono);
  border: 1px solid var(--border);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
  transition: transform 0.3s var(--ease-out);
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.step-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

/* CTA */
.cta-panel {
  background: var(--text);
  color: #f5f5f7;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 113, 227, 0.35), transparent 55%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; margin-bottom: 12px; font-size: clamp(28px, 4vw, 36px); }
.cta-panel .lead { color: rgba(255, 255, 255, 0.72); margin: 0 auto 28px; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-panel .btn-primary { background: #fff; color: var(--text); box-shadow: none; }
.cta-panel .btn-primary:hover { background: #f5f5f7; color: var(--text); }
.cta-panel .btn-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.cta-panel .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* FAQ */
.faq { margin-top: 56px; }
.faq-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-weight: 500;
  cursor: pointer;
  font-size: 17px;
  padding: 20px 24px;
  list-style: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after {
  content: '−';
  transform: none;
}
.faq p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding-top: 16px;
}

/* Internal */
.panel-internal { display: none; }
body.mode-internal .panel-customer { display: none; }
body.mode-internal .panel-internal { display: block; }
body.mode-field .only-ceo { display: none; }
body.mode-ceo .only-field { display: none; }
.note-warn {
  background: #fff8e6;
  border: 1px solid rgba(255, 149, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14px;
  color: #6e5300;
  margin: 16px 0;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 22px 56px;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  background: var(--bg-alt);
  position: relative;
  z-index: 1;
}
.footer-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
}
.footer-links a:hover { color: var(--accent); }

.hidden { display: none !important; }

/* Mobile nav drawer */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-cta.nav-desktop { display: none; }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 44px);
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { padding: 14px 16px; font-size: 17px; border-radius: var(--radius-sm); }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-after { border-left: none; border-top: 1px solid var(--border); }
  section { padding: 64px 0; }
  .cta-panel { padding: 48px 24px; }
  .demo-frame { height: 420px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mock-split { grid-template-columns: 1fr; }
  .exp-tabs { width: 100%; border-radius: var(--radius-md); }
  .mock-gallery { grid-template-columns: 1fr; }
  .exp-demo-map { gap: 6px; }
  .price-hero { font-size: 40px; }
}

/* 納得の4要素 */
.conviction-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-sm);
}
.conviction-formula {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.conviction-formula strong { color: var(--text); font-weight: 600; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 800px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pillar-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.pillar h3 { font-size: 15px; margin-bottom: 6px; }
.pillar p { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.pillar a { font-size: 12px; font-weight: 500; margin-top: 8px; display: inline-block; }

.quote-card {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 12px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.quote-card cite { display: block; font-size: 12px; color: var(--text-tertiary); margin-top: 8px; font-style: normal; }

.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .safety-grid { grid-template-columns: 1fr; } }
.safety-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.safety-box h3 { font-size: 17px; margin-bottom: 12px; }
.safety-list { list-style: none; font-size: 14px; color: var(--text-secondary); }
.safety-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 22px;
  position: relative;
}
.safety-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
}
.safety-list li.no::before { content: '—'; color: var(--text-tertiary); }
.safety-list li.ops::before { content: '＋'; color: #1d4ed8; }
.safety-list li:last-child { border-bottom: none; }

.site-pay-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 12px;
}
@media (max-width: 720px) { .site-pay-flow { grid-template-columns: 1fr; } }
.site-pay-step {
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  background: var(--surface);
  position: relative;
}
.site-pay-step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--text-tertiary);
  font-size: 18px;
}
.site-pay-step:last-child::after { display: none; }
@media (max-width: 720px) { .site-pay-step::after { display: none; } }
.site-pay-step__num {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.site-pay-step__title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.site-pay-step__amt { font-size: 22px; font-weight: 700; color: var(--success); letter-spacing: -0.02em; }
.site-pay-step__pct { font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; }
.site-pay-step__when {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
  background: var(--bg);
  padding: 10px;
  border-radius: 8px;
  margin-top: 8px;
}
.site-pay-total {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(22, 163, 74, 0.25);
}
.site-ops-later {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 700px) { .site-ops-later { grid-template-columns: 1fr; } }
.site-ops-later div {
  border: 2px dashed #93c5fd;
  background: #eff6ff;
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.site-ops-later strong { display: block; font-size: 14px; color: #1e40af; margin-bottom: 6px; }
.site-ops-later .lbl { font-size: 11px; font-weight: 600; color: var(--text-tertiary); margin-top: 8px; }

.roi-summary-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.roi-summary-box h3 { font-size: 17px; margin-bottom: 10px; }
.roi-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 700px) { .roi-summary-grid { grid-template-columns: 1fr; } }
.roi-summary-grid div {
  padding: 12px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.roi-summary-grid strong { display: block; font-size: 20px; color: var(--text); margin-bottom: 4px; }

.plan-b-card {
  background: linear-gradient(160deg, rgba(0, 113, 227, 0.06), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.plan-b-card .plan-price { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }

.poc-vs-table td:first-child { font-weight: 500; }

/* 連携先ロゴマーキー（販売LPと同型） */
.logo-strip {
  position: relative;
  margin: 0 0 4px;
  padding: 4px 0 16px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.logo-strip__label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding: 14px 20px 6px;
}
.logo-strip__note {
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  padding: 0 20px 12px;
  line-height: 1.45;
}
.logo-strip__fade {
  display: none;
}
.logo-marquee { overflow: hidden; padding: 8px 0; }
.logo-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.logo-marquee--fwd .logo-marquee__track {
  animation: sf-marquee-fwd 50s linear infinite;
}
.logo-marquee--rev .logo-marquee__track {
  animation: sf-marquee-rev 55s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__set {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.plog {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 16px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s;
}
.plog:hover { opacity: 1; filter: none; transform: scale(1.04); }
.plog small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.8;
}
.plog--kubota {
  font-family: Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #00843d;
}
.plog--heisei { font-size: 12px; color: #1a237e; line-height: 1.2; text-align: center; }
.plog--maru { font-size: 14px; color: #b71c1c; }
.plog--judo {
  font-size: 10px;
  color: #0d1117;
  line-height: 1.25;
  text-align: center;
  max-width: 150px;
  white-space: normal;
}
.plog--nowme {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: #1a237e;
}
.plog--amulet { font-size: 15px; letter-spacing: 0.12em; color: #1d1d1f; }
.plog--ds {
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #1565c0;
  letter-spacing: -1px;
}
.plog--ds small { font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 0.2px; color: #1565c0; }
.plog--reach {
  font-size: 14px;
  color: var(--accent);
  font-weight: 800;
}
.plog--caesar { font-size: 12px; color: #7d2d3a; }
@keyframes sf-marquee-fwd {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes sf-marquee-rev {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .logo-marquee__track { animation: none !important; }
}

.blog-future-callout {
  margin: 0 0 14px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 113, 227, 0.15);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.blog-future-callout p { margin: 0; }
