@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&family=Noto+Sans+JP:wght@100..900&display=swap');

.wfc_wrap {
  /* ポップで丸みのあるフォントに変更 */
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}

.hero-bg-image {
  background-image: url('/event/w-follow-cp/bsn6chxhalletta/images/bg_halletta-sky.jpg');
  /* background-size: cover; */
  background-position: center;
}

.btn-action {
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.btn-action:hover {
  transform: scale(1.05);
  animation-play-state: paused;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(251, 146, 60, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0);
  }
}

.step-icon {
  animation: bounce-in 0.6s ease-out;
}

@keyframes bounce-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- ここからアニメーションのCSSを更新 --- */

/* タイトルがバウンドしながら登場するアニメーション */
@keyframes bounce-in-top {
  0% {
    opacity: 0;
    transform: translateY(-100px) scale(0.8);
  }

  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.05);
  }

  80% {
    transform: translateY(-5px) scale(0.95);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* キャラクターが常に上下にふわふわ動くアニメーション */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* アニメーションを適用するためのクラス */
.animate-title {
  animation: bounce-in-top 1s ease-out 0.2s both;
  /* 0.2秒遅れて開始 */
}

.animate-character {
  animation: float 3s ease-in-out infinite;
  /* 3秒かけて上下し、無限に繰り返す */
}

/* --- ここまでアニメーションのCSS --- */

@media (max-width: 899px) {
  #heading {
    margin: 0;
  }

  .footer_img img {
    margin: 0 auto 30px !important;
  }
}