.subpage {
  position: relative;
  background-color: #e7f8ff;
  padding: 24px 16px 60px;

  @media (min-width: 1024px) {
    max-width: 970px;
    padding: 76px 124px 90px;
    margin: 76px auto 0;
    position: relative;
    background-color: transparent;
  }
}

.subpage-background {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: none;

  @media (min-width: 1024px) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  ._middle-img {
    flex-grow: 1;
    background-image: url("/assets/images/section_backgrounds/blue-back-middle.png");
    background-repeat: repeat-y;
    width: 970px;
  }
}

.subpage-section {
  .subpage-section__title {
    font-size: 28px;
    line-height: 1.2;
    color: #226aaa;
    text-align: center;

    padding-bottom: 12px;
    border-bottom: 2px solid #226aaa;

    @media (min-width: 1024px) {
      text-align: left;
      padding-left: 16px;
      margin: 0 -16px;
    }
  }

  .introduction {
    margin-top: 30px;

    font-size: 16px;

    p {
      line-height: 1.8;
      /* text-indent: 1em; */
    }
  }

  &.is-privacy-policy {
    .sub-section .text {
      padding-left: 50px;
    }
  }

  &.is-fiduciary-duty-declaration {
    .sub-section .text {
      padding-left: 24px;
    }
  }

  .sub-section {
    margin-top: 30px;

    .heading {
      font-size: 20px;
      line-height: 1.4;

      &.order-list {
        display: flex;
        gap: 0.4em;
        align-items: flex-start;
      }
    }

    .text {
      font-size: 14px;
      line-height: 1.6;

      &.has-indent {
        text-indent: 1em;
      }

      margin-top: 12px;

      &.insurance-companies {
        margin-top: 0;

        .insurance-companies__item {
          display: grid;

          @media (min-width: 768px) {
            display: flex;
            align-items: baseline;
          }
        }
      }
    }

    .address {
      font-size: 14px;
      line-height: 1.6;
      font-style: normal;

      display: grid;
      gap: 12px;
      padding-left: 50px;
      margin-top: 20px;

      .address__item {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 12px;
      }

      dt {
        text-align: justify;
        word-break: break-all;
        text-align-last: justify;
        text-justify: inter-character;

        display: inline-flex;
        justify-content: space-between;

        span:last-child {
          padding-right: 0.25em;
        }
      }
      dd {
        span {
          display: none;
        }
        @media (min-width: 768px) {
          span {
            display: inline;
          }
        }
      }
    }
  }
}

.link-to-index {
  color: #fff;
  text-align: center;
  font-size: 18px;

  background-color: #226aaa;
  border-radius: 3px;
  width: 100%;
  height: 60px;
  max-width: 345px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 60px auto 0;

  @media (min-width: 1024px) {
    font-size: 16px;

    width: 210px;
    height: 36px;
  }
}
