@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
  --bg:        #ffffff;
  --bg-sub:    #f5f4f0;
  --bg-card:   #fafaf8;
  --fg:        #111111;
  --fg-sub:    #444444;
  --muted:     #767676;
  --border:    #e0ddd7;
  --accent:    #d94f00;
  --accent-bg: #fff3ee;
  --accent2:   #e87a2a;
  --font-sans: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  --font-jp:   'Noto Sans JP', sans-serif;
  --radius:    6px;
  --radius-lg: 12px;
}

html {
  font-size: 16px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-jp);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── HEADER ──────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 16px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
  margin: 0 -40px;
  padding: 16px 40px;
}

.logo-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--fg);
}

.logo-main {
  font-family: var(--font-jp);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid rgba(217,79,0,0.25);
  padding: 2px 8px;
  border-radius: 100px;
}

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

nav a {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-sub);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}

nav a:hover {
  background: var(--bg-sub);
  color: var(--fg);
}

nav a.active {
  background: var(--fg);
  color: var(--bg);
}

nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

nav .nav-cta:hover {
  background: #c44400;
  color: #fff;
}

main {
  padding: 0 0 80px;
}

/* ─── SECTION UTILITY ─────────────────── */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: none;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-jp);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 16px;
}

/* ─── HERO ────────────────────────────── */
.hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  font-family: var(--font-jp);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: lineGrow 0.6s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: left;
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-body {
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 2;
  color: var(--fg-sub);
  max-width: 560px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hero-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.badge-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.badge-value {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,79,0,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  color: var(--fg-sub);
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: all 0.15s;
}

.btn-secondary:hover {
  border-color: var(--fg);
  color: var(--fg);
  background: var(--bg-sub);
}

/* Waveform decoration */
.hero-wave {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.07;
  pointer-events: none;
  animation: fadeIn 1s 0.8s both;
}

.hero-wave span {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: var(--fg);
  animation: waveBar 1.4s ease-in-out infinite;
}

@keyframes waveBar {
  0%, 100% { height: 20px; }
  50%       { height: 80px; }
}

.hero-wave span:nth-child(1)  { animation-delay: 0s; }
.hero-wave span:nth-child(2)  { animation-delay: 0.1s; }
.hero-wave span:nth-child(3)  { animation-delay: 0.2s; }
.hero-wave span:nth-child(4)  { animation-delay: 0.3s; }
.hero-wave span:nth-child(5)  { animation-delay: 0.4s; }
.hero-wave span:nth-child(6)  { animation-delay: 0.5s; }
.hero-wave span:nth-child(7)  { animation-delay: 0.6s; }
.hero-wave span:nth-child(8)  { animation-delay: 0.7s; }
.hero-wave span:nth-child(9)  { animation-delay: 0.8s; }
.hero-wave span:nth-child(10) { animation-delay: 0.9s; }
.hero-wave span:nth-child(11) { animation-delay: 1.0s; }
.hero-wave span:nth-child(12) { animation-delay: 1.1s; }

/* ─── CAPACITY BADGE ──────────────────── */
.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-bg);
  border: 1.5px solid rgba(217,79,0,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: var(--font-jp);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.6s 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.capacity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ─── FEATURES ────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.feature-num {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(217,79,0,0.12);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.feature-card:hover .feature-num {
  color: rgba(217,79,0,0.3);
}

.feature-title {
  font-family: var(--font-jp);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.5;
}

.feature-body {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  line-height: 2;
  color: var(--fg-sub);
}

/* ─── VOICES ──────────────────────────── */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.voice-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.5s ease, opacity 0.5s ease;
}

.voice-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.voice-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.voice-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-sub);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.voice-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-name {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
}

.voice-tag {
  font-family: var(--font-jp);
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 100px;
  width: fit-content;
}

.voice-text {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--fg-sub);
}

/* ─── INSTRUCTOR ──────────────────────── */
.instructor-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.instructor-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.instructor-avatar {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--bg-sub);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.avatar-initials {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
}

/* Animated grid pattern */
.instructor-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 20px);
  opacity: 0.6;
}

.instructor-name {
  font-family: var(--font-jp);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}

.instructor-alias {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.instructor-body {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--fg-sub);
  margin-bottom: 24px;
}

.instructor-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.instructor-link {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  border: 1.5px solid rgba(217,79,0,0.4);
  background: var(--accent-bg);
  padding: 7px 16px;
  border-radius: 100px;
  transition: all 0.15s;
  letter-spacing: 0.04em;
}

.instructor-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ─── STEPS ───────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}

/* connector lines */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  padding: 0 24px 32px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-num-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.step-item:hover .step-num {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.step-title {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  text-align: center;
}

.step-body {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--fg-sub);
  text-align: center;
}

/* ─── CONTACT FORM (Formspree) ────────── */
.contact-form {
  max-width: 640px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-jp);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-jp);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* ドロップダウンメニューの矢印デザイン */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b0b0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,79,0,0.1);
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1.0625rem;
  padding: 16px;
}

/* ─── CTA BANNER (サブページ用) ───────── */
.cta-banner {
  background: var(--fg);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(217,79,0,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}

.cta-title {
  font-family: var(--font-jp);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cta-sub {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  background: #e06000;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(217,79,0,0.45);
}

/* ─── PRICING ─────────────────────────── */
.plan-group {
  margin-bottom: 40px;
}

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

.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.price-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

.price-card.featured {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.price-count {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.price-amount {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}

.price-unit {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.price-per {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--fg-sub);
  padding: 4px 10px;
  background: var(--bg-sub);
  border-radius: 100px;
  display: inline-block;
}

/* 振替ルールのコンパクト表示 */
.rules-compact {
  background: var(--bg-sub);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
  border-left: 3px solid var(--muted);
}

.rules-compact-title {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.rules-compact-list {
  list-style: none;
}

.rules-compact-list li {
  font-family: var(--font-jp);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--fg-sub);
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.rules-compact-list li:last-child {
  margin-bottom: 0;
}

.rules-compact-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ─── BENEFITS (会員特典) ─────────────── */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.benefit-title {
  font-family: var(--font-jp);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.benefit-body {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--fg-sub);
  margin-bottom: 24px;
}

/* 振り返りレポート（チャット風） */
.chat-example {
  background: var(--bg-sub);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.chat-sender {
  font-family: var(--font-jp);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
  margin-left: 12px;
}

.chat-bubble {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.chat-bubble p {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--fg-sub);
  margin-bottom: 12px;
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

/* ─── PREPARATION (事前準備) ──────────── */
.prep-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prep-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.prep-status {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.prep-status.required {
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid rgba(217,79,0,0.3);
}

.prep-status.recommended {
  background: var(--bg-sub);
  color: var(--muted);
  border: 1px solid var(--border);
}

.prep-name {
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.prep-desc {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--fg-sub);
  margin-top: 4px;
}

/* ─── FAQ ─────────────────────────────── */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.6;
  user-select: none;
}

.faq-q-text::before {
  content: 'Q';
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 4px;
  padding: 2px 7px;
  margin-right: 10px;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
  font-size: 1rem;
  color: var(--muted);
  margin-top: 2px;
}

.faq-item.open .faq-toggle {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-a-inner {
  display: flex;
  gap: 12px;
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--fg-sub);
  padding: 16px 20px;
  background: var(--bg-sub);
  border-radius: var(--radius);
}

.faq-a-inner::before {
  content: 'A';
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fg);
  background: var(--border);
  border-radius: 4px;
  padding: 2px 7px;
  height: fit-content;
  flex-shrink: 0;
  margin-top: 2px;
}

/* PC推奨環境 */
.os-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.os-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.os-name {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.os-spec {
  font-family: var(--font-jp);
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--fg-sub);
}

/* ─── LEGAL PAGE ──────────────────────── */
.legal-page {
  padding: 48px 0 80px;
  max-width: 720px;
}

.legal-title {
  font-family: var(--font-jp);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--fg);
}

.legal-section {
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.legal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-section-title {
  font-family: var(--font-jp);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

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

.legal-table tr:first-child {
  border-top: 1px solid var(--border);
}

.legal-table th {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  padding: 14px 16px 14px 0;
  white-space: nowrap;
  width: 200px;
  vertical-align: top;
}

.legal-table td {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  color: var(--fg-sub);
  padding: 14px 0;
  line-height: 1.8;
}

.rule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rule-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.rule-item:first-child {
  border-top: 1px solid var(--border);
}

.rule-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.rule-title {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.rule-body {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--fg-sub);
}

.rule-body li {
  list-style: none;
  padding-left: 1em;
  position: relative;
}

.rule-body li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* ─── FOOTER ──────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer span {
  font-family: var(--font-jp);
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--fg);
}

/* ─── ANIMATIONS ──────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.07; }
}

header { animation: fadeUp 0.5s 0s cubic-bezier(0.16, 1, 0.3, 1) both; }
footer { animation: fadeUp 0.5s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 820px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .voices-grid   { grid-template-columns: 1fr; }
  .instructor-card { grid-template-columns: 1fr; }
  .instructor-avatar { max-width: 120px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .os-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding: 0 20px; }
  header { margin: 0 -20px; padding: 14px 20px; }
  nav a { font-size: 0.8125rem; padding: 6px 10px; }
  .hero { padding: 40px 0 56px; }
  .hero-wave { display: none; }
  .section { padding: 48px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .legal-table th { width: 120px; }
  .cost-item { grid-template-columns: 24px 1fr; }
  .cost-price { grid-column: 2; }
  .contact-form { padding: 24px; }
}
