html {
  scroll-behavior: smooth;
}

/* ヘッダーメニュー */
/* 共通：.site-header（最初は非表示） */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* hide-header が外れたら表示 */
body:not(.hide-header) .site-header {
  opacity: 1;
  visibility: visible;
}

/* PC用スタイル（769px以上） */
@media (min-width: 769px) {
  /* SPメニューとハンバーガーは非表示 */
  .sp-nav,
  .hamburger {
    display: none !important;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
  }

  .nav-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid transparent;
  }

  .nav-list li {
    margin: 0 16px;
    font-size: 0.8rem;
    font-weight: lighter;
    letter-spacing: 0.1em;
  }

  .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
  }

  .nav-link:hover {
    color: #EFE788;
  }

  .nav-item.active .nav-link {
    color: #EFE788;
  }

  .nav-item.active {
    border-bottom: 1px solid #EFE788;
  }

  .nav-sns {
    display: flex;
    gap: 0px;
    list-style: none;
  }

  .sns-icon {
    position: relative;
    width: 35px;
    height: 35px;
    display: inline-block;
  }

  .sns-icon img {
    width: 100%;
    height: auto;
    display: block;
  }

  .base-img,
  .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .base-img {
    opacity: 1;
    z-index: 1;
  }

  .hover-img {
    opacity: 0;
    z-index: 2;
    pointer-events: none;
  }

  .sns-icon:hover .base-img {
    opacity: 0;
  }

  .sns-icon:hover .hover-img {
    opacity: 1;
  }
}



html,div,body,article{
	margin: 0;
}

html, body {
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}


html {
  font-size: 16px;  /* 1rem = 16px とする */
  line-height: 1.6;
  color: #000000;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: 'Noto Serif JP', serif;
  font-weight: lighter;
  font-size: 1rem;  /* = 16px */
}

:lang(en) {
  font-family: 'Cormorant Garamond', serif;
  font-weight: normal;
}


* {
  box-sizing: border-box;
}

/* 背景動画 */
.movie_blk {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.movie_blk video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* コンテンツコンテナ */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  width: 100%;
  z-index: 1;
  position: relative; /* z-indexを効かせるために必要 */
}

/* 見出し設定 */
h2 {
  margin: 0;
  padding: 0;
  margin-bottom: 50px;
}

/* 共通 */

h2 img {
  display: block;
  max-width: 100%;
  height: auto;
}
.h2_center {
  text-align: center;
}
.h2_center img {
  display: block;       /* ← block にすると縦に並ぶ */
  margin: 0 auto;       /* ← 親の text-align に依存せず中央寄せできる */
}

.h2_center img:first-child {
  margin-bottom: 20px; /* ← 英語タイトル下に余白 */
}
.h2_jp {
  margin-top: 20px;   /* ← 余白を調整（10〜20pxあたりが自然） */
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container_black {
  margin-top: 100vh;
  background-color: rgba(31, 31, 31, 1); 
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
}

.container_white {
  margin-top: 100vh;
  background-color: rgba(255, 255, 255, 1); 
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
}

.container_white.transparent {
  background-color: rgba(255, 255, 255, 0.8);
}

.container_black.transparent {
  background-color: rgba(31, 31, 31, 0.8);
}

.container_70 {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 100px;
  align-items: center; /* ← 追加して中央揃え */
  max-width: 1200px;
}

.text_black {
  font-size: 1rem;
  color: black;
  letter-spacing: 0.15em;
  line-height: 2;
  margin-bottom: 40px;
}

.text_black_en {
  margin-top: 0px;
  font-size: 1.1rem;
  color: black;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.text_white {
  font-size: 1rem;
  color: white;
  letter-spacing: 0.15em;
  line-height: 2;
  margin-bottom: 40px;
}

.text_white.no-margin {
  margin: 0;
}

.text_white_en {
  margin-top: 0px;
  font-size: 1.1rem;
  color: white;
  letter-spacing: 0.05em;
  line-height: 1.5;
}


/* トップ */
.bg_top
{
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(31, 31, 31, 0.8);
  background-image: url('img/bg_photo.jpg');
  background-size: cover;
  background-position: center;
  transition: opacity 2s ease;
  z-index: -1;
}
.top_container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0%;
  margin: 0%;
}

.leaf_box {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 0px;
}

.leaf_box img {
  width: 650px;
}

.top_text_en {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 170px;
}
.top_text_en img {
  width: 100%;
  max-width: 700px;
}

.top_logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
}
.top_logo img {
  width: 300px;
  height: auto;
  padding-bottom: 20px;
}




/* ストーリー */

.catchphrase {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  text-align: center;
  margin-top: 150px;
  margin-bottom: 0px;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.catchphrase.no-margin {
  margin: 0;
}

.catchphrase_en {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  text-align: center;
  margin-top: 30px;
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.1em;
}

.box_row {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 120px;
  margin-bottom: 30px;
}
.textarea_left {
  width: 15%;
  padding-right: 20px;              /* ← タイトルと縦線の間に余白 */
  border-right: 1px solid #000;     /* ← 縦線 */
  box-sizing: border-box;
}

.textarea_right {
  width: 85%;
  padding-left: 40px;               /* ← 縦線と本文の間に余白 */
  box-sizing: border-box;
}

.image_story {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 60px;
  margin-bottom: 0px;
}

/* スライド */
/* 共通 */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  margin-bottom: 50px; /* 初期はSP設定 */
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-track img {
  margin: 0;
  flex-shrink: 0;
  object-fit: cover;
  pointer-events: none;
  width: 100vw; /* SPでは1枚表示 */
}

/* PC用レイアウト */
@media (min-width: 769px) {
  .carousel-container {
    margin-bottom: 120px;
    padding: 0 10vw;
  }

  .carousel-track img {
    width: 80vw;
    margin: 0 2px;
  }
}

/* 矢印共通 */
.slider_arrow {
  position: absolute;
  top: 50%;
  width: 70px !important;
  height: 70px !important;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
}

.slider_arrow:hover {
  opacity: 1;
}

.slider_arrow.left {
  left: 0px;
}

.slider_arrow.right {
  right: 0px;
}



/* 監督メッセージ */
.box-left {
  width: 25%;
  box-sizing: border-box;
}

.box-right {
  width: 75%;
  padding-left: 40px;
  box-sizing: border-box;
}

.director_photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← はみ出さず、枠にフィットさせる */
  display: block;
}

/* 作品について */
.about {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  margin-top: 120px;
}

.image_about {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  padding-top: 100px;
}

.about_line {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 80px;
}


.box_black {
  background-color: #1F1F1F;
  padding: 50px 70px;
}
.box_white {
  background-color: #ffffff;
  padding: 50px 70px;
}


/* 上映情報 */

.h2_margin {
  display: block;
  margin-top: 120px;
  margin-bottom: 20px;
}

.theater-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #f0f0f0;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.theater-row {
  display: flex;
  border-bottom: 1px solid #444; /* ← bottom に変更 */
  padding: 16px 0;
  flex-wrap: wrap;
}

/* 最初の行にも上線を追加 */
.theater-row.first-row {
  border-top: 1px solid #444;
}

.theater-col {
  padding: 4px 12px;
}

.location {
  width: 10%;
  min-width: 80px;
  font-weight: bold;
}

.name {
  width: 30%;
}

/* 劇場リンクスタイル */
.name a {
  color: #d6c756;
  text-decoration: none;
  transition: all 0.2s ease;
}

.name a:hover {
  text-decoration: underline;
}

.tel {
  width: 20%;
}

.date {
  width: 30%;
}

/* クレジット */
.credit-section {
  margin-top: 100vh;
  position: relative;
  width: 100%;
  background-color: #1F1F1F;
  background-image: url('img/image_credit.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
  color: #fff;
  overflow: hidden;
}

/* レイヤー1：ロゴ */
.credit-logo-layer {
  width: 100%;
  display:  flex;
  justify-content: right;
  top: 200px;
  z-index: 1;
  position: absolute;
}

.logo-pc {
  width: 30%;
  height: auto;
  display: block;
}

.logo-sp {
  display: none;
}

/* レイヤー2：テキスト */
.credit-text-layer {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 150px 40px 80px 40px; /* ロゴに被らないよう上に余白 */
}

.credit-text {
  font-size: 0.95rem;
  line-height: 2;
  text-align: left;
  letter-spacing: 0.08em;
}

.credit-text .main {
  font-size: 1.2rem;
}

.credit-text .en {
  font-size: 0.8rem;
}


/* 寄稿コメント */
.section {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.image-box, .text-box {
  width: 50%;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-box {
  background-color: #1F1F1F;
  color: #fff;
  padding: 40px;
  font-size: 1rem;
  line-height: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  letter-spacing: 0.07em;
}

.text-box.no-image {
  width: 100%;
}

.text-box.white {
  background-color: #ffffff;
  color: #000000;
}

.author {
  margin-top: 1.5em;
  text-align: right;
  font-size: 1.2rem;
}


/* スタッフ、キャスト */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
  width: 100%;  
  margin: 0 auto;        
}

.staff-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: contain;  
  background-blend-mode: multiply;     
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: transform 0.3s;
}

.staff-card:hover {
  transform: scale(1.02);
}

.staff-text {
  margin: auto 0; 
}

.staff-text .jp {
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.staff-text .en-name {
  font-size: 0.7rem;
  color: #ffffff;
  letter-spacing: 0.15em;
  line-height: 1.8;
  margin-top: 0.5em;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
  width: 100%;
  margin: 0 auto;
}

.cast-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-blend-mode: multiply;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: transform 0.3s;
}

.cast-card:hover {
  transform: scale(1.05);
}

.cast-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.cast-text {
  position: absolute;
  bottom: 5px;
  z-index: 2;
}

.cast-text .jp {
  font-size: 1rem;
  margin-bottom: 0;
  letter-spacing: 0.1em;
}

.cast-text .role {
  font-size: 0.8rem;
  margin-top: 0.2em;
  white-space: pre-line;
}

.cast-text .en-name {
  font-size: 0.7rem;
  color: #ffffff;
  letter-spacing: 0.15em;
  margin-top: 0;
  margin-top: 0.5em;
}

.arrow {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 36px;
  height: 36px;
  background-image: url('img/staff_allow.png'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}