/* ================================================================
   共生と学びのデザイン論 — Stylesheet
   カラーパレット：ニュートラル基調 + 5色アクセント（共生の多様性）
   ================================================================ */

/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  /* Base */
  --bg:          #F7F5F1;
  --bg-alt:      #EFECE6;
  --surface:     #FFFFFF;
  --border:      rgba(0,0,0,.08);

  /* Text */
  --text-primary:   #1C1C1E;
  --text-secondary: #5A5A5F;
  --text-muted:     #9A9A9F;

  /* Accent palette (共生の5色) */
  --c-teal:    #7EB8C0;  /* 対話 */
  --c-gold:    #C9A96E;  /* 経験 */
  --c-violet:  #9B8DC0;  /* 問い */
  --c-sage:    #7EC89B;  /* 創発 */
  --c-terra:   #D97B6C;  /* 身体 */

  /* Layout */
  --max-w: 1100px;
  --nav-h: 64px;
  --radius: 16px;
  --radius-sm: 10px;

  /* Animation */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.45,0,.55,1);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

em {
  font-style: normal;
  background: linear-gradient(120deg, var(--c-teal) 0%, var(--c-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

strong { font-weight: 700; }

/* ── Canvas Background ───────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .45;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* ── Navigation ──────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}

#main-nav.scrolled {
  background: rgba(247,245,241,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s;
}

#main-nav.scrolled .nav-logo { opacity: 1; }

.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-secondary);
  transition: color .25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--c-teal);
  transition: width .3s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
}

/* Orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  animation: orb-drift 20s ease-in-out infinite alternate;
}

.orb-1 { width: 500px; height: 500px; background: var(--c-teal);   top: -100px; right: -100px; animation-duration: 22s; }
.orb-2 { width: 400px; height: 400px; background: var(--c-violet); bottom: -80px; left: -80px;  animation-duration: 18s; animation-delay: -4s; }
.orb-3 { width: 300px; height: 300px; background: var(--c-gold);   top: 40%; left: 30%;         animation-duration: 26s; animation-delay: -8s; }
.orb-4 { width: 250px; height: 250px; background: var(--c-sage);   bottom: 20%; right: 20%;     animation-duration: 20s; animation-delay: -6s; }
.orb-5 { width: 200px; height: 200px; background: var(--c-terra);  top: 20%; left: 10%;         animation-duration: 24s; animation-delay: -12s; }

@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 30px) scale(.95); }
  100% { transform: translate(15px, 15px) scale(1.02); }
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  padding: .4rem 1rem;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.hero-label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-sage);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  margin-bottom: 1rem;
}

.title-jp {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--text-primary);
}

.title-jp.accent {
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-violet) 50%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.hero-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: .15em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 2.1;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.tag {
  padding: .35rem .9rem;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-secondary);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  cursor: default;
}

.tag:nth-child(1) { --tc: var(--c-teal); }
.tag:nth-child(2) { --tc: var(--c-gold); }
.tag:nth-child(3) { --tc: var(--c-violet); }
.tag:nth-child(4) { --tc: var(--c-sage); }
.tag:nth-child(5) { --tc: var(--c-terra); }
.tag:nth-child(6) { --tc: var(--c-teal); }

.tag:hover {
  background: var(--tc);
  color: white;
  border-color: var(--tc);
  transform: translateY(-2px);
}

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.6);
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  transition: border-color .3s, color .3s, transform .3s;
  animation: hero-bounce 2.5s ease-in-out infinite;
}

.hero-scroll-btn svg { width: 20px; height: 20px; }

.hero-scroll-btn:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
  transform: translateY(4px);
  animation: none;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── Instructor Bar ──────────────────────────────────────────── */
.instructor-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.75);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 1.4rem 0;
}

.instructor-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.instructor-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  color: var(--c-teal);
  background: rgba(126,184,192,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instructor-icon svg { width: 26px; height: 26px; }

.instructor-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.instructor-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 600;
}

.instructor-title {
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.instructor-quote {
  margin-left: auto;
  font-family: 'Noto Serif JP', serif;
  font-size: .88rem;
  color: var(--text-secondary);
  font-style: italic;
  letter-spacing: .03em;
  border-left: 2px solid var(--c-violet);
  padding-left: 1rem;
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 2;
  padding: 7rem 0;
}

.section-alt {
  background: rgba(239,236,230,.6);
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--text-muted);
  margin-bottom: .8rem;
  padding: .25rem .8rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .03em;
  color: var(--text-primary);
  margin-bottom: .9rem;
}

.section-lead {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ── Concept Cards ───────────────────────────────────────────── */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.concept-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.concept-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--c-teal)) 8%, transparent), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.concept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.concept-card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, var(--bg));
  color: var(--c);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 34px; height: 34px; }

.concept-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .7rem;
  letter-spacing: .03em;
}

.concept-card p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* Main quote */
.main-quote {
  background: linear-gradient(135deg, rgba(126,184,192,.08), rgba(155,141,192,.08));
  border: 1px solid var(--border);
  border-left: 4px solid var(--c-teal);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  text-align: center;
}

.main-quote p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.main-quote cite {
  font-size: .82rem;
  color: var(--text-muted);
  letter-spacing: .06em;
}

/* ── Method Section ──────────────────────────────────────────── */
.method-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

/* Visual concentric rings */
.method-visual {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.mv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 4s ease-in-out infinite;
}

.mv-ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(126,184,192,.25);
  animation-delay: 0s;
}
.mv-ring-2 {
  width: 68%; height: 68%;
  border-color: rgba(155,141,192,.35);
  animation-delay: -.8s;
}
.mv-ring-3 {
  width: 36%; height: 36%;
  border-color: rgba(201,169,110,.45);
  animation-delay: -1.6s;
}

@keyframes ring-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: .7; }
  50%       { transform: translate(-50%,-50%) scale(1.04); opacity: 1; }
}

.mv-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-teal), var(--c-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 8px 30px rgba(126,184,192,.35);
}

.mv-label {
  position: absolute;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-secondary);
  background: rgba(255,255,255,.85);
  padding: .3rem .75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.ml-1 { top: 8%; left: 50%; transform: translateX(-50%); color: var(--c-teal); }
.ml-2 { top: 50%; right: 4%; transform: translateY(-50%); color: var(--c-gold); }
.ml-3 { bottom: 8%; left: 50%; transform: translateX(-50%); color: var(--c-violet); }
.ml-4 { top: 50%; left: 4%; transform: translateY(-50%); color: var(--c-terra); }

/* Method items */
.method-item {
  display: flex;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: transform .25s;
}
.method-item:last-child { border-bottom: none; }
.method-item:hover { transform: translateX(4px); }

.mi-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--c-violet);
  flex-shrink: 0;
  padding-top: .15rem;
}

.mi-body h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .4rem;
}

.mi-body p {
  font-size: .86rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── Yure Section ────────────────────────────────────────────── */
.yure-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 3rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.yure-center-text {
  text-align: center;
  margin-bottom: 2.5rem;
}

.yure-kanji {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-teal), var(--c-violet), var(--c-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
  animation: yure-sway 5s ease-in-out infinite;
}

@keyframes yure-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%       { transform: rotate(2deg); }
}

.yure-center-text p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 2;
}

.yure-cards {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.yure-card {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.yc-icon { font-size: 2rem; margin-bottom: .8rem; }

.yure-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .8rem;
}

.yure-card ul li {
  font-size: .84rem;
  color: var(--text-secondary);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1rem;
  position: relative;
}
.yure-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}
.yure-card ul li:last-child { border-bottom: none; }

.yc-right { border-color: var(--c-sage); background: rgba(126,200,155,.06); }
.yc-right h4 { color: var(--c-sage); }

.yure-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  color: var(--c-gold);
}
.yure-arrow svg { width: 50px; }
.yure-arrow span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--c-gold);
}

/* Spectrum bar */
.spectrum-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.sb-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 40px;
}

.sb-track {
  flex: 1;
  height: 8px;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(217,123,108,.25), rgba(201,169,110,.3), rgba(126,200,155,.5));
  position: relative;
}

.sb-fill {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--c-terra), var(--c-gold), var(--c-sage));
  width: 0;
  transition: width 1.4s var(--ease-out);
}
.sb-fill.active { width: 55%; }

.sb-dot {
  position: absolute;
  top: 50%; left: 0%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--c-gold);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: left 1.4s var(--ease-out);
}
.sb-dot.active { left: 55%; }

.spectrum-caption {
  font-size: .84rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ── Space Cards ──────────────────────────────────────────────── */
.space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.space-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}

.space-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.space-visual {
  padding: 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.space-visual svg { width: 100%; height: 100%; }

.space-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem .5rem;
}

.space-card p {
  font-size: .84rem;
  color: var(--text-secondary);
  padding: 0 1.5rem 1.5rem;
  line-height: 1.85;
}

/* ── Color Flow ──────────────────────────────────────────────── */
.section-flow {
  background: linear-gradient(160deg, rgba(126,184,192,.06) 0%, rgba(155,141,192,.06) 50%, rgba(201,169,110,.06) 100%);
}

.color-flow { padding: 2rem 0; }

.cf-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.cf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.cf-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: white;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  cursor: default;
}

.cf-node:hover .cf-circle {
  transform: scale(1.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.cf-n1 .cf-circle { background: linear-gradient(135deg, var(--c-teal), #5aa5ae); }
.cf-n2 .cf-circle { background: linear-gradient(135deg, var(--c-gold), #b89055); }
.cf-n3 .cf-circle { background: linear-gradient(135deg, var(--c-violet), #7a6aae); }
.cf-n4 .cf-circle { background: linear-gradient(135deg, var(--c-terra), #c05e50); }
.cf-n5 .cf-circle {
  background: linear-gradient(135deg, var(--c-sage), var(--c-teal), var(--c-violet));
  box-shadow: 0 8px 30px rgba(126,200,155,.3);
  width: 100px; height: 100px;
  font-size: .9rem;
}

.cf-node span {
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--text-muted);
  font-weight: 500;
}

.cf-connector {
  flex-shrink: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.2), rgba(0,0,0,.1));
  position: relative;
  margin-bottom: 1.6rem;
}

.cf-connector::after {
  content: '';
  position: absolute;
  right: -4px; top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: rgba(0,0,0,.2);
}

/* ── Resources ───────────────────────────────────────────────── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  border-color: var(--rc, var(--c-teal));
}

.rc-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--rc) 12%, white);
  color: var(--rc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-icon svg { width: 22px; height: 22px; }

.rc-body { flex: 1; }

.rc-body h4 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .2rem;
  letter-spacing: .02em;
}

.rc-body p {
  font-size: .78rem;
  color: var(--text-muted);
}

.rc-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  transition: color .25s, transform .25s;
}
.resource-card:hover .rc-arrow {
  color: var(--rc, var(--c-teal));
  transform: translateX(3px);
}

/* ── Closing ─────────────────────────────────────────────────── */
.section-close {
  position: relative;
  z-index: 2;
  padding: 8rem 0 7rem;
  overflow: hidden;
  background: var(--text-primary);
}

.close-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.close-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.close-orbs div {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.co-1 { width: 400px; height: 400px; background: rgba(126,184,192,.18); top: -100px; left: -100px; }
.co-2 { width: 350px; height: 350px; background: rgba(155,141,192,.15); bottom: -80px; right: -80px; }
.co-3 { width: 250px; height: 250px; background: rgba(201,169,110,.12); top: 30%; left: 40%; }

.close-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.8rem;
}

.close-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.8rem;
}

.close-accent {
  background: linear-gradient(90deg, var(--c-teal), var(--c-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-body {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 2;
}

.close-body em {
  background: linear-gradient(90deg, var(--c-teal), var(--c-sage));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.close-tags span {
  padding: .35rem 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  font-size: .78rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  transition: border-color .25s, color .25s;
}

.close-tags span:hover {
  border-color: rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
}

/* ── Nav Vol.2 link ──────────────────────────────────────────── */
.nav-vol2 {
  padding: .28rem .85rem !important;
  background: linear-gradient(135deg, var(--c-teal), var(--c-violet)) !important;
  color: white !important;
  border-radius: 100px;
  font-weight: 600 !important;
  letter-spacing: .04em;
  transition: opacity .25s, transform .25s !important;
}
.nav-vol2::after { display: none !important; }
.nav-vol2:hover { opacity: .85; transform: translateY(-1px); }

/* ── Next Session Button ─────────────────────────────────────── */
.next-session-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  margin-top: 2.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--c-teal), var(--c-violet));
  border-radius: var(--radius);
  color: white;
  transition: transform .3s var(--ease-out), box-shadow .3s, opacity .3s;
  box-shadow: 0 8px 30px rgba(126,184,192,.3);
}

.next-session-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(126,184,192,.4);
  opacity: .92;
}

.nsb-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}

.nsb-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nsb-title i { font-size: .9rem; }

/* Next sessions grid */
.next-sessions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.next-sessions .next-session-btn {
  flex: 1;
  min-width: 220px;
}

.nsb-alt {
  background: linear-gradient(135deg, var(--c-gold), var(--c-sage)) !important;
  box-shadow: 0 8px 30px rgba(201,169,110,.3) !important;
}

.nsb-alt:hover {
  box-shadow: 0 16px 40px rgba(201,169,110,.4) !important;
}

.nsb-alt2 {
  background: linear-gradient(135deg, var(--c-violet), var(--c-gold)) !important;
  box-shadow: 0 8px 30px rgba(155,141,192,.3) !important;
}

.nsb-alt2:hover {
  box-shadow: 0 16px 40px rgba(155,141,192,.4) !important;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  background: #111113;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-course {
  font-family: 'Noto Serif JP', serif;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}

.footer-univ {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-top: .2rem;
}

.footer-right p {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
}

/* ── Scroll Reveal Animations ────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Delay helpers */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(247,245,241,.96);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }

  .nav-links.open a {
    font-size: .95rem;
  }

  .instructor-quote {
    margin-left: 0;
    flex-basis: 100%;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .method-visual {
    width: 260px; height: 260px;
  }

  .yure-cards { flex-direction: column; }
  .yure-arrow { flex-direction: row; transform: rotate(90deg); }

  .cf-track {
    gap: 0;
    justify-content: flex-start;
  }

  .cf-circle { width: 72px; height: 72px; font-size: .78rem; }
  .cf-n5 .cf-circle { width: 80px; height: 80px; }
  .cf-connector { width: 24px; }

  .main-quote { padding: 1.8rem 1.5rem; }

  .section { padding: 4.5rem 0; }
}

@media (max-width: 500px) {
  .hero-lead { font-size: .95rem; }
  .concept-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
}
