/* B2: 街の地面、切り紙の形、極太見出し、端からのぞくオオカミ。 */
:root {
  --b-panel: var(--bay-white-80);
  --b-panel-solid: color-mix(in srgb, var(--bay-white) 90%, transparent);
  --b-shadow: color-mix(in srgb, var(--bay-text) 18%, transparent);
  --b-muted-blue: color-mix(in srgb, var(--bay-slate) 80%, var(--bay-ground));
  --b-sticker: drop-shadow(4px 0 var(--bay-white)) drop-shadow(-4px 0 var(--bay-white)) drop-shadow(0 4px var(--bay-white)) drop-shadow(0 -4px var(--bay-white));
}
body { background: var(--bay-ground); isolation: isolate; }
body::before, body::after { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; }
body::before { background: var(--bay-ground) url("../assets/img/b/ground.svg") repeat; }
body::after { z-index: -1; background: url("../assets/img/b/streets.svg") center top / max(100vw, 1000px) auto repeat-y; }
main { overflow-x: clip; }
.content-width { max-width: 1240px; }
.about, .feature, .spaces, .jack-plan, .returns {
  position: relative; isolation: isolate; width: calc(100% - 64px); max-width: 1240px;
  margin: 56px auto; padding: clamp(56px, 6vw, 104px) clamp(24px, 4.2vw, 80px);
}
.about::before, .feature::before, .spaces::before, .jack-plan::before, .returns::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-panel);
  clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%);
}
.about::before, .spaces::before { background: var(--b-panel-solid); }
.b-section-en { color: var(--bay-blue); font-family: "Roboto Flex", sans-serif; font-size: clamp(45px, 6vw, 100px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: 1; letter-spacing: -.045em; margin-bottom: 16px; }
.feature > .b-section-en, .jack-plan > .b-section-en { grid-column: 1 / -1; }
.feature { gap: 28px 40px; align-items: start; }
.feature h2, .provider h2 { color: var(--bay-blue); font-size: clamp(28px, 3vw, 42px); line-height: 1.45; }
.about { margin-top: clamp(126px, 15vw, 210px); }
.about h2 { color: var(--bay-blue); font-size: clamp(24px, 3vw, 38px); line-height: 1.4; margin-bottom: 36px; }
.about .b-section-en { text-align: center; line-height: 1; font-weight: 900; }
.about p:not(.b-section-en) { position: relative; }
.b-about-wolf { position: absolute; width: clamp(96px, 13vw, 178px); top: auto; bottom: calc(100% - 8px); right: 24px; filter: var(--b-sticker); }
.b-motion .b-about-wolf { animation: wolf-bounce 4.5s var(--ease-out-soft) infinite; }
.feature-intro { margin-top: 28px; }
.benefit { margin-top: 36px; }
.benefit h3 { position: relative; isolation: isolate; color: var(--bay-white); font-size: clamp(20px, 2.1vw, 29px); font-weight: 900; line-height: 1.4; padding: 14px 7%; gap: 9px; }
.benefit h3::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bay-blue-bright); clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); transform-origin: left; }
.benefit h3 svg { color: var(--bay-yellow); width: 24px; height: 34px; }
.benefit h3 span { min-width: 0; }
.benefit p { margin-top: 24px; }

/* KVは1920×1640、SPは1500×3900の設計座標に置く。 */
.kv-pattern, .kv-curve { display: none; }
.kv-stage { color: var(--bay-blue); }
/* 台紙はコピー全体で1枚。PCの頂点は (170,150)(925,112)(893,338)(296,378)。 */
.kv-copy { --b-copy-shape: polygon(0 14.286%, 100% 0, 95.762% 84.962%, 16.689% 100%); position: absolute; isolation: isolate; left: calc(170 * var(--u)); top: calc(112 * var(--u)); width: calc(755 * var(--u)); height: calc(266 * var(--u)); transform: none; text-align: center; }
.kv-copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bay-blue); clip-path: var(--b-copy-shape); }
.kv-headline { position: relative; display: grid; grid-template-columns: max-content max-content max-content; justify-content: center; align-items: baseline; height: calc(156 * var(--u)); padding-top: calc(50 * var(--u)); color: var(--bay-white); font-size: calc(66 * var(--u)); transform: rotate(-2.5deg); }
.kv-ga { font-size: calc(48 * var(--u)); }
.kv-headline em { color: var(--bay-yellow); background: none; }
.kv-tagline.pc-only { position: absolute; display: block; left: calc(300 * var(--u)); top: calc(174 * var(--u)); width: calc(400 * var(--u)); margin: 0; color: var(--bay-white); font-size: calc(22 * var(--u)); line-height: 1.4; text-align: right; white-space: nowrap; transform: rotate(-4deg); }
.kv-tagline.pc-only em { color: inherit; background: none; }
.kv-tagline-first { top: 0; }
.kv-logo { left: calc(190 * var(--u)); top: calc(372 * var(--u)); width: calc(860 * var(--u)); filter: drop-shadow(calc(4 * var(--u)) 0 var(--bay-white)) drop-shadow(calc(-4 * var(--u)) 0 var(--bay-white)) drop-shadow(0 calc(4 * var(--u)) var(--bay-white)) drop-shadow(0 calc(-4 * var(--u)) var(--bay-white)); }
.power-title { top: calc(640 * var(--u)); left: calc(200 * var(--u)); width: calc(820 * var(--u)); font-size: calc(42 * var(--u)); line-height: 1.3; }
.power-line { height: calc(76 * var(--u)); }
.power-line em { position: relative; isolation: isolate; display: inline-block; padding-inline: calc(10 * var(--u)); color: var(--bay-blue); background: none; text-shadow: none; }
.power-line em::before { content: ""; position: absolute; inset: 12% 0 4%; background: var(--bay-yellow); z-index: -1; transform: rotate(-5deg); clip-path: polygon(1% 5%, 100% 0, 97% 100%, 0 95%); }
.power { top: calc(790 * var(--u)); width: calc(272 * var(--u)); height: calc(260 * var(--u)); justify-content: center; gap: calc(4 * var(--u)); padding: calc(10 * var(--u)); border: calc(10 * var(--u)) solid var(--bay-white); border-radius: 0; box-shadow: none; transform: rotate(-2deg); font-size: calc(23 * var(--u)); }
.power-one { left: calc(160 * var(--u)); }
.power-two { left: calc(457 * var(--u)); top: calc(780 * var(--u)); height: calc(254 * var(--u)); transform: rotate(1.5deg); }
.power-three { left: calc(752 * var(--u)); top: calc(800 * var(--u)); height: calc(248 * var(--u)); transform: rotate(-1.5deg); }
.power strong { color: var(--bay-yellow); font-size: calc(47.84 * var(--u)); margin-top: calc(12 * var(--u)); }
.power-two strong { left: 0; margin-top: 0; }
.power-middle { top: 0; height: auto; font-size: calc(31 * var(--u)); line-height: 1.4; }
.power-two .power-middle { font-size: calc(26 * var(--u)); }
.power-credit { left: 0; margin-top: calc(4 * var(--u)); }
.wolf-search { top: calc(1066 * var(--u)); filter: var(--b-sticker); }
.wolf-dash { left: calc(100 * var(--u)); width: calc(484 * var(--u)); filter: var(--b-sticker); }
.kv-blue .b-blue-edge { fill: none; stroke: var(--bay-white); stroke-width: 12; stroke-linejoin: round; }
.kv-bubble { background: var(--bay-cream); color: var(--bay-text); border: calc(2 * var(--u)) solid var(--bay-text); height: calc(158 * var(--u)); transform: rotate(2deg); }
.kv-bubble > svg { display: none; }
.kv-bubble::before { content: ""; position: absolute; left: calc(35% - 2 * var(--u)); bottom: calc(-26 * var(--u)); width: calc(39 * var(--u)); height: calc(29 * var(--u)); background: var(--bay-text); clip-path: polygon(0 0, 100% 0, 25% 100%); }
.kv-bubble::after { content: ""; position: absolute; left: 35%; bottom: calc(-22 * var(--u)); width: calc(35 * var(--u)); height: calc(25 * var(--u)); background: var(--bay-cream); clip-path: polygon(0 0, 100% 0, 25% 100%); }
.kv-cta a { border-radius: 0; box-shadow: none; background: var(--bay-yellow); color: var(--bay-blue); padding-right: calc(116 * var(--u)); font-weight: 900; }
.kv-cta a svg { display: none; }
.kv-cta a::after { content: "+"; position: absolute; inset: 0 0 0 auto; display: grid; place-items: center; width: calc(70 * var(--u)); font-size: calc(52 * var(--u)); background: var(--bay-blue); color: var(--bay-yellow); transition: rotate .25s var(--ease-out-soft); }
.kv-cta a:hover { box-shadow: none; transform: none; }
.kv-cta a:hover::after { rotate: 180deg; }
/* 読める大きさの街の小物。文字とロゴの外側に置く。 */
.b-decor { position: absolute; pointer-events: none; }
.b-decor-poster { left: calc(55 * var(--u)); top: calc(520 * var(--u)); width: calc(120 * var(--u)); height: calc(156 * var(--u)); rotate: -8deg; }
.b-decor-poster-two { left: calc(1080 * var(--u)); top: calc(560 * var(--u)); width: calc(120 * var(--u)); height: calc(156 * var(--u)); rotate: 9deg; }
.b-decor-tape { left: calc(700 * var(--u)); top: calc(62 * var(--u)); width: calc(110 * var(--u)); height: calc(44 * var(--u)); rotate: 12deg; }
.b-decor-pin { left: calc(62 * var(--u)); top: calc(1120 * var(--u)); width: calc(90 * var(--u)); height: calc(90 * var(--u)); rotate: 5deg; }
.b-decor-kv-lens { left: calc(1100 * var(--u)); top: calc(860 * var(--u)); width: calc(100 * var(--u)); height: calc(100 * var(--u)); rotate: -10deg; }
.b-decor-arrow { left: calc(1080 * var(--u)); top: calc(240 * var(--u)); width: calc(120 * var(--u)); height: calc(60 * var(--u)); rotate: -12deg; color: var(--bay-blue-bright); }
.b-decor-muted { --b-decor-paper: var(--bay-blue-bright); --b-decor-fold: var(--bay-blue-bright); --b-decor-ink: var(--bay-blue); color: var(--bay-blue-bright); opacity: .45; z-index: 1; }
.b-decor-blue-poster-one { left: calc(1200 * var(--u)); top: calc(1140 * var(--u)); width: calc(220 * var(--u)); height: calc(286 * var(--u)); rotate: -12deg; }
.b-decor-blue-poster-two { left: calc(1660 * var(--u)); top: calc(1320 * var(--u)); width: calc(190 * var(--u)); height: calc(247 * var(--u)); rotate: 13deg; }
.b-decor-blue-arrow-one { left: calc(1640 * var(--u)); top: calc(1060 * var(--u)); width: calc(180 * var(--u)); height: calc(90 * var(--u)); rotate: -15deg; }
.b-decor-blue-arrow-two { left: calc(1310 * var(--u)); top: calc(1490 * var(--u)); width: calc(200 * var(--u)); height: calc(100 * var(--u)); rotate: 8deg; }
.b-motion .b-decor { animation: b-sway 6s var(--ease-out-soft) infinite alternate; }
.b-motion .b-decor-tape { animation-delay: -2s; }
@keyframes b-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

/* 導線カードとボタン */
.kv-cta { width: calc(400 * var(--u)); }
.kv-cta p { left: 0; width: 100%; }
.audience-cards { width: calc(100% - 64px); max-width: 1240px; margin: 48px auto 70px; padding: 0; gap: 32px; background: transparent; }
.audience-card { position: relative; width: min(46%, 480px); height: 220px; border: 2px solid var(--bay-blue); border-radius: 0; background: var(--bay-white); color: var(--bay-blue); box-shadow: none; --b-card-tilt: -1deg; transform: rotate(var(--b-card-tilt)); transition: background .25s var(--ease-out-soft), color .25s var(--ease-out-soft); }
.provider-card { --b-card-tilt: 1deg; }
.audience-card strong { color: inherit; }
.audience-card b { font-size: clamp(28px, 3vw, 40px); }
.audience-card::after { content: "+"; display: grid; place-items: center; position: absolute; bottom: 0; right: 0; width: 44px; height: 44px; font-size: 32px; background: var(--bay-yellow); color: var(--bay-blue); }
.audience-card:hover { background: var(--bay-blue); color: var(--bay-white); box-shadow: none; transform: rotate(var(--b-card-tilt)); }
.detail-button { position: relative; min-height: 60px; border-radius: 0; padding: 18px 80px 18px 28px; background: var(--bay-blue); color: var(--bay-white); box-shadow: none; font-weight: 900; }
.detail-button > svg { display: none; }
.detail-button::after, .return-link > span::after, .spaces-heading a > span::after { content: "+"; display: grid; place-items: center; width: 52px; height: 100%; position: absolute; right: 0; top: 0; background: var(--bay-yellow); color: var(--bay-blue); font-size: 32px; transition: rotate .25s var(--ease-out-soft); }
.detail-button:hover::after, .return-link:hover > span::after, .spaces-heading a:hover > span::after { rotate: 180deg; }
a.detail-button:hover { background: var(--bay-blue-bright); transform: none; }
.detail-button.disabled-button { padding: 18px 24px; background: var(--b-muted-blue); white-space: normal; }
.disabled-button::after { content: none; }
.disabled-button .small-chevron { display: none; }

/* 写真・吹き出し。スタッフ写真の座標と吹き出しの外接矩形はAを維持。 */
.sample-sponsor .sample-backing { background: transparent; }
.sample-sponsor .b-photo { border: 9px solid var(--bay-white); box-shadow: 0 3px 10px var(--b-shadow); transform: rotate(-2deg); }
.sample-sponsor .toilet-photo { left: calc(112 * var(--d)); top: calc(988 * var(--d)); transform: rotate(2.5deg); }
.sample-sponsor .sample-stage::after { content: ""; position: absolute; z-index: 3; left: calc(420 * var(--d)); top: calc(512 * var(--d)); width: 90px; height: 26px; background: var(--bay-cream); opacity: .9; rotate: -7deg; clip-path: polygon(3% 0, 97% 0, 95% 20%, 100% 40%, 95% 60%, 98% 80%, 96% 100%, 2% 100%, 5% 80%, 0 60%, 4% 40%, 0 20%); pointer-events: none; }
.sample-label { border-radius: 0; background: var(--bay-blue); clip-path: polygon(2% 0, 100% 3%, 98% 100%, 0 96%); }
.sample-provider .sample-backing { border-radius: 0; background: var(--b-blue-faint); clip-path: polygon(0 2%, 98% 0, 100% 100%, 2% 97%); }
.staff-bubble { border-radius: 0; background: var(--bay-blue); }
.staff-bubble::before { content: none; }
/* 数pxの色差で元画像の青が残らないよう、外縁も同じ色で覆う。 */
.staff-bubble { box-shadow: 0 0 0 calc(10 * var(--d)) var(--bay-blue); }
.staff-bubble::after { width: calc(44 * var(--d)); height: calc(38 * var(--d)); bottom: calc(-36 * var(--d)); }

/* RETURN / SPACE LIST / JACK PLAN */
.returns { background: transparent; min-height: 0; display: block; padding-top: 100px; padding-bottom: 100px; }
.returns::before { background: var(--bay-slate-85); clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 calc(100% - 18px)); }
.returns > .content-width { width: 100%; }
.returns .b-section-en { color: var(--bay-white); }
.returns h2 { font-size: clamp(23px, 3.3vw, 42px); line-height: 1.65; }
.returns h2 em { color: var(--bay-yellow); }
.return-link { position: relative; background: var(--bay-blue); padding: 20px 76px 20px 24px; }
.return-link h3 { font-size: clamp(23px, 2.4vw, 34px); }
.return-link > span { position: static; margin: 0; width: 0; height: 0; }
.return-link > span svg { display: none; }
.return-link > span::after { width: 64px; }
.return-example { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; background: var(--bay-white); padding: 8px; gap: 8px; }
/* 写真を説明文と同じカード内幅に広げる。 */
.return-example > .b-photo { width: 100%; justify-self: center; }
.return-example figcaption {
  writing-mode: horizontal-tb; width: 100%; min-width: 0; height: auto; min-height: calc(3em + 24px);
  align-self: stretch; align-content: center; padding: 12px 14px;
  background: var(--bay-cyan); color: var(--bay-blue); font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 900; line-height: 1.5; text-align: center; overflow-wrap: anywhere;
}
.spaces { min-height: 370px; overflow: hidden; padding-bottom: 110px; clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); }
.spaces > .b-section-en { margin: 0 0 16px; text-align: left; }
.spaces h2 { color: var(--bay-blue); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; }
.spaces-heading a { gap: 12px; }
.spaces-heading a > span { position: relative; border: 0; border-radius: 0; width: 48px; height: 48px; box-shadow: none; background: var(--bay-yellow); }
.spaces-heading a > span::after { width: 100%; }
.spaces-heading svg { display: none; }
.spaces > p:not(.b-section-en) { display: table; margin: 52px auto 0; padding: 10px 36px; transform: rotate(-4deg); background: var(--bay-yellow); color: var(--bay-blue); font-weight: 900; }
.b-spaces-wolf { --b-search-size: clamp(115px, 18vw, 235px); position: absolute; right: 28px; bottom: calc(var(--b-search-size) * -.32); width: var(--b-search-size); height: var(--b-search-size); overflow: hidden; filter: var(--b-sticker); pointer-events: none; }
.b-spaces-wolf img { width: 100%; }
.b-decor-lens { bottom: 38px; left: 30px; width: 62px; height: 62px; }
.jack-plan { gap: 30px 40px; }
.jack-plan > .b-photo { border: 10px solid var(--bay-white); transform: rotate(-2deg); }
.jack-plan > div { margin-left: 0; }
.jack-plan h2 { color: var(--bay-blue); left: 0; font-weight: 900; line-height: 1.4; }
.recommend { display: table; padding: 8px 20px; background: var(--bay-yellow); color: var(--bay-blue); transform: rotate(-3deg); }
.jack-lead { line-height: 1.6; }
.site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); background: var(--bay-blue); }

/* 初期描画はキャラも含めて即座に隠し、準備後だけ遷移を有効にする。 */
.b-bottom-bar { position: fixed; z-index: 19; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); width: min(540px, calc(100% - 40px)); padding: 8px; gap: 6px; background: var(--bay-white); box-shadow: 0 3px 16px var(--b-shadow); translate: 0 calc(100% + 100px); visibility: hidden; transition: none; }
.b-bottom-bar a { position: relative; display: grid; place-items: center; min-height: 58px; padding: 8px; font-size: 16px; font-weight: 900; letter-spacing: 0; background: var(--bay-cyan); color: var(--bay-blue); }
.b-bottom-bar a:nth-child(2) { background: var(--bay-slate); color: var(--bay-white); }
.b-bottom-bar a:nth-child(3) { background: var(--bay-blue); color: var(--bay-white); }
.b-bottom-bar img { position: absolute; width: 52px; height: auto; right: 12px; top: -45px; transform: rotate(-6deg); }
.b-motion .b-bottom-bar img { animation: b-jitter 5s steps(1) infinite; }
.b-bar-ready .b-bottom-bar { transition: translate .8s var(--ease-out-soft), visibility .8s; }
.b-bottom-bar.is-visible { translate: 0 0; visibility: visible; }
.b-bottom-bar a:hover { text-decoration: underline; text-underline-offset: 4px; }
@keyframes b-jitter { 0%, 12%, 100% { transform: rotate(-6deg); } 3%, 9% { transform: rotate(-1deg); } 6% { transform: rotate(-5deg); } }

/* 出現: 帯 → 英字(.3s) → 和文(.5s)。文字だけはsoftで流す。 */
.js .kv-ready .kv-copy { animation: none; opacity: 1; }
.b-motion .kv-copy::before { animation: b-wipe 1s var(--ease-out-soft) both; }
.b-motion .kv-headline > * { animation: b-right .8s var(--ease-out-soft) .3s both; }
.b-motion .kv-tagline { animation: b-right .8s var(--ease-out-soft) .5s both; }
.b-motion h2[data-b-motion].b-seen { animation-delay: .5s; }
.b-motion [data-b-motion="band"].b-pending { opacity: 1; }
.b-motion [data-b-motion="band"].b-pending::before { transform: scaleX(0); }
.b-motion [data-b-motion="band"].b-pending > * { opacity: 0; }
.b-motion [data-b-motion="band"].b-seen { animation: none; }
.b-motion [data-b-motion="band"].b-seen::before { animation: b-band .6s var(--ease-out-soft) both; }
.b-motion [data-b-motion="band"].b-seen > * { animation: b-right .8s var(--ease-out-soft) .3s both; }
@keyframes b-wipe { from { clip-path: polygon(0 14.286%, 0 14.286%, 0 100%, 0 100%); } to { clip-path: var(--b-copy-shape); } }
@keyframes b-band { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (min-width: 768px) and (max-width: 1050px) {
  .feature { grid-template-columns: 1fr; }
  .feature-copy { display: block; }
  .feature-visual { width: min(640px, 100%); margin-inline: auto; }
  .audience-card > span { font-size: 16px; }
  .benefit h3 { font-size: 25px; }
  .spaces-heading { flex-wrap: wrap; }
  .jack-plan { grid-template-columns: 1fr; }
  .jack-plan > .b-photo { max-width: 650px; }
}
@media (max-width: 767px) {
  .about, .feature, .spaces, .jack-plan, .returns { width: calc(100% - 24px); margin-block: 38px; padding: 56px 20px; }
  .about { padding-top: 70px; margin-top: 126px; }
  .about h2 { white-space: normal; font-size: 27px; }
  .about p:not(.b-section-en) { line-height: 1.9; }
  .b-about-wolf { width: 96px; right: 12px; }
  .b-section-en { font-size: clamp(45px, 9.8vw, 70px); font-variation-settings: "wdth" 100; letter-spacing: -.045em; overflow-wrap: anywhere; }
  .feature { display: flex; gap: 28px; }
  .feature > .b-section-en { font-size: clamp(30px, 9.2vw, 70px); white-space: nowrap; overflow-wrap: normal; order: -2; margin: 0; }
  .feature h2, .provider h2 { font-size: 31px; line-height: 1.5; }
  .benefit h3 { font-size: clamp(18px, 5.5vw, 27px); line-height: 1.4; white-space: normal; padding-inline: 6%; }
  .benefit h3 svg { width: 20px; height: 30px; }
  .feature .detail-button { margin-top: 32px; }
  .kv-stage { --heading-offset: max(0px, calc(76px - 230 * var(--u))); height: calc(3900 * var(--u) + var(--heading-offset)); }
  .kv-copy { --b-copy-shape: polygon(0 8%, 100% 0, 96% 90%, 16% 100%); left: calc(95 * var(--u)); top: calc(230 * var(--u) + var(--heading-offset)); width: calc(1180 * var(--u)); height: calc(420 * var(--u)); }
  .kv-headline { height: calc(240 * var(--u)); padding-top: calc(70 * var(--u)); font-size: calc(104 * var(--u)); }
  .kv-ga { font-size: calc(74 * var(--u)); }
  .kv-tagline.sp-only { position: absolute; display: block; left: calc(180 * var(--u)); top: calc(235 * var(--u)); width: calc(900 * var(--u)); margin: 0; transform: rotate(-4deg); background: none; color: var(--bay-white); font-size: calc(43 * var(--u)); line-height: 1.45; text-align: right; }
  .kv-tagline.sp-only em { color: var(--bay-white); background: none; font-size: inherit; }
  .kv-tagline.pc-only { display: none; }
  .kv-logo { left: calc(110 * var(--u)); top: calc(650 * var(--u) + var(--heading-offset)); width: calc(1170 * var(--u)); }
  .dash-group { left: calc(870 * var(--u)); top: calc(915 * var(--u) + var(--heading-offset)); width: calc(600 * var(--u)); }
  .wolf-dash { top: calc(40 * var(--u)); left: calc(-20 * var(--u)); width: calc(648 * var(--u)); }
  .power-title { top: calc(1490 * var(--u) + var(--heading-offset)); left: calc(140 * var(--u)); width: calc(1220 * var(--u)); font-size: calc(70 * var(--u)); }
  .power-line { height: calc(130 * var(--u)); }
  .power { top: calc(1750 * var(--u) + var(--heading-offset)); width: calc(440 * var(--u)); height: calc(330 * var(--u)); padding: calc(10 * var(--u)); border-width: calc(10 * var(--u)); font-size: calc(39 * var(--u)); }
  .power-one { left: calc(65 * var(--u)); }
  .power-two { left: calc(530 * var(--u)); top: calc(1738 * var(--u) + var(--heading-offset)); height: calc(334 * var(--u)); }
  .power-three { left: calc(995 * var(--u)); top: calc(1756 * var(--u) + var(--heading-offset)); height: calc(322 * var(--u)); }
  .power-middle, .power-two .power-middle { font-size: calc(43 * var(--u)); }
  .power strong, .power-two strong { margin-top: calc(14 * var(--u)); font-size: calc(80.96 * var(--u)); }
  .wolf-search { left: calc(180 * var(--u)); top: calc(2100 * var(--u) + var(--heading-offset)); width: calc(330 * var(--u)); }
  .jack-copy { top: calc(2620 * var(--u) + var(--heading-offset)); left: calc(250 * var(--u)); }
  .kv-blue-sp, .jack-arrows-sp { top: var(--heading-offset); height: calc(3900 * var(--u)); }
  .space-map { top: var(--heading-offset); }
  .space-circle { border: calc(7 * var(--u)) solid var(--bay-white); border-radius: 0; transform: rotate(-2deg); }
  .space-circle:nth-child(even) { transform: rotate(2deg); }
  .space-circle h3 { top: calc(-25 * var(--u)); left: 50%; padding: 0 calc(14 * var(--u)); background: var(--bay-blue); }
  .space-indoor { left: calc(570 * var(--u)); top: calc(2860 * var(--u)); width: calc(450 * var(--u)); height: calc(410 * var(--u)); }
  .space-toilet { left: calc(135 * var(--u)); top: calc(3090 * var(--u)); width: calc(370 * var(--u)); height: calc(300 * var(--u)); }
  .space-toilet ul { padding: calc(140 * var(--u)) 0 0 calc(145 * var(--u)); }
  .space-outdoor { left: calc(740 * var(--u)); top: calc(3380 * var(--u)); width: calc(330 * var(--u)); height: calc(330 * var(--u)); }
  .space-items { left: calc(320 * var(--u)); top: calc(3470 * var(--u)); width: calc(350 * var(--u)); height: calc(320 * var(--u)); }
  .space-flag { display: none; }
  .b-decor-poster { top: calc(1040 * var(--u) + var(--heading-offset)); left: calc(130 * var(--u)); width: calc(180 * var(--u)); height: calc(234 * var(--u)); }
  .b-decor-poster-two { top: calc(1080 * var(--u) + var(--heading-offset)); left: calc(520 * var(--u)); width: calc(160 * var(--u)); height: calc(208 * var(--u)); }
  .b-decor-tape { top: calc(1390 * var(--u) + var(--heading-offset)); left: calc(640 * var(--u)); width: calc(150 * var(--u)); height: calc(60 * var(--u)); }
  .b-decor-pin { top: calc(650 * var(--u) + var(--heading-offset)); left: calc(1350 * var(--u)); width: calc(100 * var(--u)); height: calc(100 * var(--u)); }
  .b-decor-kv-lens { top: calc(2100 * var(--u) + var(--heading-offset)); left: calc(1050 * var(--u)); width: calc(120 * var(--u)); height: calc(120 * var(--u)); }
  .b-decor-arrow { top: calc(120 * var(--u) + var(--heading-offset)); left: calc(1060 * var(--u)); width: calc(160 * var(--u)); height: calc(80 * var(--u)); }
  .b-decor-muted { display: none; }
  .audience-cards { display: flex; flex-direction: column; width: calc(100% - 40px); gap: 20px; margin: 32px auto 64px; }
  .audience-card { width: 100%; height: 190px; aspect-ratio: auto; }
  .audience-card > span { font-size: 17px; }
  .audience-card b { font-size: 32px; }
  .return-examples { gap: 24px; }
  .return-example figcaption { font-size: 16px; }
  .returns { padding-top: 78px; }
  .returns h2 { font-size: 21px; letter-spacing: 0; line-height: 1.7; }
  .return-link { min-height: 90px; }
  .return-link h3 { font-size: 22px; }
  .spaces { padding-bottom: 150px; }
  .spaces-heading { flex-wrap: wrap; gap: 18px; }
  .spaces h2 { font-size: 28px; white-space: normal; }
  .spaces-heading a { font-size: 14px; }
  .spaces > p:not(.b-section-en) { margin: 35px auto 0; }
  .b-spaces-wolf { --b-search-size: 120px; right: 5px; }
  .b-decor-lens { width: 40px; height: 40px; left: 26px; bottom: 38px; }
  .jack-plan > .b-photo { margin-top: 28px; margin-bottom: 30px; }
  .jack-plan h2 { font-size: 26px; }
  .jack-plan .disabled-button { padding-inline: 15px; font-size: 14px; }
  .b-bottom-bar { width: 100%; bottom: 0; padding: 7px 7px calc(7px + env(safe-area-inset-bottom)); gap: 4px; }
  .b-bottom-bar a { font-size: 14px; min-height: 54px; padding: 6px 2px; }
  .footer-main a { white-space: normal; }
  .footer-bottom { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .b-motion [data-b-motion="band"].b-pending { opacity: 1; }
  .b-motion [data-b-motion="band"].b-pending::before { transform: none; }
  .b-motion [data-b-motion="band"].b-pending > * { opacity: 1; }
  .b-bottom-bar { transition: none; }
}

/* 写真中の元の文字は出現途中も背面の無地面で隠す。 */
.b-staff-cover { z-index: 1; pointer-events: none; }
p.staff-bubble { z-index: 2; background: transparent; box-shadow: none; }
p.staff-bubble::after { content: none; }

/* ＋の面は正方形。記号だけを回し、背景の四角は固定する。 */
.kv-cta a::before, .detail-button:not(.disabled-button)::before { content: ""; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 60px; height: 60px; background: var(--bay-yellow); }
.kv-cta a::before, .kv-cta a::after { right: calc(12 * var(--u)); width: calc(92 * var(--u)); height: calc(92 * var(--u)); background: var(--bay-blue); }
.kv-cta a::after { inset: 50% calc(12 * var(--u)) auto auto; translate: 0 -50%; background: transparent; }
.kv-cta a { padding: calc(12 * var(--u)); padding-right: calc(116 * var(--u)); }
.detail-button::after { top: 50%; translate: 0 -50%; width: 60px; height: 60px; background: transparent; }
.return-link > span { position: absolute; top: 50%; right: 0; translate: 0 -50%; width: 64px; height: 64px; border-radius: 0; background: var(--bay-yellow); }
.return-link > span::after { background: transparent; }
.spaces-heading a > span::after { background: transparent; }
.b-section-en .b-latin { font-variation-settings: inherit; }
.b-motion .b-about-wolf { animation-name: b-small-bounce; }
@keyframes b-small-bounce { 0%, 9%, 18%, 100% { translate: 0 0; } 5%, 14% { translate: 0 -3px; } }

/* B2メニュー：斜めの街の面とステッカー。共用のdialog制御は変更しない。 */
.theme-b2 .menu-toggle, .theme-b2 .menu-close {
  width: 56px; height: 56px; border: 3px solid var(--bay-white); border-radius: 0;
  background: var(--bay-blue); color: var(--bay-white);
  transition: top .25s var(--ease-out-soft), transform .25s var(--ease-out-soft);
}
.theme-b2 .menu-toggle { gap: 4px; }
.theme-b2 .menu-toggle span { width: 24px; height: 2px; }
.theme-b2 .menu-toggle b { margin-top: 1px; color: var(--bay-yellow); font: 900 10px/1 "Roboto Flex", sans-serif; font-variation-settings: "wdth" 125; letter-spacing: .04em; }
.theme-b2 .menu-toggle:is(:hover, :focus-visible) { transform: rotate(-4deg); }
.theme-b2 .menu-dialog {
  width: min(560px, 100%); max-width: 100%; height: 100%; max-height: none;
  padding: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bay-blue); color: var(--bay-white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 36px 100%);
}
.theme-b2 .menu-dialog::backdrop { background: color-mix(in srgb, var(--bay-blue) 55%, transparent); }
.b-menu-content { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100%; padding: 32px 28px 28px 68px; }
.b-menu-content::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/img/b/streets.svg") center / 680px auto repeat-y; opacity: .1; pointer-events: none; }
.theme-b2 .menu-close { top: 24px; right: 24px; z-index: 1; background: var(--bay-yellow); color: var(--bay-blue); }
.theme-b2 .menu-close::before, .theme-b2 .menu-close::after { content: ""; position: absolute; top: calc(50% - 1.5px); left: calc(50% - 14px); width: 28px; height: 3px; background: currentColor; transform: rotate(45deg); }
.theme-b2 .menu-close::after { transform: rotate(-45deg); }
.theme-b2 .menu-close:is(:hover, :focus-visible) { transform: rotate(90deg); }
.theme-b2 .menu-dialog nav { font-size: inherit; }
.theme-b2 .menu-dialog nav a { min-width: 0; border: 0; }
.theme-b2 .menu-dialog nav a:hover { color: inherit; }
.theme-b2 .menu-dialog :is(a, button):focus-visible { outline: 3px solid var(--bay-yellow); outline-offset: 5px; }
.theme-b2 .menu-dialog .menu-close:focus-visible { outline-color: var(--bay-white); }
.theme-b2 .menu-dialog .b-menu-logo { width: 200px; max-width: calc(100% - 76px); margin: 10px 0 30px; padding: 0; transform: rotate(-4deg); filter: var(--b-sticker); }
.b-menu-logo img { width: 100%; }
.b-menu-links { min-width: 0; }
.theme-b2 .b-menu-links > a {
  position: relative; display: grid; gap: 5px; padding: 20px 52px 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--bay-white) 25%, transparent);
  transition: translate .25s var(--ease-out-soft);
}
.b-menu-en { min-width: 0; color: var(--bay-cyan); font: 900 clamp(30px, 4.4vw, 44px)/1.05 "Roboto Flex", sans-serif; font-variation-settings: "wdth" 125; letter-spacing: -.035em; overflow-wrap: anywhere; transition: color .25s var(--ease-out-soft); }
.b-menu-ja { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.5; font-weight: 900; overflow-wrap: anywhere; }
.b-menu-plus { position: absolute; top: 50%; right: 0; translate: 0 -50%; display: grid; place-items: center; width: 36px; height: 36px; background: var(--bay-yellow); color: var(--bay-blue); }
.b-menu-plus::after { content: "+"; font: 900 28px/1 "Roboto Flex", sans-serif; transition: rotate .25s var(--ease-out-soft); }
.theme-b2 .b-menu-links > a:is(:hover, :focus-visible) { translate: 8px 0; }
.b-menu-links > a:is(:hover, :focus-visible, [aria-current="page"]) .b-menu-en { color: var(--bay-yellow); }
.b-menu-main a:is(:hover, :focus-visible) .b-menu-plus::after { rotate: 90deg; }
.b-menu-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 30px 0; }
.theme-b2 .menu-dialog .b-menu-cta {
  position: relative; display: flex; align-items: center; min-height: 84px;
  padding: 12px 46px 12px 12px; border: 3px solid var(--bay-white);
  background: var(--bay-yellow); color: var(--bay-blue); font-size: 16px; font-weight: 900; line-height: 1.5;
  overflow-wrap: anywhere; transform: rotate(-1.5deg);
}
.b-menu-cta .b-menu-plus { right: 5px; background: var(--bay-blue); color: var(--bay-yellow); }
.theme-b2 .menu-dialog .b-menu-cta-provider { background: var(--bay-white); }
.theme-b2 .menu-dialog a.b-menu-cta:is(:hover, :focus-visible) { color: var(--bay-blue); }
.b-menu-cta-provider .b-menu-plus { background: var(--bay-yellow); color: var(--bay-blue); }
.theme-b2 .menu-dialog .b-menu-legal { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: auto; color: color-mix(in srgb, var(--bay-white) 75%, transparent); font-size: 13px; line-height: 1.8; }
.theme-b2 .menu-dialog .b-menu-legal a { padding: 0; overflow-wrap: anywhere; }
.b-menu-legal a:is(:hover, :focus-visible) { text-decoration: underline; }
.b-menu-wolf { position: absolute; right: -24px; bottom: -24px; width: 180px; filter: var(--b-sticker); pointer-events: none; }
/* 装飾がリンクと重ならないだけの余白を確保できる画面で表示。 */
@media (min-width: 768px) and (min-height: 851px) {
  .b-menu-content { padding-bottom: 170px; }
}
@media (max-width: 767px), (max-height: 850px) {
  .b-menu-wolf { display: none; }
}
@media (max-width: 767px) {
  .theme-b2 .menu-toggle, .theme-b2 .menu-close { width: 48px; height: 48px; }
  .theme-b2 .menu-dialog { clip-path: none; }
  .b-menu-content { padding: 24px 24px calc(28px + env(safe-area-inset-bottom)); }
  .theme-b2 .menu-close { top: 16px; right: 16px; }
  .theme-b2 .menu-dialog .b-menu-logo { margin-bottom: 24px; }
  .b-menu-actions { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .theme-b2 .menu-dialog .b-menu-cta { min-height: 60px; font-size: 16px; }
  .theme-b2 .menu-dialog .b-menu-legal { flex-direction: column; gap: 2px; }
  .theme-b2 .menu-dialog .b-menu-legal > span { display: none; }
}
.theme-b2 .menu-dialog[open] .b-menu-links > a, .theme-b2 .menu-dialog[open] .b-menu-cta { animation: b-menu-up .45s var(--ease-out-soft) both; }
.theme-b2 .menu-dialog[open] .b-menu-links > a:nth-child(1) { animation-delay: .05s; }
.theme-b2 .menu-dialog[open] .b-menu-links > a:nth-child(2) { animation-delay: .1s; }
.theme-b2 .menu-dialog[open] .b-menu-links > a:nth-child(3) { animation-delay: .15s; }
.theme-b2 .menu-dialog[open] .b-menu-links > a:nth-child(4) { animation-delay: .2s; }
.theme-b2 .menu-dialog[open] .b-menu-cta:nth-child(1) { animation-delay: .25s; }
.theme-b2 .menu-dialog[open] .b-menu-cta:nth-child(2) { animation-delay: .3s; }
@keyframes b-menu-up { from { opacity: 0; top: 20px; } to { opacity: 1; top: 0; } }
@media (prefers-reduced-motion: reduce) {
  .theme-b2 .menu-dialog[open], .theme-b2 .menu-dialog[open] .b-menu-links > a, .theme-b2 .menu-dialog[open] .b-menu-cta { animation: none; }
  .theme-b2 .menu-toggle, .theme-b2 .menu-dialog *, .theme-b2 .menu-dialog *::before, .theme-b2 .menu-dialog *::after { transition: none; }
  .theme-b2 .menu-toggle:is(:hover, :focus-visible), .theme-b2 .menu-close:is(:hover, :focus-visible) { transform: none; }
  .theme-b2 .b-menu-links > a:is(:hover, :focus-visible) { translate: none; }
  .b-menu-main a:is(:hover, :focus-visible) .b-menu-plus::after { rotate: none; }
}
