.p-accordion {
  border: 1px solid var(--main) !important;
  border-radius: 5px;
}
.p-accordion > summary {
  position: relative;
  padding: 1em 3em 1em 1em !important;
  list-style: none;
  cursor: pointer;
}
.p-accordion > summary::-webkit-details-marker {
  display: none;
}
.p-accordion__icon {
  position: absolute;
  inset-block: 0;
  right: 1.5em;
  display: block;
  margin-block: auto !important;
  transition: transform 0.3s ease;
  width: 1.5em;
  height: 1.5em;
}
@media screen and (max-width: 767px) {
  .p-accordion__icon {
    right: 1em;
  }
}
.p-accordion__icon::before, .p-accordion__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 2px;
  background-color: var(--main);
  margin: auto;
  transition: transform 0.3s ease;
}
.p-accordion__icon::after {
  transform: rotate(-90deg);
}
.p-accordion__content {
  padding-block: 1em 3em !important;
  padding-inline: 2em !important;
}
@media screen and (max-width: 767px) {
  .p-accordion__content {
    padding-inline: 1em !important;
  }
}
.p-accordion[open] .p-accordion__icon::after {
  transform: rotate(0);
}

fieldset {
  padding: 0;
  border: none;
}

.p-form.-ending-note, .p-form.-container-style-a {
  padding: 4em 1em;
  width: min(100%, 896px);
  margin-inline: auto;
  background-color: #fff;
}
.p-form__lead {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
}
@media screen and (max-width: 767px) {
  .p-form__lead {
    font-size: 3.7333333333vw;
  }
}
.p-form__lead * {
  font-weight: inherit;
  color: inherit;
}
.p-form__lead-lg {
  font-size: 20px !important;
  font-weight: 500;
  color: var(--primary-color);
}
@media screen and (max-width: 767px) {
  .p-form__lead-lg {
    font-size: 3.7333333333vw !important;
  }
}
.p-form__catch {
  width: fit-content;
  padding: 10px;
  margin-inline: auto;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
}
.p-form__required {
  display: inline-block;
  font-size: 12px;
  background-color: var(--primary-color);
  color: #fff;
  margin-left: 5px;
  padding: 2px 4px;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .p-form__required {
    font-size: 2.6666666667vw;
  }
}
.p-form__separator-line {
  border-top: 2px dashed var(--primary-color);
  margin-block: 5em;
  padding-block: 2em;
}
.p-form__group {
  margin-top: 20px;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
}
@media screen and (max-width: 767px) {
  .p-form__group {
    margin-top: 5.3333333333vw;
  }
}
.p-form__row {
  display: grid;
  grid-template-columns: 195px 1fr;
  min-height: 86px;
}
@media screen and (max-width: 767px) {
  .p-form__row {
    grid-template-columns: 1fr;
    min-height: 13.3333333333vw;
    padding: 5.3333333333vw 0;
  }
}
.p-form__row + .p-form__row {
  border-top: 1px solid #c8c8c8;
}
.p-form__row fieldset {
  display: contents;
}
.p-form__row fieldset > div {
  padding-block: 20px;
  padding-inline: 35px;
}
@media screen and (max-width: 767px) {
  .p-form__row fieldset > div {
    padding-inline: 0;
  }
}
.p-form__row.input-hide {
  opacity: 0;
  visibility: hidden;
  height: 0;
  min-height: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease;
}
.p-form__row.input-hide.is-show {
  opacity: 1;
  visibility: visible;
  height: auto;
  min-height: auto;
  pointer-events: auto;
}
@media screen and (min-width: 768px) {
  .p-form__label {
    padding-block: 30px;
    padding-inline: 0 10px;
    border-right: 1px solid #c8c8c8;
  }
}
.p-form__label-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .p-form__label-text {
    font-size: 3.7333333333vw;
  }
}
.p-form__input-wrap {
  display: grid;
  align-items: start;
  padding-block: 30px;
  padding-inline: 30px 68px;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-form__input-wrap {
    padding-block: 0;
    padding-inline: 0;
    margin-top: 5.3333333333vw;
    font-size: 3.2vw;
  }
}
.p-form__input-wrap.-adjust-pd {
  padding-block: 30px;
}
@media screen and (max-width: 767px) {
  .p-form__input-wrap.-adjust-pd {
    padding-block: 0;
  }
}
.p-form__input {
  align-self: center;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-form__input {
    font-size: 3.2vw;
  }
}
.p-form__input input[type=text],
.p-form__input input[type=tel],
.p-form__input input[type=email] {
  width: 100%;
  height: 48px;
  padding: 0.5em 1em;
  border: 1px solid #b4bebe;
  border-radius: 3px;
}
@media screen and (max-width: 767px) {
  .p-form__input input[type=text],
  .p-form__input input[type=tel],
  .p-form__input input[type=email] {
    height: 8vw;
  }
}
.p-form__input input[type=checkbox],
.p-form__input input[type=radio] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.p-form__input input[type=checkbox] + label,
.p-form__input input[type=radio] + label {
  cursor: pointer;
}
.p-form__input textarea {
  width: 100%;
  height: 180px;
  padding: 0.5em 1em;
  resize: vertical;
  border: 1px solid #b4bebe;
}
@media screen and (max-width: 767px) {
  .p-form__input textarea {
    height: 40vw;
  }
}
.p-form__input .form-control {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-form__input .form-control {
    font-size: 3.2vw;
  }
}
@media screen and (min-width: 768px) {
  .p-form__input.-half input {
    width: 50%;
  }
}
.p-form__note {
  margin-left: 10px;
  font-size: 14px;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .p-form__note {
    display: block;
    margin-top: 1.3333333333vw;
    margin-left: 0;
    font-size: 3.2vw;
  }
}
.p-form__postal-items {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .p-form__postal-items {
    gap: 1.3333333333vw;
  }
}
.p-form__postal-items #postcode1 {
  width: 102px !important;
}
@media screen and (max-width: 767px) {
  .p-form__postal-items #postcode1 {
    width: 21.3333333333vw !important;
  }
}
.p-form__postal-items #postcode2 {
  width: 139px !important;
}
@media screen and (max-width: 767px) {
  .p-form__postal-items #postcode2 {
    width: 26.6666666667vw !important;
  }
}
.p-form__postal-items .add {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
}
@media screen and (max-width: 767px) {
  .p-form__postal-items .add {
    font-size: 2.6666666667vw;
  }
}
.p-form__radio-ttl {
  margin-block: 0 !important;
  font-size: 16px;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .p-form__radio-ttl {
    font-size: 3.2vw;
  }
}
.p-form__radio-items {
  display: flex;
  gap: 33px;
}
@media screen and (max-width: 767px) {
  .p-form__radio-items {
    gap: 5.3333333333vw;
  }
}
.p-form__radio-items.-column {
  flex-direction: column;
  gap: 15px;
}
.p-form .mwform-radio-field {
  display: grid;
}
.p-form .mwform-radio-field label {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-form .mwform-radio-field label {
    gap: 1.3333333333vw;
    font-size: 3.7333333333vw;
  }
}
.p-form .mwform-radio-field label input[type=radio] {
  position: relative;
  top: 0.1em;
  width: 11px;
  height: 11px;
  margin: 0;
  appearance: none;
  background-color: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .p-form .mwform-radio-field label input[type=radio] {
    top: 0;
    width: 1em;
    height: 1em;
  }
}
.p-form .mwform-radio-field label input[type=radio]::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-color: transparent;
  border-radius: 50%;
  transition: background 0.5s ease;
}
.p-form .mwform-radio-field label input[type=radio]:checked::before {
  background-color: #39a6f7;
}
.p-form .mwform-radio-field label span {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  .p-form .mwform-radio-field label span {
    font-size: 3.7333333333vw;
  }
}
.p-form__checkbox-items {
  display: grid;
  gap: 26px;
}
@media screen and (max-width: 767px) {
  .p-form__checkbox-items {
    gap: 5.3333333333vw;
  }
}
.p-form__checkbox-items textarea {
  height: 64px;
}
@media screen and (max-width: 767px) {
  .p-form__checkbox-items textarea {
    height: 13.3333333333vw;
  }
}
.p-form .mwform-checkbox-field {
  display: grid;
}
.p-form .mwform-checkbox-field label {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
}
.p-form .mwform-checkbox-field label input[type=checkbox] {
  position: relative;
  top: 0.15em;
  width: 1.2em;
  height: 1.2em;
  margin: 0;
  appearance: none;
  background-color: #fff;
  border: 1px solid #9e9e9f;
  transition: 0.5s;
}
@media screen and (max-width: 767px) {
  .p-form .mwform-checkbox-field label input[type=checkbox] {
    width: 1.5em;
    height: 1.5em;
  }
}
.p-form .mwform-checkbox-field label input[type=checkbox]::before {
  transition: 0.5s;
}
.p-form .mwform-checkbox-field label input[type=checkbox]:checked {
  background-color: var(--main);
}
.p-form .mwform-checkbox-field label input[type=checkbox]:checked::before {
  position: absolute;
  top: 0.2em;
  left: 0.15em;
  display: block;
  width: 0.6em;
  height: 0.3em;
  content: "";
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}
@media screen and (max-width: 767px) {
  .p-form .mwform-checkbox-field label input[type=checkbox]:checked::before {
    width: 1em;
    height: 0.5em;
  }
}
.p-form .mwform-checkbox-field label span {
  margin-left: 10px;
  font-size: 16px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-form .mwform-checkbox-field label span {
    margin-left: 2.6666666667vw;
    font-size: 3.7333333333vw;
  }
}
.p-form .mwform-checkbox-field + .mwform-checkbox-field {
  margin-left: 0;
}
.p-form__foot-note {
  max-width: 530px;
  margin-inline: auto;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-form__foot-note {
    max-width: 100%;
    margin-top: 5.3333333333vw;
    font-size: 2.9333333333vw;
  }
}
.p-form__foot-note * {
  font-weight: inherit;
}
.p-form__submit-wrap {
  display: grid;
  gap: 30px;
  margin-top: 37px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-form__submit-wrap {
    gap: 5.3333333333vw;
    margin-top: 5.3333333333vw;
  }
}
.p-form__submit {
  margin-inline: auto;
}
.p-form__submit input {
  font-family: var(--sans-serif);
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  background: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 100vmax;
}
@media screen and (max-width: 767px) {
  .p-form__submit input {
    font-size: 4.2666666667vw;
  }
}
@media (any-hover: hover) {
  .p-form__submit input {
    transition: 0.5s;
    transition-property: background, color;
  }
  .p-form__submit input:hover {
    color: var(--primary-color);
    background: #fff !important;
  }
}
.p-form__submit input[type=submit]:disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
.p-form__complete-txt {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.p-form__privacy-policy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .p-form__privacy-policy {
    font-size: 2.9333333333vw;
  }
}
.p-form__privacy-policy * {
  font-weight: inherit;
}
.p-form__privacy-policy a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
@media (any-hover: hover) {
  .p-form__privacy-policy a:hover {
    text-decoration: none;
  }
}
.p-form__privacy-policy .mwform-checkbox-field-text {
  display: none;
}

.mw_wp_form select {
  font-size: 16px;
  font-weight: 500;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .mw_wp_form select {
    font-size: 3.7333333333vw;
  }
}

.mw_wp_form_input .no2 {
  display: none;
}

.mw_wp_form_preview input[name=submitBack],
.mw_wp_form_preview input[name=submit],
.mw_wp_form_input input[name=submitConfirm] {
  width: 230px;
  height: 54px;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
}

.mw_wp_form_confirm .contact-box {
  display: none;
}
.mw_wp_form_confirm .no1 {
  display: none;
}
.mw_wp_form_confirm .p-form__row.input-hide {
  opacity: 1;
  visibility: visible;
  height: auto;
  pointer-events: auto;
}
@media screen and (max-width: 767px) {
  .mw_wp_form_confirm .p-form__submit {
    display: grid;
    gap: 20px;
  }
  .mw_wp_form_confirm .p-form__submit input[name=submit] {
    margin-left: 0 !important;
  }
}
.mw_wp_form_confirm .p-form__privacy-policy {
  display: none;
}