/* =========================================
   レッスン内容ページ固有スタイル
   ========================================= */

/* --- Page Hero --- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--pink-bg);
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.page-hero-lead {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 2;
}

/* Current nav link */
.nav-list a.current {
  color: var(--pink);
}
.nav-list a.current::after {
  width: 100%;
}

/* --- Feature Section --- */
.lesson-feature {
  position: relative;
  overflow: hidden;
}

.lesson-feature:nth-child(odd) {
  background: var(--white);
}

.lesson-feature:nth-child(even) {
  background: var(--gray-light);
}

/* Background music decorations */
.lesson-bg-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  font-size: 12rem;
  color: var(--pink);
  font-family: serif;
  z-index: 0;
}

.lesson-bg-deco.deco-left {
  left: -40px;
  top: 20%;
}

.lesson-bg-deco.deco-right {
  right: -40px;
  bottom: 10%;
}

/* Background staff lines */
.lesson-bg-staff {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lesson-bg-staff svg {
  width: 100%;
  height: 100%;
}

/* --- Feature Inner Layout --- */
.lesson-feature-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lesson-feature:nth-child(even) .lesson-feature-inner {
  flex-direction: row-reverse;
}

/* --- Blob Image --- */
.lesson-feature-image {
  flex: 0 0 320px;
}

.blob-frame {
  position: relative;
  width: 300px;
  height: 300px;
  animation: blobFloat 6s ease-in-out infinite;
}

.blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50% 45% 55% 40% / 40% 55% 45% 50%;
  box-shadow: 0 12px 40px rgba(200, 90, 124, 0.15);
}

/* Different blob shapes per feature */
.lesson-feature:nth-child(2) .blob-frame img {
  border-radius: 45% 55% 40% 50% / 55% 40% 50% 45%;
}

.lesson-feature:nth-child(3) .blob-frame img {
  border-radius: 55% 40% 50% 45% / 45% 50% 40% 55%;
}

.lesson-feature:nth-child(4) .blob-frame img {
  border-radius: 40% 50% 45% 55% / 50% 45% 55% 40%;
}

.lesson-feature:nth-child(5) .blob-frame img {
  border-radius: 48% 52% 42% 58% / 52% 42% 58% 48%;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

.lesson-feature:nth-child(even) .blob-frame {
  animation-delay: -2s;
}

.lesson-feature:nth-child(3) .blob-frame {
  animation-delay: -4s;
}

/* --- Feature Content --- */
.lesson-feature-content {
  flex: 1;
}

.lesson-feature-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.lesson-feature-number .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--pink);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50%;
}

.lesson-feature-number .label {
  font-size: 0.75rem;
  color: var(--pink);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lesson-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--pink);
}

.lesson-feature-content p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 16px;
}

.lesson-feature-content p:last-child {
  margin-bottom: 0;
}

/* --- Testimonial Box inside feature --- */
.lesson-testimonial {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--pink-bg);
  border-radius: 12px;
  border-left: 3px solid var(--pink-light);
}

.lesson-feature:nth-child(even) .lesson-testimonial {
  background: var(--white);
}

.lesson-testimonial p {
  font-size: 0.84rem !important;
  font-style: italic;
  color: var(--gray) !important;
  line-height: 1.9 !important;
  margin-bottom: 8px !important;
}

.lesson-testimonial p:last-child {
  margin-bottom: 0 !important;
}

.lesson-testimonial .author {
  font-size: 0.75rem;
  color: var(--pink);
  font-weight: 600;
  font-style: normal;
  text-align: right;
  display: block;
  margin-top: 8px;
}

/* --- Instructor Review inside feature --- */
.lesson-instructor-review {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(200, 90, 124, 0.04);
  border-radius: 12px;
}

.lesson-instructor-review-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.lesson-instructor-review blockquote {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.9;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--pink-light);
}

.lesson-instructor-review blockquote:last-child {
  margin-bottom: 0;
}

/* --- Voices Section --- */
.lesson-voices {
  background: var(--pink-bg);
  position: relative;
  overflow: hidden;
}

.lesson-voices-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lesson-voices-bg svg {
  width: 100%;
  height: 100%;
}

.lesson-voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.lesson-voice-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.lesson-voice-card:hover {
  transform: translateY(-4px);
}

.lesson-voice-card::before {
  content: "\201C";
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: var(--pink-light);
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}

.lesson-voice-card p {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 2;
  padding-top: 12px;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 960px) {
  .page-hero {
    padding: 140px 0 64px;
  }

  .lesson-feature-inner,
  .lesson-feature:nth-child(even) .lesson-feature-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lesson-feature-image {
    flex: none;
  }

  .blob-frame {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }

  .lesson-feature-title {
    border-left: none;
    padding-left: 0;
    border-bottom: 3px solid var(--pink);
    padding-bottom: 12px;
  }

  .lesson-feature-content {
    text-align: left;
  }

  .lesson-voices-grid {
    grid-template-columns: 1fr;
  }

  .lesson-feature-inner {
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 110px 0 48px;
  }

  .page-hero-title {
    font-size: 1.5rem;
  }

  .page-hero-lead {
    font-size: 0.85rem;
    line-height: 1.8;
  }

  .page-hero-lead br {
    display: none;
  }

  .blob-frame {
    width: 180px;
    height: 180px;
  }

  .lesson-feature-inner {
    gap: 28px;
  }

  .lesson-feature-title {
    font-size: 1.05rem;
  }

  .lesson-feature-content p {
    font-size: 0.84rem;
  }

  .lesson-testimonial {
    padding: 16px;
  }

  .lesson-instructor-review {
    padding: 16px;
  }

  .lesson-voice-card {
    padding: 22px 18px;
  }

  .lesson-voice-card p {
    font-size: 0.8rem;
  }

  .lesson-bg-deco {
    font-size: 8rem;
  }
}
