.grobal-contact-button {
  border: none;
  background-color: transparent;
}

.question-popup {
  align-items: center;
  background-color: #00000055;
  font-size: 62.5%;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  z-index: 1500;
  display: none;
}

.question-popup.show {
  display: flex;
}

.popup-window {
  background-color: #f2f2f4;
  border-radius: 16px;
  width: 90%;
  height: 90%;
  padding: 16px;
}

.popup-header {
  align-items: center;
  height: 100px;
  display: flex;
}

.popup-header-content {
  align-items: center;
  display: flex;
  margin-left: 24px;
}

.popup-header-logo {
  width: 183px;
}

.popup-header-text {
  margin-left: 40px;
  font-size: 1.1em;
  letter-spacing: 0.25em;
}

.popup-detail {
  height: 100%;
  overflow-y: scroll;
  scrollbar-color: #8b8b8b #f2f2f4;
}

.redtxt {
  color: #ff4b59;
}

.popup-lead {
  text-align: center;
}

.popup-lead-title {
  font-size: 3.2em;
}

.popup-lead-content {
  margin-top: 25px;
  font-size: 1.4em;
  line-height: 2.07;
}

.popup-content {
  width: 90%;
  margin: 0 auto;
  margin: 25px auto 0;
}

.popup-content-caution {
  margin-bottom: 5px;
  font-size: 1.4em;
  line-height: 2;
}

.popup-content-form {
  background: #f7f7f8;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  padding: 95px 150px 50px;
}

.popup-content-form dl + dl {
  margin-top: 25px;
}

.popup-content-form dt {
  margin-bottom: 12px;
  font-size: 1.6em;
}

.popup-content-form input {
  border: none;
  border-radius: 12px;
  outline: none;
  font-size: 1.6em;
  appearance: none;
  background: #fff;
  padding: 14px 25px;
  width: 100%;
}

.popup-content-form input::placeholder {
  color: #d6d6d6;
}

.popup-content-form textarea {
  border: none;
  border-radius: 12px;
  outline: none;
  appearance: none;
  background: #fff;
  font-size: 1.6em;
  padding: 14px 25px;
  width: 100%;
  height: 190px;
  resize: none;
}

.popup-content-form textarea::placeholder {
  color: #d6d6d6;
}

.required-item dt::after {
  content: "\00203b";
  margin-left: 10px;
  color: #ff4b59;
}

.popup-content-bottom {
  text-align: center;
  margin-top: 50px;
}

.popup-content-bottom p {
  font-size: 1.4em;
  line-height: 2;
}

.popup-content-bottom a {
  display: inline-block;
  text-decoration: underline;
  width: auto;
}

.popup-bottom {
  margin: 55px 0 55px;
  text-align: center;
}

.popup-bottom p {
  font-size: 1.4em;
  line-height: 2.07143;
}

.popup-submit {
  background-color: #fff;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  width: 320px;
  margin: 22px auto 0;
  text-align: center;
}

.popup-submit button {
  align-items: center;
  appearance: none;
  position: relative;
  padding: 18px 0;
  padding-left: 12px;
  background-color: transparent;
  border: none;
  display: flex;
  gap: 5px;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-width: 0px;
  min-height: 0px;
  font-weight: bold;
  font-size: 1.7em;
  letter-spacing: 0.2em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  z-index: 1;
}

.popup-submit button::before {
  margin: -1px;
}

.popup-submit .contact-button .arrow-icon {
  margin: 0;
}

.recommend-text {
  margin-top: 8px;
}

/* モバイル向け（〜767px） */
@media all and (max-width: 768px) {
  .popup-window {
    width: 95%;
    height: 90%;
    padding: 10px;
    overflow-y: auto;
  }

  .popup-header {
    height: auto;
    padding: 15px 0;
  }

  .popup-header-logo {
    width: 120px;
  }

  .popup-header-text {
    display: none;
  }

  .popup-lead-title {
    font-size: 2.2em;
  }

  .popup-lead-content {
    font-size: 1.2em;
    line-height: 1.8;
  }

  .popup-content {
    width: 95%;
  }

  .popup-content-form * {
    box-sizing: border-box;
  }

  .popup-content-form {
    padding: 30px 20px 30px;
  }

  .popup-content-form dt {
    font-size: 1.4em;
  }

  .popup-content-form input,
  .popup-content-form textarea {
    font-size: 1.4em;
    padding: 12px 15px;
  }

  .popup-content-form textarea {
    height: 150px;
  }

  .popup-content-bottom {
    margin-top: 30px;
  }

  .popup-bottom {
    margin: 30px 0;
  }

  .popup-submit {
    width: 100%;
    max-width: 280px;
  }

  .popup-submit button {
    padding: 15px 0;
    font-size: 1.5em;
  }
}
