/*開いたら動画が再生*/
  #opv-wrap {
  animation: fadeIn .5s ease;
  z-index: 100;
  overflow-x: hidden;
  width: 100%;
  position: fixed;      /* ← ページ全体に固定 */
  top: 0;
  left: 0;
  height: 100vh;        /* ← 画面の高さにぴったり */
  z-index: 1000;        /* ← headerより下、でも前面に出したいなら1000くらい */
}


#opv-wrap.playEnd {
  animation: fadeOut 0.6s ease forwards;
  z-index: -100;
  overflow-x: hidden;
  width: 100%;

}

video#opv {
  position:absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  vertical-align: bottom;
  z-index: 100;
  overflow-x: hidden;
  width: 100%;
}

#page-wrap {
  height: 100vh;
  overflow-y: hidden;
  animation: fadeIn 0s ease;
  overflow-x: hidden;
  position: relative; /* ← headerと重なりの基準を分ける */
  z-index: 1; /* ← 下に置く */

}

#page-wrap.startView {
  overflow-y: auto;
  z-index: 100;
  overflow-x: hidden;
  
}

@keyframes fadeIn {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes fadeOut {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
/*ここまで開いたら動画が再生*/


#sakura_block{
  width: 100%; 
  z-index:0;
}
#sakura_block .sakura_parts_box{
  position: relative;
  z-index:0;

}
#sakura_block .sakura_parts_box img{
  position: fixed;
  z-index:0;
  opacity: 0.7; /* ← 0に近いほど透ける（例: 0.5で半透明） */

}


#sakura_block .sakura_parts_box img:nth-child(2n+1){
  width: 500px;/*花びらのサイズ*/
  z-index:0;

}
#sakura_block .sakura_parts_box img:nth-child(2n){
  width: 500px;/*花びらのサイズ*/
  z-index:0;

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
img.parts_01{top: 450px; left: 5%;}
img.parts_02{top: -100px; left: 0%;}
img.parts_04{top: 1200px; left: 55%;}
img.parts_05{top: 250px; left: 55%;}
img.parts_06{top: 950px; left: 10%;}



@keyframes sakura {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(0, -600px);
    opacity: 1;
  }
  100% {
    transform: translate(0, -1200px);
    opacity: 0;
  }
}

.sakura_parts_box img {
    animation: sakura linear 6s infinite;
    /*アニメーションが始まるまで画像を見えなくしておく*/

}

/*-----------------------------------
アニメーションが始まるまでの時間
-----------------------------------*/
img.parts_01,img.parts_02{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s; /*アニメーションが終了するまでの時間*/

}
img.parts_03,img.parts_04{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_05,img.parts_06{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}
img.parts_07,img.parts_08{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_04,img.parts_9{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}


html,body{
margin:0;
overflow-x: hidden;

}


body{
    background-color: #141d3b;
    height: auto;
    overflow-y: hidden;
    font-family:"yu-mincho-pr6n", sans-serif;
    margin:0;
    padding: 0;
}



/*header*/
header {
  width: 100%;
  height: 80px;
  padding: 0 40px;
  background: #141d3b;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ロゴ＋メニューを左寄せ */
  position: fixed;
  top: 0;
  border-bottom: 2px solid #fff;
  z-index: 999 !important; /* ← 強制的に最前面 */
  opacity: 1.0;
}

.logo img {
  height: 45px; /* ロゴサイズは調整してOK */
  width: auto;
  margin-top:5%;
}

nav {
  margin-left: 40px; /* ロゴとメニューの間隔 */
}

nav ul {
  list-style: none;
  display: flex;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family:"yu-mincho-pr6n", sans-serif;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

nav ul li a:hover {
  text-decoration: underline;
}





/*========= クリックしたら別のものが動く際の指定 ===============*/
  
  /*----ボタンの形状----
  
  /*非表示エリアをはじめは隠す*/
  .hide_area{
    display: none;
    
  }

/*クリックされたら fadeUpクラスを付与し、display:block;で表示させる*/
  .hide_area.fadeUp {
    display:block;
    animation-delay: 0.4s;
  }

  .hide_area2.fadeUp {
      display:block;
      animation-delay: 0.5s;
    }

    .hide_area3.fadeUp {
      display:block;
      animation-delay: 0.6s;
    }
    .hide_area4.fadeUp {
      display:block;
      animation-delay: 0.7s;
    }
    .hide_area5.fadeUp {
      display:block;
      animation-delay: 0.8s;
    }




/*==================================================
ふわっ
===================================*/

/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}
/*一行ずつ出てくる*/


/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
	left: 0;
}


/*ここまで見出しの動き*/  
.main-title{
  text-align: center;
  color: #fff;
  margin-top: 12%;
  margin-bottom: 20%;
  font-weight: 100;
}

.title-logo{
  width:60%;
}



/*アニメーション*/
.text.offs .effect {
  opacity: 0;
}
.text.ons .effect {
  opacity: 1;
  transition-duration: 1s;
}






.copy{
  font-size:40px;
}







main{
  padding-top:100px;
}
.history{
  font-size: 60px;
  margin-left: 10%;
  color: #fff;
  text-shadow: 0 0 10px #f8f5f5,0 0 15px #f8f5f5;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
.circle{
  margin-left: 45.5%;
}
.circle  img{
   width: 16%;
}

/* 中央の白い線（line.png）を固定表示 */
.timeline-line {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin-top: 7%;
}

.timeline-line img {
  height: 89%;
  width: auto;
  opacity: 0.9;
}

/* 各年ごとのセクション */
.year-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

/* 左右交互に配置 */
.year-section.left {
  justify-content: flex-end;
  padding-right: 55%;
  margin-top:-22%;
}

.year-section.right {
  justify-content: flex-start;
  padding-left: 55%;
  margin-top: -40%;
}
.year-section1.left {
  justify-content: flex-end;
  padding-right:48%;
  margin-top:-22%;
  margin-left: 10%;
}
.year-section2.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -5%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-top:-14%;
  margin-left: 7%;
}
.year-section4.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -8%;
  margin-right: -2%;
}

/* 各年の画像 */
.year-img {
  width: 80%;
  max-width: 700px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* フェードイン */
.year-img.active {
  opacity: 1;
  transform: translateY(0);
}
.era{
  font-size: 40px;
  text-align: center;
  color:#fff;
  margin-top: -3%;
}


/* ===============================
スライダー部分
=============================== */
.slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 0 auto 120px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-top: 10%;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* ナビゲーション矢印 */
.navigation button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 36px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
  z-index: 5;
}



.navigation .prev {
  left: 10px;
}
.navigation .next {
  right: 10px;
}

/* インジケーター */
.indicators {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #fff;
}




@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rights{
  color: #fff;
  font-size:14px;
  padding-top: 30px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}


/* SEサイズのIphone*/
@media(max-width: 380px){ video#opv {
    object-fit: cover;
  }

#page-wrap {
  height: 100vh;
  overflow-y: hidden;
  animation: fadeIn 0s ease;
  overflow-x: hidden;
  position: relative; /* ← headerと重なりの基準を分ける */
  z-index: 1; /* ← 下に置く */

}

#page-wrap.startView {
  overflow-y: auto;
  z-index: 100;
  overflow-x: hidden;
  
}

@keyframes fadeIn {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes fadeOut {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
/*ここまで開いたら動画が再生*/


#sakura_block{
  width: 100%; 
  z-index:0;
}
#sakura_block .sakura_parts_box{
  position: relative;
  z-index:0;

}
#sakura_block .sakura_parts_box img{
  position: fixed;
  z-index:0;
  opacity: 1; /* ← 0に近いほど透ける（例: 0.5で半透明） */

}


#sakura_block .sakura_parts_box img:nth-child(2n+1){
  width: 200px;/*花びらのサイズ*/
  z-index:0;

}
#sakura_block .sakura_parts_box img:nth-child(2n){
  width: 200px;/*花びらのサイズ*/
  z-index:0;

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
img.parts_01{top: 450px; left: 5%;}
img.parts_02{top: -100px; left: 0%;}
img.parts_04{top: 1200px; left: 55%;}
img.parts_05{top: 250px; left: 55%;}
img.parts_06{top: 950px; left: 10%;}



@keyframes sakura {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(0, -600px);
    opacity: 1;
  }
  100% {
    transform: translate(0, -1200px);
    opacity: 0;
  }
}

.sakura_parts_box img {
    animation: sakura linear 6s infinite;
    /*アニメーションが始まるまで画像を見えなくしておく*/

}

/*-----------------------------------
アニメーションが始まるまでの時間
-----------------------------------*/
img.parts_01,img.parts_02{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s; /*アニメーションが終了するまでの時間*/

}
img.parts_03,img.parts_04{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_05,img.parts_06{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}
img.parts_07,img.parts_08{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_04,img.parts_9{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}


html,body{
margin:0;
overflow-x: hidden;

}


body{
    background-color: #141d3b;
    height: auto;
    overflow-y: hidden;
    font-family:"yu-mincho-pr6n", sans-serif;
    margin:0;
    padding: 0;
}



/*header*/
header {
  width: 100%;
  height: 60px;
  padding: 0 40px;
  background: #141d3b;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ロゴ＋メニューを左寄せ */
  position: fixed;
  top: 0;
  border-bottom: 1px solid #fff;
  z-index: 999 !important; /* ← 強制的に最前面 */
  opacity: 1.0;
}
.logo{
  margin-left: -8%;
}
.logo img {
  height: 25px; /* ロゴサイズは調整してOK */
  width: auto;
  margin-top:18%;
}

nav {
  margin-left: 15px; /* ロゴとメニューの間隔 */
}

nav ul {
  list-style: none;
  display: flex;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family:"yu-mincho-pr6n", sans-serif;
  padding: 10px 8px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  font-size: 10px;
}

nav ul li a:hover {
  text-decoration: underline;
}





/*========= クリックしたら別のものが動く際の指定 ===============*/
  
  /*----ボタンの形状----
  
  /*非表示エリアをはじめは隠す*/
  .hide_area{
    display: none;
    
  }

/*クリックされたら fadeUpクラスを付与し、display:block;で表示させる*/
  .hide_area.fadeUp {
    display:block;
    animation-delay: 0.4s;
  }

  .hide_area2.fadeUp {
      display:block;
      animation-delay: 0.5s;
    }

    .hide_area3.fadeUp {
      display:block;
      animation-delay: 0.6s;
    }
    .hide_area4.fadeUp {
      display:block;
      animation-delay: 0.7s;
    }
    .hide_area5.fadeUp {
      display:block;
      animation-delay: 0.8s;
    }




/*==================================================
ふわっ
===================================*/

/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}
/*一行ずつ出てくる*/


/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
	left: 0;
}


/*ここまで見出しの動き*/  
.main-title{
  text-align: center;
  color: #fff;
  margin-top: 12%;
  margin-bottom: 20%;
  font-weight: 100;
}

.title-logo{
  width:75%;
}



/*アニメーション*/
.text.offs .effect {
  opacity: 0;
}
.text.ons .effect {
  opacity: 1;
  transition-duration: 1s;
}

.copy{
  font-size:40px;
}

main{
  padding-top:100px;
}
.history{
  font-size: 30px;
  margin-left: 10%;
  color: #fff;
  text-shadow: 0 0 10px #f8f5f5,0 0 15px #f8f5f5;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
.circle{
  margin-left: 43.5%;
  margin-top: 3%;
}
.circle  img{
   width: 22%;
}

/* 中央の白い線（line.png）を固定表示 */
.timeline-line {
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  height: 101%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin-top: 7%;
}

.timeline-line img {
  height: 89%;
  width: auto;
  opacity: 0.9;
}

/* 各年ごとのセクション */
.year-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

/* 左右交互に配置 */
.year-section.left {
  justify-content: flex-end;
  padding-right: 55%;
  margin-top:-65%;
}

.year-section.right {
  justify-content: flex-start;
  padding-left: 55%;
  margin-top: -140%;
}
.year-section1.left {
  justify-content: flex-end;
  padding-right:48%;
  margin-top:-60%;
  margin-left: 10%;
}
.year-section2.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: 5%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-left: 7%;
  margin-top: 3%;
}
.year-section4.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -3%;
  margin-right: -2%;
}

/* 各年の画像 */
.year-img {
  width: 80%;
  max-width: 700px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* フェードイン */
.year-img.active {
  opacity: 1;
  transform: translateY(0);
}
.era{
  font-size: 15px;
  text-align: center;
  color:#fff;
  margin-top: 25%;
}


/* ===============================
スライダー部分
=============================== */
.slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 0 auto 120px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-top: 10%;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* ナビゲーション矢印 */
.navigation button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
  z-index: 5;
}



.navigation .prev {
  left: 3px;
}
.navigation .next {
  right: 3px;
}

/* インジケーター */
.indicators {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  height: 7px;
  width: 7px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #fff;
}




@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rights{
  color: #fff;
  font-size:10px;
  padding-top: 30px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}
}


@media (min-width:381px) and (max-width:767px){
  video#opv {
    position: absolute;
    vertical-align: bottom;
    z-index: 100;
    overflow-x: hidden;
    top:0;
    left:0;
    width: 100vw;
    height: 300vh; /* ← iOS対応でアドレスバーの高さを考慮 */
    object-fit: contain; /* ← coverだと左右が切れるのでcontainに変更 */
    object-position: center center; /* ← 中央に配置 */
    background-color: black;

}


#page-wrap {
  height: 100vh;
  overflow-y: hidden;
  animation: fadeIn 0s ease;
  overflow-x: hidden;
  position: relative; /* ← headerと重なりの基準を分ける */
  z-index: 1; /* ← 下に置く */
  

}

#page-wrap.startView {
  overflow-y: auto;
  z-index: 100;
  overflow-x: hidden;
 
  
}

@keyframes fadeIn {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes fadeOut {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
/*ここまで開いたら動画が再生*/


#sakura_block{
  width: 100%; 
  z-index:0;
}
#sakura_block .sakura_parts_box{
  position: relative;
  z-index:0;

}
#sakura_block .sakura_parts_box img{
  position: fixed;
  z-index:0;
  opacity: 1; /* ← 0に近いほど透ける（例: 0.5で半透明） */

}


#sakura_block .sakura_parts_box img:nth-child(2n+1){
  width: 200px;/*花びらのサイズ*/
  z-index:0;

}
#sakura_block .sakura_parts_box img:nth-child(2n){
  width: 200px;/*花びらのサイズ*/
  z-index:0;

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
img.parts_01{top: 450px; left: 5%;}
img.parts_02{top: -100px; left: 0%;}
img.parts_04{top: 1200px; left: 55%;}
img.parts_05{top: 250px; left: 55%;}
img.parts_06{top: 950px; left: 10%;}



@keyframes sakura {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(0, -600px);
    opacity: 1;
  }
  100% {
    transform: translate(0, -1200px);
    opacity: 0;
  }
}

.sakura_parts_box img {
    animation: sakura linear 6s infinite;
    /*アニメーションが始まるまで画像を見えなくしておく*/

}

/*-----------------------------------
アニメーションが始まるまでの時間
-----------------------------------*/
img.parts_01,img.parts_02{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s; /*アニメーションが終了するまでの時間*/

}
img.parts_03,img.parts_04{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_05,img.parts_06{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}
img.parts_07,img.parts_08{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_04,img.parts_9{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}


html,body{
margin:0;
overflow-x: hidden;

}


body{
    background-color: #141d3b;
    height: auto;
    overflow-y: hidden;
    font-family:"yu-mincho-pr6n", sans-serif;
    margin:0;
    padding: 0;
}



/*header*/
header {
  width: 100%;
  height: 60px;
  padding: 0 40px;
  background: #141d3b;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ロゴ＋メニューを左寄せ */
  position: fixed;
  top: 0;
  border-bottom: 1px solid #fff;
  z-index: 999 !important; /* ← 強制的に最前面 */
  opacity: 1.0;
}
.logo{
  margin-left: -8%;
}
.logo img {
  height: 25px; /* ロゴサイズは調整してOK */
  width: auto;
  margin-top:18%;
}

nav {
  margin-left: 15px; /* ロゴとメニューの間隔 */
}

nav ul {
  list-style: none;
  display: flex;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family:"yu-mincho-pr6n", sans-serif;
  padding: 10px 8px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  font-size: 10px;
}

nav ul li a:hover {
  text-decoration: underline;
}





/*========= クリックしたら別のものが動く際の指定 ===============*/
  
  /*----ボタンの形状----
  
  /*非表示エリアをはじめは隠す*/
  .hide_area{
    display: none;
    
  }

/*クリックされたら fadeUpクラスを付与し、display:block;で表示させる*/
  .hide_area.fadeUp {
    display:block;
    animation-delay: 0.4s;
  }

  .hide_area2.fadeUp {
      display:block;
      animation-delay: 0.5s;
    }

    .hide_area3.fadeUp {
      display:block;
      animation-delay: 0.6s;
    }
    .hide_area4.fadeUp {
      display:block;
      animation-delay: 0.7s;
    }
    .hide_area5.fadeUp {
      display:block;
      animation-delay: 0.8s;
    }




/*==================================================
ふわっ
===================================*/

/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}
/*一行ずつ出てくる*/


/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
	left: 0;
}


/*ここまで見出しの動き*/  
.main-title{
  text-align: center;
  color: #fff;
  margin-top: 12%;
  margin-bottom: 20%;
  font-weight: 100;
}

.title-logo{
  width:75%;
}



/*アニメーション*/
.text.offs .effect {
  opacity: 0;
}
.text.ons .effect {
  opacity: 1;
  transition-duration: 1s;
}

.copy{
  font-size:40px;
}

main{
  padding-top:100px;
}
.history{
  font-size: 30px;
  margin-left: 10%;
  color: #fff;
  text-shadow: 0 0 10px #f8f5f5,0 0 15px #f8f5f5;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
.circle{
  margin-left: 43.5%;
  margin-top: 3%;
}
.circle  img{
   width: 22%;
}

/* 中央の白い線（line.png）を固定表示 */
.timeline-line {
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  height: 101%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin-top: 7%;
}

.timeline-line img {
  height: 89%;
  width: auto;
  opacity: 0.9;
}

/* 各年ごとのセクション */
.year-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

/* 左右交互に配置 */
.year-section.left {
  justify-content: flex-end;
  padding-right: 55%;
  margin-top:-65%;
}

.year-section.right {
  justify-content: flex-start;
  padding-left: 55%;
  margin-top: -180%;
}
.year-section1.left {
  justify-content: flex-end;
  padding-right:48%;
  margin-top:-85%;
  margin-left: 10%;
}
.year-section2.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: 5%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-left: 7%;
  margin-top: 3%;
}
.year-section4.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -3%;
  margin-right: -2%;
}

/* 各年の画像 */
.year-img {
  width: 80%;
  max-width: 700px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* フェードイン */
.year-img.active {
  opacity: 1;
  transform: translateY(0);
}
.era{
  font-size: 15px;
  text-align: center;
  color:#fff;
  margin-top: 25%;
}


/* ===============================
スライダー部分
=============================== */
.slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 0 auto 120px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-top: 10%;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* ナビゲーション矢印 */
.navigation button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
  z-index: 5;
}



.navigation .prev {
  left: 3px;
}
.navigation .next {
  right: 3px;
}

/* インジケーター */
.indicators {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  height: 7px;
  width: 7px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #fff;
}




@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rights{
  color: #fff;
  font-size:10px;
  padding-top: 30px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}
}


@media  (min-width: 768px) and (max-width: 1000px) {

/*開いたら動画が再生*/
  #opv-wrap {
  animation: fadeIn .5s ease;
  z-index: 100;
  overflow-x: hidden;
  width: 100%;
  position: fixed;      /* ← ページ全体に固定 */
  top: 0;
  left: 0;
  height: 100vh;        /* ← 画面の高さにぴったり */
  z-index: 1000;        /* ← headerより下、でも前面に出したいなら1000くらい */
}


#opv-wrap.playEnd {
  animation: fadeOut 0.6s ease forwards;
  z-index: -100;
  overflow-x: hidden;
  width: 100%;

}

video#opv {
  position:absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  vertical-align: bottom;
  z-index: 100;
  overflow-x: hidden;
  width: 100%;
}

#page-wrap {
  height: 100vh;
  overflow-y: hidden;
  animation: fadeIn 0s ease;
  overflow-x: hidden;
  position: relative; /* ← headerと重なりの基準を分ける */
  z-index: 1; /* ← 下に置く */

}

#page-wrap.startView {
  overflow-y: auto;
  z-index: 100;
  overflow-x: hidden;
  
}

@keyframes fadeIn {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

@keyframes fadeOut {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
/*ここまで開いたら動画が再生*/


#sakura_block{
  width: 100%; 
  z-index:0;
}
#sakura_block .sakura_parts_box{
  position: relative;
  z-index:0;

}
#sakura_block .sakura_parts_box img{
  position: fixed;
  z-index:0;
  opacity: 0.7; /* ← 0に近いほど透ける（例: 0.5で半透明） */

}


#sakura_block .sakura_parts_box img:nth-child(2n+1){
  width: 400px;/*花びらのサイズ*/
  z-index:0;

}
#sakura_block .sakura_parts_box img:nth-child(2n){
  width: 400px;/*花びらのサイズ*/
  z-index:0;

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
img.parts_01{top: 450px; left: 5%;}
img.parts_02{top: -100px; left: 0%;}
img.parts_04{top: 1200px; left: 55%;}
img.parts_05{top: 250px; left: 55%;}
img.parts_06{top: 950px; left: 10%;}



@keyframes sakura {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(0, -600px);
    opacity: 1;
  }
  100% {
    transform: translate(0, -1200px);
    opacity: 0;
  }
}

.sakura_parts_box img {
    animation: sakura linear 6s infinite;
    /*アニメーションが始まるまで画像を見えなくしておく*/

}

/*-----------------------------------
アニメーションが始まるまでの時間
-----------------------------------*/
img.parts_01,img.parts_02{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s; /*アニメーションが終了するまでの時間*/

}
img.parts_03,img.parts_04{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_05,img.parts_06{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}
img.parts_07,img.parts_08{
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  animation-duration:10s;
  z-index:10;

}
img.parts_04,img.parts_9{
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-duration:10s;
  z-index:10;

}


html,body{
margin:0;
overflow-x: hidden;

}


body{
    background-color: #141d3b;
    height: auto;
    overflow-y: hidden;
    font-family:"yu-mincho-pr6n", sans-serif;
    margin:0;
    padding: 0;
}



/*header*/
header {
  width: 100%;
  height: 80px;
  padding: 0 40px;
  background: #141d3b;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ロゴ＋メニューを左寄せ */
  position: fixed;
  top: 0;
  border-bottom: 2px solid #fff;
  z-index: 999 !important; /* ← 強制的に最前面 */
  opacity: 1.0;
}

.logo img {
  height: 45px; /* ロゴサイズは調整してOK */
  width: auto;
  margin-top:5%;
}

nav {
  margin-left: 40px; /* ロゴとメニューの間隔 */
}

nav ul {
  list-style: none;
  display: flex;
  font-size: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  font-family:"yu-mincho-pr6n", sans-serif;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

nav ul li a:hover {
  text-decoration: underline;
}





/*========= クリックしたら別のものが動く際の指定 ===============*/
  
  /*----ボタンの形状----
  
  /*非表示エリアをはじめは隠す*/
  .hide_area{
    display: none;
    
  }

/*クリックされたら fadeUpクラスを付与し、display:block;で表示させる*/
  .hide_area.fadeUp {
    display:block;
    animation-delay: 0.4s;
  }

  .hide_area2.fadeUp {
      display:block;
      animation-delay: 0.5s;
    }

    .hide_area3.fadeUp {
      display:block;
      animation-delay: 0.6s;
    }
    .hide_area4.fadeUp {
      display:block;
      animation-delay: 0.7s;
    }
    .hide_area5.fadeUp {
      display:block;
      animation-delay: 0.8s;
    }




/*==================================================
ふわっ
===================================*/

/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateX(-100px);
  }

  to {
    opacity: 1;
  transform: translateX(0);
  }
}
/*一行ずつ出てくる*/


/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
	left: 0;
}


/*ここまで見出しの動き*/  
.main-title{
  text-align: center;
  color: #fff;
  margin-top: 12%;
  margin-bottom: 20%;
  font-weight: 100;
}

.title-logo{
  width:60%;
}



/*アニメーション*/
.text.offs .effect {
  opacity: 0;
}
.text.ons .effect {
  opacity: 1;
  transition-duration: 1s;
}






.copy{
  font-size:40px;
}







main{
  padding-top:100px;
}
.history{
  font-size: 50px;
  margin-left: 10%;
  color: #fff;
  text-shadow: 0 0 10px #f8f5f5,0 0 15px #f8f5f5;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}
.circle{
  margin-left: 43.5%;
}
.circle  img{
   width: 22%;
}

/* 中央の白い線（line.png）を固定表示 */
.timeline-line {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  height: 102%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin-top: 7%;
}

.timeline-line img {
  height: 89%;
  width: auto;
  opacity: 0.9;
}

/* 各年ごとのセクション */
.year-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

/* 左右交互に配置 */
.year-section.left {
  justify-content: flex-end;
  padding-right: 55%;
  margin-top:-54%;
}

.year-section.right {
  justify-content: flex-start;
  padding-left: 55%;
  margin-top: -105%;
}
.year-section1.left {
  justify-content: flex-end;
  padding-right:48%;
  margin-top:-43%;
  margin-left: 10%;
}
.year-section2.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: 15%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-top:6%;
  margin-left: 7%;
}
.year-section4.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: 3%;
  margin-right: -2%;
}

/* 各年の画像 */
.year-img {
  width: 80%;
  max-width: 700px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* フェードイン */
.year-img.active {
  opacity: 1;
  transform: translateY(0);
}
.era{
  font-size: 40px;
  text-align: center;
  color:#fff;
  margin-top: -3%;
}


/* ===============================
スライダー部分
=============================== */
.slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 0 auto 120px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-top: 10%;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* ナビゲーション矢印 */
.navigation button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 36px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s;
  z-index: 5;
}



.navigation .prev {
  left: 10px;
}
.navigation .next {
  right: 10px;
}

/* インジケーター */
.indicators {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #fff;
}




@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rights{
  color: #fff;
  font-size:14px;
  padding-top: 30px;
  bottom: 0;
  text-align: center;
  width: 100%;
  margin: auto;
}

}





























#about{
  width: 92%;
  margin: auto;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  margin-top: 30px;
}

#tt{
  position: relative;
  background-image: url(images/tt-side.png);
  background-repeat: no-repeat;
  z-index: 9;
  padding-bottom: 50px;
}

#tt h3{
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-shadow: 0 0 15px #359dd1,0 0 15px #359dd1;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 20px;
  margin-top: 0;
  margin-left: 35px;
}

#tt p{
  text-align: center;
  font-size: 17px;
  font-family: 'Noto Serif JP', serif;
  color: #fff;
}

#tt .tt-last{
  padding-bottom: 60px;
}


#tt span{
  text-align: center;
  font-size: 15px;
  font-family: 'Noto Serif JP', serif;
}

/* ───────────────────────────────
    背景で光りながら現れて消える文字
─────────────────────────────── */

.tt-li h1{
  position: absolute;
  top: 17%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-size: 12vw;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-shadow:
    0 0 15px rgba(255, 90, 200, 0.4),
    0 0 30px rgba(120, 170, 255, 0.4),
    0 0 45px rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: floatingFade 6s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;              /* 背景側 */
}

/* ★ こっちを前面に出す */
#tt .tt-li h3,
#tt .tt-li p{
  position: relative;
  z-index: 1;
}

/* ── 輝きながら浮かび上がり消えるアニメ ── */
@keyframes floatingFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    filter: blur(3px);
  }
  30% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(1px);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.05);
    filter: blur(0px);
  }
  80% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    filter: blur(3px);
  }
}


.no2 h1{
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-size: 12vw;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-shadow:
    0 0 15px rgba(255, 90, 200, 0.4),
    0 0 30px rgba(120, 170, 255, 0.4),
    0 0 45px rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: floatingFade 6s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;              /* 背景側 */
}
.no3 h1{
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-size: 12vw;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-shadow:
    0 0 15px rgba(255, 90, 200, 0.4),
    0 0 30px rgba(120, 170, 255, 0.4),
    0 0 45px rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: floatingFade 6s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;              /* 背景側 */
}
.no4 h1{
  position: absolute;
  top: 87%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  font-size: 12vw;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-shadow:
    0 0 15px rgba(255, 90, 200, 0.4),
    0 0 30px rgba(120, 170, 255, 0.4),
    0 0 45px rgba(255, 255, 255, 0.4);
  opacity: 0;
  animation: floatingFade 6s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;              /* 背景側 */
}

.no4 p{
  margin-top: 2%;

}

@media (max-width: 767px) {
  .tt-li h1{
    position: absolute;
    top: 17%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 40vw;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-shadow:
      0 0 15px rgba(255, 90, 200, 0.4),
      0 0 30px rgba(120, 170, 255, 0.4),
      0 0 45px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: floatingFade 6s ease-in-out infinite;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;              /* 背景側 */
  }
  .no2 h1{
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 40vw;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-shadow:
      0 0 15px rgba(255, 90, 200, 0.4),
      0 0 30px rgba(120, 170, 255, 0.4),
      0 0 45px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: floatingFade 6s ease-in-out infinite;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;              /* 背景側 */
  }
  .no3 h1{
    position: absolute;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 40vw;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-shadow:
      0 0 15px rgba(255, 90, 200, 0.4),
      0 0 30px rgba(120, 170, 255, 0.4),
      0 0 45px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: floatingFade 6s ease-in-out infinite;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;              /* 背景側 */
  }
  .no4 h1{
    position: absolute;
    top: 87%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    font-size: 40vw;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    text-shadow:
      0 0 15px rgba(255, 90, 200, 0.4),
      0 0 30px rgba(120, 170, 255, 0.4),
      0 0 45px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: floatingFade 6s ease-in-out infinite;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;              /* 背景側 */
  }
  
  #tt p{
    text-align: center;
    font-size: 15px;
    font-family: 'Noto Serif JP', serif;
    color: #fff;
  }

}