/*---------------------------------------
  Mail Form
---------------------------------------*/

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

div#mfp_hidden input {
  margin: 0;
}

.mailform-body input[type="text"],
.mailform-body input[type="email"],
.mailform-body input[type="tel"],
.mailform-body select,
.mailform-body textarea {
  background-color: rgba(240, 240, 240, 1.0);
  font-family: -apple-system, BlinkMacSystemFont, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "Hiragino Kaku Gothic ProN", meiryo, sans-serif;
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 0 1.0rem;
  position: relative;
  width: 100%;
}

* ::-webkit-input-placeholder {
  color: rgba(200, 200, 200, 1.0);
}

* :-ms-input-placeholder {
  color: rgba(200, 200, 200, 1.0);
}

select::-ms-expand {
  display: none;
}

.mailform-body option {
  display: block;
  height: 1.5rem;
  padding: 1.0rem 0;
}

.MBselectMenu {
  position: relative;
}

.MBselectMenu::before {
  content: " ";
  display: block;
  height: 10px;
  position: absolute;
  right: 1.0rem;
  border-right: 2px solid rgba(0,0,0, 1.0);
  border-bottom: 2px solid rgba(0,0,0, 1.0);
  margin-top: -6px;
  top: 50%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 10px;
  z-index: 10;
}

.mailform-body textarea {
  display: block;
  height: 14.0rem;
  resize: vertical;
}

.mailform-body ul {
  border-bottom: 1px solid rgba(230, 230, 230, 1.0);
  margin-bottom: 1.0rem;
}

.mailform-body ul li {
  border-top: 1px solid rgba(230, 230, 230, 1.0);
  display: table;
  padding: 1.0rem 0;
  width: 100%;
}

.mailform-button {
  margin-top: 3.0rem;
  text-align: center;
}

.mailform-button button {
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "Hiragino Kaku Gothic ProN", meiryo, sans-serif;
}

.mailform-button button[type="reset"] {
  background-color: rgba(200, 200, 200, 1.0);
  border: 2px solid rgba(200, 200, 200, 1.0);
  color: rgba(255, 255, 255, 1.0);
  border-radius: 3.0rem;
  font-weight: 700;
  line-height: 1.75rem;
  padding: 0.5rem 0;
  margin-right: 1.0rem;
  transition: all 0.7s ease;
  -webkit-transition: all 0.7s ease;
  width: 10.0rem;
}

.mailform-button button[type="reset"]:hover {
  background-color: rgba(230, 230, 230, 1.0);
  border: 2px solid rgba(230, 230, 230, 1.0);
}

.mailform-button button[type="submit"] {
  background-color: rgba(25, 150, 60, 1.0);
  border: 2px solid rgba(25, 150, 60, 1.0);
  color: rgba(255, 255, 255, 1.0);
  border-radius: 3.0rem;
  font-weight: 700;
  line-height: 1.75rem;
  padding: 0.5rem 0;
  transition: all 0.7s ease;
  -webkit-transition: all 0.7s ease;
  width: 20.0rem;
}

.mailform-button button[type="submit"]:hover {
  background-color: rgba(255, 255, 255, 1.0);
  color: rgba(25, 150, 60, 1.0);
}

@media only screen and (max-width: 767px) {
  .mailform-button button[type="reset"] {
    margin-right: 0;
    margin-bottom: 1.0rem;
    width: 100%;
  }
  .mailform-button button[type="submit"] {
    width: 100%;
  }
}

.form-label {
  display: table-cell;
  line-height: 1.5rem;
  vertical-align: middle;
  width: 30%;
}

.form-input {
  display: table-cell;
  vertical-align: middle;
  width: 70%;
}

@media only screen and (max-width: 767px) {
  .form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    width: 100%;
  }
  .form-input {
    display: block;
    width: 100%;
  }
}

.required-label {
  color: rgba(200, 50, 100, 1.0);
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 700;
  margin-left: 1.0rem;
}

.mfp_err {
  clear: both;
  color: rgba(210, 25, 20, 1.0);
  display: none;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0;
}

.mfp_ok {
  clear: both;
  display: none;
  font-size: 0.875rem;
  margin-top: 1.0rem;
  padding: 0;
  margin: 0;
  ;
}

.problem {
  background-color: rgba(255, 205, 205, 1.0)!important;
}
