/* MUTADOLL 共通スタイル（全ページ共通）
   1440px基準の等倍スケール。パステルのオーロラ地に、HUD・走査線・デコード文字のサイバー演出と、
   ホワイトブリム・リボン・ハート・斜めスラッシュのかわいい要素。トップのヒーローはボードの前に集合写真がはみ出す構成 */
:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #2e2a3a;
  --ink-2: #6b6579;
  --pink: #ff9cc6;      /* イメージカラー：パステルピンク */
  --pink-d: #f472a8;
  --pink-l: #ffe3ef;
  --sky: #8fd3ff;       /* イメージカラー：パステルスカイブルー */
  --sky-d: #4eaee9;
  --sky-l: #e2f4ff;
  --hair: rgba(46,42,58,.12);
  --glass: rgba(255,255,255,.64);
  --grad: linear-gradient(100deg, #ff8fc0 0%, #d6a6f2 48%, #7ccbff 100%);
  --f-en: "Barlow Condensed", "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-jp: "IBM Plex Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-script: "IBM Plex Sans JP", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
html { font-size: calc(100vw / 1440); scroll-behavior: smooth; }
@media (min-width: 1680px) { html { font-size: 1.1667px; } }
@media (max-width: 768px) { html { font-size: calc(100vw / 390); } }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--f-jp); font-size: 15rem; font-weight: 500; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--sky-d); outline-offset: 3px; border-radius: 6px; }
.inner { position: relative; z-index: 2; width: 1312rem; max-width: 100%; margin-inline: auto;
  padding-left: max(16px, 16rem, env(safe-area-inset-left, 0px)); padding-right: max(16px, 16rem, env(safe-area-inset-right, 0px)); }
section { position: relative; overflow-x: clip; }
main, .footer { position: relative; z-index: 1; overflow-x: clip; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--f-en); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.glass { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 26rem 50rem -36rem rgba(46,42,58,.5); }

/* ===== 背景（オーロラ・グリッド＋ドット・粒子ノイズ） ===== */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; opacity: .55; animation: float 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 760rem; height: 760rem; left: -220rem; top: -160rem; background: radial-gradient(circle, rgba(255,156,198,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 820rem; height: 820rem; right: -260rem; top: 120rem; background: radial-gradient(circle, rgba(143,211,255,.55), transparent 65%); animation-duration: 26s; animation-direction: alternate-reverse; }
.aurora i:nth-child(3) { width: 600rem; height: 600rem; left: 30%; bottom: -260rem; background: radial-gradient(circle, rgba(196,181,255,.4), transparent 65%); animation-duration: 30s; }
@keyframes float { to { transform: translate(120rem, 80rem) scale(1.12); } }
.gridbg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,143,192,.6) 2.2px, transparent 2.8px), radial-gradient(circle at 1px 1px, rgba(124,203,255,.6) 2.2px, transparent 2.8px),
    linear-gradient(rgba(46,42,58,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(46,42,58,.05) 1px, transparent 1px);
  background-size: 96rem 96rem, 96rem 96rem, 48rem 48rem, 48rem 48rem; background-position: 0 0, 48rem 48rem, 0 0, 0 0;
  -webkit-mask: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); mask: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ===== 起動画面（初回ロードの演出） =====
   1. グリッドとHUDが立ち上がる → 2. ロゴがグリッチで出現、文字のリングが回る
   3. ちびキャラが進捗バーを走り、起動ログが流れる → 4.「お帰りなさいませ ご主人様！」
   5. パステルの斜めスラッシュ3本が画面を横切ってトップへ */
.loader { position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; color: var(--ink); animation: ldSafety .5s 9s forwards; }
@keyframes ldSafety { to { opacity: 0; visibility: hidden; } }
.loader.is-gone { display: none; }
.loader__bg { position: absolute; inset: 0; transition: opacity .25s;
  background: radial-gradient(55% 55% at 18% 20%, rgba(255,156,198,.38), transparent 70%), radial-gradient(55% 55% at 85% 85%, rgba(143,211,255,.42), transparent 70%), radial-gradient(40% 40% at 70% 15%, rgba(214,166,242,.3), transparent 70%), #fbf8fd; }
.loader__bg::before { content: ""; position: absolute; inset: -48rem; background-image: linear-gradient(rgba(46,42,58,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(46,42,58,.06) 1px, transparent 1px); background-size: 48rem 48rem; animation: ldGrid 4s linear infinite; -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); mask: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); }
@keyframes ldGrid { to { transform: translate(48rem, 48rem); } }
.loader__bg::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(46,42,58,.035) 3px 4px); }
.loader__hearts i { position: absolute; bottom: -60rem; width: 40rem; height: 36rem; background: var(--c, var(--pink)); opacity: 0;
  clip-path: path("M20 36 C7 26 0 19 0 11 C0 4 5 0 11 0 C15 0 18 2 20 6 C22 2 25 0 29 0 C35 0 40 4 40 11 C40 19 33 26 20 36 Z"); animation: ldRise var(--d, 4s) var(--dl, 0s) linear infinite; }
@keyframes ldRise { 0% { opacity: 0; transform: translateY(0) scale(var(--s, 1)) rotate(var(--r, 0deg)); } 12% { opacity: .75; } 85% { opacity: .5; } 100% { opacity: 0; transform: translateY(-115vh) scale(var(--s, 1)) rotate(calc(var(--r, 0deg) * -1)); } }
.loader__ui { position: absolute; inset: 0; transition: opacity .2s; }
.loader.is-clear .loader__bg, .loader.is-clear .loader__ui { opacity: 0; }
.loader__hud i { position: absolute; width: 34rem; height: 34rem; border: 2px solid var(--ink); opacity: 0; animation: ldCorner .6s var(--ease) both; }
.loader__hud i:nth-child(1) { left: 28rem; top: 28rem; border-right: 0; border-bottom: 0; }
.loader__hud i:nth-child(2) { right: 28rem; top: 28rem; border-left: 0; border-bottom: 0; animation-delay: .06s; }
.loader__hud i:nth-child(3) { left: 28rem; bottom: 28rem; border-right: 0; border-top: 0; animation-delay: .12s; }
.loader__hud i:nth-child(4) { right: 28rem; bottom: 28rem; border-left: 0; border-top: 0; animation-delay: .18s; }
@keyframes ldCorner { from { opacity: 0; scale: 2.2; } to { opacity: 1; scale: 1; } }
.loader__meta { position: absolute; font-size: 11rem; color: var(--ink-2); white-space: nowrap; clip-path: inset(0 100% 0 0); animation: type .5s steps(20) .25s both; }
.loader__meta b { color: var(--pink-d); font-weight: 600; animation: blink 1s steps(1) infinite; }
.loader__meta.--tl { left: 76rem; top: 38rem; } .loader__meta.--tr { right: 76rem; top: 38rem; }
.loader__meta.--bl { left: 76rem; bottom: 38rem; } .loader__meta.--br { right: 76rem; bottom: 38rem; color: var(--pink-d); }
.loader__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 560rem; max-width: calc(100vw - 32px); display: grid; justify-items: center; }
.loader__mark { position: relative; width: 420rem; max-width: 100%; display: grid; place-items: center; }
.loader__ring { position: absolute; left: 50%; top: 50%; width: 470rem; height: 470rem; translate: -50% -50%; opacity: 0; animation: ldRingIn .8s var(--ease) .1s both, spin 22s linear infinite; }
.loader__ring text { font-family: var(--f-en); font-weight: 600; font-size: 7.4px; letter-spacing: 2.6px; fill: rgba(244,114,168,.7); }
@keyframes ldRingIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
.loader__logo { position: relative; z-index: 1; width: 100%; animation: ldFloat 2.6s 1.2s ease-in-out infinite alternate; }
.loader__logo::before { content: ""; position: absolute; inset: -10% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.loader__logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10rem 18rem rgba(143,130,220,.3)); }
.loader__logo img + img { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.loader__logo img.--a { filter: hue-rotate(-50deg) saturate(1.8); }
.loader__logo img.--b { filter: hue-rotate(140deg) saturate(1.5); }
.loader.is-on .loader__logo img:first-child { animation: ldLogo .95s .2s steps(1) both; }
.loader.is-on .loader__logo img.--a { animation: ldGhostA .95s .2s steps(1) both; }
.loader.is-on .loader__logo img.--b { animation: ldGhostB .95s .2s steps(1) both; }
.loader.is-done .loader__logo img.--a { animation: ldGhostA .5s steps(1) both; }
.loader.is-done .loader__logo img.--b { animation: ldGhostB .5s steps(1) both; }
@keyframes ldLogo { 0% { opacity: 0; } 8% { opacity: 1; clip-path: inset(34% 0 50% 0); transform: translateX(-16rem); } 16% { clip-path: inset(62% 0 10% 0); transform: translateX(12rem); } 24% { clip-path: inset(0 0 66% 0); transform: none; } 34% { clip-path: inset(10% 0 24% 0); transform: translateX(-6rem); } 46% { clip-path: inset(0 0 8% 0); transform: none; } 58%, 100% { opacity: 1; clip-path: inset(0); transform: none; } }
@keyframes ldGhostA { 0%, 100% { opacity: 0; } 10% { opacity: .7; clip-path: inset(20% 0 56% 0); transform: translateX(-22rem); } 22% { clip-path: inset(58% 0 20% 0); transform: translateX(14rem); } 36% { opacity: .5; clip-path: inset(4% 0 70% 0); transform: translateX(-8rem); } 48% { opacity: 0; } }
@keyframes ldGhostB { 0%, 100% { opacity: 0; } 14% { opacity: .7; clip-path: inset(44% 0 34% 0); transform: translateX(20rem); } 28% { clip-path: inset(12% 0 64% 0); transform: translateX(-12rem); } 40% { opacity: .5; clip-path: inset(70% 0 6% 0); transform: translateX(8rem); } 52% { opacity: 0; } }
@keyframes ldFloat { from { translate: 0 0; } to { translate: 0 -8rem; } }
.loader__stage { position: relative; width: 470rem; max-width: 100%; margin-top: 46rem; min-height: 190rem; }
.loader__prog, .loader__log { transition: opacity .35s, translate .5s var(--ease); }
.loader__prog { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20rem; opacity: 0; animation: ldFade .5s .5s both; }
@keyframes ldFade { from { opacity: 0; translate: 0 10rem; } to { opacity: 1; translate: 0 0; } }
.loader__track { position: relative; height: 12rem; margin-bottom: 8rem; border-radius: 999px; background: rgba(46,42,58,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95); }
.loader__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.5) 0 6rem, transparent 6rem 12rem), var(--grad); background-size: 17rem 17rem, 100% 100%; animation: stripe .8s linear infinite; box-shadow: 0 0 14px rgba(255,143,192,.6); }
.loader__chibi { position: absolute; left: 0; bottom: 6rem; width: 70rem; height: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 6rem 5rem rgba(46,42,58,.22)); animation: ldHop .32s ease-in-out infinite alternate; }
@keyframes ldHop { from { translate: 0 0; rotate: -4deg; } to { translate: 0 -10rem; rotate: 4deg; } }
.loader__pct { font-family: var(--f-en); font-weight: 800; line-height: .8; white-space: nowrap; }
.loader__pct b { font-size: 64rem; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__pct small { margin-left: 2rem; font-size: 20rem; color: var(--ink-2); }
.loader__log { margin-top: 22rem; padding: 0; display: grid; gap: 3rem; font-size: 12rem; letter-spacing: .12em; color: var(--ink-2); }
.loader__log li { white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); }
.loader__log li.is-show { animation: type .35s steps(26) both; }
.loader__log b { color: var(--pink-d); font-weight: 600; } .loader__log em { font-style: normal; color: var(--sky-d); }
.loader__welcome { position: absolute; left: 0; right: 0; top: 4rem; text-align: center; font-family: var(--f-jp); font-weight: 700; font-size: 34rem; line-height: 1.5; letter-spacing: .04em; pointer-events: none; }
.loader__welcome .--p, .loader__welcome .--s { display: inline-block; }
.loader__welcome .--p { color: var(--pink-d); margin-right: .35em; }
.loader__welcome .--s { color: var(--ink); }
.loader__welcome span span { display: inline-block; opacity: 0; }
.loader.is-done .loader__welcome span span { animation: ldPop .55s calc(var(--i) * 40ms) cubic-bezier(.3, 1.7, .5, 1) both; }
@keyframes ldPop { from { opacity: 0; transform: translateY(26rem) scale(.3) rotate(-14deg); } to { opacity: 1; transform: none; } }
.loader__wipe i { position: absolute; top: -20%; bottom: -20%; left: -30%; width: 160%; transform: translateX(-140%) skewX(-18deg); }
.loader__wipe i:nth-child(1) { background: linear-gradient(90deg, #ffb3d1, #ff8fc0); }
.loader__wipe i:nth-child(2) { background: linear-gradient(90deg, #e6c3f7, #d6a6f2); }
.loader__wipe i:nth-child(3) { background: linear-gradient(90deg, #b7e1ff, #7ccbff); }
.loader.is-out .loader__wipe i { animation: ldWipe 1.2s cubic-bezier(.77, 0, .18, 1) both; }
.loader.is-out .loader__wipe i:nth-child(2) { animation-delay: .08s; }
.loader.is-out .loader__wipe i:nth-child(3) { animation-delay: .16s; }
@keyframes ldWipe { 0% { transform: translateX(-140%) skewX(-18deg); } 45%, 52% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(140%) skewX(-18deg); } }
.loader.is-quick .loader__stage, .loader.is-quick .loader__meta, .loader.is-quick .loader__hud { display: none; }
.loader.is-quick .loader__logo img:first-child { animation: none; opacity: 1; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes loadOut { to { opacity: 0; visibility: hidden; } }
@media (max-width: 768px) {
  .loader__meta { font-size: 8rem; }
  .loader__meta.--tl, .loader__meta.--bl { left: 30rem; } .loader__meta.--tr, .loader__meta.--br { right: 30rem; }
  .loader__meta.--tl, .loader__meta.--tr { top: 52rem; } .loader__meta.--bl, .loader__meta.--br { bottom: 52rem; }
  .loader__meta.--tr, .loader__meta.--bl { display: none; }
  .loader__hud i { width: 22rem; height: 22rem; }
  .loader__hud i:nth-child(1), .loader__hud i:nth-child(3) { left: 14rem; } .loader__hud i:nth-child(2), .loader__hud i:nth-child(4) { right: 14rem; }
  .loader__hud i:nth-child(1), .loader__hud i:nth-child(2) { top: 40rem; } .loader__hud i:nth-child(3), .loader__hud i:nth-child(4) { bottom: 40rem; }
  .loader__core { width: 330rem; }
  .loader__mark { width: 270rem; }
  .loader__ring { width: 310rem; height: 310rem; }
  .loader__stage { width: 300rem; margin-top: 40rem; min-height: 160rem; }
  .loader__chibi { width: 54rem; }
  .loader__pct b { font-size: 44rem; }
  .loader__log { font-size: 9rem; letter-spacing: .08em; }
  .loader__welcome { font-size: 22rem; }
}

/* ===== ロゴ（ステッカー風） ===== */
.logo { display: inline-flex; align-items: center; gap: .14em; font-family: var(--f-jp); font-weight: 900; font-size: 32rem; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.logo .lg-ic { width: 1.2em; height: 1.2em; flex: none; filter: drop-shadow(0 3rem 6rem rgba(244,114,168,.35)); }
.logo b, .logo i { font-style: normal; font-weight: 900;
  text-shadow: 2rem 0 #fff, -2rem 0 #fff, 0 2rem #fff, 0 -2rem #fff, 2rem 2rem #fff, -2rem -2rem #fff, 2rem -2rem #fff, -2rem 2rem #fff, 3rem 4rem 0 rgba(78,174,233,.3); }
.logo b { color: var(--pink-d); } .logo i { color: var(--sky-d); }
.logo small { font-family: var(--f-en); font-weight: 600; font-size: .36em; letter-spacing: .3em; color: var(--ink-2); margin-left: 8rem; align-self: flex-end; margin-bottom: .12em; }

/* ===== ロゴ（画像） ===== */
.h-logo { flex: none; display: block; }
.h-logo img { width: auto; height: 66rem; filter: drop-shadow(0 6rem 10rem rgba(143,130,220,.28)); transition: transform .6s var(--ease); }
.h-logo:hover img { transform: rotate(-2deg) scale(1.04); }
.f-logo { display: inline-flex; align-items: flex-end; gap: 14rem; }
.f-logo img { width: auto; height: 74rem; }
.f-logo small { margin-bottom: 8rem; font-size: 11rem; color: var(--ink-2); }

/* ===== ヘッダー ===== */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
.header { position: fixed; z-index: 30; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 104rem; pointer-events: none;
  padding-left: max(16px, 44rem, env(safe-area-inset-left, 0px)); padding-right: max(16px, 40rem, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 28rem; }
.header > * { pointer-events: auto; }
.gnav { flex: 1; display: flex; justify-content: center; }
.gnav ul { display: flex; align-items: center; gap: 26rem; height: 50rem; padding: 0 32rem; border-radius: 999px; }
.gnav a { position: relative; display: block; font-family: var(--f-en); font-weight: 600; font-size: 19rem; letter-spacing: .08em; color: var(--pink-d); line-height: 1; transition: color .3s; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8rem; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.gnav a:hover { color: var(--sky-d); text-shadow: -1.5px 0 var(--pink), 1.5px 0 var(--sky); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.gnav a[aria-current="page"] { color: var(--ink); }
.h-join { flex: none; position: relative; display: flex; align-items: center; gap: 12rem; height: 50rem; padding: 0 8rem 0 24rem; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 16rem; letter-spacing: .16em; overflow: hidden; isolation: isolate; }
.h-join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .5s var(--ease); }
.h-join:hover::before { opacity: 1; }
.h-join i { display: grid; place-items: center; width: 34rem; height: 34rem; border-radius: 50%; background: #fff; color: var(--ink); }
.h-join i svg { width: 14rem; height: 10rem; }
.h-x { flex: none; display: grid; place-items: center; width: 50rem; height: 50rem; border-radius: 50%; transition: transform .5s var(--ease); }
.h-x:hover { transform: rotate(-8deg); }
.h-x svg { width: 17rem; height: 17rem; fill: var(--ink); }
.contact-badge { position: fixed; z-index: 31; top: calc(env(safe-area-inset-top, 0px) + 112rem); right: max(26rem, env(safe-area-inset-right, 0px)); width: 104rem; height: 104rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--pink), var(--pink-d)); box-shadow: 0 14rem 26rem -12rem rgba(244,114,168,.85); transition: transform .6s var(--ease); }
.contact-badge:hover { transform: scale(1.06); }
.contact-badge svg { position: absolute; inset: 6rem; width: calc(100% - 12rem); height: calc(100% - 12rem); animation: spin 16s linear infinite; }
.contact-badge svg text { font-family: var(--f-en); font-weight: 600; font-size: 11.5px; letter-spacing: 3.4px; fill: #fff; }
.contact-badge b { width: 0; height: 0; border: 8rem solid transparent; border-top: 10rem solid #fff; border-bottom: 0; }
@keyframes spin { to { rotate: 360deg; } }
.menu-btn { display: none; }
.sp-menu { position: fixed; inset: 0; z-index: 29; background: rgba(255,255,255,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 100rem) max(28rem, env(safe-area-inset-right, 0px)) 40rem max(28rem, env(safe-area-inset-left, 0px)); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu-open .sp-menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.sp-link { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--hair); padding: 12rem 2rem; font-family: var(--f-en); font-weight: 700; font-size: 36rem; letter-spacing: .06em; line-height: 1.2; color: var(--pink-d); }
.sp-link small { font-family: var(--f-jp); font-size: 11rem; color: var(--ink-2); font-weight: 500; }
.sp-menu .btn { margin-top: 30rem; }

/* ===== 斜めスラッシュとハート ===== */
.particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.particle { position: absolute; --radius: 12rem; width: 24rem; height: 120rem; transform-origin: left bottom; border-radius: 0 var(--radius); transform: skewX(32deg); opacity: .9;
  clip-path: inset(0 0 0 0); animation: particleWipe var(--dur, 7s) cubic-bezier(.87,0,.13,1) var(--delay, 0s) infinite both; }
.particle.--right { border-radius: var(--radius) 0; transform: skewX(-32deg); transform-origin: right bottom; }
.particle.--small { --radius: 9rem; width: 18rem; height: 90rem; }
.particle.--thin { --radius: 3rem; width: 12rem; height: 104rem; }
.particle.--thick { --radius: 12rem; width: 40rem; height: 150rem; }
.particle.--big { --radius: 12rem; width: 40rem; height: 200rem; }
.particle.--black { background: #b9a3f0; } .particle.--blue { background: var(--sky-d); } .particle.--pink { background: var(--pink); }
.particle.--heart { width: 40rem; height: 36rem; border-radius: 0; transform: rotate(var(--r, -12deg));
  clip-path: path("M20 36 C7 26 0 19 0 11 C0 4 5 0 11 0 C15 0 18 2 20 6 C22 2 25 0 29 0 C35 0 40 4 40 11 C40 19 33 26 20 36 Z"); animation: heartPop var(--dur, 7s) cubic-bezier(.87,0,.13,1) var(--delay, 0s) infinite both; }
.particle.--heart.--s { width: 26rem; height: 24rem; clip-path: path("M13 23.4 C4.5 16.9 0 12.4 0 7.2 C0 2.6 3.3 0 7.2 0 C9.8 0 11.7 1.3 13 3.9 C14.3 1.3 16.2 0 18.8 0 C22.8 0 26 2.6 26 7.2 C26 12.4 21.5 16.9 13 23.4 Z"); }
@keyframes particleWipe { 0% { clip-path: inset(0 0 0 0); } 15% { clip-path: inset(100% 0 0 0); } 20% { clip-path: inset(0 0 100% 0); } 35%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes heartPop { 0%, 40%, 100% { scale: 1; } 10% { scale: 0; } 22% { scale: 1.25; } }

/* ===== セクション見出し（横一列のHUD型） ===== */
.sec-head { position: relative; display: flex; align-items: flex-end; gap: 22rem; }
.sec-head__icon { flex: none; width: 112rem; height: 58rem; align-self: flex-start; margin-top: 6rem; transform-origin: 50% 90%; animation: sway 3.6s ease-in-out infinite; filter: drop-shadow(0 6rem 10rem rgba(244,114,168,.28)); }
@keyframes sway { 0%, 100% { rotate: -7deg; } 50% { rotate: 5deg; } }
.sec-head__en { font-family: var(--f-en); font-weight: 700; font-size: 132rem; line-height: .82; letter-spacing: -.005em; padding-right: .04em; filter: drop-shadow(-2px 0 rgba(255,143,192,.45)) drop-shadow(2px 0 rgba(124,203,255,.45)); }
.sec-head__side { display: grid; gap: 4rem; padding-bottom: 6rem; flex: none; }
.sec-head__jp { display: flex; align-items: center; gap: 8rem; font-weight: 800; font-size: 22rem; color: var(--pink-d); letter-spacing: .1em; line-height: 1.3; }
.sec-head__jp::after { content: ""; width: 8rem; height: 18rem; background: var(--pink-d); animation: blink 1s steps(1) infinite; }
.sec-head__code { font-size: 11rem; color: var(--ink-2); }
.sec-head__line { flex: 1; height: 1px; margin-bottom: 14rem; background: linear-gradient(90deg, var(--pink), var(--sky), transparent); }
@keyframes blink { 50% { opacity: 0; } }

/* ===== ボタン ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22rem; min-width: 230rem; height: 60rem; padding: 0 8rem 0 28rem; border-radius: 999px;
  border: 1px solid var(--ink); font-family: var(--f-en); font-weight: 600; font-size: 17rem; letter-spacing: .2em; color: var(--ink); background: rgba(255,255,255,.6); overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0 at calc(100% - 30rem) 50%); transition: clip-path .7s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { clip-path: circle(150% at calc(100% - 30rem) 50%); }
.btn i { display: grid; place-items: center; width: 44rem; height: 44rem; border-radius: 50%; background: var(--grad); color: #fff; transition: transform .6s var(--ease); }
.btn:hover i { transform: rotate(-45deg); }
.btn i svg { width: 16rem; height: 12rem; }
.btn.--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.--ink::before { background: var(--pink-d); }
.btn span { position: relative; }
.btns { display: flex; flex-wrap: wrap; gap: 14rem; }
.btns.--center { justify-content: center; }
.sec-more { margin-top: 44rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 14rem; }
.btn:hover span { text-shadow: -1px 0 var(--pink), 1px 0 var(--sky); }

/* ===== Reveal（初期状態でも表示） ===== */
.js .rv { transition: translate 1.1s var(--ease); }
.js .rv:not(.is-in) { translate: 0 36rem; }

/* ===== HERO（ボードの前に集合写真が画面いっぱいにはみ出す） ===== */
.hero { --u: calc(100cqw / 1440); position: relative; container-type: inline-size; overflow: hidden; }
.hero__wrap { position: relative; z-index: 2; height: calc(1000 * var(--u)); }
.board { position: absolute; z-index: 1; left: calc(110 * var(--u)); right: calc(110 * var(--u)); top: calc(140 * var(--u)); bottom: calc(-80 * var(--u)); border-radius: calc(44 * var(--u)); overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.82), rgba(255,255,255,.5)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.95); box-shadow: 0 40rem 80rem -50rem rgba(46,42,58,.45), inset 0 1px 0 #fff; }
.board::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 10%, rgba(143,211,255,.28), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(255,156,198,.28), transparent 60%); }
.floor { position: absolute; z-index: 0; left: -20%; right: -20%; bottom: -8%; height: 44%; pointer-events: none; transform: perspective(500px) rotateX(72deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(244,114,168,.55) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(78,174,233,.5) 1.5px, transparent 1.5px);
  background-size: 64px 64px; animation: floor 2.4s linear infinite; -webkit-mask: linear-gradient(to top, #000 10%, transparent 90%); mask: linear-gradient(to top, #000 10%, transparent 90%); }
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.scan { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(46,42,58,.03) 3px 4px); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, transparent, rgba(143,211,255,.14) 70%, rgba(255,255,255,.45) 98%, transparent); animation: scanBar 6s linear infinite; }
@keyframes scanBar { to { top: 110%; } }
.hud-corners i { position: absolute; z-index: 7; width: 26rem; height: 26rem; border: 2px solid var(--ink); pointer-events: none; }
.hud-corners i:nth-child(1) { left: 18rem; top: 18rem; border-right: 0; border-bottom: 0; }
.hud-corners i:nth-child(2) { right: 18rem; top: 18rem; border-left: 0; border-bottom: 0; }
.hud-corners i:nth-child(3) { left: 18rem; bottom: 18rem; border-right: 0; border-top: 0; }
.hud-corners i:nth-child(4) { right: 18rem; bottom: 18rem; border-left: 0; border-top: 0; }
/* 写真より前に出るHUD（ボードの上辺に重ねる） */
.hero__hud { position: absolute; z-index: 6; left: calc(110 * var(--u)); right: calc(110 * var(--u)); top: calc(140 * var(--u)); height: calc(200 * var(--u)); pointer-events: none; }
.board__meta { position: absolute; z-index: 7; left: 50rem; right: 50rem; top: 22rem; display: flex; justify-content: space-between; gap: 20rem; font-size: 12rem; color: var(--ink-2); }
.board__meta > span { display: inline-flex; align-items: center; gap: 8rem; white-space: nowrap; padding: 6rem 14rem; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8rem 18rem -12rem rgba(46,42,58,.5); }
.board__meta b { color: var(--pink-d); font-weight: 600; }
.board__meta em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }
.sig { display: inline-flex; align-items: flex-end; gap: 2rem; height: 12rem; }
.sig i { width: 3rem; background: var(--sky-d); border-radius: 1rem; animation: sig 1.6s steps(1) infinite; }
.sig i:nth-child(1) { height: 4rem; } .sig i:nth-child(2) { height: 7rem; animation-delay: .2s; } .sig i:nth-child(3) { height: 10rem; animation-delay: .4s; } .sig i:nth-child(4) { height: 12rem; animation-delay: .6s; background: var(--pink-d); }
@keyframes sig { 50% { opacity: .25; } }
.pcvr { padding: 1rem 10rem; border-radius: 999px; background: var(--grad); color: #fff; letter-spacing: .16em; }
/* 大きな文字（固定・ボードの中） */
.hero__title { position: absolute; z-index: 2; left: calc(40 * var(--u)); right: calc(40 * var(--u)); top: calc(66 * var(--u)); height: calc(150 * var(--u)); margin: 0; animation: rgb 7s steps(1) infinite; }
@keyframes rgb { 0%, 91%, 100% { transform: none; } 92% { transform: translate(3rem, -1rem) skewX(-2deg); } 93% { transform: translate(-4rem, 1rem); } 94% { transform: none; } 96% { transform: translate(2rem, 0) skewX(3deg); } 97% { transform: none; } }
.hero__title .lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
.hero__title .lines--sp { display: none; }
.fit { display: block; width: max-content; white-space: nowrap; font-family: var(--f-en); font-weight: 800; line-height: .86; letter-spacing: -.005em; color: var(--ink); font-size: 200px; filter: drop-shadow(-2px 0 rgba(255,143,192,.55)) drop-shadow(2px 0 rgba(124,203,255,.55)); }
.fit .o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.fit .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .03em; }
/* 集合写真（ボードの前・画面いっぱい） */
.hero__fig { position: absolute; z-index: 3; left: 50%; bottom: calc(-262 * var(--u)); width: calc(1520 * var(--u)); translate: -50% 0; pointer-events: none; will-change: transform; }
.hero__slides { position: relative; aspect-ratio: 2000 / 1271; animation: scanIn 1.2s .2s var(--ease) both, breathe 6s 1.5s ease-in-out infinite alternate; }
html:not(.is-ready) .hero__slides, html:not(.is-ready) .hero__scanline:not(.is-run) { animation-play-state: paused; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; filter: drop-shadow(0 calc(16 * var(--u)) calc(26 * var(--u)) rgba(46,42,58,.18)); transition: opacity .7s var(--ease), visibility 0s .7s; }
.hero__slides img.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .7s var(--ease); }
.hero__slides img.is-in { transition: none; animation: glitchIn .9s steps(1) both; }
@keyframes glitchIn { 0% { clip-path: inset(0 0 100% 0); } 8% { clip-path: inset(12% 0 68% 0); transform: translateX(calc(-18 * var(--u))); } 16% { clip-path: inset(44% 0 30% 0); transform: translateX(calc(14 * var(--u))); } 24% { clip-path: inset(0 0 56% 0); transform: none; } 32% { clip-path: inset(30% 0 0 0); transform: translateX(calc(-8 * var(--u))); } 40% { clip-path: inset(0 0 22% 0); transform: none; } 48%, 100% { clip-path: inset(0); transform: none; } }
@keyframes scanIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes breathe { from { transform: translateY(0); } to { transform: translateY(calc(-8 * var(--u))); } }
.hero__glitch { position: absolute; inset: 0; z-index: 2; background-image: var(--src, none); background-position: 0 0; background-size: 100% 100%; background-repeat: no-repeat; opacity: 0; pointer-events: none; animation: glitchA 7s steps(1) infinite; }
.hero__glitch.--b { animation-name: glitchB; filter: grayscale(1) sepia(1) hue-rotate(160deg) saturate(2.4) brightness(1.06); }
.hero__fig.is-burst .hero__glitch { animation: burstA .8s steps(1) both; }
.hero__fig.is-burst .hero__glitch.--b { animation: burstB .8s steps(1) both; }
@keyframes burstA { 0% { opacity: 1; clip-path: inset(14% 0 72% 0); transform: translateX(calc(-22 * var(--u))); } 14% { clip-path: inset(52% 0 32% 0); transform: translateX(calc(16 * var(--u))); } 28% { clip-path: inset(76% 0 10% 0); transform: translateX(calc(-10 * var(--u))); } 42%, 100% { opacity: 0; } }
@keyframes burstB { 0% { opacity: .85; clip-path: inset(34% 0 52% 0); transform: translateX(calc(18 * var(--u))); } 18% { clip-path: inset(6% 0 84% 0); transform: translateX(calc(-14 * var(--u))); } 36%, 100% { opacity: 0; } }
@keyframes glitchA { 0%, 91%, 100% { opacity: 0; } 92% { opacity: 1; clip-path: inset(20% 0 68% 0); transform: translateX(calc(-16 * var(--u))); } 93% { clip-path: inset(46% 0 42% 0); transform: translateX(calc(12 * var(--u))); } 94% { opacity: 0; } 96% { opacity: 1; clip-path: inset(70% 0 20% 0); transform: translateX(calc(-8 * var(--u))); } 97% { opacity: 0; } }
@keyframes glitchB { 0%, 91%, 100% { opacity: 0; } 92% { opacity: .85; clip-path: inset(30% 0 62% 0); transform: translateX(calc(14 * var(--u))); } 93% { clip-path: inset(58% 0 34% 0); transform: translateX(calc(-10 * var(--u))); } 94% { opacity: 0; } }
.hero__scanline { position: absolute; z-index: 3; left: -4%; right: -4%; top: 0; height: 3px; background: var(--grad); box-shadow: 0 0 14px rgba(255,143,192,.9), 0 0 30px rgba(124,203,255,.7); opacity: 0; pointer-events: none; animation: scanLine 1.2s .2s var(--ease) forwards; }
.hero__scanline.is-run { animation: scanLine .9s var(--ease) forwards; }
@keyframes scanLine { 0% { opacity: 1; top: 0; } 90% { opacity: 1; } 100% { opacity: 0; top: 100%; } }
/* 写真のページ送り（右下） */
.hero__pager { position: absolute; z-index: 8; right: calc(64 * var(--u)); bottom: calc(150 * var(--u)); display: flex; align-items: center; gap: 14rem; padding: 8rem 10rem 12rem; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 16rem 30rem -16rem rgba(46,42,58,.55); }
.hero__pager .arr { display: grid; place-items: center; width: 40rem; height: 40rem; border-radius: 50%; border: 1px solid var(--hair); transition: background .4s, color .4s, border-color .4s; }
.hero__pager .arr:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__pager .arr svg { width: 13rem; height: 13rem; }
.hero__pager__no { font-size: 11rem; color: var(--ink-2); white-space: nowrap; }
.hero__pager__no b { font-size: 18rem; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.hero__pager__dots { display: flex; align-items: center; gap: 8rem; }
.hero__pager__dots button { width: 8rem; height: 8rem; border-radius: 999px; background: rgba(46,42,58,.22); transition: width .6s var(--ease), background .4s; }
.hero__pager__dots button[aria-current="true"] { width: 30rem; background: var(--grad); }
.hero__pager__bar { position: absolute; left: 60rem; right: 60rem; bottom: 6rem; height: 2px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.hero__pager__bar::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; animation: progress var(--int, 5.2s) linear forwards; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* 本と吹き出し（はじめての方へ） */
.hero__book { position: absolute; z-index: 8; left: calc(56 * var(--u)); bottom: calc(110 * var(--u)); width: 236rem; }
.hero__book .book { position: relative; display: block; width: 180rem; height: 180rem; margin-left: 20rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 20rem 40rem -20rem rgba(46,42,58,.45); transition: transform .6s var(--ease); }
.hero__book .book::before { content: ""; position: absolute; left: 32rem; top: 26rem; width: 116rem; height: 132rem; border-radius: 10rem 14rem 14rem 10rem; background: linear-gradient(90deg, var(--pink-d) 0 12rem, var(--pink) 12rem 100%); transform: rotate(-10deg); box-shadow: 6rem 6rem 0 var(--sky); }
.hero__book .book::after { content: ""; position: absolute; left: 52rem; top: 38rem; width: 88rem; height: 106rem; border: 2rem dashed rgba(255,255,255,.8); border-radius: 4rem 8rem 8rem 4rem; transform: rotate(-10deg); }
.hero__book .book svg { position: absolute; z-index: 1; left: 58rem; top: 50rem; width: 72rem; height: 72rem; transform: rotate(-10deg); }
.hero__book .book em { position: absolute; z-index: 1; left: 70rem; top: 118rem; font-style: normal; font-family: var(--f-en); font-weight: 700; font-size: 16rem; letter-spacing: .2em; color: #fff; transform: rotate(-10deg); }
.hero__book:hover .book { transform: rotate(-6deg) scale(1.05); }
.hero__bubble { position: absolute; left: -4rem; top: -66rem; padding: 10rem 18rem; background: #fff; border: 2.5rem solid var(--ink); border-radius: 16rem; font-weight: 800; font-size: 15rem; line-height: 1.4; text-align: left; white-space: nowrap; rotate: -8deg; }
.hero__bubble b { color: var(--pink-d); }
.hero__bubble::before { content: ""; position: absolute; left: 50rem; bottom: -20rem; width: 26rem; height: 20rem; background: var(--ink); clip-path: polygon(0 0, 100% 0, 30% 100%); }
.hero__bubble::after { content: ""; position: absolute; left: 53rem; bottom: -14rem; width: 20rem; height: 15rem; background: #fff; clip-path: polygon(0 0, 100% 0, 30% 100%); }
.hero__open { position: absolute; right: -10rem; top: 120rem; display: flex; align-items: center; gap: 6rem; padding: 0 10rem; background: #fff; border-radius: 6rem; font-family: var(--f-en); font-weight: 700; font-size: 20rem; letter-spacing: .06em; rotate: -8deg; }
.hero__open::before { content: ""; border: 7rem solid transparent; border-right: 11rem solid var(--pink-d); border-left: 0; }
.hero__scroll { position: absolute; z-index: 8; left: 0; right: 0; bottom: calc(30 * var(--u)); margin: 0 auto; width: 88rem; height: 88rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 16rem 30rem -16rem rgba(46,42,58,.5); display: grid; place-content: center; justify-items: center; gap: 4rem; font-family: var(--f-en); font-weight: 700; font-size: 12rem; letter-spacing: .2em; color: var(--ink); }
.hero__scroll svg { width: 24rem; height: 14rem; color: var(--pink-d); animation: bob 1.6s var(--ease-io) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(-2rem); } 50% { transform: translateY(4rem); } }

/* ===== ネオンの帯 ===== */
.band { position: relative; z-index: 3; height: 120rem; display: flex; align-items: center; overflow: hidden; background: #221d31; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(255,143,192,.8); }
.band::before { top: 0; } .band::after { bottom: 0; }
.band__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.band__item { display: flex; align-items: center; gap: 40rem; padding-right: 40rem; font-family: var(--f-en); font-weight: 700; font-size: 72rem; letter-spacing: .06em; line-height: 1; white-space: nowrap; color: #ffe4f1; text-shadow: 0 0 8px rgba(255,143,192,.9), 0 0 22px rgba(255,143,192,.5); }
.band__item .o { color: transparent; -webkit-text-stroke: 1.5px #a8ddff; text-shadow: 0 0 10px rgba(124,203,255,.9); }
.band__item i { font-style: normal; font-size: .5em; color: #ff9cc6; text-shadow: 0 0 10px rgba(255,143,192,1); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== NEWS（ベント型） ===== */
.news { padding-top: 170rem; }
.news__bento { margin-top: 56rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22rem; }
.card { position: relative; display: flex; flex-direction: column; padding: 16rem 14rem 0; border-radius: 24rem; overflow: hidden; isolation: isolate; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 0; background: linear-gradient(180deg, rgba(143,211,255,.25), rgba(143,211,255,.55)); transition: height .5s var(--ease); }
.card:hover::before { top: auto; bottom: 46rem; height: calc(100% - 46rem); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.75) 32%, rgba(255,175,215,.5) 40%, rgba(160,220,255,.55) 48%, rgba(255,255,255,.7) 54%, transparent 66%); background-size: 250% 250%; background-position: 100% 0; mix-blend-mode: soft-light; }
.card:hover { transform: translateY(-8rem); box-shadow: 0 30rem 50rem -30rem rgba(244,114,168,.55); }
.card:hover::after { opacity: 1; animation: holo 1.2s var(--ease) both; }
@keyframes holo { from { background-position: 100% 0; } to { background-position: 0 100%; } }
.card.--feature { grid-row: 1 / 3; }
.card__cat { align-self: flex-start; min-width: 104rem; margin-bottom: 12rem; padding: 2rem 16rem; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; font-size: 13rem; letter-spacing: .08em; text-align: center; line-height: 1.7; }
.card__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16rem; }
.card.--feature .card__thumb { aspect-ratio: auto; flex: 1; min-height: 300rem; }
.card__thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(255,255,255,.12) 2px 3px); }
.card__thumb > div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; transition: transform 1s var(--ease); }
.card:hover .card__thumb > div { transform: scale(1.06); }
.th { color: #fff; font-family: var(--f-en); font-weight: 700; font-size: 30rem; line-height: .95; letter-spacing: .06em; }
.th small { display: block; margin-top: 10rem; font-family: var(--f-jp); font-size: 11rem; font-weight: 700; letter-spacing: .12em; }
.th-1 { background: var(--grad); }
.th-logo { background: linear-gradient(150deg, #fff, #fdeef6 60%, #eaf6ff); }
.th-logo img { width: 78%; height: auto; filter: drop-shadow(0 6rem 10rem rgba(143,130,220,.25)); }
.th-img { background: linear-gradient(150deg, #fff0f7, #e8f5ff); }
.th-img img { width: 100%; height: 100%; object-fit: cover; }
.th-img.--group img { object-position: 50% 10%; }
.th-2 { background: linear-gradient(135deg, #8fd3ff, #c4b5f7); }
.th-3 { background: linear-gradient(135deg, #ffa8cc, #c9b3f5); }
.card.--feature .th { font-size: 60rem; }
.card__meta { margin-top: 14rem; display: flex; align-items: center; justify-content: space-between; padding: 0 4rem; }
.card__date { font-family: var(--f-en); font-weight: 600; font-size: 14rem; letter-spacing: .12em; color: var(--ink-2); }
.card__title { margin: 6rem 0 16rem; padding: 0 4rem; font-weight: 700; font-size: 14rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card.--feature .card__title { font-size: 20rem; -webkit-line-clamp: 3; }
.card__check { margin: auto -14rem 0; height: 46rem; display: flex; align-items: center; justify-content: center; gap: 6rem; background: linear-gradient(90deg, var(--pink), var(--pink-d)); color: #fff; font-family: var(--f-en); font-weight: 700; font-size: 17rem; letter-spacing: .14em; }
.card__check i { font-style: normal; font-size: 13rem; transition: transform .4s var(--ease); }
.card:hover .card__check i { transform: scale(1.5); }
.news__foot { margin-top: 40rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40rem; align-items: start; }
.news__list { border-top: 1px solid var(--hair); }
.news__list li a { position: relative; display: grid; grid-template-columns: 110rem 90rem minmax(0, 1fr) 20rem; gap: 18rem; align-items: center; padding: 18rem 4rem; border-bottom: 1px solid var(--hair); transition: padding .6s var(--ease); }
.news__list li a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.news__list li a:hover { padding-left: 14rem; }
.news__list li a:hover::after { transform: scaleX(1); }
.news__list time { font-family: var(--f-en); font-weight: 600; font-size: 15rem; letter-spacing: .12em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.news__list .cat { font-family: var(--f-en); font-weight: 600; font-size: 11rem; letter-spacing: .2em; text-align: center; border: 1px solid var(--hair); border-radius: 999px; line-height: 2; }
.news__list .t { font-weight: 700; min-width: 0; }
.news__list svg { width: 14rem; height: 10rem; opacity: .5; }

/* ===== ABOUT（はみ出す集合絵＋ガラスカード） ===== */
.about { padding-top: 200rem; }
.about__wrap { position: relative; margin-top: 50rem; min-height: 640rem; }
.about__bg { position: absolute; z-index: 0; right: -120rem; top: 70rem; font-family: var(--f-en); font-weight: 800; font-size: 190rem; line-height: .82; color: transparent; -webkit-text-stroke: 1.5px rgba(46,42,58,.12); white-space: nowrap; text-align: right; pointer-events: none; }
.about__visual { position: absolute; z-index: 1; right: -130rem; top: -10rem; width: 1040rem; aspect-ratio: 3 / 2; }
.about__visual::before { content: ""; position: absolute; inset: 14% 8% 0; border-radius: 999px 999px 40rem 40rem; background: radial-gradient(60% 70% at 50% 70%, rgba(255,156,198,.38), transparent 70%), radial-gradient(50% 60% at 20% 60%, rgba(143,211,255,.38), transparent 70%); }
.about__visual img { position: relative; width: 100%; height: 100%; object-fit: contain; -webkit-mask: linear-gradient(to bottom, #000 88%, transparent); mask: linear-gradient(to bottom, #000 88%, transparent); }
.about__card { position: relative; z-index: 2; width: 520rem; margin-top: 150rem; padding: 40rem 42rem 40rem; border-radius: 30rem; }
.about__card::before, .about__card::after { content: ""; position: absolute; width: 22rem; height: 22rem; border: 2px solid var(--ink); }
.about__card::before { left: 14rem; top: 14rem; border-right: 0; border-bottom: 0; }
.about__card::after { right: 14rem; bottom: 14rem; border-left: 0; border-top: 0; }
.about__script { width: fit-content; font-family: var(--f-jp); font-weight: 700; font-size: 24rem; line-height: 1.4; letter-spacing: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__lead { margin-top: 12rem; font-weight: 800; font-size: 28rem; line-height: 1.6; letter-spacing: .06em; }
.about__text { margin-top: 18rem; display: grid; gap: 12rem; color: var(--ink-2); line-height: 2; font-size: 14rem; }
.flow { margin-top: 22rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6rem; }
.flow li { display: flex; align-items: center; gap: 6rem; }
.flow li span { padding: 3rem 12rem; border-radius: 999px; background: var(--pink-l); font-weight: 800; font-size: 12rem; color: var(--pink-d); line-height: 1.6; }
.flow li:nth-child(even) span { background: var(--sky-l); color: var(--sky-d); }
.flow li:not(:last-child)::after { content: "▸"; font-size: 10rem; line-height: 1; color: var(--pink); }
.about__btn { margin-top: 28rem; }

/* ===== MAIDS（集合写真＋在籍数） ===== */
.maids { padding-top: 200rem; }
.cast { margin-top: 50rem; display: grid; gap: 22rem; }
.cast > * { min-width: 0; }
.cast__fig { position: relative; margin: 0; padding: 64rem 24rem 0; border-radius: 36rem; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.78), rgba(255,255,255,.36)); border: 1px solid #fff; box-shadow: 0 40rem 80rem -50rem rgba(46,42,58,.4), inset 0 1px 0 #fff; isolation: isolate; }
.cast__fig::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 40%, rgba(255,156,198,.32), transparent 70%), radial-gradient(40% 50% at 90% 90%, rgba(143,211,255,.35), transparent 70%); }
.cast__fig img { position: relative; z-index: 1; display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); transform-origin: 50% 100%; }
.cast__fig:hover img { transform: scale(1.02); }
.cast__hud { position: absolute; z-index: 3; left: 56rem; top: 24rem; font-size: 11rem; color: var(--ink-2); }
.cast__hud b { color: var(--pink-d); font-weight: 600; }
.cast__tags { position: absolute; z-index: 3; left: 24rem; right: 24rem; bottom: 22rem; height: 0; }
.cast__tags li { position: absolute; left: var(--x); bottom: 0; translate: -50% 0; display: inline-flex; align-items: center; gap: 6rem; padding: 6rem 14rem; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 10rem 20rem -12rem rgba(46,42,58,.55); font-weight: 800; font-size: 14rem; white-space: nowrap; }
.cast__tags li::before { content: ""; width: 9rem; height: 9rem; border-radius: 50%; background: var(--c); }
.cast__info { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) 330rem; gap: 20rem 44rem; align-items: center; padding: 34rem 44rem; border-radius: 28rem; }
.cast__info > div { min-width: 0; }
.cast__info::before, .cast__info::after { content: ""; position: absolute; width: 20rem; height: 20rem; border: 2px solid var(--ink); }
.cast__info::before { left: 12rem; top: 12rem; border-right: 0; border-bottom: 0; }
.cast__info::after { right: 12rem; bottom: 12rem; border-left: 0; border-top: 0; }
.cast__label { font-size: 12rem; letter-spacing: .3em; color: var(--ink-2); }
.cast__num { margin-top: 6rem; display: flex; align-items: flex-start; font-family: var(--f-en); font-weight: 800; font-size: 130rem; line-height: .85; }
.cast__num i { font-style: normal; font-size: .5em; line-height: 1; color: var(--pink-d); margin-left: 4rem; }
.cast__lead { font-weight: 900; font-size: 22rem; letter-spacing: .04em; }
.cast__text { margin-top: 10rem; color: var(--ink-2); line-height: 2; font-size: 14rem; }
.cast__load { margin-top: 0; }
.cast__load p { display: flex; justify-content: space-between; font-size: 11rem; letter-spacing: .16em; color: var(--ink-2); }
.cast__load b { color: var(--pink-d); font-weight: 600; animation: blink 1.2s steps(1) infinite; }
.cast__load i { position: relative; display: block; margin-top: 8rem; height: 8rem; border-radius: 999px; background: rgba(46,42,58,.08); overflow: hidden; }
.cast__load i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 64%; border-radius: inherit; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.5) 0 6rem, transparent 6rem 12rem), var(--grad); background-size: 17rem 17rem, 100% 100%; animation: stripe 1s linear infinite; }
@keyframes stripe { to { background-position: 17rem 0, 0 0; } }
.cast__info .btn { margin-top: 18rem; width: 100%; }

/* ===== SCHEDULE（ベント型） ===== */
.schedule { padding-top: 200rem; }
.sbento { margin-top: 56rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22rem; }
.sbento > * { min-width: 0; }
.ticket { grid-column: 1 / 3; grid-row: 1 / 3; position: relative; padding: 40rem 42rem 34rem; border-radius: 32rem; overflow: hidden; }
.ticket::before { content: ""; position: absolute; right: -120rem; top: -120rem; width: 360rem; height: 360rem; border-radius: 50%; background: radial-gradient(circle, rgba(255,156,198,.5), transparent 65%); pointer-events: none; }
.ticket::after { content: ""; position: absolute; left: -100rem; bottom: -140rem; width: 340rem; height: 340rem; border-radius: 50%; background: radial-gradient(circle, rgba(143,211,255,.5), transparent 65%); pointer-events: none; }
.ticket > * { position: relative; z-index: 1; }
.ticket .holo { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7; mix-blend-mode: soft-light; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.75) 32%, rgba(255,175,215,.5) 40%, rgba(160,220,255,.55) 48%, rgba(255,255,255,.7) 54%, transparent 66%); background-size: 250% 250%; animation: holoLoop 6s ease-in-out infinite alternate; }
@keyframes holoLoop { from { background-position: 100% 0; } to { background-position: 0 100%; } }
.ticket__head { display: flex; justify-content: space-between; padding-bottom: 14rem; border-bottom: 1px solid var(--hair); font-size: 12rem; color: var(--ink-2); }
.ticket__date { margin-top: 26rem; font-family: var(--f-en); font-weight: 800; font-size: 170rem; line-height: .86; letter-spacing: -.01em; }
.ticket__date small { font-size: 42rem; font-weight: 600; letter-spacing: .2em; margin-left: 14rem; -webkit-text-fill-color: var(--ink-2); }
.ticket__time { margin-top: 12rem; font-family: var(--f-en); font-weight: 600; font-size: 24rem; letter-spacing: .16em; }
.count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28rem; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.count div { padding: 14rem 4rem 12rem; text-align: center; }
.count div + div { border-left: 1px solid var(--hair); }
.count b { display: block; font-family: var(--f-en); font-weight: 700; font-size: 48rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.count b.flash { animation: flash .5s steps(2) 1; }
@keyframes flash { 0% { color: var(--pink-d); text-shadow: 0 0 10px rgba(255,143,192,.9); } 100% { color: var(--ink); } }
.count span { font-family: var(--f-en); font-weight: 600; font-size: 11rem; letter-spacing: .3em; color: var(--ink-2); }
.ticket__note { margin-top: 16rem; font-size: 13rem; color: var(--ink-2); }
.ticket__note strong { color: var(--ink); }
.ticket__code { display: flex; align-items: center; justify-content: space-between; gap: 14rem; margin-top: 16rem; font-size: 11rem; color: var(--ink-2); }
.ticket__code i { flex: 1; height: 26rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2rem, transparent 2rem 4rem, var(--ink) 4rem 5rem, transparent 5rem 8rem, var(--ink) 8rem 11rem, transparent 11rem 12rem, var(--ink) 12rem 13rem, transparent 13rem 16rem); opacity: .75; }
.bcard { position: relative; padding: 28rem 30rem; border-radius: 26rem; }
.bcard__label { font-size: 12rem; color: var(--ink-2); display: flex; justify-content: space-between; }
.bcard__label b { color: var(--pink-d); font-weight: 600; }
.b-upcoming { grid-column: 3 / 5; }
.upcoming { margin-top: 16rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10rem; }
.upcoming li { padding: 14rem 6rem; border-radius: 16rem; background: rgba(255,255,255,.7); text-align: center; font-family: var(--f-en); font-weight: 700; font-size: 26rem; line-height: 1.1; letter-spacing: .04em; }
.upcoming li small { display: block; font-size: 11rem; font-weight: 600; letter-spacing: .24em; color: var(--ink-2); margin-top: 4rem; }
.upcoming li:first-child { background: var(--grad); color: #fff; }
.upcoming li:first-child small { color: #fff; }
.b-spec { grid-column: 3 / 5; }
.spec { margin-top: 10rem; }
.spec div { display: grid; grid-template-columns: 120rem minmax(0, 1fr); padding: 11rem 0; border-bottom: 1px solid var(--hair); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-family: var(--f-en); font-weight: 600; font-size: 12rem; letter-spacing: .24em; color: var(--ink-2); }
.spec dd { font-weight: 700; font-size: 14rem; }
.num { font-family: var(--f-en); font-weight: 700; font-size: 1.2em; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.b-step { counter-increment: st; }
.sbento { counter-reset: st; }
.b-step::before { content: counter(st, decimal-leading-zero); display: block; width: fit-content; font-family: var(--f-en); font-weight: 700; font-size: 40rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-step h3 { margin-top: 12rem; font-size: 16rem; font-weight: 800; line-height: 1.5; }
.b-step p { margin-top: 6rem; font-size: 13rem; color: var(--ink-2); line-height: 1.85; }

/* ===== MENU（互い違い） ===== */
.menu { padding-top: 200rem; }
.menu__lead { margin-top: 26rem; color: var(--ink-2); max-width: 40em; }
.menu__list { margin-top: 50rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40rem 30rem; padding-bottom: 80rem; }
.menu__list li:nth-child(3n+2) { translate: 0 80rem; }
.menu__list li:nth-child(3n+3) { translate: 0 30rem; }
.dish__thumb { position: relative; aspect-ratio: 408 / 300; border-radius: 26rem; overflow: hidden; box-shadow: 0 30rem 50rem -36rem rgba(46,42,58,.55); }
.dish__thumb > div { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-en); font-weight: 800; font-size: 86rem; letter-spacing: .04em; color: rgba(255,255,255,.95); transition: transform 1.1s var(--ease); }
.dish__thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.75) 32%, rgba(255,175,215,.5) 40%, rgba(160,220,255,.55) 48%, rgba(255,255,255,.7) 54%, transparent 66%); background-size: 250% 250%; background-position: 100% 0; mix-blend-mode: soft-light; }
.dish:hover .dish__thumb::after { opacity: 1; animation: holo 1.2s var(--ease) both; }
.dish:hover .dish__thumb > div { transform: scale(1.06); }
.dish__thumb .price { position: absolute; z-index: 2; right: 14rem; top: 14rem; padding: 3rem 12rem; border-radius: 999px; background: rgba(255,255,255,.88); font-family: var(--f-en); font-weight: 600; font-size: 12rem; letter-spacing: .2em; }
.dish__thumb .no { position: absolute; z-index: 2; left: 16rem; bottom: 12rem; font-family: var(--f-en); font-weight: 700; font-size: 13rem; letter-spacing: .24em; color: #fff; }
.dish__body { margin-top: 20rem; }
.dish__cat { font-family: var(--f-en); font-weight: 600; font-size: 12rem; letter-spacing: .28em; color: var(--pink-d); }
.dish__title { margin-top: 4rem; font-weight: 800; font-size: 20rem; line-height: 1.5; }
.dish__sub { margin-top: 4rem; font-size: 13rem; color: var(--ink-2); }
.menu__note { margin-top: 30rem; font-size: 12rem; color: var(--ink-2); }

/* ===== GUIDELINES & FAQ（2カラム） ===== */
.guide { padding-top: 200rem; }
.guide__grid { margin-top: 56rem; display: grid; grid-template-columns: 520rem minmax(0, 1fr); gap: 40rem; align-items: start; }
.guide__grid > * { min-width: 0; }
.rules { display: grid; gap: 18rem; }
.rule { position: relative; padding: 28rem 32rem 26rem; border-radius: 26rem; }
.rule h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 14rem; padding-bottom: 12rem; border-bottom: 1px solid var(--hair); font-size: 18rem; font-weight: 800; }
.rule h3 span { font-family: var(--f-en); font-weight: 700; font-size: 32rem; letter-spacing: .06em; line-height: 1; }
.rule li { position: relative; padding: 10rem 0 10rem 22rem; border-bottom: 1px solid var(--hair); font-size: 14rem; font-weight: 700; line-height: 1.8; }
.rule li:last-child { border-bottom: 0; }
.rule li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12rem; height: 11rem; background: var(--c); clip-path: path("M6 11 C2 8 0 6 0 3.4 C0 1.3 1.5 0 3.3 0 C4.4 0 5.4 .6 6 1.7 C6.6 .6 7.6 0 8.7 0 C10.5 0 12 1.3 12 3.4 C12 6 10 8 6 11 Z"); }
.faq__label { display: flex; align-items: baseline; gap: 14rem; }
.faq__label b { font-family: var(--f-en); font-weight: 700; font-size: 56rem; line-height: 1; }
.faq__label span { font-weight: 800; font-size: 15rem; color: var(--pink-d); letter-spacing: .14em; }
.faq__list { margin-top: 14rem; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; position: relative; display: flex; gap: 20rem; align-items: baseline; padding: 24rem 64rem 24rem 4rem; font-weight: 800; font-size: 16rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-en); font-weight: 700; font-size: 24rem; line-height: 1; color: var(--pink-d); }
.faq summary i { position: absolute; right: 6rem; top: 50%; width: 38rem; height: 38rem; margin-top: -19rem; border-radius: 50%; border: 1px solid var(--hair); transition: background .4s, border-color .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 12rem; right: 12rem; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: background .4s, transform .6s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--pink-d); border-color: var(--pink-d); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq .a { display: flex; gap: 20rem; padding: 0 64rem 24rem 4rem; color: var(--ink-2); line-height: 2; font-size: 14rem; }
.faq .a::before { content: "A"; font-family: var(--f-en); font-weight: 700; font-size: 24rem; line-height: 1.2; color: var(--sky-d); }

/* ===== CONTACT ===== */
.group { padding-top: 200rem; padding-bottom: 140rem; }
.group__banner { position: relative; display: block; margin-top: 56rem; padding: 76rem 380rem 80rem 70rem; border-radius: 40rem; overflow: hidden; color: #fff; background: var(--grad); box-shadow: 0 50rem 90rem -60rem rgba(244,114,168,.9); transition: transform .9s var(--ease); isolation: isolate; }
.group__banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 80% 0%, rgba(255,255,255,.45), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(255,255,255,.3), transparent 60%), repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.08) 3px 4px); }
.group__banner::after { content: ""; position: absolute; inset: 14rem; border-radius: 30rem; border: 1px solid rgba(255,255,255,.6); pointer-events: none; }
.group__banner:hover { transform: translateY(-6rem); }
.group__chara { position: absolute; z-index: 0; right: -30rem; bottom: -70rem; width: 540rem; height: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 20rem 30rem rgba(46,42,58,.25)); transition: transform 1s var(--ease); }
.group__banner:hover .group__chara { transform: translateY(-14rem) rotate(-2deg); }
.group__banner > :not(.group__chara) { position: relative; z-index: 1; }
.group__small { font-size: 13rem; }
.group__logo { margin-top: 12rem; font-family: var(--f-en); font-weight: 800; font-size: 136rem; line-height: .9; letter-spacing: .1em; }
.group__copy { margin-top: 18rem; font-weight: 700; font-size: 18rem; letter-spacing: .12em; }
.group__cta { margin-top: 30rem; display: inline-flex; align-items: center; gap: 18rem; height: 64rem; padding: 0 8rem 0 32rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 16rem; letter-spacing: .1em; transition: background .5s var(--ease), color .5s var(--ease); }
.group__cta i { display: grid; place-items: center; width: 48rem; height: 48rem; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .6s var(--ease); }
.group__cta i svg { width: 16rem; height: 12rem; }
.group__banner:hover .group__cta { background: var(--ink); color: #fff; }
.group__banner:hover .group__cta i { background: #fff; color: var(--ink); transform: rotate(-45deg); }
.followlinks { margin-top: 30rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20rem; }
.follow { display: flex; align-items: center; gap: 18rem; padding: 22rem 22rem 22rem 26rem; border-radius: 24rem; }
.follow .f-ic { flex: none; display: grid; place-items: center; width: 52rem; height: 52rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--f-en); font-weight: 700; font-size: 22rem; }
.follow .f-ic svg { width: 20rem; height: 20rem; fill: currentColor; }
.follow div { flex: 1; min-width: 0; }
.follow p { font-size: 12rem; color: var(--ink-2); }
.follow code { font-family: var(--f-en); font-weight: 700; font-size: 28rem; letter-spacing: .06em; line-height: 1.2; user-select: all; }
.follow .f-btns { display: flex; gap: 8rem; flex: none; }
.follow button, .follow a.f-btn { height: 40rem; padding: 0 16rem; border-radius: 999px; border: 1px solid var(--hair); font-weight: 700; font-size: 12rem; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.follow button:hover, .follow a.f-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Footer ===== */
.footer { padding: 90rem 0 40rem; border-top: 1px solid var(--hair); background: rgba(255,255,255,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30rem; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12rem 34rem; font-family: var(--f-en); font-weight: 600; font-size: 15rem; letter-spacing: .2em; }
.footer__nav a:hover { color: var(--pink-d); }
.footer__mark { margin-top: 60rem; font-family: var(--f-en); font-weight: 800; font-size: 262rem; line-height: .8; letter-spacing: .04em; text-align: center; white-space: nowrap; }
.footer__bottom { margin-top: 40rem; display: flex; justify-content: space-between; gap: 20rem; flex-wrap: wrap; font-size: 12rem; color: var(--ink-2); }

/* 固定パーツ */
.go-top { position: fixed; z-index: 28; right: max(30rem, env(safe-area-inset-right, 0px)); bottom: calc(24rem + env(safe-area-inset-bottom, 0px)); width: 70rem; display: grid; justify-items: center; font-family: var(--f-en); font-weight: 700; font-size: 20rem; letter-spacing: .06em; color: var(--pink-d); opacity: 0; translate: 0 20rem; pointer-events: none; transition: opacity .5s, translate .7s var(--ease), color .3s; }
.go-top.is-show { opacity: 1; translate: 0 0; pointer-events: auto; }
.go-top svg { width: 58rem; height: 52rem; transition: translate .5s var(--ease); filter: drop-shadow(0 6rem 8rem rgba(244,114,168,.35)); }
.go-top:hover { color: var(--sky-d); }
.go-top:hover svg { translate: 0 -6rem; }
.cursor { position: fixed; z-index: 90; left: 0; top: 0; width: 38rem; height: 38rem; margin: -19rem 0 0 -19rem; border-radius: 50%; border: 1px solid rgba(244,114,168,.7); pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, border-color .3s, background .3s; }
.cursor i { position: absolute; left: 50%; top: 50%; width: 5rem; height: 5rem; margin: -2.5rem 0 0 -2.5rem; border-radius: 50%; background: var(--sky-d); box-shadow: 0 0 10px var(--sky); }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 64rem; height: 64rem; margin: -32rem 0 0 -32rem; border-color: rgba(78,174,233,.8); background: rgba(143,211,255,.12); }

/* Modal */
.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: max(16px, 20rem); }
.modal__bg { position: absolute; inset: 0; background: rgba(46,42,58,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__cont { position: relative; width: 760rem; max-width: 100%; max-height: 86vh; overflow-y: auto; background: rgba(255,255,255,.94); border: 1px solid #fff; border-radius: 32rem; padding: 56rem 60rem 50rem; box-shadow: 0 50rem 100rem -50rem rgba(46,42,58,.6); animation: modalIn .7s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30rem) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; right: 22rem; top: 22rem; width: 46rem; height: 46rem; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; transition: background .4s, color .4s; }
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__close svg { width: 14rem; height: 14rem; }
.modal h2 { font-family: var(--f-en); font-weight: 700; font-size: 72rem; line-height: .9; }
.modal h2 small { display: block; font-family: var(--f-jp); font-size: 16rem; letter-spacing: .2em; color: var(--pink-d); margin-top: 14rem; font-weight: 800; -webkit-text-fill-color: var(--pink-d); }
.modal p { margin-top: 20rem; color: var(--ink-2); line-height: 2; }
.modal ol { margin-top: 20rem; border-top: 1px solid var(--hair); counter-reset: g; }
.modal ol li { display: grid; grid-template-columns: 50rem minmax(0, 1fr); padding: 14rem 0; border-bottom: 1px solid var(--hair); font-weight: 800; }
.modal ol li::before { counter-increment: g; content: counter(g, decimal-leading-zero); font-family: var(--f-en); font-weight: 700; font-size: 18rem; color: var(--pink-d); }
.modal ol li small { grid-column: 2; display: block; font-weight: 500; font-size: 13rem; color: var(--ink-2); }
.modal .btn-center { display: flex; justify-content: center; margin-top: 32rem; }

/* ===== SP ===== */
@media (max-width: 768px) {
  body { font-size: 14rem; }
  .header { height: 72rem; gap: 10rem; }
  .h-logo img { height: 44rem; }
  .f-logo img { height: 56rem; }
  .f-logo { flex-direction: column; align-items: flex-start; gap: 6rem; }
  .gnav, .h-join, .contact-badge, .cursor { display: none; }
  .h-x { margin-left: auto; width: 44rem; height: 44rem; }
  .menu-btn { display: grid; place-items: center; position: relative; z-index: 32; width: 44rem; height: 44rem; border-radius: 50%; background: var(--ink); }
  .menu-btn span { position: absolute; left: 14rem; right: 14rem; height: 1.5px; background: #fff; transition: .5s var(--ease); }
  .menu-btn span:nth-child(1) { top: 18rem; } .menu-btn span:nth-child(2) { top: 25rem; }
  .menu-open .menu-btn span:nth-child(1) { top: 21.5rem; rotate: 45deg; }
  .menu-open .menu-btn span:nth-child(2) { top: 21.5rem; rotate: -45deg; }
  .particle.--small { --radius: 3rem; width: 7rem; height: 33rem; }
  .particle.--thin { --radius: 2rem; width: 6rem; height: 40rem; }
  .particle.--thick { --radius: 5rem; width: 14rem; height: 50rem; }
  .particle.--big { --radius: 6rem; width: 15rem; height: 75rem; }
  .particle.--heart { scale: .6; }
  .sec-head { flex-wrap: wrap; gap: 10rem 12rem; align-items: center; }
  .sec-head__icon { width: 64rem; height: 34rem; margin: 0; align-self: center; }
  .sec-head__en { font-size: 70rem; }
  .sec-head__side { width: 100%; padding: 0; }
  .sec-head__jp { font-size: 16rem; }
  .sec-head__line { display: none; }
  .btn { min-width: 200rem; height: 52rem; font-size: 14rem; }
  .btn i { width: 38rem; height: 38rem; }
  /* hero */
  .hero { --u: calc(100cqw / 390); }
  .hero__wrap { height: calc(660 * var(--u)); }
  .board { left: calc(14 * var(--u)); right: calc(14 * var(--u)); top: calc(78 * var(--u)); bottom: calc(-40 * var(--u)); border-radius: calc(26 * var(--u)); }
  .hero__hud { left: calc(14 * var(--u)); right: calc(14 * var(--u)); top: calc(78 * var(--u)); height: calc(120 * var(--u)); }
  .board__meta { left: 14rem; right: 14rem; top: 14rem; font-size: 9rem; letter-spacing: .14em; justify-content: center; }
  .board__meta > span { padding: 4rem 10rem; }
  .board__meta .hud-clock { display: none; }
  .hud-corners i { width: 16rem; height: 16rem; }
  .hud-corners i:nth-child(1), .hud-corners i:nth-child(3) { left: 10rem; } .hud-corners i:nth-child(2), .hud-corners i:nth-child(4) { right: 10rem; }
  .hud-corners i:nth-child(1), .hud-corners i:nth-child(2) { top: 10rem; } .hud-corners i:nth-child(3), .hud-corners i:nth-child(4) { bottom: 10rem; }
  .hero__title { left: calc(18 * var(--u)); right: calc(18 * var(--u)); top: calc(50 * var(--u)); height: calc(150 * var(--u)); }
  .hero__title .lines--pc { display: none; } .hero__title .lines--sp { display: flex; }
  .fit .o { -webkit-text-stroke-width: 1.2px; }
  .hero__fig { width: calc(620 * var(--u)); bottom: calc(-48 * var(--u)); }
  .hero__book { left: calc(4 * var(--u)); bottom: calc(26 * var(--u)); width: 132rem; }
  .hero__book .book { width: 96rem; height: 96rem; margin-left: 10rem; }
  .hero__book .book::before { left: 16rem; top: 13rem; width: 62rem; height: 72rem; border-radius: 6rem 8rem 8rem 6rem; background: linear-gradient(90deg, var(--pink-d) 0 7rem, var(--pink) 7rem 100%); box-shadow: 4rem 4rem 0 var(--sky); }
  .hero__book .book::after { left: 27rem; top: 20rem; width: 46rem; height: 56rem; border-width: 1.5rem; }
  .hero__book .book svg { left: 31rem; top: 26rem; width: 38rem; height: 38rem; }
  .hero__book .book em { left: 36rem; top: 62rem; font-size: 8rem; }
  .hero__bubble { top: -36rem; left: -2rem; font-size: 10rem; padding: 4rem 9rem; border-width: 2rem; border-radius: 10rem; }
  .hero__bubble::before, .hero__bubble::after { left: 26rem; transform: scale(.6); transform-origin: top; }
  .hero__open { display: none; }
  /* news */
  .news { padding-top: 100rem; }
  .news__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12rem; margin-top: 30rem; }
  .card.--feature { grid-column: 1 / -1; grid-row: auto; }
  .card.--feature .card__thumb { min-height: 200rem; }
  .card { padding: 12rem 10rem 0; border-radius: 18rem; }
  .card__cat { min-width: 0; font-size: 10rem; padding: 1rem 10rem; }
  .card__title { font-size: 12rem; }
  .card.--feature .card__title { font-size: 15rem; }
  .card__check { margin: auto -10rem 0; height: 36rem; font-size: 13rem; }
  .th { font-size: 22rem; } .card.--feature .th { font-size: 40rem; }
  .news__foot { grid-template-columns: minmax(0, 1fr); gap: 24rem; }
  .news__foot .btn { justify-self: center; }
  .news__list li a { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "d c ." "t t t"; gap: 6rem 12rem; padding: 14rem 2rem; }
  .news__list time { grid-area: d; font-size: 13rem; }
  .news__list .cat { grid-area: c; padding: 0 10rem; font-size: 10rem; }
  .news__list .t { grid-area: t; font-size: 13rem; }
  .news__list svg { display: none; }
  /* about */
  .about { padding-top: 110rem; }
  .about__wrap { min-height: 0; margin-top: 24rem; }
  .about__bg { font-size: 80rem; right: -10rem; top: 0; }
  .about__visual { position: relative; right: auto; width: calc(100% + 60rem); margin-left: -30rem; }
  .about__card { width: 100%; margin-top: -30rem; padding: 28rem 22rem; border-radius: 22rem; }
  .about__script { font-size: 18rem; }
  .about__lead { font-size: 21rem; }
  .about__text { font-size: 13rem; }
  /* maids */
  .maids { padding-top: 110rem; }
  .cast { gap: 14rem; margin-top: 24rem; }
  .cast__info { grid-template-columns: minmax(0, 1fr); gap: 14rem; }
  .cast__fig { margin: 0 -6rem; padding: 40rem 8rem 0; border-radius: 22rem; }
  .cast__hud { left: 34rem; top: 14rem; font-size: 9rem; }
  .cast__tags { left: 8rem; right: 8rem; bottom: 10rem; }
  .cast__tags li { gap: 3rem; padding: 3rem 7rem; font-size: 9rem; }
  .cast__tags li::before { width: 6rem; height: 6rem; }
  .cast__info { padding: 28rem 22rem 26rem; border-radius: 22rem; }
  .cast__num { font-size: 110rem; }
  .cast__lead { font-size: 18rem; }
  .cast__text { font-size: 13rem; }
  /* schedule */
  .schedule { padding-top: 110rem; }
  .sbento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12rem; margin-top: 30rem; }
  .ticket, .b-upcoming, .b-spec { grid-column: 1 / -1; grid-row: auto; }
  .ticket { padding: 26rem 22rem 22rem; border-radius: 22rem; }
  .ticket__date { font-size: 96rem; margin-top: 18rem; }
  .ticket__date small { font-size: 22rem; }
  .ticket__time { font-size: 16rem; }
  .count b { font-size: 28rem; }
  .count span { font-size: 8rem; letter-spacing: .2em; }
  .bcard { padding: 20rem 18rem; border-radius: 18rem; }
  .upcoming li { font-size: 18rem; padding: 10rem 4rem; }
  .spec div { grid-template-columns: 90rem minmax(0, 1fr); }
  .spec dt { font-size: 10rem; letter-spacing: .16em; }
  .spec dd { font-size: 13rem; }
  .b-step::before { font-size: 28rem; }
  .b-step h3 { font-size: 14rem; }
  .b-step p { font-size: 12rem; }
  /* menu */
  .menu { padding-top: 110rem; }
  .menu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30rem 12rem; padding-bottom: 40rem; margin-top: 30rem; }
  .menu__list li:nth-child(n) { translate: none; }
  .menu__list li:nth-child(even) { translate: 0 30rem; }
  .dish__thumb { border-radius: 18rem; }
  .dish__thumb > div { font-size: 34rem; }
  .dish__title { font-size: 14rem; }
  .dish__sub { font-size: 11rem; }
  /* guide */
  .guide { padding-top: 110rem; }
  .guide__grid { grid-template-columns: minmax(0, 1fr); gap: 40rem; margin-top: 30rem; }
  .rule { padding: 22rem 20rem; border-radius: 20rem; }
  .rule h3 { font-size: 16rem; }
  .rule h3 span { font-size: 26rem; }
  .rule li { font-size: 13rem; }
  .faq__label b { font-size: 42rem; }
  .faq summary { padding: 18rem 50rem 18rem 2rem; font-size: 14rem; gap: 14rem; }
  .faq summary i { width: 32rem; height: 32rem; margin-top: -16rem; right: 2rem; }
  .faq summary i::before, .faq summary i::after { left: 10rem; right: 10rem; }
  .faq .a { padding: 0 10rem 20rem 2rem; gap: 14rem; font-size: 13rem; }
  /* contact */
  .group { padding-top: 110rem; padding-bottom: 100rem; }
  .group__banner { margin-top: 30rem; padding: 40rem 22rem 230rem; border-radius: 26rem; text-align: center; }
  .group__banner::after { inset: 8rem; border-radius: 20rem; }
  .group__chara { right: 50%; translate: 50% 0; bottom: -50rem; width: 420rem; height: auto; }
  .group__logo { font-size: 60rem; }
  .group__copy { font-size: 13rem; }
  .group__cta { height: 54rem; padding: 0 6rem 0 20rem; font-size: 13rem; }
  .group__cta i { width: 42rem; height: 42rem; }
  .followlinks { grid-template-columns: minmax(0, 1fr); gap: 14rem; margin-top: 20rem; }
  .follow { flex-wrap: wrap; padding: 18rem; }
  .follow code { font-size: 22rem; }
  .follow .f-btns { width: 100%; }
  .footer { padding: 60rem 0 30rem; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__nav { gap: 10rem 20rem; font-size: 13rem; }
  .footer__mark { font-size: 70rem; margin-top: 40rem; }
  .footer__bottom { flex-direction: column; gap: 6rem; font-size: 11rem; }
  .go-top { width: 50rem; font-size: 14rem; right: max(14rem, env(safe-area-inset-right, 0px)); bottom: calc(14rem + env(safe-area-inset-bottom, 0px)); }
  .go-top svg { width: 42rem; height: 38rem; }
  .modal__cont { padding: 44rem 22rem 30rem; border-radius: 22rem; }
  .modal h2 { font-size: 48rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .hero__slides { animation-delay: 0s !important; }
  .hero__glitch { display: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   下層ページ（NEWS / ABOUT / MAIDS / SCHEDULE / MENU / GUIDELINES / FAQ / CONTACT）
   ===================================================================== */
/* ページ見出し：中央の大きな英字＋ホワイトブリム、下に日本語とコード */
.phead { position: relative; padding: calc(env(safe-area-inset-top, 0px) + 150rem) 0 64rem; text-align: center; overflow-x: clip; }
.crumb { display: flex; justify-content: center; align-items: center; gap: 10rem; font-size: 12rem; color: var(--ink-2); }
.crumb a { transition: color .3s; }
.crumb a:hover { color: var(--pink-d); }
.crumb i { font-style: normal; color: var(--pink); }
.crumb span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pink-d); }
.crumb a, .crumb i { flex: none; }
.phead__title { position: relative; display: inline-block; margin-top: 34rem; }
.phead__icon { position: absolute; left: -64rem; top: -40rem; width: 128rem; height: 66rem; rotate: -16deg; filter: drop-shadow(0 6rem 10rem rgba(244,114,168,.3)); animation: sway2 3.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes sway2 { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.phead__en { font-family: var(--f-en); font-weight: 800; font-size: 176rem; line-height: .82; letter-spacing: 0; padding: 0 .04em; filter: drop-shadow(-2px 0 rgba(255,143,192,.5)) drop-shadow(2px 0 rgba(124,203,255,.5)); }
.phead__jp { width: fit-content; margin: 20rem auto 0; display: flex; align-items: center; gap: 16rem; font-weight: 800; font-size: 22rem; color: var(--pink-d); letter-spacing: .14em; }
.phead__jp::before, .phead__jp::after { content: ""; width: 44rem; height: 1px; background: linear-gradient(90deg, transparent, var(--pink)); }
.phead__jp::after { background: linear-gradient(90deg, var(--sky), transparent); }
.phead__code { margin-top: 6rem; font-size: 11rem; color: var(--ink-2); }
.phead__lead { width: 720rem; max-width: 100%; margin: 24rem auto 0; color: var(--ink-2); line-height: 2; }
.sub-sec { position: relative; padding: 30rem 0 120rem; }
.sub-sec + .sub-sec { padding-top: 0; }
.sub-h { display: flex; align-items: baseline; gap: 16rem; margin-bottom: 30rem; }
.sub-h b { font-family: var(--f-en); font-weight: 800; font-size: 60rem; line-height: .9; letter-spacing: .02em; }
.sub-h span { font-weight: 800; font-size: 16rem; color: var(--pink-d); letter-spacing: .12em; }
.sub-h i { flex: 1; align-self: center; height: 1px; background: linear-gradient(90deg, var(--pink), var(--sky), transparent); }
.box { position: relative; padding: 56rem 64rem; border-radius: 34rem; }
.corners::before, .corners::after { content: ""; position: absolute; width: 22rem; height: 22rem; border: 2px solid var(--ink); pointer-events: none; }
.corners::before { left: 14rem; top: 14rem; border-right: 0; border-bottom: 0; }
.corners::after { right: 14rem; bottom: 14rem; border-left: 0; border-top: 0; }
.back { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 14rem; padding: 0 16px 140rem; }
.empty { padding: 60rem 0; text-align: center; color: var(--ink-2); }

/* タブ（カテゴリ切り替え） */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10rem; }
.tabs button { position: relative; height: 46rem; padding: 0 24rem; border-radius: 999px; border: 1px solid rgba(46,42,58,.2); background: rgba(255,255,255,.72); font-weight: 800; font-size: 14rem; letter-spacing: .06em; transition: background .4s, color .4s, border-color .4s; }
.tabs button small { margin-left: 6rem; font-family: var(--f-en); font-weight: 600; font-size: 12rem; color: var(--ink-2); }
.tabs button:hover { border-color: var(--pink-d); color: var(--pink-d); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs button[aria-selected="true"] small { color: var(--pink); }

/* NEWS 一覧 */
.nlist { margin-top: 40rem; display: grid; gap: 18rem; }
.nrow { position: relative; display: grid; grid-template-columns: 280rem minmax(0, 1fr) 54rem; gap: 36rem; align-items: center; padding: 18rem 30rem 18rem 18rem; border-radius: 28rem; overflow: hidden; isolation: isolate; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.nrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.75) 32%, rgba(255,175,215,.5) 40%, rgba(160,220,255,.55) 48%, rgba(255,255,255,.7) 54%, transparent 66%); background-size: 250% 250%; background-position: 100% 0; mix-blend-mode: soft-light; }
.nrow:hover { transform: translateY(-5rem); box-shadow: 0 30rem 50rem -30rem rgba(244,114,168,.55); }
.nrow:hover::after { opacity: 1; animation: holo 1.2s var(--ease) both; }
.nrow:hover .card__thumb > div { transform: scale(1.06); }
.nrow .card__cat, .article .card__cat { margin: 0; }
.nrow__meta { display: flex; align-items: center; gap: 18rem; padding-bottom: 12rem; border-bottom: 1px solid var(--hair); }
.nrow__title { margin-top: 12rem; font-weight: 800; font-size: 18rem; line-height: 1.7; }
.nrow__go { display: grid; place-items: center; width: 54rem; height: 54rem; border-radius: 50%; border: 1px solid var(--ink); transition: background .4s, color .4s, transform .6s var(--ease); }
.nrow__go svg { width: 16rem; height: 12rem; }
.nrow:hover .nrow__go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.pager { margin-top: 48rem; display: flex; justify-content: center; align-items: center; gap: 10rem; }
.pager button { display: grid; place-items: center; width: 46rem; height: 46rem; border-radius: 50%; border: 1px solid rgba(46,42,58,.25); background: rgba(255,255,255,.7); font-family: var(--f-en); font-weight: 700; font-size: 17rem; transition: background .4s, color .4s, border-color .4s; }
.pager button:hover { border-color: var(--pink-d); color: var(--pink-d); }
.pager button[aria-current="page"] { background: var(--grad); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .3; pointer-events: none; }
.pager svg { width: 15rem; height: 11rem; }
.pager .--prev svg { rotate: 180deg; }

/* 記事 */
.article { width: 960rem; max-width: 100%; margin: 0 auto; padding: 40rem 56rem 56rem; border-radius: 34rem; }
.article .card__thumb { aspect-ratio: 16 / 8; border-radius: 22rem; }
.article .th { font-size: 80rem; }
.article .th small { font-size: 15rem; }
.article__meta { margin-top: 32rem; display: flex; align-items: center; gap: 18rem; padding-bottom: 18rem; border-bottom: 1px solid var(--hair); }
.article__title { margin-top: 22rem; font-weight: 900; font-size: 30rem; line-height: 1.6; letter-spacing: .04em; }
.article__body { margin-top: 26rem; display: grid; gap: 18rem; font-size: 15rem; line-height: 2.1; color: var(--ink-2); }
.article__body h3 { margin-top: 12rem; padding-left: 16rem; border-left: 4rem solid var(--pink); font-size: 19rem; line-height: 1.5; color: var(--ink); }
.article__body strong { color: var(--ink); }
.article__body a { color: var(--pink-d); text-decoration: underline; text-underline-offset: 3px; }
.article__body .spec { margin-top: 0; padding: 6rem 24rem; border-radius: 20rem; background: rgba(255,255,255,.7); }
.article__nav { width: 960rem; max-width: 100%; margin: 40rem auto 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16rem; align-items: center; }
.article__nav a.pn { display: grid; gap: 2rem; padding: 14rem 20rem; border-radius: 20rem; font-size: 13rem; font-weight: 700; line-height: 1.6; transition: background .4s; }
.article__nav a.pn:hover { background: rgba(255,255,255,.85); }
.article__nav a.pn small { font-family: var(--f-en); font-weight: 600; font-size: 12rem; letter-spacing: .24em; color: var(--pink-d); }
.article__nav a.pn span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.article__nav a.--next { text-align: right; }
.article__nav .ph { visibility: hidden; }

/* ABOUT */
.ahero { position: relative; padding: 40rem 56rem 52rem; border-radius: 40rem; overflow: hidden; }
.ahero__text { display: grid; grid-template-columns: 400rem minmax(0, 1fr); gap: 20rem 56rem; margin-top: 18rem; padding-top: 34rem; border-top: 1px solid var(--hair); }
.ahero__text .about__text { margin-top: 0; }
.ahero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(50% 70% at 75% 60%, rgba(255,156,198,.4), transparent 70%), radial-gradient(40% 60% at 95% 10%, rgba(143,211,255,.45), transparent 70%); pointer-events: none; }
.ahero > * { position: relative; z-index: 2; }
.ahero__text .about__lead { font-size: 34rem; }
.ahero > .ahero__visual { margin: 0 -16rem; }
.ahero__visual img { width: 100%; filter: drop-shadow(0 24rem 30rem rgba(46,42,58,.2)); }
.concept { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22rem; }
.concept li { position: relative; padding: 36rem 34rem 34rem; border-radius: 30rem; }
.concept__no { font-family: var(--f-en); font-weight: 800; font-size: 64rem; line-height: .9; }
.concept__ic { position: absolute; right: 28rem; top: 28rem; width: 64rem; height: 64rem; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--hair); }
.concept__ic svg { width: 34rem; height: 34rem; }
.concept h3 { margin-top: 18rem; font-size: 21rem; font-weight: 900; line-height: 1.5; }
.concept p { margin-top: 10rem; font-size: 14rem; color: var(--ink-2); line-height: 2; }
.tl { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16rem; counter-reset: tl; }
.tl::before { content: ""; position: absolute; left: 4%; right: 4%; top: 37rem; height: 2px; background: repeating-linear-gradient(90deg, var(--pink) 0 8rem, transparent 8rem 14rem); }
.tl li { position: relative; text-align: center; counter-increment: tl; }
.tl li::before { content: counter(tl, decimal-leading-zero); position: relative; display: grid; place-items: center; width: 76rem; height: 76rem; margin: 0 auto; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--pink), 0 16rem 26rem -14rem rgba(244,114,168,.8); font-family: var(--f-en); font-weight: 800; font-size: 28rem; color: var(--pink-d); }
.tl li:nth-child(even)::before { box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--sky), 0 16rem 26rem -14rem rgba(78,174,233,.8); color: var(--sky-d); }
.tl h3 { margin-top: 20rem; font-size: 17rem; font-weight: 900; }
.tl p { margin-top: 6rem; font-size: 13rem; color: var(--ink-2); line-height: 1.85; text-align: left; }
.infogrid { display: grid; grid-template-columns: minmax(0, 1fr) 380rem; gap: 22rem; align-items: stretch; }
.infogrid .box { padding: 36rem 44rem; }
.cta-card { display: flex; flex-direction: column; justify-content: center; gap: 14rem; padding: 36rem; border-radius: 30rem; background: var(--grad); color: #fff; box-shadow: 0 40rem 70rem -46rem rgba(244,114,168,.9); }
.cta-card p { font-weight: 800; font-size: 18rem; line-height: 1.6; }
.cta-card small { font-size: 13rem; font-weight: 600; opacity: .9; }
.cta-card .btn { background: #fff; border-color: #fff; }

/* MAIDS */
.roster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18rem; }
.mcard { position: relative; padding: 12rem 12rem 18rem; border-radius: 26rem; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.mcard:hover { transform: translateY(-6rem); box-shadow: 0 30rem 50rem -30rem rgba(244,114,168,.55); }
.mcard__ph { position: relative; aspect-ratio: 3 / 4; border-radius: 18rem; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 10rem; background: linear-gradient(165deg, #fff 10%, color-mix(in srgb, var(--c) 45%, #fff) 60%, var(--c)); }
.mcard__ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.18) 3px 4px); }
.mcard__ph img { position: relative; width: 74%; height: auto; opacity: .55; }
.mcard__ph span { position: relative; font-family: var(--f-en); font-weight: 700; font-size: 12rem; letter-spacing: .24em; color: var(--ink-2); }
.mcard__no { position: absolute; left: 12rem; top: 10rem; z-index: 1; font-family: var(--f-en); font-weight: 700; font-size: 13rem; letter-spacing: .2em; color: var(--ink); }
.mcard__name { margin-top: 14rem; display: flex; align-items: center; gap: 8rem; padding: 0 6rem; font-weight: 900; font-size: 20rem; }
.mcard__name::before { content: ""; width: 10rem; height: 10rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2rem #fff, 0 0 0 3rem var(--hair); }
.mcard__sub { padding: 0 6rem; font-size: 12rem; color: var(--ink-2); }
.mcard.--more { display: grid; place-content: center; text-align: center; background: var(--grad); color: #fff; border: 0; }
.mcard.--more b { display: block; font-family: var(--f-en); font-weight: 800; font-size: 76rem; line-height: .9; }
.mcard.--more span { font-family: var(--f-en); font-weight: 700; font-size: 14rem; letter-spacing: .24em; }
.mcard.--more small { display: block; margin-top: 12rem; font-size: 12rem; font-weight: 700; }

/* SCHEDULE：カレンダー */
.cal-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22rem; }
.cal { padding: 30rem 32rem 26rem; border-radius: 30rem; }
.cal__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14rem; border-bottom: 1px solid var(--hair); }
.cal__head b { font-family: var(--f-en); font-weight: 800; font-size: 44rem; line-height: 1; letter-spacing: .02em; }
.cal__head span { font-size: 12rem; color: var(--ink-2); }
.cal__grid { margin-top: 14rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6rem; }
.cal__grid .w { padding: 4rem 0; text-align: center; font-family: var(--f-en); font-weight: 600; font-size: 11rem; letter-spacing: .2em; color: var(--ink-2); }
.cal__grid .w.--sun { color: var(--pink-d); } .cal__grid .w.--sat { color: var(--sky-d); }
.cal__grid .d { position: relative; min-height: 64rem; padding: 6rem 7rem; border-radius: 12rem; background: rgba(255,255,255,.55); font-family: var(--f-en); font-weight: 700; font-size: 16rem; line-height: 1.1; }
.cal__grid .d.--blank { background: none; }
.cal__grid .d.--past { opacity: .4; }
.cal__grid .d.--today { box-shadow: inset 0 0 0 2px var(--ink); }
.cal__grid .d em { position: absolute; left: 5rem; right: 5rem; bottom: 6rem; padding: 2rem 0; border-radius: 999px; font-style: normal; font-size: 10rem; font-weight: 700; letter-spacing: .06em; text-align: center; color: #fff; }
.cal__grid .d.--open { background: rgba(226,244,255,.9); }
.cal__grid .d.--open em { background: var(--sky-d); }
.cal__grid .d.--sp { background: rgba(255,227,239,.95); }
.cal__grid .d.--sp em { background: var(--grad); }
.cal__grid .d.--off em { background: #9b95a8; }
.cal__legend { margin-top: 18rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 8rem 22rem; font-size: 13rem; color: var(--ink-2); }
.cal__legend span { display: inline-flex; align-items: center; gap: 8rem; }
.cal__legend i { width: 26rem; height: 12rem; border-radius: 999px; }
.events { margin-top: 22rem; display: grid; gap: 12rem; }
.events li { display: grid; grid-template-columns: 130rem 110rem minmax(0, 1fr); gap: 18rem; align-items: center; padding: 18rem 26rem; border-radius: 22rem; }
.events time { font-family: var(--f-en); font-weight: 700; font-size: 22rem; letter-spacing: .06em; }
.events .tag { justify-self: start; padding: 1rem 12rem; border-radius: 999px; font-weight: 800; font-size: 12rem; color: #fff; background: var(--grad); }
.events .tag.--off { background: #9b95a8; }
.events p { font-weight: 700; }
.events p small { display: block; font-weight: 500; font-size: 13rem; color: var(--ink-2); }

/* MENU */
.menu-page .menu__list { margin-top: 44rem; }
.menu__list li[hidden] { display: none; }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22rem; counter-reset: st; }

/* GUIDELINES */
.gl { display: grid; grid-template-columns: 280rem minmax(0, 1fr); gap: 40rem; align-items: start; }
.toc { position: sticky; top: 120rem; padding: 26rem 22rem; border-radius: 26rem; }
.toc p { padding: 0 8rem 12rem; font-size: 12rem; color: var(--ink-2); border-bottom: 1px solid var(--hair); }
.toc ol { margin-top: 8rem; counter-reset: toc; }
.toc a { display: grid; grid-template-columns: 30rem minmax(0, 1fr); gap: 4rem; padding: 9rem 8rem; border-radius: 12rem; font-weight: 700; font-size: 14rem; line-height: 1.5; transition: background .3s, color .3s; counter-increment: toc; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-en); font-weight: 700; color: var(--pink-d); }
.toc a:hover { background: rgba(255,255,255,.8); }
.toc a.is-active { background: var(--ink); color: #fff; }
.toc a.is-active::before { color: var(--pink); }
.gl__doc { padding: 56rem 64rem 60rem; border-radius: 34rem; }
.gl__doc > h2 { text-align: center; font-weight: 900; font-size: 30rem; letter-spacing: .08em; padding-bottom: 24rem; border-bottom: 1px solid var(--hair); }
.gl__sec { padding-top: 44rem; scroll-margin-top: 110rem; counter-increment: gl; }
.gl__doc { counter-reset: gl; }
.gl__sec > h3 { display: flex; align-items: baseline; gap: 14rem; font-size: 21rem; font-weight: 900; }
.gl__sec > h3::before { content: counter(gl, decimal-leading-zero); font-family: var(--f-en); font-weight: 800; font-size: 34rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl__sec > p, .gl__sec > ul { margin-top: 14rem; font-size: 15rem; line-height: 2.05; color: var(--ink-2); }
.gl__sec > ul li { position: relative; padding-left: 20rem; }
.gl__sec > ul li::before { content: ""; position: absolute; left: 2rem; top: .8em; width: 8rem; height: 8rem; border-radius: 50%; background: var(--pink); }
.gl__sec .rules { margin-top: 18rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gl__sec .rule { background: rgba(255,255,255,.7); }
.gl__date { margin-top: 44rem; padding-top: 20rem; border-top: 1px solid var(--hair); text-align: right; font-size: 13rem; color: var(--ink-2); }

/* FAQ（1問ずつの枠） */
.faq.--boxed { width: 1040rem; max-width: 100%; margin: 36rem auto 0; }
.faq.--boxed details { margin-bottom: 14rem; border: 1px solid rgba(255,255,255,.95); border-radius: 24rem; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20rem 40rem -32rem rgba(46,42,58,.5); }
.faq.--boxed details[hidden] { display: none; }
.faq.--boxed summary { padding: 26rem 80rem 26rem 32rem; font-size: 17rem; }
.faq.--boxed summary i { right: 26rem; }
.faq.--boxed .a { padding: 0 80rem 28rem 32rem; }
.faq__cat { font-family: var(--f-en); font-weight: 600; font-size: 11rem; letter-spacing: .2em; color: var(--ink-2); margin-left: auto; padding-left: 12rem; white-space: nowrap; }
.faq-more { margin-top: 50rem; text-align: center; }
.faq-more p { color: var(--ink-2); }
.faq-more .btns { margin-top: 18rem; justify-content: center; }

/* CONTACT */
.contact-grid { margin-top: 22rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22rem; }
.contact-grid .box { padding: 38rem 42rem; }
.contact-grid h3 { font-size: 20rem; font-weight: 900; }
.contact-grid p { margin-top: 10rem; font-size: 14rem; color: var(--ink-2); line-height: 2; }
.contact-grid .btns { margin-top: 20rem; }

@media (max-width: 768px) {
  .phead { padding: calc(env(safe-area-inset-top, 0px) + 100rem) 0 36rem; }
  .crumb { font-size: 10rem; }
  .phead__title { margin-top: 28rem; }
  .phead__icon { left: -26rem; top: -26rem; width: 70rem; height: 36rem; }
  .phead__en { font-size: 76rem; }
  .phead__jp { margin-top: 14rem; font-size: 15rem; gap: 10rem; }
  .phead__jp::before, .phead__jp::after { width: 24rem; }
  .phead__lead { font-size: 13rem; }
  .sub-sec { padding: 20rem 0 80rem; }
  .sub-h { margin-bottom: 18rem; gap: 10rem; flex-wrap: wrap; }
  .sub-h b { font-size: 40rem; }
  .sub-h span { font-size: 13rem; }
  .sub-h i { display: none; }
  .box { padding: 32rem 22rem; border-radius: 24rem; }
  .back { padding-bottom: 100rem; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 4rem 16px 8rem; scrollbar-width: none; }
  .tabs button { flex: none; height: 40rem; padding: 0 16rem; font-size: 13rem; }
  .nlist { margin-top: 24rem; gap: 12rem; }
  .nrow { grid-template-columns: 112rem minmax(0, 1fr); gap: 14rem; padding: 10rem; border-radius: 20rem; }
  .nrow .card__thumb { border-radius: 12rem; }
  .nrow .th { font-size: 16rem; } .nrow .th small { display: none; }
  .nrow .th-logo img { width: 86%; }
  .nrow__go { display: none; }
  .nrow__meta { gap: 10rem; padding-bottom: 8rem; }
  .nrow .card__cat { min-width: 0; padding: 0 9rem; font-size: 10rem; }
  .nrow__meta .card__date { font-size: 12rem; }
  .nrow__title { margin-top: 6rem; font-size: 13rem; line-height: 1.6; }
  .pager { margin-top: 30rem; gap: 6rem; }
  .pager button { width: 38rem; height: 38rem; font-size: 15rem; }
  .article { padding: 14rem 14rem 30rem; border-radius: 24rem; }
  .article .card__thumb { border-radius: 16rem; aspect-ratio: 16 / 10; }
  .article .th { font-size: 44rem; }
  .article__meta, .article__title, .article__body { margin-left: 8rem; margin-right: 8rem; }
  .article__meta { margin-top: 20rem; }
  .article__title { font-size: 20rem; }
  .article__body { font-size: 14rem; }
  .article__body .spec { padding: 4rem 14rem; }
  .article__nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .article__nav .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .ahero { padding: 26rem 16rem 30rem; border-radius: 26rem; }
  .ahero__text { grid-template-columns: minmax(0, 1fr); gap: 14rem; padding-top: 22rem; }
  .ahero__text .about__lead { font-size: 24rem; }
  .ahero > .ahero__visual { margin: 0 -8rem; }
  .concept { grid-template-columns: minmax(0, 1fr); gap: 14rem; }
  .concept li { padding: 26rem 22rem; border-radius: 22rem; }
  .concept__no { font-size: 46rem; }
  .concept__ic { width: 52rem; height: 52rem; right: 20rem; top: 22rem; }
  .concept h3 { font-size: 18rem; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tl::before { left: 29rem; right: auto; top: 20rem; bottom: 20rem; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--pink) 0 8rem, transparent 8rem 14rem); }
  .tl li { display: grid; grid-template-columns: 58rem minmax(0, 1fr); gap: 0 16rem; text-align: left; padding: 10rem 0; }
  .tl li::before { grid-row: 1 / 3; width: 58rem; height: 58rem; font-size: 21rem; margin: 0; }
  .tl h3 { margin-top: 6rem; font-size: 16rem; }
  .infogrid { grid-template-columns: minmax(0, 1fr); gap: 14rem; }
  .infogrid .box { padding: 26rem 20rem; }
  .cta-card { padding: 28rem 22rem; border-radius: 24rem; }
  .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12rem; }
  .mcard { padding: 8rem 8rem 14rem; border-radius: 20rem; }
  .mcard__name { font-size: 16rem; margin-top: 10rem; }
  .mcard.--more b { font-size: 56rem; }
  .cal-wrap { grid-template-columns: minmax(0, 1fr); gap: 14rem; }
  .cal { padding: 22rem 14rem 18rem; border-radius: 22rem; }
  .cal__head b { font-size: 34rem; }
  .cal__grid { gap: 4rem; }
  .cal__grid .d { min-height: 50rem; padding: 4rem 5rem; font-size: 13rem; border-radius: 8rem; }
  .cal__grid .d em { left: 2rem; right: 2rem; bottom: 4rem; font-size: 8rem; letter-spacing: 0; }
  .events li { grid-template-columns: auto minmax(0, 1fr); gap: 6rem 12rem; padding: 16rem 18rem; }
  .events p { grid-column: 1 / -1; font-size: 14rem; }
  .events time { font-size: 18rem; }
  .howto { grid-template-columns: minmax(0, 1fr); gap: 12rem; }
  .gl { grid-template-columns: minmax(0, 1fr); gap: 16rem; }
  .toc { position: static; padding: 18rem 14rem; }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 6rem; }
  .toc a { font-size: 12rem; padding: 7rem 6rem; grid-template-columns: 24rem minmax(0, 1fr); }
  .gl__doc { padding: 32rem 20rem 36rem; border-radius: 24rem; }
  .gl__doc > h2 { font-size: 17rem; padding-bottom: 16rem; text-wrap: balance; }
  .gl__sec { padding-top: 32rem; }
  .gl__sec > h3 { font-size: 17rem; gap: 10rem; }
  .gl__sec > h3::before { font-size: 26rem; }
  .gl__sec > p, .gl__sec > ul { font-size: 13rem; }
  .gl__sec .rules { grid-template-columns: minmax(0, 1fr); }
  .faq.--boxed { margin-top: 24rem; }
  .faq.--boxed details { border-radius: 18rem; margin-bottom: 10rem; }
  .faq.--boxed summary { padding: 18rem 54rem 18rem 16rem; font-size: 14rem; gap: 12rem; }
  .faq.--boxed summary i { right: 12rem; }
  .faq.--boxed .a { padding: 0 16rem 20rem 16rem; }
  .faq__cat { display: none; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 14rem; }
  .contact-grid .box { padding: 26rem 20rem; }
}
.th-4 { background: linear-gradient(135deg, #ffc9a9, #ff9cc6); }
.corners { position: relative; }
.page-contact .group { padding: 30rem 0 120rem; }
.page-contact .group__banner { margin-top: 0; }
.menu-page .menu__note, .roster + .menu__note { margin-top: 30rem; }

/* MAIDS：集合写真の拡大表示 */
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: max(16px, 40rem); }
.lightbox__bg { position: absolute; inset: 0; background: rgba(46,42,58,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lightbox__fig { position: relative; width: min(1200rem, 100%); margin: 0; padding: 40rem 20rem 0; border-radius: 30rem; background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,240,247,.92) 55%, rgba(234,246,255,.95)); overflow: hidden; box-shadow: 0 50rem 100rem -50rem rgba(46,42,58,.7); animation: modalIn .6s var(--ease) both; }
.lightbox__fig img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.lightbox__fig figcaption { position: absolute; left: 24rem; top: 14rem; font-size: 12rem; color: var(--ink-2); }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 52rem; height: 52rem; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 10rem 24rem -12rem rgba(46,42,58,.6); transition: background .4s, color .4s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--ink); color: #fff; }
.lightbox__close { right: max(16px, 28rem); top: max(16px, 28rem); }
.lightbox__close svg { width: 15rem; height: 15rem; }
.lightbox__nav { top: 50%; margin-top: -26rem; }
.lightbox__nav svg { width: 17rem; height: 17rem; }
.lightbox__nav.--prev { left: max(16px, 28rem); } .lightbox__nav.--next { right: max(16px, 28rem); }

/* MAIDS：集合写真ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18rem; }
.gallery li { position: relative; padding: 34rem 12rem 0; border-radius: 24rem; overflow: hidden; isolation: isolate; }
.gal-btn { display: block; width: 100%; cursor: zoom-in; }
.gallery li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 55%, rgba(255,156,198,.3), transparent 70%), radial-gradient(40% 50% at 90% 90%, rgba(143,211,255,.35), transparent 70%); }
.gallery img { width: 100%; transition: transform 1.1s var(--ease); transform-origin: 50% 100%; }
.gallery li:hover img { transform: scale(1.03); }
.gallery span { position: absolute; left: 22rem; top: 14rem; font-size: 11rem; color: var(--ink-2); }
@media (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10rem; }
  .gallery li { padding: 24rem 4rem 0; border-radius: 16rem; }
  .gallery span { left: 12rem; top: 8rem; font-size: 9rem; }
  .lightbox__nav { width: 40rem; height: 40rem; }
  .lightbox__nav.--prev { left: 8rem; } .lightbox__nav.--next { right: 8rem; }
  .hero__pager { right: calc(10 * var(--u)); bottom: calc(22 * var(--u)); gap: 8rem; padding: 6rem 8rem 10rem; }
  .hero__pager .arr { width: 30rem; height: 30rem; }
  .hero__pager__no { display: none; }
  .hero__pager__dots { gap: 5rem; }
  .hero__pager__dots button { width: 6rem; height: 6rem; }
  .hero__pager__dots button[aria-current="true"] { width: 18rem; }
  .hero__pager__bar { left: 40rem; right: 40rem; bottom: 4rem; }
}

/* =====================================================================
   MAIDS：キャスト一覧（60名）・検索・詳細ポップアップ
   ===================================================================== */
.ctool { display: flex; align-items: center; justify-content: space-between; gap: 20rem; padding: 12rem 14rem 12rem 22rem; border-radius: 999px; }
.ctool__search { flex: 1; max-width: 460rem; display: flex; align-items: center; gap: 12rem; height: 48rem; padding: 0 18rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink-2); }
.ctool__search:focus-within { box-shadow: inset 0 0 0 2px var(--pink-d); }
.ctool__search svg { flex: none; width: 18rem; height: 18rem; }
.ctool__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-weight: 700; font-size: 15rem; color: var(--ink); }
.ctool__search input::placeholder { color: rgba(46,42,58,.4); font-weight: 500; }
.ctool__count { flex: none; padding-right: 10rem; font-size: 12rem; color: var(--ink-2); }
.ctool__count b { font-size: 26rem; font-weight: 700; color: var(--pink-d); letter-spacing: .04em; }
.croster { margin-top: 28rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18rem; }
.ccard[hidden] { display: none; }
.ccard__btn { position: relative; display: block; width: 100%; padding: 8rem 8rem 14rem; border-radius: 24rem; text-align: left; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 20rem 40rem -32rem rgba(46,42,58,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ccard__btn:hover { transform: translateY(-6rem); box-shadow: 0 30rem 50rem -30rem color-mix(in srgb, var(--c2) 90%, transparent); }
.ccard__ph { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18rem; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 50% 28%, #fff 0, color-mix(in srgb, var(--c) 70%, #fff) 45%, var(--c) 100%); }
.ccard__ph::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.9) 1.6px, transparent 2.2px); background-size: 14rem 14rem; }
.ccard__ph::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.7) 38%, rgba(255,175,215,.45) 45%, rgba(160,220,255,.5) 52%, transparent 64%); background-size: 260% 260%; background-position: 100% 0; mix-blend-mode: soft-light; }
.ccard__btn:hover .ccard__ph::after { opacity: 1; animation: holo 1.1s var(--ease) both; }
.ccard__ph img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform-origin: 50% 18%; transition: transform 1s var(--ease); }
.ccard__btn:hover .ccard__ph img { transform: scale(1.07); }
.ccard__no { position: absolute; z-index: 2; left: 18rem; top: 15rem; font-size: 10rem; color: rgba(46,42,58,.62); }
.ccard__name { display: flex; align-items: center; gap: 7rem; margin-top: 12rem; padding: 0 6rem; font-weight: 900; font-size: 15rem; line-height: 1.35; word-break: break-all; }
.ccard__name::before { content: ""; flex: none; width: 9rem; height: 9rem; border-radius: 50%; background: var(--c2); box-shadow: 0 0 0 2rem #fff, 0 0 0 3rem var(--hair); }
/* 詳細ポップアップ */
.cmodal[hidden] { display: none !important; }
.cmodal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: max(16px, 40rem); }
.cmodal__bg { position: absolute; inset: 0; background: rgba(46,42,58,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cmodal__box { position: relative; width: min(900rem, 100%); display: grid; grid-template-columns: 430rem minmax(0, 1fr); border-radius: 34rem; overflow: hidden; background: rgba(255,255,255,.97); box-shadow: 0 50rem 100rem -50rem rgba(46,42,58,.7); animation: modalIn .6s var(--ease) both; }
.cmodal__ph { position: relative; margin: 0; aspect-ratio: 2 / 3; max-height: 86vh; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 50% 28%, #fff 0, color-mix(in srgb, var(--c, #ffe3ef) 70%, #fff) 45%, var(--c, #ffe3ef) 100%); }
.cmodal__ph::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.9) 1.6px, transparent 2.2px); background-size: 16rem 16rem; }
.cmodal__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cmodal__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.1) 3px 4px); }
.cmodal__info { display: flex; flex-direction: column; padding: 56rem 44rem 34rem; }
.cm-no { font-size: 12rem; color: var(--ink-2); }
.cm-name { margin-top: 10rem; font-weight: 900; font-size: 44rem; line-height: 1.25; letter-spacing: .03em; word-break: break-all; }
.cm-sub { margin-top: 8rem; font-size: 12rem; color: var(--pink-d); }
.cmodal__info .spec { margin-top: 22rem; border-top: 1px solid var(--hair); }
.cmodal__info .spec div:last-child { border-bottom: 1px solid var(--hair); }
.cm-nav { margin-top: auto; padding-top: 26rem; display: flex; align-items: center; justify-content: space-between; gap: 12rem; }
.cm-nav span { font-size: 13rem; color: var(--ink-2); }
.cm-nav .arr { display: grid; place-items: center; width: 48rem; height: 48rem; border-radius: 50%; border: 1px solid var(--ink); transition: background .4s, color .4s; }
.cm-nav .arr:hover { background: var(--ink); color: #fff; }
.cm-nav .arr svg { width: 14rem; height: 14rem; }
.cmodal__close { position: absolute; z-index: 3; right: 18rem; top: 18rem; display: grid; place-items: center; width: 46rem; height: 46rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hair); transition: background .4s, color .4s; }
.cmodal__close:hover { background: var(--ink); color: #fff; }
.cmodal__close svg { width: 14rem; height: 14rem; }
@media (max-width: 1024px) and (min-width: 769px) { .croster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .ctool { flex-direction: column; align-items: stretch; gap: 8rem; padding: 10rem; border-radius: 22rem; }
  .ctool__search { max-width: none; height: 44rem; }
  .ctool__count { text-align: right; }
  .croster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10rem; margin-top: 16rem; }
  .ccard__btn { padding: 6rem 6rem 12rem; border-radius: 18rem; }
  .ccard__ph { border-radius: 14rem; }
  .ccard__no { left: 14rem; top: 11rem; }
  .ccard__name { font-size: 14rem; margin-top: 9rem; }
  .cmodal { padding: 12px; }
  .cmodal__box { grid-template-columns: minmax(0, 1fr); max-height: 94vh; overflow-y: auto; border-radius: 24rem; }
  .cmodal__ph { aspect-ratio: auto; height: 50vh; max-height: none; }
  .cmodal__info { padding: 22rem 22rem 20rem; }
  .cm-name { font-size: 28rem; }
  .cmodal__info .spec { margin-top: 14rem; }
  .cm-nav { padding-top: 16rem; }
}

/* MAIDS：期生タブ・カードの期生ラベル・プロフィール */
.ctabs { margin-bottom: 18rem; }
.g1 { --gc: #ff9a62; } .g2 { --gc: #6ec3f2; } .g3 { --gc: #b89cf2; } .g4 { --gc: #6fd08a; }
.g5 { --gc: #4fd0d6; } .g6 { --gc: #f08a7e; } .g7 { --gc: #ff7fb8; } .g8 { --gc: #f2c14e; } .g0 { --gc: #a39dae; }
.ccard__gen { position: absolute; z-index: 2; right: 8rem; top: 8rem; padding: 1rem 9rem; border-radius: 999px; background: var(--gc); color: #fff; font-weight: 800; font-size: 10rem; letter-spacing: .06em; box-shadow: 0 0 0 2rem rgba(255,255,255,.8); }
.ccard__catch { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4rem; padding: 0 6rem; font-size: 11rem; line-height: 1.55; color: var(--ink-2); min-height: 3.1em; }
.cm-catch { margin-top: 10rem; font-weight: 700; font-size: 14rem; line-height: 1.6; color: var(--pink-d); }
.cm-catch:empty { display: none; }
.cmodal__info .cm-name { margin-top: 4rem; }
.cm-tags { margin-top: 12rem; display: flex; flex-wrap: wrap; gap: 6rem; }
.cm-tags span { padding: 2rem 12rem; border-radius: 999px; background: #ffd6ea; color: #c4417d; font-weight: 800; font-size: 12rem; }
.cm-tags span.--lead { background: #ffe58a; color: #8a6200; }
.cm-tags span.--gen { background: var(--gc); color: #fff; }
.cm-tags span.--type { background: var(--grad); color: #fff; box-shadow: 0 4rem 10rem -6rem rgba(214,166,242,.9); }
.cmodal__info .cm-spec { margin-top: 18rem; }
.cmodal__info .cm-spec div { grid-template-columns: 96rem minmax(0, 1fr); padding: 10rem 0; }
.cmodal__info .cm-spec dt { font-family: var(--f-jp); font-weight: 800; font-size: 12rem; letter-spacing: .08em; color: var(--pink-d); }
.cmodal__info .cm-spec dd { font-size: 14rem; line-height: 1.6; }
.cm-empty { margin-top: 22rem; padding: 18rem 20rem; border-radius: 18rem; background: var(--pink-l); color: var(--ink-2); font-size: 14rem; }
.cmodal__info { overflow-y: auto; }
@media (max-width: 768px) {
  .ctabs { margin-bottom: 12rem; }
  .ccard__gen { right: 6rem; top: 6rem; font-size: 9rem; padding: 0 7rem; }
  .ccard__catch { font-size: 10rem; }
  .cm-catch { font-size: 12rem; }
  .cmodal__info .cm-spec div { grid-template-columns: 80rem minmax(0, 1fr); padding: 8rem 0; }
  .cmodal__info .cm-spec dd { font-size: 13rem; }
  .cmodal__ph { height: 42vh; }
}
/* 9期生・10期生、4ステップの流れ、プロフィール公開後のバー */
.g9 { --gc: #8f9cf2; } .g10 { --gc: #36c2c8; }
.tl.--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24rem; }
.tl.--4::before { left: 12%; right: 12%; }
.cast__load i::after { width: 100%; }
.b-step p { text-wrap: pretty; }
@media (max-width: 768px) { .tl.--4 { grid-template-columns: minmax(0, 1fr); gap: 0; } .tl.--4::before { left: 29rem; right: auto; } }
.tl h3, .b-step h3 { word-break: keep-all; overflow-wrap: anywhere; }

/* ABOUT：白い衣装・髪のメイドが背景に溶けないよう、色つきの台紙と細いふちどり */
.about__visual::before { inset: 4% 1% 2%; border-radius: 44rem; background:
  radial-gradient(60% 55% at 50% 45%, rgba(255,255,255,.35), transparent 70%),
  linear-gradient(150deg, #ffc4dc 0%, #e2c9f6 48%, #b9dcfb 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 40rem 70rem -46rem rgba(46,42,58,.45); }
.about__visual::after { content: ""; position: absolute; inset: 4% 1% 2%; border-radius: 44rem; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.95) 1.6px, transparent 2.2px); background-size: 18rem 18rem; }
.about__visual img { z-index: 1; filter: drop-shadow(0 0 1px rgba(70,52,104,.7)) drop-shadow(0 0 .5px rgba(70,52,104,.6)) drop-shadow(0 14rem 18rem rgba(46,42,58,.16)); }
.ahero > .ahero__visual { position: relative; margin: 0 -16rem; padding: 22rem 14rem 0; border-radius: 30rem; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 55% at 50% 45%, rgba(255,255,255,.35), transparent 70%), linear-gradient(150deg, #ffc4dc 0%, #e2c9f6 48%, #b9dcfb 100%); }
.ahero > .ahero__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.95) 1.6px, transparent 2.2px); background-size: 18rem 18rem; }
.ahero__visual img { filter: drop-shadow(0 0 1px rgba(70,52,104,.7)) drop-shadow(0 0 .5px rgba(70,52,104,.6)) drop-shadow(0 18rem 22rem rgba(46,42,58,.18)); }
@media (max-width: 768px) {
  .about__visual::before, .about__visual::after { inset: 2% 4% 0; border-radius: 24rem; }
  .ahero > .ahero__visual { margin: 0 -6rem; padding: 14rem 6rem 0; border-radius: 20rem; }
}

/* CONTACT：ちびキャラ */
.group__chara { right: 70rem; bottom: -36rem; width: auto; height: 118%; transform-origin: 50% 100%; }
.group__banner:hover .group__chara { transform: translateY(-10rem) rotate(4deg); }
@media (max-width: 768px) { .group__chara { right: 50%; bottom: -24rem; width: auto; height: 240rem; } }
/* 起動画面：リングと進捗の重なりを解消、ようこそ文字は1行で */
.loader__mark { width: 360rem; }
.loader__ring { width: 430rem; height: 430rem; }
.loader__stage { margin-top: 96rem; }
.loader__welcome { top: -6rem; font-size: 30rem; white-space: nowrap; }
.loader.is-done .loader__welcome span span { animation-delay: calc(.18s + var(--i) * 40ms); }
@media (max-width: 768px) {
  .loader__mark { width: 230rem; }
  .loader__ring { width: 280rem; height: 280rem; }
  .loader__stage { margin-top: 64rem; }
  .loader__welcome { font-size: 19rem; }
}

/* お知らせ：件数が少ないときの並び */
.news__bento.--n4 { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
.news__bento.--n4 .card.--feature { grid-row: auto; }
.news__bento.--n4 .card.--feature .card__thumb { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
.news__bento.--n3 { grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr)); }
.news__bento.--n3 .card.--feature { grid-row: auto; }
.news__list[hidden] { display: none; }
.news__list[hidden] + .btn { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 768px) { .news__bento.--n4, .news__bento.--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news__bento.--n4 .card.--feature, .news__bento.--n3 .card.--feature { grid-column: 1 / -1; } }

/* ABOUT：台紙なし。集合写真はカードと重ならない位置に */
.about__visual::before, .about__visual::after { display: none; }
.about__visual { left: 556rem; right: -150rem; top: 0; width: auto; }
.about__visual img { filter: drop-shadow(0 0 1px rgba(70,52,104,.55)) drop-shadow(0 14rem 18rem rgba(46,42,58,.14)); }
.about__lead { white-space: nowrap; }
.ahero > .ahero__visual { background: none; padding: 0; overflow: visible; }
.ahero > .ahero__visual::before { display: none; }
@media (max-width: 768px) { .about__visual { left: auto; right: auto; width: calc(100% + 40rem); margin-left: -20rem; } }

/* フッター */
.f-logo small.f-tag { font-family: var(--f-en); font-weight: 600; font-size: 13rem; letter-spacing: .12em; color: var(--ink-2); }
.footer__mark { margin-top: 56rem; display: flex; flex-wrap: wrap; justify-content: center; font-family: var(--f-jp); font-weight: 700; font-size: 88rem; line-height: 1.25; letter-spacing: .04em; white-space: normal; }
.footer__mark span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; padding-bottom: .06em; }
@media (max-width: 768px) { .footer__mark { font-size: 40rem; margin-top: 34rem; flex-direction: column; align-items: center; } }

/* GUIDELINES：目次なし */
.gl.--single { grid-template-columns: minmax(0, 1fr); width: 1000rem; max-width: 100%; margin: 0 auto; }

/* 起動画面：100%でロゴが弾む */
.loader.is-done .loader__logo { animation: ldBeat .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes ldBeat { 0% { scale: 1; } 40% { scale: 1.08; } 100% { scale: 1; } }
.loader.is-done .loader__pct b { animation: flash .5s steps(2) 2; }
.about__visual { right: -46rem; }

/* ABOUT（トップ）：写真を大きく上に、文章カードは下に2カラム */
.about__wrap { min-height: 0; display: grid; }
.about__visual { position: relative; z-index: 1; left: auto; right: auto; top: auto; width: 100%; max-width: 1240rem; margin: 0 auto; aspect-ratio: 3 / 2; }
.about__visual img { -webkit-mask: none; mask: none; }
.about__bg { top: 20rem; right: -60rem; }
.about__card { width: auto; margin-top: 20rem; display: grid; grid-template-columns: 430rem minmax(0, 1fr); grid-template-areas: "s t" "l t" "f t" "b t"; column-gap: 56rem; align-content: start; padding: 44rem 52rem; }
.about__card .about__script { grid-area: s; }
.about__card .about__lead { grid-area: l; }
.about__card .about__text { grid-area: t; margin-top: 0; align-self: center; }
.about__card .flow { grid-area: f; }
.about__card .about__btn { grid-area: b; }
@media (max-width: 768px) {
  .about__visual { width: calc(100% + 24rem); max-width: none; margin-left: -12rem; }
  .about__card { margin-top: 10rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "s" "l" "t" "f" "b"; padding: 28rem 22rem; }
  .about__card .about__text { margin-top: 16rem; }
}
/* フッターの一言は1行 */
.footer__mark { flex-wrap: nowrap; }
@media (max-width: 768px) { .footer__mark { flex-direction: row; font-size: 25rem; letter-spacing: .02em; } }
/* MENU：ご奉仕ラベルとローテーション */
.dish__thumb .price { letter-spacing: .06em; font-family: var(--f-jp); font-weight: 700; color: var(--pink-d); }
.dish__thumb > div { text-align: center; line-height: .95; }
.rota { position: relative; padding: 44rem 52rem; border-radius: 32rem; text-align: center; overflow: hidden; }
.rota::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(255,209,140,.35), transparent 70%); }
.rota__label { font-size: 12rem; color: var(--ink-2); }
.rota__text { margin-top: 10rem; font-weight: 700; font-size: 22rem; line-height: 1.5; }
.rota__text b { display: inline-block; margin-top: 4rem; font-size: 40rem; background: linear-gradient(100deg, #ffb35c, #ff7fb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rota__sub { margin-top: 12rem; font-size: 14rem; color: var(--ink-2); }
@media (max-width: 768px) { .rota { padding: 28rem 20rem; } .rota__text { font-size: 17rem; } .rota__text b { font-size: 28rem; } .dish__thumb > div { font-size: 30rem; } }

/* ===== HERO：ヘッダーから帯までを1画面に収める ===== */
.hero { --top: 112rem; --hh: max(600rem, calc(100svh - 120rem)); }
.hero__wrap { height: var(--hh); }
.board { top: var(--top); bottom: 0; border-radius: calc(40 * var(--u)) calc(40 * var(--u)) 0 0; }
.hero__hud { top: var(--top); }
.hero__title { top: calc(58 * var(--u)); }
.hero__fig { --ft: calc(var(--top) + 58 * var(--u) + 92 * var(--u)); top: var(--ft); bottom: auto; width: min(calc(1520 * var(--u)), calc((var(--hh) - var(--ft)) * 2.45)); }
.hero__book { bottom: 18rem; left: calc(44 * var(--u)); }
.hero__pager { bottom: 18rem; }
@media (max-width: 768px) {
  .hero { --top: 80rem; --hh: clamp(520rem, calc(100svh - 120rem), 760rem); }
  .board { border-radius: calc(26 * var(--u)) calc(26 * var(--u)) 0 0; }
  .hero__title { top: calc(46 * var(--u)); }
  .hero__fig { --ft: calc(var(--top) + 46 * var(--u) + 120 * var(--u)); width: min(calc(640 * var(--u)), calc((var(--hh) - var(--ft)) * 1.75)); }
  .hero__book { bottom: 12rem; left: calc(8 * var(--u)); }
  .hero__pager { bottom: 12rem; }
}

/* ===== MUTADOLLについて：メンバーシップカード ===== */
.hero__book { width: 290rem; }
.mship { position: relative; display: grid; grid-template-rows: auto 1fr auto; width: 262rem; aspect-ratio: 1.586; padding: 13rem 16rem 12rem; border-radius: 16rem; overflow: hidden; isolation: isolate; text-align: left; rotate: -7deg;
  background: radial-gradient(120% 90% at 0% 0%, #ffe3ef 0%, transparent 55%), linear-gradient(130deg, #ffc9e0 0%, #e7d4fb 48%, #c3e5ff 100%);
  border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 4rem rgba(255,255,255,.75), 0 22rem 36rem -16rem rgba(46,42,58,.5); transition: rotate .7s var(--ease), translate .7s var(--ease), box-shadow .7s var(--ease); }
.mship::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.95) 1.3px, transparent 1.9px); background-size: 12rem 12rem; }
.mship::after { content: ""; position: absolute; right: -40rem; bottom: -60rem; z-index: -1; width: 170rem; height: 170rem; border-radius: 50%; border: 18rem solid rgba(255,255,255,.35); }
.mship__holo { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.95) 40%, rgba(255,160,210,.7) 47%, rgba(140,210,255,.75) 54%, rgba(255,255,255,.9) 60%, transparent 75%); background-size: 260% 260%; animation: holoLoop 3.6s ease-in-out infinite alternate; }
.mship__top { display: flex; align-items: center; justify-content: space-between; gap: 8rem; }
.mship__top img { width: auto; height: 26rem; filter: drop-shadow(0 2rem 4rem rgba(143,130,220,.35)); }
.mship__top em { font-style: normal; font-family: var(--f-en); font-weight: 700; font-size: 10rem; letter-spacing: .2em; color: #fff; padding: 2rem 8rem; border-radius: 999px; background: var(--grad); }
.mship__chip { align-self: center; width: 36rem; height: 27rem; border-radius: 6rem; background:
  linear-gradient(90deg, transparent 32%, rgba(160,110,40,.35) 32% 35%, transparent 35% 65%, rgba(160,110,40,.35) 65% 68%, transparent 68%),
  linear-gradient(0deg, transparent 45%, rgba(160,110,40,.35) 45% 55%, transparent 55%), linear-gradient(135deg, #fff1c9, #f2c86f 55%, #fbe3a6); box-shadow: inset 0 0 0 1px rgba(160,110,40,.35); }
.mship__no { font-family: var(--f-en); font-weight: 700; font-size: 17rem; letter-spacing: .14em; color: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,.9); white-space: nowrap; }
.mship__bottom { margin-top: 4rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 8rem; }
.mship__name { display: grid; font-weight: 700; font-size: 12rem; line-height: 1.3; color: var(--ink); }
.mship__name small { font-family: var(--f-en); font-weight: 600; font-size: 8rem; letter-spacing: .24em; color: var(--ink-2); }
.mship__guide { display: inline-flex; align-items: center; gap: 4rem; padding: 3rem 10rem; border-radius: 999px; background: #fff; font-family: var(--f-en); font-weight: 700; font-size: 11rem; letter-spacing: .16em; color: var(--pink-d); box-shadow: 0 4rem 10rem -6rem rgba(244,114,168,.8); }
.mship__guide i { font-style: normal; animation: heartPop 2s ease-in-out infinite; }
.hero__book:hover .mship { rotate: -2deg; translate: 0 -6rem; box-shadow: 0 0 0 4rem rgba(255,255,255,.85), 0 30rem 46rem -18rem rgba(244,114,168,.6); }
.hero__book:hover .mship__holo { animation-duration: 1.2s; }
.hero__bubble { top: -64rem; left: 2rem; }
.hero__open { right: 4rem; top: auto; bottom: -8rem; rotate: -7deg; box-shadow: 0 6rem 14rem -8rem rgba(46,42,58,.6); }
@media (max-width: 768px) {
  .hero__book { width: 150rem; }
  .mship { width: 140rem; padding: 7rem 9rem 7rem; border-radius: 10rem; box-shadow: 0 0 0 2.5rem rgba(255,255,255,.75), 0 14rem 22rem -10rem rgba(46,42,58,.5); }
  .mship__top img { height: 14rem; } .mship__top em { font-size: 5.5rem; padding: 1rem 5rem; }
  .mship__chip { width: 20rem; height: 15rem; border-radius: 4rem; }
  .mship__no { font-size: 9rem; letter-spacing: .1em; }
  .mship__name { font-size: 7rem; } .mship__name small { font-size: 5rem; }
  .mship__guide { font-size: 6.5rem; padding: 2rem 6rem; }
  .mship::after { width: 90rem; height: 90rem; border-width: 10rem; right: -24rem; bottom: -34rem; }
  .hero__bubble { top: -34rem; }
}
@media (max-width: 768px) { .hero__fig { top: auto; bottom: 0; } }
.hero__bubble { top: -84rem; } @media (max-width: 768px) { .hero__bubble { top: -40rem; } }
/* トップの集合写真は常に横いっぱい（はみ出した下側は帯で隠れる） */
.hero__fig { width: calc(1520 * var(--u)); }
@media (max-width: 768px) { .hero__fig { width: calc(640 * var(--u)); } }
/* HERO：1画面に収める制約をやめ、横いっぱいの写真が胸元〜腰まで見える高さに */
.hero { --hh: max(560rem, calc(1000 * var(--u))); }
.hero__fig { --ft: calc(var(--top) + 58 * var(--u) + 84 * var(--u)); }
@media (max-width: 768px) { .hero { --hh: calc(720 * var(--u)); } }

/* =====================================================================
   拡大・縮小しても崩れないスケール
   - PC：画面幅に合わせて全体（ヘッダー・本文・トップの写真）が同じ比率で拡大縮小
         2560px より広いときは最大サイズのまま中央に（ヘッダー・トップも同じ幅にそろえる）
   - 769〜1100px（狭いウィンドウ・大きく拡大したとき）：文字が小さくなりすぎないようにし、メニューはボタンに
   - スマホ：624px を超えたら大きくなりすぎないよう上限
   ===================================================================== */
html { font-size: min(max(calc(100vw / 1440), min(calc(100vw / 1200), 0.8333px)), 1.1852px); }
@media (max-width: 768px) { html { font-size: min(calc(100vw / 390), 1.6px); } }
.hero { --u: min(calc(100cqw / 1440), 1.1852px); }
.hero__wrap { max-width: calc(1440 * var(--u)); margin-inline: auto; }
.header { padding-left: max(16px, 44rem, env(safe-area-inset-left, 0px), calc((100vw - 1440rem) / 2 + 44rem)); padding-right: max(16px, 40rem, env(safe-area-inset-right, 0px), calc((100vw - 1440rem) / 2 + 40rem)); }
.contact-badge { right: max(26rem, env(safe-area-inset-right, 0px), calc((100vw - 1440rem) / 2 + 26rem)); }
.footer__mark { font-size: min(88rem, calc((min(100vw, 1312rem) - 56px) / 14.8)); }
@media (min-width: 769px) and (max-width: 1100px) {
  .gnav, .h-join { display: none; }
  .h-x { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; position: relative; z-index: 32; width: 56rem; height: 56rem; border-radius: 50%; background: var(--ink); }
  .menu-btn span { position: absolute; left: 18rem; right: 18rem; height: 1.5px; background: #fff; transition: .5s var(--ease); }
  .menu-btn span:nth-child(1) { top: 23rem; } .menu-btn span:nth-child(2) { top: 32rem; }
  .menu-open .menu-btn span:nth-child(1) { top: 27.5rem; rotate: 45deg; }
  .menu-open .menu-btn span:nth-child(2) { top: 27.5rem; rotate: -45deg; }
  .sp-menu { padding-top: calc(env(safe-area-inset-top, 0px) + 130rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; column-gap: 40rem; }
  .sp-menu .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 768px) {
  .hero { --u: min(calc(100cqw / 390), 1.6px); }
  .hero__wrap { max-width: calc(390 * var(--u)); }
  .footer__mark { font-size: min(25rem, calc((100vw - 40px) / 14.6)); }
}

/* ===== MEDIA ===== */
.mjump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16rem; width: 900rem; max-width: 100%; margin: 0 auto; }
.mjump a { display: grid; justify-items: center; gap: 2rem; padding: 18rem 10rem; border-radius: 22rem; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 16rem 30rem -24rem rgba(46,42,58,.5); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mjump a:hover { transform: translateY(-4rem); box-shadow: 0 24rem 40rem -24rem rgba(244,114,168,.6); }
.mjump b { font-family: var(--f-en); font-weight: 800; font-size: 30rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mjump small { font-size: 12rem; font-weight: 700; color: var(--ink-2); }
.sub-sec[id] { scroll-margin-top: 90rem; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16rem; }
.mitem { position: relative; padding: 30rem 10rem 0; border-radius: 22rem; overflow: hidden; isolation: isolate; background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,255,255,.5)); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 20rem 40rem -30rem rgba(46,42,58,.5); }
.mitem::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 60%, rgba(255,156,198,.3), transparent 70%), radial-gradient(40% 50% at 90% 90%, rgba(143,211,255,.35), transparent 70%); }
.mitem.--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 50rem 18rem 0; }
.mitem img { width: 100%; height: auto; transition: transform 1s var(--ease); transform-origin: 50% 100%; }
.mitem:hover img { transform: scale(1.04); }
.mitem__lab { position: absolute; left: 16rem; top: 10rem; font-size: 10rem; color: var(--ink-2); }
.mitem.--big .mitem__lab { left: 24rem; top: 18rem; font-size: 13rem; color: var(--pink-d); }
.movie { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44rem; align-items: center; padding: 34rem; border-radius: 34rem; }
.movie__screen { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 22rem; overflow: hidden; background: #221d31; }
.movie__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .55; filter: saturate(1.1); transition: opacity .6s, transform 1s var(--ease); }
.movie__screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.06) 3px 4px); pointer-events: none; }
.movie__screen:hover img { opacity: .75; transform: scale(1.04); }
.movie__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1; display: grid; place-items: center; width: 88rem; height: 88rem; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 0 10rem rgba(255,255,255,.25), 0 0 40rem rgba(255,143,192,.8); transition: scale .5s var(--ease); }
.movie__play svg { width: 36rem; height: 36rem; margin-left: 5rem; }
.movie__screen:hover .movie__play { scale: 1.08; }
.movie__rec { position: absolute; z-index: 1; left: 18rem; top: 14rem; display: flex; align-items: center; gap: 8rem; font-size: 11rem; color: #fff; }
.movie__rec i { width: 8rem; height: 8rem; border-radius: 50%; background: #ff5a8a; animation: blink 1s steps(1) infinite; }
.movie__label { font-size: 12rem; color: var(--ink-2); }
.movie__lead { margin-top: 8rem; font-weight: 700; font-size: 28rem; line-height: 1.4; }
.movie__body { margin-top: 12rem; color: var(--ink-2); line-height: 2; }
.movie__text .btn { margin-top: 24rem; }
.share { position: relative; padding: 54rem 40rem; border-radius: 36rem; text-align: center; overflow: hidden; background: linear-gradient(120deg, #ffd0e4, #e6d3fb 50%, #c9e8ff); box-shadow: 0 40rem 70rem -46rem rgba(244,114,168,.7); isolation: isolate; }
.share::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.95) 1.6px, transparent 2.2px); background-size: 18rem 18rem; }
.share__label { font-size: 12rem; color: var(--ink-2); }
.share__tag code { display: inline-block; margin-top: 10rem; font-family: var(--f-en); font-weight: 800; font-size: 96rem; line-height: 1; letter-spacing: .02em; color: #fff; text-shadow: 0 6rem 0 rgba(244,114,168,.35), 0 0 30rem rgba(255,255,255,.8); }
.share__text { margin-top: 18rem; font-weight: 700; line-height: 2; }
.share__text b { color: var(--pink-d); }
.share .btns { margin-top: 26rem; }
.share .btn { background: #fff; border-color: #fff; }
@media (max-width: 1024px) and (min-width: 769px) { .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .mjump { gap: 8rem; } .mjump a { padding: 12rem 4rem; border-radius: 16rem; } .mjump b { font-size: 18rem; } .mjump small { font-size: 10rem; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10rem; }
  .mitem { padding: 22rem 4rem 0; border-radius: 16rem; } .mitem__lab { left: 10rem; top: 6rem; font-size: 8rem; }
  .mitem.--big { padding: 30rem 8rem 0; } .mitem.--big .mitem__lab { left: 14rem; top: 10rem; font-size: 10rem; }
  .movie { grid-template-columns: minmax(0, 1fr); gap: 20rem; padding: 14rem 14rem 26rem; border-radius: 24rem; }
  .movie__screen { border-radius: 16rem; } .movie__play { width: 64rem; height: 64rem; } .movie__play svg { width: 26rem; height: 26rem; }
  .movie__text { padding: 0 8rem; } .movie__lead { font-size: 21rem; } .movie__body { font-size: 13rem; }
  .share { padding: 36rem 18rem; border-radius: 24rem; } .share__tag code { font-size: 50rem; } .share__text { font-size: 13rem; }
}

/* MEDIA：動画一覧（タグで絞り込み） */
#movie .tabs { margin-bottom: 26rem; }
.mvlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22rem; }
.mvlist li[hidden] { display: none; }
.mv__link { display: block; padding: 10rem 10rem 18rem; border-radius: 24rem; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 20rem 40rem -30rem rgba(46,42,58,.55); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.mv__link:hover { transform: translateY(-6rem); box-shadow: 0 30rem 50rem -30rem rgba(244,114,168,.6); }
.mv__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16rem; overflow: hidden; background: #221d31; }
.mv__link.--short .mv__thumb { aspect-ratio: 9 / 16; }
.mv__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.mv__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34,29,49,.45)), repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.05) 3px 4px); pointer-events: none; }
.mv__link:hover .mv__thumb img { transform: scale(1.05); filter: saturate(1.15); }
.mv__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 64rem; height: 64rem; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--pink-d); box-shadow: 0 0 0 8rem rgba(255,255,255,.3), 0 10rem 30rem rgba(46,42,58,.3); transition: scale .5s var(--ease), background .4s, color .4s; }
.mv__play svg { width: 28rem; height: 28rem; margin-left: 4rem; }
.mv__link:hover .mv__play { scale: 1.1; background: var(--grad); color: #fff; }
.mv__tag { position: absolute; z-index: 1; left: 10rem; top: 10rem; padding: 2rem 12rem; border-radius: 999px; color: #fff; font-weight: 700; font-size: 12rem; letter-spacing: .04em; box-shadow: 0 0 0 2rem rgba(255,255,255,.7); }
.mv__tag.--short { background: #ff7fb8; } .mv__tag.--pv { background: #a98bf0; } .mv__tag.--live { background: #4eaee9; } .mv__tag.--cover { background: linear-gradient(100deg, #ffb35c, #ff7fb0); }
.mv__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 14rem; padding: 0 6rem; font-weight: 700; font-size: 16rem; line-height: 1.55; }
.mv__meta { margin-top: 8rem; padding: 0 6rem; display: flex; align-items: center; justify-content: space-between; gap: 10rem; }
.mv__who { display: inline-flex; align-items: center; gap: 6rem; font-weight: 700; font-size: 13rem; color: var(--ink-2); }
.mv__who::before { content: ""; width: 9rem; height: 9rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2rem #fff, 0 0 0 3rem var(--hair); }
.mv__yt { margin-left: auto; font-size: 10rem; color: var(--pink-d); }
@media (max-width: 1024px) and (min-width: 769px) { .mvlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .mvlist { grid-template-columns: minmax(0, 1fr); gap: 14rem; }
  .mv__link { padding: 8rem 8rem 14rem; border-radius: 18rem; } .mv__thumb { border-radius: 12rem; }
  .mv__title { font-size: 14rem; } .mv__play { width: 54rem; height: 54rem; }
}
/* 動画カードの高さをそろえる */
.mvlist > li { display: flex; } .mvlist > li[hidden] { display: none; }
.mv__link { flex: 1; display: flex; flex-direction: column; }
.mv__title { min-height: 3.1em; }
.mv__meta { margin-top: auto; padding-top: 8rem; }


/* =====================================================================
   あそび：隠れハート・スタンプカード・推しメイドおみくじ・隠しコマンド
   ===================================================================== */
/* 隠れハート */
.secret-heart { position: absolute; z-index: 9; width: 26rem; height: 24rem; translate: -50% -50%; padding: 0; cursor: pointer; animation: shTwinkle 3.2s ease-in-out infinite; }
.secret-heart svg { width: 100%; height: 100%; overflow: visible; fill: url(#none); }
.secret-heart svg path { fill: #ff8fc0; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 4rem rgba(255,143,192,.9)); }
.secret-heart::before, .secret-heart::after { content: "✦"; position: absolute; font-size: 10rem; line-height: 1; color: #ffd36e; opacity: 0; animation: shSpark 3.2s ease-in-out infinite; }
.secret-heart::before { left: -8rem; top: -6rem; } .secret-heart::after { right: -9rem; bottom: -4rem; animation-delay: .5s; }
.secret-heart:hover { animation: shWiggle .5s ease-in-out infinite; }
.secret-heart.is-got { animation: shGot .5s var(--ease) forwards; pointer-events: none; }
@keyframes shTwinkle { 0%, 70%, 100% { scale: 1; } 78% { scale: 1.25; } 86% { scale: .95; } }
@keyframes shSpark { 0%, 66%, 100% { opacity: 0; scale: .4; } 76% { opacity: 1; scale: 1.2; } 88% { opacity: 0; scale: .6; } }
@keyframes shWiggle { 0%, 100% { rotate: -12deg; } 50% { rotate: 12deg; } }
@keyframes shGot { to { scale: 2.4; opacity: 0; } }
/* はじけるハート */
.md-pop { position: fixed; z-index: 120; width: 18rem; height: 16rem; margin: -8rem 0 0 -9rem; pointer-events: none; background: var(--c);
  clip-path: path("M9 16 C3 12 0 8.5 0 5 C0 2 2.2 0 5 0 C6.8 0 8.2 1 9 2.6 C9.8 1 11.2 0 13 0 C15.8 0 18 2 18 5 C18 8.5 15 12 9 16 Z"); animation: mdPop 1.2s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes mdPop { 0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 1; } 30% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(var(--r)); opacity: 0; } }
/* お知らせ */
.md-toast { position: fixed; z-index: 110; left: 50%; bottom: calc(28rem + env(safe-area-inset-bottom, 0px)); translate: -50% 30rem; padding: 12rem 24rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14rem; white-space: nowrap; box-shadow: 0 16rem 30rem -14rem rgba(46,42,58,.7); opacity: 0; pointer-events: none; transition: opacity .4s, translate .6s var(--ease); }
.md-toast b { color: var(--pink); }
.md-toast.is-on { opacity: 1; translate: -50% 0; }
/* スタンプカードの入口（左下） */
.md-badge { position: fixed; z-index: 28; left: max(24rem, env(safe-area-inset-left, 0px)); bottom: calc(24rem + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 6rem; height: 50rem; padding: 0 18rem 0 14rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 14rem 28rem -14rem rgba(244,114,168,.8); font-family: var(--f-en); font-weight: 700; transition: transform .5s var(--ease); }
.md-badge[hidden] { display: none; }
.md-badge:hover { transform: translateY(-3rem) rotate(-3deg); }
.md-badge svg { width: 22rem; height: 20rem; } .md-badge svg path { fill: #ff8fc0; }
.md-badge b { font-size: 20rem; color: var(--pink-d); } .md-badge small { font-size: 13rem; color: var(--ink-2); }
.md-badge.--vip { background: linear-gradient(120deg, #fff4cf, #ffd36e 45%, #ffb3d1); }
.md-badge.--vip svg path { fill: #f472a8; }
/* ポップアップの土台 */
.md-modal[hidden] { display: none !important; }
.md-modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: max(16px, 30rem); }
.md-modal__bg { position: absolute; inset: 0; background: rgba(46,42,58,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.md-modal__box { position: relative; width: min(640rem, 100%); max-height: 90vh; overflow-y: auto; padding: 46rem 44rem 38rem; border-radius: 32rem; text-align: center; isolation: isolate;
  background: radial-gradient(70% 50% at 0% 0%, #ffe3ef, transparent 70%), radial-gradient(70% 50% at 100% 100%, #e2f4ff, transparent 70%), #fff; box-shadow: 0 50rem 100rem -50rem rgba(46,42,58,.7); animation: modalIn .6s var(--ease) both; }
.md-modal__box::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: radial-gradient(circle at 1px 1px, rgba(244,114,168,.35) 1.4px, transparent 2px); background-size: 16rem 16rem; }
.md-modal__close { position: absolute; right: 16rem; top: 16rem; display: grid; place-items: center; width: 42rem; height: 42rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hair); transition: background .4s, color .4s; }
.md-modal__close:hover { background: var(--ink); color: #fff; }
.md-modal__close svg { width: 13rem; height: 13rem; }
/* スタンプカード */
.md-stamp__label, .md-omk__label { font-size: 11rem; color: var(--ink-2); }
.md-stamp__title, .md-omk__title { margin-top: 6rem; font-weight: 700; font-size: 28rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; margin-inline: auto; }
.md-stamp__lead { margin-top: 12rem; font-size: 14rem; line-height: 1.9; color: var(--ink-2); }
.md-stamp__lead b { color: var(--pink-d); }
.md-stamp__bar { position: relative; height: 10rem; margin: 22rem 0 0; border-radius: 999px; background: rgba(46,42,58,.08); overflow: hidden; }
.md-stamp__bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--grad); transition: width .8s var(--ease); }
.md-stamp__count { margin-top: 8rem; font-size: 12rem; color: var(--ink-2); } .md-stamp__count b { font-size: 18rem; color: var(--pink-d); }
.md-stamp__grid { margin-top: 18rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12rem; }
.md-stamp__grid li { position: relative; display: grid; justify-items: center; align-content: center; gap: 4rem; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(244,114,168,.4); background: rgba(255,255,255,.75); }
.md-stamp__grid li em { font-style: normal; font-family: var(--f-en); font-weight: 800; font-size: 26rem; color: rgba(46,42,58,.2); line-height: 1; }
.md-stamp__grid li svg { width: 40%; height: auto; } .md-stamp__grid li svg path { fill: #ff8fc0; }
.md-stamp__grid li.is-on { border-style: solid; border-color: var(--pink); background: #fff0f6; animation: stampIn .5s var(--ease) both; }
.md-stamp__no { position: absolute; top: 12%; font-size: 9rem; color: var(--ink-2); }
.md-stamp__pg { font-size: 8.5rem; color: var(--ink-2); letter-spacing: .1em; }
@keyframes stampIn { from { scale: 1.4; rotate: -12deg; opacity: 0; } }
.md-stamp__vip { margin-top: 20rem; padding: 20rem; border-radius: 22rem; background: linear-gradient(120deg, #fff4cf, #ffe08a 45%, #ffc4dc); }
.md-stamp__vip .mono { font-size: 12rem; color: #a86a00; }
.md-stamp__vip p + p { margin-top: 6rem; font-size: 14rem; line-height: 1.8; } .md-stamp__vip b { color: var(--pink-d); }
.md-stamp__vip .btn { margin-top: 14rem; background: #fff; border-color: #fff; }
.md-stamp__reset { margin-top: 18rem; font-size: 11rem; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
/* VIP になったらメンバーシップカードが金色に */
.is-vip .mship { background: radial-gradient(120% 90% at 0% 0%, #fff8dc 0%, transparent 55%), linear-gradient(130deg, #ffe7a3 0%, #ffd36e 40%, #ffc0d9 100%); }
.is-vip .mship__top em { background: linear-gradient(100deg, #f2a91d, #f472a8); }
/* 推しメイドおみくじ */
.footer__mark { width: 100%; cursor: pointer; transition: transform .6s var(--ease); }
.footer__mark:hover { transform: scale(1.02); }
.footer__mark:hover span { animation: holo 1.2s var(--ease) both; background-size: 200% 100%; }
.md-omk .md-modal__box { width: min(720rem, 100%); }
.md-omk__stage { position: relative; margin-top: 22rem; min-height: 300rem; display: grid; place-items: center; }
.md-omk__cap { position: relative; width: 150rem; height: 150rem; }
.md-omk__cap i { position: absolute; left: 0; right: 0; height: 50%; border: 3px solid #fff; box-shadow: 0 10rem 24rem -12rem rgba(46,42,58,.6); transition: transform .5s var(--ease), opacity .5s; }
.md-omk__cap .--t { top: 0; border-radius: 75rem 75rem 0 0; background: linear-gradient(160deg, #ffc2dc, #ff8fc0); }
.md-omk__cap .--b { bottom: 0; border-radius: 0 0 75rem 75rem; background: linear-gradient(160deg, #d8eeff, #8fd3ff); }
.md-omk__cap span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-en); font-weight: 800; font-size: 54rem; color: #fff; text-shadow: 0 3rem 0 rgba(244,114,168,.4); }
.md-omk__cap.is-shake { animation: capShake 1.1s ease-in-out both; }
@keyframes capShake { 0%, 100% { rotate: 0; } 10% { rotate: -14deg; } 22% { rotate: 12deg; } 34% { rotate: -10deg; } 46% { rotate: 9deg; } 58% { rotate: -6deg; } 70% { rotate: 4deg; scale: 1.06; } 85% { scale: 1.12; } }
.md-omk__cap.is-open .--t { transform: translate(-60rem, -50rem) rotate(-40deg); opacity: 0; }
.md-omk__cap.is-open .--b { transform: translate(60rem, 50rem) rotate(30deg); opacity: 0; }
.md-omk__cap.is-open span { opacity: 0; }
.md-omk__res { position: absolute; inset: 0; display: grid; grid-template-columns: 220rem minmax(0, 1fr); gap: 26rem; align-items: center; text-align: left; animation: omkIn .7s cubic-bezier(.3,1.5,.5,1) both; }
.md-omk__res[hidden] { display: none; }
@keyframes omkIn { from { opacity: 0; scale: .7; } }
.md-omk__ph { margin: 0; aspect-ratio: 3 / 4; border-radius: 20rem; overflow: hidden; background: radial-gradient(circle at 50% 28%, #fff 0, color-mix(in srgb, var(--c, #ffe3ef) 70%, #fff) 45%, var(--c, #ffe3ef) 100%); box-shadow: 0 0 0 4rem #fff, 0 20rem 30rem -18rem rgba(46,42,58,.5); }
.md-omk__ph img { width: 100%; height: auto; }
.md-omk__luck { display: inline-flex; align-items: center; gap: 8rem; padding: 3rem 14rem 3rem 4rem; border-radius: 999px; background: var(--ink); color: #fff; }
.md-omk__luck span { padding: 1rem 8rem; border-radius: 999px; background: var(--grad); font-size: 10rem; }
.md-omk__luck b { font-size: 15rem; }
.md-omk__lead { margin-top: 12rem; font-size: 13rem; color: var(--ink-2); }
.md-omk__name { margin-top: 2rem; font-weight: 700; font-size: 34rem; line-height: 1.3; word-break: break-all; }
.md-omk__catch { margin-top: 4rem; font-weight: 700; font-size: 13rem; color: var(--pink-d); line-height: 1.6; }
.md-omk__spec { margin-top: 14rem; border-top: 1px solid var(--hair); }
.md-omk__spec div { display: grid; grid-template-columns: 110rem minmax(0, 1fr); padding: 8rem 0; border-bottom: 1px solid var(--hair); font-size: 13rem; }
.md-omk__spec dt { font-weight: 700; color: var(--pink-d); font-size: 12rem; }
.md-omk__spec dd { font-weight: 700; color: var(--ink-2); } .md-omk__spec dd .--on { color: var(--pink-d); }
.md-omk__btns { margin-top: 24rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 12rem; }
.md-omk__btns .btn[hidden] { display: none; }
@media (max-width: 768px) {
  .secret-heart { width: 22rem; height: 20rem; }
  .md-badge { left: 12rem; bottom: calc(14rem + env(safe-area-inset-bottom, 0px)); height: 42rem; padding: 0 14rem 0 11rem; }
  .md-modal__box { padding: 38rem 18rem 26rem; border-radius: 24rem; }
  .md-stamp__title, .md-omk__title { font-size: 22rem; }
  .md-stamp__grid { gap: 8rem; }
  .md-omk__stage { min-height: 0; }
  .md-omk__res { position: relative; grid-template-columns: 120rem minmax(0, 1fr); gap: 14rem; }
  .md-omk__cap { width: 120rem; height: 120rem; }
  .md-omk__res:not([hidden]) ~ .md-omk__cap, .md-omk__stage:has(.md-omk__res:not([hidden])) .md-omk__cap { display: none; }
  .md-omk__name { font-size: 24rem; }
  .md-omk__spec div { grid-template-columns: 90rem minmax(0, 1fr); }
  .md-toast { font-size: 12rem; padding: 10rem 18rem; }
}
/* トップの写真の上ではスタンプの入口を隠す（メンバーシップカードと重ならないように） */
.md-badge { transition: transform .5s var(--ease), opacity .4s, translate .5s var(--ease); }
.md-badge.--away { opacity: 0; translate: 0 20rem; pointer-events: none; }

/* ABOUT（トップ）：左に紹介文、右に「ご帰宅の流れ」とボタン */
.about__card { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: none; align-items: center; column-gap: 52rem; padding: 46rem 52rem; }
.about__main .about__text { margin-top: 18rem; align-self: auto; }
.about__side { padding: 30rem 30rem 28rem; border-radius: 26rem; background: linear-gradient(150deg, rgba(255,227,239,.75), rgba(226,244,255,.75)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95); }
.about__side-h { display: flex; align-items: baseline; gap: 12rem; }
.about__side-h b { font-size: 22rem; font-weight: 700; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__side-h span { font-weight: 700; font-size: 13rem; color: var(--pink-d); }
.flow2 { position: relative; margin-top: 20rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6rem; counter-reset: none; }
.flow2::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23rem; height: 2px; background: repeating-linear-gradient(90deg, var(--pink) 0 6rem, transparent 6rem 11rem); }
.flow2 li { position: relative; display: grid; justify-items: center; gap: 8rem; text-align: center; }
.flow2 b { display: grid; place-items: center; width: 46rem; height: 46rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--pink), 0 10rem 18rem -10rem rgba(244,114,168,.8); font-family: var(--f-en); font-weight: 800; font-size: 17rem; color: var(--pink-d); }
.flow2 li:nth-child(even) b { box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--sky), 0 10rem 18rem -10rem rgba(78,174,233,.8); color: var(--sky-d); }
.flow2 span { font-weight: 700; font-size: 12.5rem; line-height: 1.4; }
.about__side .about__btn { margin-top: 26rem; flex-wrap: nowrap; }
.about__side .btn { flex: 1; min-width: 0; }
@media (max-width: 768px) {
  .about__card { grid-template-columns: minmax(0, 1fr); row-gap: 22rem; padding: 28rem 20rem; }
  .about__side { padding: 20rem 14rem; border-radius: 18rem; }
  .flow2 { gap: 2rem; } .flow2::before { top: 17rem; }
  .flow2 b { width: 34rem; height: 34rem; font-size: 13rem; }
  .flow2 span { font-size: 10rem; }
  .about__side .about__btn { flex-wrap: wrap; } .about__side .btn { flex: 1 1 100%; }
}

/* スタンプの入口：丸く小さく（本文にかぶらないように） */
.md-badge { left: max(12rem, env(safe-area-inset-left, 0px)); width: 58rem; height: 58rem; padding: 0; border-radius: 50%; flex-direction: column; justify-content: center; gap: 0; }
.md-badge svg { width: 20rem; height: 18rem; }
.md-badge span { display: flex; align-items: baseline; line-height: 1.1; }
.md-badge b { font-size: 15rem; } .md-badge small { font-size: 10rem; }
@media (max-width: 768px) { .md-badge { left: 10rem; width: 48rem; height: 48rem; padding: 0; } .md-badge svg { width: 16rem; height: 14rem; } .md-badge b { font-size: 13rem; } }

/* MEDIA：4列×2段＝8枚ずつ */
.mitem[hidden] { display: none; }
#photo .pager { margin-top: 34rem; }
@media (max-width: 1024px) and (min-width: 769px) { .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow2 span { word-break: keep-all; }

/* =====================================================================
   ひみつのことば
   ===================================================================== */
.md-holdable { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.md-stamp__word { margin-top: 14rem; font-size: 13rem; color: #a86a00; } .md-stamp__word b { font-size: 17rem; color: var(--pink-d); letter-spacing: .1em; text-transform: none; }
.md-stamp__hint { margin-top: 2rem !important; font-size: 12rem !important; color: var(--ink-2); }

/* ---------- 1. MUTADOLL_OS ターミナル（帯と同じ夜色＋ネオン） ---------- */
.md-term .md-modal__box { width: min(760rem, 100%); padding: 0; text-align: left; background: #221d31; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 40rem rgba(255,143,192,.25), 0 50rem 100rem -40rem rgba(0,0,0,.7); overflow: hidden; }
.md-term .md-modal__box::before { opacity: 1; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255,255,255,.035) 3px 4px), radial-gradient(60% 50% at 100% 0%, rgba(143,211,255,.14), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(255,143,192,.14), transparent 70%); background-size: auto; }
.md-term .md-modal__close { top: 9rem; right: 12rem; width: 30rem; height: 30rem; background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.md-term .md-modal__close:hover { background: var(--pink-d); }
.md-term__bar { display: flex; align-items: center; gap: 8rem; padding: 14rem 18rem; border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(90deg, rgba(255,143,192,.18), rgba(124,203,255,.18)); }
.md-term__bar i { width: 12rem; height: 12rem; border-radius: 50%; background: #ff8fc0; } .md-term__bar i:nth-child(2) { background: #d6a6f2; } .md-term__bar i:nth-child(3) { background: #7ccbff; }
.md-term__bar span { margin-left: 8rem; font-size: 12rem; color: rgba(255,255,255,.7); }
.md-term__screen { height: min(46vh, 380rem); overflow-y: auto; padding: 18rem 22rem 6rem; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, var(--f-jp), monospace; font-size: 13.5rem; line-height: 1.75; color: #e9e4f7; scrollbar-width: thin; }
.md-term__screen p { word-break: break-all; }
.md-term__screen b { color: #ffd36e; font-weight: 700; }
.md-term__screen a { color: #8fd3ff; text-decoration: underline; }
.md-term__screen .--sys { color: #c9b3f5; }
.md-term__screen .--in { margin-top: 8rem; color: #fff; }
.md-term__screen .--ok { color: #b9f3dc; }
.md-term__screen .--err { color: #ff9cc6; }
.md-term__screen .--list { color: #e9e4f7; } .md-term__screen .--list b { display: inline-block; min-width: 100rem; color: #8fd3ff; }
.md-term .--p { color: #ff9cc6; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.md-term__line { display: flex; align-items: center; gap: 10rem; margin: 0 22rem; padding: 12rem 0 14rem; border-top: 1px dashed rgba(255,255,255,.15); font-size: 13.5rem; }
.md-term__line label { flex: none; white-space: nowrap; }
.md-term__line input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; caret-color: #ff8fc0; font: inherit; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.md-term__chips { display: flex; flex-wrap: wrap; gap: 8rem; padding: 0 22rem 20rem; }
.md-term__chips button { padding: 4rem 12rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #e9e4f7; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12rem; transition: background .3s, border-color .3s; }
.md-term__chips button:hover { background: rgba(255,143,192,.25); border-color: #ff8fc0; }

/* ---------- 2. メイドとチンチロ ---------- */
.md-chin .md-modal__box { width: min(760rem, 100%); }
.md-chin__score { margin-top: 8rem; display: flex; justify-content: center; gap: 18rem; font-size: 11rem; color: var(--ink-2); }
.md-chin__score b { font-size: 18rem; color: var(--pink-d); }
.md-chin__board { margin-top: 18rem; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14rem; align-items: center; }
.md-chin__side { display: grid; justify-items: center; gap: 8rem; }
.md-chin__ava { margin: 0; width: 84rem; height: 84rem; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff, var(--c, #ffe3ef)); box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--pink); }
.md-chin__ava img { width: 100%; height: auto; transform: scale(1.5); transform-origin: 50% 12%; }
.md-chin__ava.--you { display: grid; place-items: center; background: var(--grad); box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--sky); }
.md-chin__ava.--you span { color: #fff; font-size: 18rem; font-weight: 700; }
.md-chin__name { font-weight: 700; font-size: 15rem; }
.md-chin__bowl { width: 100%; max-width: 250rem; padding: 18rem 10rem; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #fff 0, #fbe9f2 55%, #e7d8f3 100%); box-shadow: inset 0 -10rem 20rem rgba(46,42,58,.12), inset 0 6rem 0 rgba(255,255,255,.9), 0 14rem 24rem -16rem rgba(46,42,58,.6); }
.md-chin__dice { display: flex; justify-content: center; gap: 10rem; }
.md-chin__dice.is-rolling .die { animation: dieRoll .14s linear infinite alternate; }
.md-chin__dice.is-rolling .die:nth-child(2) { animation-delay: -.05s; } .md-chin__dice.is-rolling .die:nth-child(3) { animation-delay: -.1s; }
@keyframes dieRoll { from { transform: translateY(-4rem) rotate(-14deg); } to { transform: translateY(3rem) rotate(12deg); } }
.die { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2rem; width: 44rem; height: 44rem; padding: 6rem; border-radius: 10rem; background: #fff; box-shadow: inset 0 -3rem 0 rgba(46,42,58,.08), 0 6rem 10rem -6rem rgba(46,42,58,.6); }
.die i { border-radius: 50%; }
.die i.on { background: var(--ink); }
.die[data-v="1"] i.on { background: #e8335e; transform: scale(1.35); }
.die.--blank { background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 2px rgba(244,114,168,.25); }
.md-chin__role { min-height: 1.6em; font-weight: 700; font-size: 16rem; color: var(--pink-d); }
.md-chin__vs { font-size: 28rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.md-chin__msg { margin-top: 16rem; min-height: 1.8em; font-weight: 700; font-size: 15rem; }
.md-chin__msg span { display: inline-block; margin-right: 6rem; padding: 0 12rem; border-radius: 999px; color: #fff; font-family: var(--f-en); letter-spacing: .1em; }
.md-chin__msg .--win { background: var(--grad); } .md-chin__msg .--lose { background: #9b95a8; } .md-chin__msg .--draw { background: #ffb35c; }
.md-chin__rule { margin-top: 16rem; font-size: 11rem; line-height: 1.8; color: var(--ink-2); }
.md-omk__btns .btn[hidden] { display: none; }

@keyframes liveIn { from { opacity: 0; } } @keyframes liveOut { to { opacity: 0; } }

/* ---------- 3. オムライスにお絵描き ---------- */
.md-omu .md-modal__box { width: min(640rem, 100%); }
.md-omu__lead { margin-top: 10rem; font-size: 13rem; line-height: 1.8; color: var(--ink-2); }
.md-omu__lead b { color: var(--pink-d); }
.md-omu__stage { position: relative; margin-top: 16rem; border-radius: 24rem; overflow: hidden; background: repeating-linear-gradient(45deg, #fff3f8 0 14rem, #ffe6f0 14rem 28rem); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 18rem 30rem -22rem rgba(46,42,58,.6); }
.md-omu__stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 520 / 400; cursor: crosshair; touch-action: none; }
.md-omu__fx { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
.md-omu__fx::after { content: "おいしくなあれ♡"; font-weight: 700; font-size: 40rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3rem 0 #fff) drop-shadow(0 0 14rem rgba(255,255,255,.9)); opacity: 0; }
.md-omu__fx.is-on::after { animation: omuMagic 2.4s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes omuMagic { 0% { opacity: 0; transform: scale(.3) rotate(-10deg); } 20% { opacity: 1; transform: scale(1.1) rotate(2deg); } 30%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.1); } }
.md-omu__res { margin-top: 16rem; display: grid; grid-template-columns: minmax(0, 1fr) 150rem; grid-template-areas: "s i" "c i"; gap: 6rem 18rem; align-items: center; text-align: left; }
.md-omu__res[hidden] { display: none; }
.md-omu__score { grid-area: s; display: flex; align-items: baseline; gap: 6rem; }
.md-omu__score .mono { font-size: 12rem; color: var(--ink-2); }
.md-omu__score b { font-family: var(--f-en); font-weight: 800; font-size: 54rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.md-omu__score small { font-size: 16rem; color: var(--ink-2); }
.md-omu__score em { margin-left: 8rem; padding: 0 12rem; border-radius: 999px; background: var(--ink); color: #fff; font-style: normal; font-family: var(--f-en); font-weight: 700; font-size: 18rem; }
.md-omu__cmt { grid-area: c; font-size: 13rem; font-weight: 700; line-height: 1.7; } .md-omu__cmt b { color: var(--pink-d); }
.md-omu__img { grid-area: i; margin: 0; } .md-omu__img img { width: 100%; height: auto; border-radius: 12rem; box-shadow: 0 0 0 3rem #fff, 0 10rem 16rem -10rem rgba(46,42,58,.6); }
.md-omu__img figcaption { margin-top: 6rem; font-size: 9.5rem; line-height: 1.5; color: var(--ink-2); text-align: center; }

/* ---------- 4. メイド大行進 ---------- */
.md-parade { position: fixed; inset: 0; z-index: 105; pointer-events: none; overflow: hidden; animation: liveIn .4s ease both; }
.md-parade.is-out { animation: liveOut .5s ease both; }
.md-parade::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(255,214,234,.85), rgba(255,214,234,0)); }
.md-parade__banner { position: absolute; left: 50%; top: 22%; translate: -50% 0; display: grid; justify-items: center; gap: 2rem; padding: 18rem 40rem; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 20rem 40rem -24rem rgba(244,114,168,.8); animation: bannerIn .8s cubic-bezier(.3,1.5,.5,1) both; white-space: nowrap; }
.md-parade__banner .mono { font-size: 12rem; color: var(--pink-d); }
.md-parade__banner b { font-weight: 700; font-size: 30rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.md-parade__banner small { font-size: 11rem; color: var(--ink-2); }
@keyframes bannerIn { from { opacity: 0; scale: .6; } }
.md-parade__close { position: absolute; right: max(20rem, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + 112rem); pointer-events: auto; display: grid; place-items: center; width: 48rem; height: 48rem; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10rem 20rem -10rem rgba(46,42,58,.7); }
.md-parade__close svg { width: 14rem; height: 14rem; }
.md-pm { position: absolute; left: 0; pointer-events: auto; display: grid; justify-items: center; gap: 4rem; animation: pmWalk var(--d) linear both; }
.md-pm.--l0 { bottom: 40%; } .md-pm.--l1 { bottom: 23%; } .md-pm.--l2 { bottom: 5%; }
/* 大行進：どのレーンも画面の右から出てきて左へ */
@keyframes pmWalk { from { transform: translateX(calc(100vw + 40rem)); } to { transform: translateX(-160rem); } }
.md-pm__ph { width: 104rem; height: 124rem; border-radius: 52rem 52rem 18rem 18rem; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff, var(--c)); box-shadow: 0 0 0 3rem #fff, 0 14rem 20rem -12rem rgba(46,42,58,.55); animation: pmBob .42s ease-in-out infinite alternate; }
.md-pm__ph img { width: 100%; height: auto; transform: scale(1.3); transform-origin: 50% 8%; }
.md-pm__nm { padding: 1rem 10rem; border-radius: 999px; background: #fff; font-weight: 700; font-size: 12rem; white-space: nowrap; box-shadow: 0 6rem 12rem -8rem rgba(46,42,58,.6); }
.md-pm__nm::before { content: ""; display: inline-block; width: 7rem; height: 7rem; margin-right: 5rem; border-radius: 50%; background: var(--c2); vertical-align: middle; }
.md-pm:hover .md-pm__ph { box-shadow: 0 0 0 3rem #fff, 0 0 0 6rem var(--pink), 0 14rem 20rem -12rem rgba(46,42,58,.55); }
@keyframes pmBob { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-12rem) rotate(4deg); } }

/* ---------- 5. 開店モード ---------- */
.md-open { display: none; flex: none; align-items: center; gap: 8rem; height: 44rem; padding: 0 16rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--pink-d), 0 0 20rem rgba(255,143,192,.6); animation: openPulse 1.6s ease-in-out infinite; }
.is-open-now .md-open { display: inline-flex; }
.md-open i { width: 10rem; height: 10rem; border-radius: 50%; background: #ff4f7e; box-shadow: 0 0 10rem #ff4f7e; animation: blink 1s steps(1) infinite; }
.md-open b { font-family: var(--f-en); font-weight: 700; font-size: 16rem; letter-spacing: .14em; color: var(--pink-d); }
.md-open span { font-size: 11rem; font-weight: 700; color: var(--ink-2); }
@keyframes openPulse { 50% { box-shadow: 0 0 0 2px var(--pink-d), 0 0 34rem rgba(255,143,192,.95); } }
.is-open-now .board { box-shadow: 0 0 0 3px rgba(255,143,192,.7), 0 0 60rem rgba(255,143,192,.45), 0 40rem 80rem -50rem rgba(46,42,58,.45); }

@media (max-width: 1100px) { .md-open span { display: none; } }
@media (max-width: 768px) {
  .md-term__screen { font-size: 12rem; height: 44vh; padding: 14rem 14rem 4rem; }
  .md-term__line { margin: 0 14rem; font-size: 12rem; } .md-term__chips { padding: 0 14rem 16rem; gap: 6rem; } .md-term__chips button { font-size: 11rem; }
  .md-chin__board { gap: 6rem; } .md-chin__ava { width: 60rem; height: 60rem; } .md-chin__name { font-size: 12rem; }
  .md-chin__bowl { padding: 12rem 4rem; } .md-chin__dice { gap: 4rem; } .die { width: 28rem; height: 28rem; padding: 4rem; border-radius: 7rem; gap: 1rem; }
  .md-chin__vs { font-size: 18rem; } .md-chin__role { font-size: 13rem; } .md-chin__msg { font-size: 13rem; }
  .md-omu__fx::after { font-size: 26rem; }
  .md-omu__res { grid-template-columns: minmax(0, 1fr) 100rem; } .md-omu__score b { font-size: 40rem; }
  .md-parade__banner { top: 18%; padding: 12rem 22rem; } .md-parade__banner b { font-size: 22rem; }
  .md-pm__ph { width: 70rem; height: 84rem; } .md-pm__nm { font-size: 10rem; }
  .md-parade__close { top: calc(env(safe-area-inset-top, 0px) + 80rem); }
  .md-open { height: 34rem; padding: 0 10rem; } .md-open b { font-size: 12rem; }
}
/* チンチロ：サイコロをくっきり */
.die { box-shadow: inset 0 0 0 1.5px rgba(46,42,58,.18), inset 0 -3rem 0 rgba(46,42,58,.08), 0 6rem 10rem -6rem rgba(46,42,58,.6); }
.md-chin__bowl { background: radial-gradient(ellipse at 50% 40%, #fff3f9 0, #f7dceb 55%, #dccbef 100%); }

/* =====================================================================
   PC：ブラウザ67%表示のときのサイズ感を100%の標準に
   - 1文字(rem)の上限を 1.7778px → 1.1852px（＝2560×2/3÷1440）に。約1707pxより広い画面では
     文字やカードは大きくならず中央にまとまる（ヘッダーも同じ幅にそろう）
   - トップの集合写真（2:1）は、上限を超えても常に画面の横いっぱい
   ===================================================================== */
.hero__slides { aspect-ratio: 2 / 1; }
@media (min-width: 769px) { .hero__fig { width: max(calc(1520 * var(--u)), 100cqw); } }
@media (max-width: 768px) { .hero { --hh: calc(650 * var(--u)); } .hero__fig { width: calc(660 * var(--u)); } }

/* ---------- チンチロ：投げ入れる3Dサイコロ・役のカットイン・手番・ふきだし・勝敗スタンプ ---------- */
.md-chin .md-modal__box { overflow-x: hidden; }
.md-chin .md-modal__box.is-shake { animation: chShake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes chShake { 15% { translate: -7rem 2rem; } 30% { translate: 6rem -3rem; } 45% { translate: -4rem 2rem; } 60% { translate: 3rem -1rem; } 80% { translate: -1rem 0; } }
.md-chin__score > span { position: relative; }
.md-chin__score em { position: absolute; left: 100%; top: -6rem; margin-left: 3rem; font-style: normal; font-weight: 700; font-size: 13rem; color: var(--pink-d); opacity: 0; pointer-events: none; }
#ch-sk.is-pop b { display: inline-block; animation: skPop .7s cubic-bezier(.3,1.8,.5,1); }
#ch-sk.is-pop em { animation: skUp 1.1s ease-out; }
@keyframes skPop { 40% { scale: 1.9; color: #ff4f9a; } }
@keyframes skUp { 0% { opacity: 0; translate: 0 6rem; } 25% { opacity: 1; } 100% { opacity: 0; translate: 0 -18rem; } }
.md-chin__board { position: relative; }
.md-chin__side { position: relative; padding-top: 24rem; }
.md-chin__turn { position: absolute; top: 0; left: 50%; translate: -50% 0; padding: 2rem 10rem; border-radius: 999px; background: var(--pink-d); color: #fff; font-size: 10rem; letter-spacing: .16em; white-space: nowrap; opacity: 0; scale: .8; transition: opacity .3s, scale .3s; }
#ch-yside .md-chin__turn { background: var(--sky-d); }
.md-chin__side.is-turn .md-chin__turn { opacity: 1; scale: 1; animation: turnGlow 1.1s ease-in-out infinite; }
@keyframes turnGlow { 50% { box-shadow: 0 0 0 3rem rgba(255,255,255,.8), 0 0 16rem 4rem rgba(255,143,192,.55); } }
.md-chin__ava { transition: box-shadow .4s, scale .4s; }
.md-chin__side.is-turn .md-chin__ava { scale: 1.06; box-shadow: 0 0 0 3rem #fff, 0 0 0 6rem var(--pink), 0 0 26rem 6rem rgba(255,143,192,.55); }
.md-chin__side.is-turn .md-chin__ava.--you { box-shadow: 0 0 0 3rem #fff, 0 0 0 6rem var(--sky), 0 0 26rem 6rem rgba(124,203,255,.6); }
.md-chin__say { position: absolute; z-index: 5; top: 12rem; left: calc(50% + 38rem); margin: 0; padding: 6rem 12rem; border-radius: 14rem 14rem 14rem 4rem; background: #fff; box-shadow: 0 0 0 2px var(--pink), 0 10rem 18rem -10rem rgba(46,42,58,.5); font-weight: 700; font-size: 13rem; line-height: 1.4; white-space: nowrap; color: var(--ink); opacity: 0; transform-origin: 0 100%; pointer-events: none; }
.md-chin__say.is-on { animation: sayPop 2.2s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes sayPop { 0% { opacity: 0; scale: .4; } 14%, 86% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .9; } }
.md-chin__bowl { position: relative; max-width: 270rem; padding: 26rem 14rem 22rem; background: radial-gradient(ellipse 72% 64% at 50% 46%, #fffafd 0, #fbe4f0 48%, #ecd6f2 76%, #cfb8ea 100%);
  box-shadow: inset 0 -12rem 24rem rgba(108,70,140,.2), inset 0 8rem 0 rgba(255,255,255,.95), 0 0 0 5rem #fff, 0 0 0 6.5rem rgba(244,114,168,.35), 0 18rem 28rem -16rem rgba(46,42,58,.6); }
.md-chin__bowl::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 2px solid rgba(255,143,192,.7); opacity: 0; pointer-events: none; }
.md-chin__bowl.is-hit { animation: bowlHit .32s ease-out; }
.md-chin__bowl.is-hit::after { animation: bowlRing .5s ease-out; }
@keyframes bowlHit { 30% { translate: 0 3rem; rotate: -1.4deg; } 60% { translate: 0 -1rem; rotate: .8deg; } }
@keyframes bowlRing { from { opacity: 1; scale: .6; } to { opacity: 0; scale: 1.25; } }
.md-chin__dice { gap: 12rem; perspective: 560rem; }
.die3 { --ds: 46rem; position: relative; z-index: 2; flex: none; width: var(--ds); height: var(--ds); transform-style: preserve-3d; }
.die3.--blank { border-radius: 10rem; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 2px rgba(244,114,168,.25); }
.die3__sh { position: absolute; left: 4%; right: 4%; bottom: -16%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70,40,90,.4), transparent); }
.die3__cube { position: absolute; inset: 0; transform-style: preserve-3d; }
.die3__f { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 7%; padding: 15%; border-radius: 20%; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(145deg, #fff 0%, #fbf7fd 60%, #eee6f6 100%); box-shadow: inset 0 0 0 1.5px rgba(46,42,58,.16), inset 0 -3rem 6rem rgba(46,42,58,.07); }
.die3__f i { border-radius: 50%; }
.die3__f i.on { background: radial-gradient(circle at 35% 30%, #625c7a, var(--ink) 70%); }
.die3__f.--f1 i.on { background: radial-gradient(circle at 35% 30%, #ff8aa6, #d8143f 70%); transform: scale(1.75); }
.die3__f.--f1 { transform: translateZ(calc(var(--ds) / 2)); }
.die3__f.--f6 { transform: rotateY(180deg) translateZ(calc(var(--ds) / 2)); }
.die3__f.--f2 { transform: rotateY(90deg) translateZ(calc(var(--ds) / 2)); }
.die3__f.--f5 { transform: rotateY(-90deg) translateZ(calc(var(--ds) / 2)); }
.die3__f.--f3 { transform: rotateX(90deg) translateZ(calc(var(--ds) / 2)); }
.die3__f.--f4 { transform: rotateX(-90deg) translateZ(calc(var(--ds) / 2)); }
.md-chin__role.is-pop { animation: rolePop .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes rolePop { from { scale: .4; opacity: 0; } }
/* 役のカットイン */
.md-chin__cut { position: absolute; z-index: 6; left: 50%; top: 56%; display: grid; justify-items: center; gap: 2rem; padding: 10rem 28rem; translate: -50% -50%; border-radius: 999px; background: #fff; box-shadow: 0 0 0 3px var(--cc, var(--pink)), 0 16rem 30rem -14rem rgba(46,42,58,.6); pointer-events: none; opacity: 0; visibility: hidden; isolation: isolate; }
.md-chin__cut.is-on { visibility: visible; animation: cutSmall .9s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes cutSmall { 0% { opacity: 0; scale: .3; } 25% { opacity: 1; scale: 1.06; } 35%, 80% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .9; } }
.md-chin__cutWho { font-size: 10rem; font-weight: 700; color: var(--ink-2); }
.md-chin__cutJp { font-weight: 800; font-size: 26rem; line-height: 1.15; color: var(--cc, var(--pink-d)); white-space: nowrap; }
.md-chin__cutEn { font-size: 10rem; letter-spacing: .18em; color: var(--ink-2); white-space: nowrap; }
.md-chin__cut.--me { --cc: var(--pink-d); } .md-chin__cut.--none { --cc: #9b95a8; }
.md-chin__rays { display: none; }
.md-chin__cut.--big { left: -80rem; right: -80rem; top: 50%; translate: 0 -50%; padding: 20rem 0 18rem; border-radius: 0; background: linear-gradient(100deg, var(--c1), var(--c2)); box-shadow: 0 0 0 4rem #fff, 0 24rem 44rem -16rem rgba(46,42,58,.7); rotate: -4deg; overflow: hidden; }
.md-chin__cut.--big.is-on { animation: cutBig 1.65s cubic-bezier(.2,.9,.3,1) both; }
@keyframes cutBig { 0% { opacity: 1; clip-path: inset(0 100% 0 0); } 16%, 84% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 1; clip-path: inset(0 0 0 100%); } }
.md-chin__cut.--big .md-chin__cutJp { font-size: 64rem; color: #fff; letter-spacing: .04em; text-shadow: 0 4rem 0 rgba(46,42,58,.22), 0 0 26rem rgba(255,255,255,.75); animation: cutText 1.65s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes cutText { 0%, 8% { scale: 2.2; opacity: 0; } 24% { scale: 1; opacity: 1; } 100% { scale: 1.05; opacity: 1; } }
.md-chin__cut.--big .md-chin__cutWho, .md-chin__cut.--big .md-chin__cutEn { color: rgba(255,255,255,.95); font-size: 12rem; }
.md-chin__cut.--big .md-chin__rays { display: block; position: absolute; inset: -300% -20%; z-index: -1; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.24) 0 5deg, transparent 5deg 13deg); animation: chRays 5s linear infinite; }
@keyframes chRays { to { rotate: 1turn; } }
.md-chin__cut.--gold { --c1: #ffc53d; --c2: #ff8fc0; }
.md-chin__cut.--zoro { --c1: #ff8fc0; --c2: #b98cf0; }
.md-chin__cut.--shigoro { --c1: #6cc4ff; --c2: #b98cf0; }
.md-chin__cut.--hifumi { --c1: #5a5470; --c2: #26222f; }
.md-chin__cut.--hifumi .md-chin__cutJp { animation: cutText 1.65s cubic-bezier(.3,1.6,.5,1) both, chGlitch .32s steps(2) .35s 4; }
@keyframes chGlitch { 50% { translate: 4rem 0; text-shadow: -4rem 0 #ff4f9a, 4rem 0 #4eaee9; } }
.md-chin__flash { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff 0%, rgba(255,236,180,.9) 40%, rgba(255,207,74,0) 80%); }
.md-chin__flash.--zoro { background: radial-gradient(circle at 50% 50%, #fff 0%, rgba(255,214,234,.9) 40%, rgba(255,143,192,0) 80%); }
.md-chin__flash.is-on { animation: chFlash .75s ease-out; }
@keyframes chFlash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
/* 勝敗スタンプ（2人のアイコンのあいだに押される） */
.md-chin__stamp { position: absolute; z-index: 7; left: 50%; top: 70rem; display: grid; justify-items: center; translate: -50% -50%; rotate: -12deg; pointer-events: none; opacity: 0; visibility: hidden; }
.md-chin__stamp b { padding: 4rem 26rem 0; border: 5rem solid currentColor; border-radius: 18rem; font-family: var(--f-en); font-weight: 800; font-size: 70rem; line-height: 1.05; letter-spacing: .06em; white-space: nowrap; background: rgba(255,255,255,.9); box-shadow: 0 0 0 4rem rgba(255,255,255,.9), 0 20rem 40rem -16rem rgba(46,42,58,.6); }
.md-chin__stamp.--win { color: #f4589c; } .md-chin__stamp.--lose { color: #8a849c; } .md-chin__stamp.--draw { color: #ee9a2e; }
.md-chin__stamp small { display: none; margin-top: 10rem; padding: 3rem 12rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12rem; letter-spacing: .16em; }
.md-chin__stamp.--rec small { display: block; }
.md-chin__stamp.is-on { visibility: visible; animation: stampIn .5s cubic-bezier(.2,1.4,.4,1) both; }
.md-chin__stamp.is-on.--rec small { animation: recPop .6s .45s cubic-bezier(.3,1.8,.5,1) both; }
@keyframes stampIn { 0% { opacity: 0; scale: 2.6; } 60% { opacity: 1; scale: .94; } 100% { opacity: 1; scale: 1; } }
@keyframes recPop { from { opacity: 0; scale: .3; } }

/* ---------- オムライス：魔法をかけてくれるメイドを〇アイコンで ---------- */
.md-omu__host { margin-top: 14rem; display: flex; align-items: center; gap: 16rem; text-align: left; }
.md-omu__ava { flex: none; margin: 0; width: 74rem; height: 74rem; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff, var(--c, #ffe3ef)); box-shadow: 0 0 0 3rem #fff, 0 0 0 5rem var(--pink), 0 10rem 20rem -10rem rgba(46,42,58,.6); }
.md-omu__ava img, .md-omu__mini img, .md-omu__fxava img { display: block; width: 100%; height: auto; transform: scale(1.5); transform-origin: 50% 12%; }
.md-omu__host .md-omu__lead { position: relative; flex: 1; margin: 0; padding: 10rem 16rem; border-radius: 18rem; background: #fff; box-shadow: 0 0 0 1.5px rgba(244,114,168,.35), 0 10rem 20rem -14rem rgba(46,42,58,.5); color: var(--ink); font-size: 13rem; line-height: 1.7; }
.md-omu__host .md-omu__lead::before { content: ""; position: absolute; left: -6rem; top: 50%; width: 12rem; height: 12rem; translate: 0 -50%; rotate: 45deg; background: #fff; box-shadow: -1.5px 1.5px 0 rgba(244,114,168,.35); }
.md-omu__fx { align-content: center; gap: 10rem; }
.md-omu__fxava { width: 110rem; height: 110rem; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff, var(--c, #ffe3ef)); box-shadow: 0 0 0 4rem #fff, 0 0 0 7rem var(--pink), 0 0 40rem 10rem rgba(255,143,192,.55); opacity: 0; }
.md-omu__fx.is-on .md-omu__fxava { animation: omuMagic 2.4s cubic-bezier(.3,1.6,.5,1) both; }
.md-omu__cmt { display: flex; align-items: center; gap: 12rem; }
.md-omu__mini { flex: none; width: 48rem; height: 48rem; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fff, var(--c, #ffe3ef)); box-shadow: 0 0 0 2.5rem #fff, 0 0 0 4.5rem var(--pink); }
@media (max-width: 768px) {
  .md-chin__side { padding-top: 20rem; } .md-chin__turn { font-size: 8rem; padding: 1rem 7rem; letter-spacing: .1em; }
  .md-chin__say { top: 4rem; left: calc(50% + 22rem); padding: 4rem 8rem; font-size: 10rem; border-radius: 10rem 10rem 10rem 3rem; }
  .md-chin__bowl { padding: 16rem 6rem 14rem; } .md-chin__dice { gap: 5rem; } .die3 { --ds: 28rem; }
  .md-chin__cut { padding: 8rem 18rem; } .md-chin__cutJp { font-size: 20rem; }
  .md-chin__cut.--big { left: -30rem; right: -30rem; padding: 14rem 0 12rem; } .md-chin__cut.--big .md-chin__cutJp { font-size: 40rem; }
  .md-chin__stamp { top: 52rem; } .md-chin__stamp b { font-size: 38rem; padding: 3rem 14rem 0; border-width: 3.5rem; border-radius: 12rem; } .md-chin__stamp small { font-size: 9rem; margin-top: 6rem; }
  .md-omu__host { gap: 12rem; } .md-omu__ava { width: 54rem; height: 54rem; } .md-omu__host .md-omu__lead { font-size: 11.5rem; padding: 8rem 12rem; }
  .md-omu__fxava { width: 76rem; height: 76rem; } .md-omu__mini { width: 38rem; height: 38rem; }
}
.md-chin__say { z-index: 9; }

/* お知らせ本文（管理画面のマークダウン）：箇条書き・番号・画像・引用 */
.article__body p { margin: 0; }
.article__body ul, .article__body ol { margin: 0; padding-left: 1.5em; display: grid; gap: 4rem; }
.article__body ul { list-style: disc; } .article__body ol { list-style: decimal; }
.article__body li::marker { color: var(--pink-d); font-weight: 700; }
.article__body img { display: block; max-width: 100%; height: auto; border-radius: 16rem; }
.article__body blockquote { margin: 0; padding: 10rem 18rem; border-radius: 16rem; background: rgba(255,255,255,.7); border-left: 4rem solid var(--sky); }
.article__body hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--pink), transparent); }
.mvlist .empty, .nlist .empty { grid-column: 1 / -1; padding: 30rem; text-align: center; color: var(--ink-2); }

/* SCHEDULE：予定がないときの文は横いっぱいに */
.events li.--empty { display: block; padding: 22rem 26rem; text-align: center; font-weight: 700; color: var(--ink-2); }
/* カレンダーの文字は1行に（長いときは端を「…」に） */
.cal__grid .d em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 3rem; }
@media (max-width: 768px) { .cal__grid .d em { font-size: 7rem; padding-inline: 1rem; } }

/* MEDIA：写真のページ切り替え（光のラインが走る・ページ番号がぽんっ） */
.media-grid { position: relative; }
.media-grid.is-paging { pointer-events: none; }
.media-grid.is-paging::after { content: ""; position: absolute; z-index: 3; left: -3%; right: -3%; top: 0; height: 3px; border-radius: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #ff8fc0 18%, #d6a6f2 50%, #7ccbff 82%, transparent); box-shadow: 0 0 14rem 3rem rgba(255,143,192,.45), 0 0 30rem 6rem rgba(124,203,255,.25);
  animation: pageScan .8s cubic-bezier(.45,0,.2,1) both; }
@keyframes pageScan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
#photo .pager button[aria-current="page"] { animation: pagePop .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes pagePop { 0% { scale: .6; } 60% { scale: 1.15; } 100% { scale: 1; } }
@media (prefers-reduced-motion: reduce) { .media-grid.is-paging::after, #photo .pager button[aria-current="page"] { animation: none; } }

/* =====================================================================
   背景：斜め線 → HUD（ロックオン枠・回るリング・タイプされるシステム表示）
   ===================================================================== */
.hud { position: absolute; pointer-events: none; --c: var(--sky-d); }
.hud.--pink { --c: var(--pink-d); } .hud.--blue { --c: var(--sky-d); } .hud.--black { --c: #a58ff0; }
/* ロックオン枠：四すみのカギと、まん中のひし形 */
.hud.--lock { --s: 56rem; --t: 2px; --l: 12rem; width: var(--s); height: var(--s); translate: -50% -50%; background-repeat: no-repeat;
  background-image: linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c)), linear-gradient(var(--c), var(--c));
  background-size: var(--l) var(--t), var(--t) var(--l), var(--l) var(--t), var(--t) var(--l), var(--l) var(--t), var(--t) var(--l), var(--l) var(--t), var(--t) var(--l);
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%;
  filter: drop-shadow(0 0 4rem var(--c)); animation: hudLock var(--dur, 6s) cubic-bezier(.2,.9,.3,1) var(--delay, 0s) infinite both; }
.hud.--lock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6rem; height: 6rem; translate: -50% -50%; rotate: 45deg; background: var(--c); }
.hud.--lock.--s { --s: 36rem; --l: 8rem; }
@keyframes hudLock { 0% { scale: 1.9; opacity: 0; rotate: 45deg; } 12% { scale: 1; opacity: 1; rotate: 0deg; } 15% { opacity: .2; } 18%, 70% { opacity: 1; scale: 1; } 80%, 100% { opacity: 0; scale: .6; } }
/* 回るリング：点線の外側と、逆に回る内側の弧 */
.hud.--ring { --s: 78rem; width: var(--s); height: var(--s); translate: -50% -50%; border-radius: 50%; border: 1.5px dashed var(--c); filter: drop-shadow(0 0 3rem var(--c));
  animation: hudSpin 16s linear infinite, hudFade var(--dur, 7s) ease-in-out var(--delay, 0s) infinite both; }
.hud.--ring::before { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--c); border-left-color: var(--c); animation: hudSpin 2.6s linear infinite reverse; }
.hud.--ring::after { content: ""; position: absolute; left: 50%; top: -6rem; width: 2px; height: 11rem; translate: -50% 0; background: var(--c); }
@keyframes hudSpin { to { rotate: 1turn; } }
@keyframes hudFade { 0%, 100% { opacity: 0; scale: .7; } 15%, 75% { opacity: 1; scale: 1; } }
/* システム表示：1文字ずつタイプされて、消える */
.hud.--txt { font: 700 11rem/1.25 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0; color: var(--c); white-space: nowrap; overflow: hidden; padding-right: 3rem; border-right: 2px solid var(--c);
  text-shadow: 0 0 6rem color-mix(in srgb, var(--c) 60%, transparent); animation: hudType var(--dur, 6s) steps(var(--n, 12)) var(--delay, 0s) infinite both; }
@keyframes hudType { 0% { width: 0; } 30%, 76% { width: calc(var(--n, 12) * 1ch + 5rem); } 88%, 100% { width: 0; border-right-color: transparent; } }

/* 背景のハート → ピクセルハート（ドット絵。8bitっぽく段階的にぽんっ） */
.particle.--heart, .particle.--heart.--s { width: 42rem; height: 36rem; transform: none; clip-path: none; border-radius: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h2v1H1zM4 0h2v1H4zM0 1h7v2H0zM1 3h5v1H1zM2 4h3v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 6' shape-rendering='crispEdges'%3E%3Cpath d='M1 0h2v1H1zM4 0h2v1H4zM0 1h7v2H0zM1 3h5v1H1zM2 4h3v1H2zM3 5h1v1H3z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  animation: pxHeartPop var(--dur, 7s) steps(1) var(--delay, 0s) infinite both; }
.particle.--heart.--s { width: 28rem; height: 24rem; }
@keyframes pxHeartPop { 0%, 34%, 100% { scale: 1; } 8% { scale: .66; } 11% { scale: .33; } 14% { scale: 0; } 18% { scale: .5; } 21% { scale: 1.33; } 26% { scale: 1; } 30% { scale: 1.16; } }
@media (max-width: 768px) {
  .hud.--lock { --s: 34rem; --l: 8rem; } .hud.--lock.--s { --s: 24rem; --l: 6rem; }
  .hud.--ring { --s: 46rem; } .hud.--txt { font-size: 9rem; }
  .particle.--heart { width: 28rem; height: 24rem; } .particle.--heart.--s { width: 19rem; height: 16rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hud, .hud::before, .particle.--heart { animation: none !important; }
  .hud.--txt { width: auto; }
}
