@charset "utf-8";
/*------------------------------------------------------------
	トップページ
------------------------------------------------------------*/
.contactTitle {
	margin-bottom: 72px;
	padding-top: 137px;
	text-align: center;
}

.contactTitle h2 {
	font-size: 30px;
	text-align: center;
	letter-spacing: 4.5px;
	margin-bottom: 2em;
}
.contactTitle p {
	font-size: 1.1em;
	line-height: 1.8em;
}


.contactBox {
	text-align: center;
	border-top: 1px solid #aabcc2;
	padding-top: 4em;
	max-width: 860px;
	margin: 0 auto 60px auto;
}
.contactBox header h2 {
	font-size: 1.4em;
	margin-bottom: 1em;
	color: #236182;
}

table.contact_tbl {
	text-align: left;
	font-size: 1.1em;
	margin-bottom: 3em;
}
table.contact_tbl tr {
}
table.contact_tbl tr th {
	text-align: right;
	padding: 1em;
	font-weight: 500;
	vertical-align: top;
	white-space: nowrap;
}
table.contact_tbl tr td {
	padding: 0.5em 1em 1em 1em;
}


input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
	background: #EEF2F3;
	padding: 1em;
	border: none;
	width: 100%;
	resize: none;
	box-sizing: border-box;
}
input.zip_cd_1 {width: 50px;}
input.zip_cd_2 {width: 60px;}
span.inquiry_type {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
span.inquiry_type label {
	display: block;
	width: 50%;
	margin-bottom: 1em;
}

span.must {
	margin-left: 5px;
}
.submit {
	margin-bottom: 3em;
}
.submit input[type="button"],
.submit input[type="submit"]{
	padding: 14px;
	min-width: 220px;
	font-size: 14px;
	display: inline-block;
	box-sizing: border-box;
	letter-spacing: 1px;
	transition: color .6s ease, border .6s ease, background .6s ease;
	border: 1px solid #005BAC;
	background-color: #005BAC;
	color: #fff;
	cursor: pointer;
}
.submit input[type="button"]:hover,
.submit input[type="submit"]:hover {
	color: #fff;
	border: 1px solid #2e6c9b;
	background: #2e6c9b;
}

p.error_message  {
	color: #f33;
	margin-bottom: 0.5em;
	letter-spacing: 0;
}
p.error_message+input, p.error_message+textarea, p.error_message+select {
	border: 1px solid #f33;
	background-color: #fff3f3;
}

div#thanksBox {
	font-size: 1.1em;
	line-height: 1.8em;
	border: 1px solid;
	margin-bottom: 3em;
	padding: 3em 1em;
	background: #EEF2F3;
	color: #005BAC;
}

@media all and (min-width: 0) and (max-width: 767px) {
	.contactTitle {
		margin-bottom: 34px;
		padding: 120px 20px 0 20px;
	}
	
	.contactTitle h2 {
		font-size: 24px;
		letter-spacing: 3px;
	}
	
	table.contact_tbl {
		width: 90%;
		margin: 0 auto 3em auto;
	}
	table.contact_tbl tr {
	}
	table.contact_tbl tr th {
		text-align: left;
		padding: 1em;
		display: block;
		width: 100%;
		padding: 1em 0;
	}
	table.contact_tbl tr td {
		display: block;
		width: 100%;
		padding: 0;
	}
	span.inquiry_type label {
		display: block;
		width: 100%;
		margin-bottom: 1em;
	}

}

/*-----------------------------------------------------------------------------
	汎用
-----------------------------------------------------------------------------*/
.contactInfo {
	max-width: 800px;
	margin: 0 auto 8em auto;
}

.contact_common_box {
	margin-bottom: 4em;
}
.contact_common_box p {
	margin-bottom: 1em;
}
.contact_common_box h2 {
	font-size: 1.5em;
	margin-bottom: 1em;
}
.contact_common_box h3 {
	font-size: 1.35em;
	margin-bottom: 1em;
	border-bottom: 1px solid #236182;
	color: #236182;
	padding-bottom: 0.5em;
}
.contact_common_box h4 {
	font-size: 1.25em;
	margin-bottom: 0.5em;
	color: #333;
}
.contact_common_box h5 {
	font-size: 1.35em;
	margin-bottom: 0.5em;
}


.err_msg {
	border: 1px solid #f33;
	background-color: #fff3f3;
	color: #f33;
	text-align: center;
	font-weight: 500;
	margin-bottom: 4em;
	padding: 3em;
	font-size: 1.1em;
}

.scroll_box {
	overflow: auto;
	padding-bottom: 2em;
}
.scroll_box::-webkit-scrollbar{
	height: 8px;
}
.scroll_box::-webkit-scrollbar-track{
	background: #f3f3f3;
	border: none;
}
.scroll_box::-webkit-scrollbar-thumb{
	background:#828995;
	border-radius: 8px;
}

