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

/* COMING SOON */
.service-coming {
  height: 50vh;
  background: #fff;
  display: flex;
  align-items: center;
}
.service-coming__text {
  font-size: min(8vw, 100px);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

/* 共通 */
.main.main,
div.sidebar {
  padding: 0;
}

#main .article {
  margin: 0;

  .entry-content,
  .article-header .date-tags,
  .wp-block-group,
  figure.wp-block-image {
    margin: 0;
  }

  .entry-content {
    width: 100vw;
    padding: 0;
  }

  .font-serif {
    font-family: "Noto Serif JP", serif;
  }

  .font-jost {
    font-family: "Jost", "Noto Serif JP", serif;
  }

  .col-green-01 {
    color: var(--main) !important;
  }

  .col-green-02 {
    color: var(--heading-bg) !important;
  }

  .col-white {
    color: var(--white) !important;
  }

  .col-black {
    color: var(--text) !important;
  }

  .fs-large {
    font-size: 20px;
    font-weight: 600;
    line-height: 2;
  }

  .fs-small {
    font-size: 12px;
    line-height: 2;
  }

  .margin-0 {
    margin: 0;
  }

  h2.service-heading2 {
    font-size: 32px;
    background-color: unset;
    border: unset;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-bottom: 64px;
    padding: 0;
    max-width: fit-content;
    line-height: 2;
  }

  h3.service-heading3 {
    font-size: 22px;
    line-height: 2;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin: 0;
  }

  .service-section {
    padding: 120px 24px;
  }

  .sp-actbr {
    display: none;
  }

  /* サービス共通FV設定 */
  .service-fv {
    background: linear-gradient(90deg, #1a3137, #24505a 55%, #487886 100%);
    justify-content: space-between;
    gap: 0;
    position: relative;
  }

  .service-fv__textBox {
    position: absolute;
    left: max(calc(50vw - 600px), 24px);
    top: 50%;
    transform: translateY(-50%);
    gap: 24px;
  }

  .service-fv__subHeading {
    color: #b7d3db;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.05em;
    padding-bottom: 12px;
    border-bottom: solid 1px #b7d3db;
  }

  .service-fv__h1 {
    color: var(--white);
    font-size: 38px;
    letter-spacing: 0.08em;
    line-height: 2;
    font-weight: 500;
  }

  .service-fv__mainVisual--sp {
    display: none;
  }

  .service-fv__leftBox--inner {
    gap: 8px;
  }

  .service-fv__catchphrase {
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 2;
  }

  .service-fv__catchphrase--sub {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 2;
    color: #e4f2f5;
  }

  .service-fv__mainVisual {
    flex-basis: 640px;
    height: 598px;
  }

  .service-fv__mainVisual img {
    object-fit: cover;
    object-position: left;
    width: 100%;
  }

  /* サービス共通FV下メインコピー設定 */
  .service-firstCopy {
    background-color: var(--white);
  }

  .service-firstCopy p {
    max-width: 880px;
  }

  /* おすすめ共通設定 */
  .service-recommendation__list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .service-recommendation__list--column {
    width: 100%;
    max-width: 880px;
    gap: 24px;
  }

  .service-recommendation__list li {
    background-color: var(--white);
    margin: 0;
    position: relative;
  }

  .service-recommendation__list li::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 28px;
    height: 28px;
    background: url(/wp-content/uploads/2026/09/checkmark.png) no-repeat
      center / contain;
  }

  .service-recommendation__list--column li {
    width: 100%;
    padding: 24px 24px 24px 76px;
  }

  .service-recommendation__list--column li::before {
    top: 26px;
    left: 32px;
  }

  /* 3つのPoint共通設定 */
  .service-points {
    background-color: var(--white);
  }

  .service-points__container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-points__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
  }

  .service-points__inner--reverse {
    flex-direction: column-reverse;
  }

  .service-points__textGroup {
    display: flex;
    gap: 16px;
    background-color: var(--main);
    width: 330px;
    height: 330px;
    padding: 32px 24px 0;
    margin: 0 !important;
  }

  .service-point__number {
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0;
    margin: 0;
  }

  .service-point__img {
    width: 330px;
    height: 330px;
    margin: 0 !important;
  }

  .service-point__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* 3つのメリットタイプの共通設定 */
  .service-types {
    background: linear-gradient(98.81deg, #1a3137, #24505a 55%, #487886);
  }

  .service-types__container {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-inline: auto;
  }

  .service-types__inner {
    background-color: var(--white);
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 40px;
    margin: 0 !important;
  }

  .service-types__headingGroup {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    margin-left: unset !important;
  }

  .service-types__headingGroup figure {
    flex-basis: 64px;
    height: 64px;
  }

  .service-types__headingGroup figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .service-types__mainCopy {
    border-top: solid 1px var(--main);
    padding-top: 24px;
    width: 100%;
  }

  /* サポートの共通設定 */
  .service-support {
    background: var(--white);
  }

  .service-target {
    background: var(--white);
  }

  /* サポートなど共通カードの設定 */
  .service-card__container {
    width: 100%;
    max-width: 940px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-inline: auto;
  }

  .service-card__piece {
    border: solid 1px #b7d3db;
    background-color: var(--white);
    padding: 40px;
    align-content: center;
    width: 100%;
  }

  .service-card__inner--support01 {
    background-color: var(--white);
    max-width: 880px;
    display: grid;
    grid-template-columns: 75px 1fr;
    grid-template-rows: 1fr;
    align-content: center;
    gap: 24px;
  }

  .service-card__text--support01 {
    width: 100%;
    text-align: left;
    align-content: center;
  }

  .service-card__inner--support01 figure {
    align-content: center;
  }

  .service-card__inner--support figure img {
    width: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* CTA設定 */
  .service-cta {
    background: linear-gradient(98.81deg, #1a3137, #24505a 55%, #487886);
  }

  .service-cta__deco {
    width: 64px;
    height: 4px;
    margin-top: -48px;
    margin-bottom: 64px;
    background-color: #B7D3DB;
  }

  .service-cta__container {
    justify-content: center;
    gap: 64px;
  }

  .service-cta__btn {
    width: 200px;
    height: 58px;
    border: solid 1px transparent;
    transition: all 0.3s;
  }

  .service-cta__btn--contact a.wp-block-button__link {
    background-color: var(--white);
    color: var(--black);
    padding: 0 24px 0 0;
    position: relative;
    transition: all 0.3s;
  }

  .service-cta__btn--application a.wp-block-button__link {
    background-color: #e4f2f5;
    color: var(--black);
    padding: 0 24px 0 0;
    position: relative;
    transition: all 0.3s;
  }

  .service-cta__btn--contact a.wp-block-button__link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 38px;
    width: 7px;
    height: 12px;
    transform: translateY(-42%);
    background: url(/wp-content/uploads/2026/09/btn-arrow-black.png) no-repeat
      center / contain;
    transition: all 0.3s;
  }

  .service-cta__btn--application a.wp-block-button__link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 47px;
    width: 7px;
    height: 12px;
    transform: translateY(-42%);
    background: url(/wp-content/uploads/2026/09/btn-arrow-black.png) no-repeat
      center / contain;
    transition: all 0.3s;
  }

  @media screen and (min-width: 768px) {
    .service-cta__btn:hover {
      border: solid 1px var(--white);
      transition: all 0.3s;
    }

    .service-cta__btn:hover.service-cta__btn--application
      a.wp-block-button__link,
    .service-cta__btn:hover.service-cta__btn--contact a.wp-block-button__link {
      background-color: #17383f;
      color: var(--white);
      transition: all 0.3s;
    }

    .service-cta__btn:hover.service-cta__btn--application
      a.wp-block-button__link::after,
    .service-cta__btn:hover.service-cta__btn--contact
      a.wp-block-button__link::after {
      background: url(/wp-content/uploads/2026/08/btn-arrow.png) no-repeat
        center / contain;
      transition: all 0.3s;
    }
  }

  @media screen and (max-width: 1023px) {
    /* 共通 */
    h2.service-heading2 {
      font-size: 28px;
    }

    /* サービス共通FV設定 */
    .service-fv__subHeading {
      font-size: 16px;
    }

    .service-fv__h1 {
      font-size: 32px;
      line-height: calc(32 / 21);
    }

    .service-fv__roundBracket {
      font-size: 24px;
    }

    .service-fv__leftBox--inner {
      gap: 8px;
    }

    .service-fv__catchphrase {
      font-size: 20px;
    }

    .service-fv__catchphrase--sub {
      font-size: 16px;
    }

    .service-fv__mainVisual {
      flex-basis: 512px;
      height: 480px;
    }

    /* 3つのPoint共通設定 */
    .service-points__container {
      flex-direction: column;
    }

    .service-points__inner {
      flex-direction: row;
    }

    .service-points__inner--reverse {
      flex-direction: row-reverse;
    }

    /* サポートなど共通カードの設定 */
    .service-card__container {
      width: 100%;
      max-width: 600px;
      grid-template-columns: 1fr;
    }
  }

  @media screen and (max-width: 767px) {
    /* 共通 */
    h2.service-heading2 {
      font-size: 24px;
      margin-bottom: 40px;
    }

    h3.service-heading3 {
      font-size: 20px;
    }

    .service-section {
      padding: 80px 6vw;
    }

    .sp-nonebr {
      display: none;
    }

    /* サービス共通FV設定 */
    .service-fv__ghost {
      display: none;
    }

    .service-fv__textBox {
      position: relative;
      left: unset;
      top: unset;
      transform: unset;
      gap: 36px;
      padding: 64px 0;
    }

    .service-fv__subHeading {
      font-size: 22px;
      margin-left: 6vw;
      margin-right: 6vw;
    }

    .service-fv__h1 {
      font-size: 28px;
      margin-left: 6vw;
      margin-right: 6vw;
    }

    .service-fv__roundBracket {
      font-size: 22px;
    }

    .service-fv__mainVisual--sp {
      display: block;
      width: 100vw;
      aspect-ratio: 375 / 240;
    }

    .service-fv__mainVisual--sp img {
      object-fit: cover;
      object-position: left;
      width: 100%;
    }

    .service-fv__leftBox--inner {
      margin-left: 6vw;
      margin-right: 6vw;
    }

    .service-fv__catchphrase {
      font-size: 24px;
    }

    .service-fv__catchphrase--sub {
      font-size: 18px;
    }

    .service-fv__mainVisual {
      display: none;
    }

    /* おすすめ共通設定 */
    .service-recommendation__list li {
      background-color: rgba(255, 255, 255, 0.6);
    }

    .service-points__container {
      gap: 40px;
    }

    /* 3つのPoint共通設定 */
    .service-points__inner {
      flex-direction: column;
    }

    .service-points__inner--reverse {
      flex-direction: column;
    }

    .service-points__textGroup {
      width: 480px;
      height: 296px;
    }

    .service-point__img {
      width: 480px;
      height: 360px;
    }

    /* CTA設定 */
    .service-cta__deco {
      margin-top: -24px;
    }
  }

  @media screen and (max-width: 560px) {
    /* 共通 */
    h2.service-heading2 {
      font-size: 6.93vw;
    }

    h3.service-heading3 {
      font-size: 5.87vw;
    }

    .service-section {
      padding: 21vw 3vw;
    }

    .service-section p,
    .service-section li {
      font-size: 4.27vw;
    }

    .service-section p.fs-large {
      font-size: 4.8vw;
    }

    .sp-actbr {
      display: inline-block;
    }

    /* サービス共通FV設定 */
    .service-fv__textBox {
      gap: 6.4vw;
      padding: 10.7vw 0;
    }

    .service-fv__subHeading {
      font-size: 4.267vw;
      margin-left: 3vw;
      margin-right: 3vw;
    }

    .service-fv__h1 {
      font-size: 6.93vw;
      margin-left: 3vw;
      margin-right: 3vw;
    }

    .service-fv__roundBracket {
      font-size: 4.27vw;
    }

    .service-fv__mainVisual--sp {
      display: block;
      width: 100vw;
      aspect-ratio: 375 / 240;
    }

    .service-fv__mainVisual--sp img {
      object-fit: cover;
      object-position: left;
      width: 100%;
    }

    .service-fv__leftBox--inner {
      margin-left: 3vw;
      margin-right: 3vw;
    }

    .service-fv__catchphrase {
      font-size: 4.8vw;
    }

    .service-fv__catchphrase--sub {
      font-size: 4.1vw;
    }

    /* おすすめ共通設定 */
    .service-recommendation__list--column {
      gap: 6.4vw;
    }

    .service-recommendation__list li::before {
      width: 7.47vw;
      height: 7.47vw;
    }

    .service-recommendation__list--column li {
      padding: 4.27vw 4.27vw 4.27vw 16vw;
    }

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

    /* 3つのPoint共通設定 */
    .service-points__container {
      gap: 0;
    }

    .service-points__textGroup {
      gap: 16px;
      width: 100%;
      height: 88vw;
      padding: 8.5vw 6.4vw 0;
    }

    .service-section p.service-point__number {
      font-size: 12.8vw;
    }

    .service-point__img {
      width: 100%;
      height: 88vw;
    }

    /* 3つのメリットタイプの共通設定 */
    .service-types__container {
      gap: 6.4vw;
    }

    .service-types__inner {
      gap: 2.13vw;
      padding: 6.4vw;
    }

    .service-types__headingGroup {
      gap: 6.4vw;
    }

    .service-types__headingGroup figure {
      flex-basis: 17.1vw;
      height: 17.1vw;
    }

    .service-types__mainCopy {
      padding-top: 6.4vw;
    }

    /* サポートなど共通カードの設定 */
    .service-card__container {
      gap: 6.4vw;
    }

    .service-card__piece {
      padding: 6.4vw;
    }

    .service-card__inner--support01 {
      gap: 6.4vw;
    }

    .service-card__inner--support figure {
      width: 20vw;
      height: 20vw;
    }

    /* CTA設定 */

    .service-cta__deco {
      width: 17.1vw;
      height: 1.1vw;
      margin-top: -6.4vw;
      margin-bottom: 17.1vw;
    }

    .service-cta__container {
      gap: 6.4vw;
    }

    .service-cta__btn {
      width: 53.3vw;
      height: 15.5vw;
      font-size: 4.27vw;
    }

    .service-cta__btn--contact a.wp-block-button__link {
      padding: 0 6.4vw 0 0;
    }

    .service-cta__btn--application a.wp-block-button__link {
      padding: 0 6.4vw 0 0;
    }

    .service-cta__btn--contact a.wp-block-button__link::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 10.1vw;
      width: 1.87vw;
      height: 3.2vw;
    }

    .service-cta__btn--application a.wp-block-button__link::after {
      right: 12.5vw;
      width: 1.87vw;
      height: 3.2vw;
    }
  }
}
