/* ===================================================
   section-08-turning-point.css
   Section 8-9: 転換点 + 2つの答え（統合版）
   =================================================== */

.turning-point {
  position: relative;
  padding: 100px 24px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 60px,
      rgba(255, 255, 255, 0.2) 60px,
      rgba(255, 255, 255, 0.2) 61px
    ),
    radial-gradient(
      ellipse at top right,
      rgba(255, 225, 56, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom left,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      #B8E0F5 0%,
      #A5D5EF 50%,
      #B8E0F5 100%
    );
  overflow: hidden;
}

/* ---------- 背景パーティクル ---------- */
.turning-point__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.turning-point__particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}

.turning-point__particle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 8%;
  background: radial-gradient(circle, #FFE138 0%, rgba(255, 199, 0, 0.2) 70%);
  box-shadow: 0 0 40px rgba(255, 199, 0, 0.6);
}

.turning-point__particle:nth-child(2) {
  width: 50px;
  height: 50px;
  top: 70%;
  left: 12%;
  background: radial-gradient(circle, #FFE138 0%, rgba(255, 199, 0, 0.2) 70%);
  animation-delay: 1.5s;
}

.turning-point__particle:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 10%;
  background: radial-gradient(circle, rgba(91, 164, 217, 0.6) 0%, rgba(91, 164, 217, 0) 70%);
  animation-delay: 0.8s;
}

.turning-point__particle:nth-child(4) {
  width: 40px;
  height: 40px;
  bottom: 15%;
  right: 15%;
  background: radial-gradient(circle, #FFE138 0%, rgba(255, 199, 0, 0.2) 70%);
  animation-delay: 2.2s;
}

.turning-point__particle:nth-child(5) {
  width: 30px;
  height: 30px;
  top: 45%;
  left: 5%;
  background: radial-gradient(circle, rgba(91, 164, 217, 0.5) 0%, rgba(91, 164, 217, 0) 70%);
  animation-delay: 3s;
}

.turning-point__particle:nth-child(6) {
  width: 35px;
  height: 35px;
  top: 55%;
  right: 6%;
  background: radial-gradient(circle, rgba(91, 164, 217, 0.5) 0%, rgba(91, 164, 217, 0) 70%);
  animation-delay: 1s;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

/* ---------- インナー（スマホ：通常フロー） ---------- */
.turning-point__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- リードラベル ---------- */
.turning-point__lead {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-blue-5);
  letter-spacing: 0.15em;
  padding: 8px 24px;
  background: #FFFFFF;
  border: 2px solid var(--color-blue-3);
  border-radius: 9999px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(30, 111, 160, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.turning-point.is-visible .turning-point__lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* ---------- タイトル ---------- */
.turning-point__title {
  font-family: var(--font-jp);
  font-size: clamp(26px, 6.5vw, 42px);
  font-weight: 900;
  line-height: 1.5;
  color: var(--color-text-main);
  margin: 0 0 48px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.turning-point.is-visible .turning-point__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.turning-point__title-highlight {
  display: inline-block;
  color: var(--color-blue-5);
  position: relative;
}

.turning-point__title-highlight::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FFE138, #FFC700);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}

.turning-point.is-visible .turning-point__title-highlight::after {
  transform: scaleX(1);
  transition-delay: 1.3s;
}

/* ---------- 女性ビジュアル（スマホ） ---------- */
.turning-point__visual {
  position: relative;
  width: 85%;
  max-width: 360px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease, transform 1s ease;
}

.turning-point.is-visible .turning-point__visual {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.8s;
}

.turning-point__visual-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  padding-bottom: 115%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 225, 56, 0.6) 0%,
    rgba(255, 199, 0, 0.3) 30%,
    rgba(255, 199, 0, 0.1) 60%,
    rgba(255, 199, 0, 0) 80%
  );
  z-index: 0;
  animation: burstPulse 3s ease-in-out infinite;
}

@keyframes burstPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.turning-point__visual-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  padding-bottom: 130%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 225, 56, 0.15) 0%,
    rgba(255, 225, 56, 0) 70%
  );
  z-index: 0;
}

.turning-point__visual-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 50px rgba(15, 26, 48, 0.3));
}

/* ---------- 2つの答えカード（スマホ：縦並び） ---------- */
.turning-point__answers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.turning-point__answer {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 24px 28px;
  box-shadow:
    0 30px 70px rgba(30, 111, 160, 0.25),
    0 12px 30px rgba(30, 111, 160, 0.15);
  border: 2px solid rgba(184, 216, 242, 0.6);
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  overflow: hidden;
}

.turning-point__answer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #FFE138 0%, #FFC700 50%, #FFE138 100%);
}

.turning-point__answer::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 56, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.turning-point__answer:nth-child(1) {
  transform: translateX(-30px);
}

.turning-point__answer:nth-child(2) {
  transform: translateX(30px);
}

.turning-point.is-visible .turning-point__answer:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.5s;
}

.turning-point.is-visible .turning-point__answer:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.8s;
}

.turning-point__answer-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  background: linear-gradient(135deg, #3B8FD9 0%, #1E6FA0 100%);
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(30, 111, 160, 0.3);
  position: relative;
  z-index: 1;
}

/* チェック+テキストを横並びにする */
.turning-point__answer-body {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-left: 20px;
  position: relative;
  z-index: 1;
}

.turning-point__answer-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE138 0%, #FFC700 50%, #E6A800 100%);
  box-shadow:
    0 5px 14px rgba(255, 199, 0, 0.45),
    inset -2px -2px 6px rgba(230, 168, 0, 0.3),
    inset 2px 2px 5px rgba(255, 255, 255, 0.5);
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.turning-point__answer-text {
  font-family: var(--font-jp);
  font-size: 19px;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* ===================================================
   PC（768px以上）：左にカード2枚、右に女性の横並び
   =================================================== */
@media (min-width: 768px) {
  .turning-point {
    padding: 140px 48px;
  }

  /* inner を grid 化：上にリード/タイトル、下に answers(左) と visual(右) */
  .turning-point__inner {
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "lead    lead"
      "title   title"
      "answers visual";
    column-gap: 64px;
    align-items: center;
  }

  .turning-point__lead {
    grid-area: lead;
    justify-self: center;
    font-size: 16px;
    padding: 10px 32px;
    margin-bottom: 32px;
  }

  .turning-point__title {
    grid-area: title;
    font-size: clamp(36px, 4vw, 56px);
    margin: 0 0 64px 0;
  }

  .turning-point__answers {
    grid-area: answers;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    margin: 0;
  }

  .turning-point__visual {
    grid-area: visual;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .turning-point__answer {
    padding: 36px 32px 32px;
  }

  .turning-point__answer-label {
    font-size: 14px;
    padding: 8px 20px;
    margin-bottom: 22px;
  }

  .turning-point__answer-body {
    gap: 18px;
  }

  .turning-point__answer-check {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .turning-point__answer-text {
    font-size: 22px;
  }
}