.wdb-service-heading {
  &.wdb-service-heading--fifth {
    font-size: 22px;

    @media (min-width: 768px) {
      font-size: 28px;
    }
  }

  &.wdb-service-heading--pc-margin-change-first {
    @media (min-width: 768px) {
      margin-bottom: 1.5rem;
    }
  }
}

.wdb-service-line-index {
  &.wdb-service-line-index--second {
    font-size: 18px;

    @media (min-width: 768px) {
      font-size: 24px;
    }
  }
}

.wdb-service-box-wrapper {
  & > * + * {
    margin-top: 1rem;
  }
}

.wdb-service-box {
  border: 1px solid var(--service-color-base-third);
  border-radius: .25rem;
  padding: 1rem;

  & > * + * {
    margin-top: 1rem;
  }
}

.wdb-service-box__content {
  & > * + * {
    margin-top: .5rem;
  }

  &.wdb-service-box__content--pc-layout-change-first {
    @media (min-width: 768px) {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: 1fr;
      gap: .5rem;

      & > * + * {
        margin-top: 0;
      }
    }
  }
}

.wdb-service-box__heading {
  font-size: 18px;
  font-weight: bold;
}

.wdb-service-arrow-button {
  &[target="_blank"] {
    padding-right: 2.5rem;

    &::after {
      height: 16px;
      width: 16px;
      background-color: var(--service-color-main-first);
      -webkit-mask: url(../images/common/icon-other-window.svg) no-repeat center/cover;
      mask: url(../images/common/icon-other-window.svg) no-repeat center/cover;
      transform: translate(0, -50%) rotate(0);
    }
  }

  &.wdb-service-arrow-button--size-change-third {
    @media (min-width: 768px) {
      width: 100%;
    }
  }
}
