@charset "UTF-8";
/* CSS Document */

/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/

.opacityAnime{
  opacity: 0;
}


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

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:1.0s;
animation-fill-mode:both;
opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(30px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* アニメーションスタートの遅延時間を決めるCSS*/

.delay-time02{
animation-delay: 0.2s;
     opacity: 1; /* ここでopacityを1に設定する */
}

.delay-time04{
animation-delay: 0.4s;
    
}



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


/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1.0s;
animation-fill-mode:both;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 汎用的なアニメーション用のクラス */
.animate-up {
    opacity: 0; /* 最初は透明 */
    transform: translateY(100%); /* 下に隠れる */
    transition: opacity 1s ease-out, transform 1s ease-out; /* スクロール時のアニメーション */
    will-change: transform, opacity; /* アニメーション最適化 */
    overflow: hidden; /* 下部が隠れるようにする */
}

/* 地面から出てくるようなアニメーション */
@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(80%); /* 下に隠れている */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* 画面上にスライドして表示 */
    }
}

/* アニメーションを適用するクラス */
.show {
    animation: slide-up 0.7s ease-out forwards; /* 画面内に入ったらアニメーション */
}


