/* =========================================================
   ZENITH COIN / COIN RING KYOTO
   墨色×生成りを基調に、金箔のアクセント。
   エディトリアル（雑誌的）なレイアウトと余白で高級感を出す。
   ========================================================= */

:root {
  --ink: #16130e;          /* 墨 */
  --ink-2: #211d15;
  --ink-soft: #4a443a;
  --paper: #f8f5ee;        /* 生成り */
  --beige: #f0e9d8;        /* 料金表のベージュ系と調和 */
  --beige-deep: #e3d6b8;
  --grey: #e9e5dc;         /* 料金表のグレー系 */
  --gold: #c2a062;         /* 金 */
  --gold-deep: #97783f;
  --gold-pale: #e6d3a8;
  --line: #d9d1bf;
  --line-dark: rgba(248, 245, 238, 0.18);
  --radius: 4px;
  --shadow: 0 8px 30px rgba(22, 19, 14, 0.08);
  --shadow-lift: 0 18px 44px rgba(22, 19, 14, 0.16);
  --font-serif: "Cormorant Garamond", "Shippori Mincho", serif;
  --font-serif-jp: "Shippori Mincho", "Cormorant Garamond", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --header-h: 84px;
  --header-h-shrunk: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-shrunk) + 16px); }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- ボタン（エディトリアル調：角を立て、字間を広く） ---------- */
.btn {
  display: inline-block;
  padding: 15px 42px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
}
.btn-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(151, 120, 63, 0.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(151, 120, 63, 0.45); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost--light { border-color: rgba(248, 245, 238, 0.6); color: var(--paper); }
.btn-ghost--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-small { padding: 10px 24px; font-size: 0.78rem; }
.btn-large { padding: 19px 56px; font-size: 1rem; }

/* ---------- ヘッダー（固定・スクロールで縮小） ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(248, 245, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-shrunk { box-shadow: 0 4px 20px rgba(22, 19, 14, 0.1); }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
  transition: height 0.3s ease;
}
.site-header.is-shrunk .header-inner { height: var(--header-h-shrunk); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo { height: 56px; width: auto; transition: height 0.3s ease; }
.site-header.is-shrunk .brand-logo { height: 38px; }
.brand-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.26em;
}
.global-nav { display: flex; gap: 28px; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.08em; }
.global-nav a { position: relative; padding: 4px 0; }
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.global-nav a:hover { color: var(--gold-deep); }
.global-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 2px;
  padding: 8px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.lang-switch:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; }

/* ---------- ヒーロー（ダーク） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(1000px 600px at 80% 10%, rgba(194, 160, 98, 0.16) 0%, transparent 60%),
    radial-gradient(700px 500px at 8% 95%, rgba(194, 160, 98, 0.10) 0%, transparent 60%),
    linear-gradient(170deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: calc(var(--header-h) + 88px) 0 120px;
}
.coin-motif {
  position: absolute;
  top: 50%; right: -120px;
  width: 640px; height: 640px;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0.22;
  animation: motif-spin 90s linear infinite;
  pointer-events: none;
}
@keyframes motif-spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  letter-spacing: 0.45em;
  color: var(--gold);
  font-size: 0.88rem;
  margin-bottom: 26px;
}
.eyebrow-line { display: inline-block; width: 56px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 26px;
}
.hero-sub { color: #b6ae9d; margin-bottom: 34px; max-width: 36em; font-size: 0.97rem; }
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 16px 22px;
  background: rgba(248, 245, 238, 0.05);
  border: 1px solid var(--line-dark);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}
.hero-price strong {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  letter-spacing: 0.04em;
  color: var(--gold-pale);
}
.hero-price small { color: #9b937f; }
.hero-duration {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: -22px 0 34px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: #b6ae9d;
}
.hero-duration .dur-icon { width: 17px; height: 17px; color: var(--gold); flex: none; }
.hero-duration strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--gold-pale);
  font-weight: 600;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-visual { position: relative; }
/* ヒーロー実写真 */
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 470px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  position: relative;
  z-index: 1;
}
/* 写真枠：金の罫線をずらして重ねるエディトリアル額装 */
.hero-visual .ph-hero {
  aspect-ratio: 4 / 5;
  max-height: 470px;
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(194, 160, 98, 0.06) 16px 32px),
    rgba(248, 245, 238, 0.05);
  border: 1px solid var(--line-dark);
  color: #847c69;
}
/* 装飾フレームははみ出すため非表示（写真自体の枠線のみ） */
.hero-visual::after { content: none; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 1px; height: 72px;
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--gold);
  animation: cue-drop 2.2s ease-in-out infinite;
}
@keyframes cue-drop { 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- マーキー帯 ---------- */
.marquee {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  opacity: 0.75;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- プレースホルダー枠（ライト面） ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(151, 120, 63, 0.06) 16px 32px),
    var(--grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #968e7c;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.ph-shop { aspect-ratio: 16 / 10; margin-top: 26px; }
.shop-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- セクション共通 ---------- */
.section { padding: 110px 0; }
.section--beige { background: var(--beige); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-en {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-serif);
  letter-spacing: 0.42em;
  font-size: 0.8rem;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.sec-num {
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.section-head h2 {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.section-lead { color: var(--ink-soft); max-width: 40em; margin: 0 auto; font-size: 0.95rem; }

/* ---------- 料金ガイド ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.price-card {
  background: var(--beige);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(194, 160, 98, 0.35);
  border-radius: 2px;
  pointer-events: none;
}
.price-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.price-card h3 {
  font-family: var(--font-serif-jp);
  font-size: 1.18rem;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.price-card--base {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
  border-color: var(--ink);
}
.price-card--base::before { border-color: rgba(194, 160, 98, 0.45); }
.price-card--base .price-figure { color: var(--gold-pale); }
.price-card--base .price-note { color: #b6ae9d; }
.price-card--random { background: var(--grey); }
.price-figure {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.price-note { font-size: 0.9rem; color: var(--ink-soft); }
.price-note--sm { font-size: 0.82rem; margin-top: 4px; }
.price-tentative { margin-top: 16px; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; }

/* ネックレス専用コイン等のサブ項目 */
.price-subitem {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dotted var(--line);
}
.price-subitem--fuji { display: flex; gap: 14px; align-items: center; }
.price-subitem--fuji .price-subitem-body { flex: 1; min-width: 0; }
.fuji-thumb {
  width: 66px;
  height: 66px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(194, 160, 98, 0.12);
}
.price-subline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
}
.price-subline strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-deep);
  white-space: nowrap;
}

.badge {
  display: inline-block;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 2px;
  padding: 2px 8px;
  vertical-align: middle;
  white-space: nowrap;
}
.badge-limited { color: var(--gold-deep); border: 1px solid var(--gold-deep); }
.badge-stock { color: #fff; background: #9a7b46; }

/* ---------- コインカタログ ---------- */
.catalog-cat {
  font-family: var(--font-serif-jp);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  margin: 56px 0 26px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.coin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 24px;
}
.coin-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.coin-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
/* グリッド出現時にカードを時間差でフェード */
.coin-grid.reveal.is-visible .coin-card { animation: card-in 0.7s ease both; animation-delay: var(--d, 0ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } }

/* コイン写真枠：墨地に「角穴の開いたコイン」の意匠（写真差し込みで置換） */
.coin-img {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(280px 160px at 50% 0%, rgba(194, 160, 98, 0.14) 0%, transparent 70%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
/* 実写真：コイン全体が切れずに収まるよう contain。ホバーでゆっくりズーム */
.coin-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.coin-card:hover .coin-photo { transform: scale(1.05); }
/* 意匠プレースホルダーは coin-img--ph のときだけ表示 */
.coin-img:not(.coin-img--ph) .coin-disc,
.coin-img:not(.coin-img--ph) .coin-img-label { display: none; }
.coin-disc {
  width: 92px; height: 92px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(194, 160, 98, 0.12), inset 0 0 0 4px rgba(194, 160, 98, 0.18);
  transition: transform 0.5s ease;
}
.coin-card:hover .coin-disc { transform: rotate(14deg) scale(1.06); }
.coin-hole { width: 22px; height: 22px; border: 1.5px solid var(--gold); }
.coin-img-label {
  position: absolute;
  bottom: 10px; right: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: #847c69;
}
.coin-body { padding: 22px 22px 26px; }
.coin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.coin-name { font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; white-space: nowrap; }
.coin-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.coin-price { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold-deep); margin-bottom: 6px; }
.coin-tbd { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500; color: #9a917d; letter-spacing: 0.06em; }
.coin-size {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.coin-size span {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--gold-deep);
  border-radius: 2px;
  padding: 1px 7px;
  flex: none;
}
.coin-desc { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.75; }
.catalog-note {
  margin-top: 48px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
}

/* ---------- 体験の流れ（タイムライン） ---------- */
.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 30px;
}
/* 各ステップを結ぶ金の罫線 */
.flow-grid::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
}
.flow-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transition-delay: 0s;
}
.reveal.flow-card { transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s ease var(--d, 0ms), box-shadow 0.35s ease; }
.reveal.flow-card.is-visible { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.flow-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.flow-num {
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 6px 16px rgba(22, 19, 14, 0.25);
  z-index: 1;
}
.flow-img {
  aspect-ratio: 4 / 3;
  margin: 34px -18px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.flow-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-title {
  font-family: var(--font-serif-jp);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 18px 0 8px;
}
.flow-desc { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.75; }

/* ---------- 予約セクション（ダーク・CTA強調） ---------- */
.section--booking {
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(194, 160, 98, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
}
.section-head--invert h2 { color: var(--paper); }
.section-head--invert .section-lead { color: #b6ae9d; }
.bokun-embed {
  position: relative;
  background: rgba(248, 245, 238, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 64px 28px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.bokun-embed::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(194, 160, 98, 0.4);
  border-radius: 2px;
  pointer-events: none;
}
.bokun-placeholder { color: #9b937f; margin-bottom: 30px; letter-spacing: 0.08em; }
.booking-notes {
  max-width: 580px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #cfc7b2;
}
.booking-notes li { padding: 9px 0 9px 28px; position: relative; }
.booking-notes li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 10px; height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ---------- SNS ---------- */
/* 手動ギャラリー */
.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto 40px;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--grey);
}
.gallery-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-photo { transform: scale(1.06); }
/* 写真が無い／読み込めない枠 */
.gallery-ph {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(151, 120, 63, 0.06) 16px 32px),
    var(--grey);
  color: #968e7c;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.gallery-item.is-empty .gallery-ph { display: flex; }
.sns-links { display: flex; justify-content: center; gap: 20px; }

/* ---------- アクセス ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.access-info h3 {
  font-family: var(--font-serif);
  letter-spacing: 0.26em;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.access-addr { font-weight: 700; margin-bottom: 4px; }
.access-addr-sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.access-note { font-size: 0.92rem; color: var(--ink-soft); }
.access-map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: grayscale(0.5) sepia(0.08);
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: #b6ae9d;
  padding: 64px 0 44px;
  text-align: center;
  border-top: 1px solid var(--line-dark);
}
.footer-logo { height: 92px; margin: 0 auto 26px; filter: invert(1) brightness(1.7) sepia(0.25); }
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.84rem;
  margin-bottom: 26px;
}
.footer-nav a:hover { color: var(--gold); }
.footer-link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.02em;
}
.footer-link:hover { color: var(--gold); }
.lang-switch--footer { border-color: #b6ae9d; color: #b6ae9d; }
.lang-switch--footer:hover { background: #b6ae9d; color: var(--ink); }
.copyright { font-size: 0.78rem; letter-spacing: 0.14em; }

/* ---------- 法務モーダル ---------- */
.legal-modal[hidden] { display: none; }
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 19, 14, 0.6);
  backdrop-filter: blur(3px);
}
.legal-dialog {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  padding: 40px 36px 44px;
}
.legal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.legal-close:hover { color: var(--gold-deep); }
.legal-body h3 {
  font-family: var(--font-serif-jp);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}
.legal-body h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 18px 0 6px;
  color: var(--ink);
}
.legal-body p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.85; }
.legal-dl { margin-top: 8px; }
.legal-dl dt {
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: 16px;
  color: var(--gold-deep);
}
.legal-dl dd { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.8; }

/* ---------- スクロールアニメーション ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .coin-grid.reveal.is-visible .coin-card { opacity: 1; transform: none; transition: none; animation: none; }
  .coin-motif, .marquee-track, .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .flow-grid { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .flow-grid::before { display: none; }
}
@media (max-width: 820px) {
  .hero { padding: calc(var(--header-h) + 56px) 0 88px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .coin-motif { width: 420px; height: 420px; right: -160px; top: 30%; }
  .ph-hero { max-height: 330px; aspect-ratio: 16 / 10; }
  .pricing-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }

  .global-nav {
    position: fixed;
    top: var(--header-h-shrunk);
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-right: none;
    width: 230px;
    padding: 12px 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lift);
  }
  .global-nav.is-open { transform: none; }
  .global-nav a { padding: 13px 26px; }
  .site-header { --header-h: 60px; }
  .brand-logo { height: 40px; }
  .brand-text { font-size: 1.02rem; letter-spacing: 0.16em; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
    cursor: pointer;
    align-items: center;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .hero-title { font-size: 1.6rem; letter-spacing: 0.04em; }
  .flow-grid { grid-template-columns: 1fr; row-gap: 52px; }
  .coin-grid { grid-template-columns: 1fr 1fr; }
  .coin-disc { width: 68px; height: 68px; }
  .sns-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .header-actions .btn-small { display: none; }
  .marquee-track span { font-size: 0.8rem; }
}
