/* =========================================================
   瑠璃羽堂 — 蒼き龍の夜
   ========================================================= */
:root {
  --night: #03051a;
  --deep: #070c2b;
  --abyss: #0b1340;
  --ruri: #1e50a2;
  --ruri-2: #2f6bd8;
  --glow: #6f9dff;
  --gold: #d6b36a;
  --gold-2: #f2dca0;
  --gold-3: #a8823e;
  --text: #e8e3d5;
  --muted: #9ea7c6;
  --line: rgba(214, 179, 106, .28);
  --line-soft: rgba(214, 179, 106, .14);
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --display: "Zen Antique", "Shippori Mincho B1", serif;
  --latin: "Cormorant Garamond", serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --gold-grad: linear-gradient(110deg, #8a6a2e 0%, #f6e3a8 22%, #c79d4f 40%, #fff2c6 52%, #b8893f 66%, #f2d999 82%, #8a6a2e 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .06em;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(111, 157, 255, .35); color: #fff; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; position: relative; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.sp { display: none; }
@media (max-width: 720px) { .sp { display: inline; } .pc { display: none; } }

/* ---------- 金の書（マスク） ---------- */
.sho, .gate-sho, .nav-logo-sho, .footer-sho {
  display: block;
  background: var(--gold-grad);
  background-size: 300% 100%;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  animation: goldflow 9s linear infinite;
  filter: drop-shadow(0 0 18px rgba(242, 220, 160, .25));
}
.sho--v, .gate-sho { --m: url(img/sho-vertical.png); }
.nav-logo-sho, .footer-sho { --m: url(img/logo.png); }
@keyframes goldflow { to { background-position: -300% 0; } }

/* ---------- 夜空・エフェクトのキャンバス ---------- */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 260; pointer-events: none; }
main, .footer { position: relative; z-index: 2; }

/* カーソルの宝珠（白い芯＋リング。扉の画面より手前に出す） */
.orb {
  position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(3, 5, 26, .45), 0 0 12px 4px rgba(150, 190, 255, .8), 0 0 36px 10px rgba(111, 157, 255, .3);
  opacity: 0; transition: opacity .3s;
}
.orb::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; translate: -50% -50%; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 1px rgba(3, 5, 26, .3), 0 0 10px rgba(150, 190, 255, .5);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s, box-shadow .3s;
}
.orb.is-on { opacity: 1; }
.orb.is-hover::after { width: 48px; height: 48px; border-color: #fff; border-width: 2px; box-shadow: 0 0 0 1px rgba(3, 5, 26, .5), 0 0 18px rgba(242, 220, 160, .7); }
.orb.is-down::after { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { body.has-orb, body.has-orb a, body.has-orb button, body.has-orb summary { cursor: none; } }

/* ---------- 門（オープニング） ---------- */
.gate {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #0d1a4f 0%, #050822 55%, #010210 100%);
  transition: opacity 1.2s ease 1.1s, visibility 0s linear 2.3s;
}
.gate.is-open { opacity: 0; visibility: hidden; pointer-events: none; }
.gate.is-gone { display: none; }
.gate-inner { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; padding: 24px; transition: opacity .6s, transform 1.2s var(--ease), filter .8s; }
.gate.is-open .gate-inner { opacity: 0; transform: scale(1.15); filter: blur(8px); }
.seal { width: min(70vmin, 420px); height: auto; position: absolute; left: 50%; top: 50%; translate: -50% -58%; overflow: visible; animation: seal-spin 80s linear infinite; }
@keyframes seal-spin { to { rotate: 360deg; } }
.seal-line { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.6s var(--ease) forwards; opacity: .85; }
.seal-line--thin { stroke-width: .6; animation-delay: .5s; opacity: .55; }
.seal-ticks line { stroke: var(--gold); stroke-width: .8; opacity: 0; animation: fadein 1s ease forwards; }
.seal-text { fill: var(--gold-2); font-family: var(--display); font-size: 16px; letter-spacing: 21px; opacity: 0; animation: fadein 2s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.gate-sho { width: min(16vmin, 92px); aspect-ratio: 326 / 1100; margin-top: max(2vh, 10px); opacity: 0; animation: fadein 2.4s ease 1s forwards, goldflow 9s linear infinite; }
.gate-lead { margin: 6vh 0 18px; color: var(--muted); font-size: 14px; letter-spacing: .3em; opacity: 0; animation: fadein 1.6s ease 2.4s forwards; }
.gate-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadein 1.4s ease 2.9s forwards; }
.gate-btn {
  position: relative; overflow: hidden; padding: 12px 26px; border: 1px solid var(--gold); background: rgba(214, 179, 106, .1);
  color: var(--gold-2); letter-spacing: .2em; font-size: 14px; cursor: pointer; transition: background .4s, color .4s, box-shadow .4s;
}
.gate-btn:hover, .gate-btn:focus-visible { background: var(--gold); color: #1a1205; box-shadow: 0 0 30px rgba(242, 220, 160, .45); outline: none; }
.gate-btn--ghost { border-color: rgba(158, 167, 198, .45); background: transparent; color: var(--muted); }
.gate-btn--ghost:hover, .gate-btn--ghost:focus-visible { background: rgba(158, 167, 198, .15); color: var(--text); box-shadow: none; }

.gate-door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 2;
  background:
    radial-gradient(circle at 100% 50%, rgba(214,179,106,.0) 0 0) ,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23d6b36a' stroke-opacity='.10' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='36'/%3E%3Ccircle cx='40' cy='40' r='28'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='0' cy='40' r='36'/%3E%3Ccircle cx='0' cy='40' r='28'/%3E%3Ccircle cx='0' cy='40' r='20'/%3E%3Ccircle cx='80' cy='40' r='36'/%3E%3Ccircle cx='80' cy='40' r='28'/%3E%3Ccircle cx='80' cy='40' r='20'/%3E%3Ccircle cx='20' cy='20' r='36'/%3E%3Ccircle cx='60' cy='20' r='36'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #081038, #040720);
  transition: transform 2s cubic-bezier(.7, 0, .2, 1);
}
.gate-door--l { left: 0; border-right: 1px solid var(--line); box-shadow: inset -40px 0 80px rgba(0,0,0,.5); }
.gate-door--r { right: 0; border-left: 1px solid var(--line); box-shadow: inset 40px 0 80px rgba(0,0,0,.5); }
.gate-door::after { content: ""; position: absolute; top: 50%; width: 10px; height: 90px; translate: 0 -50%; border: 1px solid var(--gold); border-radius: 6px; opacity: .5; }
.gate-door--l::after { right: 18px; }
.gate-door--r::after { left: 18px; }
.gate.is-open .gate-door--l { transform: translateX(-102%); }
.gate.is-open .gate-door--r { transform: translateX(102%); }
.gate::before {
  /* 扉の隙間から漏れる光 */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; z-index: 4;
  background: linear-gradient(180deg, transparent, #cfe0ff 30%, #fff 50%, #cfe0ff 70%, transparent);
  box-shadow: 0 0 40px 12px rgba(111, 157, 255, .6); opacity: 0; transition: opacity .5s, width 1.4s var(--ease);
}
.gate.is-opening::before { opacity: 1; }
.gate.is-open::before { width: 100vw; opacity: 0; transition: width 1.6s var(--ease), opacity 1.6s ease .2s; }

/* ---------- ナビ ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(16px, 3vw, 40px); transition: background .5s, height .4s, border-color .5s; border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(3, 5, 26, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 60px; border-color: var(--line-soft); }
.nav-logo { display: block; flex: none; }
.nav-logo-sho { width: 128px; aspect-ratio: 461 / 122; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-size: 14px; letter-spacing: .14em; color: var(--text); opacity: .85; transition: opacity .3s, color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease), left .4s var(--ease); box-shadow: 0 0 6px var(--gold); }
.nav-links a:hover, .nav-links a.is-current { opacity: 1; color: var(--gold-2); }
.nav-links a:hover::after, .nav-links a.is-current::after { width: 100%; left: 0; }
.nav-cta { text-decoration: none; padding: 8px 18px; border: 1px solid var(--gold); color: var(--gold-2); font-size: 13px; letter-spacing: .14em; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold); color: #1a1205; box-shadow: 0 0 22px rgba(242,220,160,.4); }
.sound-toggle { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--muted); font-size: 12px; }
.sound-bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-bars i { width: 2px; height: 3px; background: currentColor; transition: height .3s; }
.sound-toggle[aria-pressed="true"] { color: var(--gold-2); }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: bars 1.1s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.6s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: -.9s; }
@keyframes bars { from { height: 3px; } to { height: 14px; } }
.nav-burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; cursor: pointer; }
.nav-burger i { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--gold-2); transition: transform .4s var(--ease), top .4s; }
.nav-burger i:first-child { top: 17px; } .nav-burger i:last-child { top: 26px; }
.nav-burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(30deg); }
.nav-burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-30deg); }

.drawer {
  position: fixed; inset: 0; z-index: 70; display: grid; align-content: center; justify-items: center; gap: 40px; padding: 90px 24px 40px;
  background: radial-gradient(ellipse at 50% 30%, rgba(30, 80, 162, .35), transparent 60%), rgba(3, 5, 26, .96);
  clip-path: circle(0 at calc(100% - 40px) 36px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.drawer-links { display: grid; gap: 6px; }
.drawer-links a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; font-size: 20px; letter-spacing: .2em; padding: 6px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease); }
.drawer-links b { font-family: var(--display); font-weight: 400; color: var(--gold); width: 1.4em; text-align: center; }
.drawer.is-open .drawer-links a { opacity: 1; transform: none; }
.drawer.is-open .drawer-links a:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms + 200ms); }
.drawer-contact { display: grid; gap: 12px; width: min(320px, 100%); }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .sound-toggle { margin-left: auto; }
  .nav-burger { display: block; }
}

/* 巻物インジケーター */
.scrollrail { position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 60; display: flex; gap: 10px; opacity: 0; transition: opacity .6s; }
.scrollrail.is-on { opacity: 1; }
.scrollrail-line { position: relative; width: 1px; background: linear-gradient(var(--line-soft), var(--line), var(--line-soft)); }
.scrollrail-pearl { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8db2ff 45%, #2f6bd8); box-shadow: 0 0 12px 3px rgba(111,157,255,.7); }
.scrollrail-marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.scrollrail-marks a { position: relative; display: block; text-decoration: none; font-family: var(--display); font-size: 13px; color: var(--muted); line-height: 1; transition: color .3s, text-shadow .3s; }
.scrollrail-marks a.is-current, .scrollrail-marks a:hover { color: var(--gold-2); text-shadow: 0 0 10px rgba(242,220,160,.7); }
.scrollrail-marks a::before { content: attr(data-label); position: absolute; right: 26px; top: 50%; translate: 0 -50%; white-space: nowrap; font-family: var(--serif); font-size: 12px; letter-spacing: .1em; color: var(--gold-2); opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.scrollrail-marks a:hover::before { opacity: 1; transform: none; }
@media (max-width: 960px) { .scrollrail { display: none; } }

/* ---------- 共通：ボタン・見出し・リビール ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; padding: 14px 26px; letter-spacing: .16em; font-size: 15px; transition: background .35s, color .35s, box-shadow .35s, transform .35s; position: relative; overflow: hidden; }
.btn--gold { background: var(--gold-grad); background-size: 220% 100%; color: #1c1406; font-weight: 700; animation: goldflow 7s linear infinite; }
.btn--gold:hover { box-shadow: 0 0 34px rgba(242,220,160,.5); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(214,179,106,.2); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn-k { font-family: var(--latin); font-style: italic; font-size: 13px; letter-spacing: .1em; opacity: .8; border-right: 1px solid currentColor; padding-right: 12px; }

.eyebrow { margin: 0 0 6px; font-family: var(--latin); font-style: italic; font-size: 15px; letter-spacing: .24em; color: var(--gold); text-transform: none; }
.sec-head { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); margin-bottom: clamp(40px, 7vw, 80px); }
.sec-num {
  font-family: var(--display); font-size: clamp(64px, 11vw, 132px); line-height: .9; flex: none;
  background: var(--gold-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldflow 10s linear infinite; filter: drop-shadow(0 0 22px rgba(214,179,106,.25));
}
.sec-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4.4vw, 46px); letter-spacing: .14em; line-height: 1.4; position: relative; padding-bottom: 14px; }
.sec-title::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold), transparent); transition: width 1.6s var(--ease) .4s; }
.sec-head.is-in .sec-title::after { width: min(320px, 70vw); }

[data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(10px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

section { position: relative; padding: clamp(90px, 13vw, 170px) 0; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; padding: 90px 0 120px; overflow: hidden; }
.hero-dragon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero-mist { position: absolute; inset: auto 0 0 0; height: 40%; z-index: 4; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(3,5,26,.85) 80%, var(--night)); }
.hero-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 4vw, 70px); width: min(1200px, 100% - 40px); }
.hero-left { position: relative; z-index: 4; justify-self: end; display: flex; gap: 22px; writing-mode: vertical-rl; text-shadow: 0 0 12px #03051a, 0 0 24px #03051a; }
.hero-role { margin: 0; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .5em; line-height: 1.9; color: var(--text); }
.hero-place { margin: 3em 0 0; font-size: 13px; letter-spacing: .4em; color: var(--muted); }
.hero-right { position: relative; z-index: 4; justify-self: start; display: flex; align-items: flex-start; gap: 14px; }
.hero-sho { margin: 0; }
.hero-sho .sho { width: clamp(70px, 7.6vw, 112px); aspect-ratio: 326 / 1100; }
.hero-kana { margin: 0; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .5em; color: var(--muted); }

.moonwin { position: relative; z-index: 2; width: min(56vh, 520px, 80vw); aspect-ratio: 1; }
.moonwin-ring { position: absolute; inset: -7%; width: 114%; height: 114%; animation: seal-spin 120s linear infinite; overflow: visible; }
.ring-l { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .7; }
.ring-t { fill: none; stroke: var(--gold); stroke-width: .5; opacity: .45; }
.ring-text { fill: var(--gold-2); font-family: var(--display); font-size: 13px; letter-spacing: 3px; opacity: .75; }
.moonwin-glass {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 80px 10px rgba(47, 107, 216, .35), 0 0 200px 40px rgba(30, 80, 162, .25), inset 0 0 60px 20px rgba(3,5,26,.9);
  -webkit-mask: radial-gradient(circle, #000 62%, transparent 71%); mask: radial-gradient(circle, #000 62%, transparent 71%);
}
.moonwin-video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(1.15) contrast(1.05); }
.moonwin::after { /* 月の縁の光 */
  content: ""; position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(242, 220, 160, .35);
  box-shadow: 0 0 30px rgba(242,220,160,.15), inset 0 0 30px rgba(242,220,160,.08); pointer-events: none;
}

.hero-catch { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(86px, 12vh, 130px); margin: 0; text-align: center; font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); letter-spacing: .3em; text-shadow: 0 0 24px rgba(111,157,255,.6); }
.hero-catch .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(12px); }
.hero-catch.is-play .ch { animation: ch-in 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + .3s); }
@keyframes ch-in { to { opacity: 1; filter: none; transform: none; } }
.hero-hint { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(50px, 7vh, 84px); margin: 0; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); letter-spacing: .14em; opacity: 0; transition: opacity 1.2s; }
.hero-hint.is-on { opacity: .9; }
.hint-orb { width: 9px; height: 9px; border-radius: 50%; background: #9fc0ff; box-shadow: 0 0 10px 3px rgba(111,157,255,.7); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
.hero-scroll { position: absolute; z-index: 5; left: 50%; bottom: 0; translate: -50% 0; display: grid; justify-items: center; gap: 8px; text-decoration: none; font-size: 11px; letter-spacing: .4em; color: var(--gold); }
.hero-scroll span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-scroll i { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold-2); animation: drip 2.2s ease-in infinite; }
@keyframes drip { from { top: -6px; } to { top: 48px; } }

@media (max-width: 860px) {
  .hero { padding-top: 84px; align-content: center; }
  .hero-stage { grid-template-columns: 1fr; justify-items: center; gap: 26px; }
  .hero-left { order: 3; writing-mode: horizontal-tb; flex-direction: column; gap: 4px; justify-self: center; text-align: center; }
  .hero-role { letter-spacing: .3em; font-size: 15px; } .hero-role br { display: none; }
  .hero-place { margin: 0; letter-spacing: .3em; }
  .moonwin { order: 1; width: min(76vw, 46vh); }
  .hero-right { order: 2; justify-self: center; align-items: center; flex-direction: column; gap: 6px; }
  .hero-sho .sho { --m: url(img/sho-horizontal.png); width: min(62vw, 300px); aspect-ratio: 1178 / 260; }
  .hero-kana { writing-mode: horizontal-tb; }
  .hero-catch { position: relative; bottom: auto; margin-top: 26px; font-size: 18px; letter-spacing: .2em; }
  .hero-hint { bottom: 72px; }
}

/* ---------- 序：ご挨拶 ---------- */
.greeting { text-align: center; }
.greeting-title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 52px); letter-spacing: .2em; margin: 0 0 40px; line-height: 1.5; }
.greeting-body p { margin: 0 0 1em; font-size: clamp(15px, 1.6vw, 17px); line-height: 2.3; }
.gift { display: inline-flex; align-items: center; gap: 22px; margin-top: 46px; padding: 22px 34px 22px 22px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(30,80,162,.18), rgba(214,179,106,.06)); text-align: left; }
.gift p { margin: 0; line-height: 1.9; }
.gift strong { color: var(--gold-2); font-weight: 700; }
.gift-seal { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-family: var(--display); font-size: 30px; color: #2a0e06; background: radial-gradient(circle at 35% 30%, #ffdf9c, #c99a45 60%, #8a6427); box-shadow: 0 0 26px rgba(242,220,160,.4); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 46px rgba(242,220,160,.7); transform: scale(1.04); } }

/* ---------- 壱：瑠璃羽について ---------- */
.about { padding-bottom: 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-photo { margin: 0; position: relative; transform-style: preserve-3d; }
.about-photo img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 60px rgba(47,107,216,.18); }
.about-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--line); z-index: -1; }
.about-photo figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); letter-spacing: .2em; }
.about-lead { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); line-height: 1.7; margin: 0 0 24px; }
.about-lead rt { font-family: var(--serif); font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.about-text p { margin: 0 0 1.2em; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.takigyo { position: relative; margin-top: clamp(90px, 12vw, 150px); min-height: 150vh; overflow: hidden; }
.takigyo-bg { position: absolute; inset: -20% 0; background-size: cover; background-position: center; filter: brightness(.5) contrast(1.15); }
.takigyo-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #16328a, #0a1650); mix-blend-mode: color; opacity: .9; }
.takigyo::before, .takigyo::after { content: ""; position: absolute; left: 0; right: 0; height: 30vh; z-index: 1; pointer-events: none; }
.takigyo::before { top: 0; background: linear-gradient(var(--night), transparent); }
.takigyo::after { bottom: 0; background: linear-gradient(transparent, var(--night)); }
.takigyo-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.takigyo-text { position: relative; z-index: 3; width: min(760px, 100% - 40px); margin: 0 auto; padding: 30vh 0 34vh; display: grid; gap: 22vh; text-align: center; }
.takigyo-tag { margin: 0; font-size: 13px; letter-spacing: .5em; color: var(--gold); }
.takigyo-line { margin: 0; font-family: var(--display); font-size: clamp(20px, 3vw, 32px); line-height: 2; letter-spacing: .16em; text-shadow: 0 0 30px rgba(0,0,0,.9), 0 0 14px rgba(255, 170, 90, .25); }
.takigyo-line--end { color: var(--gold-2); font-size: clamp(24px, 3.6vw, 40px); }

.kenzoku { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; padding-top: clamp(20px, 4vw, 40px); }
.kenzoku-card { position: relative; padding: 16px 16px 56px; background: linear-gradient(160deg, #0d1a4f, #050822); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform-style: preserve-3d; }
.kenzoku-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-soft); pointer-events: none; }
.kenzoku-img { overflow: hidden; aspect-ratio: 1; }
.kenzoku-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.kenzoku-card:hover .kenzoku-img img { transform: scale(1.08); }
.kenzoku-name { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; text-align: center; font-family: var(--display); font-size: 22px; letter-spacing: .6em; color: var(--gold-2); }
.kenzoku-quote { font-family: var(--display); font-size: clamp(24px, 3.2vw, 36px); line-height: 1.7; margin: 0 0 26px; color: var(--gold-2); text-shadow: 0 0 24px rgba(214,179,106,.3); }
.kenzoku-text > p { margin: 0 0 1.1em; }
.career { margin-top: 28px; border-top: 1px solid var(--line-soft); }
.career p { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; display: flex; gap: 18px; }
.career span { flex: none; color: var(--gold); letter-spacing: .3em; width: 4em; }
@media (max-width: 860px) { .kenzoku { grid-template-columns: 1fr; } .kenzoku-card { max-width: 360px; } }

/* ---------- 弐：できること ---------- */
.power { background: radial-gradient(ellipse at 50% 40%, rgba(30, 80, 162, .22), transparent 65%); }
.power-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); }
.jewel { text-align: center; padding: 10px; }
.jewel:nth-child(2) { --d: .15s; } .jewel:nth-child(3) { --d: .3s; }
.jewel-orb { position: relative; width: clamp(130px, 15vw, 170px); aspect-ratio: 1; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.55), rgba(140,180,255,.25) 18%, rgba(30,80,162,.55) 50%, rgba(5,10,40,.9) 75%);
  box-shadow: 0 0 40px rgba(47,107,216,.45), inset 0 -20px 40px rgba(0,0,0,.5), inset 0 8px 20px rgba(255,255,255,.15);
  transition: transform .8s var(--ease), box-shadow .8s;
}
.jewel-orb::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(214,179,106,.35); animation: seal-spin 30s linear infinite; }
.jewel-orb::after { content: ""; position: absolute; inset: -24px; border-radius: 50%; border: 1px solid rgba(214,179,106,.15); }
.jewel-orb span { font-family: var(--display); font-size: clamp(40px, 5vw, 56px); color: var(--gold-2); text-shadow: 0 0 20px rgba(242,220,160,.7); }
.jewel:hover .jewel-orb { transform: translateY(-8px) scale(1.04); box-shadow: 0 0 80px rgba(111,157,255,.7), inset 0 -20px 40px rgba(0,0,0,.5), inset 0 8px 20px rgba(255,255,255,.2); }
.jewel h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .2em; margin: 0 0 10px; }
.jewel p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.9; }
.power-bridge { text-align: center; margin: clamp(60px, 8vw, 90px) 0 30px; font-family: var(--display); font-size: clamp(19px, 2.4vw, 26px); letter-spacing: .14em; line-height: 1.9; }
.power-bridge em { font-style: normal; color: var(--gold-2); text-shadow: 0 0 18px rgba(242,220,160,.4); }
.power-ways { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.power-ways li { padding: 10px 22px; border: 1px solid var(--line); background: rgba(30,80,162,.12); font-size: 15px; letter-spacing: .12em; transition: background .4s, border-color .4s, box-shadow .4s; }
.power-ways li:hover { background: rgba(30,80,162,.35); border-color: var(--gold); box-shadow: 0 0 20px rgba(111,157,255,.3); }
.power-topics { text-align: center; color: var(--muted); font-size: 13px; margin: 26px 0 0; line-height: 2.1; }
@media (max-width: 720px) { .power-three { grid-template-columns: 1fr; gap: 50px; } }

/* ---------- 参：ご相談・料金 ---------- */
.menu {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='28' viewBox='0 0 48 28'%3E%3Cpath d='M0 28 L24 0 L48 28' fill='none' stroke='%23d6b36a' stroke-opacity='.06'/%3E%3Cpath d='M-24 28 L0 0 L24 28' fill='none' stroke='%23d6b36a' stroke-opacity='.06' transform='translate(0 -14)'/%3E%3Cpath d='M24 28 L48 0 L72 28' fill='none' stroke='%23d6b36a' stroke-opacity='.06' transform='translate(0 -14)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, transparent, rgba(11, 19, 64, .6) 20%, rgba(11, 19, 64, .6) 80%, transparent);
}
.first { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 3vw, 36px); margin-bottom: 40px; border: 1px solid var(--gold); background: linear-gradient(120deg, rgba(214,179,106,.14), rgba(30,80,162,.2)); position: relative; overflow: hidden; }
.first::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,240,200,.18), transparent); animation: sheen 5s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.first-badge { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; text-align: center; font-size: 13px; line-height: 1.5; letter-spacing: .1em; color: #2a1606; font-weight: 700; background: radial-gradient(circle at 35% 30%, #ffe6a8, #d2a24d 60%, #94692a); box-shadow: 0 0 30px rgba(242,220,160,.35); }
.first h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .2em; }
.first-body p { margin: 0; font-size: 14px; line-height: 1.9; color: #d5d0c2; }
.first-price { text-align: center; display: grid; line-height: 1.3; }
.first-price span { font-size: 12px; color: var(--muted); letter-spacing: .2em; }
.first-price strong { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.4vw, 52px); color: var(--gold-2); letter-spacing: .04em; }
.first-price small { font-size: 16px; margin-left: 2px; }
@media (max-width: 760px) { .first { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-bottom: 60px; }
.kinds > div { background: rgba(3,5,26,.85); padding: 20px 22px; }
.kinds b { display: block; font-family: var(--display); font-weight: 400; color: var(--gold-2); letter-spacing: .3em; font-size: 18px; margin-bottom: 4px; }
.kinds p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.9; }
@media (max-width: 760px) { .kinds { grid-template-columns: 1fr; } }

.tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab { background: none; border: 0; padding: 14px 8px 18px; cursor: pointer; display: grid; gap: 2px; color: var(--muted); transition: color .4s; }
.tab span { font-family: var(--display); font-size: clamp(16px, 2vw, 22px); letter-spacing: .16em; }
.tab small { font-size: 11px; letter-spacing: .1em; opacity: .8; }
.tab[aria-selected="true"] { color: var(--gold-2); }
.tab:focus-visible { outline: 1px solid var(--gold); outline-offset: -4px; }
.tab-ink { position: absolute; bottom: -1px; height: 3px; left: 0; width: 25%; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); box-shadow: 0 0 14px var(--gold); transition: transform .7s var(--ease); }
@media (max-width: 600px) { .tab small { display: none; } .tab { padding: 12px 2px 14px; } .tab span { letter-spacing: .04em; font-size: 15px; } }

.panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); perspective: 1200px; }
.panel[hidden] { display: none; }
.panel.is-entering .ofuda { animation: ofuda-in 1s var(--ease) both; }
.panel.is-entering .ofuda:nth-child(2) { animation-delay: .1s; } .panel.is-entering .ofuda:nth-child(3) { animation-delay: .2s; }
@keyframes ofuda-in { from { opacity: 0; transform: translateY(30px) rotateX(18deg); filter: blur(8px); } }
.panel-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; color: var(--muted); }

/* お札カード */
.ofuda {
  --mx: 50%; --my: 0%;
  position: relative; padding: 52px 26px 28px; text-align: center; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
  background: linear-gradient(180deg, #f3ecd9, #e4d8ba); color: #1b1a2e;
  clip-path: polygon(50% 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.7);
}
.ofuda::before { content: ""; position: absolute; inset: 30px 10px 10px; border: 1px solid rgba(30, 80, 162, .45); outline: 3px double rgba(30, 80, 162, .25); outline-offset: -8px; pointer-events: none; }
.ofuda::after { /* 光の反射 */ content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.55), transparent 45%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s; pointer-events: none; }
.ofuda:hover::after { opacity: 1; }
.ofuda-kind { margin: 0 0 4px; font-size: 11px; letter-spacing: .3em; color: var(--ruri); }
.ofuda h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: .4em; color: #0d1a4f; padding-left: .4em; }
.ofuda h3::after { content: ""; display: block; width: 26px; height: 26px; margin: 10px auto 0; border-radius: 4px; background: #b3261e; opacity: .85; transform: rotate(45deg) scale(.7); box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
.ofuda-desc { margin: 0 0 18px; font-size: 13.5px; line-height: 1.95; text-align: left; color: #2a2a3e; letter-spacing: .03em; }
.ofuda dl { margin: 0 0 12px; display: grid; gap: 4px; border-top: 1px solid rgba(30,80,162,.25); padding-top: 12px; }
.ofuda dl div { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.ofuda dt { color: var(--ruri); letter-spacing: .2em; }
.ofuda dd { margin: 0; }
.ofuda dd strong { font-family: var(--display); font-weight: 400; font-size: 26px; color: #0d1a4f; letter-spacing: .02em; }
.ofuda-gift { margin: 0; font-size: 12px; color: #7a5a1c; }
.ofuda--wide { grid-column: 1 / -1; max-width: 640px; justify-self: center; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

.menu-notes { list-style: none; margin: 46px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.menu-notes li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: 11px; }
.menu-notes strong { color: var(--text); }

.healing { margin-top: clamp(70px, 9vw, 110px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(5,8,34,.9), rgba(30,80,162,.25)); position: relative; overflow: hidden; }
.healing-moon { width: clamp(120px, 16vw, 190px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fffbe9, #f1e3b4 35%, #c7ae6f 70%, #7e6a37); box-shadow: 0 0 60px 10px rgba(242,220,160,.35), 0 0 160px 40px rgba(242,220,160,.12); animation: breathe 6s ease-in-out infinite; position: relative; }
.healing-moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 60%, rgba(120,100,50,.25) 0 8%, transparent 9%), radial-gradient(circle at 62% 30%, rgba(120,100,50,.2) 0 6%, transparent 7%), radial-gradient(circle at 58% 70%, rgba(120,100,50,.18) 0 10%, transparent 11%); }
.healing h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); letter-spacing: .2em; }
.healing p { margin: 0 0 10px; }
.healing-price { font-size: 14px; }
.healing-price span { color: var(--muted); margin-right: 12px; }
.healing-price strong { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--gold-2); }
.healing-note { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .healing { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- 龍神のことだま ---------- */
.kotodama { text-align: center; background: radial-gradient(ellipse at 50% 55%, rgba(47, 107, 216, .28), transparent 60%); }
.kotodama-title { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 50px); letter-spacing: .24em; margin: 0 0 20px; }
.kotodama-lead { color: var(--muted); margin: 0 0 50px; line-height: 2.1; }
.kd-stage { position: relative; min-height: 400px; display: grid; place-items: center; }
.kd-orb { position: relative; width: 220px; height: 220px; border-radius: 50%; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: none; user-select: none; -webkit-user-select: none; transition: opacity .8s, transform .8s var(--ease); }
.kd-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.kd-ring circle { fill: none; stroke: rgba(214,179,106,.25); stroke-width: 1.5; }
.kd-ring .kd-ring-fill { stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 578; filter: drop-shadow(0 0 6px var(--gold)); }
.kd-core { position: absolute; inset: 34px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0 6%, #cfe0ff 16%, #4f82ec 45%, #12286e 72%, #050a2a);
  box-shadow: 0 0 50px 8px rgba(111,157,255,.5), inset 0 -18px 30px rgba(0,0,0,.45);
  transform: scale(calc(1 + var(--p, 0) * .12)); filter: brightness(calc(1 + var(--p, 0) * .8));
  animation: kd-float 5s ease-in-out infinite;
}
@keyframes kd-float { 50% { translate: 0 -8px; } }
.kd-label { position: absolute; left: 0; right: 0; bottom: -40px; font-size: 13px; letter-spacing: .4em; color: var(--gold-2); }
.kd-orb.is-done { opacity: 0; transform: scale(.4); pointer-events: none; }
.kd-card { position: absolute; width: min(420px, 100%); padding: 44px 34px 34px; background: linear-gradient(180deg, #f6efdc, #e6d9b8); color: #16163a; box-shadow: 0 0 80px rgba(242,220,160,.35), 0 40px 80px -30px rgba(0,0,0,.9);
  transform: scaleY(0); transform-origin: top; opacity: 0; transition: transform 1.2s var(--ease), opacity .6s; pointer-events: none; }
.kd-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(30,80,162,.4); pointer-events: none; }
.kd-card.is-open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
.kd-card-head { margin: 0 0 18px; font-size: 12px; letter-spacing: .4em; color: var(--ruri); }
.kd-card-word { margin: 0 0 22px; font-family: var(--display); font-size: clamp(20px, 2.6vw, 25px); line-height: 1.9; letter-spacing: .08em; color: #0d1a4f; min-height: 3.8em; }
.kd-card-color { margin: 0 0 22px; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #333; }
.kd-card-color span { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.kd-again { background: none; border: 1px solid rgba(30,80,162,.5); color: var(--ruri); padding: 8px 18px; font-size: 13px; letter-spacing: .14em; cursor: pointer; transition: background .3s, color .3s; }
.kd-again:hover { background: var(--ruri); color: #fff; }
.kd-note { margin: 34px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- 肆：手しごと ---------- */
.craft-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-bottom: clamp(70px, 10vw, 120px); }
.craft-row--rev .craft-imgs { order: 2; }
.craft-imgs { position: relative; aspect-ratio: 5 / 4; }
.craft-img { position: absolute; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(0,0,0,.85); transition: transform 1.2s var(--ease); }
.craft-img--a { inset: 0 18% 14% 0; width: 82%; height: 86%; }
.craft-img--b { right: 0; bottom: 0; width: 48%; height: 46%; outline: 6px solid var(--night); }
.craft-row:hover .craft-img--a { transform: translate(-6px, -6px); }
.craft-row:hover .craft-img--b { transform: translate(6px, 6px); }
.craft-kicker { margin: 0 0 6px; color: var(--gold); font-size: 13px; letter-spacing: .3em; }
.craft-text h3 { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .16em; line-height: 1.5; }
.craft-text p { margin: 0 0 1em; }
.craft-price { font-family: var(--display); font-size: 24px; color: var(--gold-2); }
.craft-sub { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .craft-row { grid-template-columns: 1fr; } .craft-row--rev .craft-imgs { order: 0; } }

.mailorder { border: 1px solid var(--line); background: rgba(5, 8, 34, .7); }
.mailorder summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; cursor: pointer; font-family: var(--display); font-size: 19px; letter-spacing: .2em; }
.mailorder summary::-webkit-details-marker { display: none; }
.mailorder summary i { width: 14px; height: 14px; position: relative; }
.mailorder summary i::before, .mailorder summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .4s; }
.mailorder summary i::after { transform: rotate(90deg); }
.mailorder[open] summary i::after { transform: rotate(0); }
.mo-steps { list-style: none; counter-reset: s; margin: 0; padding: 4px 26px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mo-steps li { counter-increment: s; position: relative; padding: 18px 16px 16px; border: 1px solid var(--line-soft); font-size: 13.5px; line-height: 1.9; }
.mo-steps li::before { content: counter(s, cjk-ideographic); position: absolute; top: -14px; left: 14px; background: var(--night); padding: 0 8px; font-family: var(--display); color: var(--gold); font-size: 18px; }
.mo-steps b { display: block; color: var(--gold-2); letter-spacing: .2em; margin-bottom: 4px; }
.mo-rules { padding: 10px 26px 26px; display: grid; gap: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.mo-rules p { margin: 0; }
.mo-rules b { color: var(--text); margin-right: 10px; }
@media (max-width: 760px) { .mo-steps { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- 伍：写真 ---------- */
.album { columns: 3 260px; column-gap: 20px; }
.ph { break-inside: avoid; margin: 0 0 20px; position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.ph button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ph img { width: 100%; height: auto; transition: transform 1.4s var(--ease), filter 1.4s; filter: saturate(.85) brightness(.85); }
.ph:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px; font-size: 12.5px; line-height: 1.7; background: linear-gradient(transparent, rgba(3,5,26,.92)); transform: translateY(40%); opacity: 0; transition: transform .6s var(--ease), opacity .6s; pointer-events: none; }
.ph figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 16px; letter-spacing: .14em; color: var(--gold-2); }
.ph:hover figcaption, .ph:focus-within figcaption { transform: none; opacity: 1; }
@media (hover: none) { .ph figcaption { transform: none; opacity: 1; } }

.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 40px 20px; background: rgba(2, 3, 16, .94); backdrop-filter: blur(10px); animation: fadein .5s ease both; opacity: 0; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border: 1px solid var(--line); box-shadow: 0 0 80px rgba(47,107,216,.3); animation: lb-in .8s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); filter: blur(10px); } }
.lightbox figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.lightbox figcaption b { color: var(--gold-2); margin-right: 12px; font-family: var(--display); font-weight: 400; }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; background: none; border: 1px solid var(--line); color: var(--gold-2); font-size: 22px; cursor: pointer; }

/* ---------- お知らせ ---------- */
.news { padding-top: 40px; }
.news-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: .24em; margin: 0 0 30px; }
.news-list { border-top: 1px solid var(--line); }
.news-list details { border-bottom: 1px solid var(--line); }
.news-list summary { list-style: none; display: flex; gap: 24px; align-items: baseline; padding: 18px 4px; cursor: pointer; transition: color .3s, padding .4s var(--ease); }
.news-list summary::-webkit-details-marker { display: none; }
.news-list summary:hover { color: var(--gold-2); padding-left: 12px; }
.news-list time { font-family: var(--latin); font-size: 16px; color: var(--gold); letter-spacing: .1em; flex: none; }
.news-list details p { margin: 0; padding: 0 4px 20px 4px; font-size: 14px; color: var(--muted); }
.news-card { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--line); background: rgba(255,255,255,.03); text-align: center; box-shadow: 0 0 60px rgba(47,107,216,.18); }
.news-card-lead { margin: 0 0 24px; line-height: 2; }
@media (max-width: 600px) { .news-list summary { flex-direction: column; gap: 0; } }

/* ---------- 動画・SNS ---------- */
.sns-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.sns-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden; background: var(--deep); box-shadow: 0 0 60px rgba(47,107,216,.25); }
.sns-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sns-cap { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.sns-lead { margin: 0 0 24px; line-height: 2; }
.sns-btn { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 14px; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: border-color .35s, box-shadow .35s, transform .35s; }
.sns-btn:hover { border-color: var(--gold); box-shadow: 0 0 24px rgba(214,179,106,.2); transform: translateY(-2px); }
.sns-btn svg { width: 30px; height: 30px; flex: none; fill: var(--gold); }
.sns-btn span { display: flex; flex-direction: column; font-size: 14px; letter-spacing: .14em; }
.sns-btn b { font-family: var(--latin); font-size: 19px; font-weight: 500; letter-spacing: .08em; color: var(--gold-2); }
@media (max-width: 860px) { .sns-grid { grid-template-columns: 1fr; } }

/* ---------- 陸：アクセス ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.access-info { margin: 0; border-top: 1px solid var(--line); }
.access-info div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.access-info dt { color: var(--gold); letter-spacing: .2em; font-size: 14px; }
.access-info dd { margin: 0; }
.access-info a { color: var(--gold-2); }
.access-map { position: relative; min-height: 360px; border: 1px solid var(--line); overflow: hidden; }
.access-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(185deg) saturate(.55) brightness(.92) contrast(.95); }
.access-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 60px rgba(3,5,26,.8); }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } .access-info div { grid-template-columns: 6em 1fr; } }

/* ---------- 結び ---------- */
.contact { text-align: center; overflow: hidden; }
.contact-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,216,.35), transparent 62%); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
.contact-quote { font-family: var(--display); font-size: clamp(24px, 3.8vw, 40px); line-height: 1.9; letter-spacing: .16em; margin: 0 0 30px; text-shadow: 0 0 30px rgba(111,157,255,.6); }
.contact-lead { color: var(--muted); margin: 0 0 44px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.contact-qr { display: inline-flex; align-items: center; gap: 20px; margin-top: 50px; text-align: left; font-size: 13px; color: var(--muted); line-height: 1.9; }
.contact-qr img { width: 120px; height: 120px; border: 6px solid #fff; }
@media (hover: none) and (pointer: coarse) { .contact-qr { display: none; } }

.footer { text-align: center; padding: 60px 20px 110px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.footer-sho { width: 160px; aspect-ratio: 461 / 122; margin: 0 auto 18px; }
.footer p { margin: 0 0 4px; }
.footer-copy { font-family: var(--latin); letter-spacing: .2em; }

.sp-bar { display: none; }
@media (max-width: 760px) {
  .sp-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; transform: translateY(110%); transition: transform .6s var(--ease); background: rgba(3,5,26,.9); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .sp-bar.is-on { transform: none; }
  .sp-bar a { display: grid; place-items: center; height: 56px; text-decoration: none; font-size: 14px; letter-spacing: .16em; }
  .sp-bar-line { background: var(--gold-grad); background-size: 220% 100%; color: #1c1406; font-weight: 700; }
}

.toast { position: fixed; left: 50%; top: 90px; z-index: 120; translate: -50% 0; padding: 12px 24px; border: 1px solid var(--line); background: rgba(3,5,26,.9); color: var(--gold-2); font-size: 14px; letter-spacing: .14em; opacity: 0; transform: translateY(-10px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}
