
#contents .page_title h2 {
	background: url(../contact/img/back.jpg) no-repeat;
	-moz-background-size: 100% auto;
	background-size: 100% auto;
}

.contact form {
	padding: 15px 15px 35px 15px;
	background-color: #fff;
}
.contact form p .red {
	color: #c55d5d;
}
.contact form p .brown {
	color: #8a6707;
}
.contact form .yoyaku {
	font-size: 14px;
	padding: 10px;
	margin: 30px 0 20px 0;
	border: 1px solid #ccc;
	box-sizing: border-box;
}
.contact form .yoyaku h3 {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
}
.contact form table {
	width: 100%;
	margin: 20px auto;
	display: table;
}
.contact form table th,
.contact form table td {
	vertical-align: middle;
	padding: 12px 0;
	display: block;
}
.contact form table th {
	font-weight: bold;
}
.contact form table td input {
	width: 100%;
	padding: 12px;
	margin: 2px 0;
	box-sizing: border-box;
}
.contact form table td textarea {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
}
form input[type=text],
form textarea {
	background-color: #fff;
	border: 1px solid #ccc;
}
form input[type=text]:focus,
form textarea:focus {
	background-color: #f7f7f7;
	border: 1px #ccc solid;
}
p.subm {
	text-align: center;
}
form p.subm input[type=submit] {
	color: #fff;
	font-size: 15px;
	background-color: #333;
	padding: 10px 60px;
	-webkit-appearance: none;
	border-radius: 0;
	border-style: none;
}
form p.subm input[type=submit]:hover {
	background-color: #8a6707;
}
.contact form table .red {
	color: #fff;
	font-size: 10px;
	padding: 2px 8px;
	margin: 0 0 0 0.5em;
	background-color: #c55d5d;
	border-radius: 100px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
}
.contact form table .brown {
	color: #fff;
	font-size: 10px;
	padding: 2px 8px;
	margin: 0 0 0 0.5em;
	background-color: #8a6707;
	border-radius: 100px;
	-webkit-border-radius: 100px;
	-moz-border-radius: 100px;
}

@media screen and (min-width: 768px) {

	.contact form {
		width: 88%;
		padding: 30px 30px 60px 30px;
		margin: 0 auto;
		display: block;
	}
	.contact form p {
		text-align: center;
	}
	.contact form .yoyaku {
		padding: 20px;
	}
	.contact form table {
		width: 80%;
	}

}

@media screen and (min-width: 1000px) {

	.contact form {
		width: 76%;
		padding: 60px;
	}
	.contact form .yoyaku {
		width: 80%;
		margin: 30px auto 20px auto;
		display: block;
	}
	.contact form table {
		width: 90%;
	}
	.contact form table th,
	.contact form table td {
		padding: 30px 0;
		display: table-cell;
	}

}

@media screen and (min-width: 1400px) {

	.contact form table {
		width: 70%;
	}

}

