.submain-box::before {
  content: 'CONTACT';
}

/*---------------------------------------------
* 完了画面
----------------------------------------------*/

div.mfp_thanks {
  padding: 30px;
}

div.mfp_thanks p {
  line-height: 1.7em;
}

div.mfp_thanks ul.mfp_caution {
  margin: 0px;
  padding: 0px;
}

div.mfp_thanks ul.mfp_caution li {
  display: block;
  color: #C00;
  margin: 0px;
  padding: 5px 0px;
}

div#mfp_thanks {
  text-align: center;
  font-size: 18px;
  padding: 20px 0px;
}

div#mfp_thanks strong {
  color: #C00;
  font-size: 24px;
}

/*------------------------------------------*/
/* フォームレイアウト
/*------------------------------------------*/

/*  --------------------------------*/
.mfp_colored {
  background-color: transparent;
}

.mfp_achroma {
  background-color: transparent;
}

.mfp_element_all {
  max-width: 100%;
}

/*  --------------------------------*/
form#mailformpro dl dt {
  text-align: left;
  font-size: 1rem;
  border: 0;
  padding-top: 5px;
}

form#mailformpro dl dd {
  margin: 0px;
  padding: 10px;
  font-size: 1rem;
  line-height: 1.5em;
  text-align: left;
}

@media screen and (max-width: 767px) {
  form#mailformpro dl dd {
    border-bottom: solid 1px #ccc;
  }
}

@media screen and (min-width: 768px), print {
  form#mailformpro dl dt {
    border-top: solid 1px #ccc;
    float: left;
    width: 30%;
  }

  form#mailformpro dl dd {
    border-top: solid 1px #ccc;
    padding-left: 30%;
  }
}

dd:after {
  content: '';
  display: block;
  clear: both;
}

/*  --------------------------------*/
.mailform {
  text-align: left;
}

.mailform li {
  padding-bottom: 5px !important;
}

.mailform li:last-child {
  padding-bottom: 0px !important;
}

/* 必須 */
.must {
  display: inline;
  border: 0;
  text-shadow: none;
  float: none;
  margin: 0;
  color: #FFF;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  line-height: 1.1;
  background: #C00;
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 10px;
  vertical-align: middle;
}

.mform-policy {
  margin-top: 20px;
}

.mform-list li {
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .mform-policy {
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 768px), print {
  .mform-policy {
    margin-bottom: 40px;
  }
}

/*---------------------------------------------
*  フォームパーツ
----------------------------------------------*/
.mform-def {
  width: 260px!important;
}

.mform-zip,
.mform-name {
  width: 120px!important;
}

.mform-text {
  width: 360px!important;
  height: 200px!important;
}

@media screen and (max-width: 320px) {
  .mform-def {
    width: 220px!important;
  }

  .mform-text {
    width: 300px!important;
  }
}

@media screen and (min-width: 600px), print {
  .mform-def {
    width: 400px!important;
  }

  .mform-text {
    width: 400px!important;
  }
}

/*---------------------------------------------
親から継承せず、システムデフォルトの体裁を使用してしまう事象の対策
（このタグを入れておけば、placeholderのフォントがbodyのフォントになり、
input::placeholderのフォント指定が不要になる）
----------------------------------------------*/
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

/*---------------------------------------------
プレイスホルダー文字列
※ベンダーフレックスはまとめると何故か効かなくなるので注意
----------------------------------------------*/
::placeholder {
  color: #c1c1c1;
}

::-webkit-input-placeholder {
  color: #c1c1c1;
}

:-moz-placeholder {
  color: #c1c1c1;
}

::-moz-placeholder {
  color: #c1c1c1;
}

:-ms-input-placeholder {
  color: #c1c1c1;
}

/*---------------------------------------------
* 入力エリア
----------------------------------------------*/

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  font-size: 1rem;
  padding: 0.4em;
  border: solid 1px #ccc;
}

/* mailformproのスタイル */
.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: solid 1px #CCC;
  border-radius: 0px;
  box-shadow: 0px 0px 0px #ccc inset;
  padding: 3px 8px;
  margin: 0px;
  vertical-align: middle;
  -webkit-border-radius: 0px;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/*---------------------------------------------
* select
----------------------------------------------*/

select,
.mfp_element_select-one {
  /* styling */
  background-color: white;
  display: inline-block;
  font: inherit;
  padding: 0.4em 3.5em 0.4em 1em;
  border: solid 1px #ccc;
  /* reset */
  margin: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}


/* IE reset */
select::-ms-expand {
  display: none;
}

select.minimal {
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    0px 1.5em;
  background-repeat: no-repeat;
}

/*---------------------------------------------
* checkbox

  mailformpro.cssの一部をコメントアウト
  このフォームのシステム上、labelのforの設定は不要

  チェック後のcss適用は通常、
  input[type="radio"]:checked + label::before
  のようにするところ、フォームで.mform-checkが書き出されるため、それを使用
  （ローカルでは作動しないので注意）
----------------------------------------------*/
input[type="checkbox"] {
  display: none;
}

form#mailformpro .mform-check label {
  position: relative;
  display: inline-block;
  padding: 3px 3px 3px 22px;
  cursor: pointer;
  transition: all .2s;
}

form#mailformpro .mform-check label::before,
form#mailformpro .mform-check label::after {
  position: absolute;
  content: '';
  transition: all .2s;
}

form#mailformpro .mform-check label::before {
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
}

form#mailformpro .mform-check label::after {
  opacity: 0;
  top: 50%;
  left: 3px;
  width: 8px;
  height: 4px;
  margin-top: -4px;
  border-left: 2px solid #009f5d;
  border-bottom: 2px solid #009f5d;
  transform: rotate(-45deg) scale(.5);
}

form#mailformpro .mform-check label:hover::before {
  background: #fff;
}

form#mailformpro .mform-check .mfp_checked::before {
  background: #fff;
  border: 1px solid #009f5d;
}

form#mailformpro .mform-check .mfp_checked::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

/*---------------------------------------------
* radio

  mailformpro.cssの一部をコメントアウト
  このフォームのシステム上、labelのforの設定は不要

  チェック後のcss適用は通常、
  input[type="radio"]:checked + label::before
  のようにするところ、フォームで.mform-checkが書き出されるため、それを使用
  （ローカルでは作動しないので注意）
----------------------------------------------*/
input[type="radio"] {
  display: none;
}

form#mailformpro .mform-radio label {
  position: relative;
  display: inline-block;
  padding: 3px 3px 3px 20px;
  cursor: pointer;
}

form#mailformpro .mform-radio label::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 100%;
}

form#mailformpro .mform-radio .mfp_checked::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 4px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #009f5d;
  border-radius: 100%;
}

/*---------------------------------------------
* 確認チェック
----------------------------------------------*/

form#mailformpro label.mfp_not_checked {
  padding: 3px;
  padding-left: 2em;
  border: solid 0px #EEE;
}

form#mailformpro label.mfp_checked {
  padding: 3px;
  padding-left: 2em;
  border: solid 0px #CCC;
  background-color: transparent;
  box-shadow: 0px 0px 0px #ccc inset;
}

/*---------------------------------------------
* ボタン
----------------------------------------------*/

input[type="submit"] {
  -webkit-appearance: none;
}

.mfp_buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

/*送信*/
/* mailformproのスタイル */
.mfp_buttons .submit,
.mfp_element_submit, .mfp_element_reset, .mfp_element_button, button.mfp_next, button.mfp_prev {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 200px;
  height: 60px;
  background: #C00;
  border: solid 1px #C00;
  border-radius: 40px;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  padding: 0;
  margin-top: 20px;
  -webkit-transition: all .3s;
  transition: all .3s;
}

/*リセット*/
/* mailformproのスタイル */
.mfp_buttons .reset,
.mfp_element_reset {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 200px;
  height: 60px;
  background: #000;
  border: solid 0px #000;
  border-radius: 40px;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 0;
  margin-top: 20px;
  margin-left: 20px;
  transition: all .5s ease;
}

@media screen and (max-width: 850px) {
  .mfp_buttons .reset {
    margin-left: 0;
  }
}


/*確認画面 キャンセル*/
/* mailformproのスタイル */
div.mfp_buttons button#mfp_button_cancel {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 200px;
  height: 60px;
  background: #fff;
  border: solid 1px #000;
  border-radius: 40px;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #000;
  padding: 0;
  margin-top: 20px;
  margin-left: 40px;
  transition: all .5s ease;
}

@media screen and (max-width: 850px) {
  div.mfp_buttons button#mfp_button_cancel {
    margin-top: 20px;
    margin-left: 0;
  }
}

/* mailformproのスタイル */
.mfp_buttons .submit:hover,
.mfp_element_submit:hover,
.mfp_element_button:hover {
  background: #C00;
  border: solid 1px #C00;
  border-radius: 40px;
  color: #fff;
  padding: 0;
  transform: scale(0.9);
}

/* mailformproのスタイル */
.mfp_buttons .reset:hover,
.mfp_element_reset:hover, button.mfp_next:hover, button.mfp_prev:hover {
  letter-spacing: 0.1em;
  border: solid 1px #000;
  border-radius: 40px;
  padding: 0;
  background: #000;
  color: #fff;
  transform: scale(0.9);
}