/* =========================================================
form
========================================================= */
.p-form-lp {
  margin: auto;
  max-width: 768px;
}
@media screen and (min-width: 992px) {
  .p-form-lp {
    max-width: 1400px;
  }
}
.p-form-lp_img {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-form-lp_button {
  aspect-ratio: 2.5 / 1;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 992px) {
  .p-form-lp_button {
    aspect-ratio: 5 / 1;
  }
}
.p-form-lp_button a {
  margin: auto;
  text-align: center;
  transition: .4s;
  width: 75%;
}
@media screen and (min-width: 992px) {
  .p-form-lp_button a {
    width: 55%;
  }
}
.p-form-lp_button a:hover {
  opacity: .7;
}
.p-form-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  min-height: 92vh;
  max-width: 800px;
  padding: 4vh 0;
  width: 96%;
}
.p-form-step legend {
  background-image: url(../images/common/img_title.webp);
  background-repeat: repeat-x;
  background-size: auto 100%;
  color: #fff;
  font-size: calc(20 * (100vw / 430));
  margin: 0 0 2%;
  padding: 15px 25px;
}
@media screen and (min-width: 430px) {
  .p-form-step legend {
    font-size: calc(20 * (100vw / 620));
  }
}
@media screen and (min-width: 620px) {
  .p-form-step legend {
    font-size: calc(28 * (100vw / 768));
  }
}
@media screen and (min-width: 768px) {
  .p-form-step legend {
    font-size: calc(28 * (100vw / 992));
  }
}
@media screen and (min-width: 992px) {
  .p-form-step legend {
    font-size: 28px;
  }
}
.p-form-step label {
  cursor: pointer;
  display: block;
  margin: 5px 0;
}
.p-form-step label .label_wrap {
  padding: 0 10px;
}
.p-form-step label input:disabled + .label_wrap {
  background-color: #f5f5f5;
  color: #aaa;
  text-decoration: line-through;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: not-allowed;
}
.p-form-step label .reduce {
  font-size: 85%;
  color: #a75454;
}
.p-form-step fieldset {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 167, 196, 0.4);
  border: 1px;
  font-size: clamp(16px, 3.26vw, 25px);
  padding: 35px 5%;
  width: 100%;
}
@media screen and (min-width: 992px) {
  .p-form-step fieldset {
    font-size: 25px;
  }
}
.p-form-step fieldset + fieldset {
  margin: 4vh auto 0;
}
.p-form-step fieldset input {
  padding: 6px;
}
.p-form-step fieldset select {
  padding: 6px 15px;
}
.p-form-step_list > li {
  margin: 0 0 2%;
  padding: 0 0 2%;
  border-bottom: 1px dotted #b8d9e1;
}
.p-form-step_list > li input[type="text"], .p-form-step_list > li input[type="tel"], .p-form-step_list > li input[type="email"] {
  padding: 6px;
  width: 100%;
}
.p-form-step_btn {
  display: flex;
  justify-content: center;
  margin: 6% auto 0;
}
.p-form-step_btn button {
  border: none;
  background-color: #ccc;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  min-width: 150px;
  margin: 0 15px;
  padding: 10px 30px;
  text-align: center;
  text-shadow: none;
}
.p-form-step_btn button.back {
  background-color: #ccc;
  color: #656565;
}
.p-form-step_btn button.next {
  background: #00A3EB;
  background: linear-gradient(180deg, #00a3eb 0%, #08d0ff 100%);
  color: #fff;
}
.p-form-step_privacy .title {
  font-size: clamp(16px, 2.21vw, 22px);
  font-weight: normal;
}
@media screen and (min-width: 992px) {
  .p-form-step_privacy .title {
    font-size: 22px;
  }
}
.p-form-step_privacy .text {
  background-color: #fafafa;
  font-size: clamp(15px, 1.61vw, 16px);
  height: 320px;
  margin: 15px 0 0;
  overflow-y: scroll;
  padding: 35px 5%;
  word-break: break-all;
}
@media screen and (min-width: 992px) {
  .p-form-step_privacy .text {
    font-size: 16px;
  }
}
.p-form-step_privacy .text > p {
  margin: .8rem 0 0;
}
.p-form-step_privacy .consent {
  font-size: clamp(16px, 1.81vw, 18px);
  font-weight: normal;
  text-align: center;
  margin: 2.5rem 0 0;
  color: #f00;
}
@media screen and (min-width: 992px) {
  .p-form-step_privacy .consent {
    font-size: 18px;
  }
}
.p-form-step--att {
  color: #555;
  font-size: clamp(12px, 1.61vw, 16px);
}
@media screen and (min-width: 992px) {
  .p-form-step--att {
    font-size: 16px;
  }
}
.p-form-step--att a {
  color: #1367a5;
  text-decoration: underline;
  word-break: break-all;
}
.p-form-step--att a:hover {
  text-decoration: none;
}
.p-form-thanks {
  height: 100vh;
  padding: 80px 20px;
  text-align: center;
}
.p-form-thanks__title {
  margin-bottom: 24px;
  font-size: calc(20 * (100vw / 430));
  margin: 0 0 1%;
  padding: 15px 25px;
}
@media screen and (min-width: 430px) {
  .p-form-thanks__title {
    font-size: calc(28 * (100vw / 620));
  }
}
@media screen and (min-width: 620px) {
  .p-form-thanks__title {
    font-size: calc(28 * (100vw / 768));
  }
}
@media screen and (min-width: 768px) {
  .p-form-thanks__title {
    font-size: calc(28 * (100vw / 992));
  }
}
@media screen and (min-width: 992px) {
  .p-form-thanks__title {
    font-size: 28px;
  }
}
.p-form-thanks__message {
  color: #333;
  margin-bottom: 32px;
  line-height: 1.6;
  font-size: clamp(14px, 2.6vw, 20px);
  max-width: 980px;
  margin: auto;
  background-color: #fff;
  padding: 2%;
  border-radius: 5px;
}
@media screen and (min-width: 992px) {
  .p-form-thanks__message {
    font-size: 20px;
  }
}
.p-form-thanks__button .c-button {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}
.p-form-thanks__button .c-button:hover {
  background-color: #005f99;
}
