@charset "utf-8";

.ttl_section {
    background-image: url('/contact/img/bg_contact.jpg');
}

form {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
}

form .tableStyle01 {
	width: 100%;
}

form .tableStyle01 th {
	width: 18.0em;
	vertical-align: middle;
}

form .tableStyle01 td {
	width: calc(100% - 18.0em);
}

form .tableStyle01 td input,
form .tableStyle01 td textarea {
	width: 100%;
}

form .submit_btn {
	margin: 30px auto 0;
}

.input_err {
	border: 2px solid #d10000;
	background: #fff3f6;
}

.form_err {
	display: none;
	font-size: 0.8em;
	color: #d10000;
	margin: 0.3em 0 0;
}

.err_msg {
	display: none;
	border: 1px solid #d10000;
	margin: 30px 0 0;
	padding: 0.8em;
	text-align: center;
	color: #d10000;
	font-weight: bold;
}

.err_msg .fa {
	margin: 0 0.2em 0 0;
}

.thanks_txt {
	margin: 100px auto;
	text-align: center;
}



@media screen and (max-width:480px) {
	.err_msg {
		font-size: 3.0vw;
	}

	form .tableStyle01 {
		border: none;
	}

	form .tableStyle01 th,
	form .tableStyle01 td {
		display: block;
		width: 100%;
		border: none;
	}

	form .tableStyle01 th {
		text-align: left;
		padding: 0.7em 1.0em;
	}

	form .tableStyle01 td {
		margin: 0 0 20px;
		padding: 0.7em 1.0em;
	}
}