/* custom.css – カスタムスタイルをここに追加 */

/* リダイレクト用要素をクリック可能に */
.redirect-page {
  cursor: pointer;
}

/* スマホ表示時のSnapWidget高さ調整 */
@media screen and (max-width: 768px) {
  .snapwidget-widget {
    height: 500px !important;
  }
}

.youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  cursor: pointer;
  overflow: hidden;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.youtube .play-button {
  width: 90px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.youtube .play-button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid #fff;
}

/* Instagramバナーのホバー・タッチ効果 */
a.instagram-touch-effect img {
  transition: opacity 0.3s ease;
}

a.instagram-touch-effect:hover img,
a.instagram-touch-effect:active img {
  opacity: 0.7;
}

@keyframes fadeUpIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-title {
  animation: fadeUpIn 1s ease-out 0.5s both;
  display: inline-block;
  opacity: 0;
}

@keyframes fadeUpTitle {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* 修正：アニメーションを後付けで起動 */
.animate-title-start {
  opacity: 0;
  transform: scale(0.96);
}

.animate-title-start.is-active {
  animation: floatFadeIn 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes floatFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}