.why {
  background-color: var(--background-color-secondary);
  padding-top: 38px;
}

.why__list {
  display: grid;
  grid-template-columns: 1fr; /* SP: 1列 */
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: why-counter;
}

.why__card__figure {
  margin-bottom: var(--spacing-md);
}

.why__card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why__card__title {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

.why__card {
  border-radius: var(--radius-400);
  padding: 16px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white-100);
  position: relative;
  counter-increment: why-counter;
}

.why__card::before {
  content: "0" counter(why-counter);
  position: absolute;
  top: 4px;
  right: 16px;
  font-size: 18px;
  font-family: var(--font-family-en);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  background: var(--background-color-tertiary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (width >= 769px) {

  .why {
    padding-top: 64px;
  }

  .why__list {
    grid-template-columns: repeat(6, 1fr); /* 6カラムのグリッド */
    gap: 40px;
  }

  /* 1段目: 最初の2つを大きく(各3カラム分) */
  .why__card:nth-child(1),
  .why__card:nth-child(2) {
    grid-column: span 3;
  }

  /* 2段目: 残りの3つを小さく(各2カラム分) */
  .why__card:nth-child(3),
  .why__card:nth-child(4),
  .why__card:nth-child(5) {
    grid-column: span 2;
  }

  .why__card__title {
    font-size: 24px;
  }

  .why__card__body {
    gap: 16px;
  }

  .why__card::before {
    top: 11px;
    right: 16px;
  }
}

