@charset 'utf-8';

/* ------------------------------
 お見積もり・お問い合わせ
------------------------------ */

/* 既存上書き */

* {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

body {
	padding-bottom: 0;
	background-color: #f7f7f7;
}

#header {
	margin-bottom: 40px;
}

footer {
	margin-top: 40px;
}

#hd_nav li:last-child a {
	background-color: #ff6c00;
	background-image: url(../img/cmn/hd_tel.png);
	background-position: center 25px;
}

.tl {
	margin-bottom: 30px;
}

/* フロー */

.flow {
	margin: 0 20px 40px;
	overflow: hidden;
	border-radius: 8px;
}

.flow li {
	position: relative;
	float: left;
	color: #999;
	font-weight: bold;
	font-size: 30px;
	line-height: 70px;
	text-align: center;
	text-indent: -0.5em;
	list-style-position: inside;
	list-style-type: decimal;
}

#flow_3_1 li,
#flow_3_2 li,
#flow_3_3 li {
	width: 33%;
}

#flow_2_1 li,
#flow_2_2 li {
	width: 50%;
}

#flow_3_1 li:nth-child(2),
#flow_3_2 li:nth-child(2),
#flow_3_3 li:nth-child(2) {
	width: 34%;
}

/* 最後以外のフロー */

#flow_2_1 li:nth-child(1)::before,
#flow_2_2 li:nth-child(1)::before,
#flow_3_1 li:nth-child(1)::before,
#flow_3_1 li:nth-child(2)::before,
#flow_3_2 li:nth-child(1)::before,
#flow_3_2 li:nth-child(2)::before,
#flow_3_3 li:nth-child(1)::before,
#flow_3_3 li:nth-child(2)::before {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	content: "";
}

/* 現在のフロー */

#flow_2_1 li:nth-child(1),
#flow_2_2 li:nth-child(2),
#flow_3_1 li:nth-child(1),
#flow_3_2 li:nth-child(2),
#flow_3_3 li:nth-child(3) {
	color: #fff;
	background-color: #04679a;
}

#flow_3_2 li:nth-child(2)::before {
	border-top: 35px solid #fff;
	border-bottom: 35px solid #fff;
	border-left: 35px solid #04679a;
}

#flow_2_1 li:nth-child(1)::before,
#flow_3_1 li:nth-child(1)::before {
	border-top: 35px solid #efefef;
	border-bottom: 35px solid #efefef;
	border-left: 35px solid #04679a;
}

/* 通る前のフローA */

#flow_2_1 li:nth-child(2),
#flow_3_1 li:nth-child(2) {
	color: #999;
	background-color: #efefef;
}

#flow_3_1 li:nth-child(2)::before {
	border-top: 35px solid #fff;
	border-bottom: 35px solid #fff;
	border-left: 35px solid #efefef;
}

/* 通る前のフローB */

#flow_3_1 li:nth-child(3),
#flow_3_2 li:nth-child(3) {
	color: #999;
	background-color: #fff;
}

#flow_3_1 li:nth-child(3)::before {
	border-top: 35px solid #fff;
	border-bottom: 35px solid #fff;
	border-left: 35px solid #fff;
}

/* 通ったフロー */

#flow_2_2 li:nth-child(1),
#flow_3_2 li:nth-child(1),
#flow_3_3 li:nth-child(1),
#flow_3_3 li:nth-child(2) {
	color: #fff;
	background-color: #c6c6c6;
}

#flow_2_2 li:nth-child(1)::before,
#flow_3_2 li:nth-child(1)::before,
#flow_3_3 li:nth-child(2)::before {
	border-top: 35px solid #04679a;
	border-bottom: 35px solid #04679a;
	border-left: 35px solid #c6c6c6;
}

/* セクション */

.section {
	overflow-y: hidden;
	background-color: #fff;
	border: 2px solid #d4d4d4;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.t_section {
	padding: 20px;
	color: #fff;
	font-size: 36px;
	line-height: 58px;
	text-align: center;
}

#t_section_1 {
	background:
		#0098e6 url(/img/sp/contact/bg_t_section_1.png) no-repeat 100px
		bottom;
}

#t_section_2 {
	background:
		#848484 url(/img/sp/contact/bg_t_section_2.png) no-repeat 100px
		bottom;
}

/* SSL */

.ssl div {
	float: left;
	width: 121px;
}

.ssl p {
	float: right;
	width: 419px;
	color: #666;
	font-size: 18px;
	line-height: 26px;
}

/* フォーム部品 */

.form {
	padding: 20px 20px 40px;
}

.form dt {
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 30px;
	line-height: 40px;
}

.form dd {
	margin-bottom: 30px;
	padding-bottom: 30px;
	font-size: 30px;
	line-height: 40px;
	border-bottom: 2px solid #dedede;
}

.form dd:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.small {
	margin-top: 10px;
	color: #575757;
	font-size: 22px;
	line-height: 30px;
}

/* 表組 */

#form_tbl {
	width: 100%;
	border-top: 2px solid #c6c6c6;
	border-bottom: 2px solid #c6c6c6;
	border-collapse: collapse;
}

#form_tbl th,
#form_tbl td {
	padding: 20px;
	color: #333;
	font-size: 26px;
	line-height: 30px;
	border-bottom: 2px dotted #c6c6c6;
}

#form_tbl th {
	width: 40%;
	text-align: left;
	vertical-align: middle;
	background-color: #f5f5f5;
	border-right: 2px solid #c6c6c6;
}

#form_tbl th.top {
	vertical-align: top;
}

#form_tbl td {
	background-color: #fff;
}

#form_input_ex {
	color: #333;
	font-weight: bold;
	font-size: 30px;
	line-height: 40px;
}

#form_input_ex span {
	font-size: 34px;
}

.notice {
	color: #d20000;
}

.marker {
	background-color: #fffcc6;
}

.important,
.optional {
	display: inline-block;
	margin-left: 10px;
	padding: 5px 10px;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	vertical-align: bottom;
	border-radius: 8px;
}

.important {
	background-color: #d20000;
}

.optional {
	background-color: #a3a3a3;
}

.important_bottom,
.optional_bottom {
	margin-top: 10px;
	margin-left: 0;
}

/* フォーム部品 */

.text,
.textarea,
.select {
	box-sizing: border-box;
	width: 100%;
	padding: 18px 8px;
	color: #000;
	font-size: 30px;
	line-height: 30px;
	background-color: #ebf8ff;
	border: 2px solid #cdcdcd;
	border-radius: 4px;
}

.check {
	background-color: #f1f1f1;
	border: 2px solid #cdcdcd;
	border-radius: 5px;
}

.check li {
	padding: 20px;
}

.check li:first-child {
	color: #888;
	background-color: #ebf8ff;
}

.check li:not(:last-child) {
	border-bottom: 2px solid #d6d6d6;
}

.check input[type="radio"],
.check input[type="checkbox"] {
	display: inline-block;
	margin-right: 6px;
}

.check input[type="radio"] + label,
.check input[type="checkbox"] + label {
	position: relative;
	display: inline-block;
	font-size: 28px;
	line-height: 30px;
	cursor: pointer;
}

@media (min-width: 1px) {
	.check input[type="radio"],
	.check input[type="checkbox"] {
		display: none;
		margin: 0;
	}

	.check input[type="radio"] + label,
	.check input[type="checkbox"] + label {
		padding-left: 50px;
	}

	.check input[type="radio"] + label::before,
	.check input[type="checkbox"] + label::before {
		position: absolute;
		top: 50%;
		left: 0;
		display: block;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		width: 36px;
		height: 36px;
		margin-top: -18px;
		background: #fff;
		content: "";
	}

	.check input[type="radio"] + label::before,
	.check input[type="checkbox"] + label::before {
		border: 2px solid #cdcdcd;
		border-radius: 5px;
	}

	.check input[type="radio"]:checked + label::after,
	.check input[type="checkbox"]:checked + label::after {
		position: absolute;
		top: 50%;
		display: block;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		content: "";
	}

	.check input[type="radio"]:checked + label::before,
	.check input[type="checkbox"]:checked + label::before {
		background-color: #04679a;
		border: 2px solid #04679a;
	}

	.check input[type="radio"]:checked + label::after {
		left: 10px;
		width: 16px;
		height: 16px;
		margin-top: -8px;
		background: #fff;
		border-radius: 16px;
	}

	.check input[type="checkbox"]:checked + label::after {
		left: 5px;
		width: 25px;
		height: 15px;
		margin-top: -10px;
		border-bottom: 5px solid #fff;
		border-left: 5px solid #fff;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
}

.select {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAQCAYAAAENGT2IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUZJREFUeNpiDA0NXcjAwBAHxAyrVq1iBNFMQBzPgAYAAogRqPI/jIOskhGmACYJEEAglSD6P5oJi4C6UIxlQdP5H9kUZAAQQCh2IwOYO9DdgqIZmcMEpRfiUoCsKAHmcGxWAwQQzJdfgZiLgTDQBrr1Gi5JmI3cIIV4DPkGde41fDYxIbGvQTV8Q3cN1DKCgAmLGMyVRLkGGQAEEM54xAEwUgy6y7SJNOgbthSNbtg1tHSBC3ATG2YJWAIePRJIigBcNi8iNhKYCLiAYDjhMww9/LhJiGms6QwWftoMJAKAAAOlM1CePA3EWgzUBdeB2ASYLr+Ro5kJyUcJVHRUItSj38g1ADn4F0Lj7hqFoQQyYwGlPmPCkkLJDT2KQ4lQgiU19KgWSsQ4jNjQo2ooEeswfKFHk1DC1g4hphbRhpaQjLR0EAwAAHaoSPIJdOWKAAAAAElFTkSuQmCC);
	background-repeat: no-repeat;
	background-position: right center;
}

.select_small {
	width: 230px;
}

.textarea {
	height: 200px;
}

:placeholder-shown {
	color: #888;
	font-size: 24px;
}

/* Google Chrome, Safari, Opera 15+, Android, iOS */

::-webkit-input-placeholder {
	color: #888;
	font-size: 24px;
}

/* Firefox 18- */

:-moz-placeholder {
	color: #888;
	font-size: 24px;
}

/* Firefox 19+ */

::-moz-placeholder {
	color: #888;
	font-size: 24px;
}

/* IE 10+ */

:-ms-input-placeholder {
	color: #888;
	font-size: 24px;
}

#aefo {
	height: auto !important;
	margin-top: -30px !important;
}

#aefo_mes {
	margin: 0 !important;
	padding: 15px !important;
	font-size: 24px !important;
}

.focus_balloon::after,
.error_balloon::after {
	left: 20px !important;
	border-width: 10px !important;
}

/* ボタンセット */

.form_btn {
	margin-right: 40px;
	margin-left: 40px;
	padding-bottom: 10px;
}

.form_btn a,
.form_btn input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 30px 20px;
	color: #fff;
	font-weight: bold;
	font-size: 30px;
	line-height: 40px;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	background-color: #616161;
	border: none;
	border-radius: 8px;
	box-shadow: 0 10px 0 rgba(56, 56, 56, 1);
}

.form_btn_input input {
	padding: 29px 20px;
	font-size: 40px;
	background:
		url(/img/sp/contact/form_btn_input.png) no-repeat right center,
		linear-gradient(#f88f49 50%, #f6731b 50%);
	background:
		url(/img/sp/contact/form_btn_input.png) no-repeat right center,
		-webkit-linear-gradient(#f88f49 50%, #f6731b 50%);
	box-shadow: 0 10px 0 #c85a10;
}

.form_btn_confirm input,
.form_btn_tel a {
	padding: 29px 20px;
	font-size: 40px;
	background:
		#08a757
		url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAiCAYAAADiS6/IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXxJREFUeNrsmq9LQ1EYhs9kf4DBYlmyi2AQk7ZVjVajSQUxCCuGhWERiyAsiUmjNm8SgzAMmpZWVgwLwkDE4/Oxg+g9h+uPOfHe8z3wMG4avHzn7Jz3rmStPTfGbOK9Ud4Ywyre4gFOaCQDSkyMfffcw13cxycNxqeNW3imwYRJcANbMe4xWSzgDR7hpE5MmEes4x72NRifDm7jCVoNxuca191ndHtMFnN4hcdY0YkJ03d7T93tRRpMii7uYBNfNBifljv/JDHuMVnM4CWe4pQG47OEd9jAcV1KYR6whof4rMH4SO8j/c9FzEspygPeT5bSGk7/92kRyn/wHVJ4SfElBVgvLxMz6mCk6JLCq523pTSqYPSAF7gSrOJsnkP5zYkp3CVy2GDkDCSFlRRXnSL9XA8TjBZVKWQyVnC+qKF8d2KiKsO/EowUTk0zKKC6sVwJPgsmMfrC7QNyUl3GxRhDCU2MvtRPBSPFkRRINXcLjp6yqwD0j0MpXgUYAGEAffuaOxpSAAAAAElFTkSuQmCC)
		no-repeat right center;
	box-shadow: 0 10px 0 rgba(7, 128, 24, 1);
}

.form_btn_tel a {
	padding: 15px 20px;
	font-size: 50px;
	line-height: 50px;
	background-image: none;
}

.form_btn_tel a span {
	display: block;
	margin-bottom: 10px;
	font-weight: normal;
	font-size: 22px;
	line-height: 30px;
}

.form_link {
	text-align: center;
}

.form_link a,
.form_link input {
	color: #03f;
	font-weight: bold;
	font-size: 30px;
	line-height: 40px;
}

/* クロージング */

#closing_form {
	padding-bottom: 30px;
	background-color: #fffdf7;
	border-bottom: 2px solid #00a064;
}

#closing_hd {
	margin-bottom: 40px;
	text-align: center;
	background-color: #00a064;
}

#closing_hd p {
	display: inline-block;
	padding: 20px 20px 20px 40px;
	color: #fff;
	font-weight: bold;
	font-size: 36px;
	line-height: 40px;
	background:
		url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAsCAMAAABFXPg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACRQTFRFQLiLIKx3r+HO7/n1n9vFv+fYMLKBEKZuz+3igNCyAKBk////ct84fwAAAGBJREFUeNrs1DkOwDAIRFHALPZw//tGSpHKxomU0r99DQ1DcMlFwiBvuawxSRYJZdnNNibZwwOTxuHDh1+z0iR9ePOhP3F36gUzwAUHEAVrhH46bTNcXM8e3FZqjEuAAQAg4zQgjGAcbAAAAABJRU5ErkJggg==)
		no-repeat left center;
}

#closing_form_ex {
	color: #333;
	font-size: 26px;
	line-height: 40px;
	text-align: center;
}

/* 完了文言 */

#confirm_txt {
	margin-bottom: 40px;
	padding: 20px;
	color: #d60000;
	font-weight: bold;
	font-size: 24px;
	line-height: 30px;
	text-align: center;
	background-color: #fffceb;
}

#thanks_txt {
	padding: 20px;
	color: #215176;
	font-weight: bold;
	font-size: 23px;
	line-height: 40px;
	text-align: center;
	background: #eff8ff url(/img/sp/contact/bg_thanks.png) no-repeat right bottom;
	border-top: 2px solid #d9e2e9;
	border-bottom: 2px solid #d9e2e9;
}

/* エラー文言 */

.js_error_message {
	max-height: none;
	padding: 20px !important;
	font-size: 20px;
	line-height: 30px;
}

/* 注釈 */

.explain {
	margin-top: 10px;
	color: #555;
	font-size: 26px;
	line-height: 36px;
}

.lead {
	color: #363636;
	font-size: 26px;
	line-height: 36px;
}

.error {
    text-align: center;
}

.error_message {
    background: #fcecec;
    border: solid 1px #da0000;
    color: #da0000;
    padding: 10px;
    display: inline-block;
    text-align: left;
    font-size: 21px;
}

/*
--------------------------------------------------------------------------------
 END OF CSS
--------------------------------------------------------------------------------
*/
