@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
  --primary: #6366f1;
  --accent: #a855f7;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* プレミアムな背景アニメーション */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.1) 0px, transparent 50%);
}

/* ふわっと浮き上がる出現アニメーション */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* カードのホバーエフェクト */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}

/* スムーズなスライド切り替え */
.slide-enter {
  animation: slideFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: scale(0.98) translateX(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

/* ボタンの波紋のようなアニメーション */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
}

.btn-premium:active::after {
  transform: translate(-50%, -50%) scale(1);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
