/*Contact Form Pro*/
div#mfp_overlay {
  position: absolute;
  display: none;
  z-index: 10001;
}

div#mfp_overlay_inner {
  background-color: #fff;
  padding: 15px;
  margin: 0px auto;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #000;
  width: 640px;
  max-width: 90%;
}

div#mfp_overlay_background {
  background-color: #000;
  position: absolute;
  display: none;
  z-index: 10000;
}

div#mfp_loading_screen {
  z-index: 20000;
  opacity: 0.8;
  display: none;
  background-color: #000;
  position: absolute;
}

div#mfp_loading {
  z-index: 20001;
  position: absolute;
  display: none;
  width: 40px;
  height: 40px;
  background-image: url(_images/mfp_loading.gif);
}

div#mfp_hidden {
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: 0px;
}

.mfp_err {
  clear: both;
  display: none;
  font-size: 0.8em;
  color: var(--color-red);
  line-height: normal;
  /* width: -moz-fit-content;
  width: fit-content; */
  width: 100%;
}

div.mfp_err {
  clear: both;
  display: none;
  text-align: left;
  margin: 5px 0px 0px 0px;
  padding: 3px 0px 5px 5px;
  color: #f00;
  font-size: 12px;
  line-height: normal;
}

.div.mfp_err::before,
.div.mfp_err::after {
  content: none;
  display: none;
}

.mfp_parent_error {
  border: solid 2px #f00;
}

.problem {
  background-color: #fcc;
}

div#mfp_error {
  background-color: #fee;
  border: solid 1px #f00;
  padding: 10px;
  display: none;
}

div#mfp_error p {
  padding: 0px;
  margin: 0px;
  font-size: 14px;
  text-align: center;
}

div#mfp_error p strong {
  font-size: 18px;
  color: #f00;
}

div#mfp_warning {
  background-color: #fee;
  border: solid 1px #f00;
  padding: 10px;
  display: none;
  border-radius: 5px;
}

div#mfp_warning p {
  padding: 0px;
  margin: 0px;
  font-size: 14px;
  text-align: center;
}

div#mfp_warning p strong {
  font-size: 18px;
  color: #f00;
}

/*jQuery UI Datepicker*/
/* .datepicker{
  border: 2px solid #ccc;
  font-size: 20px;
} 
.ui-datepicker {
  font-size: 1.6rem;
  max-width: 100%;
  width: 30em;
  padding: .2em .2em 0;
  display: none;
  overflow-x: auto;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  font-size: 1.5rem; 
  padding: .2em;
  text-align: right;
  text-decoration: none; 
}
@media (max-width: 600px){
  .ui-datepicker {
    font-size: 3vw;
  }
  .ui-datepicker td span,
  .ui-datepicker td a {
    font-size: 3vw; 
  }
}*/

.c-form_agreement {
  background: #fff5f8;
  padding: 25px 45px;
  margin: 45px auto;
}
.c-form_agreement a {
  color: var(--color-red);
  text-decoration: underline;
}
.c-form_agreement a:hover {
  text-decoration: none;
  opacity: 0.7;
}
.c-form_agreement .mfp_err {
  width: 100%;
}

.form__select {
  position: relative;
}

.form__select::after {
  content: "▼";
}

div.form__example-text {
  display: block;
  margin-top: 5px;
}

span.form__example-text {
  display: inline-block;
  margin-top: 5px;
}

.form__input-container--tel {
  align-items: center;
  gap: 0 10px;
}

.form__input-container--unit {
  align-items: center;
  gap: 0 10px;
}

.form__unit-text {
  display: inline-block;
  align-self: flex-end;
  vertical-align: baseline;
}

.mfp_element_select-one {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  padding: 14px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 6px;
  background: #fff url(../img/common/icon_arrow_under.svg) no-repeat center right 15px/auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  color: #383838;
}

#js-input-zip {
  opacity: 0;
  font-size: 0;
  width: 0;
  height: 0;
  border: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/*Mailformpro確認画面用css*/
#mfp_phase_confirm {
  display: none; /*条件分岐用に設置*/
}
#mfp_phase_confirm h4 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  /*SP以下 表示*/
  #mfp_phase_confirm h4 {
    font-size: 24px;
  }
} /*END SP以下 表示*/

/* 
#mfp_confirm_table {
  width: 100%;
}
#mfp_confirm_table th, #mfp_confirm_table td {
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-align: left;
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  word-break: break-all;
}
#mfp_confirm_table th {
  width: 215px;
  padding-right: 15px;
  white-space: normal;
  word-break: break-all;
}
#mfp_confirm_table td {
  width: calc(100% - 215px);
}

@media screen and (max-width: 767px) {
  #mfp_confirm_table {
    display: block;
  }
  #mfp_confirm_table tbody, #mfp_confirm_table tr, #mfp_confirm_table th, #mfp_confirm_table td {
    display: block;
  }
  #mfp_confirm_table th, #mfp_confirm_table td {
    font-size: 1.4rem;
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
  }
  #mfp_confirm_table th {
    width: 100%;
    padding-right: 0;
    border: none;
  }
  #mfp_confirm_table td {
    width: 100%;
    padding-top: 0;
  }
}
.mfp_buttons {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  padding-bottom: 139px;
}

.mfp_element_button {
  width: 40%;
  max-width: 250px;
  height: 100%;
  padding: 19px 10px;
  outline: none;
  border: none;
  border-radius: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ccc;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.56em;
  color: #fff;
  text-wrap: wrap;
  cursor: pointer;
  position: relative;
}

#mfp_button_send {
  background: #b49975;
}
#mfp_button_send::before {
  --right: 48px;
  content: "";
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: 0.3s ease;
}
#mfp_button_send::after {
  --right: 56px;
  content: "";
  width: 4px;
  height: 4px;
  border-top: 1px solid #b49975;
  border-right: 1px solid #b49975;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 28px;
  rotate: 45deg;
  transition: 0.3s ease;
} */
