/* ===================================================
   section-04-alone.css
   Section 4: 安心の一言「あなただけではありません」
   派手バナー + 女性画像版
   =================================================== */

.alone {
  position: relative;
  padding: 100px 24px;
  background:
    /* 模様レイヤー：斜めのストライプ（超薄い） */
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 60px,
      rgba(255, 255, 255, 0.03) 60px,
      rgba(255, 255, 255, 0.03) 61px
    ),
    /* 光の層：柔らかい光 */
    radial-gradient(
      ellipse at top right,
      rgba(123, 196, 232, 0.4) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at bottom left,
      rgba(26, 90, 138, 0.3) 0%,
      transparent 60%
    ),
    /* ベースの青グラデーション */
    linear-gradient(
      180deg,
      #2E7AB8 0%,
      #3FA3D1 50%,
      #2E7AB8 100%
    );
  overflow: hidden;
}

/* 背景装飾：大きなぼかし円 */
.alone::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 164, 217, 0.25) 0%,
    rgba(91, 164, 217, 0) 70%
  );
  pointer-events: none;
  animation: aloneFloat1 6s ease-in-out infinite;
  z-index: 0;
}

.alone::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 122, 184, 0.2) 0%,
    rgba(46, 122, 184, 0) 70%
  );
  pointer-events: none;
  animation: aloneFloat2 7s ease-in-out infinite;
  z-index: 0;
}

@keyframes aloneFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

@keyframes aloneFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

/* 背景装飾：浮遊するポップな要素たち */
.alone__deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.alone__deco-dot {
  position: absolute;
  border-radius: 50%;
  animation: dotFloat 4s ease-in-out infinite;
}

.alone__deco-dot:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 8%;
  background: radial-gradient(circle at 30% 30%, #FFE138 0%, #FFC700 60%, #E6A800 100%);
  box-shadow:
    0 20px 50px rgba(255, 199, 0, 0.5),
    0 8px 20px rgba(255, 199, 0, 0.4),
    inset -8px -8px 20px rgba(230, 168, 0, 0.3),
    inset 4px 4px 12px rgba(255, 255, 255, 0.4);
  animation-delay: 0s;
}

.alone__deco-dot:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 65%;
  left: 12%;
  background: radial-gradient(circle at 30% 30%, #7BBDE5 0%, #3FA3D1 60%, #1E6FA0 100%);
  box-shadow:
    0 15px 40px rgba(30, 111, 160, 0.4),
    inset -6px -6px 16px rgba(30, 111, 160, 0.3),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4);
  animation-delay: 1s;
}

.alone__deco-dot:nth-child(3) {
  width: 70px;
  height: 70px;
  top: 15%;
  right: 10%;
  background: radial-gradient(circle at 30% 30%, #FFE138 0%, #FFC700 60%, #E6A800 100%);
  box-shadow:
    0 15px 40px rgba(255, 199, 0, 0.5),
    inset -6px -6px 16px rgba(230, 168, 0, 0.3),
    inset 4px 4px 10px rgba(255, 255, 255, 0.4);
  animation-delay: 2s;
}

.alone__deco-dot:nth-child(4) {
  width: 90px;
  height: 90px;
  bottom: 10%;
  right: 8%;
  background: radial-gradient(circle at 30% 30%, #7BBDE5 0%, #3FA3D1 60%, #1E6FA0 100%);
  box-shadow:
    0 20px 50px rgba(30, 111, 160, 0.4),
    inset -8px -8px 20px rgba(30, 111, 160, 0.3),
    inset 4px 4px 12px rgba(255, 255, 255, 0.4);
  animation-delay: 0.5s;
}

.alone__deco-dot:nth-child(5) {
  width: 40px;
  height: 40px;
  top: 45%;
  left: 4%;
  background: radial-gradient(circle at 30% 30%, #FFE138 0%, #FFC700 70%);
  box-shadow:
    0 0 30px rgba(255, 199, 0, 0.8),
    0 10px 25px rgba(255, 199, 0, 0.5),
    inset -3px -3px 8px rgba(230, 168, 0, 0.3);
  animation-delay: 1.5s;
}

.alone__deco-dot:nth-child(6) {
  width: 35px;
  height: 35px;
  top: 50%;
  right: 5%;
  background: radial-gradient(circle at 30% 30%, #FFE138 0%, #FFC700 70%);
  box-shadow:
    0 0 30px rgba(255, 199, 0, 0.8),
    0 10px 25px rgba(255, 199, 0, 0.5),
    inset -3px -3px 8px rgba(230, 168, 0, 0.3);
  animation-delay: 2.5s;
}

@keyframes dotFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.08);
  }
}

.alone__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* --- 前半バッジ --- */
.alone__prefix {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.15em;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.alone.is-visible .alone__prefix {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* --- コンテンツラッパー --- */
.alone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

/* --- 女性ビジュアル --- */
.alone__visual {
  position: relative;
  width: 80%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 1s ease, transform 1s ease;
}

.alone.is-visible .alone__visual {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

.alone__visual-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding-bottom: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #FFE138 0%,
    #FFC700 35%,
    rgba(255, 199, 0, 0.4) 65%,
    rgba(255, 199, 0, 0) 100%
  );
  z-index: 0;
  animation: bgPulse 4s ease-in-out infinite;
}

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

.alone__visual-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(30, 111, 160, 0.25));
}

.alone__visual-star {
  position: absolute;
  font-size: 32px;
  color: #FFC700;
  z-index: 2;
  animation: starTwinkle 2s ease-in-out infinite;
}

.alone__visual-star--1 {
  top: 10%;
  right: 0%;
  animation-delay: 0s;
}

.alone__visual-star--2 {
  top: 40%;
  left: -5%;
  font-size: 28px;
  animation-delay: 0.7s;
}

.alone__visual-star--3 {
  bottom: 20%;
  right: 5%;
  font-size: 32px;
  animation-delay: 1.4s;
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.3) rotate(180deg);
  }
}

/* --- バナー本体 --- */
.alone__banner {
  position: relative;
  background: linear-gradient(
    135deg,
    #1A5A8A 0%,
    #2E7AB8 40%,
    #3FA3D1 100%
  );
  border-radius: 32px;
  padding: 40px 24px;
  box-shadow:
    0 30px 80px rgba(30, 111, 160, 0.4),
    0 15px 40px rgba(30, 111, 160, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 1s ease, transform 1s ease;
}

.alone.is-visible .alone__banner {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.6s;
}

.alone__banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,199,0,0.15) 0%, transparent 30%);
  pointer-events: none;
  animation: bannerShine 8s ease-in-out infinite;
}

@keyframes bannerShine {
  0%, 100% { opacity: 0.6; transform: rotate(0deg); }
  50% { opacity: 1; transform: rotate(5deg); }
}

.alone__banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 199, 0, 0.4) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.alone__quote-left,
.alone__quote-right {
  display: none;
}

.alone__quote-left {
  top: 10px;
  left: 20px;
}

.alone__quote-right {
  bottom: -40px;
  right: 20px;
}

.alone__main {
  position: relative;
  z-index: 2;
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 900;
  line-height: 1.6;
  color: #FFFFFF;
  text-shadow:
    0 4px 20px rgba(15, 26, 48, 0.4),
    0 2px 8px rgba(15, 26, 48, 0.3);
  margin: 0;
}

.alone__main-line1 {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.alone__main-line2 {
  display: block;
  position: relative;
}

.alone__highlight {
  display: inline-block;
  position: relative;
  padding: 0 8px;
}

.alone__highlight::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  width: calc(100% + 8px);
  height: 50%;
  background: linear-gradient(
    90deg,
    #FFE138 0%,
    #FFC700 100%
  );
  z-index: -1;
  border-radius: 4px;
}

.alone__submessage {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.alone.is-visible .alone__submessage {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

/* ===================================================
   PC（768px〜）
   =================================================== */
@media (min-width: 768px) {
  .alone {
    padding: 160px 48px;
  }

  .alone__prefix {
    font-size: 16px;
    padding: 10px 32px;
    margin-bottom: 40px;
  }

  .alone__content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
  }

  .alone__visual {
    flex: 0 0 auto;
    width: 40%;
    max-width: 380px;
  }

  .alone__visual-star--1 {
    font-size: 56px;
  }

  .alone__visual-star--2 {
    font-size: 40px;
  }

  .alone__visual-star--3 {
    font-size: 44px;
  }

  .alone__banner {
  position: relative;
  background: linear-gradient(
    135deg,
    #0F1A30 0%,
    #1A2744 40%,
    #1A5A8A 100%
  );
  /* ... 他の設定はそのまま ... */
}

  .alone__main {
    font-size: clamp(32px, 3.5vw, 48px);
  }

  .alone__quote-left,
  .alone__quote-right {
    font-size: 180px;
  }

  .alone__quote-left {
    top: 20px;
    left: 40px;
  }

  .alone__quote-right {
    bottom: -60px;
    right: 40px;
  }

  .alone__submessage {
    font-size: 18px;
    margin-top: 16px;
  }
}