/* ===========================================
   Benefits Section
   "なぜ動画でカリトルくんで売上が増えるのか"
   Figma: y=2797-3958
   Background: light pink #FCE9E9 with diamond pattern
   3 cards vertical stack
   =========================================== */

.benefits {
  position: relative;
  padding: 40px 16px 48px;
  background-color: #FCE9E9;
  overflow: hidden;
}

/* Diamond pattern overlay - disabled */
.benefits::before {
  display: none;
}

.benefits__inner {
  position: relative;
  z-index: 1;
  max-width: 343px;
  margin: 0 auto;
}

/* ===========================================
   Section Title
   =========================================== */

.benefits__title {
  text-align: center;
  margin-bottom: 24px;
}

.benefits__title-pre {
  display: block;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  line-height: 1.4;
  margin-bottom: 4px;
}

.benefits__title-heading {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: var(--color-black);
  display: block;
}

.benefits__title-red {
  display: inline-block;
  color: var(--color-primary);
  background: linear-gradient(transparent 55%, rgba(216, 46, 46, 0.2) 55%);
  padding: 0 4px;
}

.benefits__title-marker {
  display: inline-block;
  height: 14px;
  width: 240px;
  background: rgba(216, 46, 46, 0.2);
  margin: -10px auto 0;
  position: relative;
}

/* ===========================================
   Cards
   =========================================== */

.benefits__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-card {
  position: relative;
  background: var(--color-white);
  border-radius: 10px;
  padding: 24px 20px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Number badge (red square top-left) */
.benefit-card__number {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  border-radius: 10px 0 10px 0;
}

/* Illustration area */
.benefit-card__image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 130px;
  margin-bottom: 12px;
}

.benefit-card__image img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

/* Title */
.benefit-card__title {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 10px;
}

/* Description */
.benefit-card__text {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.7;
  color: var(--color-black);
  text-align: left;
}

/* Hide old unused elements */
.benefits__stats,
.benefits__chart,
.benefits__comparison {
  display: none;
}

/* ============================================================
   PC (>=768px) — Benefits: 3 cards horizontal
   ============================================================ */
@media (min-width: 768px) {
  .benefits {
    padding: 80px 0 100px;
  }
  .benefits::before {
    background-size: 600px 600px;
    opacity: 0.25;
  }
  .benefits__inner {
    max-width: 1280px;
    padding: 0 40px;
  }
  .benefits__title {
    margin-bottom: 60px;
  }
  .benefits__title-heading {
    font-size: 40px;
    line-height: 1.4;
    display: inline;
  }
  .benefits__title-heading br { display: none; }
  .benefits__title-pre {
    display: inline;
    font-size: 40px;
    margin-right: 4px;
  }
  .benefits__title-marker {
    display: none;
  }
  .benefits__cards {
    flex-direction: row;
    gap: 32px;
    justify-content: center;
  }
  .benefit-card {
    flex: 1 1 0;
    max-width: 380px;
    padding: 40px 28px 28px;
    border-radius: 14px;
  }
  .benefit-card__number {
    width: 48px;
    height: 48px;
    font-size: 26px;
    border-radius: 14px 0 14px 0;
  }
  .benefit-card__image {
    height: 160px;
    margin-bottom: 20px;
  }
  .benefit-card__image img {
    max-height: 160px;
  }
  .benefit-card__title {
    font-size: 24px;
    color: var(--color-black);
    margin-bottom: 16px;
  }
  .benefit-card__text {
    font-size: 15px;
    line-height: 1.75;
  }
}
