@charset "UTF-8";

main {
  width: 100%;
}

header::before {
  transform: scaleY(1);
}

/* ↓↓↓ title-box ↓↓↓ */
.title-box {
  width: 100%;
  padding-top: 17.96875vw;

  @media (max-width: 768px) {
    padding-top: 112px;
  }
}

.title-box .inner {
  width: 88.75vw;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  @media (max-width: 768px) {
    width: 100%;
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .ttl-group {
    width: fit-content;

    @media (max-width: 768px) {
      width: 100%;
    }

    .subttl {
      padding-left: 2.1875vw;
      font-family: var(--cormorant);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.1em;
      line-height: 1;
      position: relative;

      @media (max-width: 768px) {
        padding-left: 28px;
        font-size: 16px;
      }

      &::before {
        content: '';
        position: absolute;
        top: 0.234375vw;
        left: 0;
        width: 1.328125vw;
        aspect-ratio: 17 / 11;
        background: url(/assets/img/common/icon-cross.svg) no-repeat;
        background-size: contain;

        @media (max-width: 768px) {
          top: 3px;
          width: 17px;
        }
      }
    }

    .ttl {
      margin-top: 0.78125vw;
      font-family: var(--mincho);
      font-size: 3.125vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1.2;

      @media (max-width: 768px) {
        margin-top: 10px;
        font-size: 32px;
        line-height: 1.5;
      }
    }
  }

  .breadcrumbs {
    width: fit-content;

    @media (max-width: 768px) {
      width: calc(100% + 24px);
    }

    ul {
      display: flex;
      gap: 2.109375vw;

      @media (max-width: 768px) {
        gap: 27px;
        overflow-x: auto;
        overflow-y: clip;
        white-space: nowrap;
        padding-right: 24px;
      }

      li {
        font-size: 0.859375vw;
        letter-spacing: 0.04em;
        line-height: 1;
        position: relative;

        @media (max-width: 768px) {
          font-size: 11px;
          line-height: 1.2;
        }

        a {
          text-decoration: underline;
          transition: opacity 300ms 0s ease;

          @media (min-width: 769px) {
            &:hover {
              opacity: 0.5;
            }
          }
        }
      }

      li:not(:last-of-type) {
        &::after {
          content: '';
          position: absolute;
          top: 50%;
          left: calc(100% + 0.625vw);
          width: 0.859375vw;
          height: 1px;
          background-color: #1E1E1E;

          @media (max-width: 768px) {
            width: 11px;
            left: calc(100% + 8px);
          }
        }
      }
    }
  }
}

/* ↑↑↑ title-box ↑↑↑ */

/* ↓↓↓ contents ↓↓↓ */
.contents {
  width: 100%;
  margin-block: 9.375vw 12.5vw;

  @media (max-width: 768px) {
    margin-block: 80px 100px;
  }
}

.contents .inner {
  width: 73.4375vw;
  margin-inline: auto;

  @media (max-width: 768px) {
    width: calc(100% - 48px);
  }

  .read {
    width: 100%;
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    line-height: 2em;

    @media (max-width: 768px) {
      font-size: 15px;
    }
  }
}

.contents .policy-list {
  width: 100%;
  margin-top: 6.25vw;

  @media (max-width: 768px) {
    margin-top: 64px;
  }
}

.contents .policy-item {
  width: 100%;

  + .policy-item {
    margin-top: 6.25vw;

    @media (max-width: 768px) {
      margin-top: 64px;
    }
  }

  .caption {
    padding-bottom: 1.25vw;
    font-family: var(--mincho);
    font-size: 1.875vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.666667;
    position: relative;

    @media (max-width: 768px) {
      padding-bottom: 16px;
      font-size: 20px;
    }

    &::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: #8DC21F;
      background: linear-gradient(90deg, rgba(141, 194, 31, 1) 0%, rgba(29, 32, 135, 1) 100%);
    }
  }

  .text-group {
    width: 100%;
    padding-top: 3.125vw;

    @media (max-width: 768px) {
      padding-top: 32px;
    }

    .text {
      font-size: 1.171875vw;
      letter-spacing: 0.04em;
      line-height: 2;
      text-align: justify;
      word-break: break-all;

      @media (max-width: 768px) {
        font-size: 15px;
      }

      &.indent {
        padding-left: 1.1em;
        text-indent: -0.8em;
        position: relative;

        &::before {
          content: '･';
        }
      }
    }
  }
}

/* ↑↑↑ contents ↑↑↑ */