@charset "utf-8";

.body{
  margin: 0;
  padding: 0;
}


/* loader */

#loader{
  position:fixed;
  inset:0;                            /* top:0; right:0; bottom:0; left:0 */
  background: linear-gradient(
    to bottom,
    #9bd8f7 0%,
    #d5ebf7 25%,
    #e3f0f7 50%,
    #d5ebf7 75%,
    #9bd8f7 100%
  );
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:20px;
  z-index:10000;                      /* ページ内で最前面に */
  transition:opacity .6s ease;        /* 後で JS で fadeOut */
}



/* シンプルな CSS スピナー例（お好みで差し替え可） */
/* ========= stylish double‑ring spinner ========= */
#loader .spinner{
  width: 72px;                 /* サイズはお好みで */
  height: 72px;
  position: relative;
}

#loader .spinner::before,
#loader .spinner::after{
  content:"";
  position:absolute;
  inset:0;                     /* 親と同サイズ */
  border-radius:50%;
  border:4px solid transparent;/* 枠線を下地に */
}

/* 外輪：明るい水色 ─ 時計回り */
#loader .spinner::before{
  border-top-color:#00b4ff;    /* 上下だけ色 */
  border-bottom-color:#00b4ff;
  animation:spin 1.2s linear infinite;
}

/* 内輪：濃い水色 ─ 反時計回り */
#loader .spinner::after{
  border-left-color:#0077ff;   /* 左右だけ色 */
  border-right-color:#0077ff;
  inset:8px;                   /* ひと回り小さく */
  animation:spinReverse 1.2s linear infinite;
}

/* 回転アニメーション */
@keyframes spin{
  to{ transform:rotate(360deg); }
}
@keyframes spinReverse{
  to{ transform:rotate(-360deg); }
}


#loader .loading-text{
  color: rgb(6, 67, 111);
  font-family:"Times New Roman",serif;
  font-weight: 1000;
  letter-spacing:2px;
  font-size: 26px;
}

/* フェードアウト時に透明＋クリック不可にする */
#loader.hide{
  pointer-events:none;
  opacity:0;
}


.loader-logo > img{
  max-width: 300px;
  max-height: 300px;

  animation:logoZoom 3s ease forwards;
}





/* header */

header{
  width: 100%;
  height: 50px;
  
  position: fixed;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: 999;
}
header > a{
  text-decoration: none;
  text-align: center;
}
.header-description{
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 2px;

  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}



/* top */

.top{
  width: 100%;
  position: relative;
}

.top-background{
  width: 100%;
  z-index: 990;
}
.top-background > img{
  width: 100%;
  height: auto;
  display: block;
}

.top-character{
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 991;
}
.top-character > img{
  width: 100%;
  height: auto;
  z-index: 991;
}

.top-title{
  width: 100%;
  position: absolute;
  z-index: 992;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  will-change: transform, opacity;
}
.top-title > img{
  width: 100%;
  height: auto;

  will-change: transform, opacity;
}






/* new */

.new{
  width: 100%;
  height: 660px;

  position: relative;
}

.new-head{
  width: 100%;
  height: 60px;

  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: 1000;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);

  position: relative;
  display: flex;
  align-items: center;

}

.new-heading{
  margin: 0 0 0 10px;
}
.new-head::before,
.new-head::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
.new-head::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
.new-head::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}

.new-content {
  width: 100%;
  height: 500px;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  background-color: transparent;
  /* background-color: red; */

  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.new-item{
  position: relative;
}
.new-item img{
  height: 500px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.new-item img:hover{
  box-shadow: 0 0 15px 10px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
}





/* badge */

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;

  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: 1px solid white;
  
  font-size: 12px;
  font-weight: 1000;
  /* font-family: "Times New Roman", Times, serif; */
  font-family: "Yu Gothic", "ヒラギノ角ゴ ProN", "メイリオ", sans-serif;
  letter-spacing: 0px;

  
  border-radius: 30px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.new-badge{
  background-color: rgba(255, 0, 0, 0.4);
}
.com-badge{
  background-color: rgba(0, 0, 255, 0.4);
}
.play-badge{
  background-color: rgba(0, 255, 0, 0.4);
}



/* story */

.story{
  width: 100%;
  height: 600px;
  /* background-color:red; */
}

.story-head{
  width: 100%;
  height: 60px;

  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: 1000;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);

  position: relative;
  display: flex;
  align-items: center;

}

.story-heading{
  margin: 0 0 0 10px;
}
.story-head::before,
.story-head::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
.story-head::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
.story-head::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}

.story-content {
  width: 100%;
  height: 540px;
  /* background-color: gold; */
  background-color: rgba(0, 0, 0, 0.5);

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "serif";
}
.story-discription{
  position: static;
  z-index: 6;

  color: white;
  font-size: 15px;
  font-weight: bold;
  margin: 4px 0;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: left;

  display: inline-block;
  align-items: center;

  padding: 0 30px;
}

@media screen and (max-width: 480px) {
  .story {
    height: 650px;
  }
  .story-content {
    height: 590px
  }
}




/* topic */

.topic{
  width: 100%;
  height: 760px;

  position: relative;
}

.topic-head{
  width: 100%;
  height: 60px;

  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: 1000;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);

  position: relative;
  display: flex;
  align-items: center;

}

.topic-heading{
  margin: 0 0 0 10px;
}
.topic-head::before,
.topic-head::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
.topic-head::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
.topic-head::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}

.topic-slider{
  width: 100%;
  height: 700px;
  /* background-color: blue; */

  padding-top: 50px;
  margin-bottom: 50px;

  overflow-x: hidden;
  overflow-y: visible;
}
.topic-track {
  width: 100%;
  height: 550px;
  /* background-color: gray; */
  position: relative;

  display: flex;
  transition: transform .5s ease;
}
.topic-content{
  width: 100%;
  height: 550px;

  position: relative;
  background-color: transparent;

  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}


.topic-item{
  width: 100%;
  height: 500px;
  /* background-color: wheat; */

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.topic-link{
  display: inline-block;  
  position: relative;     
}

.topic-item img{
  height: auto;
  max-height: 500px;
  max-width: 100%;

  object-fit: contain;
  border-radius: 12px;
  border: 1px solid white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;

  display: block;
  margin: 0 auto;
}
.topic-item img:hover{
  box-shadow: 0 0 15px 10px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
}

.info{
  width: 100%;
  height: 50px;
  /* background-color: gray; */

  display: flex;
  justify-content: center;
  align-items: center;
}
.info-button {
  width: 300px;
  height: 40px;

  background-color: transparent;
  text-decoration: none;
  color: white;
  border: 1px solid white;
  border-radius: 20px;
  cursor: pointer;
  
  font-family: "Yu Gothic", "ヒラギノ角ゴ ProN", "メイリオ", sans-serif;
  font-size: 16px;
  font-weight: 1000;
  text-align: center;
  letter-spacing: 1px;
  transition: background-color 0.3s;

  display: flex;
  justify-content: center;
  align-items: center;
}
.info-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}






/* carousel-controls */

.carousel-controls{
  width: 100%;
  height: 60px;
  background-color: transparent;
  /* background-color: blueviolet; */

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.arrow{
  width: 40px;
  height: 40px;
  background-color: transparent;

  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.arrow.left::before,
.arrow.right::before{
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: relative;
}
.arrow.left::before{
  content: '';
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 25px solid white;
  right: 1px;
}
.arrow.right::before{
  content: '';
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 25px solid white;
  left: 1px;
}
.arrow.hidden {
  visibility: hidden;
  pointer-events: none;
  opacity: 0.3;
}
.carousel-indicators{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  background-color: transparent;
}
.carousel-indicators span{
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s;
  cursor: pointer;
}
.carousel-indicators span.active {
  background-color: white; 
}




footer{
  width: 100%;
  height: 450px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);


}
footer::before,
footer::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
footer::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
footer::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}

.footer-content {
  width: 100%;
  height: 70%;
  /* background-color: green; */

  position: relative;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "serif";
}
.footer-discription {
  position: static;
  z-index: 6;

  color: white;
  font-size: 15px;
  font-weight: bold;
  margin: 4px 0;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: left;

  display: inline-block;

  padding: 0 30px;
}

.footer-logo {
  width: 100%;
  height: 30%;
  /* background-color: brown; */

  position: static;       
  display: flex;
  justify-content: center; 
  align-items: center;   
  padding: 10px 0;       
  box-sizing: border-box;

}
.footer-logo img {
  max-width: 100px;
  max-height: 100px;
  margin-bottom: 20px;

  display: block;
  background-color: rgba(255, 255, 255, 1);
}




/* overview */

.overview{
  width: 100%;
  height: 600px;
  /* background-color:red; */
}

.overview-head{
  width: 100%;
  height: 60px;

  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: 1000;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);

  position: relative;
  display: flex;
  align-items: center;

}

.overview-heading{
  margin: 0 0 0 10px;
}
.overview-head::before,
.overview-head::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
.overview-head::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
.overview-head::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}


.overview-boxes {
  width: 100%;
  height: 300px;

  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0 10px;
  box-sizing: border-box;
}

.overview-box {
  width: auto;
  height: 200px;
  
  /* flex: 1 1 0; */
  min-width: 120px;
  max-width: 45%;
  box-sizing: border-box;

  
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid white;
  border-radius: 12px;
  padding: 20px;
  width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  text-align: center;

  margin-top: 50px;
}
/* スマホなど幅が狭い場合 */
@media screen and (max-width: 480px) {
  .overview-boxes {
    gap: 15px;
  }
  .overview-box {
    max-width: 48%;  /* もう少し詰める */
    min-width: 100px;
    aspect-ratio: 1 / 1.1; /* 幅と高さを1:1に */


    
    margin-top: 50px;
  }
}

.overview-title {
  font-size: 20px;
  font-weight: bold;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "serif";
  color: white;
  margin-bottom: 10px;
  margin-top: 0;
}

.overview-stars {
  display: flex;
  justify-content: center;
  gap: 5px;

  margin-top: 50px;
}
.star {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 1.0;
  color: transparent;
}
.star.filled {
  color: white;
  stroke: none;
}
.overview-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 16px;
  font-weight: bold;
}
.clock-icon {
  width: 60px;
  height: 60px;
  color: white;
  fill: white;

  margin-top: 20px;
}
.time-text {
  font-size: 20px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "serif";
}
.box-underline {
  width: 100%;
  height: 1px;
  background-color: white;
  margin-top: 10px;
}




/* character */

.character{
  width: 100%;
  height: 750px;
  /* background-color:red; */
  position: relative;
}

.character-head{
  width: 100%;
  height: 60px;

  font-family: "Times New Roman", Times, serif;
  font-size: 26px;
  font-weight: 1000;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.7);

  position: relative;
  display: flex;
  align-items: center;

}

.character-heading{
  margin: 0 0 0 10px;
}
.character-head::before,
.character-head::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
.character-head::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
.character-head::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}

.character-slider{
  width: 100%;
  height: 700px;
  /* background-color: blue; */
  position: relative;

  padding-top: 50px;
  margin-bottom: 50px;

  overflow-x: hidden;
  overflow-y: visible;
}
.character-track {
  width: 100%;
  height: 550px;
  /* background-color: gray; */
  position: relative;

  display: flex;
  transition: transform .5s ease;
}
.character-content{
  width: 100%;
  height: 500px;

  position: relative;
  /* background-color: green; */

  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}


.character-item{

  display:inline-block;/* ← 画像の実幅に合わせて shrink */
  overflow:hidden;
  position:relative;   /* ← ラベルの absolute 基準 */
  border-radius:12px;  /* ← 画像に合わせて角丸も切り取る */
  border: 1px solid white;
}


.character-item img{
  position: relative;
  z-index: 5;

  height: auto;
  max-height: 500px;
  max-width: 100%;

  object-fit: contain;
  border-radius: 12px;
  /* border: 1px solid white; */
  /* box-shadow: 0 8px 16px rgba(0,0,0,0.2); */
  transition: box-shadow 0.3s ease, border-color 0.3s ease;

  display: block;
  margin: 0 auto;

}

.character-label {
  position: absolute;     
  
  /* border-top:1px solid rgba(255,255,255,1.0); */
  background:rgba(0,0,0,0.5);
  font-family:"Times New Roman",serif;

  left:0;                   /* 画像と同じ幅で下に貼り付く */
  right:0;
  bottom:0;
  padding:6px 12px;
  
  text-align:center;
  line-height:1.4;
  display:inline-block;

  z-index: 10;
}
.character-role{
  display:block;

  color: rgba(255, 255, 255, 0.9);
  font-size:14px;
  letter-spacing: 3px;
  font-weight:500;
}
.character-name{
  display:block;
  margin-top:2px;

  color: rgba(255, 255, 255, 1);
  letter-spacing: 0px;
  font-size:20px;          
  font-weight:800;         
}





/* play */

.play {

  width: 100%;
  height: 200px;
  
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.play::before,
.play::after{
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 1.0);
}
.play::before{
  top: 0;
  box-shadow: 0 4px rgba(255, 255, 255, 1.0);
}
.play::after{
  bottom: 0;
  box-shadow: 0 -4px rgba(255, 255, 255, 1.0);
}




.play-buttons{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.play-button {
  width: 200px;
  height: 50px;

  display: flex; /* ← 追加 */
  justify-content: center; /* 横方向中央 */
  align-items: center;     /* 縦方向中央 */

  padding: 14px 40px;
  border: 1px solid white;
  color: white;
  background-color: transparent;
  font-size: 16px;
  font-weight: bold;
  /* font-family: "Yu Gothic", "ヒラギノ角ゴ ProN", "メイリオ", sans-serif; */
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "serif";

  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.2s;
}
.play-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}











/* animation */


@keyframes logoZoom{
  0%   { transform:scale(1.0);   opacity:1; }
  70%  { transform:scale(1.1); opacity:1; }  /* ズーム最大 */
  100% { transform:scale(0.8); opacity:0; }  /* フェードアウト */
}

/* ========= loading text split chars ========= */
.loading-text{
  display:inline-block;
  font:700 18px/1 "Times New Roman",serif;
  letter-spacing:2px;
  color:#000;
  white-space:pre;                         /* 改行や空白をそのまま */
}
.loading-text span{
  display:inline-block;
  transform:translateY(-40px);             /* 上から落とす起点 */
  opacity:0;
  animation:letterDrop .8s ease forwards;
}
@keyframes letterDrop{
  0%   { transform:translateY(-40px); opacity:0; }
  80%  { opacity:1; }
  100% { transform:translateY(0);      opacity:1; }
}


.animation-ZoomSlideIn{
  animation: zoomSlideIn 10.0s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes zoomSlideIn {
  0% {
    transform: translate(-50%, -200%) scale(0.2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}





.animation-fadeIn {
  animation: animation-fadeIn 7.0s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes animation-fadeIn {
  0% {
    opacity: 0;
  }
  50%{
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}





/* canvas */

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}



/* background */

.background{
  background-size: cover;      
  background-position: center;  
  background-repeat: no-repeat; 
  position: fixed;

  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  z-index: -1;
  pointer-events: none;
}


.distortion-background{
  background-image: url('../image/distrotion-background.jpg');
}
.crystal-background{
  background-image: url('../image/crystal-background.jpg');
}
.valentine-background{
  background-image: url('../image/valentine-background.jpeg');
}
.trickshow-background{
  background-image: url('../image/background/02_background_rain.png');
}
.kazino-background{
  background-image: url('../image/background/kazino-backgorund.jpg');
}
.himitugoto-background{
  background-image: url('../image/background/himitugoto-background.jpg');
}
.main-background,
.halloween-background{
  background-image: url('../image/background/halloween-background.png');
}
.wing-background{
  background-image: url('../image/background/wing-background.jpg');
}
