/* 3パターン共通の部品。色や形はデザインごとの css で変数を上書きする */
:root {
    --pink: #e73d90; --pink2: #ff8fc7; --lav: #b98cff; --ink: #4a2a3b; --bg: #fff3f8; --card: rgba(255,255,255,.86);
    --line: rgba(231,61,144,.18); --radius: 26px; --shadow: 0 18px 50px rgba(231,61,144,.16);
    --font: "M PLUS Rounded 1c", sans-serif; --font-en: "Fredoka", sans-serif; --font-big: "Fredoka", sans-serif;
    --chip-free: #3cc9a0; --chip-500: #ff6aa9; --chip-3000: #ff9d3a;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; line-height: 1.7; }
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
main { position: relative; }  /* z-index は付けない（ヒーローの大きな英字を 3D の後ろに置けるように） */

/* 3D の舞台：画面に固定して、文字や部品は上に重ねる */
.stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; pointer-events: none; }
.char-bubble { position: fixed; left: 0; top: 0; z-index: 5; margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--pink);
    font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: var(--shadow); pointer-events: none; transform-origin: 50% 100%;
    transform: translate3d(-9999px, -9999px, 0); opacity: 0; transition: opacity .3s; will-change: transform; }
/* 位置は core3d.js が毎コマ transform に直接書く（px だけ。なめらかに動かす transition は付けない：iPhone の Safari では
   calc と var を混ぜた transform の transition が、毎回 左上から動き出すように見えてしまうため） */
.char-bubble.is-show { opacity: 1; animation: bubble-pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes bubble-pop { from { scale: .6; } to { scale: 1; } }
.char-bubble.is-show.is-moving, .char-bubble.is-show.is-covered { opacity: 0; }   /* 頭が速く動いているあいだ・スマホで中身と重なるときは消す（core3d.js） */
.char-bubble::after { content: ""; position: absolute; left: calc(50% + var(--tail, 0px)); bottom: -7px; width: 14px; height: 14px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.char-bubble.is-pinned::after { display: none; }   /* 画面の上に置いたときは、しっぽなし（core3d.js の bubbleEdge） */

/* ヘッダー */
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; transition: background .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(14px); }
.site-logo img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 22px; align-items: center; font: 600 14px/1 var(--font-en); letter-spacing: .08em; }
.site-nav a { text-decoration: none; }
.nav-join { padding: 10px 18px; border-radius: 999px; background: var(--pink); color: #fff !important; }
/* プランのページへのリンクと、右上のメニュー（既存サイトと同じく、動画一覧・500円ぷらん・3000円ぷらんへ） */
.nav-plan { padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pink) 55%, transparent); font-family: var(--font); font-weight: 800; font-size: 12px; letter-spacing: 0; }
.nav-burger { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--pink) 16%, transparent); cursor: pointer; display: grid; place-content: center; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--pink); transition: transform .3s, opacity .3s; }
body.drawer-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .nav-burger span:nth-child(2) { opacity: 0; }
body.drawer-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 19; width: min(340px, 88vw); padding: 96px 28px 32px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(16px); box-shadow: -20px 0 60px rgba(0,0,0,.25); transform: translateX(105%); transition: transform .45s cubic-bezier(.2,.9,.3,1); }
body.drawer-open .drawer { transform: none; }
.drawer a { padding: 12px 14px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 17px; color: var(--ink); }
.drawer a:hover { background: color-mix(in srgb, var(--pink) 14%, transparent); }
.drawer-head { margin: 0 0 6px 14px; font: 700 12px var(--font-en); letter-spacing: .35em; color: var(--pink); }
.drawer-plan { display: flex; align-items: center; gap: 10px; }
.drawer-plan .chip { font-size: 12px; }
.drawer-sub { margin: 18px 0 2px 14px; font-size: 11px; font-weight: 800; letter-spacing: .2em; opacity: .6; }
.drawer-anchors { display: flex; flex-wrap: wrap; gap: 4px; }
.drawer-anchors a { padding: 8px 12px; font: 600 13px var(--font-en); letter-spacing: .08em; }
.design-switch { position: fixed; left: 18px; bottom: 18px; z-index: 30; display: flex; gap: 6px; align-items: center; padding: 6px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font: 600 12px var(--font-en); }
.design-switch a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; background: rgba(255,255,255,.15); }
.design-switch a.is-current { background: var(--pink); }
.design-switch span { padding: 0 10px 0 4px; letter-spacing: .1em; }

/* ローディング（形はデザインごと） */
.loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; justify-items: center; gap: 10px; transition: opacity .9s, clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.loader.is-done { pointer-events: none; }
.loader-num { margin: 0; font: 700 64px/1 var(--font-en); }

/* ボタン */
.pill-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(231,61,144,.35); transition: filter .2s; }
.pill-btn:hover { filter: brightness(1.08); }
.pill-btn--white { background: #fff; color: var(--pink); }
.pill-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-row { display: flex; justify-content: center; margin-top: 40px; }

/* 文字の分割 */
.sl { display: block; overflow: hidden; padding-bottom: .08em; }
.ch { display: inline-block; will-change: transform; }

/* セクション */
.sec { position: relative; z-index: 2; padding: 140px 0; }
.sec-inner { width: min(1180px, 100% - 64px); margin: auto; }
.ttl { margin: 0 0 48px; display: flex; flex-direction: column; gap: 4px; }
.ttl-en { font: 700 clamp(56px, 8vw, 120px)/.9 var(--font-big); letter-spacing: .02em; color: var(--pink); }
.ttl-ja { font-weight: 800; font-size: 14px; letter-spacing: .2em; }
.lead { max-width: 620px; margin: -20px 0 40px; }

/* テロップ */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 16px 0; background: var(--pink); color: #fff; font-weight: 800; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 28px; will-change: transform; }
.marquee--reverse { background: var(--ink); }

/* チップ */
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; color: #fff; background: var(--chip-free); vertical-align: middle; }
.chip--500 { background: var(--chip-500); } .chip--3000 { background: var(--chip-3000); }

/* 大きな動画の枠 */
.feature { position: relative; aspect-ratio: 21/9; overflow: hidden; border-radius: 28px; margin-bottom: 56px; background: #000; }
.feature video { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.feature-copy { position: absolute; left: 40px; bottom: 36px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.feature-label { padding: 4px 12px; border-radius: 999px; background: #ff3b5c; font-weight: 800; font-size: 12px; }
.feature-title { margin: 0; font: 800 clamp(28px, 4vw, 52px)/1.1 var(--font); text-shadow: 0 6px 24px rgba(0,0,0,.4); }

/* 動画の列（横に送る） */
.rows { display: flex; flex-direction: column; gap: 40px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.row-title { margin: 0; font-size: 20px; display: flex; gap: 10px; align-items: center; }
.row-more { font-size: 13px; font-weight: 800; color: var(--pink); }
.row-body { position: relative; }
.row-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; }
.row-track::-webkit-scrollbar { display: none; }
.row-arrow { position: absolute; top: 40%; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--pink); box-shadow: var(--shadow); cursor: pointer; }
.row-arrow--prev { left: -18px; } .row-arrow--next { right: -18px; }
.mcard { flex: 0 0 250px; scroll-snap-align: start; text-decoration: none; transition: transform .3s; }
.mcard:hover { transform: translateY(-6px) scale(1.03); }
.mcard-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; background: #eee; }
.mcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mcard--locked .mcard-thumb img { filter: blur(10px) brightness(.85); transform: scale(1.1); }
.mcard--locked .mcard-thumb::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20d%3D%22M144%20144v48H304V144c0-44.2-35.8-80-80-80s-80%2035.8-80%2080zM80%20192V144C80%2064.5%20144.5%200%20224%200s144%2064.5%20144%20144v48h16c35.3%200%2064%2028.7%2064%2064V448c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64V256c0-35.3%2028.7-64%2064-64H80z%22/%3E%3C/svg%3E") center / 20px 22px no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20d%3D%22M144%20144v48H304V144c0-44.2-35.8-80-80-80s-80%2035.8-80%2080zM80%20192V144C80%2064.5%20144.5%200%20224%200s144%2064.5%20144%20144v48h16c35.3%200%2064%2028.7%2064%2064V448c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64V256c0-35.3%2028.7-64%2064-64H80z%22/%3E%3C/svg%3E") center / 20px 22px no-repeat; }   /* 鍵のアイコン（Font Awesome Free の lock の形） */
.mcard-thumb .chip { position: absolute; left: 8px; top: 8px; z-index: 2; }
.mcard-new { position: absolute; right: 8px; top: 8px; z-index: 2; padding: 2px 8px; border-radius: 6px; background: #ff3b5c; color: #fff; font: 700 11px var(--font-en); }
.mcard-title { margin: 8px 2px 0; font-size: 13px; font-weight: 700; line-height: 1.5; min-height: 3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }   /* 長いタイトルは 2 行まで（…）。空白のない長い英字も折り返す（2026-11-03） */

/* 動画の一覧（グリッド） */
.vblock + .vblock { margin-top: 36px; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vgrid .mcard { flex: none; min-width: 0; }

/* プラン：見られる動画のチラ見せ・入り方・くらべる表 */
.plan-title { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; }
.plan-day { display: block; font: 700 11px var(--font); opacity: .7; }
.plan-note { margin: 0; font-size: 12px; line-height: 1.7; opacity: .8; }
.plan-list li { line-height: 1.8; }
.plan-peek-ttl { margin: 4px 0 6px; font-size: 12px; font-weight: 800; opacity: .75; }
.plan-peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin-bottom: 14px; }
.plan-peek span { aspect-ratio: 16/10; overflow: hidden; border-radius: 10px; background: #eee; }
.plan-peek img { width: 100%; height: 100%; object-fit: cover; }
.plan-peek .is-locked img { filter: blur(6px) brightness(.85); transform: scale(1.15); }
.plan-sub { margin: 48px 0 16px; font-size: 20px; }
.plan-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.plan-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 18px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); counter-increment: step; }
.plan-steps li::before { content: counter(step); position: absolute; right: 14px; top: 8px; font: 700 34px var(--font-en); color: var(--pink); opacity: .25; }
.plan-steps i { font-size: 22px; color: var(--pink); }
.plan-steps strong { font-size: 15px; }
.plan-steps small { font-size: 12px; line-height: 1.7; opacity: .8; }

/* LIVE ACTION（実写）：既存サイトと同じく、大きいタイルと小さいタイルを組み合わせて並べる */
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 10px; }
.live-item { position: relative; overflow: hidden; border-radius: 18px; background: #2a1426; text-decoration: none; color: #fff; }
.live-item:nth-child(1), .live-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.live-item:nth-child(7) { grid-column: span 2; }
.live-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.live-item:hover img { transform: scale(1.06); }
.live-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 12px; font-weight: 800; line-height: 1.4; background: linear-gradient(transparent, rgba(0,0,0,.65)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* プロフィール */
.profile { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.profile-card { padding: 40px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.profile-mark { margin: 0; font-weight: 800; color: var(--pink); }
.profile-name { margin: 4px 0; font-size: 44px; line-height: 1.1; }
.profile-name small { display: block; font: 600 14px var(--font-en); letter-spacing: .3em; color: var(--pink); }
.profile-catch { margin: 0 0 20px; font-size: 20px; font-weight: 800; }
.profile-data { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 20px; font-size: 14px; }
.profile-data dt { font-weight: 800; color: var(--pink); }
.profile-data dd { margin: 0; }
.profile-text { font-size: 14px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tags a { padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--pink) 12%, #fff); color: var(--pink); font-weight: 800; font-size: 13px; text-decoration: none; }
.profile-main { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/4; box-shadow: var(--shadow); }
.profile-main img { width: 100%; height: 100%; object-fit: cover; }
.profile-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.profile-thumb { width: 56px; height: 56px; padding: 0; border: 3px solid transparent; border-radius: 50%; overflow: hidden; cursor: pointer; background: none; }
.profile-thumb.is-active { border-color: var(--pink); }
.profile-thumb img { width: 100%; height: 100%; object-fit: cover; }
.profile-credit { font-size: 11px; opacity: .7; }

/* プラン */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 22px 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(10px); }
.plan-card.is-recommended { outline: 4px solid var(--pink); transform: translateY(-12px); }
.plan-ribbon { position: absolute; top: -14px; padding: 4px 16px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 800; font-size: 13px; }
.plan-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 18px; }
.plan-img img { width: 100%; height: 100%; object-fit: cover; }
.plan-name { margin: 6px 0 0; }
.plan-price { margin: 0; font: 600 18px var(--font-en); }
.plan-price strong { font-size: 44px; }
.plan-list { margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; }

/* グッズ */
.goods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gcard { display: block; padding: 14px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s; }
.gcard:hover { transform: translateY(-8px) rotate(-1deg); }
.gcard-img { aspect-ratio: 1; overflow: hidden; border-radius: 18px; }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; }
.gcard-name { margin: 12px 4px 0; font-weight: 800; }
.gcard-price { margin: 0 4px; font: 600 18px var(--font-en); color: var(--pink); }

/* SNS */
.sns-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; }
.sns-link { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s; }
.sns-link:hover { transform: translateY(-6px); }
.sns-link i { font-size: 30px; width: 40px; text-align: center; color: var(--pink); }
.sns-link span { display: flex; flex-direction: column; }
.sns-link small { opacity: .75; }

/* ひみつのお部屋への入口（トップの最後）と SNS */
.room-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .35s; margin-bottom: 48px; }
.room-card:hover { transform: translateY(-6px); }
.room-card-img { display: block; aspect-ratio: 16/10; background: #2a1426; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px 32px; }
.room-card-body strong { font-size: 22px; line-height: 1.4; }
.room-card-body small { font-size: 14px; line-height: 1.8; opacity: .85; }
.sns-head { margin: 0 0 14px; font: 700 20px var(--font-en); letter-spacing: .15em; color: var(--pink); }

/* フッター */
.site-footer { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 80px 24px 60px; }
.footer-logo img { height: 60px; width: auto; }
.footer-nav { display: flex; gap: 22px; font: 600 14px var(--font-en); }
.footer-nav a { text-decoration: none; }
.copyright { font-size: 12px; opacity: .7; margin: 0; }

/* ヒーロー（共通の骨組み） */
.hero { position: relative; height: 100vh; min-height: 680px; }
.hero-copy { position: relative; z-index: 3; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); margin: 0; font: 600 12px var(--font-en); letter-spacing: .4em; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255,59,92,.6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }

/* スマホ：3D のキャラクターは画面の上側に（カメラは core3d.js で縦長用に引く）。文字のカードは下側に、1列で */
@media (max-width: 768px) {
    .site-header { padding: 10px 14px; }
    .site-logo img { height: 32px; }
    .site-nav a:not(.nav-join) { display: none; }
    .nav-join { padding: 8px 14px; font-size: 12px; }
    .site-nav { gap: 10px; }
    .nav-burger { width: 38px; height: 38px; }
    .design-switch { left: 10px; bottom: 10px; font-size: 11px; }
    .design-switch a { width: 26px; height: 26px; }
    .char-bubble { font-size: 12px; padding: 6px 12px; max-width: calc(100vw - 16px); white-space: normal; text-align: center; border-radius: 18px; }   /* 長いせりふは 2 行に */
    /* 最初の画面はキャラクターだけ。文字のカードは、スクロールすると下から出てくる */
    .hero { height: auto; min-height: 0; display: block !important; padding: calc(100svh + 8px) 16px 56px !important; }
    .hero-copy { max-width: none !important; width: 100%; margin: 0 !important; padding: 22px !important; text-align: left !important; transform: none !important; }
    .hero-title { font-size: clamp(34px, 10vw, 46px) !important; }
    .hero-btns { justify-content: flex-start !important; flex-wrap: wrap; }
    .hero-btns .pill-btn { padding: 12px 20px; font-size: 14px; }
    .hero-scroll { display: block; position: absolute; z-index: 3; top: calc(100svh - 112px); bottom: auto; padding: 8px 18px; border-radius: 999px; background: rgba(20,8,18,.6); color: #fff !important; letter-spacing: .3em; animation: hint 1.8s ease-in-out infinite; }
    .hero-scroll::after { content: " ↓"; }
    .sec { min-height: 0 !important; display: block !important; padding: 46vh 0 72px !important; }
    .sec-inner { width: 100%; padding: 0 16px !important; }
    .ttl { margin-bottom: 22px; }
    .ttl-en { font-size: clamp(40px, 12vw, 56px) !important; }
    .feature { aspect-ratio: 16/11; margin-bottom: 28px; border-radius: 18px; }
    .feature-copy { left: 18px; bottom: 16px; }
    .feature-title { font-size: 24px; }
    .rows { gap: 26px; padding: 16px !important; }
    .row-arrow { display: none; }
    .mcard { flex-basis: 62vw; }
    .vgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .plan-steps { grid-template-columns: 1fr; }
    .live-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
    .live-item:nth-child(7) { grid-column: span 2; }
    .profile { grid-template-columns: 1fr !important; gap: 20px; }
    .profile-card { padding: 22px; }
    .profile-name { font-size: 32px; }
    .profile-data { grid-template-columns: 1fr; gap: 0 0; }
    .profile-data dd { margin-bottom: 8px; }
    .plans { grid-template-columns: 1fr !important; gap: 18px; }
    .plan-card.is-recommended, .plan-card:nth-child(2) { transform: none !important; }
    .goods-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gcard { padding: 8px; }
    .sns-links { grid-template-columns: 1fr !important; }
    .room-card { grid-template-columns: 1fr; }
    .sec--room .ttl-en { font-size: clamp(30px, 9.5vw, 44px) !important; }   /* 文字ごとに分けているので、長い英字は 1 行に収まる大きさに */
    .room-card-body { padding: 18px 20px 22px; }
    .marquee { font-size: 13px; padding: 10px 0; }
    .lead { margin-top: 0; }
}

@keyframes hint { 50% { transform: translateX(-50%) translateY(6px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* 最後の場面（#OUTRO）：れいきらだけのアップ。ヘッダーや切り替えのボタンも消す（core3d.js が body に is-outro を付ける） */
.outro { height: 100svh; pointer-events: none; }
.site-header, .design-switch, .mode-toggle { transition: opacity .5s; }
body.is-outro .site-header, body.is-outro .design-switch, body.is-outro .mode-toggle { opacity: 0; pointer-events: none; }

/* アイコン（build.py が <i class="ic"><svg> を書く。Font Awesome のフォントは使わない） */
.ic { display: inline-block; line-height: 1; }
.ic svg { display: block; height: 1em; fill: currentColor; overflow: visible; }

/* 本番の文字（長いタイトル・プラン名・特典など）で、空白のない長い英字がはみ出さないように */
.plan-title, .plan-note, .plan-list li, .live-title, .row-title, .gi-name { overflow-wrap: anywhere; }

/* 本番（WordPress）で、ログイン中に上に出る管理バーの下にヘッダーを置く */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
