/* =========================================================
   玄雪酒造（架空）— デザインサンプル
   重厚・伝統・黒と金
   ========================================================= */

:root {
  --ink: #0b0a09;
  --ink-2: #13110e;
  --ink-3: #1c1915;
  --line: rgba(201, 164, 92, .28);
  --gold: #c9a45c;
  --gold-hi: #ecd598;
  --gold-lo: #8a6a2e;
  --paper: #eee8dc;
  --muted: #a39b8c;
  --red: #9b1c1c;
  --header-h: 64px;
  --gutter: 20px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --f-brush: "Yuji Syuku", "Shippori Mincho B1", serif;
  --f-min: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-latin: "Cormorant Garamond", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-min);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .06em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* 和紙のような微細なノイズ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

.num { font-family: var(--f-latin); font-weight: 500; letter-spacing: .02em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }

/* ---------- 金の線（描かれていく飾り罫） ---------- */
.draw {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.js .draw {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s var(--ease);
}
.js .is-drawn .draw,
.js .draw.is-drawn { stroke-dashoffset: 0; }

.rule { width: min(260px, 70%); height: auto; margin: 18px auto 0; overflow: visible; }
.rule circle { fill: var(--gold); opacity: 0; transition: opacity 1s 1.6s; }
.no-js .rule circle, html:not(.js) .rule circle, .rule.is-drawn circle { opacity: 1; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 2.2em;
  border: 1px solid var(--gold);
  text-decoration: none; cursor: pointer;
  font-family: var(--f-min); font-weight: 600; letter-spacing: .2em;
  transition: background .35s, color .35s, border-color .35s;
}
.btn--gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: var(--ink); border-color: transparent; }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { background: transparent; color: var(--gold-hi); }
.btn--line:hover { background: rgba(201, 164, 92, .12); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 10, 9, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__crest { width: 30px; height: 30px; color: var(--gold); }
.brand__name { font-family: var(--f-brush); font-size: 1.3rem; letter-spacing: .18em; }
.brand__en { display: none; font-family: var(--f-latin); font-size: .7rem; letter-spacing: .3em; color: var(--muted); }

.nav-toggle { display: none; }

.global-nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.global-nav a { text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1.3; padding: 6px 0; }
.global-nav a span { font-size: .85rem; letter-spacing: .16em; }
.global-nav a small { font-family: var(--f-latin); font-style: italic; font-size: .7rem; color: var(--gold); letter-spacing: .1em; }
.global-nav a:hover span { color: var(--gold-hi); }

/* JSが無い時のスマホ：ナビをヘッダー下に並べる */
html:not(.js) .site-header { position: absolute; height: auto; flex-wrap: wrap; padding-block: 10px; }
html:not(.js) .global-nav { width: 100%; }

@media (max-width: 859px) {
  .js .nav-toggle {
    display: grid; place-content: center; gap: 7px;
    width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .nav-toggle__bar { display: block; width: 26px; height: 1px; background: var(--gold-hi); transition: transform .4s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4px) rotate(30deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-30deg); }

  .js .global-nav {
    position: fixed; inset: 0; z-index: 1;
    background: rgba(11, 10, 9, .96);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    display: grid; place-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .45s, visibility .45s;
  }
  .js .global-nav.is-open { opacity: 1; visibility: visible; }
  .js .global-nav ul { flex-direction: row-reverse; flex-wrap: nowrap; gap: 26px; }
  .js .global-nav a { writing-mode: vertical-rl; flex-direction: row; gap: 10px; }
  .js .global-nav a span { font-family: var(--f-brush); font-size: 1.5rem; letter-spacing: .3em; }
  .js .global-nav a small { font-size: .8rem; }
}
@media (min-width: 860px) {
  :root { --header-h: 78px; --gutter: 40px; }
  .brand__en { display: inline; }
  .global-nav ul { gap: 34px; }
}

/* ---------- 共通見出し ---------- */
.section { position: relative; z-index: 2; padding: 110px var(--gutter); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head--left { text-align: left; margin-bottom: 28px; }
.section__en {
  font-family: var(--f-latin); font-style: italic; font-size: 1rem; color: var(--gold);
  letter-spacing: .3em; text-transform: uppercase;
}
.section__title {
  font-family: var(--f-brush); font-weight: 400;
  font-size: clamp(2.1rem, 8vw, 3.2rem); letter-spacing: .24em; line-height: 1.4;
  color: #fbf8f1;
  text-shadow: 0 0 30px rgba(255, 255, 255, .08);
}
.section__lead { margin-top: 22px; color: var(--muted); font-size: .88rem; }

/* ---------- トップ ---------- */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 70% 0%, #1d2129 0%, rgba(11, 10, 9, 0) 60%),
    radial-gradient(80% 50% at 10% 100%, #16140f 0%, rgba(11, 10, 9, 0) 70%),
    var(--ink);
  display: flex; align-items: stretch;
}
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 42%; z-index: 1; }
.ridge--far { fill: #15181d; }
.ridge--mid { fill: #0f1113; }
.ridge--near { fill: var(--ink); }
.kura path, .kura rect { fill: #0c0c0c; }
.kura__win { fill: #e7b85e !important; filter: drop-shadow(0 0 6px rgba(231, 184, 94, .9)); }
.kura__win--dim { opacity: .55; }
.kura__rope { stroke: #3a3a3a; stroke-width: 2; }
.kura__ball { fill: #2c3a26; stroke: #6d7f4d; stroke-width: 1; stroke-dasharray: 2 3; }

.hero__frame { position: absolute; inset: calc(var(--header-h) + 6px) 12px 14px; z-index: 3; pointer-events: none; }
.hero__frame svg { width: 100%; height: 100%; overflow: visible; }
.hero__frame .draw { stroke-width: 1; opacity: .7; transition-duration: 3.4s; }

.hero__inner {
  position: relative; z-index: 4; width: 100%;
  padding: calc(var(--header-h) + 40px) calc(var(--gutter) + 14px) 90px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.hero__title {
  align-self: flex-end;
  writing-mode: vertical-rl;
  font-family: var(--f-brush); font-weight: 400;
  font-size: clamp(2.9rem, 13vw, 6.4rem);
  line-height: 1.35; letter-spacing: .18em;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 255, 255, .18);
}
.hero__title-main { display: block; }
.hero__side { max-width: 28em; }
.hero__since {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; letter-spacing: .3em; color: var(--gold-hi);
}
.hero__since span {
  display: inline-grid; place-items: center; width: 2.6em; height: 2.6em;
  border: 1px solid var(--gold); border-radius: 50%; font-size: .72rem; letter-spacing: 0;
}
.hero__lead { margin-top: 14px; font-size: .9rem; line-height: 2.1; color: #d9d2c4; }
.hero__cta {
  display: inline-flex; gap: 14px; margin-top: 20px;
  font-size: .85rem; letter-spacing: .3em; text-decoration: none; color: var(--gold-hi);
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.hero__cta span { transition: transform .35s var(--ease); }
.hero__cta:hover span { transform: translateX(6px); }
.hero__scroll {
  position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-family: var(--f-latin); font-style: italic; font-size: .75rem; letter-spacing: .3em; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 36px;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 読み込み時の立ち上がり */
.js .hero__title, .js .hero__side { opacity: 0; transform: translateY(18px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.js .hero__side { transition-delay: .5s; }
.js .is-loaded .hero__title, .js .is-loaded .hero__side { opacity: 1; transform: none; }

@media (min-width: 860px) {
  .hero__inner { flex-direction: row-reverse; align-items: center; justify-content: space-between; padding-inline: 9vw; }
  .hero__title { align-self: center; margin-right: 4vw; }
  .hero__side { align-self: flex-end; margin-bottom: 4vh; }
  .hero__frame { inset: calc(var(--header-h) + 8px) 24px 24px; }
}

/* ---------- 蔵の歴史 ---------- */
.history { background: linear-gradient(var(--ink), var(--ink-2)); }
.history__grid { display: grid; gap: 64px; max-width: 1080px; margin: 0 auto; }
.history__vertical { display: flex; justify-content: center; }
.tategaki {
  writing-mode: vertical-rl;
  height: 26em; font-size: .98rem; line-height: 2.5; letter-spacing: .16em;
  color: #e4ddcf;
  padding: 0 18px;
  border-right: 1px solid var(--line); border-left: 1px solid var(--line);
}
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(var(--gold), rgba(201, 164, 92, .1));
}
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item::before {
  content: ""; position: absolute; left: -26px; top: 12px; width: 9px; height: 9px;
  border: 1px solid var(--gold); background: var(--ink); transform: rotate(45deg);
}
.timeline__year { font-size: .78rem; color: var(--gold); letter-spacing: .2em; display: flex; align-items: baseline; gap: 12px; }
.timeline__year .num { font-size: 1.9rem; color: var(--gold-hi); line-height: 1; }
.timeline__item h3 { font-size: 1.12rem; font-weight: 600; margin: 8px 0 6px; letter-spacing: .1em; }
.timeline__item p:last-child { color: #c9c1b2; font-size: .9rem; }

.history__numbers {
  max-width: 1080px; margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.history__numbers > div { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.history__numbers dt { font-size: .75rem; color: var(--muted); letter-spacing: .2em; }
.history__numbers dd { font-size: .9rem; color: var(--gold-hi); }
.history__numbers dd .num { font-size: 2.6rem; line-height: 1.2; margin-right: 4px; color: #fff; }

@media (min-width: 860px) {
  .history__grid { grid-template-columns: 1fr 1.3fr; align-items: start; gap: 80px; }
  .tategaki { font-size: 1.05rem; }
  .history__numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 酒造りの工程 ---------- */
.process { position: relative; z-index: 2; background: var(--ink-2); padding: 110px var(--gutter); }
.section__head--process { margin-bottom: 40px; }

.step { max-width: 1080px; margin: 0 auto 72px; display: grid; gap: 22px; }
.step__art {
  position: relative; aspect-ratio: 4 / 3; max-height: 46vh; width: 100%;
  margin: 0 auto;
  display: grid; place-items: center;
}
.step__art::before {
  content: ""; position: absolute; inset: 6% 10%;
  background: radial-gradient(closest-side, rgba(201, 164, 92, .12), transparent);
}
.step__art svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.ln { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ln.thin { stroke-width: 1; opacity: .7; }
.ln.steam { stroke: #f4efe6; stroke-width: 1.3; opacity: .85; }
.ln.drip { stroke: #b9d0dc; }
.step .grains ellipse { fill: #f4efe6; }
.step .spores path { stroke: var(--gold-hi); stroke-width: 1.2; stroke-linecap: round; }
.step .bubbles circle { fill: none; stroke: #f4efe6; opacity: .7; }
.step .drops path { fill: #b9d0dc; }

.step__num { display: flex; align-items: baseline; gap: 14px; color: var(--gold); }
.step__num .kanji { font-family: var(--f-brush); font-size: 1.6rem; }
.step__num .num { font-size: 1rem; letter-spacing: .3em; font-style: italic; }
.step__title { font-family: var(--f-brush); font-weight: 400; font-size: clamp(1.7rem, 6.5vw, 2.6rem); letter-spacing: .2em; line-height: 1.4; margin: 2px 0 8px; }
.step__desc { color: #cfc7b8; font-size: .9rem; max-width: 30em; }

.process__progress { display: none; }

/* --- 画面固定のストーリー（JS＋GSAPが動いた時だけ） --- */
.pin-ready .process { padding: 0; }
.pin-ready .process__pin {
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 14px) var(--gutter) 76px; /* 下はサンプル表示と重ならない余白 */
}
.pin-ready .section__head--process { margin-bottom: 8px; }
.pin-ready .section__head--process .section__title { font-size: clamp(1.6rem, 6vw, 2.6rem); }
.pin-ready .process__stage { position: relative; flex: 1; min-height: 0; max-width: 1080px; width: 100%; margin: 0 auto; }
.pin-ready .process__steps { position: absolute; inset: 0 0 46px; }
.pin-ready .step {
  position: absolute; inset: 0; margin: 0;
  grid-template-rows: minmax(0, 1fr) auto; gap: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s;
}
.pin-ready .step.is-active { opacity: 1; visibility: visible; }
.pin-ready .step__art { max-height: none; height: 100%; aspect-ratio: auto; min-height: 0; }
.pin-ready .step__text { transform: translateY(16px); transition: transform .9s var(--ease); }
.pin-ready .step.is-active .step__text { transform: none; }
.pin-ready .step .ln { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
.pin-ready .step.is-active .ln { stroke-dashoffset: 0; }
.pin-ready .step .grains, .pin-ready .step .spores, .pin-ready .step .bubbles, .pin-ready .step .drops { opacity: 0; transition: opacity .8s .9s; }
.pin-ready .step.is-active .grains, .pin-ready .step.is-active .spores, .pin-ready .step.is-active .bubbles, .pin-ready .step.is-active .drops { opacity: 1; }
.pin-ready .step.is-active .steam { animation: steam 3s ease-in-out infinite alternate; }
@keyframes steam { to { transform: translateY(-6px); opacity: .5; } }

.pin-ready .process__progress {
  display: block; position: absolute; left: 0; right: 0; bottom: 0;
}
.process__bar { display: block; height: 1px; background: var(--line); position: relative; }
.process__fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; transform: scaleX(0); }
.process__dots { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 8px; }
.process__dots li { font-size: .7rem; text-align: center; color: var(--muted); letter-spacing: .1em; transition: color .4s; position: relative; }
.process__dots li.is-active { color: var(--gold-hi); }

@media (min-width: 860px) {
  .step { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 60px; }
  .pin-ready .step { grid-template-rows: none; grid-template-columns: 1.2fr 1fr; gap: 60px; }
  .step__desc { font-size: .98rem; }
  .process__dots li { font-size: .8rem; }
}
@media (max-height: 640px) and (max-width: 859px) {
  .pin-ready .step__desc { font-size: .82rem; line-height: 1.8; }
}

/* ---------- 銘柄（3Dで回るカード） ---------- */
.brands { background: radial-gradient(90% 60% at 50% 0%, #1a1712, var(--ink) 70%); }
.brands__list {
  display: grid; gap: 34px; max-width: 1120px; margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
}
.card { perspective: 1400px; max-width: 360px; width: 100%; margin: 0 auto; }
.card__inner {
  position: relative; display: block; width: 100%; height: 520px;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
  cursor: pointer; outline-offset: 6px;
}
.card.is-flipped .card__inner { transform: rotateY(180deg); }
html:not(.js) .card__inner:hover, html:not(.js) .card__inner:focus { transform: rotateY(180deg); }

.card__face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 40%),
    var(--ink-3);
  padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.card__face::before {
  content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 164, 92, .18); pointer-events: none;
}
.card__back { transform: rotateY(180deg); justify-content: flex-start; gap: 6px; }
.card__grade { font-size: .78rem; letter-spacing: .3em; color: var(--gold); }
.card__bottle {
  width: auto; height: 270px; margin: 16px 0 10px;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .7));
  transition: transform .8s var(--ease);
}
.card__inner:hover .card__bottle { transform: translateY(-6px); }
.label-text { font-family: var(--f-brush); font-size: 26px; writing-mode: vertical-rl; text-anchor: start; letter-spacing: 6px; }
.label-text--big { font-size: 46px; }
.card__name { font-family: var(--f-brush); font-weight: 400; font-size: 2rem; letter-spacing: .24em; line-height: 1.3; }
.card__name span { display: block; font-family: var(--f-min); font-size: .72rem; color: var(--muted); letter-spacing: .3em; }
.card__meta { margin-top: 6px; font-size: .78rem; color: #cbc3b4; }
.card__hint {
  margin-top: auto; font-size: .72rem; letter-spacing: .2em; color: var(--gold-hi);
  border-top: 1px solid var(--line); padding-top: 10px; width: 100%;
}

.radar { width: 196px; height: 196px; margin: 4px auto 0; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .grid { fill: none; stroke: rgba(201, 164, 92, .22); stroke-width: 1; }
.radar .axis { stroke: rgba(201, 164, 92, .22); stroke-width: 1; }
.radar .lbl { fill: #d8d0c1; font-size: 11px; font-family: var(--f-min); text-anchor: middle; dominant-baseline: middle; }
.radar .shape {
  fill: rgba(201, 164, 92, .28); stroke: var(--gold-hi); stroke-width: 1.5; stroke-linejoin: round;
  transform-origin: 100px 100px; transform: scale(0); opacity: 0;
  transition: transform 1.1s var(--ease) .15s, opacity .5s .15s;
}
.radar .dot { fill: var(--gold-hi); opacity: 0; transition: opacity .4s 1s; }
.radar.is-drawn .shape { transform: scale(1); opacity: 1; }
.radar.is-drawn .dot { opacity: 1; }

.taste { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; width: 100%; font-size: .66rem; line-height: 1.5; }
.taste dt { color: var(--gold); }
.taste dd { color: #d8d0c1; letter-spacing: 0; font-size: .5rem; }
.js .taste { display: none; } /* JSが動く時はレーダーで表示（動かない時は文字で読める） */
.card__note { font-size: .84rem; line-height: 1.9; color: #ddd5c6; text-align: left; margin-top: 6px; }
.card__price { margin-top: auto; font-size: .9rem; color: var(--gold-hi); letter-spacing: .15em; }
.brands__notice { text-align: center; margin-top: 36px; font-size: .75rem; color: var(--muted); }

@media (min-width: 860px) {
  .brands__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
}

/* ---------- 蔵見学 ---------- */
.tour { background: var(--ink); }
.tour__grid { max-width: 1080px; margin: 0 auto; display: grid; gap: 30px; }
.tour__visual { width: 100%; max-width: 170px; margin: 0 auto; }
.tour__visual svg { width: 100%; height: auto; overflow: visible; }
.tour__tag { font-family: var(--f-brush); font-size: 34px; fill: var(--gold-hi); text-anchor: middle; dominant-baseline: middle; }
.js .sugidama { transform-origin: 150px 96px; animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.tour__lead { color: #d6cebf; margin-bottom: 26px; }
.tour__table { width: 100%; border-collapse: collapse; margin-bottom: 34px; font-size: .88rem; }
.tour__table th, .tour__table td { border-bottom: 1px solid var(--line); padding: 14px 0; vertical-align: top; text-align: left; }
.tour__table th { width: 5.5em; color: var(--gold); font-weight: 600; letter-spacing: .2em; }
.tour__table td { color: #e0d9cb; }

@media (min-width: 860px) {
  .tour__grid { grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: center; }
  .tour__visual { max-width: 280px; }
}

/* ---------- お問い合わせ ---------- */
.contact { background: linear-gradient(var(--ink), var(--ink-2)); }
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 22px; }
.form__row { display: grid; gap: 6px; }
.form label { font-size: .85rem; letter-spacing: .15em; color: #ddd5c6; }
.req { font-size: .65rem; background: var(--red); color: #fff; padding: 1px 6px; margin-left: 6px; letter-spacing: .1em; vertical-align: 2px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line); border-radius: 0;
  font-size: 16px; color: var(--paper);
  transition: border-color .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.form select option { background: var(--ink-2); }
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6f685c; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: rgba(201, 164, 92, .06); }
.form__row--check { display: flex; align-items: center; gap: 10px; }
.form__row--check input { width: 20px; height: 20px; accent-color: var(--gold); }
.form__submit { width: 100%; letter-spacing: .12em; padding-inline: 1em; }
.form__result { min-height: 1.5em; font-size: .88rem; color: var(--gold-hi); text-align: center; }
.form__result.is-error { color: #e08a7a; }

/* ---------- フッター ---------- */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: #070606; padding: 64px var(--gutter) 110px; }
.site-footer__inner { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand svg { width: 44px; height: 44px; color: var(--gold); }
.site-footer__name { font-family: var(--f-brush); font-size: 1.5rem; letter-spacing: .2em; line-height: 1.3; }
.site-footer__name span { display: block; font-family: var(--f-latin); font-size: .7rem; letter-spacing: .3em; color: var(--muted); }
.site-footer__addr { font-style: normal; font-size: .82rem; color: #c3bbac; }
.site-footer__warn { font-size: .78rem; color: #b3ab9c; border: 1px solid var(--line); padding: 14px 16px; }
.site-footer__warn strong { color: var(--gold-hi); font-size: .92rem; letter-spacing: .2em; }
.site-footer__copy { font-family: var(--f-latin); font-size: .75rem; color: var(--muted); letter-spacing: .15em; }

/* ---------- サンプル表示 ---------- */
.sample-badge {
  position: fixed; right: 10px; bottom: 10px; z-index: 60;
  max-width: calc(100vw - 20px);
  background: rgba(7, 6, 6, .88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 7px 12px; font-size: 11px; line-height: 1.6; letter-spacing: .04em;
  text-align: right;
}
.sample-badge p { color: #cfc7b8; }
.sample-badge a { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(201, 164, 92, .5); }
.sample-badge a:hover { color: #fff; }

/* ---------- 年齢確認モーダル ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(5, 5, 4, .55);
  -webkit-backdrop-filter: blur(14px) saturate(.7); backdrop-filter: blur(14px) saturate(.7);
  opacity: 0; transition: opacity .8s var(--ease);
}
.agegate[hidden] { display: none; }
.agegate.is-open { opacity: 1; }
.agegate__panel {
  position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(170deg, #1a1712, #0d0c0a);
  border: 1px solid var(--gold);
  padding: 40px 26px 34px; text-align: center;
  transform: translateY(14px) scale(.98); transition: transform .9s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.agegate__panel::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 164, 92, .25); pointer-events: none; }
.agegate.is-open .agegate__panel { transform: none; }
.agegate__crest { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--gold); }
.agegate__lead { font-size: .78rem; letter-spacing: .3em; color: var(--gold); }
.agegate__title { font-family: var(--f-brush); font-weight: 400; font-size: 1.5rem; letter-spacing: .12em; margin: 10px 0 6px; line-height: 1.6; }
.agegate__note { font-size: .78rem; color: var(--muted); }
.agegate__actions { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.agegate__actions .btn { padding: 0 1em; }
.agegate__deny { position: relative; margin-top: 20px; font-size: .88rem; color: var(--gold-hi); }
.agegate__close {
  margin-top: 10px; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: .78rem; text-decoration: underline; text-underline-offset: 4px;
}
body.is-locked { overflow: hidden; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .draw, .pin-ready .step .ln { stroke-dashoffset: 0 !important; }
  .js .hero__title, .js .hero__side { opacity: 1; transform: none; }
  .rule circle { opacity: 1; }
  .js .sugidama { animation: none; }
}
