/* =============================================
   STYLE.CSS — Body Director LP
   Design: Quiet Luxury / Scientific Warmth
   ============================================= */

/* ---- Variables (from Design Guide) ---- */
:root {
  /* Warm Neutrals */
  --espresso:    #2C1F14;
  --deep-brown:  #4A3728;
  --walnut:      #8B7355;
  --tan:         #C8B89A;

  /* Organic Whites */
  --cream:       #F5F0E8;
  --warm-white:  #FAF7F2;
  --sand:        #E8DFD0;
  --pale-sage:   #E8EDE9;

  /* Functional */
  --line-green:  #3D7A45;
  --line-dark:   #2D5C34;
  --sage:        #7A8C7E;
  --muted-gold:  #B8965A;
  --steel-blue:  #8A9BB0;
  --slate-blue:  #4A5568;

  /* Text */
  --text-primary:   #1A1A1A;
  --text-secondary: #555555;
  --text-muted:     #888888;
  --border:         #D5C9B8;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ja:      'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-sans:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --max-width:   480px;
  --section-pad: 80px 24px;
  --transition:  0.35s ease;
}

/* ---- Base ---- */
body {
  font-family: var(--font-ja);
  font-weight: 300;
  background-color: #ffffff;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.8;
}

/* ============================================
   FONT DESIGN — ゴシック体 / 明朝体 使い分け
   科学・データ・UI → Noto Sans JP
   思想・物語・信頼 → Noto Serif JP
   ============================================ */

/* 1. カード・データ・UI（ゴシック体で科学的・現代的に） */
.bio-card,
.data-card,
.medical-card,
.value-item,
.section-tag,
.hero-stat-desc,
.form-item,
.btn-gate,
.btn-line {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* 2. カードの見出しを強調（視認性と信頼感） */
.data-card-title,
.medical-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.bio-card-title {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

/* 3. 本文・ストーリー・思想性のある部分は明朝体 */
body,
.section-heading-ja,
.hero-h1,
.creator-bio-text,
.creator-story-body,
.exec-text {
  font-family: var(--font-ja);
}

.page-wrapper {
  background: #ffffff;
  min-height: 100vh;
}

.page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
  position: relative;
}

.container {
  padding: 0 24px;
}

/* ---- Section Base ---- */
.section {
  padding: var(--section-pad);
}

/* Section Tag (DM Mono) */
.section-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* Section Heading (Cormorant Garamond) */
.section-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 2px;
  line-height: 1.3;
  margin-bottom: 8px;
}

/* Japanese Heading (Noto Serif JP) */
.section-heading-ja {
  font-family: var(--font-ja);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* Divider with ornament */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
}

.ornament-divider .div-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ornament-divider .div-ornament {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--tan);
  letter-spacing: 6px;
}

/* Simple border divider */
hr.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Tag component */
.tag {
  display: inline-block;
  border: 1px solid var(--tan);
  color: var(--walnut);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  padding: 4px 12px;
  text-transform: uppercase;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ============================================
   HEADER
   ============================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition), border-bottom var(--transition);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-logo {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 5px;
  color: var(--espresso);
  text-transform: uppercase;
  font-weight: 300;
}

.header-cta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 7px 16px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.header-cta:hover {
  border-color: var(--walnut);
  color: var(--walnut);
}

/* ============================================
   SECTION 01 — HERO / FIRST VIEW
   横長画像 + 左テキストオーバーレイ
   ============================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100%;
  /* 横長: 1920×1080 = 16:9 */
  padding-bottom: 50%;
  margin-top: 64px;
  overflow: hidden;
  background: #ffffff;
  border-bottom: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: 25% 50%;
  display: block;
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  background: #f0f0f0;
}

/* 左側のみ暗くするグラデーション（写真設置時に有効化） */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.15) 70%,
    transparent 100%
  );
  z-index: 1;
  display: none; /* プレースホルダー表示中は非表示 */
}

/* テキストを左側に絶対配置 */
.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 4%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--walnut);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.hero-h1 {
  font-family: var(--font-ja);
  font-size: clamp(24px, 4.2vw, 31px);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 1.25em;
}

.hero-concept {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 2px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-target {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  color: var(--walnut);
  letter-spacing: 2px;
  line-height: 1.8;
  margin-bottom: 0;
  border-left: 2px solid var(--walnut);
  padding-left: 8px;
}

.hero-sub {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* ---- Buttons (from design guide) ---- */
.btn-primary {
  display: block;
  width: 100%;
  padding: 17px 24px;
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

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

.btn-ghost {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  color: var(--espresso);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  border: 1px solid var(--walnut);
  cursor: pointer;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-ghost:hover {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

/* Hero on cream/light bg */
.btn-primary-light {
  display: block;
  width: 100%;
  padding: 17px 24px;
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-primary-light:hover {
  background: var(--deep-brown);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  right: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--walnut);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--walnut), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

/* ============================================
   HERO STATS — 左下、静かに佇むテキストリスト
   ============================================ */
.hero-stats-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.hero-stat-line {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  line-height: 1;
  margin: 0;
  padding: 6px 16px 6px 16px;
  border-left: 1px solid rgba(160, 150, 140, 0.35);
  border-bottom: none;
  white-space: nowrap;
}

.hero-stat-line:last-child {
  border-right: none;
}

/* ============================================
   SECTION 01.5 — DATA-DRIVEN
   ============================================ */
#data-driven {
  background: #ffffff;
  padding: var(--section-pad);
}

.data-intro {
  margin-bottom: 36px;
}

#data-driven .section-heading-ja {
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.4;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Training / Treatment 2-column cards */
.data-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.data-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

/* Training: red left border */
.data-card.training {
  border-left: 3px solid #c0392b;
}

/* Treatment: blue left border */
.data-card.treatment {
  border-left: 3px solid #5b9bd5;
}

.data-card-header {
  padding: 16px 16px 14px;
}

.data-card-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.data-card.training .data-card-label {
  color: #c0392b;
}

.data-card.treatment .data-card-label {
  color: #5b9bd5;
}

.data-card-title {
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.data-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Image placeholder under each card text */
.data-card-img {
  width: 100%;
  height: 130px;
  background: var(--sand);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Decision flow diagram */
.flow-chart {
  margin-top: 36px;
  padding: 24px 20px;
  background: #ffffff;
  border: none;
}

.flow-chart-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

.flow-nodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-node {
  width: 100%;
  max-width: 320px;
  text-align: center;
  padding: 14px 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.7;
  letter-spacing: 0.04em;
  position: relative;
}

.flow-node.start {
  background: var(--espresso);
  color: #ffffff;
  border-color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.flow-node.decision {
  background: #ffffff;
  font-size: 13px;
  color: var(--text-primary);
}

.flow-arrow {
  width: 1px;
  height: 20px;
  background: var(--border);
  position: relative;
}

.flow-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--border);
}

.flow-branch {
  display: flex;
  width: 100%;
  max-width: 320px;
  gap: 8px;
  position: relative;
}

.flow-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 1px;
  background: var(--border);
}

.flow-branch-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-branch-line {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.flow-branch-node {
  width: 100%;
  padding: 12px 10px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
  border: 1px solid;
}

.flow-branch-node.red {
  border-color: #c0392b;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.04);
}

.flow-branch-node.blue {
  border-color: #5b9bd5;
  color: #5b9bd5;
  background: rgba(91, 155, 213, 0.04);
}

/* ============================================
   SECTION 01.7 — BIOHACK
   ============================================ */
#biohack {
  background: #ffffff;
  padding: var(--section-pad);
}

.bio-data-note {
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ---- Chart blocks ---- */
.bio-chart-block {
  background: #f0f0f0;
  border: 1px solid var(--border);
  padding: 18px 16px;
  margin-bottom: 12px;
}

.bio-chart-title {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-brown);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.bio-chart-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
  line-height: 1.7;
}

.bio-chart-wrap {
  position: relative;
  height: 180px;
}

/* ---- CASE STUDY インサイトボックス ---- */
.bio-insight-box {
  background: #f7f5f2;
  border: none;
  padding: 18px 22px 16px;
  margin: 20px 0 28px;
}

.bio-insight-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bio-insight-text {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ---- BIOHACK REPORT ケーススタディ ヘッダーボックス（旧・非使用） ---- */
.bio-case-header {
  background: #f5f5f5;
  border-left: 3px solid var(--espresso);
  padding: 20px 24px 18px;
  margin: 20px 0 28px;
}

.bio-case-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bio-case-title {
  font-family: var(--font-ja);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.bio-case-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin: 0;
}

/* ---- グラフリード文（小見出し相当） ---- */
.bio-graph-lead {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ---- Section sub-headings ---- */
.bio-sub-heading {
  font-family: var(--font-ja);
  font-size: 22px;
  font-weight: 500;
  color: var(--espresso);
  margin: 32px 0 16px;
  letter-spacing: 0.5px;
}

/* ---- Metric indicator cards (4 cards) ---- */
.bio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.bio-card {
  background: #ffffff;
  border: none;
  padding: 18px 16px 18px 22px;
  position: relative;
  overflow: hidden;
}

/* 主観的感覚カード：極薄グレーで計測指標カードと区別 */
.bio-card--subjective {
  background: #f7f7f7;
}

.bio-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}

.bio-card-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.6;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

.bio-card-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* ---- Result summary stats ---- */
.bio-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.bio-stats--inline {
  margin-top: 12px;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.bio-stat {
  background: transparent;
  border: none;
  padding: 14px 0 12px;
}

.bio-stat-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.bio-stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}

.bio-stat-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.bio-stat-note-inline {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.bio-stat-note {
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ---- Divider inside biohack ---- */
.bio-section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* ============================================
   SECTION 02 — CREATOR STORY
   ============================================ */
#creator {
  background: #ffffff;
  padding: var(--section-pad);
}

/* プロフィール上段（アバター＋名前＋YouTubeボタン） */
.creator-profile {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 32px 0 0;
}

.creator-avatar {
  width: 156px;
  height: 156px;
  background: var(--sand);
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-info-name {
  font-family: var(--font-ja);
  font-size: 32px;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.creator-info-name-en {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 2px;
  display: block;
  margin-top: 4px;
  margin-left: 0;
}

.creator-info-title {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* YouTubeリンクボタン */
.creator-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #c0392b;
  text-decoration: none;
  border: 1px solid rgba(192, 57, 43, 0.25);
  padding: 3px 8px;
  background: rgba(192, 57, 43, 0.03);
  margin-bottom: 8px;
  transition: background var(--transition);
}

.creator-yt-btn:hover {
  background: rgba(192, 57, 43, 0.09);
}

.creator-yt-icon {
  font-size: 13px;
  line-height: 1;
}

.creator-yt-url {
  display: none;
}

/* セクション内区切り */
.creator-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

/* 経歴テキスト（旧） */
.creator-bio-heading {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 600;
  color: var(--espresso);
  line-height: 1.6;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.creator-bio-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 2;
  font-weight: 300;
}

.creator-bio-text + .creator-bio-text {
  margin-top: 14px;
}

/* 経歴ブロック（確定原稿） */
.creator-bio-block {
  margin: 32px 0 28px;
}

.creator-bio-para {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}

.creator-bio-para:last-child {
  margin-bottom: 0;
}

.creator-bio-em {
  font-weight: 500;
  color: var(--text-primary);
  font-style: normal;
}

/* 法人クライアントボックス */
.creator-clients-box {
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 16px;
  margin: 20px 0;
}

.creator-clients-heading {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 10px;
}

.creator-clients-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 10px 0 8px;
}

.creator-client-row {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
  line-height: 1.9;
  font-weight: 300;
}

.creator-client-row:last-of-type {
  border-bottom: none;
}

.creator-clients-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 10px;
}

/* ストーリーコピー（見出し＋本文ペア） */
.creator-story-block {
  margin-top: 48px;
}

.creator-story-block:first-of-type {
  margin-top: 36px;
}

.creator-story-heading {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.creator-story-body {
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.creator-story-block + .creator-story-block {
  margin-top: 48px;
}

/* ============================================
   SECTION 02.3 — EXECUTIVE HEALTH PERSPECTIVE
   ============================================ */
#executive-health {
  background: #ffffff;
  padding: var(--section-pad);
  text-align: left;
}

.exec-body {
  text-align: left;
  margin-top: 8px;
}

.exec-lead {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.exec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-left: 2px solid var(--walnut);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exec-list li {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  color: var(--deep-brown);
  letter-spacing: 2px;
}

.exec-text {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.exec-emphasis {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.9;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.exec-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 2px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.exec-closing {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--deep-brown);
  line-height: 2;
  letter-spacing: 1px;
  padding-left: 12px;
  border-left: 2px solid var(--walnut);
  margin-top: 8px;
}

/* 4-factor grid（2×2） */
.exec-4grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.exec-factor {
  border: 1px solid var(--border);
  padding: 20px 18px;
}

.exec-factor .data-card-label {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.exec-factor .data-card-title {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.exec-factor .data-card-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 400;
  text-align: center;
}

.exec-body {
  margin-top: 32px;
}

/* ============================================
   SECTION 02.5 — WHY HUMAN PERFORMANCE
   ============================================ */
#why-performance {
  background: #ffffff;
  padding: var(--section-pad);
}

.why-body {
  margin-top: 8px;
}

.why-lead {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-left: 2px solid var(--walnut);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-list li {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--deep-brown);
  letter-spacing: 3px;
}

.why-text {
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.why-strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 2px;
  font-style: normal;
}

/* ============================================
   SECTION 02.7 — HUMAN PERFORMANCE FRAMEWORK
   ============================================ */
#framework {
  background: #ffffff;
  padding: var(--section-pad);
}

#framework .section-body {
  font-size: 16px;
  line-height: 2;
}

.framework-intro {
  margin: 0 0 28px;
}

.framework-body {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}

.framework-body:last-child {
  margin-bottom: 0;
}

.framework-em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-primary);
}

/* ---- 2カラム レイアウト ---- */
.framework-layout {
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 48px;
  align-items: stretch;
  margin-top: 36px;
}

/* 左：番号付きリスト */
.framework-list {
  border-left: 1.5px solid var(--walnut);
  display: flex;
  flex-direction: column;
}

.framework-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--border);
  flex: 1;
}

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

.framework-item-num {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 300;
  color: var(--walnut);
  letter-spacing: 3px;
  flex-shrink: 0;
}

.framework-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.framework-item-en {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.framework-item-ja {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-brown);
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* 右：イメージエリア — リストと同高に伸縮 */
.framework-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.framework-img {
  background: #f0f0f0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.framework-img--large {
  /* flex: 2; */
  min-height: 140px;
}

.framework-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.framework-img--small {
  min-height: 80px;
}

.framework-img-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.framework-img-label img{
  width: 100%;
}

.framework-img-desc {
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Hub-and-spoke diagram（旧・非使用） ---- */
.framework-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

/* 中央ボックス */
.framework-center {
  border: 1.5px solid var(--walnut);
  padding: 16px 32px;
  text-align: center;
}

.framework-center-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 300;
  color: var(--espresso);
  letter-spacing: 2px;
  text-transform: none;
  line-height: 1.4;
}

/* 縦接続線 */
.framework-hub-line {
  width: 1px;
  height: 32px;
  background: var(--walnut);
}

/* 5要素リスト */
.framework-nodes {
  width: 100%;
  border-left: 1.5px solid var(--walnut);
  padding-left: 0;
}

.framework-node {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* 横接続線（ノードごと） */
.framework-node::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--walnut);
}

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

.framework-node-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--walnut);
  letter-spacing: 2px;
  flex-shrink: 0;
}

.framework-node-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 300;
  color: var(--deep-brown);
  letter-spacing: 1.5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.framework-node-text small {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* ============================================
   SECTION 03 — SOFT GATE
   ============================================ */
#soft-gate {
  background: #ffffff;
  padding: var(--section-pad);
}

.gate-header {
  text-align: center;
  margin-bottom: 32px;
}

.gate-lock {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.gate-title {
  font-family: var(--font-ja);
  font-size: 24px;
  font-weight: 300;
  color: var(--deep-brown);
  letter-spacing: 2px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.gate-sub {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.5px;
  line-height: 1.9;
  color: var(--text-muted);
}

.gate-form {
  background: #ffffff;
  border: none;
  padding: 8px 0;
}

.form-item {
  margin-bottom: 36px;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--espresso);
  text-transform: none;
  margin-bottom: 12px;
  font-weight: 400;
}

/* Q1補足テキスト（苗字だけ、ニックネーム可…） */
.form-label-note {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0;
  text-transform: none;
  display: inline;
}

.form-label .required {
  color: var(--walnut);
  margin-left: 8px;
}

.form-input {
  width: 100%;
  height: 44px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  transition: border-color var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--walnut);
}

.form-input::placeholder {
  color: var(--text-muted);
  font-size: 12px;
}

.radio-group,
.check-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-item,
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.radio-item:hover,
.check-item:hover {
  background: var(--warm-white);
}

.radio-item input,
.check-item input {
  width: 13px;
  height: 13px;
  accent-color: var(--walnut);
  flex-shrink: 0;
}

.radio-item label,
.check-item label {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-secondary);
  cursor: pointer;
  flex: 1;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.other-text {
  width: 100%;
  margin-top: 6px;
  display: none;
}

.other-text.visible {
  display: block;
}

.btn-gate {
  display: block;
  width: 100%;
  padding: 22px 24px;
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background var(--transition);
}

.btn-gate:hover {
  background: var(--deep-brown);
}

.form-privacy {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

/* Thank you message */
#thank-you {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  padding: 24px;
  text-align: center;
}

#thank-you .ty-check {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--sage);
  margin-bottom: 12px;
}

#thank-you .ty-title {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 300;
  color: var(--deep-brown);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

#thank-you .ty-body {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* ============================================
   GATE-AFTER CONTENT
   ============================================ */
#gate-content {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

#gate-content.revealed {
  display: block;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SECTION 04 — THE PROTOCOL
   ============================================ */
#protocol {
  background: #ffffff;
  padding: var(--section-pad);
}

.protocol-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  text-align: left;
  font-weight: 300;
}

/* 各deliverableブロック */
.deliverable {
  background: #ffffff;
  border: none;
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 0;
}
/* deliverable: 横長写真スロット */
.deliverable-photo-slot {
  width: 100%;
  height: 200px;
  margin-top: 20px;
  background: #f0f0f0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.deliverable-photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deliverable-photo-slot .protocol-photo-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.deliverable-photo-slot .protocol-photo-desc {
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* deliverable: 白セクション上のアクセントカード */

.deliverable-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.deliverable-title {
  font-family: var(--font-ja);
  font-size: 21px;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.deliverable-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 12px;
}

/* ── 01専用: Training / Treatment ツリー構造 ── */

/* 赤ボーダー（Physical Conditioning） */
.protocol-branch {
  padding-left: 12px;
  margin-bottom: 12px;
}

.protocol-branch.red {
  border-left: 3px solid #c0392b;
}

.protocol-branch.blue {
  border-left: 3px solid #5b9bd5;
}

.protocol-branch.grey {
  border-left: 3px solid #888;
}

/* ブランチヘッダー（Training / Neuromuscular Restoration） */
.protocol-branch-heading {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.protocol-branch.red  .protocol-branch-heading { color: var(--deep-brown); }
.protocol-branch.blue .protocol-branch-heading { color: var(--slate-blue); }
.protocol-branch.grey .protocol-branch-heading { color: var(--text-muted); }

/* ブランチ内リード文 */
.protocol-branch-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 8px;
}

/* ツリーアイテム（サブ項目） */
.protocol-tree {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.protocol-tree-item-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-brown);
  margin-bottom: 4px;
}

.protocol-tree-item-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
}

/* Protocol: テキスト＋写真の縦並びラッパー */
.protocol-branch-with-photo {
  display: block;
  margin-bottom: 20px;
}

.protocol-branch-with-photo .protocol-branch {
  margin-bottom: 10px;
}

/* Deliverable-01: 左テキスト60% + 右写真カラム40% の2カラムラッパー */
.deliverable-two-col {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-top: 16px;
}

.deliverable-two-col-text {
  flex: 0 0 60%;
  min-width: 0;
}

/* 右カラム: 3分割写真コンテナ */
.deliverable-two-col-photo-col {
  flex: 0 0 calc(40% - 20px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 写真1枚の共通スタイル */
.deliverable-two-col-photo-item {
  background: #f0f0f0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  /* padding: 16px 12px; */
  padding: 0;
  position: relative;
  overflow: hidden;
}

.deliverable-two-col-photo-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deliverable-two-col-photo-item .protocol-photo-label {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.deliverable-two-col-photo-item .protocol-photo-desc {
  position: relative;
  z-index: 1;
  font-size: 11px;
  line-height: 1.7;
  padding-bottom: 0.5em;
}

/* Photo A・B・C: 完全3等分 */
.deliverable-two-col-photo-col .deliverable-two-col-photo-item {
  flex: 1;
  min-height: 0;
}

/* 後方互換（旧 .deliverable-two-col-photo は削除済み） */

/* Protocol: 写真スロット（横長） */

.protocol-photo-slot {
  background: #f0f0f0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.protocol-photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.protocol-photo-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  width: 100%;
  height: 100%;
}

.protocol-photo-desc {
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 02〜04: グレーボーダーコンテンツ */
.protocol-grey-content {
  border-left: 3px solid #888;
  padding-left: 12px;
}

.protocol-grey-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
}

.protocol-grey-note {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 4px;
}

/* ============================================
   SECTION 04.2 — VALUE ARCHITECTURE
   ============================================ */
#value-architecture {
  background: #f0f0f0;
  padding: var(--section-pad);
}

#value-architecture .section-heading-ja {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  /* white-space: nowrap;*/
}

#value-architecture .section-body {
  font-size: 18px;
  line-height: 2;
  max-width: 900px;
}

.value-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

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

.value-item-title {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 500;
  color: var(--espresso);
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.value-item-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--walnut);
  line-height: 1;
  flex-shrink: 0;
}

.value-item-body {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2.2;
  letter-spacing: 0.02em;
  opacity: 0.85;
  padding-left: 0;
}

.value-closing-message {
  margin-top: 36px;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  border-left: 2px solid var(--walnut);
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 300;
  color: var(--deep-brown);
  line-height: 2;
  letter-spacing: 0.5px;
  padding-left: 20px;
}

/* ============================================
   SECTION 04.3 — CLIENT CASE
   ============================================ */
#client-case {
  background: #ffffff;
  padding: var(--section-pad);
}

/* 写真3枚グリッド（BEFORE / AFTER / MORE AFTER） */
/* 上段: BEFORE / AFTER 2枚横並び */
.case-photos-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.case-photo-col {
  display: flex;
  flex-direction: column;
}

.case-photo {
  aspect-ratio: 2 / 3;
  background: var(--sand);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真下ラベル（BEFORE / AFTER） */
.case-photo-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 5px;
  text-transform: uppercase;
}

/* 下段: MORE AFTER 横長 */
.case-photo-wide {
  margin-bottom: 14px;
}

.case-photo-wide-inner {
  width: 100%;
  aspect-ratio: 5 / 3;
  background: var(--sand);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-photo-wide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-photo-wide-footer {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}

/* MORE AFTER キャプション（横1列） */
.case-photo-caption {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 1px;
  /* white-space: nowrap; */
}

/* プレースホルダーテキスト（画像なし時） */
.case-photo-placeholder {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* COMMENTブロック */
/* Transformation / Life Impact 共通ラベル */
.case-block-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ---- Transformation ---- */
.case-transformation {
  border: 1px solid var(--border);
  border-top: 2px solid var(--walnut);
  padding: 36px 20px;
  margin-bottom: 8px;
  text-align: left;
}

.case-transformation-heading {
  font-family: var(--font-ja);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--espresso);
  margin-bottom: 28px;
  line-height: 1.4;
}

.case-transformation-stats {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.12em;
  line-height: 2;
}

/* ---- Life Impact ---- */
.case-impact {
  border: 1px solid var(--border);
  padding: 36px 20px;
  margin-bottom: 8px;
  text-align: left;
}

.case-impact-heading {
  font-family: var(--font-ja);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--espresso);
  margin-bottom: 28px;
  line-height: 1.4;
}

.case-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  text-align: left;
}

.case-impact-item {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  padding: 20px 20px 20px 20px;
  background: #faf8f5;
  border: 1px solid var(--border);
  border-left: 1px solid var(--walnut);
  line-height: 1.8;
  position: relative;
}

.case-impact-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--walnut);
  opacity: 0.6;
}

.case-comment-box {
  background: #f0f0f0;
  border: 1px solid var(--border);
  padding: 28px 24px;
}

.case-comment-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.case-comment-text {
  font-size: 16px;
  color: var(--deep-brown);
  line-height: 2.1;
  font-weight: 300;
  letter-spacing: 0;
}

/* ============================================
   SECTION 04.5 — MEDICAL ASSESSMENT
   ============================================ */
#medical {
  background: #f0f0f0;
  padding: var(--section-pad);
}

#medical .section-heading-ja {
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  /* white-space: nowrap; */
}

#medical .section-body {
  font-size: 18px;
  line-height: 2;
  max-width: 900px;
}

/* サブ見出し（検査・評価 / デバイス活用） */
.medical-sub-heading {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin: 36px 0 16px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* ユニット形式: 1テキスト + 1写真 */
.medical-unit {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 12px;
}

.medical-unit-text {
  flex: 0 0 60%;
  min-width: 0;
}

.medical-unit-text .medical-card {
  height: 100%;
  box-sizing: border-box;
}

.medical-unit-photo {
  background: #f0f0f0;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px 12px;
  position: relative;
  overflow: hidden;

  /* flex: 1; */
  /* min-height: 100px; */
}

.medical-unit-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カード本体 */
.medical-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 18px 18px 18px 22px;
  position: relative;
  overflow: hidden;
}

/* 左ボーダーアクセント */
.medical-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
}

.medical-card.grey .medical-card-accent { background: var(--walnut); opacity: 0.5; }
.medical-card.blue  .medical-card-accent { background: #5b9bd5; opacity: 0.7; }

.medical-card-title {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.medical-card-body {
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.medical-card-note {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.75;
  margin-top: 8px;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   SECTION 05 — FIT CHECK
   ============================================ */
#fit-check {
  background: #ffffff;
  padding: var(--section-pad);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.fit-col {
  padding: 22px 18px;
  border: 1px solid var(--border);
}

.fit-col-yes {
  background: var(--pale-sage);
}

.fit-col-no {
  background: #f0f0f0;
}

.fit-col-title {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  text-align: center;
}

.fit-col-title-ja {
  font-family: var(--font-ja);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
}

.fit-col-yes .fit-col-title {
  color: var(--sage);
}

.fit-col-no .fit-col-title {
  color: var(--text-muted);
}

.fit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fit-item {
  font-size: 11px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.7;
  font-weight: 300;
}

.fit-col-yes .fit-item::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 10px;
}

.fit-col-no .fit-item::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

/* ============================================
   SECTION 05b — PROGRAM STRUCTURE
   ============================================ */
#program-structure {
  background: #ffffff;
  padding: var(--section-pad);
}

#program-structure .section-body {
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.program-elements {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.program-element {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--espresso);
  padding: 14px 0 14px 16px;
  border-left: 2px solid var(--walnut);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

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

.program-closing {
  margin-top: 40px;
  padding: 24px;
  border-left: 3px solid var(--walnut);
  background: rgba(139, 100, 60, 0.04);
}

.program-closing-text {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.program-closing-emphasis {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

/* ============================================
   SECTION 06 — PRICING
   ============================================ */
#pricing {
  background: #f0f0f0;
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

#pricing .section-tag {
  color: var(--text-muted);
}

#pricing .section-heading-ja {
  color: var(--deep-brown);
}

.price-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--walnut);
  padding: 40px 28px;
  text-align: center;
  margin-top: 32px;
}

.price-tier {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.price-amount {
  margin-bottom: 10px;
}

.price-amount .yen {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 300;
  color: var(--espresso);
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: 0;
}

.price-amount .number {
  font-family: var(--font-ja);
  font-size: 36px;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1;
  letter-spacing: -1px;
}

.price-tax {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.price-tagline {
  font-family: var(--font-ja);
  font-size: 10px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.price-includes {
  text-align: left;
}

.price-includes-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price-include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 300;
}

.price-include-item:last-child {
  border-bottom: none;
}

.price-include-icon {
  font-family: var(--font-mono);
  color: var(--walnut);
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 2px;
}

.price-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.8;
  letter-spacing: 0.5px;
}

.capacity-box {
  margin-top: 16px;
  border: 1px solid var(--border);
  padding: 24px 20px 20px;
  background: #f5f3f0;
}

.capacity-box-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.capacity-box-body {
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
  margin: 0 0 10px;
}

/* Status Badge */
.capacity-status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.capacity-badge-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--walnut);
  text-transform: uppercase;
  flex-shrink: 0;
}

.capacity-badge-sep {
  color: var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
}

.capacity-badge-value {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--deep-brown);
  letter-spacing: 0.05em;
}

/* Soft Message */
.soft-message-body {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 2.0;
  letter-spacing: 0.02em;
  padding: 0 12px;
  opacity: 0.85;
  margin-bottom: 36px;
}

.soft-message-closing {
  letter-spacing: 0.2em !important;
  margin-bottom: 16px !important;
}

.soft-message-sub {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 2.0;
  letter-spacing: 0.05em;
  padding: 0 12px;
}

/* Section padding compression */
#pricing {
  padding: 64px 24px;
}

#soft-message {
  padding: 56px 24px;
}

/* ============================================
   SECTION 07 — LINE CTA
   ============================================ */
#line-cta {
  background: #ffffff;
  padding: var(--section-pad);
  text-align: center;
}

.btn-line {
  display: block;
  width: 100%;
  padding: 18px 24px;
  background: var(--line-green);
  color: #fff;
  text-align: center;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  margin-top: 28px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-line:hover {
  background: var(--line-dark);
}

.line-qr {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-placeholder {
  width: 90px;
  height: 90px;
  background: #f0f0f0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.qr-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 44px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 5px;
  color: var(--walnut);
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 22px;
}

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

.footer-link {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--walnut);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ============================================
   FIXED LINE BUTTON
   ============================================ */
#fixed-line {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  z-index: 999;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}

#fixed-line.visible {
  display: block;
  animation: slideUp 0.5s ease forwards;
}

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

.fixed-line-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--line-green);
  padding: 14px 18px;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
}

.fixed-line-inner:hover {
  background: var(--line-dark);
}

.fixed-line-text {
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 2px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

