:root {
  /* Color: Deep Navy × Restrained Gold × Off-white */
  --primary: #1a2e4a;
  --primary-dark: #0f1d31;
  --accent: #a88755;
  --accent-dark: #8a6d3e;
  --bg: #faf8f5;
  --bg-alt: #f2eee6;
  --surface: #ffffff;
  --text: #1a2e4a;
  --text-body: #384858;
  --text-muted: #6b7686;
  --border: #e4ddd0;
  --danger: #8b3a3a;
  --success: #4a6b4a;

  /* Typography */
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;

  /* Radius (4 levels) */
  --radius-lg: 16px;
  --radius: 8px;
  --radius-sm: 4px;

  /* Shadow (1 style + hover) */
  --shadow: 0 4px 16px rgba(26, 46, 74, 0.08);
  --shadow-hover: 0 8px 24px rgba(26, 46, 74, 0.12);

  /* Legacy compatibility (gradually removed) */
  --dark: var(--bg);
  --dark-light: var(--bg-alt);
  --text-dark: var(--text);
  --gray: var(--text-muted);
  --gray-light: var(--text-muted);
  --white: var(--surface);
  --gradient-primary: var(--primary);
  --gradient-dark: var(--bg);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Base */
section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  color: var(--text);
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 32px;
  }
}

.section-title span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}

.deliverable-card,
.option-card,
.pro-deliverable-item {
  position: relative;
  overflow: hidden;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: 60px; /* Reduced from 100px */
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 0.7;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0 20px;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  width: 100%;
  max-width: 900px;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto -25px; /* Increased negative margin */
  background: transparent;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    padding: 30px 0 40px; /* Reduced from 50px */
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
    padding: 0 16px;
    margin: 0;
  }
  .hero-logo {
    max-width: 85%;
    margin-bottom: -20px; /* Increased negative margin */
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 135, 85, 0.1);
  border: 1px solid rgba(168, 135, 85, 0.35);
  color: var(--accent-dark);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--text);
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.9),
    0 1px 4px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 26px;
    margin-bottom: 12px;
  }
}

.mobile-br {
  display: none;
}

@media (max-width: 768px) {
  .mobile-br {
    display: block;
  }
}

.hero h1 .highlight {
  color: var(--accent);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.hero-sub {
  font-size: clamp(14px, 3vw, 20px);
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-sub {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
  }
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-right: 1px solid var(--border);
}

.trust-badge:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .hero-trust-badges {
    gap: 8px;
  }
  .trust-badge {
    font-size: 11px;
    padding: 6px 12px;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--surface);
  padding: 18px 40px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .cta-button {
    padding: 14px 28px;
    font-size: 15px;
    gap: 8px;
  }
  .hero-target {
    display: none;
  }
  .hero-note {
    font-size: 12px;
    margin-top: 16px;
  }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--primary-dark);
}

.cta-button::after {
  content: "→";
  transition: transform 0.3s ease;
}

.cta-button:hover::after {
  transform: translateX(8px);
}

/* Inline CTA */
.inline-cta {
  text-align: center;
  padding: 60px 0;
  background: var(--primary);
  position: relative;
}

.inline-cta > * {
  position: relative;
  z-index: 1;
}

.inline-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray);
}

/* Deliverables Section */
.deliverables {
  background: var(--white);
}

.deliverables-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--gray);
  font-size: 16px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.deliverable-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.2s ease;
}

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

.deliverable-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--surface);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.deliverable-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deliverable-card h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
}

.deliverable-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.deliverable-preview {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 12px;
}

.deliverable-preview-title {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.deliverable-preview-content {
  color: var(--text-dark);
  line-height: 1.6;
}

.deliverable-preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.deliverable-preview-item:last-child {
  border-bottom: none;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-dot.green {
  background: #22c55e;
}
.preview-dot.yellow {
  background: #eab308;
}
.preview-dot.red {
  background: #ef4444;
}
.preview-dot.blue {
  background: var(--primary);
}

.deliverables-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--gray);
}

.deliverables-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.deliverables-note a:hover {
  text-decoration: underline;
}

/* Options Section */
.options-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 2px dashed rgba(0, 0, 0, 0.1);
}

.options-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

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

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

.option-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.option-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.option-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.option-price {
  display: inline-block;
  background: var(--primary);
  color: var(--surface);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

/* Pro Combined Card */
.pro-combined-card {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

.pro-deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.pro-deliverable-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.pro-deliverable-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pro-deliverable-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

/* Plan Comparison Table */
.plan-comparison-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 2px dashed rgba(0, 0, 0, 0.1);
}

.comparison-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 600px;
}

.comparison-table thead {
  background: var(--primary);
  color: var(--surface);
}

.comparison-table th {
  padding: 16px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.comparison-table th.feature-col {
  text-align: left;
  min-width: 180px;
}

.comparison-table th.plan-col {
  min-width: 100px;
}

.comparison-table th .plan-price {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 4px;
}

.comparison-table th.pro {
  background: var(--accent);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:hover {
  background: var(--bg-alt);
}

.comparison-table td {
  padding: 14px 12px;
  text-align: center;
  color: var(--text-body);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.comparison-table .check {
  color: var(--success);
  font-size: 16px;
  font-weight: 700;
}

.comparison-table .dash {
  color: var(--border);
  font-size: 16px;
}

.comparison-note {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 12px;
  }
  .comparison-table th {
    padding: 12px 8px;
    font-size: 12px;
  }
  .comparison-table td {
    padding: 10px 8px;
  }
}

/* Mid-page CTA */
.mid-cta {
  background: var(--primary);
  padding: 60px 0;
}

.mid-cta .inline-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.mid-cta h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--surface);
  margin-bottom: 12px;
}

.mid-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  margin-bottom: 24px;
}

.mid-cta .inline-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.mid-cta .cta-button {
  background: var(--accent);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.mid-cta .cta-button:hover {
  background: var(--accent-dark);
}

.mid-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.mid-cta .cta-button::after {
  content: "→";
}

.mid-cta .cta-button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--surface);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mid-cta .cta-button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mid-cta .cta-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  margin-bottom: 0;
}

/* Stats Section (Loss Aversion) */
.stats {
  background: var(--surface);
  padding: 80px 0;
}

.stats-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.stats-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.stats-intro h2 span {
  color: var(--accent);
}

.stats-intro p {
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 768px) {
  .stats-intro p {
    font-size: 13px;
  }
}

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

@media (max-width: 768px) {
  .stats-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 0 16px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .stats-grid::-webkit-scrollbar {
    display: none;
  }
  .stats-grid .stat-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .stats-grid .stat-card {
    flex: 0 0 260px;
  }
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .stat-card {
    padding: 24px 20px;
    border-radius: var(--radius);
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--danger);
  line-height: 1;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 32px;
    margin-bottom: 4px;
  }
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .stat-label {
    font-size: 12px;
    margin-bottom: 4px;
    line-height: 1.4;
  }
}

.stat-source {
  font-size: 11px;
  color: var(--gray);
}

@media (max-width: 768px) {
  .stat-source {
    display: none;
  }
}

.stats-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--gray);
}

.stats-example {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 32px;
  text-align: center;
}

.stats-example p {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text);
}

.stats-example p:last-child {
  margin-bottom: 0;
}

.stats-source-small {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  margin-top: 12px !important;
}

/* Store Selector */
.store-selector {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .store-selector {
    padding: 20px 16px;
    margin-top: 20px;
    border-radius: var(--radius);
  }
}

.selector-question {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .selector-question {
    font-size: 14px;
    margin-bottom: 16px;
  }
}

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

@media (max-width: 768px) {
  .selector-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.selector-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 16px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}

.selector-card.selected {
  border-color: var(--primary);
  background: var(--bg-alt);
}

@media (max-width: 768px) {
  .selector-card {
    padding: 12px 8px;
    border-radius: var(--radius-sm);
  }
}

.selector-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.selector-card.selected {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.selector-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 10px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.selector-hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: var(--text-muted);
}

.selector-hint.hidden {
  display: none;
}

.selector-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.selector-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .selector-icon {
    margin-bottom: 4px;
  }
  .selector-icon svg {
    width: 24px;
    height: 24px;
  }
}

.selector-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .selector-title {
    font-size: 12px;
    margin-bottom: 4px;
  }
}

.selector-desc {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .selector-desc {
    display: none;
  }
}

.selector-revenue {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .selector-revenue {
    font-size: 10px;
  }
}

/* Loss Result */
.loss-result {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .loss-result {
    margin-top: 16px;
  }
}

.loss-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .loss-card {
    padding: 20px 16px;
    border-radius: var(--radius);
  }
}

.loss-intro {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .loss-intro {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

.loss-amount {
  font-size: 20px;
  color: var(--danger);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .loss-amount {
    font-size: 16px;
    margin-bottom: 12px;
  }
}

.loss-amount strong {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .loss-amount strong {
    font-size: 32px;
  }
}

.loss-note {
  font-size: 12px;
  color: var(--gray);
}

/* Problem Section */
.problem {
  background: var(--dark-light);
}

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

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.problem-icon {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  opacity: 0.07;
  pointer-events: none;
}

.problem-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  stroke-width: 1;
  fill: none;
}

.problem-card h3,
.problem-card p {
  position: relative;
  z-index: 1;
}

.visual-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.visual-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.problem-card p {
  font-size: 14px;
  color: var(--text-body);
}

/* Solution Section */
.solution {
  background: var(--dark);
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .solution-content {
    grid-template-columns: 1fr;
  }
}

.solution-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  line-height: 1.5;
  color: var(--text);
}

.solution-text h2 span {
  color: var(--accent);
}

.solution-list {
  list-style: none;
  margin-top: 32px;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 16px;
}

.solution-list .check {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.solution-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}

.visual-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.visual-item:last-child {
  margin-bottom: 0;
}

.visual-text {
  font-size: 14px;
  font-weight: 500;
}

/* Pricing Section */
.pricing {
  background: var(--dark-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
  color: var(--text);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--surface);
}

.pricing-card.popular::before {
  content: none;
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--surface);
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: inherit;
}

.pricing-target {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-card.popular .pricing-target {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card.popular .pricing-name {
  color: var(--surface);
}

.pricing-card.recommended {
  box-shadow: 0 0 0 2px var(--accent);
  position: relative;
}

.pricing-card.recommended:not(.popular)::after {
  content: "あなたにおすすめ";
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--accent);
  color: var(--surface);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  color: inherit;
}

.pricing-card.popular .pricing-price {
  color: var(--surface);
}

.pricing-price span {
  font-size: 16px;
  font-weight: 400;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-card.popular .pricing-note {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.pricing-features li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  background: rgba(168, 135, 85, 0.12);
  color: var(--accent-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.pricing-card.popular .pricing-features li::before {
  background: rgba(255, 255, 255, 0.2);
  color: var(--surface);
}

.pricing-cta {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pricing-card:not(.popular) .pricing-cta {
  background: var(--primary);
  color: var(--surface);
}

.pricing-card:not(.popular) .pricing-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.pricing-card.popular .pricing-cta {
  background: var(--accent);
  color: var(--surface);
}

.pricing-card.popular .pricing-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Sample Section */
.sample {
  background: var(--dark);
}

.sample-category {
  margin-bottom: 64px;
}

.sample-category:last-child {
  margin-bottom: 0;
}

.sample-category-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.sample-category-title.negative,
.sample-category-title.positive {
  color: var(--text);
  border-color: var(--border);
}

.sample-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* マウス操作時のテキスト選択を無効化 */
  user-select: none;
  -webkit-user-select: none;
}

.sample-slider {
  display: flex;
  gap: 24px;
  width: max-content;
  cursor: grab;
  /* JSで制御するためCSSアニメーションは削除 */
}

.sample-slider:active {
  cursor: grabbing;
}

.sample-card {
  flex: 0 0 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.sample-card.negative {
  border-top: 3px solid var(--danger);
}

.sample-card.positive {
  border-top: 3px solid var(--success);
}

.sample-card-review,
.sample-card-reply {
  padding: 16px 0;
}

.sample-card-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--surface);
  background: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sample-card.negative .sample-card-reply .sample-card-label {
  background: var(--danger);
}

.sample-card.positive .sample-card-reply .sample-card-label {
  background: var(--success);
}

.sample-card-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.sample-card .sample-stars {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 2px;
}

.sample-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0;
}

.sample-card-reply p {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .sample-card {
    /* モバイル：幅を320pxに拡大 */
    flex: 0 0 320px;
    padding: 20px;
  }
  .sample-card p {
    font-size: 13px;
  }
  .sample-category-title {
    font-size: 18px;
  }
}

/* Flow Section */
.flow {
  background: var(--dark-light);
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -40px;
  width: 60px;
  height: 1px;
  background: var(--border);
}

@media (max-width: 768px) {
  .flow-step:not(:last-child)::after {
    display: none;
  }
}

.flow-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto 24px;
  color: var(--surface);
}

.flow-number svg {
  width: 28px;
  height: 28px;
  stroke: var(--surface);
  stroke-width: 2;
  fill: none;
}

.flow-step h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.flow-step p {
  font-size: 14px;
  color: var(--text-body);
}

/* FAQ Section */
.faq {
  background: var(--dark);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 32px 24px;
  max-height: 500px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.9;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: var(--surface);
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  color: var(--surface);
}

.cta-section .cta-button {
  background: var(--accent);
  color: var(--surface);
  box-shadow: var(--shadow);
}

.cta-section .cta-button:hover {
  background: var(--accent-dark);
  color: var(--surface);
  box-shadow: var(--shadow-hover);
}

.cta-section .cta-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 24px;
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--bg-alt);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 13px;
  color: var(--text-muted);
}

footer .note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.8;
}
/* Stats Slider & Modal Styles */
.stats-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.stat-more-hint {
  font-size: 12px;
  color: var(--accent-dark);
  margin-top: 8px;
  opacity: 0.9;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    gap: 16px;
    grid-template-columns: none;
    margin: 0 -16px; /* Break container padding */
    padding: 0 16px 24px 16px; /* Add padding back for content */
  }
  .stat-card {
    min-width: 85%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  padding: 16px;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.stat-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
}
.modal-overlay.active .stat-modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--border);
  color: var(--text);
}
.modal-stat-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.modal-stat-label {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.modal-stat-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.modal-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius);
}
.modal-source-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.modal-source-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Slider Arrows */
.stats-slider-wrapper {
  position: relative;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
}
@media (max-width: 768px) {
  .slider-arrow {
    opacity: 1;
    pointer-events: auto;
  }
  .slider-arrow.prev {
    left: -12px;
  }
  .slider-arrow.next {
    right: -12px;
  }
  .slider-arrow.hidden {
    opacity: 0;
    pointer-events: none;
  }
}
