.modal, .modal-2{
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);

  .modal-content {
    background-color: #fff;
    margin: auto;
    max-width: 960px;
    width: 100%;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
  }

  .modal-content-2 {
    background-color: #fff;
    margin: 10% auto;
    max-width: 960px;
    width: 100%;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
  }
}

.show {
  display: flex;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #5BC2DC;
  color: #fff;
  padding: 8px 0px;

  .header-ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 170%; /* 30.6px */
  }

  .closeBtn {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    right: 19px;
    top: -4px;
    padding-right: 16px;
    position: relative;
    float: right;
    font-size: 28px;
    cursor: pointer;
  }
}

.modal-main {

  .sub-ttl {
      color: #FC6F65;
      text-align: center;
      font-family: "Hiragino Kaku Gothic ProN";
      font-size: 16px;
      font-style: normal;
      font-weight: 600;
      line-height: 170%; /* 27.2px */
      margin: 1rem auto;
    }
    .faq {
      max-width: 100%;
      margin: 0 80px;

      .faq-item {
        margin-bottom: 24px;

        .question {
          display: flex;
          padding: 4px 16px;
          align-items: center;
          background: #E4FAFF;
          margin-top: 0;
          margin-bottom: 0;

          .checkbox, .check {
            margin-right: 8px;
          }
        }

        .answer {
          color: #595959;
          font-family: "Hiragino Kaku Gothic ProN";
          font-size: 14px;
          font-style: normal;
          font-weight: 400;
          line-height: 150%; /* 21px */
          margin: 12px 0 0 0;

          a {
              color: #00A1C9;
              font-family: "Hiragino Kaku Gothic ProN";
              font-size: 14px;
              font-style: normal;
              font-weight: 400;
              line-height: 150%;
          }
      }
    }
  }
}

.modal-footer {
  background: #F2F2F2;
  padding: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;

  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;

    .footer-ttl {
      color: #000;
      font-family: "Hiragino Kaku Gothic ProN";
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 170%; /* 27.2px */
      margin: 0;
    }

    .footer-text {
      color: #595959;
      font-family: "Hiragino Kaku Gothic ProN";
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 150%; /* 21px */
      margin: 0;

      span {
        color: #00A1C9;
      }
    }
  }

  .footer-btn {
    display: flex;
    flex-direction: column;

    .continueBtn, .nextBtn {
      display: inline-flex;
      padding: 3px 32px;
      justify-content: center;
      gap: 10px;
      border-radius: 4px;
      background: #FC6F65;
      opacity: 0.6;
      color: #FFF;
      font-family: "Hiragino Kaku Gothic ProN";
      font-size: 18px;
      font-style: normal;
      font-weight: 600;
      line-height: 170%; /* 30.6px */
      text-decoration: none;
      text-align: center;
      margin: 0 auto;
      cursor: not-allowed;
      transition: 0.3s;
    }
  }

  .continueBtn.active, .nextBtn.active {
    background: #FC6F65;
    opacity: 1;
    cursor: pointer;
  }
}


.return {
  color: #00A1C9;
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%; /* 27.2px */
  margin-left: 20px;
  text-decoration: none;
  position: relative;
  bottom: 32px;
  width: 40px;
}

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  .modal-main {
    .sub-ttl {
      margin: 1rem 1.5rem;
    }

    .faq {
      margin: 0 1.5rem;
    }
  }
  .modal-footer .footer-content {
    margin: 0 1.5rem;
  }
}

