/* =========================================================
   billion school - 共通スタイル
   カラー・タイポ・レイアウト・コンポーネント
   ========================================================= */

:root {
  /* Colors (LINE green を基調にしたフレンドリーな配色) */
  --color-primary: #06c755;
  --color-primary-dark: #05a648;
  --color-primary-light: #5fd99a;
  --color-accent: #40a480;
  --gradient-primary: linear-gradient(135deg, #06c755 0%, #1fb86a 100%);
  --gradient-soft: linear-gradient(135deg, #f0fdf4 0%, #ecfdf3 100%);

  --color-text: #282c2e;
  --color-text-muted: #4b5a52;
  --color-text-light: #9aa8a0;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7f6;
  --color-border: #e3eae6;
  --color-white: #ffffff;

  /* Spacing (8px base) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Radius (参考サイトに合わせ、ぽってりした角丸) */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-btn: 16px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(20, 40, 30, 0.05), 0 2px 8px rgba(20, 40, 30, 0.06);
  --shadow-md: 0 6px 18px rgba(20, 40, 30, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 40, 30, 0.12);
  --shadow-primary: 0 12px 28px rgba(6, 199, 85, 0.32);

  /* Layout */
  --container: 1120px;
  --header-h: 72px;

  /* Type (英字=Inter優先 / 日本語=Noto Sans JP にフォールバック) */
  --font-base: "Inter", "Noto Sans JP", "Noto Sans CJK JP",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: var(--space-7) 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 5px 14px;
  background: var(--gradient-soft);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}

.section__title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.35;
}

.section__lead {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(6, 199, 85, 0.4);
}

.btn--ghost {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--ghost:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Inline SVG icons ---------- */
.icon {
  display: block;
  width: 24px;
  height: 24px;
}

.hero__card-icon,
.feature-card__icon,
.pain-card__icon,
.voice-card__avatar {
  color: var(--color-primary);
}

.hero__badge .icon-star {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero__card-icon .icon {
  width: 24px;
  height: 24px;
}

.feature-card__icon .icon {
  width: 30px;
  height: 30px;
}

.pain-card__icon .icon {
  width: 28px;
  height: 28px;
}

.voice-card__avatar .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand__logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__cta {
  padding: 10px 22px;
  font-size: 0.9375rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--space-7);
  background: var(--gradient-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(6, 199, 85, 0.18), transparent 70%);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-3);
}

.hero__title {
  margin-bottom: var(--space-1);
}

.hero__title-en {
  display: block;
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero__title-jp {
  display: block;
  margin-top: var(--space-2);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.hero__title .grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  margin-top: var(--space-3);
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

.hero__actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero__stats {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.hero__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

/* 背景の緑の円 */
.hero__orb {
  position: absolute;
  width: 380px;
  height: 380px;
  max-width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 30px 60px rgba(6, 199, 85, 0.32);
  animation: floaty 8s ease-in-out infinite;
}

/* 中央のメインビジュアル枠（画像差し替え用プレースホルダ） */
.hero__media {
  position: relative;
  z-index: 2;
  width: 320px;
  max-width: 78%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 周囲に浮かぶチップ */
.hero__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-white);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  animation: floaty 6s ease-in-out infinite;
}

.hero__chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  color: var(--color-primary);
}

.hero__chip-icon .icon {
  width: 18px;
  height: 18px;
}

.hero__chip--a {
  top: 10%;
  left: -4%;
  animation-delay: -1s;
}

.hero__chip--b {
  bottom: 16%;
  left: 2%;
  animation-delay: -3s;
  animation-duration: 7s;
}

.hero__chip--c {
  top: 22%;
  right: -2%;
  animation-delay: -2s;
  animation-duration: 7.5s;
}

/* ---------- Pain / こんな方へ ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.pain-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.pain-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.pain-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.feature-card {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-2);
  border-radius: var(--radius-full);
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 1.875rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ---------- Showcase (Product 大型カード・左右交互) ---------- */
.showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.showcase__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

/* 偶数行はメディアを左に回して左右交互レイアウトにする */
.showcase__row:nth-child(even) .showcase__media {
  order: -1;
}

.showcase__no {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.showcase__label {
  display: inline-block;
  margin-top: 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.showcase__title {
  margin: 10px 0 14px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.3;
}

.showcase__body > p {
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 18px;
}

.showcase__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.showcase__list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.showcase__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase__media--green {
  background: linear-gradient(135deg, #06c755 0%, #1fb86a 100%);
}
.showcase__media--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
}
.showcase__media--amber {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}
.showcase__media--teal {
  background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
}

/* 装飾の円（参考サイトのポップな雰囲気） */
.showcase__media::before,
.showcase__media::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
}
.showcase__media::before {
  width: 160px;
  height: 160px;
  top: -50px;
  right: -40px;
}
.showcase__media::after {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: -20px;
}

.showcase__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.showcase__badge .icon {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

/* デバイスモック風の白パネル */
.showcase__screen {
  position: relative;
  z-index: 1;
  width: 72%;
  aspect-ratio: 16 / 10;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.showcase__screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3) var(--space-3);
  box-shadow: var(--shadow-sm);
}

.step__num {
  position: absolute;
  top: -18px;
  left: var(--space-3);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-primary);
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: var(--space-1) 0 8px;
}

.step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.plan-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-primary);
  padding-top: calc(var(--space-4) + 6px);
}

/* スクロール表示アニメ(.is-visible)より詳細度を上げて拡大を維持 */
.pricing-grid .plan-card--featured.is-visible {
  transform: scale(1.04);
}

.pricing-grid .plan-card--featured.is-visible:hover {
  transform: scale(1.04) translateY(-6px);
}

.plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-primary);
}

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 800;
}

.plan-card__tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  min-height: 38px;
}

.plan-card__price {
  margin: var(--space-3) 0;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

.plan-card__price .amount {
  font-size: 2.125rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.plan-card__price .unit {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.plan-card__price .label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.plan-card__price .monthly {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
}

.plan-card__price .monthly small {
  font-weight: 600;
  color: var(--color-text-muted);
}

.plan-card__features {
  flex: 1;
  margin-bottom: var(--space-3);
}

.plan-card__features li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-bottom: 1px dashed var(--color-border);
}

.plan-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-soft);
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.plan-card__features li.is-off {
  color: var(--color-text-light);
}

.plan-card__features li.is-off::before {
  content: "−";
  background: #f1f5f9;
  color: var(--color-text-light);
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* ---------- Voices ---------- */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.voice-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.voice-card__quote {
  font-size: 0.9375rem;
  line-height: 1.9;
  margin-bottom: var(--space-3);
}

.voice-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.voice-card__person strong {
  font-size: 0.875rem;
}

.voice-card__person small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--color-text);
}

.faq-item__q::before {
  content: "Q";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gradient-soft);
  color: var(--color-primary);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-right: 8px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  margin-left: auto;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.faq-item__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__a p {
  padding: 0 var(--space-3) var(--space-3) calc(var(--space-3) + 36px);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-3);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  border-radius: 50%;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  border-radius: 50%;
}

.cta__eyebrow {
  display: inline-block;
  position: relative;
  margin-bottom: var(--space-2);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  position: relative;
}

.cta__points {
  list-style: none;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-4);
  margin-top: var(--space-4);
  font-size: 0.875rem;
  font-weight: 700;
}

.cta__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta__points .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.cta__lead {
  margin: var(--space-2) auto var(--space-4);
  max-width: 560px;
  position: relative;
  opacity: 0.95;
}

.cta .btn--ghost {
  background: #fff;
  border-color: #fff;
  position: relative;
}

.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
}

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: var(--space-6) 0 var(--space-4);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand {
  color: #fff;
}

.footer__desc {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  color: #94a3b8;
  max-width: 320px;
}

.footer__col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__company {
  margin-top: var(--space-2);
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.9;
}

.footer__bottom {
  padding-top: var(--space-3);
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

/* ---------- Scroll animation ---------- */
.js-fadein {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-fadein.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
    max-width: 460px;
  }
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* スマホ・タブレットではメディアを常に上に */
  .showcase__row .showcase__media,
  .showcase__row:nth-child(even) .showcase__media {
    order: -1;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav__list,
  .nav__cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav {
    /* .header に backdrop-filter があり fixed の包含ブロックになるため、
       inset ではなくビューポート単位で全画面化する */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    padding: var(--space-7) var(--space-3);
    z-index: 200;
  }
  .nav.is-open {
    transform: translateX(0);
  }
  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
  .nav.is-open .nav__link {
    font-size: 1.25rem;
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
  }
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .pain-grid,
  .pricing-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .plan-card--featured {
    order: -1;
  }
  .pricing-grid .plan-card--featured.is-visible {
    transform: none;
  }
  .pricing-grid .plan-card--featured.is-visible:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 560px) {
  .section {
    padding: var(--space-6) 0;
  }
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    gap: var(--space-3);
  }
  .hero__actions .btn {
    width: 100%;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   参考サイト準拠の追加コンポーネント
   ========================================================= */

/* ---------- 見出しの強調・ボタン追加バリエーション ---------- */
.section__title strong {
  color: var(--color-primary);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary-dark);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.section__eyebrow--light {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.section__more {
  text-align: center;
  margin-top: var(--space-4);
}

/* ---------- ヒーローの浮遊シェイプ ---------- */
.hero__shape {
  position: absolute;
  border-radius: 42% 58% 60% 40% / 46% 42% 58% 54%;
  background: var(--gradient-primary);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: floaty 7s ease-in-out infinite;
}

.hero__shape--1 {
  width: 240px;
  height: 240px;
  top: 12%;
  right: 6%;
}

.hero__shape--2 {
  width: 150px;
  height: 150px;
  bottom: 14%;
  right: 28%;
  opacity: 0.1;
  background: var(--color-accent);
  animation-delay: -2.5s;
  animation-duration: 9s;
}

.hero__shape--3 {
  width: 110px;
  height: 110px;
  top: 24%;
  left: 4%;
  opacity: 0.1;
  animation-delay: -1.2s;
  animation-duration: 8s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-22px) rotate(8deg);
  }
}

.hero__inner,
.hero__copy,
.hero__visual {
  position: relative;
  z-index: 1;
}

/* ---------- 流れるキーワード帯 (Marquee) ---------- */
.marquee {
  background: var(--color-primary);
  overflow: hidden;
  padding: 14px 0;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0 var(--space-3);
  letter-spacing: 0.02em;
}

.marquee__track span::before {
  content: "✦";
  margin-right: var(--space-3);
  opacity: 0.7;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.about__head .section__title {
  text-align: left;
}

.about__body p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: var(--space-3);
}

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

/* ---------- Case タブ ---------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.tabs__btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
}

.tabs__btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

.tabs__btn.is-active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-primary);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.case-card {
  --accent: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-card--green {
  --accent: #06c755;
}
.case-card--blue {
  --accent: #3b82f6;
}
.case-card--amber {
  --accent: #f59e0b;
}
.case-card--teal {
  --accent: #14b8a6;
}

.case-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.case-card__quote-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  color: var(--accent);
  opacity: 0.9;
}

.case-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.case-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
}

.case-card__quote {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-muted);
}

.case-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  margin-top: var(--space-1);
}

.case-card__person small {
  color: var(--color-text-muted);
}

.case-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8125rem;
}

.case-card.is-hidden {
  display: none;
}

/* ---------- Document バナー ---------- */
.banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-4);
  align-items: center;
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  border-radius: 50%;
}

.banner__body {
  position: relative;
}

.banner__title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  margin: var(--space-1) 0 var(--space-2);
}

.banner__title strong {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 6px;
}

.banner__lead {
  font-size: 0.9375rem;
  opacity: 0.95;
}

.banner__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ---------- お知らせ・セミナー リスト ---------- */
.info-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.info-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease;
}

.info-list__item:hover {
  background: var(--color-bg-soft);
}

.info-list__date {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.info-list__badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--gradient-soft);
  border: 1px solid var(--color-primary-light);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.info-list__badge--alt {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.info-list__title {
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.info-list__title:hover {
  color: var(--color-primary);
}

/* ---------- 追加コンポーネントのレスポンシブ ---------- */
@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner {
    grid-template-columns: 1fr;
    padding: var(--space-5);
  }
}

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

@media (max-width: 560px) {
  .info-list__item {
    flex-wrap: wrap;
    gap: 8px var(--space-2);
  }
  .info-list__title {
    flex-basis: 100%;
  }
  .banner__actions .btn {
    width: 100%;
  }
  .hero__shape--1 {
    width: 160px;
    height: 160px;
  }
  .hero__visual {
    min-height: 360px;
  }
  .hero__orb {
    width: 280px;
    height: 280px;
  }
  .hero__media {
    width: 240px;
  }
  .hero__chip {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .hero__chip--a {
    left: 0;
  }
  .hero__chip--c {
    right: 0;
  }
}

/* ---------- モーションへの配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-fadein {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee__track {
    animation: none !important;
  }
}
