.sp-intro-movie { padding: 64px 24px; background: #fff; color: #202426; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.sp-intro-movie *, .sp-intro-movie *::before, .sp-intro-movie *::after { box-sizing: border-box; }
.sp-intro-movie-inner { max-width: 1120px; margin: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.sp-intro-movie-home { min-width: 0; aspect-ratio: 16 / 9; }
.sp-intro-movie-player { position: relative; width: 100%; background: #202426; aspect-ratio: 16 / 9; overflow: hidden; }
.sp-intro-movie-video { display: block; width: 100%; height: 100%; object-fit: contain; }
/* 通常表示・全画面とも、標準コントロールの黒いグラデーションだけを外す。 */
.sp-intro-movie-video::-webkit-media-controls-panel {
    background: transparent !important;
    /* 映像を覆う面は作らず、白いボタンと文字の輪郭だけを補う。 */
    filter: drop-shadow(0 1px 1px #202426);
}
.sp-intro-movie-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sp-intro-movie button { font: inherit; cursor: pointer; }
.sp-intro-movie [hidden] { display: none !important; }
.sp-intro-movie-start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 10px; max-width: calc(100% - 32px); width: max-content; min-height: 56px; padding: 14px 18px; background: #202426; color: #fff; border: 1px solid #fff; border-radius: 6px; font-size: 17px !important; font-weight: 700 !important; line-height: 1.5; }
.sp-intro-movie-start svg { width: 24px; height: 24px; flex: 0 0 24px; color: #f39a38; }
.sp-intro-movie-player.is-playing .sp-intro-movie-start { display: none; }
.sp-intro-movie-player.is-playing .sp-intro-movie-poster { display: none; }
.sp-intro-movie-copy h2 { margin: 0 0 16px; color: #202426; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.5; font-weight: 700; }
.sp-intro-movie-copy h2 span { display: inline-block; }
.sp-intro-movie-copy p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; }
.sp-intro-movie-copy .sp-intro-movie-duration { margin: 0 0 12px; font-size: 15px; color: #596067; }
.sp-intro-movie-copy .sp-intro-movie-note { font-size: 13px; color: #596067; margin: 14px 0 0; }
.sp-intro-movie-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 6px; color: #fff; background: #d37441; font-size: 16px !important; font-weight: 700 !important; }
.sp-intro-movie-open .fa-video { width: 20px; height: 18px; flex: 0 0 20px; }
.sp-intro-movie button:hover { filter: brightness(.94); }
.sp-intro-movie button:focus-visible { outline: 3px solid #38a1db; outline-offset: 3px; }
.sp-intro-movie-dialog { width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 6px; background: #fff; color: #202426; overflow: auto; overscroll-behavior: contain; }
.sp-intro-movie-dialog::backdrop { background: rgb(20 25 29 / 66%); }
.sp-intro-movie-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.sp-intro-movie-dialog-heading h2 { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 700; }
.sp-intro-movie-close { width: 44px; height: 44px; border: 0; background: #f0f3f5; color: #202426; font-size: 28px !important; line-height: 1; border-radius: 4px; }
.sp-intro-movie-dialog .sp-intro-movie-player { max-height: calc(100dvh - 180px); aspect-ratio: auto; height: min(63vw, 630px, calc(100dvh - 180px)); }
.sp-intro-movie-dialog-footer { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 18px; }
.sp-intro-movie-dialog-footer p { margin: 0 auto 0 0; font-size: 15px; color: #596067; }
.sp-intro-movie-restart, .sp-intro-movie-return { padding: 10px 14px; min-height: 44px; border: 0; border-radius: 4px; font-size: 16px !important; color: #202426; background: #f0f3f5; }
.sp-intro-movie-return { background: #202426; color: #fff; }
.sp-intro-movie-error, .sp-intro-movie-credit { margin: 0; padding: 0 18px 18px; font-size: 14px; line-height: 1.6; }
.sp-intro-movie-error { color: #b42318; }
.sp-intro-movie-error a { color: inherit; text-decoration: underline; }
html.sp-intro-movie-modal-open { overflow: hidden; }
@media (max-width: 720px) {
    .sp-intro-movie { padding: 40px 20px; }
    .sp-intro-movie-inner { grid-template-columns: 1fr; gap: 24px; }
    .sp-intro-movie-copy h2 { font-size: 25px; }
    .sp-intro-movie-open { width: 100%; }
    .sp-intro-movie-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
    .sp-intro-movie-dialog-heading { padding: 8px 12px; }
    .sp-intro-movie-dialog-heading h2 { font-size: 18px; }
    .sp-intro-movie-dialog .sp-intro-movie-player { height: auto; aspect-ratio: 16 / 9; max-height: none; }
    .sp-intro-movie-dialog-footer { padding: 12px; gap: 8px; }
    .sp-intro-movie-dialog-footer p { flex-basis: 100%; }
    .sp-intro-movie-restart, .sp-intro-movie-return { flex: 1; padding-inline: 10px; }
    .sp-intro-movie-start { font-size: 16px !important; padding: 12px; gap: 6px; }
}
@media print {
    .sp-intro-movie-dialog, .sp-intro-movie-start, .sp-intro-movie-open { display: none !important; }
    .sp-intro-movie { break-inside: avoid; }
}
