@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 0;
  }
}

.contents .inner {
  width: 64.375vw;
  margin-inline: auto;

  @media (max-width: 768px) {
    width: 100%;
  }

  .read {
    width: 100%;
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    line-height: 2em;

    @media (max-width: 768px) {
      width: calc(100% - 48px);
      margin-inline: auto;
      font-size: 15px;
    }
  }

  .err-read {
    margin-top: 3.125vw;
    font-size: 1.171875vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.7333;
    color: #C60000;
    display: none;

    @media (max-width: 768px) {
      width: calc(100% - 48px);
      margin-inline: auto;
      margin-top: 56px;
      font-size: 15px;
    }
  }
}

section.contents.is-error .err-read,
.err-read.is-error {
  display: block !important;
}

label.is-error .err-msg {
  display: block !important;
}

/* ↑↑↑ contents ↑↑↑ */

/* ↓↓↓ form-box ↓↓↓ */
.form-box {
  width: 100%;
  margin-top: 6.25vw;
  padding: 6.25vw 7.65625vw;
  background-color: #F0F0F0;

  @media (max-width: 768px) {
    margin-top: 56px;
    padding: 56px 24px 80px;
  }

  form {
    display: block;
    width: 100%;
  }

  label {
    display: block;
    width: 100%;

    + label {
      margin-top: 4.375vw;

      @media (max-width: 768px) {
        margin-top: 32px;
      }
    }

    input[type=tel],
    input[type=email],
    input[type=text] {
      display: block;
      border: 0;
      width: 100%;
      height: 4.375vw;
      padding: 1.875vw;
      font-size: 1.171875vw;
      letter-spacing: 0.04em;
      line-height: 1;

      @media (max-width: 768px) {
        height: 56px;
        padding: 16px;
        font-size: 15px;
      }

      &::placeholder {
        color: #A0A0A0;
      }

      &:focus::placeholder {
        color: #fff;
      }
    }

    .ttl-group {
      margin-bottom: 1.25vw;
      display: flex;
      align-items: center;
      align-items: baseline;

      @media (max-width: 768px) {
        margin-bottom: 12px;
        flex-wrap: wrap;
      }

      .txt {
        font-size: 1.171875vw;
        font-weight: 600;
        letter-spacing: 0.04em;
        line-height: 1;

        @media (max-width: 768px) {
          font-size: 15px;
        }
      }

      .req {
        display: block;
        margin-left: 0.625vw;
        padding: 0.308em;
        font-size: 1.015625vw;
        font-weight: 600;
        letter-spacing: 0.04em;
        line-height: 1;
        color: #fff;
        background-color: #C60000;

        @media (max-width: 768px) {
          margin-left: 8px;
          font-size: 13px;
        }
      }

      .req-txt {
        margin-left: 1.25vw;
        font-size: 1.015625vw;
        letter-spacing: 0.04em;
        line-height: 1;

        @media (max-width: 768px) {
          width: 100%;
          margin-top: 8px;
          margin-left: 0;
          font-size: 13px;
        }
      }
    }

    .err-msg {
      margin-top: 1.015625vw;
      font-size: 1.015625vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1;
      color: #C60000;
      display: none;

      @media (max-width: 768px) {
        margin-top: 10px;
        font-size: 13px;
      }
    }

    .cheklist {
      width: 100%;
      display: block;

      li {
        display: flex;
        align-items: center;

        + li {
          margin-top: 0.78125vw;

          @media (max-width: 768px) {
            margin-top: 4px;
          }
        }

        .check-item {
          display: flex;
          align-items: center;
          cursor: pointer;
        }
      }

      input[type=checkbox] {
        -webkit-appearance: none;
        appearance: none;
        display: block;
        width: 1.875vw;
        height: 1.875vw;
        margin-right: 1.25vw;
        border: none;
        outline: none;
        background-color: #fff;
        cursor: pointer;

        @media (max-width: 768px) {
          width: 20px;
          height: 20px;
          margin-right: 8px;
        }

        &:checked {
          background-color: #fff;

          &::after {
            content: '';
            display: block;
            width: 0.546875vw;
            height: 1.015625vw;
            border: solid #1E1E1E;
            border-width: 0 0.234375vw 0.234375vw 0;
            transform: rotate(45deg) translate(65%, -20%);

            @media (max-width: 768px) {
              width: 5px;
              height: 10px;
              border-width: 0 3px 3px 0;
            }
          }
        }
      }

      .txt {
        font-size: 1.171875vw;
        letter-spacing: 0.04em;
        line-height: 2;
        cursor: pointer;

        @media (max-width: 768px) {
          font-size: 15px;
        }
      }
    }
  }

  .privacy {
    width: 100%;
    height: 6.25vw;
    margin-top: 4.375vw;
    border: 1px solid #707070;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    @media (max-width: 768px) {
      height: 76px;
      margin-top: 48px;
    }

    input {
      -webkit-appearance: none;
      appearance: none;
      display: block;
      width: 1.875vw;
      height: 1.875vw;
      margin-right: 1.25vw;
      border: none;
      outline: none;
      background-color: #fff;
      cursor: pointer;

      @media (max-width: 768px) {
        width: 20px;
        height: 20px;
        margin-right: 8px;
      }

      &:checked {
        background-color: #8DC21F;

        &::after {
          content: '';
          display: block;
          width: 0.546875vw;
          height: 1.015625vw;
          border: solid #fff;
          border-width: 0 0.234375vw 0.234375vw 0;
          transform: rotate(45deg) translate(65%, -20%);

          @media (max-width: 768px) {
            width: 5px;
            height: 10px;
            border-width: 0 3px 3px 0;
          }
        }
      }
    }

    .txt {
      font-size: 1.171875vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      line-height: 1;
      cursor: pointer;

      @media (max-width: 768px) {
        font-size: 14px;
      }
    }

    &.is-error {
      margin-bottom: 3.90625vw;

      @media (max-width: 768px) {
        margin-bottom: 50px;
      }

      .err-msg {
        position: absolute;
        top: 100%;
        left: 0;
      }
    }
  }

  .privacy-txt {
    margin-top: 1.40625vw;
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: center;

    @media (max-width: 768px) {
      margin-top: 8px;
      font-size: 14px;
      line-height: 1.8571;
    }

    a {
      color: #8DC21F;
      text-decoration: underline;
      transition: opacity 300ms 0s ease;

      @media (min-width: 769px) {
        &:hover {
          opacity: 0.5;
        }
      }
    }
  }

  .btn-group {
    width: 100%;
    margin-top: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.125vw;

    @media (max-width: 768px) {
      margin-top: 40px;
      gap: 24px;
      flex-direction: column;
    }

    button[type=submit] {
      display: block;
      width: 27.5vw;
      aspect-ratio: 352/64;
      background-color: #8DC21F;
      border: none;
      font-family: var(--mincho);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: #fff;
      position: relative;
      cursor: pointer;

      @media (max-width: 768px) {
        width: 100%;
        max-width: 327px;
        aspect-ratio: unset;
        height: 64px;
        font-size: 16px;
      }

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 1.71875vw;
        translate: 0 -50%;
        width: 1.875vw;
        aspect-ratio: 24 / 8;
        background-color: #fff;
        mask-image: url(/assets/img/common/icon-submenu-arrow.svg);
        mask-repeat: no-repeat;
        mask-size: contain;
        transition: translate 300ms 0s ease;

        @media (max-width: 768px) {
          right: 16px;
          width: 24px;
        }
      }

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        opacity: 0;
        transition: opacity 300ms 0s ease;
      }

      @media (min-width: 769px) {
        &:hover {
          &::before {
            translate: 0.625vw -50%;
          }

          &::after {
            opacity: 0.5;
          }
        }
      }
    }

    button.back {
      display: block;
      width: 27.5vw;
      aspect-ratio: 352/64;
      background-color: #fff;
      border: 1px solid #1E1E1E;
      font-family: var(--mincho);
      font-size: 1.25vw;
      font-weight: 600;
      letter-spacing: 0.04em;
      position: relative;
      cursor: pointer;

      @media (max-width: 768px) {
        width: 100%;
        max-width: 327px;
        aspect-ratio: unset;
        height: 64px;
        font-size: 16px;
      }

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 1.71875vw;
        translate: 0 -50%;
        rotate: 180deg;
        width: 1.875vw;
        aspect-ratio: 24 / 8;
        background-color: #1E1E1E;
        mask-image: url(/assets/img/common/icon-submenu-arrow.svg);
        mask-repeat: no-repeat;
        mask-size: contain;
        transition: translate 300ms 0s ease;

        @media (max-width: 768px) {
          right: 16px;
          width: 24px;
        }
      }

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        opacity: 0;
        transition: opacity 300ms 0s ease;
      }

      @media (min-width: 769px) {
        &:hover {
          &::before {
            translate: -0.625vw -50%;
          }

          &::after {
            opacity: 0.5;
          }
        }
      }
    }
  }

  .confirm-text {
    padding-bottom: 1.875vw;
    font-size: 1.171875vw;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #fff;

    @media (max-width: 768px) {
      padding-bottom: 24px;
      font-size: 15px;
    }
  }
}

.form-box.confirm {
  label + label {
    margin-top: 1.875vw;

    @media (max-width: 768px) {
      margin-top: 24px;
    }
  }
}

.finish-text {
  font-size: 1.171875vw;
  letter-spacing: 0.04em;
  line-height: 2;
  text-align: center;

  @media (max-width: 768px) {
    width: calc(100% - 48px);
    margin-inline: auto;
    font-size: 15px;
    word-break: keep-all;
  }

  b {
    display: block;
    width: 100%;
    margin-bottom: 3.75vw;
    font-family: var(--mincho);
    font-size: 1.875vw;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.666667;
    color: #1D2087;
    text-align: center;

    @media (max-width: 768px) {
      margin-bottom: 24px;
      font-size: 20px;
    }
  }
}

.backtopbtn {
  width: 27.5vw;
  aspect-ratio: 352/56;
  margin: 5vw auto 0;
  display: grid;
  place-content: center;
  font-family: var(--mincho);
  font-size: 1.25vw;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  border: 1px solid #1E1E1E;
  position: relative;

  @media (max-width: 768px) {
    width: 100%;
    max-width: 327px;
    margin-bottom: 96px;
    aspect-ratio: unset;
    height: 64px;
    margin-top: 32px;
    font-size: 16px;
  }

  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1.71875vw;
    translate: 0 -50%;
    rotate: 180deg;
    width: 1.875vw;
    aspect-ratio: 24 / 8;
    background-color: #1E1E1E;
    mask-image: url(/assets/img/common/icon-submenu-arrow.svg);
    mask-repeat: no-repeat;
    mask-size: contain;
    transition: translate 300ms 0s ease;

    @media (max-width: 768px) {
      left: 24px;
      width: 24px;
    }
  }

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
    transition: opacity 300ms 0s ease;
  }

  @media (min-width: 769px) {
    &:hover {
      &::before {
        translate: -0.625vw -50%;
      }

      &::after {
        opacity: 0.5;
      }
    }
  }
}

/* ↑↑↑ form-box ↑↑↑ */