/* ===========================================
   Strengths Section
   "動画でカリトルくんの圧倒的な強み"
   Figma: y=4038-6125
   =========================================== */

.strengths {
  background-color: var(--color-white);
  padding: 48px 16px;
}

.strengths__inner {
  max-width: 343px;
  margin: 0 auto;
}

/* Section Title */
.strengths__title {
  text-align: center;
  margin-bottom: 32px;
}

.strengths__title-heading {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

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

.strengths__title-marker { display: none; }

/* Strength cards */
.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

.strength-card {
  display: flex;
  flex-direction: column;
}

.strength-card__image {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
}

.strength-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Red badge title below image */
.strength-card__badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 17px;
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
  padding: 12px 16px;
  text-align: center;
  margin-top: 0;
}

.strength-card__body {
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.strength-card__text {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 1.75;
  color: var(--color-black);
  margin: 0;
}

.strength-card__highlight {
  background: linear-gradient(transparent 55%, var(--color-yellow-green) 55%);
  padding: 0 2px;
  font-weight: var(--font-weight-bold);
}

/* legacy */
.strength-card__number,
.strength-card__title { display: none; }

/* ===========================================
   Comparison Table
   StockSun / 動画制作会社 / マーケティング会社
   =========================================== */

.strengths__comparison {
  margin-top: 32px;
}

.strengths__comparison-title {
  text-align: center;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: center;
}

.comparison-table thead th {
  padding: 10px 4px;
  font-weight: var(--font-weight-bold);
  font-size: 11px;
  line-height: 1.3;
  border-bottom: 2px solid var(--color-gray-border);
  vertical-align: bottom;
}

.comparison-table thead th:first-child {
  text-align: left;
  width: 30%;
}

/* StockSun column highlight */
.comparison-table thead th.is-highlight {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 8px 8px 0 0;
  border-bottom: none;
}

.comparison-table tbody td {
  padding: 10px 4px;
  border-bottom: 1px solid var(--color-gray-border);
  vertical-align: middle;
  font-size: 12px;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: var(--font-weight-bold);
  font-size: 11px;
}

.comparison-table tbody td.is-highlight {
  background-color: rgba(216, 46, 46, 0.05);
}

/* Comparison table images (PC/SP switching) */
.comparison-table-img {
  width: 100%;
  height: auto;
  display: block;
}
.comparison-table-img--pc {
  display: none;
}
.comparison-table-img--sp {
  display: block;
  max-width: 400px;
  margin: 0 auto;
}

/* Circle / Cross marks */
.mark-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: 14px;
}

.mark-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #999;
  font-weight: var(--font-weight-bold);
  font-size: 24px;
}

.mark-double-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: 28px;
  line-height: 1;
}

/* ============================================================
   PC (>=768px) — Strengths: alternating image/text, wide table
   ============================================================ */
@media (min-width: 768px) {
  .strengths {
    padding: 80px 0 120px;
  }
  .strengths__inner {
    max-width: 1200px;
    padding: 0 40px;
  }
  .strengths__title {
    margin-bottom: 60px;
    text-align: center;
  }
  .strength-card__badge {
    text-align: left;
  }
  .strengths__title-heading,
  .strengths__title-red {
    font-size: 40px;
  }
  .strengths__title-heading br { display: none; }
  .strengths__list {
    gap: 80px;
    margin-bottom: 80px;
  }
  .strength-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "img badge"
      "img body";
    grid-template-rows: auto 1fr;
    gap: 0 40px;
    align-items: center;
  }
  .strength-card__image { grid-area: img; align-self: center; }
  .strength-card__badge { grid-area: badge; align-self: end; margin-bottom: 16px; }
  .strength-card__body { grid-area: body; align-self: start; }
  .strength-card:nth-child(even) {
    grid-template-areas:
      "badge img"
      "body  img";
  }
  .strength-card__image {
    border-radius: 8px;
  }
  .strength-card__image img {
    border-radius: 8px;
  }
  .strength-card__badge {
    font-size: 22px;
    padding: 16px 24px;
    text-align: center;
    margin-bottom: 16px;
  }
  .strength-card__body {
    padding: 0;
    gap: 18px;
  }
  .strength-card__text {
    font-size: 16px;
    line-height: 1.85;
  }
  /* Comparison table image - PC */
  .comparison-table-img--sp {
    display: none;
  }
  .comparison-table-img--pc {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
  }
  .strengths__comparison {
    margin-top: 40px;
  }
}
