@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴシック Pro",
    "Hiragino Kaku Gothic Pro", "游ゴシック体", "Yu Gothic", "YuGothic",
    sans-serif, "century", "Arial", "Verdana";
  line-height: 1.6;
  color: #000;
}

ol,
li,
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

picture {
  display: inline-block;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

@media screen and (min-width: 751px) and (max-width: 1280px) {
  html {
    font-size: calc(100vw / 128);
  }
}

@media screen and (max-width: 750px) {
  html {
    font-size: calc(100vw / 75);
  }

  img {
    width: 100%;
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}

.wrapper {
  overflow: hidden;
  max-width: 750px;
  margin: 0 auto;
}

#openPopupBtn {
  align-items: center;
  background-image: linear-gradient(to top in oklab, rgb(249, 54, 118) 40%, rgb(255, 184, 140) 100%);
  border-color: #fff;
  border-radius: 1.5rem;
  border-style: solid;
  border-width: .4rem;
  box-shadow: #0000 0px 0px 0px 0px;
  color: #fff;
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 28px;
  padding: 1.6rem 2.4rem;
  text-align: center;
  cursor: pointer;
  margin: 0 auto;
}

.popup-overlay {
  /* display: none; */
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  border-style: solid;
  border-width: .8rem;
  border-color: rgb(255, 145, 0);
  background-color: rgb(255, 234, 176);
  min-width: 60rem;
  box-shadow: 0 0 1.7rem 0px rgba(0, 0, 0, 0.36);
  position: relative;
  height: 51.6rem;
  transform: scale(0);
  transition: transform .5s ease,height .5s ease;
  /* transition-delay: .3s; */
}
.popup-content.step5Active {
  height: 52.6rem;
}
.popup-overlay.active .popup-content {
  transform: scale(1);
}

/* .popup-content.step2Active {
  height: 48rem;
} */

.popup-content::before,
.popup-content::after {
  content: '';
  position: absolute;
  z-index: 10;
}

.popup-content::before {
  background: url(../images/ico01.png) no-repeat;
  background-size: cover;
  width: 12.4rem;
  height: 8rem;
  top: -4.2rem;
  left: -3.5rem;
}

.popup-content::after {
  background: url(../images/ico02.png) no-repeat;
  background-size: cover;
  width: 10.9rem;
  height: 9.1rem;
  bottom: -2.5rem;
  right: -2.5rem;
}

.popup-content.step5Active::after {
  content: none;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.form__block {
  width: 100%;
  height: 100%;
  padding: 5rem 4rem 2.5rem;
  transition: .3s;
  position: absolute;
  background-color: rgb(255, 234, 176);
  display: flex;
  flex-direction: column;
}

.form__block.type5 {
padding: 4rem 4rem 2.5rem;
}

.form__box {
  flex: 1 auto;
}

#stepResult,
.form__block.type2,
.form__block.type3,
.form__block.type4,
.form__block.type5 {
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
}

#stepResult.center,
.form__block.type2.center,
.form__block.type3.center,
.form__block.type4.center,
.form__block.type5.center {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.popup-content.step2Active .form__block.type1 {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step3Active .form__block.type1 {
  transform: translateX(-200%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step3Active .form__block.type2 {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step4Active .form__block.type1 {
  transform: translateX(-300%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step4Active .form__block.type2 {
  transform: translateX(-200%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step4Active .form__block.type3 {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step5Active .form__block.type1 {
  transform: translateX(-400%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step5Active .form__block.type2 {
  transform: translateX(-300%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step5Active .form__block.type3 {
  transform: translateX(-200%);
  opacity: 0;
  visibility: hidden;
}

.popup-content.step5Active .form__block.type4 {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}


#contactForm input#url {
  display: none;
}

.form__read {
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(255, 145, 0);
  font-size: 2.8rem;
  font-weight: bold;
  color: #fff;
  min-height: 8rem;
  margin-bottom: 1.5rem;
}

.form__box input[type="radio"],
.form__box input[type="checkbox"] {
  display: none;
}

.form__box.style02 {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.form__box.style02 label {
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0.8rem;
  gap: .5rem;
  margin-top: 0;
  font-size: 2.4rem;
}

.form__box.style02.--column3 label {
  width: calc(100% / 3 - 0.5rem * 2 / 3);
}

.form__box.style02.--column2 label {
  width: calc(100% / 2 - 0.5rem * 1 / 2);
}

.form__box label {
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  font-size: 2.8rem;
  font-weight: bold;
  color: #4c4948;
  min-height: 8rem;
  margin-top: 1.2rem;
  transition: background-color .3s ease, color .3s ease;
  cursor: pointer;
}

.form__box input[type="radio"]:checked+label,
.form__box input[type="checkbox"]:checked+label {
  background-color: rgb(255, 196, 0);
  color: #fff;
}

.btn__box {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.btn__back,
.btn_label {
  border-radius: 1.2rem;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #4c4948;
  outline: none;
  border: none;
  cursor: pointer;
  min-height: 6rem;
  transition: opacity .3s ease;
}

.btn__box.last .btn_label {
  min-height: 7rem;
  max-width: 18rem;
  font-size: 2.2rem;
  cursor: default;
  max-height: 8rem;
}

.btn_label-tit {
  flex: 1 0 auto;
}

.btn__box.last .btn_label input {
  height: 100%;
  min-height: 5rem;
  border: none;
  font-size: 2.2rem;
  font-weight: 500;
  color: #4c4948;
  width: 100%;
}

.btn__back:hover {
  opacity: .6;
}

.img-q3-2 {
  max-width: 50%;
}

.img-q2-3 {
  max-width: 74%;
}

.btn__next {
  border-radius: 1.2rem;
  background-color: rgb(255, 145, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  min-width: 65%;
  cursor: pointer;
  min-height: 6rem;
  transition: opacity .3s ease;
  position: relative;
}

.btn__next::before {
  content: '';
  position: absolute;
  z-index: 10;
  background: url(../images/ico_btn.png) no-repeat;
  background-size: cover;
  width: 2.2rem;
  height: 2.2rem;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 1;
}
.btn-send {
  flex: 1 0 auto;
}
.btn-send__tit{
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  color: #333;
  margin-bottom: .5rem;
}
.btn-send__tit > a{
  color: #ff9100;
  transition: opacity .3s ease;
}
.btn-send__tit > a:hover {
  opacity: .6;
}
.btn__submit {
  border-radius: 1.2rem;
  background-color: rgb(255, 145, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: #fff;
  font-weight: bold;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  min-width: 55%;
  cursor: pointer;
  min-height: 7rem;
  transition: opacity .3s ease;
  flex: 1 0 auto;
 width: 100%;
}

.btn__next:disabled {
  cursor: no-drop;
  opacity: 0.6;
}

.btn__submit:hover,
.btn__next:hover {
  opacity: .6;
}

.form__box-input {
  border-radius: 1rem;
  display: flex;
  align-items: center;
  background-color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  color: #4c4948;
  min-height: 6rem;
  padding: 1rem 2.5rem;
  transition: background-color .3s ease, color .3s ease;
  cursor: pointer;
}

.form__box-input+.form__box-input {
  margin-top: 1.2rem;
}

/* .form__box-titSub {
  flex: 1 0 auto;
} */

.form__box-titSub {
    width: max-content;
    display: block;
    white-space: nowrap;
}

.form__box-inputLabel {
  flex: 1 1 auto;
}

.form__box-input select,
.form__box-input input {
  /* flex: 1 auto; */
  height: 100%;
  min-height: 5rem;
  border: none;
  font-size: 2.2rem;
  font-weight: 500;
  color: #4c4948;
  width: 100%;
}

.form__box-input select option {
  font-family: "Noto Sans JP";
  font-size: 2rem;
  font-weight: 500;
  color: #4c4948;
  appearance: none;
}

.form__box-input input:-internal-autofill-selected {
  background-color: transparent !important;
}

.btn__box.last .btn_label input,
.form__box-input select:focus,
.form__box-input input:focus {
  border: none;
  outline: none;
}

.resultMessage {
  text-align: center;
  color: red;
  font-size: 2.8rem;
  font-weight: bold;
}

.btn__addition {
  border-radius: 1.2rem;
  background-color: rgb(255, 145, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.8rem;
  color: #fff;
  font-weight: bold;
  padding: 1rem 2rem;
  outline: none;
  border: none;
  min-width: 55%;
  cursor: pointer;
  min-height: 9rem;
  transition: opacity .3s ease;
  margin-top: 3rem;
}

.btn__addition:hover {
  opacity: .6;
}

.hidden {
  display: none !important;
}