@charset "UTF-8";

/* ========================================================
   基本設定：色・本文幅・TOP仮スペースの高さはここで調整
   外部フォント・CSSライブラリは使用していません。
======================================================== */
:root {
  --ink: #171719;
  --paper: #f5f4f1;
  --red: #c52237;
  --purple: #83409b;
  --content-width: 1120px;
  --top-height: 720px;
  --sans: "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.9; overflow-wrap: break-word; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid #deab36; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
::selection { color: #fff; background: var(--red); }
.container { width: min(var(--content-width), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 110; padding: 12px 20px; background: #fff; color: #111; }
.skip-link:focus { top: 90px; }
.prose { line-height: 2.15; }
.prose p + p { margin-top: 1.6em; }
.copyright { font-size: .75rem; line-height: 1.8; }

/* 上部固定メニュー */
.site-header { position: fixed; z-index: 100; top: 18px; left: 24px; right: 24px; max-width: 1320px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 16px 24px; color: #fff; background: rgba(23, 23, 25, .97); border: 1px solid #414144; box-shadow: 0 4px 18px #00000012; }
.site-brand { display: flex; align-items: baseline; gap: 9px; font-size: 1rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.site-brand span { color: #bdbdc4; font-size: .75rem; font-weight: 400; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px 23px; }
.site-header nav a { display: block; padding-block: 5px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-bottom-color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px 0 8px 16px; cursor: pointer; align-items: center; gap: 12px; font-size: .75rem; letter-spacing: .08em; }
.menu-icon { position: relative; display: block; width: 22px; height: 14px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1px solid currentColor; }

/* TOP：本制作時はこの仮スペースを差し替え */
.top-placeholder { place-items: center; padding: 0px; background: #080605;}
.placeholder-label { text-align: center; font-size: .8rem; letter-spacing: .2em; color: #656565; }
.placeholder-label span { display: block; margin-top: 0px; font-size: .75rem; letter-spacing: .08em; }
.release-block { padding: 36px 0; background: #080605; color: #f6f2e3; text-align: center;}
.release-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.release-copy { flex: 1; }
.release-copy > p:last-child { margin-top: 5px; font-size: .875rem; font-weight: 600; }
.release-date { font-size: 3.1rem; line-height: 1.3; font-weight: 600; letter-spacing: .03em; }
.release-date span { font-size: 1.1rem; margin-inline: 5px; }
.ticket-banner { display: block; width: min(440px, 43%); flex-shrink: 0; transition: opacity .15s; }
.ticket-banner:hover { opacity: .8; }
.mobile-break { display: none; }

/* 共通セクション見出し */
.section-heading { display: flex; align-items: baseline; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #17171933; margin-bottom: 54px; }
.section-number { font-size: .8rem; letter-spacing: .06em; color: #767676; }
.section-heading h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 23px; font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.35; font-weight: 500; letter-spacing: .055em; }
.section-heading h2 span { font-size: .8rem; font-weight: 400; letter-spacing: .06em; }

/* INTRODUCTION */
.intro-body { max-width: 940px; margin-inline: auto; }
.intro-lead { font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.8; letter-spacing: .04em; }
.intro-sublead { margin-top: 20px; font-size: 1.125rem; color: #ab1e30; font-weight: 700; line-height: 1.9; }
.intro-prose { max-width: 880px; margin-top: 40px; }

/* FILMS：写真の縦横比を保持し、トリミングしない */
.films { background: var(--ink); color: var(--paper); }
.films .section-heading, .comments .section-heading { border-color: #ffffff40; }
.films .section-number, .comments .section-number { color: #b3b3b9; }
.film { --film-color: #ed4e60; }
.film--despair { --film-color: #c081d9; }
.film + .film { margin-top: 92px; padding-top: 80px; border-top: 1px solid #ffffff30; }
.film-heading { margin-bottom: 35px; }
.film-label { display: flex; align-items: center; gap: 20px; font-size: .875rem; letter-spacing: .05em; color: var(--film-color); }
.film-label span { padding-right: 20px; border-right: 1px solid currentColor; font-size: .75rem; letter-spacing: .14em; }
.film h3 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.5; font-weight: 500; letter-spacing: .06em; margin-top: 16px; }
.title-sub { display: inline-block; margin-left: .6em; font-size: .57em; }
.film-catch { margin-top: 12px; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .04em; line-height: 1.9; }
.film-visuals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .29fr); gap: 40px; align-items: center; }
.film-main img { width: 100%; }
.film-poster { display: block; align-self: center; text-decoration: none; }
.film-poster img { width: 100%; transition: opacity .15s; }
.film-poster:hover img { opacity: .8; }
.film-poster > span { display: flex; justify-content: space-between; margin-top: 10px; font-size: .75rem; letter-spacing: .15em; color: #bdbdc4; }
.film-details { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 55px; margin-top: 38px; align-items: start; }
.film-credits { padding-left: 25px; border-left: 2px solid var(--film-color); font-size: .875rem; line-height: 1.9; color: #ceced3; }
.film-credits p + p { margin-top: 12px; }
.film-awards { color: #edd1f9; }
.film-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.film-stills img { width: 100%; }

/* DIRECTOR */
.director-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.director-identity img { width: 100%; }
.director-en { margin-top: 28px; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.3; letter-spacing: .04em; font-weight: 500; }
.director-years { margin-top: 14px; font-size: .875rem; letter-spacing: .12em; color: #686868; }
.director-text h3 { font-family: var(--serif); font-size: 1.4rem; line-height: 1.9; margin-bottom: 26px; }

/* TRAILER：公開時は同じ枠内へ動画を設置 */
.trailer { background: #e8e7e4; }
.trailer-placeholder { max-width: 820px; margin-inline: auto; min-height: 300px; padding: 60px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #1e1e21; color: #d5d5db; text-align: center; }
.eyebrow { font-size: 1rem; letter-spacing: .2em; }
.trailer-placeholder > p:last-child { font-size: .875rem; }
.trailer-video { width: 100%; max-width: 820px; aspect-ratio: 16 / 9; margin-inline: auto; }
.trailer-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* アクセス時の予告編ポップアップ */
body.is-trailer-popup-open { overflow: hidden; }
.trailer-popup { width: min(880px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 40px); padding: 0; border: 0; color: var(--ink); background: transparent; overflow: auto; }
.trailer-popup::backdrop { background: rgba(15, 15, 18, .86); }
.trailer-popup-panel { padding: clamp(20px, 3.5vw, 36px); background: #fff; box-shadow: 0 16px 60px #0008; }
.trailer-popup h2 { margin-bottom: 20px; font-family: var(--serif); font-size: clamp(1.1rem, 2.6vw, 1.75rem); line-height: 1.55; font-weight: 600; text-align: center; }
.trailer-popup-video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.trailer-popup-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.trailer-popup-close { width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 3px; color: #fff; background: #29292c; font-size: .875rem; font-weight: 600; letter-spacing: .08em; cursor: pointer; }
.trailer-popup-close:hover { background: #424247; }

/* THEATER：スマートフォンでは1劇場ごとの縦並び */
.theater-release { margin-bottom: 26px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.8; }
.theater-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; }
.theater-table th { padding: 14px 18px; font-weight: 500; color: #666; border-top: 1px solid #a8a8a8; border-bottom: 1px solid #a8a8a8; white-space: nowrap; }
.theater-table td { padding: 26px 18px; border-bottom: 1px solid #c6c5c3; }
.theater-table th:first-child, .theater-table td:first-child { padding-left: 0; }
.theater-table th:last-child, .theater-table td:last-child { text-align: center; padding-right: 0; }
.theater-name { font-weight: 600; }
.theater-table a { white-space: nowrap; }

/* COMMENT */
.comments { background: #202023; color: var(--paper); }
.comment-feature { max-width: 960px; padding: 4px 0 50px; margin: 0 auto 48px; border-bottom: 1px solid #ffffff33; }
.comment-feature blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 2.25vw, 1.75rem); line-height: 2; }
.comment-feature figcaption { margin-top: 28px; text-align: right; font-size: 1.125rem; }
.comments figcaption span { display: inline-block; font-size: .875rem; color: #bdbdc4; }
.comment-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 65px; }
.comment-group h3 { margin-bottom: 25px; padding-bottom: 16px; border-bottom: 2px solid var(--purple); font-size: 1.125rem; font-weight: 500; }
.comment-group--love h3 { border-color: var(--red); }
.quote + .quote { margin-top: 28px; padding-top: 28px; border-top: 1px solid #ffffff26; }
.quote blockquote { font-family: var(--serif); font-size: 1.125rem; line-height: 2; }
.quote blockquote p + p { margin-top: 1em; }
.quote figcaption { margin-top: 16px; font-size: .875rem; text-align: right; }

/* FOOTER */
.site-footer { padding: 52px 0 30px; color: #d2d2d7; background: #141416; font-size: .875rem; }
.footer-titles { font-family: var(--serif); font-size: 1.1rem; color: #fff; }
.footer-links { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 24px; }
.footer-links p > span { display: inline-block; margin-left: 20px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.x-mark { font-size: 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 35px; padding-top: 25px; border-top: 1px solid #ffffff25; }
.footer-bottom > a { font-size: .75rem; text-decoration: none; letter-spacing: .08em; padding-block: 10px; }

/* タブレット・スマートフォン */
@media (max-width: 1100px) {
  .site-header { gap: 16px; padding-inline: 18px; }
  .site-header nav { column-gap: 14px; }
  .site-brand { font-size: .875rem; }
  .site-brand span { display: none; }
  .director-layout { gap: 36px; }
  .film-details { gap: 32px; }
}

@media (max-width: 900px) {
  :root { --top-height: 580px; }
  html { scroll-padding-top: 95px; }
  .container { width: calc(100% - 48px); }
  .section { padding-block: 72px; }
  .site-header { top: 12px; left: 12px; right: 12px; padding: 10px 18px; flex-wrap: wrap; gap: 4px 16px; }
  .site-brand { font-size: 1rem; min-height: 42px; display: flex; align-items: center; }
  .site-brand span { display: inline; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 4px 20px; }
  .site-header nav a { min-height: 42px; display: flex; align-items: center; font-size: .8rem; }
  /* JS無効時もリンクを表示。JSが有効な場合だけ開閉メニューにする。 */
  .site-header.is-enhanced .menu-toggle { display: flex; }
  .site-header.is-enhanced nav { display: none; }
  .site-header.is-enhanced.is-open nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 65vh; overflow-y: auto; padding: 14px 0 8px; border-top: 1px solid #ffffff35; }
  .release-inner { gap: 24px; }
  .release-date { font-size: 2.6rem; }
  .release-copy > p:last-child { font-size: .8rem; }
  .section-heading { margin-bottom: 40px; }
  .film-visuals { gap: 26px; grid-template-columns: minmax(0, 1fr) minmax(0, .32fr); }
  .film-details { grid-template-columns: 1fr; }
  .film-credits { padding-left: 20px; }
  .director-layout { grid-template-columns: 1fr; gap: 30px; }
  .director-identity { max-width: 550px; }
  .director-en { font-size: 2rem; }
  .comment-groups { gap: 36px; }
  .theater-table th, .theater-table td { padding-inline: 10px; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 720px) {
  :root { --top-height: 125vw; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 56px; }
  .top-placeholder { padding-top: 80px; }
  .release-block { padding-block: 28px; }
  .release-inner { flex-direction: column; text-align: center; gap: 22px; }
  .release-copy > p:last-child { font-size: .875rem; }
  .release-date { font-size: 2.75rem; }
  .release-date span { font-size: 1rem; }
  .mobile-break { display: initial; }
  .ticket-banner { width: min(280px, 100%); }
  .section-heading { gap: 12px; margin-bottom: 32px; padding-bottom: 18px; }
  .section-heading h2 { display: block; font-size: clamp(1.2rem, 5.1vw, 1.8rem); letter-spacing: .025em; }
  .section-heading h2 span { display: block; margin-top: 9px; font-size: .8rem; }
  .intro-lead { font-size: 1.45rem; line-height: 1.9; letter-spacing: .015em; }
  .intro-sublead { font-size: 1rem; }
  .intro-prose { margin-top: 30px; }
  .prose { line-height: 2; }
  .film + .film { margin-top: 60px; padding-top: 50px; }
  .film-heading { margin-bottom: 25px; }
  .film h3 { font-size: clamp(1.65rem, 7vw, 2.6rem); letter-spacing: .025em; }
  .film-catch { font-size: 1.05rem; }
  .film-label { gap: 15px; font-size: .8rem; }
  .film-label span { padding-right: 15px; }
  .film-visuals { grid-template-columns: 1fr; gap: 24px; }
  .film-poster { width: 45%; max-width: 210px; justify-self: center; }
  .film-details { margin-top: 30px; gap: 25px; }
  .film-stills { gap: 12px; margin-top: 30px; }
  .director-text h3 { font-size: 1.25rem; }
  .trailer-placeholder { min-height: 200px; padding: 45px 20px; }
  .trailer-popup { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .trailer-popup-panel { padding: 18px; }
  .trailer-popup h2 { margin-bottom: 14px; }
  .theater-release { font-size: 1.2rem; }
  .theater-table, .theater-table tbody, .theater-table tr { display: block; }
  .theater-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .theater-table tr { padding-block: 14px; border-block: 1px solid #aaa; }
  .theater-table tr + tr { border-top: 0; }
  .theater-table td, .theater-table td:first-child, .theater-table td:last-child { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding: 10px 0; border: 0; text-align: left; }
  .theater-table td::before { content: attr(data-label); font-weight: 400; color: #666; }
  .comment-feature { padding-bottom: 32px; margin-bottom: 36px; }
  .comment-feature blockquote { font-size: 1.2rem; }
  .comment-feature figcaption { font-size: 1rem; }
  .comment-feature figcaption span { display: block; }
  .comment-groups { grid-template-columns: 1fr; gap: 42px; }
  .comment-group h3 { font-size: 1rem; }
  .quote blockquote { font-size: 1.05rem; }
  .site-footer { padding-top: 36px; }
  .footer-titles span { display: block; margin-top: 4px; }
  .footer-links p > span { display: block; margin: 6px 0 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ========================================================
   追加：ムビチケ販売ブロック下のポスター・場面写真・配給情報
   top-extras- のクラスで既存のデザインから独立させています。
======================================================== */
.top-extras { padding: 0 0 24px; color: #fff; background: #080605; }
.top-extras-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px; padding: 40px 12px; border-top: 1px solid #ffffff30; }
.top-extras-film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.7fr); gap: 24px; align-items: center; }
.top-extras-film img { width: 100%; height: auto; }
.top-extras-poster { display: block; text-decoration: none; }
.top-extras-poster > span { display: flex; justify-content: space-between; margin-top: 9px; font-size: .75rem; line-height: 1.8; letter-spacing: .13em; }
.top-extras-poster:hover > span { text-decoration: underline; }
.top-extras-credits { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 28px; padding-top: 25px; border-top: 1px solid #ffffff30; }
.top-extras-distributor { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: .75rem; text-decoration: none; }
.top-extras-distributor img { width: 118px; height: auto; }
.top-extras-credits .copyright { color: #d2d2d7; }
.top-extras-x { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 64px; padding: 9px 17px; border: 1px solid #6a6a71; text-decoration: none; font-size: .8rem; }
.top-extras-x:hover { background: #ffffff16; }

@media (max-width: 900px) {
  .top-extras-gallery { gap: 24px; padding-inline: 0; }
  .top-extras-film { gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); }
  .top-extras-credits .copyright { order: 3; width: 100%; }
}

@media (max-width: 600px) {
  .top-extras-gallery { grid-template-columns: 1fr; gap: 28px; padding-block: 28px; }
  .top-extras-film { gap: 20px; }
  .top-extras-credits { justify-content: center; text-align: center; gap: 22px; }
  .top-extras-distributor { justify-content: center; gap: 14px; }
  .top-extras-distributor img { width: 110px; }
  .top-extras-x { width: 100%; max-width: 320px; min-height: 54px; }
}
