@charset "UTF-8";

.mw_wp_form_confirm .confirm_unvisible {
  display: none;
}


  .form_wrap {
    width: 960px;
    margin: 0 auto;
	padding-bottom: 40px;
  }


  .form_wrap .error {
	display: block;
	padding-top: 10px;
	color: #c00;
  }


  .form_wrap > .form_text {
    margin-bottom: 30px;
    font-size: 16px;
    text-align: center;
  }
  .form_wrap > .form_thanks {
    font-size: 16px;
  }
  .form_wrap > .form_thanks > h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: #063271 2px solid;
  }
  .form_wrap > .form_thanks > div {
    padding: 20px;
    border: 1px #fff solid;
    margin-bottom: 1em;
  }
  .form_wrap > .form_thanks > div > h5 {
    font-weight: bold;
    margin-bottom: 10px;
  }
  .form_wrap .form_table {
    width: 100%;
    display: table;
    table-layout: fixed;
    background-color: #fff;
  }
  .form_wrap .form_table .select_inline_wrap {
    display: inline-block;
  }
  .form_wrap .form_table > div {
    display: table-row;
  }
  .form_wrap .form_table > div:first-child > div {
    border-top: 1px #fff solid;
  }
  .form_wrap .form_table > div:first-child > .text1 {
    border-top: 1px #fff solid;
  }
  .form_wrap .form_table > div:first-child > .text2 {
    border-top: 1px #fff solid;
  }
  .form_wrap .form_table > div > div {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 20px;
    border-bottom: 1px #fff solid;
    font-size: 16px;
  }
  .form_wrap .form_table > div > div:first-child {
    width: 17em;
    background-color: #D3E3EE;
  }
  .form_wrap .form_table > div > div:nth-child(2) {
    background-color: #F3F3F3;
  }
  .form_wrap .form_table > div > div:nth-child(2) > input[type=text],
.form_wrap .form_table > div > div:nth-child(2) > textarea {
    font-size: 16px;
    padding: 10px 10px;
    box-sizing: border-box;
    border: 1px #ccc solid;
    width: 100%;
  }
  .form_wrap .form_table > div > div:nth-child(2) > input[type=text].w30y,
.form_wrap .form_table > div > div:nth-child(2) > textarea.w30y {
    width: 20%;
  }
  .form_wrap .form_table > div > div:nth-child(2) .vertical-item {
	padding-right: 10px;
	}
  .form_wrap .form_table > div > div:nth-child(2) > textarea {
    height: 10em;
  }
  .form_wrap .form_table > div > div:last-child {
    border-right: 1px #fff solid;
  }
  .form_wrap .form_table > div > p {
    display: none;
  }
  .form_wrap .form_table > .require > div:first-child:after {
    content: "必須";
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -12px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    background-color: #BA484C;
    color: #fff;
  }
  .form_wrap .form_submit {
    text-align: center;
  }
  .form_wrap .form_submit > span {
    display: inline-block;
    position: relative;
  }
  .form_wrap .form_submit > span > input {
    display: inline-block;
    box-shadow: 2px 2px 5px #ccc;
    background-color: #00479D;
    box-sizing: border-box;
    padding: 16px 40px 18px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 1px;
    border: none;
	cursor: pointer;
  }
  .form_wrap .form_submit > span:nth-child(2) {
	margin-left: 1em;
  }
  .form_wrap .submit_btn {
    margin-bottom: 10px;
    text-align: center;
  }
  .form_wrap .caution {
    text-align: center;
    font-size: 14px;
  }





/* -------------------------------------
  セレクトメニュー
------------------------------------- */
.mw_wp_form_input .form_custom_select {
  overflow: hidden;
  text-align: center;
  display: inline-block;
}
.mw_wp_form_input .form_custom_select select {
  width: 100%;
  padding-right: 1em;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: transparent;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.mw_wp_form_input .form_custom_select select::-ms-expand {
  display: none;
}
.mw_wp_form_input .sc_lv1 {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #ffffff;
}
.mw_wp_form_input .sc_lv1::before {
  position: absolute;
  top: 1em;
  right: 0.9em;
  width: 0;
  height: 0;
  padding: 0;
  content: "";
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #666666;
  pointer-events: none;
}
.mw_wp_form_input .sc_lv1 select {
  padding: 8px 38px 8px 8px;
  color: #666666;
  font-size: 16px;
}

/* -------------------------------------
  ラジオボタン
------------------------------------- */
.form_custom_radio {
  box-sizing: border-box;
}
.form_custom_radio > span {
  display: inline-block;
  margin-right: 20px;
}
.form_custom_radio > span > label {
  padding-left: 23px;
}
.form_custom_radio > span > label > span {
  position: relative;
}
.form_custom_radio > span input[type=radio] {
  display: none;
}
.form_custom_radio > span input + span:before {
  content: "";
  position: absolute;
  top: 4px;
  left: -23px;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px #bbb solid;
}
.form_custom_radio > span input:checked + span:before {
  content: "";
  position: absolute;
  top: 4px;
  left: -23px;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px #bbb solid;
  background-color: #BA484C;
}

/* -------------------------------------
  チェックボックス（MW WP FORM バージョン）
	<label>
		<input type="checkbox" name="name[data][]" value="リフォームについて" class="validate[minCheckbox[1]]" data-errormessage="* ひとつ以上選択してください">
		<span class="mwform-checkbox-field-text">リフォームについて</span>
	</label>
------------------------------------- */
.form_custom_check_MW_WP_FORM {
  box-sizing: border-box;
}
.form_custom_check_MW_WP_FORM > span {
  margin-bottom: 15px;
}
.form_custom_check_MW_WP_FORM > span:nth-last-child(3) {
  margin-bottom: 0;
}
.form_custom_check_MW_WP_FORM label {
  display: block;
  position: relative;
}
.form_custom_check_MW_WP_FORM label > input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.form_custom_check_MW_WP_FORM label > input:checked + span:before {
  border-color: #BA484C;
  background: #BA484C;
}
.form_custom_check_MW_WP_FORM label > span {
  display: block;
  font-size: 1em;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  padding: 0 0 0 1.5em;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: #ffffff;
}
.form_custom_check_MW_WP_FORM label > span:before {
  position: absolute;
  top: 1px;
  left: 0;
  box-sizing: border-box;
  width: 1em;
  height: 1em;
  content: "";
  border: 0.2em solid #cccccc;
}

.horizontal-item {
  margin-left: 0 !important;
}

/* -------------------------------------
  チェックボックス
------------------------------------- */
