@charset "UTF-8";
.mailform {
  font-size: 1.6rem;
  width: calc(100% - 1.25em);
  margin: 0 auto 60px;
  text-align: left;
  border-bottom: 1px solid #e7e7e7;
}

.form-box {
  display: flex;
  flex-wrap: wrap;
  border-spacing: 0;
  border-collapse: collapse;
}

form#mailformpro .dt {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 20rem;
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid #e7e7e7;
}

.mailform span.must, .mailform span.any {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
  display: inline-block;
  margin: 0 0 0 5px;
  padding: 5px 5px;
  letter-spacing: 2px;
  color: #fff;
  border: none;
  border-radius: 2px;
  text-shadow: none;
}

.mailform span.must {
  background: #cc0022;
}

.mailform span.any {
  background: #74cff6;
}

form#mailformpro .dd {
  width: calc(100% - 20rem);
  padding: 2rem 0 2rem 2rem;
}

form#mailformpro .dt, form#mailformpro .dd {
  border-top: 1px solid #e7e7e7;
  line-height: 1.4;
}

/*************************/
@media screen and (max-width: 767px) {
  .mailform {
    display: block;
    margin-bottom: 13.038vw;
  }

  form#mailformpro .dt {
    width: 100%;
    padding: 0.625em 0;
    border-right: none;
    border-bottom: none;
  }

  form#mailformpro .dd {
    width: 100%;
    padding: 0 0 1.25em;
    border-top: none;
  }

  .mfp_element_all {
    max-width: 100%;
  }
}

/*************************/
.mfp_col5 {
  position: relative;
}

.w50 {
  width: 50%;
}

/*************************/
@media screen and (max-width: 599px) {
  .w50 {
    width: 100%;
  }
}

/*************************/
input[type='text'], input[type='tel'], input[type='email'] {
  font: inherit;
  font-size: 1.4rem;
  line-height: 1em;
  display: block;
  width: 100%;
  height: 4rem;
  padding: 0 0.2rem;
  /* border-radius: 0.25em; */
  border: 1px solid #f1f1f1;
  background-color: #f1f1f1;
}

.mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/*== radio ================*/
.item-radio {
  display: flex;
  width: 100%;
}

.item-radio-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.125em;
}

.vertical .item-radio-wrap {
  flex-direction: column;
}

.item-radio-list {
  display: inline-block;
  margin-right: 1em;
  margin-left: 0;
}

.item-radio-list label {
  display: flex;
  flex-wrap: wrap;
}

.item-radio-list input[type='radio'] {
  position: absolute;
  opacity: 0;
}

.item-radio-list-label {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}

.item-radio-list-label::before {
  display: block;
  width: 16px;
  height: 16px;
  margin-right: 0.4em;
  content: '';
  border: 4px solid #f9f9f9;
  border-radius: 50%;
  background: #f9f9f9;
  box-shadow: 0 0 0 1px #d1d1d1;
}

.item-radio-list input[type='radio']:checked + span::before, .item-radio-list input[type='radio']:checked + input[type='hidden'] + span::before {
  background: var(--Orange);
}

.item-radio-list-label::before, .item-radio-list-label::after {
  content: ' ';
}

/*== select ================*/
.select-wrap {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .select-wrap {
    flex-wrap: wrap;
  }
}

.select-wrap-inner {
  position: relative;
  display: block;
}

.select-wrap select {
  font-size: 1.6rem;
  line-height: 1em;
  min-width: 6.25em;
  height: 1.875em;
  padding: 0 2em 0 0.5em;
  border: 1px solid #dcdcdc;
  border-radius: 0.25em;
  background-color: transparent;
  background-image: url(../img/svg/select.svg);
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  background-size: 0.375em 0.875em;
}

/*== textarea ================*/
textarea {
  font: inherit;
  display: block;
  width: 100%;
  height: 250px;
  padding: 0 0.2em;
  border: 1px solid #f1f1f1;
  background-color: #f1f1f1;
}

textarea.short-textarea {
  height: 100px
}

/*== button ================*/
.mfp_buttons {
  display: flex;
  align-items: center;
  /* flex-wrap: wrap; */
  justify-content: center;
  margin-top: 2.5em;
}

.mfp_buttons button {
  font-size: 1.4rem;
  display: inline-block;
  min-width: 180px;
  padding: 10px;
  margin: 0 40px 20px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  letter-spacing: 0.1em;
  color: #fff;
  border: none;
  background: var(--Orange);
  text-shadow: none;
  font-family: 'Roboto','Noto Sans JP', sans-serif;
}

/*************************/
@media screen and (max-width: 599px) {
  .mfp_buttons button {
    margin: 0 20px 20px;
  }
}

/*************************/
@media screen and (max-width: 499px) {
  .mfp_buttons {
    flex-direction: column;
  }

  .mfp_buttons button.btn-reset {
    order: 2;
  }
}

/*************************/
.mfp_buttons button.btn-reset, #mfp_button_cancel {
  background: #E8E8E8;
  color: #282828;
  border: 1px solid #E8E8E8;
}

.mfp_buttons button.btn-reset:hover, #mfp_button_cancel:hover {
  color: #282828;
  background: #fff;
  box-shadow: none;
}

.mfp_buttons button.btn-submit, #mfp_button_send {
  border: 1px solid var(--Orange);
}

.mfp_buttons button.btn-submit:hover, #mfp_button_send:hover {
  color: var(--Orange);
  background: #fff;
  box-shadow: none;
}

#mfp_overlay_inner .mfp_buttons {
  flex-direction: row-reverse;
}

.mfp_button_cancel {
}

/*== checkbox ================*/
.check-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.check-wrap label {
  line-height: 1.2em;
  padding: 0.9375em;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.2s;
}

.check-wrap input[type='checkbox'] {
  position: absolute;
  opacity: 0;
}

.check-wrap input[type='checkbox'] + span, .check-wrap input[type='checkbox'] + input + span {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.check-wrap input[type='checkbox'] + span::before, .check-wrap input[type='checkbox'] + input + span::before {
  font-weight: bold;
  line-height: 1em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 1.5em;
  min-width: 1.5em;
  height: 1.5em;
  margin-right: 0.75em;
  content: '✓';
  color: transparent;
  border-width: 2px;
  border-style: solid;
  border-color: var(--Orange);
  border-radius: 0.25em;
  border-image: initial;
  background: rgb(255, 255, 255);
}

.check-wrap input[type='checkbox']:checked + span::before, .check-wrap input[type='checkbox']:checked + input + span::before {
  color: #fff;
  background: var(--Orange);
}

.check-wrap .mfp_err {
  width: 100%;
}

.mfp_col10 + .mfp_col10 {
  margin-top: 2rem;
}

form#mailformpro label {
  line-height: 1.6;
  white-space: normal;
}

form#mailformpro label.mfp_checked {
  border: none;
  background-color: transparent;
  box-shadow: none;
}

form#mailformpro label.mfp_not_checked {
  border: none;
}

.margin-b {
  margin-bottom: 100px;
}

.caption {
  font-size: 1.4rem;
  margin-bottom: 5px;
  display: block;
}

input + span.caption, .select-wrap + span.caption {
  margin-top: 20px;
}
