/* ===== index.html 固有スタイル ===== */

/* スクロールアニメーション */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ヒーローグラデーション */
.hero-gradient {
  background:
    linear-gradient(135deg, rgba(244, 114, 182, 0.90) 0%, rgba(251, 146, 60, 0.90) 60%, rgba(253, 224, 71, 0.90) 100%),
    url('/image/mv.jpeg') center / cover no-repeat;
}

/* アコーディオン */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content.open {
  max-height: 500px;
}
.accordion-arrow {
  transition: transform 0.3s ease;
}
.accordion-arrow.open {
  transform: rotate(180deg);
}

/* スマートフォンモックアップ */
.phone-mockup {
  width: 160px;
  height: 280px;
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(244, 114, 182, 0.35), inset 0 0 0 6px rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 3px;
}
.phone-mockup::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
}

/* 波型SVG背景 */
.wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
}

/* ステップ接続線 */
.step-connector {
  border-top: 2px dashed #F9A8D4;
  flex: 1;
  margin-top: -20px;
}

/* 吹き出しカード */
.speech-bubble {
  position: relative;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  left: 24px;
  bottom: -12px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid white;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.06));
}

/* マーカーハイライト */
.marker-highlight {
  background: linear-gradient(transparent 60%, #FDE047 60%);
}

/* プレースホルダー画像 */
.placeholder-img {
  background: linear-gradient(135deg, #FFF1F2, #FCE7F3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* 数値カードグラデーション */
.stat-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

/* 傾いたスマホモック（REASONセクション） */
.phone-tilted {
  transform: rotate(-8deg);
}

/* フォームフォーカス */
.form-input:focus {
  outline: none;
  border-color: #F472B6;
  box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.15);
}

/* ファーストビューのアニメーション */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text { animation: slideInLeft 0.8s ease forwards; }
.hero-phone { animation: slideInRight 0.8s ease 0.3s forwards; opacity: 0; }
.hero-stats { animation: fadeInUp 0.8s ease 0.6s forwards; opacity: 0; }

/* ステップ番号グラデーション */
.step-icon {
  background: linear-gradient(135deg, #F472B6, #FB923C);
}
