@charset "UTF-8";
/* ==========================================================================
   1. 基本設定 / リセット
   ========================================================================== */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}

html {
  scrollbar-gutter: stable;
}

@media only screen and (max-width: 960px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}

body {
  font-family: "dnp-shuei-mincho-pr6n", serif;
  font-weight: 500;
  line-height: 1.5;
  background: #f4f8fa;
  background-attachment: fixed;
  color: #2c2c2c;
  overflow-y: scroll;
  padding-top: 80px;
  overflow-y: scroll;
}

body.noscroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.mainSite {
  width: 100%;
  padding: 0;
  margin: 0;
}

.wrapper {
  position: relative;
  text-align: center;
}

.inner {
  width: 70%;
  margin: 0 auto;
  padding: 5% 0;
}

.intro .inner {
  padding: 5% 0 0;
}

.story .inner {
  padding: 5% 0 0;
}

/* ==========================================================================
   2. ヘッダー / ドロワーメニュー / 固定ナビ
   ========================================================================== */
.site_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(102, 180, 240, 0.95);
  border-bottom: 1px solid #6c7a86;
  backdrop-filter: blur(5px);
  z-index: 900;
}

.header_inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.header_logo img {
  height: 60px;
  width: auto;
}

/* ナビ・SNS要素非表示指定 */
.pc_nav,
.header_sns {
  display: none !important;
}

.header_sns,
.sp_menu_sns,
.nav_list,
.sp_nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ハンバーガーボタン (PC/SP共通表示) */
.hamburger {
  display: block !important;
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 910;
}

.hamburger_line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.4s;
}

.hamburger_line:nth-child(1) {
  top: 0;
}
.hamburger_line:nth-child(2) {
  top: 11px;
}
.hamburger_line:nth-child(3) {
  top: 22px;
}

.hamburger.is-active .hamburger_line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  background-color: #ffffff;
}
.hamburger.is-active .hamburger_line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger_line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  background-color: #ffffff;
}

/* ドロワーメニュー */
.sp_nav {
  display: flex !important;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(10, 5, 5, 0.95);
  z-index: 890;
  transition: all 0.5s ease;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.sp_nav.is-active {
  left: 0;
}

.sp_nav_list {
  text-align: center;
  margin-bottom: 50px;
}

.sp_nav_list li {
  margin-bottom: 30px;
}

.sp_nav_list a {
  color: #d9d4c7;
  font-size: 1.5rem !important;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.sp_nav_list a:hover {
  color: #ffffff;
}

.sp_menu_sns {
  display: flex !important;
  gap: 30px;
}

.sp_menu_sns .sns_item img {
  width: 35px !important;
  height: auto;
  transition: transform 0.3s ease;
}

.sp_menu_sns .sns_item img:hover {
  transform: scale(1.1);
}

/* フローティング特別先行映像ボタン */
.floating_trailer_btn {
  position: fixed;
  bottom: 130px;
  right: 30px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.floating_trailer_btn.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating_trailer_btn a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #3a6080;
  transition: all 0.3s ease;
}

.floating_trailer_btn a:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}

.ripple_circle {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(58, 96, 128, 0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.play_icon {
  font-size: 20px;
  color: #3a6080;
  margin-left: 4px;
}

.ripple_circle::before,
.ripple_circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 1px solid #3a6080;
  border-radius: 50%;
  z-index: -1;
  animation: rippleWave 2.5s infinite ease-out;
}

.ripple_circle::after {
  animation-delay: 1.25s;
}

@keyframes rippleWave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

.btn_text {
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}

/* トップに戻るボタン */
.page-top {
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  color: #d9d4c7;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9rem;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.page-top:hover {
  background: #8cc6e2;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 0 15px #8cc6e2;
}

.page-top .arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #d9d4c7;
  border-right: 2px solid #d9d4c7;
  transform: rotate(-45deg);
  margin-top: 5px;
  margin-bottom: 3px;
  transition: all 0.3s ease;
}

.page-top:hover .arrow {
  border-color: #fff;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   3. アニメーション / ローディング
   ========================================================================== */
.loading_wrap {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background-color: #5f97b3;
}

.logo {
  width: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  text-align: center;
  z-index: 1000;
  opacity: 0;
  transition:
    opacity 1s ease,
    filter 1s ease;
}

.logo.fadeOut {
  opacity: 0;
  filter: blur(10px);
}

.js-animation {
  opacity: 0;
  visibility: hidden;
  transition: all 2s;
}

.js-animation.is-show {
  opacity: 1;
  visibility: visible;
  transition: all 2s;
}

.fadeIn {
  animation: fadeInAnime 4s ease forwards;
}

@keyframes fadeInAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fadeOut {
  animation: fadeOutAnime 2s ease forwards;
}

@keyframes fadeOutAnime {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.scaleIn {
  animation: scaleInAnime 2s ease forwards;
}

@keyframes scaleInAnime {
  0% {
    transform: scale(1.2);
    filter: blur(10px);
  }
  100% {
    transform: scale(1);
    filter: blur(0);
  }
}

.blurS {
  animation: blurS 3s ease forwards;
}

@keyframes blurS {
  0% {
    filter: blur(10px);
    opacity: 0;
  }
  100% {
    filter: blur(0);
    opacity: 1;
  }
}

/* フェード制御補正 */
.title,
.sns_list,
.date,
.copyright {
  opacity: 0;
  transform: none !important;
  transition: opacity 1.5s ease;
  visibility: visible;
}

.title.fadeIn,
.sns_list.fadeIn,
.date.fadeIn,
.copyright.fadeIn {
  opacity: 1;
}

.top_main {
  opacity: 0;
  transition: opacity 0s ease;
}

.top_main.scaleIn {
  opacity: 1;
}

/* ==========================================================================
   4. 共通パーツ (見出し・ボタン・キャッチコピー)
   ========================================================================== */
.section_title {
  position: relative;
  text-align: center;
  font-size: 3rem;
  font-weight: 600;
  color: #1e6c8d;
  font-family: "dnp-shuei-mincho-pr6n", serif;
  margin: 0 auto 3%;
  padding: 15px 0;
  letter-spacing: 0.05em;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 10px,
    #d3edfb 10px,
    #d3edfb 12px
  );
  background-size: 80% 61px;
  background-position: center;
  background-repeat: no-repeat;
}

.section_title::before {
  content: "||:";
  font-family: "Noto Music", serif;
  font-weight: bold;
  color: #1e6c8d;
  display: inline-block;
  font-size: 2rem;
  margin-right: 12px;
  letter-spacing: -0.1em;
  transform: translateY(-10px);
}

.catch_text_block {
  text-align: center;
  margin: 0 0 20px;
}

.sub_catch_title {
  font-size: 2rem;
  color: #8cc6e2;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
}

.catchcopy {
  color: #2c2c2c;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.sub_catch {
  color: #2c2c2c;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.text_block {
  margin: 20px auto;
  text-align: justify;
}

.text_block p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5em;
  color: #485157;
}

/* ボタン */
.more_btn_wrap,
.profile_btn_wrap {
  text-align: center;
  margin-top: 30px;
}

.btn_more,
.btn_profile {
  display: inline-block;
  padding: 10px 35px;
  background-color: #1e6c8d;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn_more:hover,
.btn_profile:hover {
  background-color: #8cc6e2;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. TOP セクション & SNSエリア
   ========================================================================== */
section.top {
  width: 100%;
  position: relative;
}

.top .inner {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
}

.sub-image-bottom-right {
  position: absolute;
  right: 50px;
  bottom: 50px;
  width: 200px;
  height: auto;
  z-index: 10;
}

.top_sns {
  width: 100%;
  padding: 100px 0 20px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top_sns_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top_sns_list .sns_item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px;
  height: 65px;
  background-color: #8cc6e2;
  transform: rotate(45deg);
  border-radius: 65px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.top_sns_list .sns_item a:hover {
  background-color: #5a96af;
  transform: rotate(45deg) scale(1.1);
}

.top_sns_list .sns_item a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transform: rotate(-45deg);
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   6. 各個別セクション
   ========================================================================== */

/* --- News --- */
.news .inner {
  width: 70%;
  padding: 0 0 5% 0;
}

.news_wrap {
  padding: 40px 20px;
  background: transparent;
}

.news_wrap h2 {
  margin: 0 auto 5%;
}

.news_wrap img {
  width: 60%;
}

ul.ulblogtitle li {
  width: 100%;
  margin-bottom: 0;
  padding: 20px 10px;
  background-color: transparent;
  border-bottom: 1px solid #d4dde1;
  position: relative;
  transition: all 0.3s ease;
}

ul.ulblogtitle li:hover {
  background-color: transparent;
  transform: none;
}

ul.ulblogtitle li:hover .news_title {
  color: #5f97b3;
}

.news_date {
  font-family: "Futura", "Century Gothic", "Noto Sans JP", sans-serif;
  color: #8da3b0;
  letter-spacing: 1px;
  margin-right: 3%;
}

.news_title {
  font-size: 1.1rem;
  margin-top: 8px;
  color: #2c2c2c;
  transition: color 0.3s ease;
  margin-right: 3%;
}

/* --- Movie / Trailer --- */
section.movie {
  position: relative;
  overflow: hidden;
}

.movie .inner {
  position: relative;
  z-index: 2;
  padding: 0;
}

.movie h2 {
  margin: 0 auto 3%;
}

.movie_wrap {
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  font-size: 1.5rem;
}

ul.trailer_list {
  width: 100%;
  margin: 1% auto 10%;
  flex-wrap: wrap;
  display: flex;
  /* justify-content: flex-start;
  align-items: center; */
  justify-content: center; /* 中央寄せ（または flex-start） */
  gap: 30px 0%; /* 上下左右の間隔指定 */
}

li.trailer_item {
  width: 45%;
  margin: 1% auto;
}

li.trailer_item:nth-child(1) {
  width: 80%;
}

.trailer_pop_btn {
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  background: #000;
}

.trailer_pop_btn a {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  z-index: 5;
  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%;
  aspect-ratio: 16 / 9;
  line-height: 1;
}

/* 動画用ポップアップモーダル */
.trailer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
}

.trailer.on {
  animation: TfadeInAnime 0.5s ease forwards;
}

@keyframes TfadeInAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.trailer.off {
  animation: TfadeOutAnime 0.5s ease 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;
  cursor: pointer;
}

.close_btn {
  position: fixed;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  z-index: 999999999;
  cursor: pointer;
  transition: 0.7s;
}

.close_btn:hover {
  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 .trailer_inner {
  position: absolute;
  top: calc(50% - 40px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  aspect-ratio: 16 / 9;
  z-index: 999999998;
}

#youtube1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* --- 中間全幅バナー --- */
.middle_banner,
.middle_banner2 {
  width: 100%;
  margin: 60px 0 0;
  overflow: hidden;
}

.banner_img_wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.banner_scene1 img {
  height: 1000px;
  object-position: center center;
}

/* 2つ目のバナー背景固定（パララックス） */
.banner_scene2 {
  width: 100%;
  height: 900px;
  background-image: url("../img/banner_middle2.jpg");
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* --- Story --- */
.story {
  position: relative;
  z-index: 2;
  background-color: #f4f8fa;
}

/* ==========================================================================
   無限横スクロール スライドショー設定
   ========================================================================== */

/* 全体を入れる外枠（はみ出た部分を隠す） */
.slideshow_wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

/* スライドを横並びで動かす領域 */
.slideshow_inner {
  display: flex;
  width: max-content;
}

/* 2つの画像リストをループアニメーションで左へ動かす */
.slideshow_list {
  display: flex;
  gap: 5px; /* 画像同士の間隔 */
  padding-right: 5px; /* 1セット目と2セット目の間の隙間 */
  animation: loopScroll 25s linear infinite; /* 25秒かけて左へ1周 */
}

/* ホバー時に一時停止（不要な場合は削除可） */
.slideshow_wrap:hover .slideshow_list {
  animation-play-state: paused;
}

/* 画像の表示サイズ指定 */
.slideshow_list img {
  width: 320px; /* 横幅 */
  height: 200px; /* 高さ */
  object-fit: cover;
  object-position: center center;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ループアニメーションの動作定義 */
@keyframes loopScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* --- スマホ表示時の調整 --- */
@media screen and (max-width: 960px) {
  .slideshow_list img {
    width: 220px; /* スマホでの横幅 */
    height: 140px; /* スマホでの高さ */
  }

  .slideshow_list {
    gap: 10px;
    padding-right: 10px;
    animation-duration: 18s; /* スマホでの流れる速度 */
  }
}

/* --- Cast --- */
.cast_grid {
  display: grid;
  grid-template-columns: repeat(2, 350px);
  justify-content: center;
  gap: 70px 100px;
  margin-top: 60px;
}

.cast_card {
  width: 350px;
  margin: 0 auto;
  text-align: center;
}

.cast_thumb {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.cast_thumb img {
  width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.cast_card:hover .cast_thumb img {
  transform: scale(1.05);
}

.plus_icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60px;
  height: 60px;
  background-color: #1e6c8d;
  color: #ffffff;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  padding: 0;
}

.cast_info {
  margin-top: 12px;
}

.cast_info .role {
  font-size: 1rem;
  color: #1e6c8d;
  margin-bottom: 2px;
}

.cast_info .name {
  font-size: 1.6rem;
  color: #1e6c8d;
  font-weight: 600;
}

/* --- Music & Theme Song (共通背景・パララックス) --- */
section.music,
section.theme_song {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background-image: url("../img/music_bg.jpg");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}

/* 視認性確保用オーバレイ */
section.music::before,
section.theme_song::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

section.music .inner,
section.theme_song .inner {
  position: relative;
  z-index: 2;
}

section.music .section_title,
section.theme_song .section_title {
  color: #ffffff;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 10px,
    #8caec1 10px,
    #8caec1 12px
  );
}

section.music .section_title::before,
section.theme_song .section_title::before {
  color: #ffffff;
}

.music_block,
.theme_song_block {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  width: 100%;
}

.music_credit,
.song_credit {
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.song_credit span {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  font-weight: normal;
  margin-top: 5px;
}

.music_content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.music_img {
  width: 50%;
  max-width: 400px;
  flex-shrink: 0;
}

.music_img img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding-top: 10px;
}

.music_text,
.theme_song_text {
  flex-grow: 1;
  text-align: justify;
  line-height: 1.8;
  letter-spacing: 0.07rem;
  max-width: 555px;
}

.comment_label {
  font-size: 1.2rem;
  color: #d3edfb;
  margin-bottom: 10px;
  display: inline-block;
  padding-bottom: 3px;
  max-width: 555px;
}

/* ==========================================================================
   7. Staff セクション / クレジット (通常スクロール指定)
   ========================================================================== */
section.staff {
  position: relative;
  width: 100%;
  background-image: url("../img/staff_bg.jpg"); /* ★背景画像のパス */
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
}

section.staff .inner {
  position: relative;
  z-index: 2;
}

section.staff .section_title {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 10px,
    #8caec1 10px,
    #8caec1 12px
  );
}

.staff_comments {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.staff_item p {
  font-size: 1rem; /* ★本文の文字サイズ */
  line-height: 1.5; /* ★行間（数値が大きいほどゆったり） */
  color: #ffffff; /* ★本文の文字色 */
  letter-spacing: 0.05em; /* 文字と文字の間隔 */
}

.staff_item {
  text-align: justify;
}

.staff_name {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #1e6c8d;
}

.staff_name span {
  font-size: 1rem;
  margin-left: 10px;
  font-weight: normal;
  color: #d3edfb;
}

/* 下部クレジット一覧表記 */
.full_credit_block {
  margin-top: 180px;
  margin-bottom: 300px;
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 2;
  color: #485157;
}

.cast_credit_list,
.staff_credit_list,
.production_credit_list {
  margin-bottom: 25px;
}

.copyright_text {
  font-size: 0.85rem;
  color: #c0c8ce;
  margin-top: 40px;
}

/* --- Theater --- */
.theater {
  padding: 5% 15% 10%;
}

.theater_inner {
  margin: 0 auto;
}

table {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9em;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
  border-spacing: 0;
}

tr {
  background-color: #fff;
}

th {
  padding: 10px 10px;
  padding-right: 4px;
  box-sizing: border-box;
  background: #000;
  color: #fff;
}

table .tb1 {
  width: 20%;
}
table .tb2 {
  width: 30%;
}
table .tb3 {
  width: 20%;
}
table .tb4 {
  width: 15%;
}
table .tb5 {
  width: 14%;
}

td {
  padding: 8px 10px;
  padding-right: 4px;
  box-sizing: border-box;
  color: #333;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
}

.theater_name a {
  color: #342426;
  border-bottom: 1px solid #342426;
}

.theater_name a:hover {
  color: gray;
}

.theater_btn_wrap {
  text-align: center;
  margin-top: 40px;
}

.theater_btn {
  display: inline-block;
  padding: 15px 60px;
  background-color: #e06020;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 252, 240, 0.2);
  transition: all 0.3s ease;
}

.theater_btn:hover {
  background-color: #e5c460;
  color: #2c4635;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   8. フッター
   ========================================================================== */
footer {
  position: relative;
  width: 100%;
  font-size: 14px;
  border-top: none;
  background-image: none !important; /* Staffからの背景画像継承を強制解除 */
  background-color: #1e6c8d !important; /* ★フッターの背景色（好みのカラーコードに変更可能） */
}

footer .inner {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.billing {
  width: 87%;
  margin: 0 auto;
  text-align: center;
  color: #ffffff; /* 白文字にして視認性を確保 */
}

/* ==========================================================================
   9. レスポンシブ (スマホ表示調整)
   ========================================================================== */
@media screen and (max-width: 960px) {
  body {
    padding-top: 60px;
  }

  .inner {
    width: 80%;
    padding: 10% 0;
  }

  .site_header {
    height: 60px;
  }

  .header_inner {
    padding: 0 20px 0 0;
  }

  .header_logo img {
    height: 50px;
    width: auto;
    margin: 15%;
  }

  .hamburger_line {
    background-color: #fff;
  }

  .hamburger.is-active .hamburger_line:nth-child(1),
  .hamburger.is-active .hamburger_line:nth-child(3) {
    background-color: #fff;
  }

  .sub-image-bottom-right {
    right: 10px;
    bottom: 20px;
    width: 120px;
  }

  .section_title {
    font-size: 2rem;
  }

  .sub_catch_title {
    font-size: 1.1rem;
  }

  .catchcopy {
    font-size: 1.3rem;
  }

  .text_block p {
    font-size: 1rem;
  }

  .top_sns {
    padding: 30px 0 15px;
  }

  .top_sns_list {
    gap: 20px;
  }

  .top_sns_list .sns_item a {
    width: 45px;
    height: 45px;
  }

  .top_sns_list .sns_item a img {
    width: 20px;
    height: 20px;
  }

  .section_title::before {
    transform: translateY(-3px);
  }

  .news .inner {
    width: 80%;
    padding: 5% 0;
  }

  ul.ulblogtitle li a {
    flex-direction: column;
    font-size: clamp(14px, 4vw, 16px);
  }

  .news_date,
  .news_title {
    width: 100%;
    margin-right: 0;
  }

  .movie .inner {
    padding: 10% 0;
  }

  li.trailer_item:nth-child(1) {
    width: 80%;
  }

  li.trailer_item {
    width: 80%;
  }

  .banner_scene1 img {
    height: 450px;
  }

  .banner_scene2 {
    background-image: url("../img/banner_middle2_sp.jpg");
    height: 450px;
    background-attachment: scroll;
    background-position: center left;
  }

  .cast_grid {
    grid-template-columns: repeat(1, min(350px, 100%));
    gap: 30px;
  }

  .cast_card {
    width: 100%;
    max-width: 350px;
  }

  section.music,
  section.theme_song,
  section.staff {
    padding: 20px 0;
    background-attachment: scroll;
    background-position: center left;
  }

  .music_content {
    flex-direction: column;
  }

  .music_img {
    width: 100%;
    margin-bottom: 20px;
  }

  .full_credit_block {
    font-size: 0.8rem;
    line-height: 1.8;
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .theater {
    padding: 10% 10% 20%;
  }

  table {
    table-layout: fixed;
  }

  tbody {
    font-size: 13px;
  }

  th {
    padding: 10px 6px;
  }

  .theater_btn {
    display: block;
    width: 85%;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .floating_trailer_btn {
    bottom: 100px;
    right: 20px;
  }

  .ripple_circle {
    width: 50px;
    height: 50px;
  }

  .play_icon {
    font-size: 16px;
    margin-left: 3px;
  }

  @keyframes rippleWave {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
    }
    100% {
      transform: translate(-50%, -50%) scale(1.8);
      opacity: 0;
    }
  }

  .btn_text {
    font-size: 0.75rem;
  }

  .page-top {
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
  }

  footer {
    font-size: 12px;
    padding: 20px 0;
  }

  footer .inner {
    padding: 0;
  }

  .billing {
    width: 100%;
    max-width: 450px;
  }
}

/* ==========================================================================
   10. Cast モーダル（ポップアップ）用追加スタイル
   ========================================================================== */

/* モーダル全体の設定（初期状態は非表示） */
.cast_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

/* モーダル表示状態 */
.cast_modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* 暗め背景（オーバーレイ） */
.cast_modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 1;
}

/* モーダルの枠枠（白背景・画像風デザイン） */
.cast_modal_container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  background-color: #f8fafb;
  border: 1px solid #1e6c8d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 60px 50px;
  box-sizing: border-box;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.cast_modal.is-open .cast_modal_container {
  transform: translateY(0);
}

/* 閉じるボタン（右上「×」アイコン） */
.cast_modal_close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.cast_modal_close:hover {
  opacity: 0.6;
}

.cast_modal_close::before,
.cast_modal_close::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1e6c8d;
}

.cast_modal_close::before {
  transform: rotate(45deg);
}

.cast_modal_close::after {
  transform: rotate(-45deg);
}

/* モーダルコンテンツ切替制御 */
.cast_modal_item {
  display: none;
}

.cast_modal_item.is-active {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 左側：写真エリア */
.cast_modal_img {
  width: 32%;
  max-width: 280px;
  flex-shrink: 0;
}

.cast_modal_img img {
  width: 100%;
  height: auto; /* ★元の縦横比を維持 */
  max-height: 60vh; /* 縦長画像でも画面からはみ出さない上限 */
  object-fit: contain; /* ★切り取らずに全体を表示 */
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 右側：テキストエリア */
.cast_modal_text {
  flex-grow: 1;
  text-align: left;
}

/* タイトル（役名・キャスト名） */
.cast_modal_title {
  text-align: left;
  margin-bottom: 30px;
  font-family: "dnp-shuei-mincho-pr6n", serif;
}

.cast_modal_title .role {
  font-size: 1.25rem;
  color: #1e6c8d;
  font-weight: 500;
  margin-right: 12px;
}

.cast_modal_title .name {
  font-size: 1.8rem;
  color: #1e6c8d;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* 見出し（Comment / profile） */
.cast_modal_sec {
  margin-bottom: 25px;
}

.cast_modal_sec h4 {
  font-size: 1.15rem;
  color: #1e6c8d;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "dnp-shuei-mincho-pr6n", serif;
}

/* 本文テキスト */
.cast_modal_sec p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #485157;
  text-align: justify;
  letter-spacing: 0.03em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   スマホ表示（レスポンシブ対応）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .cast_modal_container {
    padding: 40px 20px 30px;
    width: 92%;
    max-height: 90vh;
  }

  .cast_modal_item.is-active {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .cast_modal_img {
    width: 60%;
    max-width: 200px;
  }

  .cast_modal_title {
    margin-bottom: 20px;
  }

  .cast_modal_title .role {
    display: block;
    font-size: 1.1rem;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .cast_modal_title .name {
    font-size: 1.5rem;
  }

  .cast_modal_sec p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}
