@charset "UTF-8";
body {
	margin: 0;
	padding: 0;
}

a:link,
a:visited {
	color: #1565C0;
	text-decoration: none;
}

a:hover {
	color: #4FC3F7;
	text-decoration: underline;
}

body #container {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#container header {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 15px 0;
	border-bottom: 3px #666 double;
}

#container header h1 {
	margin: 0;
	padding: 0;
	width: 480px;
	height: 60px;
	text-indent: -9999px;
	background-image: url(img/logo-mark.png);
	background-size: contain;
	background-repeat: no-repeat;
}

#container footer {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	padding: 10px 0;
	border-top: 1px #666 solid;
	text-align: center;
}

#container footer small span {
	margin-left: 0.5em;
	margin-right: 1.0em;
}

#container main {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

#container main .inner {
	padding: 15px 10px;
	max-width: 1000px;
}

#container main section#site-msg {
	padding-bottom: 30px;
}

#container main section#site-msg h2 {
	font-size: 2.0em;
}

#container main section#site-msg .msg-body .prep-msg {
	padding: 20px 30px;
	border: 1px #666 solid;
}

#container main section#inquiry {
	padding-top: 30px;
}

#container main section#inquiry h2 {
	padding: 0;
	margin: 0;
	border-top: 1px #666 solid;
	border-bottom: 1px #666 solid;
	font-size: 1.5em;
	margin-bottom: 1.0em;
}

#container main section#inquiry table {
	margin-bottom: 1.0em;
}

#container main section#inquiry table caption {
	text-align: left;
	font-size: 1.0em;
	font-weight: bold;
	border-bottom: 1px #666 dotted;
	margin-bottom: 0.5em;
}

#container main section#inquiry table thead th {
	font-weight: normal;
	font-size: 0.8em;
}

#container main section#inquiry table tbody th {
	font-weight: normal;
	text-align: left;
	width: 10.0em;
}

/* PC*/
@media print,
screen and (min-width: 768px) {
	#container header {
		padding-left: 100px;
	}
	
	#container footer {
		text-indent: 100px;
	}
	
	br.for-sp {
		display: none;
	}

	#container main section#inquiry table tbody td:nth-child(2) {
		width: 15em;
	}
}

/* SP */
@media screen and (max-width:767px) {
	#container header {
		padding-left: 10px;
	}
	#container footer {
		text-indent: 10px;
	}

	#container header h1 {
		width: 100%;
		height: 50px;
	}

	body #container {
		margin: 0;
		padding: 0;
	}
	
	#container main .inner {
		margin: 0;
		padding: 10px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	#container main section#inquiry table thead th {
		display: none;
	}

	#container main section#inquiry table tbody th,
	#container main section#inquiry table tbody td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	#container main section#inquiry table tbody th {
			font-weight: bold;
	}

	#container main section#inquiry table tbody td:nth-child(2)::before {
		content: "電話：";
	}

	#container main section#inquiry table tbody td:nth-child(3)::before {
		content: "FAX：";
	}

	#container main section#inquiry {
		padding-bottom: 30px;
	}
}
