@charset "UTF-8";

.contact-form {
  margin-top: 60px;
}
.form-box:first-of-type {
  border-top: 1px solid var(--Ft-color);
}
.form-box {
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(0px, 1.471vw, 20px);
  line-height: 1.4;
  border-bottom: 1px solid var(--Ft-color);
}
.mfp.dt {
  width: 30%;
  display: flex;
  align-items: center;
  & > i {
    display: inline-block;
    margin-left: 10px;
  }
}

.mfp.dd {
  width: 70%;
  padding-left: var(--clamp40-60_1360);
}
/*************************/
@media screen and (max-width: 991px) {
  .form-box {
    flex-direction: column;
  }
  .mfp.dt,
  .mfp.dd {
    width: 100%;
  }
  .mfp.dt {
    margin-bottom: 20px;
  }
  .mfp.dt span:first-child {
    font-weight: 500;
  }
  .mfp.dd {
    padding-left: 0;
  }
}
/*************************/

/* =======================================================
   must,any
======================================================== */
.must {
  display: block;
  background-color: #c00;
  border: solid 2px #c00;
  text-shadow: 0px 1px 2px #933;
  padding: 2px 5px;
  font-size: 10px;
  color: #fff;
  float: left;
  margin: 0px 5px;
  border-radius: 4px;
  box-shadow: 0px 0px 5px #ccc;
  background-image: url(_images/mfp_header.png);
  background-size: 100% 100%;
}
.any,
.must {
  display: block;
  font-size: 1.1rem;
  color: var(--Black);
  float: none;
  margin: 0 0 0 10px;
  padding: 2px 5px;
  text-shadow: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  background-image: none;
  font-weight: 500;
  min-width: 35px;
}
.any {
  background: #d4d4d4;
}
.must {
  background: var(--Yellow);
}

/* =======================================================
   input
======================================================== */
.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;
  line-height: 1em;
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 10px;
  border: 1px solid var(--Ft-color);
  background-color: #fff;
}

input::placeholder {
  color: #d9d9d9;
  letter-spacing: 0.14em;
}
.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; */
}

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

/* =======================================================
   radio
======================================================== */

form#mailformpro label {
  line-height: 1.6;
  /* white-space: normal; */
  margin: 0;
  border-radius: 0;
  background:  #fff;
  height: 60px;
  display: flex;
  align-items:  center;
  padding: 2px 28px;
}

.item-radio {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin-top: -20px;
  @media (max-width: 991px) {
    flex-wrap: wrap;
    margin-top: -20px;
  }
}

.item-radio-list {
  display: inline-block;
  margin-right: 1em;
  margin-left: 0;
  margin-top: 20px;
  @media (max-width: 991px) {
    margin-top: 20px;
  }
}

.item-radio-list label {
  display: flex;
  align-items: center;
}

.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 {
    font-family: webfont;
    font-size: 1.7rem;
    content: "\e901";
    position: relative;
    top: -4px;
    background: transparent;
}
form#mailformpro .item-radio label:has(input[type="radio"]:checked) {
  background: #95B07A;
  color: #fff;
}

.item-radio-list-label::before {
  content: '';
  box-shadow: none;
  background: #E1E1E1;
  border: none;
  margin-right: 0.8em;
  width: 1.7rem;
  height: 1.7rem;
}

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

.check-wrap label {
  line-height: 1.2em;
  padding: 0.9375em 0;
  -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.3em;
  min-width: 1.3em;
  height: 1.3em;
  margin-right: 0.75em;
  content: "✓";
  color: transparent;
  border: 2px solid var(--Green1);
  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(--Green1);
}

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

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


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

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

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

.mfp_buttons button {
  display: inline-block;
  background: var(--Orange-red);
  padding: 20px 20px;
  font-family: var(--hina);
  color: #fff;
  min-width: 300px;
  font-size: 2rem;
  position: relative;
  transition: all .3s;
  letter-spacing: 0.14em;

  &::before {
    content: '';
    display: block;
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    border: 1px solid var(--Orange-red);
  }
  &:hover {
    background: #fff;
    color: var(--Orange-red);
  }
}

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

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

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

.caption {
  font-size: 1.4rem;
  margin-bottom: 5px;
  display: block;
}
input + span.caption,
.select-wrap + span.caption {
  margin-top: 20px;
}
