@charset "UTF-8";
/* CSS Document */
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
body {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.5;
  background-color: #000;
  overflow-y: scroll;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}
.mainSite {
  width: 100%;
  padding: 0;
  margin: 0;
}
.wrapper {
  position: relative;
  text-align: center;
}
.inner {
  width: 60%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5% 0;
  box-sizing: border-box;
}
a {
  display: block;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-dark: #05070c;
  --accent-blue: #00f0ff;
  --accent-gold: #ffc857;
  --accent-red: #ff2a5f;
}

html {
  scroll-behavior: smooth; /* メニュークリック時に滑らかにスクロールさせる */
}

body,
html {
  width: 100%;
  min-height: 100%; /* height: 100% から min-height に変更 */
  overflow-x: hidden; /* 横スクロールだけを禁止し、縦スクロールを許可 */
  overflow-y: auto; /* 縦方向のスクロールを有効化 */
  background-color: var(--bg-dark);
  font-family: "Noto Sans JP", sans-serif;
  color: #ffffff;
  user-select: none;
}

/*--------------------
LOADING
---------------------*/
.loading_wrap {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: #020408;
  z-index: 9999; /* すべての要素の最前面に配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
  pointer-events: all;
}

/* フェードアウト用のクラス */
.loading_wrap.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading_wrap .logo {
  width: 80%;
  max-width: 720px;
  text-align: center;
  animation: logoFade 2s ease-in-out infinite alternate;
}

.loading_wrap .logo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes logoFade {
  0% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.02);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.6));
  }
}

/* ==========================================
   MAIN CONTAINER & HERO BACKGROUND
   ========================================== */
.hero-container {
  position: relative;
  width: 100vw;
  height: 100dvh; /* 画面の高さにぴったり合わせる */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* コンテンツを下部に配置してビジュアルの邪魔をしない */
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

/* 背景画像（画面全体にカバー表示） */
.hero-bg,
.hero-bg picture,
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* うっすら下部を暗くして、重ねる文字やボタンをくっきり見せるグラデーション */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(3, 5, 8, 0) 0%,
    rgba(3, 5, 8, 0.1) 65%,
    rgba(3, 5, 8, 0.85) 100%
  );
  pointer-events: none;
}

/* パーティクルCanvas（画像の手前・文字の奥に配置） */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  pointer-events: none;
}

/* NEWSやCASTセクションの背景をしっかり敷いて背後からの透け込みを防ぐ */
.page-section,
#news,
#cast,
#movie,
.copyright-footer {
  position: relative;
  z-index: 5;
  background-color: #030509; /* 漆黒〜ダークネイビーで背後のCanvasを遮断 */
}

/* 画像の上に重ねる前面コンテンツ */
.hero-front-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  margin-bottom: clamp(50px, 10vh, 100px);
}

/* 公開日テキスト */
.release-date {
  font-family: "Orbitron", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  letter-spacing: 0.15em;
  color: #ffffff;

  /* 文字自体のネオン発光（シアンブルーベース） */
  text-shadow:
    0 0 10px rgba(0, 240, 255, 0.9),
    0 0 25px rgba(0, 240, 255, 0.6),
    0 0 45px rgba(0, 240, 255, 0.3),
    0 2px 10px rgba(0, 0, 0, 0.9);

  position: relative;
  display: inline-block;
  padding: 8px 30px;
  z-index: 2;
  white-space: nowrap;
}

/* ★1. 背後を貫く「横一線の鋭い光線」（中央レーザーコア） */
.release-date::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 85vw, 680px); /* 画面幅に合わせて伸縮する横長ライン */
  height: 2px; /* 鋭い光の芯 */

  /* 中央が白く輝き、外側へシアンブルーにフェードアウトするグラデーション */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 240, 255, 0.4) 15%,
    rgba(0, 240, 255, 0.9) 35%,
    #ffffff 50%,
    rgba(0, 240, 255, 0.9) 65%,
    rgba(0, 240, 255, 0.4) 85%,
    transparent 100%
  );

  /* 光線のグロー（外側への放光） */
  box-shadow:
    0 0 8px rgba(0, 240, 255, 0.8),
    0 0 18px rgba(0, 240, 255, 0.5);
  z-index: -1; /* 文字の背面に配置 */
  pointer-events: none;
}

/* ★2. 中央のフレア（ふわりと広がる光の溜まり玉） */
.release-date::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(140px, 45vw, 320px);
  height: 16px; /* 縦に少し厚みを持たせた楕円グロー */
  background: radial-gradient(
    ellipse at center,
    rgba(0, 240, 255, 0.45) 0%,
    rgba(0, 240, 255, 0.15) 50%,
    transparent 75%
  );
  filter: blur(4px);
  z-index: -2;
  pointer-events: none;
}

/* SNSボタングループ */
.x-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

/* ==========================================
   CENTER CONTENT (LOGO & DATE)
   ========================================== */
.center-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  max-width: 1100px;
  width: 100%;
}

/* Movie Title Logo Style */
.movie-title-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.title-primary {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 7vw, 6rem);
  /* line-height: 1.1;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e0e6ed 45%,
    #8a9bb0 70%,
    #8a9bb0 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.35))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.9));
  position: relative;
  letter-spacing: 0.08em; */
  /* 重要：文字の上下余白を切り詰め、白〜ゴールドを文字の天地にジャストフィットさせる */
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 5px 0 0;

  /* 元のメタリック縦グラデーションを完全維持 */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #d0d0d0 40%,
    #707070 70%,
    #303030 100% /* 純粋な濃いグレー */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.3))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.9)); */
}

@keyframes logoFloat {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(-8px) scale(1.01);
  }
}

.title-secondary {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.1em;

  /* メインタイトルと統一したグラデーション */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #d0d0d0 40%,
    #707070 70%,
    #303030 100% /* 純粋な濃いグレー */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.2))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Release Date Text */
.release-date {
  /* font-family: "Zen Kaku Gothic New", sans-serif; */
  font-family: "Orbitron", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  letter-spacing: 0.15em;
  color: #ffffff;
  /* margin-top: 25px; */
  text-shadow:
    0 0 20px rgba(0, 240, 255, 0.7),
    0 0 35px rgba(0, 240, 255, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.9);
  position: relative;
  display: inline-block;
  padding: 6px 30px;
}

/* ==========================================
   SNS SOCIAL WIDGET (X & INSTAGRAM)
   ========================================== */
.x-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* 画面幅が狭い場合は折り返し */
  gap: 16px;
  margin: 30px auto;
  padding: 0 20px;
}

/* 共通ボタンスタイル */
.x-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(13, 20, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 24px;
  border-radius: 9999px; /* ピル型カプセルボタン */
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease-out;
}

.x-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease-out;
}

/* X ホバー時のネオン演出（シアンブルー） */
.x-social-link:not(.insta-social-link):hover {
  border-color: var(--accent-blue);
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-blue);
  box-shadow:
    0 0 20px rgba(0, 240, 255, 0.4),
    0 0 35px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.x-social-link:hover svg {
  transform: scale(1.1);
}

/* ★追加：Instagram 専用のネオン＆ホバースタイル */
.insta-social-link svg {
  fill: none; /* 線画アイコン用 */
  stroke: currentColor;
}

.insta-social-link:hover {
  /* Instagramの象徴的なマゼンタ・ピンク発光 */
  border-color: #e1306c;
  background: rgba(225, 48, 108, 0.12);
  color: #ff6497;
  box-shadow:
    0 0 20px rgba(225, 48, 108, 0.45),
    0 0 35px rgba(225, 48, 108, 0.2);
  transform: translateY(-2px);
}

/*--------------------
NEWS
---------------------*/

.news {
  background-image: linear-gradient(#0a0a0a, #858585);
  position: relative;
  z-index: 1;
}
.news::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-repeat: repeat;
  background-size: contain;
  background-position: top;
  filter: contrast(100%) brightness(100%);
  opacity: 0.1;
}
.news .inner {
  padding: 3% 0;
  position: relative;
  z-index: 3;
}

.news h1.midashi_title {
  color: #fff;
}

.news_wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.news h1.midashi_title {
  margin: 0 5% 0 auto;
}
.news_date {
  color: #f7fbfc;
  display: block;
  text-align: left;
  width: auto;
  margin: 0 20px 0 0;
}
.news_title {
  /*width: 90%;*/
  width: 100%;
  margin: 0 auto;
  line-height: 1.5;
  text-align: left;
  color: #f7fbfc;
}

.viewall {
  text-align: right;
  font-size: 14px;
  position: relative;
  width: 130px;
  margin: 0 0 0 auto;
}
a.nor {
  color: #fff;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  transition: 0.7s;
  position: relative;
  display: block;
}
a.nor:hover {
  transition: 0.7s;
  opacity: 0.6;
}

ul.ulblogtitle {
  width: 100%;
  margin: 2% auto 1%;
}

ul.ulblogtitle li {
  width: 100%;
  border-bottom: 1px solid #fff;
  padding: 0 0 10px 0;
  margin: 0 auto 2%;
  box-sizing: border-box;
}
ul.ulblogtitle li a {
  transition: 0.7s;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: clamp(14px, 1vw, 16px);
}

ul.ulblogtitle li a:hover .news_title,
ul.ulblogtitle li a:hover .news_date {
  transition: 0.7s;
  color: #fff;
}

.arrow {
  position: absolute;
  display: inline-block;
  bottom: 20%;
  right: 0;
  width: 30px;
  transform: translate(0, -50%);
  height: 2px;
  margin: 0 0 0 0px;
  border-radius: 9999px;
  background-color: #fff;
}

.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  right: 0;
  width: 12px;
  height: 2px;
  border-radius: 9999px;
  background-color: #fff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 2px) 50%;
}

.mvtk_wrap {
  margin: 0 auto 10%;
}

/* ==========================================
   COPYRIGHT FOOTER (控えめな表示)
   ========================================== */
.copyright-footer {
  position: absolute;
  bottom: calc(
    env(safe-area-inset-bottom, 0px) + 12px
  ); /* 画面最下部+iPhoneホームバー考慮 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  text-align: center;
  width: 100%;
  pointer-events: none; /* クリックやスワイプの邪魔にならないように設定 */
}

.copyright-text {
  font-family: "Orbitron", "Noto Sans JP", sans-serif;
  font-size: 0.7rem; /* 控えめなサイズ (約11px) */
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35); /* 半透明で背景に馴染ませる */
  letter-spacing: 0.12em;
  margin: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 950px) {
  .title-primary {
    font-size: clamp(2.5rem, 9.5vw, 4.2rem);
    line-height: 1;
    margin: 6px 0 4px 0;
  }
  .title-secondary {
    font-size: clamp(1.15rem, 4.2vw, 1.85rem);
    line-height: 1;
  }
  .x-social-container {
    bottom: 60px;
  }
  .x-social-link {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
  .x-social-link svg {
    width: 22px;
    height: 22px;
  }

  .center-content {
    transform: translateY(-20px);
  }

  .release-date {
    padding: 6px 0px;
  }

  .inner {
    width: 92% !important;
    min-width: 0 !important; /* 900px固定を強制解除 */
    padding: 30px 0 !important;
  }

  /* NEWSセクションの見出しとリストを縦並びに切り替え */
  .news_wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .news h1.midashi_title {
    margin: 0 0 10px 0;
    text-align: left;
  }

  /* 画面全体の横スクロールを念のため完全ガード */
  body,
  html {
    overflow-x: hidden;
  }
}

/*--------------------
LOADING
---------------------*/

.logo {
  width: 70%;
  top: 45%;
}

/*--------------------
TRAILER(POPUP)
---------------------*/

/*--------------------
TRAILER
--------------------*/
.trailer {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 998;
  opacity: 0;
  display: none;
}

.trailer.on {
  animation-name: TfadeInAnime;
  animation-duration: 0.5s;
  animation-iteration-count: none;
  animation-timing-function: ease;
  animation-direction: normal;
  animation-fill-mode: forwards;
}
@keyframes TfadeInAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.trailer.off {
  animation-name: TfadeOutAnime;
  animation-duration: 0.5s;
  animation-iteration-count: none;
  animation-timing-function: ease;
  animation-direction: normal;
  animation-fill-mode: forwards;
}
@keyframes TfadeOutAnime {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.trailer_overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 1;
  z-index: 999999997;
}

.close_btn {
  position: fixed;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 999999999;
  cursor: pointer;
  transition: 0.7s;
}
.close_btn:hover {
  transition: 0.7s;
  opacity: 0.7;
}
.close_btn_inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.close_btn_inner::before,
.close_btn_inner::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  display: block;
  width: 30px;
  border-top: 3px solid #ffffff;
}

.close_btn_inner::before {
  transform: translate(-50%, -50%) skewY(-45deg);
}

.close_btn_inner::after {
  transform: translate(-50%, -50%) skewY(45deg);
}

.trailer.on .trailer_overlay {
  opacity: 1;
}

.trailer .trailer_inner {
  position: absolute;
  top: calc(48% - 40px);
  left: 50%;
  transform: translate(-50%, -50%) scale(1, 1);
  width: 60%;
  aspect-ratio: 16 / 9;
  z-index: 999999998;
  height: auto;
  box-sizing: content-box;
}

.trailer .trailer_tab {
  position: absolute;
  color: #fff;
  top: 100%;
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 10px;
  z-index: 999999998;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

.trailer .trailer_tab li {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px;
  font-weight: bold;
  background: #fff;
  color: #000;
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1;
  flex-wrap: wrap;
  box-sizing: border-box;
  letter-spacing: 0.1rem;
  text-align: center;
  border: 1px solid #fff;
}
.trailer_tab li:nth-child(2n) {
  margin: 0 0 5px;
}
.trailer .trailer_tab li:last-child {
  width: 100%;
  margin: 0;
}
.trailer_tab li.f_act {
  cursor: pointer;

  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.trailer_tab li.f_act:hover {
}
#youtube1,
#youtube2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1, 1);
  opacity: 1;
  z-index: 2;
}

.trailer.on #youtube1,
.trailer.on #youtube2 {
  transform: scale(1, 1);
  opacity: 1;
}

.youtube_wrapper {
  width: 48%;
}
.youtube_wrapper:first-child {
  margin-right: 4%;
}
.youtube_inner {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.youtube_inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ytp-cued-thumbnail-overlay-image {
  filter: none;
  -webkit-filter: none;
}

/*--------------------
MOVIE
---------------------*/

section.movie {
  position: relative;
  background-color: #000;
}
.movie .inner {
  position: relative;
  z-index: 2;
}

.movie_wrap {
  display: flex;
  overflow: hidden;
}
ul.trailer_list {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
li.trailer_item {
  width: 100%;
  margin: 0 auto;
}
.trailer_pop_btn {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  background: #000;
}
.trailer_pop_btn a {
  display: flex;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  position: relative;
  z-index: 5;
  text-align: center;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.trailer_pop_btn a::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../img/yt_logo.png);
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: center;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.trailer_pop_btn iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  line-height: 1;
}

.movie_midashi {
  color: #fff;
  margin: 10px 0 0 0;
  letter-spacing: 0.5rem;
  text-align: center;
}

/*--------------------
TOP
---------------------*/

/*--------------------
MENU
---------------------*/

/* ==========================================
   HAMBURGER MENU & GLOBAL NAVIGATION
   ========================================== */
.menu-toggle-btn {
  position: fixed;
  top: clamp(20px, 4vh, 35px);
  right: clamp(20px, 4vw, 40px);
  z-index: 1000;
  width: 50px;
  height: 50px;
  background: rgba(10, 15, 25, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.menu-toggle-btn:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.menu-toggle-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* 開閉時のアニメーション（×印への変形） */
.menu-toggle-btn.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-blue);
}
.menu-toggle-btn.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle-btn.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-blue);
}

/* メニューオーバーレイ本体 */
.global-nav {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.global-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-inner {
  text-align: center;
  padding: 20px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vh, 26px);
}

.nav-link {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.15em;
  color: #ffffff;
  text-decoration: none;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-blue);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
  transform: scale(1.05);
}

.nav-sns {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  min-width: 145px;
  background: rgba(15, 22, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.nav-sns-link[href*="instagram"]:hover {
  border-color: #e1306c;
  color: #ff6497;
  background: rgba(225, 48, 108, 0.15);
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.5);
}

.nav-sns-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-sns-link:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

/* ==========================================
   COMMON SECTION STYLES
   ========================================== */
.content-wrapper {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.85) 0%, #05070c 15%);
}

.page-section {
  padding: clamp(60px, 10vh, 120px) 20px;
  /* border-top: 3px solid rgba(0, 240, 255, 0.3); */
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.section-title {
  font-family: "Orbitron", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.18em;
  background: linear-gradient(180deg, #ffffff 0%, #a8b8cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.25));
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-blue);
  margin-top: 6px;
}

/* 汎用サイバーボタン */
.section-more {
  text-align: center;
  margin-top: 40px;
}

.btn-cyber {
  display: inline-block;
  padding: 12px 44px;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-decoration: none;
  background: rgba(10, 15, 25, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-cyber:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* ==========================================
   NEWS SECTION
   ========================================== */
.news-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.news-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.news-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 12px;
  color: #ffffff;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    padding-left 0.3s ease;
}

.news-link:hover {
  background-color: rgba(0, 240, 255, 0.06);
  padding-left: 20px;
}

.news-date {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.news-category {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--accent-blue);
  color: var(--accent-blue);
  border-radius: 3px;
  flex-shrink: 0;
}

.news-title {
  font-size: 0.95rem;
  line-height: 1.6;
  user-select: text;
}

/* ==========================================
   CAST SECTION (SIMPLE CARD + POPUP)
   ========================================== */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.cast-card {
  position: relative;
  /* backdrop-filterの重いリアルタイムボカシ計算をやめ、
     ダークトーンの透明度を高めて世界観を維持 */
  background: rgba(8, 13, 22, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s ease-out,
    border-color 0.25s ease-out,
    box-shadow 0.25s ease-out;
  transform: translateZ(0);
}

.cast-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.25);
}

.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  transform: translateZ(0);
}

.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
  transform: translateZ(0);
}

.cast-card:hover .cast-photo img {
  transform: none;
}

.cast-card-body {
  padding: 18px 16px 20px;
  text-align: center;
}

.cast-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.cast-name {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 2.4;
}

.cast-name ruby {
  letter-spacing: 0.95px;
}

.cast-name rt {
  font-size: 0.5rem;
  font-weight: normal;
  padding: 0 0 2px 0;
}

/* --- CAST COMMENT ネオン風ボタン --- */
.cast-btn-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center; /* カードの中央に配置 */
}

.cast-comment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 14px;
  font-family: "Orbitron", sans-serif; /* サイト内の英字フォントと統一 */
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 4px;
  box-shadow:
    0 0 10px rgba(0, 240, 255, 0.15),
    inset 0 0 8px rgba(0, 240, 255, 0.08);
  transition: all 0.2s ease-out;
  pointer-events: none; /* ボタン上をクリックしてもカード全体のモーダル起動を妨げない */
}

.cast-comment-btn .btn-plus {
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 0.2s ease-out;
}

/* カードにマウスが乗ったとき（ホバー時）の強力ネオン発光 */
.cast-card:hover .cast-comment-btn {
  background: var(--accent-blue);
  color: #05070c; /* 背景と同じ漆黒に文字を反転 */
  border-color: var(--accent-blue);
  box-shadow:
    0 0 15px rgba(0, 240, 255, 0.8),
    0 0 25px rgba(0, 240, 255, 0.4);
}

.cast-card:hover .cast-comment-btn .btn-plus {
  transform: rotate(90deg); /* ホバー時に「＋」が90度回転する演出 */
}

.cast-kana {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #a8b8cc;
  margin-left: 4px;
}

/* ==========================================
   CAST POPUP MODAL
   ========================================== */
.cast-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.cast-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cast-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(12px);
}

.cast-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  max-height: 88vh;
  overflow-y: auto;
  background: #0a0f18;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 240, 255, 0.15);
  transform: translateY(15px);
  transition: transform 0.3s ease;
}

.cast-modal.is-open .cast-modal-dialog {
  transform: translateY(0);
}

.cast-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 38px;
  height: 38px;
  background: rgba(15, 22, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.cast-modal-close:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.cast-modal-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  background: #ffffff;
}

.cast-modal-close span:first-child {
  transform: rotate(45deg);
}

.cast-modal-close span:last-child {
  transform: rotate(-45deg);
}

.cast-modal-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  clear: both;
}

.cast-modal-photo {
  width: 230px;
  flex-shrink: 0;
}

.cast-modal-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.cast-modal-info {
  flex: 1;
  user-select: text;
}

.cast-modal-info .cast-name {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cast-box {
  padding: 16px 18px;
  background: rgba(5, 7, 12, 0.7);
  border-left: 2px solid var(--accent-blue);
  border-radius: 0 6px 6px 0;
}

.cast-box-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.cast-box-text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #e0e6ed;
  white-space: pre-line;
}

@media only screen and (max-width: 768px) {
  .cast-modal-content {
    flex-direction: column;
    gap: 20px;
  }
  .cast-modal-photo {
    width: 100%;
    max-width: 210px;
    margin: 0 auto;
  }
}

/* ==========================================
   FOOTER（ページ最下部配置用）
   ========================================== */
.copyright-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 36px 20px;
  background-color: #030508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #8a9bb0;
}

/* ==========================================
   RESPONSIVE (MOBILE)
   ========================================== */
@media only screen and (max-width: 950px) {
  /* スマホでの前面コンテンツ位置調整 */
  .hero-front-content {
    margin-bottom: calc(
      env(safe-area-inset-bottom, 0px) + clamp(100px, 10vh, 160px)
    ) !important;
    padding: 0 16px;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      180deg,
      rgba(3, 5, 8, 0) 0%,
      rgba(3, 5, 8, 0.1) 80%,
      rgba(3, 5, 8, 0.85) 100%
    );
    pointer-events: none;
  }

  .hero-container {
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* 950px以下の切り替え画像のフィッティング指定 */
  .hero-bg,
  .hero-bg picture,
  .hero-bg-img,
  .hero-container picture img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    /* ★重要1：画面全体を覆いつつ、トリミング基準を中央やや上に固定 */
    object-fit: cover !important;
    object-position: center 35% !important; /* ロゴや主要ビジュアルが一番きれいに見える高さに合わせる */

    z-index: 1 !important;
  }

  .release-date {
    font-size: clamp(1.15rem, 4.8vw, 1.55rem);
    padding: 4px 10px;
    letter-spacing: 0.1em;
  }

  .x-social-container {
    flex-direction: row; /* スマホでも横並びでコンパクトに収める */
    gap: 10px;
    margin-top: 18px;
    padding: 0;
  }

  .x-social-link {
    flex: 1;
    max-width: 170px;
    padding: 10px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .x-social-link svg {
    width: 16px;
    height: 16px;
  }

  /* 1. NEWSセクションの横はみ出しを完全解消 */
  .inner {
    width: 100% !important;
    min-width: 0 !important; /* 900px固定を解除 */
    max-width: 100% !important;
    padding: 40px 16px !important;
  }

  .news_wrap {
    flex-direction: column;
  }

  .news h1.midashi_title {
    margin: 0 0 10px 0;
  }

  /* 2. キャスト一覧グリッド（スマホでは2列表示でスッキリ並べる） */
  .cast-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ) !important; /* 1列に巨大化せず2列で並べる */
    gap: 14px !important;
  }

  .cast-card {
    padding: 0 !important; /* 余分な内部余白をリセット */
    border-radius: 8px;
  }

  .cast-photo {
    max-width: 100% !important;
    aspect-ratio: 3 / 4;
  }

  .cast-card-body {
    padding: 12px 8px 14px !important;
  }

  .cast-role {
    font-size: 0.75rem !important;
    margin-bottom: 4px;
  }

  .cast-name {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
  }

  /* COMMENTネオンボタンのスマホ最適化 */
  .cast-btn-wrap {
    margin-top: 8px;
  }

  .cast-comment-btn {
    padding: 4px 10px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  /* 3. キャストポップアップモーダル（コメントを読みやすく調整） */
  /* モーダル枠外側の余白 */
  .cast-modal {
    padding: 12px !important;
  }

  /* モーダル枠全体：画面の縦85%以内に固定 */
  .cast-modal-dialog {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    max-height: 85vh !important; /* 画面内に必ず収める */
    padding: 20px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important; /* 枠自体のスクロールを完全に禁止 */
  }

  /* モーダルの中身全体 */
  .cast-modal-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    min-height: 0 !important; /* Flexbox内で子のスクロールを有効にする必須プロパティ */
    overflow: hidden !important;
  }

  /* 写真：スマホではコンパクトにしてコメント欄の高さを確保 */
  .cast-modal-photo {
    width: 95px !important;
    max-width: 95px !important;
    flex-shrink: 0 !important; /* 写真が潰れるのを防止 */
    margin: 0 auto !important;
  }

  .cast-modal-photo img {
    border-radius: 4px;
  }

  /* 役名・名前・コメントのラッパー */
  .cast-modal-info {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important; /* 必須指定 */
  }

  .cast-modal-info .cast-role {
    font-size: 0.75rem !important;
    margin-bottom: 2px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
  }

  .cast-modal-info .cast-name {
    font-size: 1.1rem !important;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    line-height: 1.6 !important;
    flex-shrink: 0 !important;
  }

  /* ★コメント欄：ここだけを縦スクロールさせる */
  .cast-box {
    flex: 1 !important;
    min-height: 0 !important;
    max-height: 42vh !important; /* コメントのスクロール枠 */
    overflow-y: auto !important; /* はみ出た分だけ縦スクロール */
    -webkit-overflow-scrolling: touch !important; /* iOSで滑らかにスクロール */
    padding: 10px 12px !important;
    margin-top: 0 !important;

    /* スクロールバー非表示（Firefox / IE） */
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  /* スクロールバー非表示（Chrome / Safari） */
  .cast-box::-webkit-scrollbar {
    display: none !important;
  }

  .cast-box-title {
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
  }

  .cast-box-text {
    font-size: 0.82rem !important;
    line-height: 1.65 !important;
  }

  /* 閉じるボタン */
  .cast-modal-close {
    width: 32px !important;
    height: 32px !important;
    top: 6px !important;
    right: 6px !important;
  }

  /* 4. SNSボタンスタイル（X & Instagram） */
  .x-social-container {
    flex-direction: column; /* スマホでは縦に並べて押しやすくする */
    width: 100%;
    padding: 0 24px;
    gap: 12px;
  }

  .x-social-link {
    width: 100%;
    max-width: 300px;
    padding: 11px 18px;
    font-size: 0.88rem;
  }

  .news-link {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .news-title {
    width: 100%;
  }
  .cast-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .cast-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

/*--------------------
TOP
---------------------*/
/*--------------------
RAILER
---------------------*/
/*--------------------
INTRODUCTION
---------------------*/
/*--------------------
STORY
---------------------*/
/*--------------------
CAST
---------------------*/
/*--------------------
STAFF
---------------------*/
/*--------------------
FOOTER
---------------------*/
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 960px) {
  /*--------------------
LOADING
---------------------*/

  /*--------------------
TRAILER(POPUP)
---------------------*/
  /*--------------------
TOP
---------------------*/
  /*--------------------
MENU
---------------------*/
  /*--------------------
TOP
---------------------*/
  /*--------------------
RAILER
---------------------*/
  /*--------------------
INTRODUCTION
---------------------*/
  /*--------------------
STORY
---------------------*/
  /*--------------------
CAST
---------------------*/
  /*--------------------
STAFF
---------------------*/
  /*--------------------
FOOTER
---------------------*/
}
@media screen and (max-width: 768px) {
  /*--------------------
LOADING
---------------------*/
  /*--------------------
TRAILER(POPUP)
---------------------*/
  /*--------------------
TOP
---------------------*/
  /*--------------------
MENU
---------------------*/
  /*--------------------
TOP
---------------------*/
  /*--------------------
RAILER
---------------------*/
  /*--------------------
INTRODUCTION
---------------------*/
  /*--------------------
STORY
---------------------*/
  /*--------------------
CAST
---------------------*/
  /*--------------------
STAFF
---------------------*/
  /*--------------------
FOOTER
---------------------*/
}
@media screen and (max-width: 500px) {
  /*--------------------
LOADING
---------------------*/
  /*--------------------
TRAILER(POPUP)
---------------------*/
  /*--------------------
TOP
---------------------*/
  /*--------------------
MENU
---------------------*/
  /*--------------------
TOP
---------------------*/
  /*--------------------
RAILER
---------------------*/
  /*--------------------
INTRODUCTION
---------------------*/
  /*--------------------
STORY
---------------------*/
  /*--------------------
CAST
---------------------*/
  /*--------------------
STAFF
---------------------*/
  /*--------------------
FOOTER
---------------------*/
}
