/* =========================================================
   選ばれる理由 — Sansan「名刺DBが収益を最大化」型レイアウト
   LazyBz暖色トンマナ適用
   ========================================================= */

section.reason {
  overflow: hidden;
}

section.reason::before,
section.reason::after {
  display: none;
}

.reason-sansan {
  position: relative;
  max-width: 1026px;
  margin: 0 auto;
}

.reason-sansan .reason-cards {
  margin-top: 0;
}

.reason-sansan__bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.reason-sansan__bg img {
  width: 100%;
  height: auto;
  display: block;
}

.reason-sansan__bg--right {
  right: -140px;
  top: 40px;
  width: min(360px, 42vw);
}

.reason-sansan__bg--left {
  left: -100px;
  bottom: 80px;
  width: min(240px, 34vw);
}

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

/* gradient text */
.reason-sansan .c-gradient-text {
  display: inline-block;
  background: linear-gradient(84.82deg, #E87845 7.27%, #D9483B 91.69%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reason-sansan .c-gradient-text--dark {
  background: linear-gradient(84.82deg, #C0392B 7.27%, #A83224 91.69%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* concept block */
.reason-concept {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reason-concept__title {
  position: relative;
  padding-bottom: 24px;
  margin: 0;
}

.reason-concept__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 40px;
  height: 4px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.reason-concept__title-text {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.45;
}

.reason-concept__description {
  margin: 32px 0 0;
  max-width: 820px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

/* reason cards list */
.reason-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.reason-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reason-card__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.reason-card__image {
  width: min(280px, 72vw);
  margin-bottom: 8px;
}

.reason-card__image figure {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(225deg, #FFE8D6, #FFF1EC);
}

.reason-card__image img {
  width: 62%;
  height: auto;
}

.reason-card__description {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

@media (width >= 769px) {
  .reason-concept__description {
    font-size: 16px;
    text-align: center;
  }

  .reason-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 48px;
    margin-top: 56px;
  }

  .reason-card__title {
    margin-bottom: 16px;
  }

  .reason-card__image {
    margin-bottom: 16px;
  }

  .reason-card__description {
    font-size: 16px;
  }

  .reason-sansan__bg--right {
    right: -200px;
    top: 60px;
  }

  .reason-sansan__bg--left {
    left: -140px;
    bottom: 40px;
  }
}

@media (width < 768px) {
  .reason-sansan__bg--left {
    display: none;
  }

  .reason-sansan__bg--right {
    right: -80px;
    top: 20px;
    width: 200px;
    opacity: 0.55;
  }
}
