/* 「選ばれる理由」の補助スタイル（トップの REASON セクションと /reason/）。
   styles.css は SCSS を再ビルドできないため別ファイルにしている。
   scss/_object/_project/_reason.scss と同じ内容を保つこと。
   単位は styles.css に合わせて rem（PC は 1rem = 100px、SP は 25vw）。 */

/* ---- トップ：REASON セクション ---- */
.p-section-top-reason .c-heading--secondary {
  margin-bottom: 0.3rem;
}
.p-section-top-reason__catch {
  margin-bottom: 0.1rem;
  color: #02773a;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}
.p-section-top-reason .c-text--center {
  margin-bottom: 0.4rem;
}
.p-section-top-reason .c-card--primary .c-card__describe {
  margin-bottom: 0.12rem;
  padding-bottom: 0;
  color: #02773a;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.1em;
}
.p-section-top-reason .c-card--primary .c-card__describe::after {
  content: none;
}
.p-section-top-reason .c-card--primary .c-card__title {
  color: #1e1e1e;
  font-size: 0.2rem;
}
.p-section-top-reason .c-card--primary .c-card__image {
  margin-bottom: 0.2rem;
}
.p-section-top-reason__text {
  margin-bottom: 0;
  letter-spacing: 0.04em;
  line-height: 1.9;
  text-align: left;
}
@media print, (width >= 768px) {
  .p-section-top-reason {
    margin-bottom: 1.2rem;
  }
  .p-section-top-reason__catch {
    font-size: 0.24rem;
  }
  .p-section-top-reason__text {
    font-size: 0.16rem;
  }
}
@media only screen and (width <= 767px) {
  .p-section-top-reason {
    margin-bottom: 0.6rem;
  }
  .p-section-top-reason__catch {
    font-size: 0.2rem;
  }
  .p-section-top-reason__text {
    font-size: 0.15rem;
  }
}

/* ---- /reason/ ---- */
.p-reason-body__text .p-section-strength__text {
  margin-bottom: 0.2rem;
}
.p-reason-body__text .p-section-strength__text:last-child {
  margin-bottom: 0;
}
.p-reason-body__text a,
.p-reason-note a {
  color: #02773a;
  text-decoration: underline;
}
.p-reason-body__figure {
  margin: 0;
}
.p-reason-voice {
  margin: 0.3rem 0 0;
  padding: 0.2rem 0.24rem;
  border-left: 0.04rem solid #02773a;
  background-color: #fff;
  letter-spacing: 0.04em;
}
.p-reason-voice p {
  margin: 0;
}
.p-reason-voice cite {
  display: block;
  margin-top: 0.08rem;
  color: #555;
  font-size: 0.14rem;
  font-style: normal;
}
.p-reason-voice cite a {
  color: #02773a;
  text-decoration: underline;
}
.p-reason-note {
  margin: 0.24rem 0 0;
  color: #333;
  font-size: 0.14rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.p-reason-action {
  margin: 0.3rem 0 0;
}
.p-reason-action .c-button--secondary {
  width: 2.44rem;
  max-width: 100%;
}
[id^="reason-"] .p-list-strength {
  margin-top: 0.4rem;
}
@media print, (width >= 768px) {
  .p-reason-body {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .p-reason-body__text {
    flex: 1;
    min-width: 0;
  }
  .p-reason-body__figure {
    flex: 0 0 3.18rem;
    width: 3.18rem;
  }
  .p-reason-body__text .p-section-strength__heading {
    font-size: 0.34rem;
    line-height: 1.5;
  }
}
@media only screen and (width <= 767px) {
  .p-reason-body__figure {
    width: 70%;
    margin: 0.2rem auto 0;
  }
  .p-reason-action .c-button--secondary {
    width: 100%;
  }
}

/* ---- 強みページ・FAQ からのリンク ---- */
.p-reason-link a,
a.p-reason-link__anchor {
  color: #02773a;
  text-decoration: underline;
}
.p-reason-link {
  margin-top: 0.2rem;
}
