/* form-mv */
.p-form-mv {
  width: 100%;
  margin-top: 160rem;
  background-image: url(../img/form-mv-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 1920 / 432;
  display: grid;
  place-items: center;
}
.p-form-mv__h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 70rem;
}
.p-form-mv__h2 span {
  font-size: 20rem;
}
.p-form-mv__h2 h2 {
  font-size: 46rem;
  font-weight: 800;
}

/* mq: form-mv */
@media screen and (max-width: 768px) {
  .p-form-mv {
    margin-top: 70rem;
    aspect-ratio: 1920 / 640;
    background-image: none;
    background-color: #0058a3;
  }
  .p-form-mv__h2 {
    margin-bottom: 0;
  }

  .p-form-mv__h2 span {
    font-size: 12rem;
  }
  .p-form-mv__h2 h2 {
    font-size: 22rem;
  }
}

/* form */
.p-form {
  max-width: 1080px;
  width: 92.5%;
  margin-inline: auto;
  padding-block: 80rem;
}
.p-form-wrapper form {
  font-size: 16rem;
}
.p-form .p-form-message {
  font-size: 24rem;
  text-align: center;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}
.p-form form .p-form-message {
  font-size: 20rem;
  text-align: center;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

.p-form-message span {
  font-size: 16rem;
  color: #aaa;
}

.p-form-content {
  margin-bottom: 60rem;
}

.p-form-content__list {
  display: flex;
  margin-bottom: 28rem;
  align-items: flex-start;
}
.p-form-content__list > dt {
  width: 18em;
  display: flex;
  align-items: center;
  padding: 0.5em 0.5em;
}
.p-form-content__list > dd {
  flex-grow: 1;
}
.p-form-content__list > dd p {
  padding: 0.5em 0.5em;
}

.p-form-content__list input,
.p-form-content__list textarea {
  width: 100%;
  padding: 0.5em 0.5em;
  border: 1px solid #b5b5b5;
  border-radius: 0.25em;
}
.p-form-content__list textarea {
  height: 10em;
  resize: vertical;
}

.p-form-content__list input:focus-visible,
.p-form-content__list textarea:focus-visible {
  outline-color: #b5b5b5;
}
.p-form-content__list input::placeholder,
.p-form-content__list textarea::placeholder {
  color: #b5b5b5;
  font-weight: 300;
}

.p-form-content__title {
  margin-left: 0.75em;
}
.p-form-content__list > dt span.require,
.p-form-content__list > dt span.optional {
  background-color: #da0427;
  color: #fff;
  font-size: 12rem;
  border-radius: 0.25em;
  padding: 0.25em 0.75em;
}
.p-form-content__list > dt span.require {
  background-color: #da0427;
  display: grid;
  place-items: center;
}
.p-form-content__list > dt span.optional {
  background-color: #6c6c6c;
}

.p-form-parts__checkbox,
.p-form-parts__radio {
  padding: 0.5em 0.5em;
}

.p-form-parts__checkbox > li,
.p-form-parts__radio > li {
  display: flex;
  margin-bottom: 0.5em;
}
.p-form-parts__checkbox > li > label,
.p-form-parts__radio > li > label {
  margin-left: 0.5em;
}
.p-form-parts__checkbox input[type="checkbox"] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #aaa;
  border-radius: 0;
  vertical-align: -3px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.p-form-parts__checkbox input[type="checkbox"]:checked:before {
  position: absolute;
  top: 0;
  left: 30%;
  transform: rotate(45deg);
  width: 5px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: "";
}

.p-form-parts__btn {
  text-align: center;
  margin-block: 20rem 120rem;
}
.p-form-parts__btn button,.p-form-parts__btn a {
  display: inline-block;
  color: #fff;
  background-color: #51a100;
  background-image: url(../img/icon_btn02.png);
  box-shadow: 5rem 5rem 20rem rgba(0, 0, 0, 0.15);
  text-decoration: none;
  border: 2rem solid #51a100;
  border-radius: 50rem;
  font-size: 20rem;
  padding: 32rem 180rem 32rem 50rem;
  background-size: 53rem auto;
  background-position: right 25rem center;
  background-repeat: no-repeat;
  transition-duration: 0.5s;
  cursor: pointer;
  font-weight: 500;
  font-family: "noto-sans-cjk-jp", sans-serif;
}
.p-form-parts__btn button:hover {
  color: #51a100;
  background-color: #fff;
  background-image: url(../img/icon_btn01.png);
}

.p-dl-body .p-form-parts__btn button {
}

.p-form-error {
  color: #da0427;
}

/* mq: form */
@media screen and (max-width: 768px) {
  .p-form {
    padding-top: 64rem;
  }

  .p-form-wrapper form {
    font-size: 15rem;
  }
  .p-form-message {
    font-size: 18rem;
  }
  .p-form-message span {
    font-size: 16rem;
  }
  .p-form .p-form-message {
    font-size: 18rem;
  }

  .p-form-content__list {
    flex-direction: column;
    gap: 10px;
  }
  .p-form-content__list > dt,
  .p-form-content__list > dd {
    width: 100%;
  }
  .p-form-content__list > dt {
    padding: 0;
  }
  .p-form-content__list dd p {
    padding: 0;
  }
  .p-form-parts__btn{
    margin-bottom: 0;
  }
  .p-form-parts__btn button {
    padding: 16rem 80rem 16rem 32rem;
    font-size: 18rem;
    background-size: 36rem auto;
    background-position: right 20rem center;
  }
}

/* form-policy */
.form-policy__message {
  text-align: center;
  margin-block: 32rem;
}

.form-policy__wrapper {
  height: 15em;
  background-color: whitesmoke;
  border-radius: 12px;
  margin-block: 70rem 20rem;
}
.form-policy__inner {
  padding: 1em 2em 1.25em 1.75em;
  font-size: 14rem;
  line-height: 2;
}
.form-policy__inner h3 {
  font-weight: 800;
}
.form-policy__inner p {
  font-weight: 400;
}

/* form-DL */
.p-dl-body {
  display: flex;
  max-width: 1280rem;
  width: 95%;
  margin-inline: auto;
  padding-block: 80rem;
}
.p-dl-left {
  width: 50%;
  font-size: 16rem;
  padding-right: 50rem;
  margin-bottom: 48rem;
}
.p-dl-left h3 {
  font-size: 24rem;
  font-weight: 800;
}

.p-dl-left__img {
  width: 100%;
  background-color: whitesmoke;
  border-radius: 4rem;
  text-align: center;
  margin-inline: 0;
  padding-block: 20rem;
}
.p-dl-left__img img {
  max-width: 400px;
}

.p-dl-left__text {
  margin-bottom: 32rem;
}
.p-dl-left__h4 {
  font-size: 20rem;
  font-weight: 800;
  margin-bottom: 18rem;
  color: #0058a3;
}

.p-dl-left__list {
  background-color: #ecf6fe;
  padding: 18rem 24rem;
  border-radius: 4rem;
}

.p-dl-left__list ul {
  margin-left: 16rem;
  line-height: 1.75;
}
.p-dl-left__list ul li {
  color: initial;
  position: relative;
}
.p-dl-left__list ul li::before {
  position: absolute;
  background-color: #0058a3;
  width: 8rem;
  height: 8rem;
  content: "";
  left: -16rem;
  top: 12rem;
  border-radius: 20vh;
}

.p-dl-right {
  width: 50%;
}

.p-dl-right.p-form {
  padding-block: 0;
}
.p-dl-right.p-form .p-form-content__list {
  flex-direction: column;
  gap: 10px;
}
.p-dl-right.p-form .p-form-content__list dt,
.p-dl-right.p-form .p-form-content__list dd {
  width: 100%;
}
.p-dl-right.p-form .p-form-content__list dt {
  padding: 0;
}
.p-dl-right.p-form .p-form-content__list dd p {
  padding: 0;
}

.p-form-content .form-policy__message {
  text-align: left !important;
}
.p-dl-body .form-policy__message {
  margin-bottom: 20rem !important;
  margin-top: 50rem !important;
}
.p-dl-body .form-policy__wrapper {
  margin-top: 0 !important;
}

/* mq: form-DL */
@media screen and (max-width: 768px) {
  .p-dl-body {
    flex-direction: column;
  }
  .p-dl-left,
  .p-dl-right {
    width: 100%;
  }
  .p-dl-left {
    padding-right: 0;
  }
}

/* form-thanks */
.p-form-message {
  font-size: 20rem;
  text-align: center;
  margin-bottom: 64rem;
  max-width: 1280px;
  width: 92.5%;
  margin-inline: auto;
  padding-block: 80rem;
}
.p-form-message__body {
  line-height: 1.75;
}
.p-form-message__body h3 {
  font-size: 32rem;
  font-weight: 800;
  margin-bottom: 24rem;
}
.p-form-message__body p {
  font-size: 20rem;
}

/* mq: form-thanks */
@media screen and (max-width: 768px) {
  .p-form-message {
    padding-block: 60rem;
  }
}
