@charset "utf-8";
/* --- contact --- */
#mailform .inner {
	max-width: 960px;
}
#mailform .top {
	padding: 0 0 20px;
	text-align: center;
}
#mailform table {
	width: 100%;
	table-layout: fixed;
}
#mailform table th,
#mailform table td {
	border-bottom: 1px solid #e5e2da;
}
#mailform table th {
	width: 20em;
	padding: 20px 1em;
	background: #f7f3eb;
}
#mailform table th b {
	display: inline-block;
	font-size: 0.92857em;
	margin-right: 1em;
	padding: 0 0.5em;
	background: #d54f0b;
	color: #fff;
}
#mailform table td {
	width: calc(100% - 20em);
	padding: 15px 1em;
}
#mailform table td span.block {
	display: inline-block;
	width: 100%;
	margin-top: 10px;
}
#mailform table td span.block:first-child {
	margin-top: 0;
}
#mailform table td span[id^="fair"] {
	font-weight: bold;
}
#mailform.confirm table td,
#mailform.error table td {
	padding: 20px 0 20px 1em;
}
#mailform.confirm table td span:not([id]),
#mailform.error table td span:not([id]) {
	display: block;
}
#mailform.confirm table td span.error,
#mailform.error table td span.error {
	display: inline-block;
	padding: 0 6px;
	background: #f6e5e5;
	color: #d54f0b;
}

.formSubmit {
	padding: 60px 0 0;
}
.formSubmit input,
.formSubmit a.formBack {
	-webkit-appearance: none;
	display: inline-block;
	width: 250px;
	margin: 20px 0 0;
	padding: 1em 0 0.75em;
	border: 1px solid #533a09;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
	vertical-align: top;
	cursor: pointer;
}
.formSubmit input:hover,
.formSubmit a.formBack:hover {
	background: #fff;
	color: #533a09;
	opacity: 1;
}
.formSubmit input {
	color: #fff;
	background: #533a09;
	transition: 0.3s;
}
.formSubmit a.formBack {
	color: #533a09;
	background: #f7f3eb;
	text-align: center;
}
.formSubmit p.guide {
	text-align: center;
}
.formSubmit p.submit {
	padding: 0 0 60px;
	text-align: center;
}
.formSubmit p.mobile {
	margin: 0 0 20px;
	padding: 20px 30px;
	border: 1px solid #d54f0b;
}
.formSubmit p.mobile span {
	display: block;
	padding-bottom: 5px;
	color: #d54f0b;
	font-size: 1.2em;
	text-align: center;
}
.formSubmit p.privacy {
	background: #f4f4f4;
	padding: 20px 30px;
}

@media (max-width: 640px) {
	#mailform .top {
		text-align: left;
	}
	#mailform table th,
	#mailform table td {
		display: block;
		width: 100%;
	}
	#mailform table th,
	#mailform table tr:not(:last-child) td {
		border-bottom: none;
	}
	#mailform table td {
		padding-bottom: 30px;
	}

	.formSubmit p.guide {
		text-align: left;
	}
	.formSubmit p.guide br {
		display: none;
	}
	.formSubmit input:first-child:last-child {
		width: 100%;
	}
}