/* =========================================================
   hotsei.tokyo — DEEP-SEA BROADCAST STUDIO
   base theme = index / .page-picks = tropical showcase / .page-leather = atelier
   ========================================================= */
:root {
  --bg0: #050b16;
  --bg1: #0a1626;
  --bg2: #0e1e33;
  --ink: #eaf4ff;
  --ink-dim: #9db4cc;
  --cy: #6ec6ff;   /* ice blue */
  --te: #37e0c8;   /* teal */
  --gd: #e8c37a;   /* coffee gold */
  --pk: #ff8fb3;
  --rec: #ff445c;  /* ON AIR red */
  --card: rgba(255, 255, 255, 0.045);
  --card-bd: rgba(140, 200, 255, 0.16);
  --hud: rgba(110, 198, 255, 0.55);
  --rad: 20px;
  --shell: min(1220px, 92vw);
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Audiowide", var(--font-jp);
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  --grad: linear-gradient(92deg, var(--cy), var(--te) 55%, var(--gd));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-jp);
  line-height: 1.85;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cy); text-decoration: none; }
a:hover { opacity: 0.85; }
b { color: #fff; }
::selection { background: rgba(110, 198, 255, 0.35); }

/* =========================================================
   背景演出（オーロラ／God ray／スキャンライン／泡）
   ========================================================= */
.aurora { position: fixed; inset: 0; z-index: -4; background: radial-gradient(120% 90% at 50% 0%, var(--bg2) 0%, var(--bg1) 45%, var(--bg0) 100%); }
.aurora-blob { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(90px); opacity: 0.16; animation: drift 26s ease-in-out infinite alternate; }
.a1 { background: #1c6dd0; top: -18vmax; left: -12vmax; }
.a2 { background: #10a394; bottom: -22vmax; right: -14vmax; animation-delay: -8s; }
.a3 { background: #8a6a2f; top: 40%; left: 55%; width: 34vmax; height: 34vmax; opacity: 0.10; animation-delay: -16s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(6vmax,-5vmax) scale(1.15); } }

/* God ray：海面から差し込む光の筋 */
.rays { position: fixed; inset: 0; top: -10%; z-index: -3; pointer-events: none; overflow: hidden; opacity: 0.5; }
.rays span {
  position: absolute; top: -40%; left: var(--x, 20%); width: 12vmax; height: 160%;
  background: linear-gradient(to bottom, rgba(130,200,255,0.14), transparent 72%);
  transform: rotate(11deg); transform-origin: top center; filter: blur(6px);
  animation: sway var(--d, 14s) ease-in-out infinite alternate;
}
.rays span:nth-child(1) { --x: 8%;  --d: 15s; }
.rays span:nth-child(2) { --x: 34%; --d: 19s; opacity: 0.7; }
.rays span:nth-child(3) { --x: 62%; --d: 13s; }
.rays span:nth-child(4) { --x: 82%; --d: 21s; opacity: 0.6; }
@keyframes sway { from { transform: rotate(8deg) translateX(-2vmax); } to { transform: rotate(14deg) translateX(2vmax); } }

/* スキャンライン：モニター質感（極薄） */
.scan { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px); }
#bubbles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* =========================================================
   ナビ（HUDバー付き）
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 22px;
  padding: 10px clamp(16px, 4vw, 40px);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.scrolled { background: rgba(7,17,32,0.82); backdrop-filter: blur(14px); box-shadow: 0 4px 30px rgba(0,0,0,0.35); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 36px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.nav-logo-txt { font-family: var(--font-en); font-size: 15px; letter-spacing: .06em; color: #fff; }
.nav-logo-txt em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 6px; }
.nav-onair { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--rec); padding: 3px 9px; border: 1px solid rgba(255,68,92,0.45); border-radius: 999px; margin-left: 4px; white-space: nowrap; flex-shrink: 0; }
.nav-onair i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px var(--rec); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.nav-links { display: flex; gap: clamp(10px,1.6vw,22px); margin-left: auto; }
.nav-links a { font-family: var(--font-en); font-size: 12.5px; letter-spacing: .1em; color: var(--ink-dim); position: relative; padding: 6px 2px; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--grad); transition: right .25s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.current { color: #fff; opacity: 1; }
.nav-links a:hover::after, .nav-links a.current::after { right: 0; }
.nav-cta { font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg,#ff4e45,#d6244f); padding: 9px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 18px rgba(230,60,70,0.35); transition: transform .2s; }
.nav-cta:hover { transform: translateY(-2px) scale(1.03); opacity: 1; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* スクロール進捗バー */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120;
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
  background: var(--grad); box-shadow: 0 0 12px rgba(110,198,255,.55); pointer-events: none; }

/* 右上メガメニュー（SHOP / LEATHER） */
.nav-mega { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-burger { flex-shrink: 0; }
.nav-mega-link { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 15.5px; letter-spacing: .08em;
  padding: 11px 20px; border-radius: 14px; white-space: nowrap;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.nav-mega-link .em { font-size: 17px; line-height: 1; }
.nav-mega-link:hover { transform: translateY(-3px) scale(1.05); opacity: 1; }
.nav-mega-link::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: left .45s; }
.nav-mega-link:hover::after { left: 135%; }
.mega-picks { color: #3a1c07; background: linear-gradient(135deg, #ffd166, #ff8a5c); box-shadow: 0 5px 20px rgba(255,138,92,.4); }
.mega-parts { color: #06263f; background: linear-gradient(135deg, #9bd9ff, #58b6f0); box-shadow: 0 5px 20px rgba(110,198,255,.4); }
.mega-leather { color: #f6ecdd; background: linear-gradient(135deg, #8a5a2b, #5c3a1a); box-shadow: 0 5px 20px rgba(90,58,26,.55); border: 1px solid rgba(240,201,138,.45); }
.mega-leather::before { content: ""; position: absolute; inset: 4px; border: 1.5px dashed rgba(240,201,138,.5); border-radius: 10px; pointer-events: none; }
.nav-mega-link.current { outline: 2px solid rgba(255,255,255,.55); outline-offset: 2px; }

/* =========================================================
   HERO（スタジオHUD枠）
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .26;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 70%, transparent);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35) 70%, transparent); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,11,22,.92) 0%, rgba(5,11,22,.55) 42%, transparent 72%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; width: var(--shell); margin: 0 auto; padding: 118px 0 64px; }
.hero-copy { position: relative; z-index: 2; text-shadow: 0 2px 18px rgba(3,8,16,.8); }

/* HUDヘッダ行：REC + タイムコード + STUDIO */
.hud-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-dim); margin-bottom: 18px; }
.hud-rec { display: inline-flex; align-items: center; gap: 7px; color: var(--rec); }
.hud-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); animation: blink 1.4s steps(1) infinite; }
.hud-line .sep { color: var(--hud); }
.hud-line .tc { color: var(--te); }

.hero-title { font-weight: 900; line-height: 1.16; }
.hero-title > span { display: block; }
.hero-title > span:first-child { font-size: clamp(22px,3.4vw,38px); color: var(--ink-dim); }
.hero-title-big { font-size: clamp(52px,9vw,116px); letter-spacing: .01em; line-height: .98;
  background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 34px rgba(60,160,255,.3)); animation: gradShift 7s ease-in-out infinite; }
.hero-title-big i { font-style: normal; -webkit-text-fill-color: var(--gd); }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* キネティックタイポ：1文字ずつ跳ねて出て、波打ち続ける
   ※文字分割時は .kinetic を付け、グラデclipをやめて文字ごとの色に切り替える
   （transformされた子要素には background-clip:text が効かないため） */
.hero-title-big.kinetic { background: none; -webkit-text-fill-color: initial; color: #fff; animation: none; }
.hero-title-big .ch { display: inline-block;
  animation: charPop .7s cubic-bezier(.34,1.56,.64,1) calc(.25s + var(--i)*.07s) both,
             charWave 3.4s ease-in-out calc(1.2s + var(--i)*.14s) infinite; }
.hero-title-big.kinetic i.ch { color: var(--gd); }
@keyframes charPop { from { opacity: 0; transform: translateY(70px) scale(.5) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes charWave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 背後を流れる特大アウトライン文字 */
.hero-wm { position: absolute; top: 6%; left: 0; right: 0; z-index: 0; overflow: hidden; pointer-events: none; user-select: none; }
.hero-wm span { display: inline-block; white-space: nowrap; font-family: var(--font-en);
  font-size: clamp(90px, 15vw, 220px); line-height: 1.1; letter-spacing: .05em;
  color: transparent; -webkit-text-stroke: 2px rgba(110,198,255,.22);
  animation: wmScroll 26s linear infinite; }
@keyframes wmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
body.page-leather .hero-wm span { -webkit-text-stroke-color: rgba(240,201,138,.2); }
.hero-name { font-family: var(--font-en); font-size: clamp(16px,2vw,22px); letter-spacing: .22em; color: #fff; margin-top: 12px; }
.hero-name span { color: var(--gd); }
.hero-desc { margin-top: 18px; color: var(--ink-dim); font-size: clamp(13.5px,1.4vw,15.5px); overflow-wrap: anywhere; }
.page-lead, .sec-lead { overflow-wrap: anywhere; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge { font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-bd); backdrop-filter: blur(6px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn { position: relative; overflow: hidden; display: inline-block; font-weight: 700; font-size: 14.5px; color: #fff; padding: 13px 26px; border-radius: 14px;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s; }
.btn:hover { transform: translateY(-4px) scale(1.03); opacity: 1; }
.btn::after, .nav-cta::after, .shop-btn::after, .craft-order::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg); transition: left .5s; pointer-events: none; }
.btn:hover::after, .nav-cta:hover::after, .shop-btn:hover::after, .craft-order:hover::after { left: 140%; }
.nav-cta, .shop-btn, .craft-order { position: relative; overflow: hidden; }
.btn-yt { background: linear-gradient(135deg,#ff4e45,#d6244f); box-shadow: 0 6px 22px rgba(230,60,70,.35); animation: glowPulse 2.8s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { box-shadow: 0 6px 22px rgba(230,60,70,.35); } 50% { box-shadow: 0 6px 34px rgba(230,60,70,.6); } }
.btn-x { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost { background: var(--card); border: 1px solid var(--card-bd); color: var(--ink); }
.btn-block { display: block; text-align: center; margin-top: 12px; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
/* コーナーブラケット（HUDファインダー枠） */
.hero-art::before, .hero-art::after,
.hero-frame::before, .hero-frame::after { content: ""; position: absolute; width: 46px; height: 46px; z-index: 3; pointer-events: none; }
.hero-frame { position: absolute; inset: -6% 2%; z-index: 3; pointer-events: none; }
.hero-art::before { top: 4%; left: 4%; border-top: 2px solid var(--hud); border-left: 2px solid var(--hud); }
.hero-art::after { top: 4%; right: 4%; border-top: 2px solid var(--hud); border-right: 2px solid var(--hud); }
.hero-frame::before { bottom: 0; left: 6%; border-bottom: 2px solid var(--hud); border-left: 2px solid var(--hud); }
.hero-frame::after { bottom: 0; right: 6%; border-bottom: 2px solid var(--hud); border-right: 2px solid var(--hud); }
.hero-art img { height: clamp(380px,64vh,660px); width: auto; position: relative; z-index: 1; filter: drop-shadow(0 18px 50px rgba(20,90,160,.45)); animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-ring { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); width: min(30vw,420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(110,198,255,.20), transparent 65%); border: 1px solid rgba(110,198,255,.25); animation: ringPulse 4.5s ease-in-out infinite; }
@keyframes ringPulse { 0%,100% { transform: translateX(-50%) scale(1); opacity: .8; } 50% { transform: translateX(-50%) scale(1.07); opacity: .45; } }

.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; z-index: 4; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 3px; background: var(--cy); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   ティッカー
   ========================================================= */
.ticker { overflow: hidden; border-top: 1px solid var(--card-bd); border-bottom: 1px solid var(--card-bd); background: rgba(255,255,255,.02); }
.ticker-track { display: flex; white-space: nowrap; width: max-content; animation: tick 24s linear infinite; }
.ticker-track span { font-family: var(--font-en); font-size: 17px; font-weight: 700; letter-spacing: .18em; color: var(--ink-dim); padding: 12px 0; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   マーキー帯（傾いた流れる特大文字）
   ========================================================= */
.band { position: relative; margin-top: clamp(70px, 9vw, 112px); transform: rotate(-2deg) scale(1.04); overflow: hidden;
  border-top: 1px solid var(--card-bd); border-bottom: 1px solid var(--card-bd);
  background: linear-gradient(92deg, rgba(110,198,255,.12), rgba(55,224,200,.09) 50%, rgba(232,195,122,.12)); }
.band.rev { transform: rotate(2deg) scale(1.04); }
.band-track { display: flex; white-space: nowrap; width: max-content; animation: tick 19s linear infinite; }
.band.rev .band-track { animation-direction: reverse; }
.band-track span { display: flex; align-items: center; font-family: var(--font-en); font-size: clamp(24px, 3.4vw, 42px); letter-spacing: .1em; padding: 10px 0; color: #fff; }
.band-track .w { margin: 0 .55em; }
.band-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--cy); }
body.page-leather .band { background: linear-gradient(92deg, rgba(240,201,138,.14), rgba(150,100,50,.1) 50%, rgba(240,201,138,.14)); }
body.page-leather .band-track .o { -webkit-text-stroke-color: var(--gd); }
body.page-picks .band-track .o { -webkit-text-stroke-color: #ff9d73; }
body.page-picks .band { background: linear-gradient(92deg, rgba(255,209,102,.14), rgba(77,217,232,.1) 50%, rgba(255,138,92,.14)); }

/* =========================================================
   セクション共通（REEL番号＋信号バー）
   ========================================================= */
.sec { width: var(--shell); margin: 0 auto; padding: clamp(70px,9vw,112px) 0 0; }
.sec-head { margin-bottom: 36px; }
.sec-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reel { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: var(--gd); border: 1px solid rgba(232,195,122,.4); border-radius: 6px; padding: 3px 9px; }
.sig { display: inline-flex; align-items: flex-end; gap: 3px; height: 15px; }
.sig i { width: 3px; background: var(--te); border-radius: 2px; opacity: .8; animation: eq 1.1s ease-in-out infinite; }
.sig i:nth-child(1) { height: 5px;  animation-delay: 0s; }
.sig i:nth-child(2) { height: 11px; animation-delay: .18s; }
.sig i:nth-child(3) { height: 15px; animation-delay: .36s; }
.sig i:nth-child(4) { height: 8px;  animation-delay: .54s; }
@keyframes eq { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
.sec-en { font-family: var(--font-en); font-size: clamp(34px,5.4vw,64px); letter-spacing: .06em; line-height: .98;
  background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite; }
.sec-jp { font-size: clamp(18px,2.2vw,25px); font-weight: 900; margin-top: 8px; }
.sec-lead { color: var(--ink-dim); margin-top: 10px; font-size: 14.5px; max-width: 720px; }
.grad-txt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.card { background: var(--card); border: 1px solid var(--card-bd); border-radius: var(--rad); padding: 26px 28px; backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.card-title { font-size: 16.5px; font-weight: 900; letter-spacing: .04em; margin-bottom: 12px; color: #fff; }

.reveal { opacity: 0; transform: translateY(38px) scale(.98); filter: blur(5px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1), filter .75s ease;
  transition-delay: var(--rd, 0s); }
.reveal.reveal-l { transform: translateX(-52px) scale(.98); }
.reveal.reveal-r { transform: translateX(52px) scale(.98); }
.reveal.on { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .05s; } .d2 { transition-delay: .15s; } .d3 { transition-delay: .25s; }
.d4 { transition-delay: .35s; } .d5 { transition-delay: .45s; } .d6 { transition-delay: .55s; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; }
.about-side { display: grid; gap: 22px; align-content: start; }
.profile-dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14.5px; }
.profile-dl dt { color: var(--gd); font-weight: 700; white-space: nowrap; }
.profile-dl dd { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--card-bd); }
.stat-n { font-family: var(--font-en); font-size: clamp(20px,2.4vw,30px); color: #fff; line-height: 1.2; }
.stat-n small { font-size: .55em; color: var(--te); margin-left: 2px; }
.stat-l { font-size: 11.5px; color: var(--ink-dim); }

.faces-card { margin-top: 22px; text-align: center; }
.faces-note { font-size: 12.5px; color: var(--ink-dim); margin-bottom: 14px; }
.faces-stage { height: min(52vh,460px); display: flex; justify-content: center; align-items: flex-start; overflow: hidden; border-radius: 14px; }
.faces-stage img { width: min(440px,82%); height: auto; max-width: none; filter: drop-shadow(0 10px 30px rgba(20,90,160,.4)); transition: opacity .15s; }
.faces-stage img.swap { opacity: 0; }
.faces-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.face-btn { font-family: var(--font-jp); font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--card); border: 1px solid var(--card-bd); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; }
.face-btn:hover { transform: translateY(-2px); }
.face-btn.active { background: linear-gradient(135deg, rgba(110,198,255,.25), rgba(55,224,200,.2)); border-color: var(--cy); color: #fff; }

/* ---------- FAMILY ---------- */
.family-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.family-card { text-align: center; }
.family-card h3 { font-size: 18px; font-weight: 900; margin-top: 14px; }
.family-role { font-size: 12px; color: var(--gd); font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.family-card p:last-child { font-size: 13.5px; color: var(--ink-dim); text-align: left; }
.family-img { height: 190px; display: flex; justify-content: center; align-items: center; }
.family-img img { max-height: 100%; width: auto; }
/* 寄りで見せる（全身立ち絵の上半身クロップ） */
.family-img.closeup { overflow: hidden; align-items: flex-start; border-radius: 14px; }
.family-img.closeup img { width: min(46%, 210px); max-height: none; }
.float-anim { animation: heroFloat 5.5s ease-in-out infinite; }
.float-anim2 { animation: heroFloat 6.5s ease-in-out infinite reverse; }

/* ---------- SCHEDULE ---------- */
.sched-wrap { padding: 18px 22px; }
.sched-list { list-style: none; }
.sched-list li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 15px 10px; border-bottom: 1px dashed var(--card-bd); }
.sched-list li:last-child { border-bottom: 0; }
.sched-day { font-family: var(--font-en); font-weight: 700; text-align: center; font-size: 15px; background: var(--card); border: 1px solid var(--card-bd); border-radius: 12px; padding: 8px 0; color: var(--cy); }
li.hot .sched-day { background: linear-gradient(135deg, rgba(110,198,255,.3), rgba(55,224,200,.25)); color: #fff; border-color: var(--cy); }
.sched-title { font-weight: 700; font-size: 15.5px; }
.sched-time { font-family: var(--font-en); font-size: 13.5px; color: var(--gd); }
.sched-note { font-size: 13px; color: var(--ink-dim); padding: 14px 10px 6px; }

/* ---------- VIDEOS ---------- */
.videos-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000c18 url('../img/bg_wide.webp') center/cover; }
.video-embed::before { content: ""; position: absolute; inset: 0; background: rgba(4,10,20,.55); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; z-index: 1; font-family: var(--font-jp); font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; background: linear-gradient(135deg,#ff4e45,#d6244f); border: 0; border-radius: 999px; padding: 14px 28px; box-shadow: 0 6px 24px rgba(230,60,70,.45); transition: transform .2s; }
.video-load:hover { transform: scale(1.05); }
.video-cap { font-size: 12.5px; color: var(--ink-dim); margin-top: 12px; }
.video-side p { font-size: 14px; color: var(--ink-dim); margin-bottom: 6px; }

/* ---------- APEXカスタム ---------- */
.custom-banner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: linear-gradient(120deg, rgba(214,36,79,.16), rgba(110,198,255,.08) 60%), var(--card); overflow: hidden; }
.custom-txt h2 { font-size: clamp(24px,3vw,34px); font-weight: 900; margin: 4px 0 10px; }
.custom-txt p { color: var(--ink-dim); font-size: 14.5px; margin-bottom: 16px; max-width: 600px; }
.custom-img { height: 210px; width: auto; margin: -10px -6px -26px 0; }
/* 過去大会アーカイブ */
.custom-archives { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.arch-no { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--gd); margin-bottom: 3px; }

/* ---------- GOODS（自グッズ紹介） ---------- */
.goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
.goods-card { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s; }
.goods-card:hover { transform: translateY(-8px) rotate(-.7deg) scale(1.02); border-color: var(--cy); }
.goods-emoji { font-size: 38px; line-height: 1; }
.goods-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--te); border: 1px solid rgba(55,224,200,.4); border-radius: 999px; padding: 3px 10px; margin: 12px 0 8px; width: max-content; }
.goods-name { font-size: 16.5px; font-weight: 900; color: #fff; }
.goods-desc { font-size: 13px; color: var(--ink-dim); margin: 8px 0 16px; flex: 1; }
.goods-link { font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; color: var(--cy); }
.goods-card.soon { opacity: .72; }
.goods-soon { font-size: 11px; color: var(--gd); font-weight: 700; }

/* ---------- STORE BANNERS（SHOP / LEATHER への大型導線） ---------- */
.store-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.store-banner { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; padding: 26px 30px; border-radius: 22px; border: 1px solid var(--card-bd);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s, border-color .35s; }
.store-banner:hover { transform: translateY(-9px) rotate(-.5deg) scale(1.01); box-shadow: 0 26px 64px rgba(0,0,0,.5); opacity: 1; }
.sb-em { position: absolute; top: -14px; right: 4px; font-size: 130px; line-height: 1; opacity: .16; transform: rotate(12deg); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.store-banner:hover .sb-em { transform: rotate(2deg) scale(1.12); }
.sb-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.sb-en { font-family: var(--font-en); font-size: clamp(40px,5.5vw,62px); line-height: 1; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.sb-desc { color: rgba(255,255,255,.88); font-size: 13.5px; margin-top: 10px; max-width: 34em; padding-right: 84px; }
.sb-go { position: absolute; right: 26px; bottom: 24px; font-family: var(--font-en); font-size: 15px; letter-spacing: .1em; color: #fff; transition: transform .3s; }
.store-banner:hover .sb-go { transform: translateX(9px); }
.sb-shop { background: radial-gradient(140% 150% at 18% 0%, rgba(255,209,102,.38), rgba(200,110,60,.3) 55%, rgba(6,26,24,.75)), #06282e; border-color: rgba(255,177,122,.35); }
.sb-leather { background: linear-gradient(115deg, rgba(30,18,8,.25), rgba(24,14,6,.82) 70%), linear-gradient(135deg, #6b4423, #3a2614); border-color: rgba(240,201,138,.35); }
.sb-leather::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(240,201,138,.4); border-radius: 16px; pointer-events: none; }
.sb-leather.has-photo { background-size: cover; background-position: center; }

/* ---------- GALLERY ---------- */
.gallery-grid { columns: 3 260px; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--card-bd); background: var(--card); cursor: zoom-in; transition: transform .25s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,8,16,.92); display: flex; justify-content: center; align-items: center; padding: 4vmin; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 92vh; width: auto; border-radius: 12px; }
.lightbox button { position: absolute; top: 18px; right: 22px; font-size: 22px; color: #fff; background: none; border: 0; cursor: pointer; }
.lightbox .lb-nav { top: 50%; right: auto; transform: translateY(-50%); width: 54px; height: 54px; font-size: 34px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); transition: background .2s; }
.lightbox .lb-nav:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-nav.prev { left: 22px; }
.lightbox .lb-nav.next { right: 22px; left: auto; }

/* ---------- LINKS ---------- */
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 16px; }
.link-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--card-bd); border-radius: 16px; padding: 16px 18px; color: var(--ink); transition: transform .2s, border-color .2s; }
.link-card:hover { transform: translateY(-4px); border-color: var(--cy); opacity: 1; }
.link-icon { width: 42px; height: 42px; display: flex; justify-content: center; align-items: center; font-size: 24px; border-radius: 12px; background: rgba(255,255,255,.06); flex-shrink: 0; }
.link-icon svg { width: 22px; height: 22px; fill: #fff; }
.link-name { font-weight: 900; font-size: 14.5px; color: #fff; }
.link-desc { font-size: 12px; color: var(--ink-dim); }

/* =========================================================
   下層ページ共通（shop / leather）
   ========================================================= */
.page-hero { position: relative; padding: 132px 0 34px; width: var(--shell); margin: 0 auto; }
.page-hero .hud-line { margin-bottom: 14px; }
.page-hero h1 { font-family: var(--font-en); font-size: clamp(40px,7vw,86px); line-height: .96; letter-spacing: .04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(60,160,255,.22)); }
.page-hero .page-jp { font-size: clamp(17px,2.2vw,23px); font-weight: 900; margin-top: 10px; }
.page-hero .page-lead { color: var(--ink-dim); margin-top: 12px; font-size: 15px; max-width: 660px; }
.page-body { width: var(--shell); margin: 0 auto; padding-bottom: 40px; }
.back-home { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; color: var(--ink-dim); margin: 8px 0 30px; }
.back-home:hover { color: var(--cy); opacity: 1; }

/* =========================================================
   PICKS（.page-picks）＝ 南国ショーケース（ラグーン×サンセット）
   ※内部クラス名は .shop-* のまま（main.jsと共有）
   ========================================================= */
body.page-picks {
  --bg0: #03181a; --bg1: #06282e; --bg2: #0a3a42;
  --cy: #4dd9e8; --te: #3ce8b0; --gd: #ffd166;
  --card: rgba(120, 230, 220, 0.05); --card-bd: rgba(90, 215, 205, 0.2);
  --hud: rgba(77, 217, 232, 0.55);
  --grad: linear-gradient(92deg, #ffd166, #ff8a5c 45%, #4dd9e8);
}
body.page-picks .a1 { background: #0a7c6c; }
body.page-picks .a2 { background: #c9702e; }
body.page-picks .a3 { background: #0e8ca0; opacity: .14; }
body.page-picks .nav-cta { background: linear-gradient(135deg,#ffd166,#ff8a5c); color: #3a1c07; box-shadow: 0 4px 18px rgba(255,138,92,.4); animation: none; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 34px; }
.shop-chip { font-family: var(--font-en); font-size: 12px; letter-spacing: .06em; color: var(--ink-dim); background: var(--card); border: 1px solid var(--card-bd); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .2s; }
.shop-chip:hover { transform: translateY(-2px); }
.shop-chip.active { background: linear-gradient(135deg, rgba(255,209,102,.3), rgba(255,138,92,.16)); border-color: #ff9d73; color: #fff; }

.shop-cat { margin-bottom: 20px; }
.shop-cat-head { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--card-bd); }
.shop-cat-head .em { font-size: 24px; }
.shop-cat-head h2 { font-size: 20px; font-weight: 900; color: #fff; }
.shop-cat-head .cnt { font-family: var(--font-mono); font-size: 11px; color: #ff9d73; margin-left: auto; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; }
.shop-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .32s cubic-bezier(.34,1.56,.64,1), border-color .32s, box-shadow .32s; }
.shop-card:hover { transform: translateY(-10px) rotate(.6deg) scale(1.02); border-color: var(--te); box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.shop-thumb { position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 76px; background: radial-gradient(120% 120% at 50% 0%, rgba(255,209,102,.13), rgba(77,217,232,.05) 70%); border-bottom: 1px solid var(--card-bd); overflow: hidden; }
.shop-no { position: absolute; top: 12px; left: 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--gd); z-index: 2; }
.shop-in { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.shop-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #ff9d73; border: 1px solid rgba(255,157,115,.45); border-radius: 999px; padding: 3px 10px; width: max-content; margin-bottom: 10px; }
.shop-name { font-size: 17px; font-weight: 900; color: #fff; line-height: 1.5; }
.shop-comment { font-size: 13.5px; color: var(--ink-dim); margin: 10px 0 16px; flex: 1; }
.shop-price { font-family: var(--font-en); font-size: 14px; color: var(--gd); margin-bottom: 12px; }
.shop-btn { display: block; text-align: center; font-size: 13.5px; font-weight: 700; color: #3a1c07; background: linear-gradient(135deg,#ffd166,#ff8a5c); border-radius: 12px; padding: 12px; box-shadow: 0 5px 18px rgba(255,138,92,.3); transition: transform .2s; }
.shop-btn:hover { transform: translateY(-2px); opacity: 1; }
.shop-btn.disabled { background: rgba(255,209,102,.12); color: var(--ink-dim); box-shadow: none; cursor: default; pointer-events: none; }

/* 商品の実写真（1〜5枚・矢印で切替） */
.shop-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.shop-thumb.has-img { font-size: 0; }
.thumb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: #fff;
  background: rgba(4,20,22,.55); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer;
  transition: background .2s, transform .2s; }
.thumb-nav:hover { background: rgba(4,20,22,.85); transform: translateY(-50%) scale(1.1); }
.thumb-nav.prev { left: 10px; }
.thumb-nav.next { right: 10px; }
.thumb-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.thumb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.thumb-dots i.on { background: #fff; }
.shop-disclosure { font-size: 12px; color: var(--ink-dim); margin-top: 30px; padding: 16px 20px; border: 1px dashed var(--card-bd); border-radius: 14px; }

/* =========================================================
   OBS PARTS（.page-parts）＝ 配布所（深海ベース＋RECアクセント）
   ========================================================= */
.parts-howto ol { margin: 4px 0 0 1.3em; font-size: 14px; color: var(--ink-dim); }
.parts-howto li { margin: 6px 0; }
.parts-howto code { font-family: var(--font-mono); font-size: .9em; color: var(--te); background: rgba(55,224,200,.1); border-radius: 6px; padding: 1px 7px; }

.parts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.part-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .32s cubic-bezier(.34,1.56,.64,1), border-color .32s, box-shadow .32s; }
.part-card:hover { transform: translateY(-8px) rotate(-.4deg); border-color: var(--cy); box-shadow: 0 20px 55px rgba(0,0,0,.45); }
.part-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--card-bd); background: #071527; }
.part-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.part-card:hover .part-thumb img { transform: scale(1.05); }
.part-in { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.part-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--te); border: 1px solid rgba(55,224,200,.4); border-radius: 999px; padding: 3px 10px; width: max-content; margin-bottom: 10px; }
.part-name { font-size: 18px; font-weight: 900; color: #fff; }
.part-desc { font-size: 13.5px; color: var(--ink-dim); margin: 10px 0 16px; flex: 1; }
.part-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.part-dl { flex: 1; text-align: center; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(135deg,#ff4e45,#d6244f); border-radius: 12px; padding: 12px 16px; box-shadow: 0 5px 18px rgba(230,60,70,.3); transition: transform .2s; white-space: nowrap; }
.part-dl:hover { transform: translateY(-2px); opacity: 1; }
.part-preview { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--card); border: 1px solid var(--card-bd); border-radius: 12px; padding: 12px 16px; transition: transform .2s, border-color .2s; white-space: nowrap; }
.part-preview:hover { transform: translateY(-2px); border-color: var(--cy); opacity: 1; }
.parts-all { text-align: center; margin: 30px 0 8px; }

.parts-terms { margin-top: 46px; }
.terms-lead { font-size: 14.5px; color: var(--ink-dim); margin-bottom: 16px; }
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.terms-block { border: 1px solid var(--card-bd); border-radius: 14px; padding: 16px 18px; }
.terms-block.ok { border-color: rgba(55,224,200,.35); }
.terms-block.ng { border-color: rgba(255,68,92,.4); }
.terms-block h4 { font-size: 14px; color: #fff; margin-bottom: 10px; }
.terms-block ul { margin-left: 1.2em; font-size: 13px; color: var(--ink-dim); }
.terms-block li { margin: 6px 0; }
.terms-note { font-size: 12px; color: var(--ink-dim); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--card-bd); }

/* =========================================================
   LEATHER（.page-leather）＝ 暖色アトリエEC
   ========================================================= */
body.page-leather {
  --bg0: #14100c; --bg1: #221a12; --bg2: #2c2116;
  --ink: #f6ecdd; --ink-dim: #c3ac93;
  --cy: #d9a566; --te: #e8b878; --gd: #f0c98a;
  --card: rgba(240, 210, 170, 0.05); --card-bd: rgba(220, 180, 130, 0.2);
  --hud: rgba(220, 180, 130, 0.5);
  --grad: linear-gradient(92deg, #e8b878, #f0c98a 55%, #d9a566);
}
body.page-leather .a1 { background: #7a4a1e; }
body.page-leather .a2 { background: #9c6b2a; }
body.page-leather .a3 { background: #b58940; opacity: .12; }
body.page-leather .rays { display: none; }
body.page-leather .nav-cta { background: linear-gradient(135deg,#f0c98a,#d9a566); color: #2a1c0c; box-shadow: 0 4px 18px rgba(217,165,102,.35); }

.leather-hero-note { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--gd); margin-top: 16px; }
.atelier-story { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 20px 0 8px; }
.atelier-story .card p { color: var(--ink-dim); font-size: 14px; }
.atelier-story .card p + p { margin-top: 12px; }

.craft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 24px; margin-top: 6px; }
.craft-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0;
  border: 1px solid var(--card-bd); border-radius: var(--rad); background: var(--card); backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35); transition: transform .28s, box-shadow .28s; }
.craft-card { transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .32s; }
.craft-card:hover { transform: translateY(-10px) rotate(-.6deg) scale(1.02); box-shadow: 0 22px 60px rgba(0,0,0,.5); }
.craft-thumb { position: relative; aspect-ratio: 5/4; display: flex; align-items: center; justify-content: center; font-size: 82px; overflow: hidden;
  background: radial-gradient(130% 120% at 50% 10%, rgba(240,201,138,.16), rgba(120,80,40,.06) 70%); }
/* ステッチ風の内枠 */
.craft-thumb::after { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(240,201,138,.45); border-radius: 12px; }
/* 実写真サムネイル */
.craft-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.craft-card:hover .craft-thumb img { transform: scale(1.07) rotate(.6deg); }

/* 作品フォトストリップ（ポラロイド風） */
.leather-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin: 30px 0 8px; }
.leather-strip:empty { display: none; }
.leather-strip figure { position: relative; background: #f8f1e4; padding: 10px 10px 30px; border-radius: 6px;
  box-shadow: 0 12px 34px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.leather-strip figure:nth-child(odd) { transform: rotate(-2.2deg); }
.leather-strip figure:nth-child(even) { transform: rotate(1.8deg); }
.leather-strip figure:hover { transform: rotate(0) scale(1.05); box-shadow: 0 20px 48px rgba(0,0,0,.55); z-index: 1; }
.leather-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.leather-strip figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 11.5px; font-weight: 700; color: #5c422a; }
.craft-badge { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; }
.craft-badge.order { background: linear-gradient(135deg,#f0c98a,#d9a566); color: #2a1c0c; }
.craft-badge.soon { background: rgba(240,210,170,.12); color: var(--gd); border: 1px solid var(--card-bd); }
.craft-in { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.craft-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--gd); margin-bottom: 8px; }
.craft-name { font-size: 18px; font-weight: 900; color: #fff; }
.craft-desc { font-size: 13.5px; color: var(--ink-dim); margin: 10px 0 16px; flex: 1; }
.craft-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--card-bd); }
.craft-price { font-family: var(--font-en); font-size: 17px; color: var(--gd); }
.craft-price small { font-size: .6em; color: var(--ink-dim); font-family: var(--font-jp); margin-left: 3px; }
.craft-order { font-size: 12.5px; font-weight: 700; color: #2a1c0c; background: linear-gradient(135deg,#f0c98a,#d9a566); border-radius: 10px; padding: 9px 16px; white-space: nowrap; transition: transform .2s; }
.craft-order:hover { transform: translateY(-2px); opacity: 1; }
.craft-order.disabled { background: rgba(240,210,170,.1); color: var(--ink-dim); pointer-events: none; }

/* オーダーCTA帯 */
.order-cta { margin-top: 46px; text-align: center; padding: 44px 28px; border-radius: 24px; border: 1px solid var(--card-bd);
  background: linear-gradient(135deg, rgba(240,201,138,.14), rgba(120,80,40,.08)); }
.order-cta h2 { font-size: clamp(22px,3vw,32px); font-weight: 900; color: #fff; margin-bottom: 12px; }
.order-cta p { color: var(--ink-dim); font-size: 14.5px; max-width: 560px; margin: 0 auto 22px; }
.order-cta .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-leather { background: linear-gradient(135deg,#f0c98a,#d9a566); color: #2a1c0c; box-shadow: 0 8px 26px rgba(217,165,102,.35); }
.craft-note { font-size: 12.5px; color: var(--ink-dim); margin-top: 22px; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: clamp(80px,10vw,120px); border-top: 1px solid var(--card-bd); background: rgba(4,9,18,.75); }
body.page-leather .footer { background: rgba(20,14,8,.8); }
.footer-inner { width: var(--shell); margin: 0 auto; padding: 46px 0 34px; text-align: center; }
.footer-avatar { margin: 0 auto 10px; width: 84px; }
.footer-catch { font-weight: 900; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 16px 0; }
.footer-nav a { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .12em; color: var(--ink-dim); }
.footer-note { font-size: 11px; color: var(--ink-dim); }
.footer-copy { font-size: 12px; color: var(--ink-dim); margin-top: 8px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1640px) {
  .nav-onair { display: none; }
  .nav-links { gap: clamp(8px, 1vw, 16px); }
}
@media (max-width: 1360px) {
  .nav-logo-txt { display: none; }
  .nav-links { gap: 12px; }
  .nav-cta { display: none; }
}
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 100px; }
  .hud-line { justify-content: center; }
  .hero-badges, .hero-cta { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img { height: clamp(300px,42vh,420px); }
  .about-grid, .videos-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; }
  .custom-archives { grid-template-columns: 1fr; }
  .custom-banner { grid-template-columns: 1fr; }
  .custom-img { display: none; }
  .atelier-story { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: 1fr; }
  .terms-grid { grid-template-columns: 1fr; }

  .nav-links, .nav-cta, .nav-onair { display: none; }
  .nav-mega { margin-left: auto; gap: 8px; }
  .nav-mega-link { font-size: 12px; padding: 8px 13px; border-radius: 10px; gap: 5px; }
  .nav-mega-link .em { font-size: 13px; }
  .mega-leather::before { inset: 3px; border-radius: 7px; }
  .nav-burger { display: block; }
  .store-banners { grid-template-columns: 1fr; }
  .nav.open { background: rgba(7,17,32,.96); backdrop-filter: blur(16px); }
  body.page-leather .nav.open { background: rgba(20,14,8,.97); }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,17,32,.96); backdrop-filter: blur(16px); padding: 18px 24px 24px; gap: 16px; border-bottom: 1px solid var(--card-bd); }
  body.page-leather .nav.open .nav-links { background: rgba(20,14,8,.97); }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .nav { gap: 8px; }
  .nav-logo-txt { display: none; }
  .nav-mega { gap: 6px; }
  .nav-mega-link { font-size: 11px; padding: 7px 9px; letter-spacing: .04em; border-radius: 9px; }
  .nav-mega-link .em { display: none; }
  .hero-title > span:first-child { font-size: clamp(19px, 6vw, 26px); }
  .hero-title-big { font-size: clamp(32px, 10.5vw, 64px); letter-spacing: 0; }
  .hero-desc { font-size: 12.5px; }
  .profile-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .profile-dl dt { margin-top: 10px; }
  .profile-dl dt:first-child { margin-top: 0; }
  .hero-desc br { display: none; }
  .family-img.closeup img { width: 60%; }
  .badge { font-size: 11.5px; padding: 5px 11px; }
  .hud-line { font-size: 10px; gap: 7px; }
  .hud-line span:last-child, .hud-line .sep:last-of-type { display: none; }
  .page-hero { padding-top: 116px; }
  .page-hero h1 { font-size: clamp(30px, 10.5vw, 72px); }
  .sec-en { font-size: clamp(28px, 10vw, 48px); }
  .shop-grid, .craft-grid, .goods-grid { grid-template-columns: 1fr; }
}

/* ?static=1 検証モード */
html.static { scroll-behavior: auto; }
html.static .hero { min-height: 760px; }
html.static #bubbles { display: none; }
html.static *, html.static *::before, html.static *::after {
  animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: .01ms !important; transition-delay: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
