/* ═══════════════════════════════════════
   MESSAGE PAGE — STANDALONE CSS
   ダーク/ゴールドテーマ（common.css の代替として読み込む）
═══════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:          #0a0a0f;
  --bg2:         #0f0f18;
  --bg3:         #13131e;
  --gold:        #b8935a;
  --gold-light:  #d4a96a;
  --gold-pale:   #f0e0c4;
  --text:        #e8e4dc;
  --text-muted:  #888880;
  --text-dim:    #555550;
  --white:       #ffffff;
  --border:      rgba(184,147,90,0.2);
  --border-subtle: rgba(255,255,255,0.06);

  --orange:      #e8602c;
  --orange-lt:   #f0845a;
  --cream:       #faf8f3;
  --navy-r:      #1a2035;
  --mid-r:       #6b6358;
  --r-pill:      100px;
  --r-card:      24px;
  --font-disp:   'Syne', sans-serif;
  --font-jp-r:   'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;
  --font-cormo:  'Cormorant Garamond', serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp-r);
  font-weight: 300;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.12s ease, opacity 0.2s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--gold); pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.25s ease, opacity 0.2s;
  opacity: 0.4;
}

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 40px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-badge { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
.logo-badge img { height: 28px; }
.logo-sub {
  font-family: var(--font-disp); font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em; color: var(--text-muted);
}
nav {
  display: flex; align-items: center; gap: 6px;
}
nav a {
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-decoration: none; color: var(--text-muted);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
nav a:hover { background: rgba(255,255,255,0.07); color: var(--white); }
nav a.active { color: var(--gold-light); }
.nav-cta {
  background: var(--orange) !important; color: white !important;
  padding: 10px 22px !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--orange-lt) !important; }

/* ── FLOATING ENTRY BUTTON ── */
.float-entry-b {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.float-entry-b.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-btn-main-b {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-pill);
  background: var(--orange); color: white;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(232,96,44,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn-main-b:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,96,44,0.55); }
.float-btn-sub-b {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 24px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08); border: 2px solid rgba(184,147,90,0.3);
  color: var(--gold-light);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.float-btn-sub-b:hover { border-color: var(--gold); background: rgba(184,147,90,0.1); transform: translateY(-2px); }

/* ── FADE-UP ANIMATION ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── SECTION LABEL ── */
.section-label {
  font-family: var(--font-cormo);
  font-size: 12px; letter-spacing: 0.5em;
  color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 1px; background: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 100px 80px; position: relative; z-index: 2;
}
.hero-label {
  font-family: var(--font-cormo); font-size: 13px; letter-spacing: 0.4em;
  color: var(--gold); margin-bottom: 32px;
  display: flex; align-items: center; gap: 16px;
}
.hero-label::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 4.5vw, 72px); font-weight: 200;
  line-height: 1.5; letter-spacing: 0.04em; color: var(--white);
  margin-bottom: 32px;
}
.hero-h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  font-size: 15px; line-height: 2; color: var(--text-muted);
  max-width: 380px; margin-bottom: 56px; letter-spacing: 0.08em;
}
.hero-meta { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-title {
  font-family: var(--font-cormo); font-size: 13px;
  letter-spacing: 0.3em; color: var(--text-dim);
}
.hero-meta-name {
  font-family: var(--font-serif); font-size: 26px; font-weight: 300;
  color: var(--white); letter-spacing: 0.2em;
}
.hero-right { position: relative; overflow: hidden; }
.hero-right::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 30%); z-index: 1;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(20%) brightness(0.75);
}
.hero-bg-text {
  position: absolute; bottom: 60px; right: -20px;
  font-family: var(--font-cormo); font-size: 160px; font-weight: 300;
  color: rgba(255,255,255,0.03); line-height: 1; z-index: 0;
  pointer-events: none; user-select: none; letter-spacing: -0.02em;
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; color: var(--text-dim); z-index: 2;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── INTRO CTA ── */
.intro-cta {
  background: var(--bg2); padding: 60px 80px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.intro-cta-text { font-size: 15px; letter-spacing: 0.1em; color: var(--text-muted); line-height: 1.8; }
.intro-cta-btns { display: flex; gap: 16px; flex-shrink: 0; }

/* ── BTN (gold/outline variants) ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-size: 13px; letter-spacing: 0.2em;
  padding: 16px 36px; transition: all 0.4s; position: relative;
}
.btn-primary { background: var(--gold); color: var(--bg); font-weight: 400; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(184,147,90,0.3); }
.btn-outline { border: 1px solid var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-arrow::after { content: '→'; transition: transform 0.3s; }
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── STORY BLOCKS ── */
section { position: relative; }

.story-block {
  padding: 120px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}
/* 2つ目のstory-blockの前にborder */
.section-dark + .story-block { border-top: 1px solid var(--border-subtle); }

.story-block.reverse { }
.story-block.reverse .story-text { order: 1; }
.story-block.reverse .story-visual { order: 2; }

.story-num {
  font-family: var(--font-cormo); font-size: 96px; font-weight: 300;
  color: rgba(184,147,90,0.12); line-height: 1; margin-bottom: -24px;
  display: block; letter-spacing: -0.02em;
}
.story-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.5vw, 36px); font-weight: 300;
  line-height: 1.7; color: var(--white); margin-bottom: 32px; letter-spacing: 0.05em;
}
.story-heading strong { color: var(--gold-light); font-weight: 400; }
.story-body { font-size: 16px; line-height: 2.2; color: var(--text-muted); letter-spacing: 0.06em; }
.story-body p + p { margin-top: 20px; }

.story-visual { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.story-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(15%) brightness(0.7);
  transition: transform 0.8s ease, filter 0.8s ease;
}
.story-visual:hover img { transform: scale(1.03); filter: grayscale(0%) brightness(0.8); }
.story-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(184,147,90,0.08));
  pointer-events: none;
}

.visual-placeholder {
  width: 100%; height: 100%; background: var(--bg3);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 20px; position: relative;
}
.visual-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(184,147,90,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(184,147,90,0.05) 0%, transparent 50%);
}
.visual-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%) brightness(0.7); }
.visual-placeholder-text {
  font-family: var(--font-cormo); font-size: 12px; letter-spacing: 0.4em;
  color: var(--text-dim); position: relative; z-index: 1;
}

/* ── SECTION DARK ── */
.section-dark { background: var(--bg2); padding: 120px 80px; }

.chapter02-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.chapter02-visual { aspect-ratio: 4/5; position: relative; overflow: hidden; }

/* ── QUOTE SECTION ── */
.quote-section { padding: 120px 80px; background: var(--bg); }
.quote-block { max-width: 800px; margin: 0 auto; text-align: center; padding: 40px 0; }
.quote-section .section-label { justify-content: center; margin-bottom: 60px; }
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px); font-weight: 200; line-height: 1.9;
  color: var(--white); letter-spacing: 0.08em;
  border-left: 2px solid var(--gold); padding-left: 40px; text-align: left;
  position: relative;
}
.quote-text::before {
  content: ''; position: absolute; left: -2px; top: 0;
  width: 2px; height: 40%; background: var(--gold-light);
}
.quote-text strong { color: var(--gold-light); }
.quote-attribution {
  margin-top: 48px; text-align: right;
  font-size: 14px; color: var(--text-dim); letter-spacing: 0.2em;
}

/* ── GOLD RULE ── */
.gold-rule { width: 60px; height: 1px; background: var(--gold); margin: 40px 0; }

/* ── VISION SECTION ── */
.vision-section {
  padding: 160px 80px; text-align: center; position: relative; overflow: hidden;
}
.vision-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,147,90,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.vision-big {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-cormo); font-size: clamp(48px, 8vw, 120px); font-weight: 300;
  line-height: 1; color: rgba(255,255,255,0.06); letter-spacing: 0.1em;
  white-space: nowrap; pointer-events: none;
}
.vision-section .section-label { justify-content: center; margin-bottom: 48px; }
.vision-content { position: relative; z-index: 1; }
.vision-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 52px); font-weight: 200; color: var(--white);
  line-height: 1.7; letter-spacing: 0.08em; margin-bottom: 48px;
}
.vision-heading em { font-style: normal; color: var(--gold-light); }
.vision-body {
  font-size: 16px; line-height: 2.4; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 64px; letter-spacing: 0.08em;
}

/* ── ENTRY SECTION (dark wave variant) ── */
#entry {
  background: var(--orange); padding: 120px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.entry-wave {
  position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: var(--bg); clip-path: ellipse(60% 100% at 50% 0%); z-index: 1;
}
.entry-wave-b {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--bg2); clip-path: ellipse(60% 100% at 50% 100%);
}
.entry-bg-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.ebc-1 { width: 500px; height: 500px; border: 60px solid rgba(255,255,255,0.12); top: -100px; left: -100px; }
.ebc-2 { width: 300px; height: 300px; border: 40px solid rgba(255,255,255,0.08); bottom: -50px; right: 10%; }
.entry-content { position: relative; z-index: 1; }
.entry-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: rgba(255,255,255,0.8); margin-bottom: 20px; display: block; }
.entry-title { font-family: var(--font-jp-r); font-size: clamp(32px, 5vw, 60px); font-weight: 900; color: white; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 16px; }
.entry-title em { font-style: normal; background: rgba(255,255,255,0.2); border-radius: 8px; padding: 0 10px; }
.entry-sub { font-size: 16px; color: rgba(255,255,255,0.78); margin-bottom: 52px; font-weight: 400; line-height: 1.9; }
.entry-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.ebtn-white {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 44px; border-radius: var(--r-pill);
  background: white; color: var(--orange); font-weight: 700; font-size: 16px;
  letter-spacing: 0.04em; text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2); transition: transform 0.2s, box-shadow 0.2s;
}
.ebtn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.25); }
.ebtn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 44px; border-radius: var(--r-pill);
  border: 2px solid rgba(255,255,255,0.6); background: transparent; color: white;
  font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.ebtn-outline:hover { transform: translateY(-3px); background: rgba(255,255,255,0.15); border-color: white; }

/* ── FOOTER (dark variant) ── */
footer {
  background: var(--bg2); padding: 72px 60px 40px;
  color: rgba(255,255,255,0.45);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand p { font-size: 13px; line-height: 1.9; margin-top: 16px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; font-weight: 400; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.logo-wrap .logo-sub { color: rgba(255,255,255,0.35); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.1em;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── HAMBURGER BUTTON ── */
.ham-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 201;
  flex-shrink: 0;
}
.ham-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.mob-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 24px;
  overflow-y: auto;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.mob-nav a:hover { color: var(--gold-light); }
.mob-nav-entry-btn {
  margin-top: 12px;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 16px 40px !important;
  background: var(--orange) !important;
  color: white !important;
  border-radius: var(--r-pill);
  font-size: 16px !important;
  box-shadow: 0 6px 20px rgba(232,96,44,0.4);
}

/* ── タッチデバイスでカーソル非表示 ── */
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  nav a:not(.nav-cta) { display: none; }
  .ham-btn { display: flex !important; }
  .float-entry-b { bottom: 20px; right: 16px; gap: 8px; }

  .hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero-right { position: absolute; inset: 0; z-index: 0; }
  .hero-right::before {
    background: linear-gradient(to bottom, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.7) 60%, var(--bg) 100%);
  }
  .hero-left { padding: 0 24px 80px; position: relative; z-index: 2; }
  .hero-bg-text { display: none; }

  .intro-cta { flex-direction: column; padding: 48px 24px; }
  .intro-cta-btns { flex-direction: column; width: 100%; }
  .intro-cta-btns .btn { justify-content: center; }

  .story-block { grid-template-columns: 1fr; padding: 80px 24px; gap: 48px; }
  .story-block.reverse .story-text { order: 2; }
  .story-block.reverse .story-visual { order: 1; }

  .section-dark { padding: 80px 24px; }
  .chapter02-inner { grid-template-columns: 1fr; gap: 48px; }

  .quote-section { padding: 80px 24px; }
  .vision-section { padding: 100px 24px; }
  .vision-big { display: none; }

  #entry { padding: 80px 24px; }
  .entry-btns { flex-direction: column; align-items: center; }
  .ebtn-white, .ebtn-outline { width: 100%; max-width: 360px; justify-content: center; }

  footer { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
