/* ===== お金の海図（shio-kaizu）=====
   深い紺の海に、真鍮の金。高級ホテルの文法 × アンティーク海図。
   本文: Noto Serif JP / 欧文・数字: EB Garamond
   ページ全体が下に行くほど明るくなる（深海 → 夜明け前） */

:root {
  --ink: #ece4d1;          /* 羊皮紙色（本文） */
  --ink-soft: #a6b3c2;     /* 淡い青灰（補足） */
  --paper: #0a1626;        /* 基準の濃紺 */
  --card: rgba(6, 15, 27, 0.45);
  --line: #2b3e53;
  --line-gold: rgba(201, 169, 97, 0.35);
  --grid: rgba(201, 169, 97, 0.05);
  --grid-major: rgba(201, 169, 97, 0.1);
  --accent: #7db8cd;       /* 月明かりの青 */
  --gold: #c9a961;         /* 真鍮の金 */
  --gold-bright: #ddc287;
  --on-gold: #081320;
  --voyage: #7db8cd;       /* 投資遍歴の色 */
  --system: #c9a961;       /* 取捨選択ログの色 */
  --route: rgba(201, 169, 97, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 2.15;
  letter-spacing: 0.03em;
  background:
    linear-gradient(var(--grid-major) 1px, transparent 1px) 0 0 / 280px 280px,
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px) 0 0 / 280px 280px,
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, #050e19 0%, #0a1626 26%, #0f2034 60%, #162b44 100%);
}

/* 羊皮紙の質感（粒子） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="220" height="220"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2"/></filter><rect width="220" height="220" filter="url(%23n)"/></svg>');
}

h1, h2, h3 { font-weight: 600; line-height: 1.4; }

a { color: var(--accent); text-underline-offset: 4px; }

.en { font-family: "EB Garamond", serif; }

::selection { background: rgba(201, 169, 97, 0.3); }

/* ===== 固定ヘッダー ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(20px, 4vw, 44px);
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(5, 14, 25, 0.82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding-top: 13px;
  padding-bottom: 13px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}
.brand-no {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.nav-links { display: flex; gap: clamp(14px, 2.6vw, 34px); flex-wrap: wrap; }
.nav-links a {
  text-decoration: none;
  color: #c9d3df;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--gold); border-bottom-color: var(--line-gold); }

/* ===== 左右のレール ===== */
.rail-brand {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  writing-mode: vertical-rl;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: var(--ink-soft);
  opacity: 0.6;
  pointer-events: none;
}
.scroll-progress {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 1px;
  height: 180px;
  background: var(--line);
  pointer-events: none;
}
.scroll-progress i {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201, 169, 97, 0.6);
}
@media (max-width: 1120px) {
  .rail-brand, .scroll-progress { display: none; }
}

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  max-width: 920px;
  min-height: clamp(680px, 100svh, 1040px);
  margin: 0 auto;
  padding: 96px 48px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 月明かり */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 64% 44% at 50% 24%, rgba(125, 184, 205, 0.1), transparent 70%);
  pointer-events: none;
}


/* 開幕の所作 */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fadein { from { opacity: 0; } }
.chart-no, .hero h1, .hero-sub, .hero-figures, .hero-lead, .hero-actions {
  animation: rise 1.1s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.chart-no { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.35s; }
.hero-sub { animation-delay: 0.6s; }
.hero-figures { animation-delay: 0.8s; }
.hero-lead { animation-delay: 0.95s; }
.hero-actions { animation-delay: 1.1s; }
.hero-tagline { animation: fadein 1.6s ease 1.4s both; }
.hero-frame { animation: fadein 1.8s ease both; }
.hero-ship, .hero-rose { animation: fadein 2.4s ease 1.2s both; }
.scroll-cue { animation: fadein 1.5s ease 2.1s both; }
.hero-waves { animation: fadein 2s ease 1.8s both; }

/* アンティーク地図の額縁（上端はナビを避けて下げる）*/
.hero-frame {
  position: absolute;
  inset: 82px 16px 16px;
  border: 1px solid currentColor;
  color: var(--gold);
  opacity: 0.5;
  pointer-events: none;
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid currentColor;
  opacity: 0.4;
}
.corner { position: absolute; width: 52px; height: 52px; }
.corner svg { display: block; width: 100%; height: 100%; }
.corner.tl { top: -7px; left: -7px; }
.corner.tr { top: -7px; right: -7px; transform: rotate(90deg); }
.corner.br { bottom: -7px; right: -7px; transform: rotate(180deg); }
.corner.bl { bottom: -7px; left: -7px; transform: rotate(270deg); }

/* 額縁の中点飾り（菱形の鋲） */
.edge {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3.5px #0a1626, 0 0 0 4.5px var(--line-gold);
}
.edge.et { top: -4.5px; left: 50%; margin-left: -4.5px; }
.edge.eb { bottom: -4.5px; left: 50%; margin-left: -4.5px; }
.edge.el { left: -4.5px; top: 50%; margin-top: -4.5px; }
.edge.er { right: -4.5px; top: 50%; margin-top: -4.5px; }

/* 夜空の星 */
.hero-stars {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  pointer-events: none;
  background: transparent;
  box-shadow:
    90px 40px 0 0 rgba(236, 228, 209, 0.8),
    220px 110px 0 0 rgba(236, 228, 209, 0.55),
    420px 30px 0 0 rgba(236, 228, 209, 0.7),
    560px 150px 0 0 rgba(236, 228, 209, 0.5),
    680px 60px 0 0 rgba(236, 228, 209, 0.75),
    150px 300px 0 0 rgba(236, 228, 209, 0.45),
    740px 320px 0 0 rgba(236, 228, 209, 0.6),
    50px 480px 0 0 rgba(236, 228, 209, 0.5),
    640px 470px 0 0 rgba(236, 228, 209, 0.65),
    330px 540px 0 0 rgba(236, 228, 209, 0.4);
  animation: twinkle 5s ease-in-out infinite alternate;
}
.hero-stars-2 {
  top: 60px;
  left: 60px;
  width: 1px;
  height: 1px;
  box-shadow:
    160px 80px 0 0 rgba(236, 228, 209, 0.6),
    360px 170px 0 0 rgba(236, 228, 209, 0.5),
    520px 90px 0 0 rgba(236, 228, 209, 0.55),
    90px 220px 0 0 rgba(236, 228, 209, 0.45),
    700px 230px 0 0 rgba(236, 228, 209, 0.5),
    260px 430px 0 0 rgba(236, 228, 209, 0.45),
    580px 380px 0 0 rgba(236, 228, 209, 0.55),
    430px 510px 0 0 rgba(236, 228, 209, 0.4);
  animation-duration: 7s;
  animation-delay: 1.6s;
}
@keyframes twinkle {
  from { opacity: 0.25; }
  to { opacity: 1; }
}

/* 図番 */
.chart-no {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.34em;
  color: var(--gold);
}
.chart-no::before,
.chart-no::after {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 4.6rem);
  margin: 0 0 24px;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: linear-gradient(178deg, #f7f0dd 30%, #ecdcb0 72%, #ddc287 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 一行で分かるコピー */
.hero-sub {
  margin: 0 0 48px;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  letter-spacing: 0.18em;
  color: var(--ink);
}

/* 銘板の数字（20年が主役） */
.hero-figures {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0 0 48px;
}
.figure {
  padding: 0 clamp(36px, 7vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}
.figure + .figure { border-left: 1px solid var(--line); }
.figure .num {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: clamp(2.4rem, 5.5vw, 3.2rem);
  color: var(--gold-bright);
}
.figure .num .unit {
  font-family: "Noto Serif JP", serif;
  font-style: normal;
  font-size: 0.45em;
  margin-left: 2px;
  color: var(--gold);
}
.figure .label {
  margin-top: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--ink-soft);
}

/* 縦書きの銘 */
.hero-tagline {
  position: absolute;
  top: 50%;
  right: clamp(34px, 6vw, 70px);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.44em;
  color: var(--gold-bright);
}

.hero-lead {
  color: #b6c2d0;
  font-size: 1.04rem;
  line-height: 2.7;
  text-align: left;
  margin: 0 0 52px;
  max-width: 510px;
}

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 42px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  text-decoration: none;
  font-family: "Noto Serif JP", serif;
  font-size: 0.84rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.btn-primary { background: var(--gold); color: #050e19; font-weight: 600; }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { color: var(--gold); }
.btn-ghost:hover { background: rgba(201, 169, 97, 0.12); }
.btn-arrow {
  margin-left: 8px;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: -1px;
  transition: transform 0.3s;
}
.btn-arrow svg { display: block; width: 10px; height: 12px; }
.btn-ghost:hover .btn-arrow { transform: translateY(3px); }

/* 帆船の銅版画（左上・モックから切り出した実画像） */
.hero-ship {
  position: absolute;
  top: 132px;
  left: clamp(24px, 5%, 60px);
  width: clamp(200px, 29%, 285px);
  opacity: 0.78;
  pointer-events: none;
}
.hero-ship img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 58%, transparent 86%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 48%, #000 58%, transparent 86%);
}

/* コンパスローズ（右上・枠なしで背景に直接） */
.hero-rose {
  position: absolute;
  top: 158px;
  right: clamp(48px, 8.5%, 104px);
  width: clamp(140px, 21%, 200px);
  opacity: 0.88;
  pointer-events: none;
}
.hero-rose img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 82%);
}

/* 揺れる波 */
.hero-waves {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 76%);
  height: 22px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.hero-waves i {
  position: absolute;
  inset: 0;
  background: var(--gold);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 22"><path d="M0 11 Q15 2 30 11 Q45 20 60 11" fill="none" stroke="black" stroke-width="1.6"/></svg>') repeat-x;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 22"><path d="M0 11 Q15 2 30 11 Q45 20 60 11" fill="none" stroke="black" stroke-width="1.6"/></svg>') repeat-x;
  -webkit-mask-size: 60px 22px;
  mask-size: 60px 22px;
  opacity: 0.55;
  animation: drift 16s linear infinite;
}
.hero-waves i.w2 {
  opacity: 0.28;
  transform: translateY(6px);
  animation-duration: 26s;
  animation-direction: reverse;
}
@keyframes drift {
  to { -webkit-mask-position: -60px 0; mask-position: -60px 0; }
}

/* スクロール誘導（コンパスの針） */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 24px;
  margin-left: -12px;
  color: var(--gold);
  opacity: 0.85;
}
.scroll-cue svg {
  display: block;
  width: 100%;
  height: auto;
  animation: needle-float 3.2s ease-in-out infinite;
}
@keyframes needle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ===== ステートメント（定型句・原文のまま） ===== */
.statement {
  max-width: 880px;
  margin: 0 auto;
  padding: 150px 28px 30px;
  text-align: center;
}
.statement p {
  margin: 0;
  font-size: clamp(1.25rem, 3.2vw, 1.8rem);
  letter-spacing: 0.16em;
  line-height: 2.2;
  font-weight: 600;
}
.statement p::before,
.statement p::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  margin: 0 auto;
  background: linear-gradient(transparent, var(--gold));
}
.statement p::before { margin-bottom: 36px; }
.statement p::after { margin-top: 36px; background: linear-gradient(var(--gold), transparent); }

/* ===== はじめての方へ（入口の動線） ===== */
.first-voyage {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 28px 10px;
  text-align: center;
}
.fv-label {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--gold);
  margin: 0 0 12px;
}
.fv-heading {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.1em;
  margin: 0 0 44px;
  font-weight: 600;
}
.fv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.fv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.fv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
}
.fv-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}
.fv-card:hover::before { transform: scaleY(1); }
.fv-step {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.fv-lead {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 10px;
}
.fv-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 20px;
  flex: 1;
}
.fv-go {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.fv-card:hover .fv-go { color: var(--gold); }

/* ===== セクション共通 ===== */
.section {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 130px 28px 20px;
}
/* 余白に沈むローマ数字 */
.section::before {
  content: attr(data-ghost);
  position: absolute;
  top: 70px;
  right: 8px;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.06;
  pointer-events: none;
}
.section h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); letter-spacing: 0.12em; margin: 0 0 20px; }
.section-no {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: 0.8rem;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.52em;
  color: var(--gold);
  margin-bottom: 14px;
}
.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
  margin-top: 22px;
}
.section-lead { color: var(--ink-soft); font-size: 0.95rem; line-height: 2.3; max-width: 640px; margin: 0 0 56px; }

/* ===== 二軸マップ ===== */
.map-filter { display: flex; gap: 10px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn {
  font-family: "Noto Serif JP", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  padding: 9px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.article-map {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: relative;
}
.article-map::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--route);
}

/* 航路を進む船 */
.route-ship {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
}
.route-ship svg { width: 20px; height: 20px; display: block; }

.article-card {
  position: relative;
  width: calc(50% - 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 26px 30px;
  margin: 0 0 28px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  background: rgba(6, 15, 27, 0.75);
  border-color: var(--line-gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.article-card.voyage { margin-right: auto; }
.article-card.system { margin-left: auto; }
.article-card.is-hidden { display: none; }

.card-meta {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 12px;
}
.card-no {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.card-date {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.card-axis {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  padding: 2px 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.article-card.voyage .card-axis { color: var(--voyage); }
.article-card.system .card-axis { color: var(--system); }
.card-flag {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  padding: 2px 10px;
  border-radius: 2px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
}
.article-card.is-latest { border-color: var(--line-gold); }

.article-card h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: 0.04em; margin: 0 0 14px; line-height: 1.95; }
.card-link { font-size: 0.8rem; letter-spacing: 0.14em; text-decoration: none; color: var(--ink-soft); transition: color 0.25s; }
.article-card:hover .card-link { color: var(--gold); }
.card-link.is-pending { pointer-events: none; }
/* カード全面をクリック可能に（公開済みのみ・「はじめての3枚」と同じ挙動）*/
.article-card:has(.card-link:not(.is-pending)) { cursor: pointer; }
.card-link:not(.is-pending)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 航路上の経由点 */
.article-card::after {
  content: "";
  position: absolute;
  top: 32px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--voyage);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.article-card.voyage::after { right: -50px; }
.article-card.system::after { left: -50px; border-color: var(--system); }
/* 船が通過した経由点は金に灯る */
.article-card.is-passed::after {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 169, 97, 0.5);
}

/* 月の刻み（航路上） */
.month-marker {
  position: relative;
  width: max-content;
  margin: 4px auto 30px;
  background: var(--paper);
  padding: 2px 18px;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.9;
}
.month-marker::before,
.month-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--line-gold);
}
.month-marker::before { left: -2px; }
.month-marker::after { right: -2px; }

/* 出航・現在地の標識 */
.route-marker {
  position: relative;
  width: max-content;
  margin: 0 auto 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 28px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.28em;
}

/* マップ末尾の注記（noteへの導線） */
.map-note {
  text-align: center;
  margin: 48px 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.map-note a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 2px;
}
.map-note a:hover { color: var(--gold-bright); }

/* ===== 家族4口座マップ ===== */
.account-figure { position: relative; margin: 0; }
.account-rose {
  position: absolute;
  top: -18px;
  right: 4px;
  width: 88px;
  height: auto;
  mix-blend-mode: lighten;
  opacity: 0.7;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 56%, transparent 80%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 56%, transparent 80%);
}
.account-map { width: 100%; height: auto; display: block; }
.account-map .link { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 5 5; opacity: 0.5; }
.account-map .node rect { fill: rgba(6, 15, 27, 0.6); stroke: var(--line); stroke-width: 1.2; }
.account-map .node.hub rect { fill: rgba(6, 15, 27, 0.85); stroke: var(--gold); stroke-width: 1.5; }
.account-map .node.hub .hub-outer { fill: none; stroke: var(--line-gold); stroke-width: 1; }
.account-map .compass { opacity: 0.6; }
.account-map .compass circle { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.account-map .compass path { fill: var(--gold); }
.account-map text {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 600;
  fill: var(--ink);
  text-anchor: middle;
}
.account-map text.small { font-size: 12.5px; font-weight: 400; fill: var(--ink-soft); letter-spacing: 0.04em; }
.account-map .node.hub text.small { fill: var(--gold); }
.account-figure figcaption { font-size: 0.82rem; color: var(--ink-soft); text-align: center; margin-top: 20px; letter-spacing: 0.06em; }

/* ===== 用語集 ===== */
.glossary-search {
  width: 100%;
  max-width: 380px;
  font-family: "Noto Serif JP", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 10px 6px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  margin-bottom: 44px;
}
.glossary-search::placeholder { color: var(--ink-soft); opacity: 0.7; }
.glossary-search:focus { outline: none; border-bottom-color: var(--gold); }

.glossary-cat { margin-bottom: 40px; }
.glossary-cat dl { margin: 0; column-count: 2; column-gap: 56px; }
.glossary-item { break-inside: avoid; }
.glossary-cat h3 {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin: 0 0 24px;
}
.glossary-item { margin-bottom: 22px; }
.glossary-item dt { font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; }
.glossary-item dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 2.1; }
.glossary-empty { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== シリーズ宣言 ===== */
.manifest {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 52px 8px 8px;
  text-align: center;
  font-size: 1.04rem;
  line-height: 2.5;
}
.manifest::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: var(--gold);
  opacity: 0.85;
}
.manifest p { margin: 0 0 1.5em; }
.manifest p:last-of-type { margin-bottom: 0; }

/* 落款 */
.seal {
  display: inline-flex;
  margin-top: 36px;
  writing-mode: vertical-rl;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  padding: 12px 7px;
  opacity: 0.9;
}

/* ===== 締めのCTA（出口の動線） ===== */
.closing {
  max-width: 720px;
  margin: 0 auto;
  padding: 150px 28px 20px;
  text-align: center;
}
.closing-line {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.14em;
  font-weight: 600;
  margin: 0 0 16px;
  background: linear-gradient(178deg, #f7f0dd 30%, #ecdcb0 72%, #ddc287 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.closing-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0 0 44px;
}
.closing-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ===== フッター ===== */
.wave-divider { display: flex; justify-content: center; margin-top: 130px; color: var(--gold); opacity: 0.55; }
.wave-divider svg { width: 180px; height: 16px; }

footer {
  padding: 56px 24px 72px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer-rose {
  display: block;
  width: 68px;
  height: auto;
  margin: 0 auto 20px;
  mix-blend-mode: lighten;
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 58%, transparent 82%);
}

.footer-brand {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--ink);
}
.footer-tag {
  margin: 0 0 36px;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 0.86rem;
  letter-spacing: 0.26em;
  color: var(--gold);
}
.disclaimer { max-width: 560px; margin: 0 auto 1.8em; line-height: 2.1; }
.footer-links { display: flex; gap: 32px; justify-content: center; letter-spacing: 0.12em; margin-bottom: 1.6em; }
.footer-links a { color: var(--gold); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { font-family: "EB Garamond", serif; letter-spacing: 0.16em; font-size: 0.84rem; opacity: 0.8; }

/* ===== スクロール出現 ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.2, 0.6, 0.2, 1), transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-stars, .scroll-cue svg, .hero-waves i { animation: none; }
  .chart-no, .hero h1, .hero-sub, .hero-figures, .hero-lead,
  .hero-actions, .hero-tagline, .hero-frame, .hero-ship, .hero-rose,
  .scroll-cue, .hero-waves {
    animation: none;
  }
}

/* ===== モバイル ===== */
@media (max-width: 900px) {
  .hero-tagline {
    position: static;
    transform: none;
    writing-mode: horizontal-tb;
    margin: 0 0 28px;
    letter-spacing: 0.2em;
  }
  .fv-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 680px) {
  .site-nav { flex-direction: column; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  .nav-links { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; gap: 4px 16px; justify-content: center; }
  .hero { min-height: auto; padding: 178px 26px 80px; }
  .hero-frame { inset: 148px 12px 12px; }
  .hero-ship { width: 142px; top: 178px; left: 12px; opacity: 0.5; }
  .hero-rose { width: 100px; top: 190px; right: 14px; opacity: 0.6; }
  .corner { width: 38px; height: 38px; }
  .figure { padding: 0 18px; }
  .statement { padding-top: 110px; }
  .section { padding-top: 96px; }
  .article-map::before { left: 10px; }
  .article-card,
  .article-card.voyage,
  .article-card.system {
    width: auto;
    margin-left: 34px;
    margin-right: 0;
  }
  .article-card.voyage::after,
  .article-card.system::after {
    left: -29px;
    right: auto;
  }
  .route-marker { margin-left: 34px; }
  .month-marker { margin-left: 34px; }
  .glossary-cat dl { column-count: 1; }
  .account-rose { width: 56px; top: -6px; }
  .closing { padding-top: 110px; }
  .first-voyage { padding-top: 20px; }
  .route-ship { left: 10px; width: 32px; height: 32px; }
  .route-ship svg { width: 17px; height: 17px; }
}
