/* ========================================================
   Cluster Of Stars (clusterofstars.com) Modern Cosmic Theme
   Design System: Deep Space, Glassmorphism, Starlight Gold
   ======================================================== */

:root {
  --bg-deep: #050814;
  --bg-dark: #0a1026;
  --bg-surface: rgba(14, 22, 48, 0.72);
  --bg-card: rgba(18, 29, 64, 0.65);
  --bg-card-hover: rgba(28, 44, 96, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(246, 211, 101, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --gold-primary: #f6d365;
  --gold-secondary: #fda085;
  --accent-cyan: #38bdf8;
  --accent-purple: #c084fc;
  --font-sans: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Meiryo, sans-serif;
  --font-serif: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --container-max: 1140px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 30px rgba(246, 211, 101, 0.18);
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.5);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.8;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Starfield Canvas Background */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Ambient Cosmic Gradients */
.cosmic-ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.22;
}
.ambient-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, #818cf8, transparent 70%);
}
.ambient-2 {
  bottom: 20%;
  left: -150px;
  background: radial-gradient(circle, #fda085, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 9, 20, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}
.site-header.scrolled {
  background: rgba(6, 9, 20, 0.92);
  border-bottom-color: rgba(246, 211, 101, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
  min-width: 0;
}
.site-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(246, 211, 101, 0.3));
}
.site-logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.site-logo-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff 30%, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-logo-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

/* Nav links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--text-main);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
  transition: var(--transition-fast);
}
.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}
.nav-cta-btn {
  padding: 8px 18px !important;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(246, 211, 101, 0.15), rgba(253, 160, 133, 0.15));
  border: 1px solid var(--border-glow);
  color: var(--gold-primary) !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  white-space: nowrap !important;
}
.nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary)) !important;
  color: #0c142c !important;
  box-shadow: var(--shadow-glow);
}
.nav-cta-btn::after {
  display: none !important;
}

/* Mobile Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.hamburger-box {
  width: 24px;
  height: 18px;
  position: relative;
  display: block;
}
.hamburger-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 8px; }
.hamburger-line:nth-child(3) { top: 16px; }

.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--gold-primary);
}
.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--gold-primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  z-index: 1;
}
.hero-bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0.38;
  filter: saturate(1.2) contrast(1.1);
  pointer-events: none;
}
.hero-bg-video-container iframe,
.hero-bg-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 9, 20, 0.4) 0%, rgba(6, 9, 20, 0.95) 85%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(246, 211, 101, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(246, 211, 101, 0.2);
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--gold-primary) 60%, var(--gold-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #e2e8f0;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Starlight Buttons */
.starlight-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}
.starlight-btn.primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: #0c142c;
  box-shadow: 0 8px 24px rgba(246, 211, 101, 0.35);
}
.starlight-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(246, 211, 101, 0.5);
}
.starlight-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.starlight-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}
.starlight-btn.matcher-btn {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.2), rgba(192, 132, 252, 0.2));
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #fff;
}
.starlight-btn.matcher-btn:hover {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  color: #0c142c;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 132, 252, 0.4);
}

/* Sections Common */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(246, 211, 101, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

/* Concept Cards Grid */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.concept-card {
  display: flex;
  flex-direction: column;
}
.concept-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(246, 211, 101, 0.2), rgba(253, 160, 133, 0.2));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.concept-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.45;
}
.concept-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.concept-quote {
  font-style: italic;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-top: auto;
}

/* Movie Theater Section */
.movie-section {
  background: linear-gradient(180deg, transparent, rgba(10, 16, 38, 0.7) 30%, rgba(10, 16, 38, 0.7) 70%, transparent);
}
.movie-theater-frame {
  max-width: 920px;
  margin: 0 auto 40px auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(246, 211, 101, 0.3);
  box-shadow: 0 0 50px rgba(246, 211, 101, 0.2), 0 25px 60px rgba(0, 0, 0, 0.7);
  background: #000;
  position: relative;
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Answer Capsule (GEO & AIO Optimization) */
.answer-capsule {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(18, 29, 64, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.capsule-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.capsule-badge {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: #0c142c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.capsule-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.capsule-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Star Essence Matcher (Interactive Island) */
.matcher-section {
  padding: 80px 0;
}
.matcher-card {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(20, 30, 68, 0.8), rgba(12, 18, 42, 0.9));
  border: 1px solid rgba(192, 132, 252, 0.3);
  box-shadow: 0 0 40px rgba(192, 132, 252, 0.15);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.matcher-step {
  display: none;
}
.matcher-step.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}
.matcher-step-indicator {
  font-size: 0.82rem;
  color: var(--accent-purple);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.matcher-question {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.45;
}
.matcher-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.matcher-btn-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #e2e8f0;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}
.matcher-btn-option:hover {
  background: rgba(192, 132, 252, 0.15);
  border-color: rgba(192, 132, 252, 0.5);
  transform: translateX(4px);
  color: #fff;
}
.matcher-btn-option .opt-label {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: var(--gold-primary);
}

/* Matcher Result */
.matcher-result {
  text-align: center;
}
.result-star-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: pulseStar 2s infinite ease-in-out;
}
.result-type-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.result-catch {
  font-size: 1.05rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 24px;
}
.result-desc {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.9;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  border-left: 3px solid var(--accent-purple);
}
.result-desc strong {
  color: var(--gold-primary);
}
.matcher-reset-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.matcher-reset-btn:hover {
  color: #fff;
  border-color: #fff;
}

/* Founder Section */
.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
}
.founder-media {
  position: relative;
}
.founder-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.founder-img-wrap:hover img {
  transform: scale(1.05);
}
.founder-title-badge {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.founder-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.founder-subname {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.founder-bio {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.85;
  margin-bottom: 24px;
}
.founder-bio p {
  margin-bottom: 14px;
}

/* Community Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition-smooth);
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}
.pillar-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  font-family: monospace;
}
.pillar-card h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Form Styles */
.cosmic-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
}
.required-badge {
  font-size: 0.72rem;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.optional-badge {
  font-size: 0.72rem;
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-fast);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(246, 211, 101, 0.2);
}
.form-select option {
  background-color: var(--bg-dark);
  color: #fff;
}
.form-actions {
  text-align: center;
  margin-top: 10px;
}
.form-feedback {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}
.form-feedback.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* Sub-page Article Layout */
.subpage-container {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 120px;
  max-width: 880px;
}
.subpage-hero {
  text-align: center;
  margin-bottom: 44px;
}
.subpage-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
}
.subpage-meta {
  color: var(--gold-primary);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.read-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(246, 211, 101, 0.12);
  border: 1px solid var(--border-glow);
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--gold-primary);
}
.summary-capsule {
  background: linear-gradient(145deg, rgba(20, 30, 68, 0.85), rgba(12, 18, 42, 0.95));
  border: 1px solid rgba(246, 211, 101, 0.3);
  border-left: 5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.summary-capsule-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-capsule-text {
  font-size: 0.96rem;
  color: #f1f5f9;
  line-height: 1.85;
}
.article-body {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-card);
}
.article-body h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-body h2:first-of-type {
  margin-top: 0;
}
.article-body h2::before {
  content: '✦';
  color: var(--gold-primary);
  font-size: 1.2rem;
}
.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-top: 36px;
  margin-bottom: 16px;
}
.article-body p,
.post-content-inner p {
  color: #f1f5f9; /* WCAG 2.1 AA Compliant (High Contrast) */
  font-size: 1.05rem;
  line-height: 1.95;
  margin-bottom: 24px;
}
.article-body blockquote {
  padding: 20px 24px;
  background: rgba(246, 211, 101, 0.08);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}
.article-body blockquote p {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
}
.article-body ul {
  margin-left: 24px;
  margin-bottom: 24px;
  color: #f1f5f9;
}
.article-body li {
  margin-bottom: 10px;
}

/* Footer & Legal */
.site-footer {
  background: #03050c;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  position: relative;
  z-index: 2;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  line-height: 1.8;
  color: var(--text-muted);
}
.footer-links h5 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--gold-primary);
}

/* Salvage Clause (Legal Compliance) */
.legal-salvage-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #64748b;
}
.legal-salvage-box h6 {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 8px;
  font-weight: 700;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: #475569;
}

/* AdSlot CLS Zero Container */
.ad-slot-wrapper {
  max-width: 728px;
  min-height: 280px;
  margin: 40px auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.ad-slot-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ad-slot-placeholder {
  color: #475569;
  font-size: 0.82rem;
}

/* ========================================================
   5-Persona Review Enhancements
   ======================================================== */

/* 1. Cycle Stories (得意と苦手の循環事例) */
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.cycle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.cycle-card:hover {
  border-color: rgba(246, 211, 101, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.cycle-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cycle-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.cycle-card h4 {
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 16px;
}
.cycle-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.cycle-box.weakness {
  border-left: 3px solid #f87171;
  color: #fca5a5;
}
.cycle-box.strength {
  border-left: 3px solid #4ade80;
  color: #86efac;
}
.cycle-box.result {
  border-left: 3px solid var(--gold-primary);
  color: #fef08a;
  margin-bottom: 0;
  margin-top: auto;
}

/* 2. Journey Timeline (発起人の歩みと信頼の年表) */
.journey-timeline {
  position: relative;
  max-width: 840px;
  margin: 40px auto 0 auto;
  padding-left: 36px;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-primary), var(--accent-purple), rgba(56, 189, 248, 0.2));
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  top: 4px;
  left: -36px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(246, 211, 101, 0.6);
}
.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
}
.timeline-year {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 6px;
  font-family: monospace;
}
.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 0.96rem;
  color: #e2e8f0;
  line-height: 1.8;
}

/* 3. Zero Pressure Safety Commitment (安心の3大お約束) */
.safety-badge-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.safety-badge-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.safety-badge-icon {
  font-size: 1.6rem;
}
.safety-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.safety-badge-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 4. Blog Category Filter Bar */
.blog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.blog-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: #0c142c;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(246, 211, 101, 0.3);
}

/* 5. Mobile Floating Dock Bar (スマホ下部固定ナビ) */
.mobile-dock-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-dock-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(7, 11, 25, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(246, 211, 101, 0.2);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 600;
    gap: 3px;
    flex: 1;
    padding: 6px 0;
    transition: var(--transition-fast);
  }
  .dock-item:hover, .dock-item:active {
    color: var(--gold-primary);
  }
  .dock-icon {
    font-size: 1.25rem;
  }
  body {
    padding-bottom: 70px; /* Space for dock bar */
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseStar {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(246, 211, 101, 0.4)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 25px rgba(246, 211, 101, 0.8)); }
}

/* Responsive Header Navigation Defense */
@media (min-width: 1041px) and (max-width: 1220px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a {
    font-size: 0.86rem;
  }
  .nav-cta-btn {
    padding: 6px 14px !important;
    font-size: 0.86rem !important;
  }
  .site-logo-sub {
    display: none;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(6, 9, 20, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 28px 24px 60px;
    gap: 12px;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--border-subtle);
  }
  .site-nav.open {
    display: flex;
    animation: fadeIn 0.25s ease-out;
  }
  .site-nav a {
    font-size: 1.05rem;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(246, 211, 101, 0.06);
    color: var(--gold-primary);
  }
  .site-nav a::after {
    display: none;
  }
  .nav-cta-btn {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px !important;
    font-size: 1.05rem !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .site-logo {
    gap: 8px;
  }
  .site-logo img {
    height: 32px;
  }
  .site-logo-title {
    font-size: 1.02rem;
  }
  .site-logo-sub {
    display: none;
  }
  .site-header {
    height: 64px;
  }
  :root {
    --header-height: 64px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .concept-grid,
  .pillars-grid,
  .cycle-grid {
    grid-template-columns: 1fr;
  }
  .safety-badge-group {
    grid-template-columns: 1fr;
  }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-img-wrap {
    max-width: 240px;
    margin: 0 auto;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .glass-card,
  .article-body,
  .matcher-card {
    padding: 28px 20px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .starlight-btn {
    width: 100%;
  }
}
