/* ========================================
   TOP PAGE - INTRO (ふわふわスライダー)
   ======================================== */

.intro {
  padding: var(--space-xl) 0;
  background: var(--clr-white);
}

.intro .container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* ── ふわふわスライダー ────────────────────── */
.fuwafuwa-slider {
  flex: 0 0 480px;
  max-width: 480px;
}

.splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.morphing-shape {
  width: 400px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(84, 136, 211, 0.2);
}

.morphing-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* モーフィングアニメーション */
@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
  }
  75% {
    border-radius: 40% 60% 40% 60% / 70% 30% 60% 40%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Splideのカスタマイズ - 矢印とドットを非表示 */
.fuwafuwa-slider .splide__arrows,
.fuwafuwa-slider .splide__pagination,
.plan-fuwafuwa-slider .splide__arrows,
.plan-fuwafuwa-slider .splide__pagination {
  display: none;
}

/* ── 右側テキスト ────────────────────── */
.intro-text {
  flex: 1;
}

.intro-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--clr-primary); /* 青色に変更 */
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.intro-text p {
  font-size: 1rem;
  color: var(--clr-text-lt);
  line-height: 1.9;
  margin-bottom: var(--space-sm);
}

/* ── レスポンシブ ────────────────────────── */
@media (max-width: 900px) {
  .intro .container {
    flex-direction: column;
    text-align: center;
  }

  .fuwafuwa-slider {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .morphing-shape {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 600px) {
  .morphing-shape {
    width: 280px;
    height: 280px;
  }
}
