/* ========================================
   セクション: S08_選ばれる理由
   Figma node: 1038:4947 / 393×1838
   ======================================== */

.reason {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0 40px;
  gap: 20px;
  background: #ffffff;
  overflow: hidden;
}

/* ── 背景画像オーバーレイ ── */
.reason::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../images/s05_pricing/pricing-bg.webp") center / cover no-repeat;
  opacity: 1;
  z-index: 0;
}

.reason > * {
  position: relative;
  z-index: 1;
}

/* ── 見出し（ネイビー＋三角一体型） ── */
.reason-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 0 65px;
  gap: 5px;
  background: var(--color-navy);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 45px), 50% 100%, 0 calc(100% - 45px));
}

.reason-heading-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  height: 24px;
  background: #ffffff;
  border-radius: 20px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-navy);
  letter-spacing: 0.8px;
}

.reason-heading-title {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.reason-heading-title .num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-yellow);
  letter-spacing: 2.4px;
}

/* ── カード群 ── */
.reason-cards {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 60px;
  gap: 50px;
}

/* ── カード共通 ── */
.reason-card {
  display: flex;
  width: 100%;
}

.reason-card--left {
  padding-right: 30px;
}

.reason-card--right {
  padding-left: 30px;
}

/* ── カード内コンテンツ ── */
.reason-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 60px 30px 30px;
  gap: 10px;
  background: #ffffff;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.reason-card--left .reason-card-content {
  border-top-right-radius: 40px;
}

.reason-card--right .reason-card-content {
  border-top-left-radius: 40px;
}

/* ── 番号 ── */
.reason-card-number {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 500;
  line-height: 0.7;
  color: #FCE173;
  z-index: 1;
}

.reason-card--left .reason-card-number {
  right: 24px;
}

.reason-card--right .reason-card-number {
  left: 19px;
}

/* ── カードタイトル ── */
.reason-card-title {
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-navy);
}

/* ── 本文 ── */
.reason-card-body {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
}

/* ── カード画像 ── */
.reason-card-img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}
