/* ============================================================
  FLOCSS CSS Architecture
  Foundation > Layout > Object (Component > Project > Utility)
  Naming: BEM (Block__Element--Modifier)
  Color: #b8271e (accent red) / #000 (bg) / #fff (text)
============================================================ */


/* ============================================================
  Foundation - Reset & Base
============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

/* カスタムスクロールバー */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: #000; }
::-webkit-scrollbar-thumb  { background: #b8271e; }

/* スクロールインジケーターアニメーション */
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ============================================================
  Layout
============================================================ */

/* l-inner: コンテンツ幅の制限と水平センタリング */
.l-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* l-header: 固定ナビゲーションヘッダー */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}


/* ============================================================
  Object - Component
  汎用・再利用可能なUIパーツ（c- prefix）
============================================================ */

/* ------ c-section-title ------ */
.c-section-title {
  margin-bottom: 48px;
}

.c-section-title__en {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  line-height: 1;
}

.c-section-title__sub {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-section-title__line {
  width: 48px;
  height: 3px;
  background: #b8271e;
  flex-shrink: 0;
}

.c-section-title__ja {
  color: #b8271e;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}

/* ------ c-coming-soon ------ */
.c-coming-soon {
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.c-coming-soon__text {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.c-coming-soon__divider {
  width: 40px;
  height: 2px;
  background: #b8271e;
  opacity: 0.5;
}

.c-coming-soon__note {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}


/* ============================================================
  Object - Project
  ページ固有のコンポーネント（p- prefix）
============================================================ */

/* ------ p-nav ------ */
.p-nav {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.p-nav--scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(184, 39, 30, 0.3);
}

.p-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.p-nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.p-nav__logo-img {
  height: 36px;
  width: auto;
  filter: invert(1);
  object-fit: contain;
}

.p-nav__list {
  display: flex;
  gap: 24px;
}

.p-nav__link {
  color: #ccc;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.p-nav__link:hover {
  color: #b8271e;
}

/* ハンバーガーボタン（モバイル） */
.p-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  color: #fff;
}

.p-nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 開いた状態：×マーク */
.p-nav__toggle[aria-expanded="true"] .p-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.p-nav__toggle[aria-expanded="true"] .p-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.p-nav__toggle[aria-expanded="true"] .p-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルメニュー */
.p-nav__mobile-menu {
  background: rgba(0, 0, 0, 0.98);
  border-top: 1px solid rgba(184, 39, 30, 0.3);
  padding: 16px 24px 24px;
}

.p-nav__mobile-list {
  display: flex;
  flex-direction: column;
}

.p-nav__mobile-link {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* ------ p-kv (Key Visual) ------ */
.p-kv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.p-kv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) contrast(1.1);
}

/* 左端の赤いアクセントライン */
.p-kv__accent {
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 4px;
  background: #b8271e;
  z-index: 1;
}

/* 下部グラデーションオーバーレイ */
.p-kv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

/* テキストコンテンツエリア */
.p-kv__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.p-kv__release {
  display: inline-block;
  border: 1px solid #b8271e;
  color: #b8271e;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.p-kv__headline {
  color: #fff;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.p-kv__headline-em {
  color: #b8271e;
  font-style: normal;
}

.p-kv__divider {
  width: 60px;
  height: 2px;
  background: #b8271e;
  margin-bottom: 20px;
}

.p-kv__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.1em;
  line-height: 1.8;
  max-width: 600px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

/* 右下の透かし文字 */
.p-kv__watermark {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 60px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 10vw, 8rem);
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.2em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* スクロールインジケーター */
.p-kv__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.p-kv__scroll-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.p-kv__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}


/* ------ p-story ------ */
.p-story {
  background: #000;
  padding: 100px 0;
}

.p-story__scene {
  width: 100%;
  margin-bottom: 56px;
  overflow: hidden;
}

.p-story__scene-img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center center;
}

.p-story__intro {
  border-left: 3px solid #b8271e;
  padding-left: 28px;
  margin-bottom: 56px;
}

.p-story__intro-label {
  color: #b8271e;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  font-weight: 500;
}

.p-story__intro-text {
  color: #fff;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 2.1;
  letter-spacing: 0.05em;
}

.p-story__body-label {
  color: #b8271e;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  font-weight: 500;
}

.p-story__body-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 2.2;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.p-story__body-text:last-child {
  margin-bottom: 0;
}


/* ------ p-cast ------ */
.p-cast {
  background: #0a0a0a;
  padding: 100px 0;
}

.p-cast__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.p-cast__photo-wrap {
  position: relative;
  margin-bottom: 24px;
}

/* 「主演」バッジ */
.p-cast__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #b8271e;
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  font-weight: 500;
}

.p-cast__photo-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
  background: #1a1a1a;
}

.p-cast__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
  display: block;
}

.p-cast__photo-inner:hover .p-cast__photo {
  transform: scale(1.04);
}

.p-cast__photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.p-cast__info {
  border-left: 2px solid #b8271e;
  padding-left: 12px;
}

.p-cast__roman {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.p-cast__name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.p-cast__role {
  color: #b8271e;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.p-cast__bio {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.775rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.p-cast__comment {
  border-top: 1px solid rgba(184, 39, 30, 0.35);
  padding-top: 20px;
}

.p-cast__comment-label {
  color: #b8271e;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  font-weight: 500;
}

.p-cast__comment-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* サブキャスト */
.p-cast__sub {
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
}

.p-cast__sub-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  font-family: 'Oswald', sans-serif;
}

.p-cast__sub-list {
  display: flex;
  flex-wrap: wrap;
}

.p-cast__sub-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-right: 32px;
  padding-bottom: 16px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.p-cast__sub-note {
  color: #b8271e;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}


/* ------ p-staff ------ */
.p-staff {
  background: #000;
  padding: 100px 0;
}

.p-staff__director {
  margin-bottom: 80px;
}

.p-staff__role {
  color: #b8271e;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  font-family: 'Oswald', sans-serif;
}

.p-staff__name {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  line-height: 1.2;
}

.p-staff__roman {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-family: 'Oswald', sans-serif;
}

.p-staff__divider {
  width: 40px;
  height: 2px;
  background: #b8271e;
  margin-bottom: 24px;
}

.p-staff__bio {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.825rem;
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 56px;
}

.p-staff__comments {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.p-staff__comment {
  border-left: 2px solid rgba(184, 39, 30, 0.5);
  padding-left: 24px;
}

.p-staff__comment-label {
  color: #b8271e;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-family: 'Oswald', sans-serif;
}

.p-staff__comment-icon {
  opacity: 0.5;
  margin-bottom: 12px;
  display: block;
}

.p-staff__comment-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.825rem;
  line-height: 2;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.p-staff__comment-text:last-child {
  margin-bottom: 0;
}

/* 共作リスト */
.p-staff__collab {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 64px;
}

.p-staff__collab-label {
  color: #b8271e;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  font-family: 'Oswald', sans-serif;
}

.p-staff__collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.p-staff__collab-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.p-staff__collab-no {
  color: #b8271e;
  font-size: 0.65rem;
  font-family: 'Oswald', sans-serif;
  min-width: 20px;
  flex-shrink: 0;
}

.p-staff__collab-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.775rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.p-staff__collab-year {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  margin-left: 4px;
  white-space: nowrap;
}


/* ------ p-movie ------ */
.p-movie {
  background: #080808;
  padding: 100px 0;
}

.p-movie__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.p-movie__thumbnail {
  position: absolute;
  inset: 0;
}

.p-movie__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.p-movie__play-area {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.p-movie__play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #b8271e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 0 40px rgba(184, 39, 30, 0.6);
}

.p-movie__play-btn:hover {
  transform: scale(1.1);
  background: #d42f24;
}

.p-movie__play-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-family: 'Oswald', sans-serif;
}

/* 左上のOFFICIAL TRAILERラベル */
.p-movie__label {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #b8271e;
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  font-family: 'Oswald', sans-serif;
}

.p-movie__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.p-movie__note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-top: 16px;
  text-align: center;
}


/* ------ p-section (汎用セクション: Coming Soon 用) ------ */
.p-section {
  padding: 100px 0;
}

.p-section--bg-dark-alt {
  background: #0a0a0a;
}

.p-section--bg-dark {
  background: #000;
}

.p-section--bg-darker {
  background: #080808;
}


/* ------ p-footer ------ */
.p-footer {
  background: #000;
  border-top: 1px solid rgba(184, 39, 30, 0.3);
  padding: 48px 0;
}

.p-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.p-footer__logo {
  height: 48px;
  width: auto;
  filter: invert(1);
  object-fit: contain;
}

.p-footer__sns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.p-footer__sns-label {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.p-footer__sns-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
}

.p-footer__sns-item:hover {
  border-color: #b8271e;
  color: #b8271e;
}

.p-footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
}

.p-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.p-footer__credit-text {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.p-footer__copyright {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}


/* ============================================================
  Responsive
============================================================ */

/* タブレット: 1024px 以下 */
@media (max-width: 1024px) {
  .p-nav__list {
    display: none;
  }

  .p-nav__toggle {
    display: flex;
  }

  .p-cast__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .p-staff__collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* モバイル: 640px 以下 */
@media (max-width: 640px) {
  .l-inner {
    padding: 0 20px;
  }

  .p-kv__bg {
    object-position: center center;
  }

  .p-kv__body {
    padding: 0 20px 80px;
  }

  .p-cast__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .p-staff__collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .c-coming-soon {
    padding: 60px 20px;
  }
}
