@charset "UTF-8";


/* =======================================================
   CUSTOM
======================================================== */
form#mailformpro {
  padding: 0;
}
.mailform {
  /* font-size: 1.6rem; */
  width: 100%;
  margin: 0px auto 100px;
  text-align: left;
  border-top: 1px solid #bdbdbd;
  border-left: 1px solid #bdbdbd;
  border-bottom: 1px solid #bdbdbd;
  margin-top: 60px;
  max-width: 980px;
}

.mailform > div:nth-of-type(even) {
  background: var(--Gray1)
}

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

/*======== agree ==========================*/
.form-box.agree {
  text-align: center;
  display: block;
  padding: 30px;
  border-right: 1px solid #b1b1b1;
}



form#mailformpro .dt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 35rem;
  padding: 2rem;
}

.mailform span.must, .mailform span.any {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 6px 10px;
  letter-spacing: 2px;
  color: #fff;
}

.mailform span.must {
  background: var(--Red);
}
.mailform span.any {
  background: var(--Gray3);
}

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

form#mailformpro .dt, form#mailformpro .dd {
  border-bottom: 1px solid #bdbdbd;
  border-right: 1px solid #bdbdbd;
  line-height: 1.4;
}

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

  form#mailformpro .dt {
    width: 100%;
    border-bottom: 1px dashed #b1b1b1;
  }

  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: 991px)
{
  .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;
}
input[type='text']:not(.problem), input[type='tel']:not(.problem), input[type='email']:not(.problem) {
  border: 1px solid #b1b1b1;
}
/*************************/
@media screen and (max-width: 767px)
{
  input,textarea {
    margin: 10px 0;
  }
}
/*************************/

.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-radius: 0;
  margin: 10px 0;
}

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

.item-radio-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  line-height: 3;
}

.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: 14px;
  height: 14px;
  margin-right: 1rem;
  content: '';
  border: 3px 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(--Blue2);
}

.item-radio-list-label::before, .item-radio-list-label::after {
  content: ' ';
}
/*************************/
@media screen and (max-width: 991px)
{
  .item-radio-wrap {
    flex-direction: column;
  }
}
/*************************/


/*== 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 #b1b1b1;
  /* 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 {
  display: block;
  background: var(--Yellow);
  color: var(--Black);
  font-size: 1.8rem;
  text-align: center;
  padding: 20px 40px;
  white-space: nowrap;
  border: 1px solid var(--Yellow);
  letter-spacing: 3px;
}
.mfp_buttons button:hover {
  background: var(--Gray1);
  color: var(--Black);
  border-color: var(--Black)
}
.mfp_buttons button i{
  margin-left: 30px;
}
.mfp_buttons buttons:hover i::before {
  color: var(--Black);
}
/*************************/
@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_overlay_inner .mfp_buttons {
  flex-direction: row-reverse;
}



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

.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: 1px;
  border-style: solid;
  border-color: var(--Blue2);
  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(--Blue2);
}

.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;
}

.contact_textarea{
  height:250px !important;
  width: 100% !important;
}