@charset 'UTF-8';

html, body,
header, footer, nav, main,
section, article, address,
figure, time,
h1, h2, h3, h4, h5, h6,
ul, ol, li,
table, caption, tbody, tr, th, td,
div, p,
form,
a, span, img, iframe, strong, em, small,
dl, dt, dd,
input, textarea, select, option {
	margin: 0;
	padding: 0;
	list-style: none;
	border: none;
	outline: none;
	color: #000;
	text-decoration: none;
	font-weight: normal;
	font-style: normal;
	line-height: 100%;
	vertical-align: baseline;
	font-family: 'Yu-Gothic', sans-serif;
	line-height: 1.6em;
	box-sizing: border-box;
	word-break: break-all;
	-webkit-text-size-adjust: none;
}
[type="text"],
[type="number"],
[type="password"],
select,
textarea,
select {
	border: 1px solid #aaa;
	padding: 8px;
	border-radius: 3px;
	width: 100%;
	margin-right: 1%;
}
[type="submit"],
[type="button"] {
	border-radius: 4px;
}
[name="space"] {
	width: 100px;
}
img {
	display: block;
	max-width: 100%;
}
header {
	background-color: #012c40;
	padding: 8px 0;
}
header h1 img {
	height: 40px;
	margin: auto;
}
main {
	border-left: 16px solid #012c40;
	border-right: 16px solid #012c40;
	padding: 40px;
}
footer {
	padding-right: 8px;
	text-align: right;
	background-color: #012c40;
}
footer small {
	font-size: 80%;
	color: #fff;
}
main form {
	max-width: 960px;
	margin: auto;
	text-align: center;
}
main form h2 {
	font-size: 180%;
	text-align: center;
	margin-bottom: 32px;
}
main form .flow {
	border: 10px solid #eee;
	padding: 16px;
	text-align: left;
}
main form .flow ul {
	padding-left: 24px;
}
main form .flow ul li {
	list-style: decimal;
	padding: 8px;
	color: #012c40;
}
main form > table {
	margin-top: 40px;
	width: 100%;
	border-collapse: collapse;
}
main form > table caption {
	background-color: #f7f7f7;
	color: #012c40;
	padding: 8px 0;
	border-left: 10px solid #eee;
	text-align: left;
	padding-left: 16px;
}
main form > table th,
main form > table td {
	padding: 8px 16px;
	border: 5px solid #fff;
}
main form > table th {
	background-color: #012c40;
	text-align: left;
	width: 240px;
}
main form > table td {
	background-color: #f7f7f7;
	text-align: left;
}
main form > table th div {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
main form > table th div span:first-child {
	color: #fff;
	font-weight: bold;
}
main form > table th div .required {
	color: #fff;
	font-size: 120%;
	padding: 4px 8px;
	font-weight: bold;
}
main form > table td ul li:not(:last-child) {
	margin-bottom: 8px;
}
main form > table td ul li label {
	display: flex;
	align-items: center;
	width: 120px;
	border: 1px solid #ccc;
	padding: 8px;
	background-color: #fff;
	border-radius: 3px;
}
main form > table td ul li label input {
	margin-right: 8px;
}
.view_price {
	padding: 16px;
	border-radius: 10px;
	background-color: #f7f7f7;
	margin-top: 16px;
}
.view_price #price h3 {
	text-align: center;
	color: #333;
	font-weight: bold;
}
.view_price #price h3:after {
	content: '';
	display: block;
	height: 2px;
	width: 30%;
	background-color: #333;
	margin: 8px auto;
}
.view_price #price .invoice {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ccc;
	margin: 16px 0;
	background-color: #fff;
}
.view_price #price .invoice th,
.view_price #price .invoice td {
	border: 1px solid #ccc;
	padding: 8px 16px;
}
.view_price #price .invoice td {
	text-align: left;
}
.view_price #price .invoice tr:first-child th {
	background-color: #333;
	color: #fff;
}
.view_price #price .invoice .tar {
	text-align: right;
}
.view_price #price .invoice tr th:nth-child(1) {
	width: 50%;
}
.send_btn {
	background-color: #c00033;
	color: #fff;
	padding: 16px 64px;
	font-size: 140%;
	margin-top: 40px;
	cursor: pointer;
}
.send_btn:hover {
	opacity: .9;
}
.formErrorContent {
	font-size: 80%;
	color: #fff;
	background-color: #c00033dd;
	padding: 4px 6px;
}
.completed {
	text-align: center;
}
@media only screen and (max-width:768px) {
	main {
		padding: 16px;
	}
	main form {
		max-width: 100%;
	}
	main form h2 {
		margin-bottom: 16px;
		font-size: 140%;
	}
	main form > table,
	main form > table caption,
	main form > table tbody,
	main form > table tr,
	main form > table th,
	main form > table td {
		display: block;
		width: 100%;
	}
	#price .table-wrap {
		overflow-x: scroll;
	}
	#price .table-wrap table {
		min-width: 640px;
	}
	#price .next {
		margin-top: 16px;
	}
}