/*開いたら動画が再生*/
  #opv-wrap {
  animation: fadeIn .5s ease;
  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;
  width: 300px;     /* ← 花びらのサイズ小さめ */
  opacity: 0.2;     /* ← 薄め */
  z-index: 0;
  animation: sakura linear 12s infinite;
  animation-fill-mode: both;

}


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

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

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
img.parts_01 { top:  100px; left: 10%; }
img.parts_02 { top:  500px; left: 25%; }
img.parts_03 { top:  700px; left: 70%; }
img.parts_04 { top: 1200px; left: 70%; }
img.parts_05 { top: 1900px; left: 75%; }
img.parts_06 { top:  300px; left: 80%; }
img.parts_07 { top:  800px; left: 5%;  }
img.parts_08 { top: 1000px; left: 45%; }
img.parts_09 { top: 1500px; left: 30%; }



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


.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;
}
.ex{
  font-size: 30px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 25px #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){ 
#sakura_block{
  width: 100%; 
  z-index:0;
}
#sakura_block .sakura_parts_box{
  position: relative;
  z-index:0;

}
  #sakura_block .sakura_parts_box img {
    width: 150px;   /* スマホ用にさらに小さく */
    opacity: 0.25;  /* 薄めキープで見やすく */
  }


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

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

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
  img.parts_01 { top: 60px;  left: 5%; }
  img.parts_02 { top: 350px; left: 18%; }
  img.parts_03 { top: 550px; left: 65%; }
  img.parts_04 { top: 1150px; left: 55%; }  /* ←04は下げて左へ */
  img.parts_05 { top: 1500px; left: 70%; } /* ←04との間を広げる */
  img.parts_06 { top: 200px; left: 75%; }
  img.parts_07 { top: 600px; left: 10%; }
  img.parts_08 { top: 850px; left: 40%; }  /* ←04と05の間に自然に */
  img.parts_09 { top: 1250px; left: 5%; }





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

}




.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;
}
.ex{
  font-size: 13px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 4px #f8f5f5,0 0 4px #f8f5f5;
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 7%;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  margin-top: 5%;
}
.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:-75%;
}

.year-section.right {
  justify-content: flex-start;
  padding-left: 55%;
  margin-top: -150%;
}
.year-section1.left {
  justify-content: flex-end;
  padding-right:48%;
  margin-top:-75%;
  margin-left: 10%;
}
.year-section2.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: 1%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-left: 7%;
  margin-top: -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: 15px;
  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: 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){
 
#sakura_block{
  width: 100%; 
  z-index:0;
}
#sakura_block .sakura_parts_box{
  position: relative;
  z-index:0;

}
  #sakura_block .sakura_parts_box img {
    width: 150px;   /* スマホ用にさらに小さく */
    opacity: 0.25;  /* 薄めキープで見やすく */
  }


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

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

}

/*-----------------------------------
パーツの表示位置
----------------------------------*/
  img.parts_01 { top: 60px;  left: 5%; }
  img.parts_02 { top: 350px; left: 18%; }
  img.parts_03 { top: 550px; left: 65%; }
  img.parts_04 { top: 1150px; left: 55%; }  /* ←04は下げて左へ */
  img.parts_05 { top: 1500px; left: 70%; } /* ←04との間を広げる */
  img.parts_06 { top: 200px; left: 75%; }
  img.parts_07 { top: 600px; left: 10%; }
  img.parts_08 { top: 850px; left: 40%; }  /* ←04と05の間に自然に */
  img.parts_09 { top: 1250px; left: 5%; }





.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;
  margin-top: -3%;
}
.ex{
  font-size: 13px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 4px #f8f5f5,0 0 4px #f8f5f5;
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 5%;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  margin-top: 25%;
}
.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: 92%;
  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:-90%;
}

.year-section.right {
  justify-content: flex-start;
  padding-left: 55%;
  margin-top: -170%;
}
.year-section1.left {
  justify-content: flex-end;
  padding-right:48%;
  margin-top:-95%;
  margin-left: 10%;
}
.year-section2.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -3%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-left: 7%;
  margin-top: -12%;
}
.year-section4.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -2%;
  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: 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: 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) {




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

}
  #sakura_block .sakura_parts_box img {
    width: 200px;   /* 全体的に少し小さく */
    opacity: 0.25;  /* PCよりほんの少し濃いめにしてもバランス取れる */
  }


#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: 80px;  left: 8%; }
  img.parts_02 { top: 400px; left: 22%; }
  img.parts_03 { top: 600px; left: 68%; }
  img.parts_04 { top: 1250px; left: 70%; } /* ←04を少し左へずらす */
  img.parts_05 { top: 1700px; left: 72%; } /* ←04との上下距離を確保 */
  img.parts_06 { top: 250px; left: 78%; }
  img.parts_07 { top: 700px; left: 8%;  }
  img.parts_08 { top: 950px; left: 42%; } /* ←04との重なり解消 */
  img.parts_09 { top: 1400px; left: 28%; }





.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: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: 50px;
  margin-left: 10%;
  color: #fff;
  text-shadow: 0 0 10px #f8f5f5,0 0 15px #f8f5f5;
}
.ex{
  font-size: 30px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 25px #f8f5f5,0 0 15px #f8f5f5;
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 7%;
}
/* タイムライン全体 */
.timeline-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  margin-top: 12%;
}
.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: -120%;
}
.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: 1%;
}
.year-section3.left {
  justify-content: flex-end;
  padding-right:43%;
  margin-top:-12%;
  margin-left: 7%;
}
.year-section4.right {
  justify-content: flex-start;
  padding-left: 52%;
  margin-top: -5%;
  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;
}

}

