body {
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-weight: 300;
  font-style: normal;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  text-decoration: none;
  background-color: #0D0F12;

}

@keyframes ghost-flicker-subtle {
  0% { opacity: 1; transform: translateY(0px); }
  10% { opacity: 0.7; transform: translateY(1px); }
  20% { opacity: 1; transform: translateY(-1px); }
  30% { opacity: 0.5; transform: translateY(1px); }
  40% { opacity: 1; transform: translateY(0px); }
  50% { opacity: 0.6; transform: translateY(-1px); }
  60% { opacity: 1; transform: translateY(1px); }
  70% { opacity: 0.4; transform: translateY(0px); }
  80% { opacity: 1; transform: translateY(-1px); }
  90% { opacity: 0.8; transform: translateY(1px); }
  100% { opacity: 1; transform: translateY(0px); }
}

.loading-wave-text {
  animation: ghost-flicker-subtle 5s infinite ease-in-out;
}

#loading-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #3f0a00;
  color: #ddc79b;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* 文字とクロスの間に余裕を作る */
  font-size: 2rem; /* 文字をちょっと大きく */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

#loading-message.show {
  opacity: 1;
}

.loading-cross {
  width: 2rem; /* クロスも大きめ */
  height: auto;
}


  
  
  h1{
      margin: 0;
      padding: 0;
  }
  
  ul{
      margin: 0;
      padding: 0;
  }
  
  p{
      margin: 0;
      padding: 0;
  }


li{
    list-style: none;
    text-decoration: none;
    margin: 0;
    padding: 0;
}



a {
    display: block;
    color: #0D0F12;
    text-decoration: none;
}



.loading-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  font-weight: bold;
  color: white;
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  z-index: 9998;
  transition: opacity 0.5s ease-in-out;
}





/*============================================= Load =============================================*/



.custom-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #b11e00;  
  color: #ddc79b;  
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; 
  cursor: pointer;
  overflow: hidden;
  transition: opacity 1s ease-out, visibility 1s ease-out;
}

.fade-out {
  opacity: 0;
  visibility: hidden; /* フェードアウト後に完全非表示 */

}

#main-content {
  opacity: 0;
  filter: blur(10px); /* 10pxのブラー効果 */
  transition:  1s ease-out;
}

#loading-text span {
  font-size: 4rem;
}


/* メインコンテンツが表示される状態 */
#main-content.show {
  visibility: visible;
  opacity: 1;
  filter: blur(0);  
 
}

#loading-text {
  display: flex; /* デフォルトは横並び */
  gap: 2rem;
  letter-spacing: 0.2rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loading-text span.hiragana {
  font-size: 4rem;
  top: 5rem;
}

#loading-text span.kanji {
  font-size: 8rem;
}

#loading-text .kanji {
  font-size: 8rem;
  transform: translate(20px, -10px); /* PCでは強調 */
  position: relative;
}

/* 文字の初期位置をバラバラに設定（ランダム配置） */
#loading-text span:nth-child(1) { transform: translate(-300px, -100px) scale(0.5); animation-delay: 0.2s; }
#loading-text span:nth-child(2) { transform: translate(200px, 150px) scale(0.5); animation-delay: 0.4s; }
#loading-text span:nth-child(3) { transform: translate(-250px, 200px) scale(0.5); animation-delay: 0.6s; }
#loading-text span:nth-child(4) { transform: translate(180px, -130px) scale(0.5); animation-delay: 0.8s; }
#loading-text span:nth-child(5) { transform: translate(-220px, -170px) scale(0.5); animation-delay: 1.2s; }
#loading-text span:nth-child(6) { transform: translate(-220px, -170px) scale(0.5); animation-delay: 1.2s; }
#loading-text span:nth-child(7) { transform: translate(250px, 120px) scale(0.5); animation-delay: 1.6s; }
#loading-text span:nth-child(8) { transform: translate(-170px, 180px) scale(0.5); animation-delay: 1.4s; }
#loading-text span:nth-child(9) { transform: translate(200px, -100px) scale(0.5); animation-delay: 1.6s; }
#loading-text span:nth-child(10) { transform: translate(-210px, -140px) scale(0.5); animation-delay: 1.8s; }
#loading-text span:nth-child(11) { transform: translate(230px, 160px) scale(0.5); animation-delay: 1.9s; }

/* フェードイン＆ブラー解除＆ランダム位置から整列するアニメーション */
@keyframes fadeInMove {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform:translate(50, 80) scale(30);
  }
  50% {
    opacity: 0.8;
    filter: blur(30px);
    transform:translate(40, 40) scale(60);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0) scale(1);
  }
}

#loading-text span {
  animation: fadeInMove 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

#loading-text span {
  position: relative;
  opacity: 0;
  filter: blur(100px);
  animation: fadeInMove 2s ease-in-out forwards;
}




















/*============================================= top =============================================*/
.top-warpper{
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
    height: 100vh;/*高さを全画面にあわせる*/
} 

.video-area{
    position: absolute;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
    
}

.video-area video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}




.title {
    position:absolute;
    top:50%;
    left: 75%;
    transform: translate(-50%, -50%);
}

.title img{
    height: 35vw;

}

.top-contents {
    position:absolute;
    top:65%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 25%;
    height: auto;
}


/* モーダルのスタイル */
.modal {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 15, 18, 0.708);
  z-index: 100000;
}

.modal-content {
  background-color: rgba(13, 15, 18, 0.708);
  text-align: center;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative; /* 動画を中央に配置 */
}

/* iframeのサイズを16:9の比率で保ちながら50%に合わせる */
.modal-content iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央配置 */
  width: 50vw; /* 画面幅の50% */
  height: 28.125vw; /* 50%の幅に対して16:9比率を保つ高さ */
  max-width: 100%; /* 画面幅に収まるように最大幅設定 */
  max-height: 100%; /* 画面高さに収まるように最大高さ設定 */
  border: none;
}

/* closeボタン */
.close {
  color: #b11e00;
  font-size: 100px;
  font-weight: bold;
  position: absolute;
  top: 10%;
  right: 15%;
}

.close:hover,
.close:focus {
  color: #ddc79b;
  text-decoration: none;
  cursor: pointer;
}





/*============================================= 共通 =============================================*/

.section-title {
   padding-top: 10px;
    color: #ddc79b;
}

.section-title p { 
    text-align: left;
    font-size: 2.5em;
    border-bottom: 1px solid #ddc79b;
    margin-left: 50px;
    padding-left: 20px;
    margin-bottom: 50px;
    width: 50%;
    
}


main {
    
    
}

.warpper {
  
}
.container-2{
    max-width: 1100px; 
    margin: auto;
    
}


/*============================================= NEWS =============================================*/

.news-warpper {
    position: relative;
    padding-bottom: 50px;
    text-align: center;
    background-image: url(/contents/top-main.jpg);
    background-position: 50% 30%;
}

.news-warpper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* ここで暗さを調整 */
    z-index: 0; /* 背景画像より後ろに配置 */
}

.news-warpper > * {
    position: relative;
    z-index: 1; /* 中身は暗くならないようにする */
}

.ptext {
    color: #ddc79b;
    text-align: left;
    margin: auto;
    width: 80%;
    border: #ddc79b solid 1px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 3px;
    position: relative; /* .decorationをこの要素の下に配置するためにrelativeに */
    z-index: 1; /* .decorationがこの要素の下に重なるようにする */
    margin-bottom: 30px; /* .decorationと間隔を取る */
}

.news-card{
    padding-bottom: 100px;
}

.news-card ul {
    display: flex;
    justify-content: center; /* 中央に配置 */
    padding: 0; /* デフォルトのパディングを無効にする */
}
.news-card li {
    border: #b11e00 solid 1px;
    color: #ddc79b;
    margin: 10px;
    padding: 10px;
    text-align: left; /* テキストを中央に */
    background-color: rgba(0, 0, 0, 0.5);
}


@media screen and (max-width: 768px) {
  .news-card ul {
    justify-content: center;
  }

  .news-card li {
    flex: 0 0 45%; /* ✅ スマホだと2列にする */
    height: 80px;  /* ✅ 高さも少し小さくする */
  }
}

/* New styles for .news-list matching .news-card layout */
.news-list {
  display: flex;
  flex-wrap: wrap; /* 折り返す */
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.news-list li {
  flex: 0 0 180px; /* 固定幅 */
  height: 100px; /* 高さ統一 */
  border: #b11e00 solid 1px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ddc79b;
  padding: 10px;
  list-style: none;
  text-align: center;
  display: flex;
  align-items: center; /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.news-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.7);
  
}

.news-list li {
  flex-direction: column;
  padding: 15px;
  align-items: center; /* 中央揃えはそのまま */
  justify-content: flex-start; /* ← 上から並べる！ここが大事！ */
}

.news-list .news-date {
  font-size: 18px;
  color: #b70000;
  margin-bottom: 8px; /* 日付とタイトルの間に余白 */
  border-bottom: #b11e00 solid 1px;
  padding: 1px 10px;
  width: 80%;
  text-align: center; /* テキストは中央に */
}

.news-date {
  border-bottom: #b11e00 solid 1px;
  padding: 1px 10px;
  width: 80%;

}

.news-list .news-title {
  font-size: 16px; /* タイトルをちょっと大きめに */
  color: #ddc79b; /* タイトルは今まで通りゴールド系 */
}

@media screen and (max-width: 768px) {
  .news-list li {
      flex: 0 0 45%; /* スマホ時は2列 */
      height: 80px;
  }
}
/*============================================= About =============================================*/

.about-warpper {
    position: relative; /* 親要素にrelativeを追加 */
    margin-bottom: 100px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 100px;
    background-color: #b11e00;
    background-image: url(/バンド/contents/SVG/emblem1.svg);
    background-position: center center; /* 画像を縦横ともに中央に配置 */
    background-size: 350px; /* 画像が要素内に収まるようにサイズ調整 */
    background-repeat: no-repeat; /* 画像が繰り返されないようにする */
}



.decoration {
    position: absolute; /* 絶対配置 */
    bottom: 0; /* .about-warpperの下に重ならないように */
    left: 0; /* 親要素の左端に配置 */
    z-index: 0; /* .ptextの下に重なるようにする */
}
.decoration img {
    width: 70%; /* 画像の幅を指定 */
    height: auto; /* 高さは自動調整してアスペクト比を保つ */
}
.decoration2 {
    position: absolute; /* 絶対配置 */
    top: 0; /* 親要素の上端に配置 */
    right: 0; /* 親要素の右端に配置 */
}

.decoration2 img {
    width: 70%;  /* 幅を指定 */
    height: auto; /* 高さは自動調整 */
    transform: scaleX(-1) scaleY(-1); /* 水平・垂直反転 */
    margin-top: 20px;
}

.subheading {
    font-size: 1.5em;
    border-bottom: #b11e00 solid 1px;
    margin-bottom: 30px;
    padding-left: 50px;
}
.maintext {
    margin: auto;
    width: 90%;
}


/*============================================= gallery =============================================*/

#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0D0F12;
    z-index: 5000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.gallery-warpper {
  margin-bottom: 30px;
  position: relative;
}


.unit-title {
    color: #ddc79b;
    font-size: 1.5em;
    padding-top: 50px;
    text-align: left;
    margin: auto;
    width: 60%;
    margin-bottom: 30px;
   
}




.monstars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
  opacity: 0.3;
}

.monstar {
  position: absolute;
  width: 40vw;
  height: auto;
  opacity: var(--opacity-min); /* 初期値 */
  transition: opacity 1s ease-in-out, transform 2s ease-in-out; /* opacityの変化を速く */
  animation: float var(--anim-duration) ease-in-out infinite alternate;
  transform: translateY(0px) rotate(var(--rotate)) scale(var(--scale)) rotateY(var(--flip));
}


/* ★ 各モンスターの位置 & カスタムプロパティ（変数を整理） */
.monstar:nth-child(1) { --scale: 1.1; --flip: 0deg; --rotate: 0deg; --rotate-range: 10deg; --float-range: 80px; --anim-duration: 3.5s; --opacity-min: 0.2; --opacity-max: 0.9; top: 0%; left: 60%; }
.monstar:nth-child(2) { --scale: 0.5; --flip: 0deg; --rotate: -5deg; --rotate-range: 15deg; --float-range: 60px; --anim-duration: 4s; --opacity-min: 0.3; --opacity-max: 1; top: 10%; left: 40%; }
.monstar:nth-child(3) { --scale: 0.35; --flip: 0deg; --rotate: 10deg; --rotate-range: 20deg; --float-range: 100px; --anim-duration: 2.8s; --opacity-min: 0.4; --opacity-max: 1; top: 8%; left: 60%; }
.monstar:nth-child(4) { --scale: 0.3; --flip: 0deg; --rotate: -10deg; --rotate-range: 25deg; --float-range: 70px; --anim-duration: 3s; --opacity-min: 0.2; --opacity-max: 0.8; top: 30%; left: 70%; }
.monstar:nth-child(5) { --scale: 0.4; --flip: 180deg; --rotate: 5deg; --rotate-range: 30deg; --float-range: 90px; --anim-duration: 2.5s; --opacity-min: 0.5; --opacity-max: 1; top: 50%; left: 0%; }
.monstar:nth-child(6) { --scale: 1.7; --flip: 0deg; --rotate: -15deg; --rotate-range: 20deg; --float-range: 110px; --anim-duration: 3.2s; --opacity-min: 0.3; --opacity-max: 1; top: -2%; left: -10%; }

/* ★ ゆらゆら揺れるアニメーション */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(var(--rotate)) scale(var(--scale)) rotateY(var(--flip));
    opacity: var(--opacity-min);
  }
  25% {
    opacity: calc(var(--opacity-min) + 0.5 * (var(--opacity-max) - var(--opacity-min))); /* 途中で中間の透明度 */
  }
  50% {
    opacity: var(--opacity-max);
  }
  75% {
    opacity: calc(var(--opacity-min) + 0.3 * (var(--opacity-max) - var(--opacity-min))); /* 再び透明化 */
  }
  100% {
    transform: translateY(var(--float-range)) rotate(calc(var(--rotate) + var(--rotate-range))) scale(var(--scale)) rotateY(var(--flip));
    opacity: var(--opacity-min);
  }
}






.slideShow {
    /*縦横幅指定*/
    min-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%); 
}





 
  @keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  /* ホバー時に動きを止める（パターン2・3）*/
  .slide-paused:hover .slideshow {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
  /* ホバー時の装飾（パターン3） */
  .content-hover {
    transition: all 0.2s;
    margin-right: 20px;
  }
  .content-hover:hover {
    box-shadow: 0 3px 10px 0 #333;
    
    cursor: pointer;
  }



/* スライドショーのコンテナ */
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 300px;
  margin-bottom: 15px;
  position: relative;
  width: 100vw;
}

/* スライド全体 */
.slideshow {
  display: flex;
  width: max-content; /* 自動で幅を調整 */
  animation: loop-slide 40s linear infinite;
}

/* スライドアニメーション */
@keyframes loop-slide {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-50%); /* 半分だけ動かしてループ */
  }
}

/* 各スライドアイテム */
.content {
  position: relative;
  width: 300px;
  height: 300px;
  border: 4px solid #b11e00;
  box-sizing: border-box;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 画像サイズ */
.content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ホバー時に画像を暗くする */
.content-hover:hover img {
  opacity: 0.3;
}


/* 怪異の名前（日本語+英語） */
.content-text {
  position: absolute;
  bottom: 5px;
  left: 5px;
  width: calc(100% - 10px); /* 左右の余白を考慮 */
  border-bottom: #ddc79b solid 1px;
  color: #ddc79b;
  display: flex;
  align-items: center;
  gap: 5px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  padding-left: 3px;
  font-size: 16px;
  white-space: nowrap; /* テキストのはみ出し防止 */
  text-overflow: ellipsis; /* 長いテキストを省略 */
  overflow: hidden;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 3;
}

.content-text .en {
  font-size: 12px;
}

/* ホバー時：怪異名を上に移動 */
.content-hover:hover .content-text {
  transform: translateY(-220px);
}

/* 説明テキスト（画像全体をカバー） */
.content-description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 親要素と同じ幅にする */
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #ddc79b;
  padding: 15px;
  text-align: left;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  overflow-y: auto;
  border-radius: 5px;
  box-sizing: border-box; /* 追加！パディング分ではみ出さないように */
}

/* 「More」ボタン */
.more-button {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 14px;
  padding: 6px 12px;
  color: #ddc79b;
  border: 1px solid #ddc79b;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  border-radius: 3px;
  
}

/* ホバー時の表示 */
.content-hover:hover .content-description {
  opacity: 1;
}

.content-hover:hover .more-button {
  opacity: 1;
  transform: translateY(-5px);
}









  
  
  
  




 .album-list {
    
 } 

  .album-list ul {
    display: flex;
    padding: 0;  /* リストの余白をリセット */
    margin: 0;   /* リストの余白をリセット */
    justify-content: center; /* 画像を中央に配置 */
    gap: 20px;   /* 画像間の間隔 */
    margin-bottom: 20px;
}

.album-list li {
    list-style-type: none; /* デフォルトのリストマーカーを消す */
    margin-left: 30px;
}

.album-list img {
    height: 200px;
    width: auto; /* 高さに合わせて幅が自動調整されます */
}

.more {
    font-size: 1em;
    color: #ddc79b;
    text-align: center;  /* テキストを右寄せ */
    border: #ddc79b solid 1px;
    margin-left: auto;  /* 要素自体を右寄せ */
    width: 15%;
    display: block;  /* 要素をブロック要素として表示 */
    padding: 5px;
    margin-right: 30px;
    margin-top: 30px;
    transition: all 0.3s ease-in-out, box-shadow 0.5s ease-in-out;
}

.more:hover {
  
  background-color: rgba(221, 199, 155, 0.1);
  box-shadow: 0 0 10px #ddc79b, 0 0 20px #ddc79b;
}


@keyframes eerie-float {
  0% { transform: scale(1.2) translateY(0px) rotate(0deg); }
  20% { transform: scale(1.2) translateY(-8px) rotate(2deg); }
  40% { transform: scale(1.2) translateY(6px) rotate(-1deg); }
  60% { transform: scale(1.2) translateY(-12px) rotate(3deg); } /* ここで急に上がる */
  80% { transform: scale(1.2) translateY(5px) rotate(-2deg); }
  100% { transform: scale(1.2) translateY(0px) rotate(0deg); }
}


.past-live {
  position: relative;
}

.demonbg {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
opacity: 0.2;
}

.demonbg{
width: 45vw;
height: auto;
}



.past-live ul {
  display: flex;
  padding: 0;
  margin: 0;
  justify-content: center;
  gap: 50px;
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}



.past-live li:hover {
  transform: scale(1.2);
  z-index: 10;
  animation: eerie-float 3s infinite ease-in-out;
  filter: drop-shadow(0px 0px 15px rgba(255, 0, 0, 0.5)); /* 赤い光をぼんやり */
  transform: scale(1.2); /* 拡大して前に出る */
  z-index: 9; /* 他の要素より前に出す */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}



.past-live-card img{
  height: 220px;
  width: auto;
  display: block;
  border-radius: 10px;
  
}




.sortbtn {
    text-align: center; /* ボタンを中央揃えに */
  }

.btn {
    border-radius: 5px;
    text-align: center;
    margin: 10px;
    display: inline-block; /* 横並びにするためにinline-blockを使用 */
    padding: 10px 20px;
    justify-content: center;
    transition: all 0.5s ease;
}

.oneman {
    color: #b11e00;
    border: #b11e00 solid 1px;
}

.event {
    color: #5a8171;
    border: #5a8171 solid 1px;
}

.other {
    color: #ddc79b;
    border: #ddc79b solid 1px;
}

.btn:hover {
  background-color: #0D0F12;
  
}









.schedule-container {
    display: flex; /* 横並び */
    flex-direction: row;
    gap: 30px; /* カード間の間隔 */
    justify-content: center; 
    padding: 50px 0; /* 上下の余白を調整 */
    width: 100vw; /* 画面横幅いっぱいに広げる */
    max-width: 100vw !important; /* max-widthの制限を完全無視 */
    overflow-x: auto; /* 横スクロールを可能に */
    overflow-y: hidden;
    left: 50%;
    transform: translateX(-50%); /* 中央揃え */
    position: relative; /* 他要素との影響を防ぐ */
    -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
    scroll-snap-type: x mandatory; /* スクロール時のスナップ */
  }


  
  .schedule-card {
    width: 190px;
    min-width: 190px; /* カードが縮まないように */
    min-height: 380px; /* カードの高さを統一 */
    border: 4px solid #b11e00; /* 赤い枠 */
    border-radius: 10px; /* 角を丸める */
    background-color: #0D0F12; /* カードの背景色 */
    display: flex; /* フレックスボックスを使用 */
    flex-direction: column; /* 縦方向に配置 */
    padding: 20px;
    padding-top: 50px;
    position: relative;
    perspective: 1000px;
    transition: transform 1s ease;
    transform-style: preserve-3d; /* 3D効果を適用 */
    scroll-snap-align: start; /* スクロール時に要素を整列 */
  }

  .schedule-header {
    position: relative; /* `.schedule-subtitle` の基準点を固定 */
    display: flex; /* 横並びにする */
  
    justify-content: center; /* 中央揃え */
    flex-grow: 1;
  }

  .schedule-subtitle {
    font-size: 18px;
    color: #b11e00; /* 赤色 */
    writing-mode: vertical-rl; /* 縦書き */
    position: absolute;
    top: 0;
    right: 10%; /* 画像との間隔調整 */
    letter-spacing: 5px;
  }
  
  .schedule-title {
    display: flex;
    align-items: center;
  }
  
  .schedule-title img {
    width: 50px; /* 画像のサイズを適宜調整 */
  }
  

  
  
  .schedule-details {
    width: 100%; /* 詳細部分の幅を100%に設定 */
    text-align: center; /* 詳細部分を中央揃え */
    margin-top: 30px; /* 上の間隔を調整 */
    padding-top: 20px;
    margin-top: auto; /* 自動で一番下に固定 */
  }
  
  .schedule-details p {
    color: #b11e00;
    line-height: 1.1;
  }
  
  .venue {
    font-size: 20px;
    transform: scaleX(1.1); /* 横幅を110%にする */
  }
  
  .liveformat {
    letter-spacing: 5px;
    font-size: 12px;
  }
  
  .date {
    font-size: 12px; /* 基本フォントサイズ */
  }
  
  .year {
    font-size: 12px; /* 年の部分を1emに設定 */
  }
  
  .day {
    font-size: 18px; /* 日付の部分を2emに設定 */
  }
  
  .time {
    font-size: 18px; /* 基本フォントサイズ */
  }
  
  .open, .start {
    font-size: 12px; /* OPEN と START の部分を 1em に設定 */
  }
  
  .time-value {
    font-size: 18px; /* 時刻部分（17:30, 18:00）を 2em に設定 */
  }
  
 /* 特別短編公演のスタイル */
.special-event {
    border-color: #5a8171 !important; /* 緑色に変更 */
  }
  
  .special-event .schedule-subtitle,
  .special-event .schedule-details p{
    color: #5a8171 !important; /* テキストの色も統一 */
  }
  
  

  .schedule-card:hover {
    transform: rotateY(180deg);
  }
  
 
  /* 裏面 */
  .schedule-card .back {
    background-color: #b11e00; 
    border-radius: 10px; /* 角を丸める */
    font-size: 1.5em;
    letter-spacing: 5px;
    writing-mode: vertical-rl;
    color: #ddc79b;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 456px;
    width: 230px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(180deg);
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
  }
 
  









.bg {
  text-align: center; /* インライン要素を中央配置 */
  width: 100vw; /* 横幅いっぱい */
  overflow: hidden;
}

.bg img {
  display: block;
  margin: 0 auto; /* 自動で中央配置 */
  max-width: 100%; /* 画面幅を超えないようにする */
  height: auto;
}


.bg2 {
  display: flex;
  justify-content: center; /* 画像を中央配置 */
  align-items: center; /* 高さ方向も中央に */
  width: 100%; /* 画面いっぱいに広げる */
  margin: 50px 0; /* 上下の余白を調整（数値を調整して好みに合わせて） */
}

.bg2 img {
  max-width: 90%; /* 画像のサイズを適切に調整（80%だと大きすぎるなら調整） */
  height: auto;
  display: block; /* 余計な隙間を防ぐ */
}








.hicon {
  height: 2em;
  margin-right: 5px; /* 画像とテキストの間隔を調整 */
}

  .title-warpper {
    background: #b11e00;
    position: relative;
    width: 100vw;
    height: 200px;
  }

  .ems {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    
}

.ems img {
    position: absolute;
}

.em_1 {
    z-index: 2;
    width: 25%;
}

.em_2 {
    animation: rotate-clockwise 30s linear infinite;
    width: 40%;
}

.em_3 {
    animation: rotate-counterclockwise 40s linear infinite;
    width: 50%;
}

.em_4 {
    animation: rotate-clockwise 80s linear infinite;
    width: 60%;
}

@keyframes rotate-clockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-counterclockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}




.page-title {
  color: #ddc79b;
  font-size: 3em;
  text-align: center;
  z-index: 9;
  letter-spacing: 15px;
}


.boundary img {
  width: 100%;
  margin-bottom: 50px;
}


@media (max-width: 768px) {  /* スマホ・タブレットサイズ */
  .album-list ul {
    display: grid;  /* グリッドレイアウト */
    grid-template-columns: repeat(2, 1fr);  /* 2列 */
    gap: 20px;  /* 画像間の間隔を20pxに */
    justify-content: center;  /* 水平方向の中央揃え */
  }

  .album-list li {
    margin-left: 0;  /* 左マージンリセット */
    text-align: center;  /* 画像を中央に */
    
  }

  .past-live-card img {
    height: 140px;
    width: auto;
    display: block;
    border-radius: 10px;
  }

  .past-live ul {
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: center;
    gap: 10px;  /* 画像間の間隔を10px */
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
  }

  #loading-text .kanji {
    
    position: static !important; /* 位置の影響を受けないようにする */
    display: inline-block !important; /* 他の文字と一緒に並ぶ */

    
  }

  #loading-text {
    height: 80vh;
  }



  
}

@media (max-width: 768px) {
  /* スマホ時だけ、怪異（5番・6番目）を真ん中寄せて下にズラす */
  #loading-text span:nth-child(6),
  #loading-text span:nth-child(7) {
    transform: translateY(100px) !important; /* ← 20pxだけ下げる */
    position: static !important;
    display: inline-block !important;
  }
}



/* New styles for loading-message-below-text */
.loading-message-below-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: calc(50% + 160px);
    left: 50%;
    transform: translateX(-50%);
}

.loading-message-below-text .loading-wave-text {
    font-size: 1.5rem;
    color: #ddc79b;
    animation: ghost-flicker-subtle 5s infinite ease-in-out;
}

.loading-message-below-text .loading-cross {
    width: 30px;
    height: auto;
    margin-top: 10px;
}

@media (max-width: 768px) {
  .loading-message-below-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .loading-message-below-text .loading-cross {
    display: none;
  }

  .loading-message-below-text .loading-wave-text {
    font-size: 1.2rem;
    text-align: center;
  }
}