/* ======================================================================
 * VERUM パーソナル解析サービス ページ専用CSS
 * PC基準: 1440px / SP基準: 375px
 * 共通ヘッダー・共通フッターのスタイルは含みません。
 * ====================================================================== */

#main .article {
  .service-recommendation {
    background: url(/wp-content/uploads/2026/09/section.service-recommend-02-2048x865.jpg)
      no-repeat center / cover;
  }

  @media screen and (max-width: 767px) {
    .service-recommendation {
      background: url(/wp-content/uploads/2026/09/section.service-recommend-02-sp-405x1024.jpg)
        no-repeat center / cover;
    }
  }

  .service-recommendation__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
  }

  .service-recommendation__list--grid {
    width: 100%;
    max-width: 1140px;
  }

  .service-recommendation__list--grid li {
    width: 100%;
    padding: 24px 24px 24px 66px;
  }

  .service-recommendation__list--grid li::before {
    top: 26px;
    left: 24px;
  }

  @media screen and (max-width: 1023px) {
    .service-recommendation__list {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr 1fr;
    }
  }

  @media screen and (max-width: 767px) {
    .service-recommendation__list {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
      gap: 24px;
    }
  }

  @media screen and (max-width: 560px) {
    .service-recommendation__list {
      gap: 6.4vw;
    }

    .service-recommendation__list--grid li {
      padding: 4.27vw 5.33vw 4.27vw 15.5vw;
    }

    .service-recommendation__list--grid li::before {
      top: 4.8vw;
      left: 4.27vw;
    }
  }

  .service-types__Annotation {
    width: 100%;
  }

  .service-types__cardGroup {
    margin: 16px 16px 0 16px;
  }

  .service-types__subheading {
    margin-bottom: 20px;
  }

  .service-types__card {
    border-left: solid 2px var(--main);
    background-color: var(--heading-bg);
    padding: 16px 24px;
  }

  .service-types__card:not(:last-child) {
    margin-bottom: 16px;
  }

  .service-types__cardHeading {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 8px;
  }

  .service-types__cardText {
    padding-left: 16px;
  }

  @media screen and (max-width: 560px) {
    .service-types__cardGroup {
      margin: 4.27vw 0 0;
    }

    .service-types__subheading {
      margin-bottom: 5.33vw;
    }

    .service-types__card {
      padding: 4.27vw 4.27vw;
    }

    .service-types__card:not(:last-child) {
      margin-bottom: 4.27vw;
    }

    .service-types__cardHeading {
      margin-bottom: 2.13vw;
    }

    .service-types__cardText {
      padding-left: 2.13vw;
    }
  }
}
