@charset "utf-8";
/* CSS Document */
/*========= 全体設定 ===============*/
body {
  font-family: "Cardo", serif;
  color: #333;
  background: #F6D4D8;
  box-sizing: border-box;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%; /*回転時の文字サイズ自動調節機能*/
}
.container {
  padding: 0 15px;
}
/*========= header ===============*/
header {}
.main_ttl {
  margin-top: 170px;
  position: relative;
}
h3 {
  font-size: 100px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  position: absolute;
  bottom: 80px;
  left: 10px;
}
h1 {
  font-size: 32px;
  margin-top: 10px;
  font-weight: bold;
}
p {
  font-size: 15px;
  margin-top: 40px;
  margin-left: 25px;
  margin-bottom: 80px;
}
/*========= ナビゲーション ===============*/
/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}
/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #D47C8C;
  /*丸のスタート位置と形状*/
  transform: scale(0); /*scaleをはじめは0に*/
  top: calc(50% - 50px); /*50%から円の半径を引いた値*/
  left: calc(50% - 50px); /*50%から円の半径を引いた値*/
  transition: all .6s; /*0.6秒かけてアニメーション*/
}
.circle-bg.circleactive {
  transform: scale(50); /*クラスが付与されたらscaleを拡大*/
}
/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none; /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#g-nav.panelactive #g-nav-list {
  display: block; /*クラスが付与されたら出現*/
}
/*ナビゲーション*/
#g-nav ul {
  opacity: 0; /*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}
/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: .2s; /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*リストのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}
#g-nav li a {
  font-size: 25px;
  color: #333;
  text-decoration: none;
  padding: 20px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999; /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*========= main ===============*/
main {
  margin-top: 142px;
}
.cast-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.profile {
  background: #FFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 5px;
}
.profile .image-placeholder {
  width: 100%;
  height: 260px; /* キャストの一般的な画像の高さ */
}
.profile-p {
  text-align: center;
}
.profile-p h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}
.profile-p p {
  line-height: 1.6;
  margin: 0;
}
/* 監督・脚本 */
.staff-director {
  margin: 200px 0;
}
.staff-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #D47C8C;
}
.staff-title {
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  left: 20px;
  top: 0.5px;
  color: #fff;
}
.staff-title span {
  font-size: 96px;
}
/* スタッフカード（単体） */
.staff-card-single {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.staff-image-wrap {
  width: 100%;
  max-width: 220px;
  margin-bottom: 15px;
}
.image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 250px;
}
h4 {
  font-size: 43px;
  font-weight: bold;
  margin-bottom: 20px;
}
.staff-works {
  font-size: 0.9rem;
  margin: 0;
}
/* プロフィールリンク */
.modal-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F6D4D8;
  color: #D47C8C;
  text-decoration: none;
  padding: 8px 15px;
  font-size: 25px;
  margin-top: 30px;
  transition: background-color 0.3s;
}
.modal-open:hover {
  background-color: #D47C8C;
  color: #F6D4D8;
}
/*infoエリアをはじめは非表示*/
#info {
  display: none;
}
/*モーダルの横幅を変更したい場合*/
.modaal-container {
  max-width: 600px;
}
/*モーダルのボタンの色を変更したい場合*/
.modaal-close:after, .modaal-close:before {
  background: #ccc;
}
h5 {
  font-size: 30px;
}
.info_p {
  line-height: 1.5;
}
.info_p span {
  display: block; /* ブロックにすると幅・行間・余白が効く */
  font-size: 10px;
  line-height: 2; /* 行間 */
  margin-bottom: 16px;
}
/* PC向けレイアウト調整 */
@media screen and (min-width: 768px) {
  main {
    padding-top: 100px;
  }
}
/*========= footer ===============**/
footer {
  text-align: center;
  padding: 20px 0; /* 上下に少し余白 */
  background: #F6D4D8;
}
/* pだけの色指定 */
footer p {
  font-size: 12px;
  margin: 0; /* 下に余白を作らない */
}
/*========= spは非表示にする===============**/
.logo-slider-wrapper, .p_ico-wrapper {
  display: none;
}
/*========= PC(モバイルファースト方式) ===============**/
@media screen and (min-width: 768px) {
  body {
    background-image: url("../img/bg_pc.jpg");
    background-size: cover; /* 画面いっぱいに画像を表示 */
    background-position: center; /* 画像を中央に配置 */
    background-attachment: fixed; /* ページをスクロールしても画像を固定 */
  }
  .container {
    width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #F6D4D8;
  }
  /*ハンバーガーメニュー*/
  .openbtn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
  }
  .openbtn span {
    background-color: #fff;
  }
  /*右*/
  .p_ico-wrapper {
    display: flex;
    flex-direction: column;
    position: fixed; /* 画面に固定する */
    top: 50%; /* 画面の垂直方向中央に配置 */
    right: 10px;
    transform: translateY(-50%); /* 垂直方向中央に正確に配置 */
  }
  .p_ico-wrapper p {
    writing-mode: vertical-rl;
    font-size: 15px;
    color: #fff;
    margin: 0 0 30px 0;
  }
  /* アイコンスタイル */
  .p_ico-wrapper a {
    font-size: 25px;
    transition: all 0.3s;
    text-decoration: none;
    margin-bottom: 30px; /* アイコン間の余白 */
  }
  /*左まとめ*/
  .logo-slider-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 10px;
    height: 100vh; /* 画面の高さぜんぶ */
  }
  /*左ロゴ*/
  .lift_ico {
    position: fixed;
    top: 51px;
    left: 68px;
  }
  /* ロゴ画像の光 */
  .lift_ico img {
    width: 360px; /* ←ここで固定サイズを指定 */
    height: auto; /* 縦横比を保つ */
    max-width: none; /* 画面幅に応じて縮小しない */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 13px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 30px rgba(212, 124, 140, 0.6));
  }
  /*右スライド*/
  .vertical-marquee {
    height: 100%; /* 親の高さに合わせる */
    overflow: hidden;
  }
  .marquee-content {
    display: flex;
    flex-direction: column;
    animation: scrollDown 15s linear infinite; /* 下へ流れる */
    will-change: transform;
  }
  /* 縦書き設定 */
  .marquee-item {
    writing-mode: vertical-rl; /* 縦書き */
    text-orientation: sideways;
    font-size: 18px;
    color: #fff;
    margin: 20px 0;
  }
  .cast-wrapper video {
    display: none;
  }
}
/* アニメーション */
@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%); /* 2セット分の半分を上に移動 */
  }
}