:root {
  --bg: #0f1419;
  --bg-soft: #1a2332;
  --surface: #ffffff;
  --text: #0f172a;
  --text-on-dark: #f1f5f9;
  --muted: #64748b;
  --muted-on-dark: #94a3b8;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --border: #e2e8f0;
  --radius: 16px;
  --font: "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f2937;
}

.home-page .site-header {
  position: static;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  padding-left: 4px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 50px !important;
  max-height: 50px !important;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: #f8fafc;
  background: #1f2937;
}

.nav-register {
  font-weight: 600;
  color: #f8fafc !important;
}

.nav-register:hover {
  background: #1f2937;
}

.nav-dashboard {
  color: #f8fafc !important;
  border: 1px solid #475569;
  font-weight: 600;
}

.nav-dashboard:hover {
  background: #1f2937 !important;
  border-color: #64748b;
}

.nav-cta {
  color: #fff !important;
  background: var(--accent) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

.nav-logout {
  background: #334155 !important;
}

.nav-logout:hover {
  background: #475569 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f8fafc;
  border-radius: 1px;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text);
  padding: 72px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: #1d4ed8;
}

.lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: #cbd5e1;
  color: var(--text);
  background: #fff;
}

.btn-ghost:hover {
  background: #f8fafc;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.mock-window {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #f1f5f9;
}

.mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 24px;
}

.mock-stat {
  text-align: center;
  padding: 16px 8px;
  background: #f8fafc;
  border-radius: 12px;
}

.mock-stat small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.mock-stat strong {
  font-size: 1.25rem;
}

.mock-zip {
  grid-template-columns: 1fr;
}

.mock-file {
  text-align: left;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.mock-file small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.mock-file strong {
  font-size: 1rem;
}

.affiliate-banner {
  margin: 18px 0 8px;
  line-height: 0;
}

.affiliate-banner a,
.affiliate-banner-picture {
  display: inline-block;
  max-width: 100%;
}

.affiliate-banner img {
  display: block;
  height: auto;
  border: 0;
}

.affiliate-banner-img {
  width: min(728px, 100%);
  aspect-ratio: 728 / 90;
}

@media (max-width: 640px) {
  .affiliate-banner-img {
    width: min(300px, 100%);
    aspect-ratio: 300 / 250;
  }
}

.hero-affiliate-banner {
  margin-top: 18px;
}

/* Highlight — オークタウン */
.section-highlight {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  border-block: 1px solid #dbeafe;
}

.highlight-inner {
  max-width: 720px;
}

.highlight-label {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.highlight-text {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
}

.highlight-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.highlight-points li {
  padding: 14px 16px 14px 44px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
}

.highlight-points li::before {
  content: "→";
  position: absolute;
  left: 16px;
  color: var(--accent);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 40px;
  color: var(--muted);
  max-width: 40em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

#features .section-title {
  margin-bottom: 36px;
}

.cards-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cards-flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.25rem minmax(0, 1fr) 2.25rem minmax(0, 1fr);
  gap: 16px 6px;
  align-items: stretch;
}

.cards-flow-connector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.25rem minmax(0, 1fr) 2.25rem minmax(0, 1fr);
  margin: 6px 0 14px;
}

.cards-flow-connector .flow-arrow--down {
  grid-column: 5;
  justify-self: center;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: #94a3b8;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.flow-arrow--h::before {
  content: "→";
}

.flow-arrow--down::before {
  content: "↓";
}

@media (max-width: 900px) {
  .cards-row {
    grid-template-columns: 1fr;
  }

  .cards-flow-row,
  .cards-flow-connector {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cards-flow-row .flow-arrow--h,
  .cards-flow-connector .flow-arrow--down {
    grid-column: 1;
    justify-self: center;
    padding: 10px 0;
  }

  .cards-flow-row .flow-arrow--h::before,
  .cards-flow-connector .flow-arrow--down::before {
    content: "↓";
  }

  .cards-flow-connector {
    margin: 0;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card code {
  font-size: 0.8em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.plan-card--paid {
  border-color: #93c5fd;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}

.plan-card--soon {
  border-color: #e2e8f0;
  box-shadow: none;
  opacity: 0.92;
}

.plan-badge-soon {
  background: #fef3c7;
  color: #92400e;
}

.plan-price-hint {
  font-size: 0.95rem;
  color: var(--muted);
}

.plan-price-footnote {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.plan-badge-paid {
  background: #dbeafe;
  color: #1d4ed8;
}

.plan-price {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.plan-list {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.plan-launch-banner {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a5f;
  font-size: 0.92rem;
  max-width: 52em;
}

.plan-test-banner {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ffe082;
  background: #fff8e1;
  color: #5d4037;
  font-size: 0.92rem;
  max-width: 52em;
}

.plan-card-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.plan-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  font-size: 1.05rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 24px;
  max-width: 560px;
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  font-size: 1rem;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps code {
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

.note {
  margin: 32px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.tech-dl {
  margin: 0;
  display: grid;
  gap: 16px;
  max-width: 480px;
}

.tech-dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tech-dl dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.875rem;
}

.tech-dl dd {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.cta-inner p {
  margin: 0 0 24px;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: #fff;
  color: #1e40af;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-band .btn-primary:hover {
  background: #f8fafc;
}

.cta-register {
  margin: 16px 0 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.cta-register a {
  color: #fff;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted);
  background: #f8fafc;
}

.footer-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-affiliate {
  position: static;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  line-height: 0;
}

.footer-affiliate-link,
.footer-affiliate-picture {
  display: inline-block;
  max-width: 100%;
}

.footer-affiliate-img {
  display: block;
  height: auto;
  border: 0;
}

.footer-affiliate-img {
  width: min(728px, 100%);
  aspect-ratio: 728 / 90;
}

.footer-affiliate-disclosure {
  color: #94a3b8;
  font-size: 0.68rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .footer-affiliate-img {
    width: min(300px, 100%);
    aspect-ratio: 300 / 250;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  color: #94a3b8;
  font-size: 0.75rem;
}

.legal-toc {
  margin: 0 0 28px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.legal-toc a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-lead {
  font-weight: 600;
  color: var(--text) !important;
}

/* Legal page */
.legal-page {
  padding: 48px 0 64px;
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-section {
  margin-bottom: 32px;
  max-width: 42em;
  scroll-margin-top: 80px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.legal-section h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  color: #334155;
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.legal-note {
  font-size: 0.875rem !important;
  color: var(--muted) !important;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  max-width: 100%;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f1f5f9;
  font-weight: 600;
}

/* FAQ */
.faq-page {
  padding: 48px 0 64px;
}

.faq-page h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.faq-lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 42em;
  font-size: 1rem;
}

.faq-toc {
  margin-bottom: 36px;
}

.faq-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.faq-section > h2 {
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  font-size: 1.2rem;
}

.faq-item {
  margin-bottom: 24px;
  padding: 20px 22px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.45;
}

.faq-item p,
.faq-item li {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
}

.faq-item p:last-child,
.faq-item ul:last-child,
.faq-item ol:last-child {
  margin-bottom: 0;
}

.faq-item ul,
.faq-item ol {
  margin: 0 0 12px;
  padding-left: 1.35em;
}

.faq-steps {
  margin: 0 0 12px;
}

.faq-item a {
  color: var(--accent);
  font-weight: 500;
}

.faq-contact {
  margin: 32px 0 0;
  padding: 16px 20px;
  background: #eff6ff;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #334155;
}

.faq-callout {
  margin: 0 0 32px;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.faq-callout-primary {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border-color: #93c5fd;
}

.faq-callout-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.faq-callout p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

.faq-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px !important;
}

.faq-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.faq-btn:hover {
  filter: brightness(1.05);
}

.faq-btn-secondary {
  background: #fff;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
}

.faq-callout-note {
  margin: 0 !important;
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}

/* トップ：機能説明への案内 */
.hero-features-hint {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 36em;
}

.hero-features-hint a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-features-hint a:hover {
  color: #f8fafc;
}

.index-guide-promo {
  padding-top: 8px;
}

.guide-promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 28px 32px;
  align-items: center;
  padding: 28px;
  border-radius: 16px;
  border: 2px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 55%);
  box-shadow: 0 12px 32px rgba(21, 101, 192, 0.1);
}

.guide-promo-card .section-title {
  margin-top: 4px;
}

.guide-promo-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.guide-promo-steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.guide-promo-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.guide-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-promo-preview {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.guide-promo-preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.guide-promo-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-promo-preview-label {
  display: block;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.index-features-more {
  margin: 24px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .guide-promo-card {
    grid-template-columns: 1fr;
  }

  .guide-promo-preview {
    order: -1;
  }
}

/* 機能説明ページ */
.features-flow {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  max-width: 40em;
  line-height: 1.7;
}

.features-flow a {
  color: var(--accent);
  font-weight: 600;
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px 32px;
  align-items: start;
}

.feature-block--reverse .feature-copy {
  order: 2;
}

.feature-block--reverse .feature-shot {
  order: 1;
}

.feature-step {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.feature-list {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

.feature-list li {
  margin-bottom: 6px;
}

.feature-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.feature-shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-shot figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

@media (max-width: 900px) {
  .feature-block,
  .feature-block--reverse {
    grid-template-columns: 1fr;
  }

  .feature-block--reverse .feature-copy,
  .feature-block--reverse .feature-shot {
    order: unset;
  }
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #0f1419;
    border-bottom: 1px solid #1f2937;
    padding: 12px 16px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  }

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

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-card {
    order: -1;
  }

  .section {
    padding: 48px 0;
  }

  .tech-dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
