.world-hero{--world-shift:0px;--world-light:1;position:relative;overflow:clip;padding:26px 0 32px}
.world-shell{width:calc(100% - 64px);max-width:1440px;margin:auto}
.world-stage{position:relative;height:clamp(360px,calc(100svh - 250px),650px);min-height:360px}
.world-mask-defs{position:absolute;pointer-events:none}
.world-viewport{position:absolute;inset:0;clip-path:url(#world-apertures);isolation:isolate;background:#171422}
.world-panorama{position:absolute;left:0;top:50%;width:100%;aspect-ratio:1672/941;transform:translateY(calc(-50% + var(--world-shift)));filter:brightness(var(--world-light))}
.world-camera{position:absolute;inset:0;transform-origin:50% 56%;animation:world-drift 24s ease-in-out infinite;will-change:transform}
.world-scene{position:absolute;inset:0;opacity:0;transition:opacity 1.4s ease;pointer-events:none}
.world-scene.is-active{opacity:1}
.world-environment{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.78) saturate(.75)}
.world-screen{position:absolute;left:28.7%;top:31%;width:34%;height:38%;padding:0;border:0;background:#151929c9;display:block;transform:perspective(1200px) rotateY(-3deg) rotateZ(-1.2deg);box-shadow:0 0 20px #b8a0ed29;overflow:hidden;cursor:zoom-in}
.world-screen img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;object-fit:contain;opacity:.97}
.world-screen:focus-visible{outline:3px solid #e8dcff;outline-offset:5px}
.world-detail-action{position:absolute;z-index:3;left:25%;bottom:20%;font-size:12px;line-height:1.5;min-height:32px;padding:6px 12px;color:#eee4ff;background:#17131feb;border:1px solid #bca2f67a;border-radius:5px;display:inline-flex;gap:18px;align-items:center}
.world-detail-action:hover{background:#2e233f;border-color:#bca2f6}
.world-screen-light{position:absolute;left:27%;top:23%;width:46%;height:43%;box-shadow:0 0 55px #b99fe133,inset 0 0 32px #b99fe111;opacity:.45;animation:world-light 18s ease-in-out infinite;pointer-events:none}
#world-title{display:contents;font-weight:600;letter-spacing:-.065em;line-height:1.04}
.world-title-start,.world-title-end{position:absolute;z-index:2;color:var(--scene-ink);pointer-events:none}
.world-title-start{left:0;top:0;width:max-content;padding:0 18px 10px 0;border-radius:0 0 22px 0;background:var(--scene-bg);font-size:clamp(48px,5.65vw,89px)}
.world-title-start>span,.world-title-end>span{display:block;white-space:nowrap}
.world-title-end{right:0;bottom:-2px;font-size:clamp(39px,4.55vw,72px);text-align:right;line-height:1.13}
.world-title-end>span{position:relative;width:max-content;margin-left:auto;background:var(--scene-bg);border-radius:20px 0 0 0;padding-left:16px}
.world-title-end>span:last-child{font-size:1.13em}
.world-title-end strong{font-weight:650;color:var(--scene-accent)}
.world-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-top:22px}
.world-value>p{font-size:14px;line-height:1.85;color:var(--scene-muted);margin:0 0 14px}
.world-actions{display:flex;align-items:center;gap:32px}
.world-actions .button{font-size:13px;padding:12px 22px;min-height:46px;gap:24px;background:#bca2f6;color:#171123;border-radius:7px;display:inline-flex;align-items:center;justify-content:space-between}
.world-actions .button:hover{background:#d0bbff}
.world-plan-link{font-size:13px;border-bottom:1px solid var(--scene-accent);padding:8px 0;color:var(--scene-accent);display:inline-flex;gap:24px}
.world-caption{font-size:10px;line-height:1.9;color:var(--scene-muted);text-align:right;max-width:410px;margin:0}
.world-caption span{display:inline-block;margin-top:4px}
.motion-controls{left:auto;right:14px;bottom:12px;transform:none;gap:4px;padding:5px 8px;opacity:.94}
.motion-controls button{font-size:11px;padding:7px 10px;min-height:34px}
.preview-label{font-size:8px}
@keyframes world-drift{0%,100%{transform:translate3d(-2px,1px,0) scale(1.012)}50%{transform:translate3d(2px,-3px,0) scale(1.02)}}
@keyframes world-light{0%,100%{opacity:.28}50%{opacity:.65}}
body:not([data-motion-state="running"]) :is(.world-camera,.world-screen-light),body[data-hero-active="false"] :is(.world-camera,.world-screen-light){animation-play-state:paused}
body[data-motion-state="reduced"] :is(.world-camera,.world-screen-light){animation:none!important}
@media(prefers-reduced-motion:reduce){body:not([data-motion-state="running"]) :is(.world-camera,.world-screen-light){animation:none!important}}
@media(min-width:1100px) and (max-height:780px){.world-hero{padding-top:18px;padding-bottom:22px}.world-stage{height:calc(100svh - 225px);min-height:330px}.world-footer{margin-top:16px}.world-value>p{font-size:12px;line-height:1.65;margin-bottom:10px}.world-actions .button{min-height:42px;padding:9px 18px}.world-caption{font-size:9px}}
@media(max-width:1000px){.world-shell{width:calc(100% - 40px)}.world-stage{height:420px;min-height:0}.world-title-start{font-size:5.6vw}.world-title-end{font-size:4.5vw}.world-footer{gap:18px}.world-caption{max-width:250px;font-size:9px}.world-value>p{font-size:12px}.world-actions{gap:20px}.world-actions .button{font-size:12px;padding:10px 16px}.world-plan-link{font-size:12px;gap:16px}}
@media(min-width:601px) and (max-width:800px){.world-stage{height:370px}.world-panorama{width:110%;left:-5%}.world-title-start{font-size:5.7vw}.world-title-end{font-size:4.6vw}.world-caption{display:none}.world-footer{margin-top:20px}.world-value>p{font-size:13px}}
@media(max-width:600px){
 .world-hero{padding:22px 0 28px}.world-shell{width:calc(100% - 36px)}.world-stage{height:auto;display:flex;flex-direction:column;gap:20px}.world-viewport{position:relative;inset:auto;width:100%;height:clamp(180px,52vw,245px);clip-path:none;border-radius:14px;order:2;overflow:hidden}
 #world-title{display:block;order:1;letter-spacing:-.065em;line-height:1.2;margin:0}.world-title-start,.world-title-end{position:static;display:block;width:auto;font-size:clamp(26px,7.4vw,43px);line-height:1.2;text-align:left}.world-title-start>span{display:inline}.world-title-end>span:first-child{display:block}.world-title-end>span:last-child{display:block;font-size:1.12em}.world-title-start>span,.world-title-end>span{white-space:normal}.world-title-end strong{color:var(--scene-accent)}
 .world-panorama{width:100%;left:0}.world-screen{top:26%;height:40%;width:41.6%}.world-title-start{padding:0}.world-title-end>span{width:auto;margin:0;padding:0}.world-footer{margin-top:17px}.world-value>p{font-size:11px;line-height:1.75;margin-bottom:13px}.world-actions{gap:20px;flex-wrap:wrap}.world-actions .button{min-height:43px;padding:10px 15px;font-size:11px}.world-plan-link{font-size:11px;gap:12px}.world-caption{display:none}.motion-controls{right:8px;bottom:8px;max-width:calc(100% - 16px)}.motion-controls button{min-height:36px;font-size:10px;padding:7px 9px}.preview-label{display:none}
}
@media(min-width:601px) and (max-height:780px){.world-detail-action{bottom:16%}}
@media(max-width:600px){.world-detail-action{position:static;order:3;align-self:flex-start;min-height:34px;margin-top:-13px;font-size:11px;padding:6px 12px}}

/* Three continuous worlds; concept imagery only. Actual screens open in dialogs. */
.world-environment{filter:brightness(.88) saturate(.86)}
.world-scene-info{flex:0 1 410px;min-width:0;align-self:flex-end}
.world-scene-kicker{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 3px;font-size:10px;color:var(--scene-accent)}
.world-imagery-label{font-size:8px;letter-spacing:.14em;color:var(--scene-muted)}
#world-scene-message{font-size:14px;line-height:1.65;color:var(--scene-ink);margin:0 0 8px;white-space:nowrap}
.world-scene-select{display:flex;gap:7px;flex-wrap:wrap}
.world-scene-select button{font-size:10px;line-height:1.5;min-height:32px;padding:4px 10px;border:1px solid var(--scene-line);border-radius:5px;background:transparent;color:var(--scene-muted)}
.world-scene-select button[aria-pressed='true']{color:var(--scene-bg);background:var(--scene-accent);border-color:var(--scene-accent)}
.world-scene-select button:hover{border-color:var(--scene-accent)}
.world-scene-select button:focus-visible{outline:2px solid var(--scene-accent);outline-offset:3px}
.world-concept-note{font-size:9px;color:var(--scene-muted);margin:6px 0 0;line-height:1.5}
.hero-font-switch{display:flex;padding-right:5px;margin-right:3px;border-right:1px solid #6e5c82}
body[data-hero-font='serif'] #world-title{font-family:'Noto Serif JP Site','Yu Mincho',serif;font-weight:600;letter-spacing:-.07em}
body[data-hero-font='serif'] .world-title-start{font-size:clamp(46px,5.4vw,85px);line-height:1.12}
body[data-hero-font='serif'] .world-title-end{font-size:clamp(38px,4.35vw,69px);line-height:1.18}
body[data-hero-font='serif'] .world-title-end strong{font-weight:600}
body[data-motion-state='reduced'] .world-scene{transition:none!important}
@media(prefers-reduced-motion:reduce){body:not([data-motion-state='running']) .world-scene{transition:none!important}}
@media(min-width:1100px) and (max-height:780px){.world-scene-info{flex-basis:350px}.world-concept-note{font-size:8px;margin-top:3px}.world-scene-select button{min-height:29px;font-size:9px}.world-scene-kicker{font-size:9px}#world-scene-message{font-size:12px;margin-bottom:5px}}
@media(min-width:601px) and (max-width:1000px){.world-scene-info{flex-basis:315px}.world-scene-select{gap:4px}.world-scene-select button{font-size:9px;padding:4px 7px}#world-scene-message{font-size:12px}.world-concept-note{font-size:8px}body[data-hero-font='serif'] .world-title-start{font-size:5.4vw}body[data-hero-font='serif'] .world-title-end{font-size:4.35vw}}
@media(max-width:600px){
 .world-footer{flex-direction:column;align-items:stretch;gap:16px}.world-scene-info{flex:none;align-self:stretch;order:-1}.world-scene-kicker{display:none}#world-scene-message{font-size:12px;margin-bottom:6px}.world-scene-select{gap:6px}.world-scene-select button{min-height:33px;font-size:9px;flex:1;padding:5px 6px}.world-concept-note{font-size:8px;margin-top:5px}.world-value>p{font-size:11px}
 body[data-hero-font='serif'] .world-title-start,body[data-hero-font='serif'] .world-title-end{font-size:clamp(26px,7.3vw,43px);line-height:1.28}
 .motion-controls{gap:1px;padding:4px;max-width:calc(100% - 16px)}.motion-controls button{font-size:10px;padding:7px 8px}.hero-font-switch{padding-right:4px;margin-right:2px}
}

/* Preview controls live outside the composition, never over CTAs or scene buttons. */
.motion-controls{position:relative;inset:auto;transform:none;width:100%;max-width:none;min-height:44px;padding:4px 24px;justify-content:flex-end;border:0;border-bottom:1px solid #45394f;border-radius:0;box-shadow:none;opacity:1}
.world-stage{height:clamp(330px,calc(100svh - 294px),650px);min-height:330px}
@media(min-width:1100px) and (max-height:780px){.world-stage{height:calc(100svh - 269px);min-height:310px}}
@media(max-width:1000px){.world-stage{height:420px;min-height:0}}
@media(min-width:601px) and (max-width:800px){.world-stage{height:370px}}
@media(max-width:600px){.motion-controls{position:relative;inset:auto;padding:4px 10px;max-width:none;justify-content:center}.world-stage{height:auto;min-height:0}}
.world-imagery-label{font-size:10px}
.world-concept-note{font-size:11px;line-height:1.5}
body[data-motion-state='running'] .world-scene{transition:opacity 1.4s ease!important}

/* A quiet control anchored to the scene, with a full-size touch target. */
.world-stage-tools{display:contents}
#home .motion-controls{position:absolute;inset:auto 12px 10px auto;z-index:4;display:flex;width:auto;min-height:44px;max-width:none;margin:0;padding:0;transform:none;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1}
#home #motion-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:86px;min-height:44px;padding:10px 12px;border:1px solid #a38bbd88;border-radius:6px;background:#15121cde;color:#e2d5f6;font-family:var(--font);font-size:10px;font-weight:500;line-height:1;letter-spacing:.12em;box-shadow:0 2px 8px #0003;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:border-color .18s ease,box-shadow .18s ease}
#home #motion-toggle[aria-pressed='true']{background:#15121cde;color:#e2d5f6}
.motion-toggle-icon{display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.motion-icon-play{display:none}
#motion-toggle[aria-pressed='false'] .motion-icon-play{display:block}
#motion-toggle[aria-pressed='false'] .motion-icon-pause{display:none}
#home #motion-toggle:is(:active,.is-touch-active,:focus-visible){border-color:#e9d8ff;box-shadow:0 0 1px 1px #dfc5ff99,0 0 12px #b68ce577,0 0 22px #9d73d238}
#home #motion-toggle:focus-visible{outline:2px solid #e9d8ff;outline-offset:3px}
@media(hover:hover) and (pointer:fine){#home #motion-toggle:hover{border-color:#e9d8ff;box-shadow:0 0 1px 1px #dfc5ff99,0 0 12px #b68ce577,0 0 22px #9d73d238}}
@media(max-width:600px){
 .world-stage-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;order:3;margin-top:-10px}
 #home .world-detail-action{position:static;flex:0 1 auto;order:0;min-width:0;min-height:44px;align-self:auto;margin:0;padding:8px 10px;font-size:clamp(11px,3vw,13px)}
 #home .motion-controls{position:static;flex:none;order:1;inset:auto;width:auto;min-height:44px;max-width:none;margin:0;padding:0}
 #home #motion-toggle{min-width:82px;min-height:44px;padding:10px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){#home #motion-toggle{transition:none}}
