/* The original photograph remains visible until an actual video frame is playing. */
.reference-home .hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;pointer-events:none;transition:opacity 600ms ease-out}
.reference-home .hero-video.is-playing{opacity:1}
.reference-home .hero:has(.hero-video.is-playing) .hero-photo{animation:none;transform:none;translate:none!important}
.hero-bottom .hero-motion-toggle{position:absolute;right:70px;bottom:0;min-height:44px;padding:10px 14px;border:1px solid #ffffff80;background:#06172bcc;color:#fff;font:11px 'Noto Sans JP',sans-serif;letter-spacing:.04em;cursor:pointer}
.hero-bottom .hero-motion-toggle:hover{background:#06172b}
.hero-bottom .hero-motion-toggle:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:760px){.reference-home .hero-video{object-position:55% center}.hero-bottom .hero-motion-toggle{right:0;bottom:62px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.reference-home .hero-video{display:none;transition:none}}
