:root {
	--blue-button_out: rgba(50, 58, 70, 1);
	--blue-link_out: rgba(0, 104, 183, 1);
	--blue-link_over: rgba(0, 104, 183, 0.8);
}

.formError { z-index: 150; }
.formError .formErrorContent { z-index: 150; }

.contact_form_wrapper {
	width: 100%;
	margin: 0 auto;
	padding: 30px 15px;
}

.contact_notice_p {
	margin: 0;
	padding: 20px 0 0;
	text-align: left;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 1.5;
	color: #666;
}

@media (min-width: 821px) {
	.contact_form_wrapper {
		width: 800px;
		padding: 50px 0;
	}
}

/****************************
  contact_header_wrapper
****************************/

.contact_header_wrapper {
	width: 100%;
	margin: 0;
	padding: 20px 25px 20px 25px;
	border: 1px solid #ddd;
	border-radius: 7px;
	background-color: #fff;
	box-shadow: 0 0 5px #e6e6e6;
}

.contact_header_h2 {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: bold;
	font-size: 16px;
	line-height: 1;
}

.contact_header_tel {
	margin: 0;
	padding: 10px 0 0;
	font-weight: bold;
	font-size: 24px;
	line-height: 1;
}

.contact_header_tel a {
	display: block;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: -apple-system, BlinkMacSystemFont, arial, 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 25px;
	color: var(--blue-link_out);
}

.contact_header_tel a::before {
	font-family: 'FontAwesome';
	content: '\f095';
	margin-right: 0.1em;
	vertical-align: 0px;
	font-size: 23px;
	line-height: 1;
	text-decoration: none;
}

.contact_header_tel a:hover {
	color: var(--blue-link_over);
	text-decoration: none;
}

.contact_header_time {
	margin: 0;
	padding: 10px 0 0;
	font-weight: bold;
	font-size: 14px;
	line-height: 1.2;
}

.contact_header_time span {
	padding-left: 5px;
	font-size: 120%;
}

.contact_header_notice {
	margin: 0;
	padding: 10px 0 0;
	font-size: 14px;
	line-height: 1;
}

@media (max-width: 500px) {
	.contact_header_wrapper {
		padding: 15px 10px;
	}

	.contact_header_time {
		display: block;
	}

	.contact_header_time span {
		display: block;
		padding-top: 5px;
	}

	.contact_header_notice {
		font-size: 12px;
		line-height: 1;
	}
}

/****************************
  entry_address_wrapper
****************************/

.entry_address_wrapper {
	display: table;
	margin: 40px 0 0;
	padding: 20px 25px 20px 25px;
	border: 1px solid #ddd;
	border-radius: 7px;
	background-color: #fff;
	box-shadow: 0 0 5px #e6e6e6;
}

.entry_address_wrapper dt {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: bold;
	font-size: 15px;
	line-height: 1;
}

.entry_address_wrapper dd {
	margin: 0;
	padding: 16px 0 0;
	font-size: 16px;
	line-height: 1;
}

@media (max-width: 500px) {
	.entry_address_wrapper {
		padding: 15px 10px;
	}

	.entry_address_wrapper dt {
		font-size: 13px;
	}

	.entry_address_wrapper dd {
		font-size: 14px;
	}
}

/****************************
  input
****************************/

.contact_dl {
	width: 100%;
	margin: 0;
	padding: 0;
}

.contact_dl > dt, 
.contact_dl > dd {
	margin: 0;
	text-align: left;
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	line-height: 1;
	color: #666;
}

.contact_dl > dt {
	padding: 30px 0 0;
}

.contact_dl > dd {
	padding: 12px 0 0;
}

.contact_dl > dt > span {
	display: inline-block;
	margin: 0 0 0 7px;
	padding: 0 4px;
	border-radius: 3px;
	background-color: #c33;
	vertical-align: 2px;
	font-style: normal;
	font-weight: normal;
	font-size: 11px;
	line-height: 18px;
	color: #fff;
}

.contact_dl > dt > div {
	float: right;
	margin: 0;
	padding: 0 0 0 1em;
	text-align: right;
	font-style: normal;
	font-weight: normal;
	font-size: 13px;
	line-height: 16px;
	color: #666;
}

.contact_dl > dt > div > strong {
	display: inline-block;
	padding: 0 0.1em;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 16px;
}

.contact_helpblock_p {
	margin: 0;
	padding: 10px 0 0 0;
	color: #999;
	font-size: 14px;
	line-height: 1.4;
}

.contact_helpblock_p .fa {
	padding-right: 4px;
	color: #ffa200;
}

.warning_tooltip {
	display: inline-block;
	margin: 0 0 1em;
	padding: 0.7em 0.7em 0.6em;
	background-color: #c00;
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', arial, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 0.85em;
	line-height: 1;
	color: #fff;
	position: relative;
}

.warning_tooltip:after {
	content: '';
	position: absolute;
	top: 100%;
	left: 10%;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0.5em solid transparent;
	border-top: 0.8em solid #c00;
}

/****************************
  form
****************************/

.form-control {
	display: inline-block;
	width: 100%;
	height: 34px;
	margin: 0;
	padding: 6px 8px;
	border: 1px solid #cdd6dd;
	border-radius: 4px;
	background-color: #fff;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	font-size: 16px;
	line-height: 1.5;
	color: #000;
}

.form-control:focus {
	outline: 0;
	border-color: #66afe9;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
	background-color: rgba(248, 255, 190, 0.4);
}

.form-control.num {
	width: 25%;
}

.form-control.tel {
	width: 55%;
}

.form-control.pref {
	width: initial;
}

textarea.form-control {
	display: block;
	height: auto;
}

::-moz-placeholder {
	color: #ccc;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #ccc;
}

::-webkit-input-placeholder {
	color: #ccc;
}

@media (max-width: 768px) {
	.form-control.num {
		width: 40%;
	}

	.form-control.tel {
		width: 100%;
	}
}

/****************************
  button
****************************/

.contact_button_wrapper {
	display: flex;
	margin: 0;
	padding: 30px 0 0;
	text-align: left;
}

.contact_button_wrapper > .button {
	margin: 0 20px 0 0;
	padding: 0;
	text-align: left;
}

.contact_button_wrapper > div > button[type="button"] {
	width: 110px;
	height: 36px;
	margin: 0;
	padding: 0;
	border-radius: 36px;
	border: 1px solid var(--blue-button_out);
	background-color: #fff;
	vertical-align: middle;
	text-align: center;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 1;
	color: var(--blue-button_out);
	cursor: pointer;
	white-space: nowrap;
	appearance: button;
	user-select: none;
	transition: all 0.3s;
}

.contact_button_wrapper > div > button[type="button"]:hover {
	background-color: var(--blue-button_out);
	color: #fff;
}

.contact_button_wrapper > div > button[type="button"]:disabled, 
.contact_button_wrapper > div > button[type="button"]:disabled:hover {
	border-color: #e3e3e3;
	background-color: #fafafa;
	color: #bbb;
	cursor: default;
}

.contact_button_wrapper > div > button[type="button"] b {
	display: block;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-weight: normal;
	font-style: normal;
	color: var(--blue-button_out);
}

.contact_button_wrapper > div > button[type="button"]:hover b {
	color: #fff;
}

.contact_button_wrapper > div > button[type="button"]:disabled b, 
.contact_button_wrapper > div > button[type="button"]:disabled:hover b {
	color: #bbb;
}

.contact_button_wrapper > div > button[type="button"] i {
	display: none;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	font-weight: normal;
	font-style: normal;
}

.contact_button_wrapper > div > button[type="button"] i > img {
	width: 14px;
	height: 14px;
	margin: 0;
	padding: 0;
	vertical-align: -2px;
}

.contact_button_notice {
	margin: 0;
	padding: 14px 0 0;
	text-align: left;
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, 'メイリオ', sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 13px;
	line-height: 1;
	color: #666;
}

/****************************
  checkbox
****************************/

input[type="checkbox"].checkbox_blue {
	display: inline-block;
	margin: 0;
	padding: 0;
}

input[type="checkbox"].checkbox_blue + label {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	position: relative;
}

@media (min-width: 1px) {
	input[type="checkbox"].checkbox_blue {
		display: none;
	}

	input[type="checkbox"].checkbox_blue + label {
		padding: 0 0 0 24px;
		     -moz-user-select: none;
		      -ms-user-select: none;
		  -webkit-user-select: none;
		          user-select: none;
		-webkit-touch-callout: none; /* Disable Android and iOS callouts */
	}

	input[type="checkbox"].checkbox_blue + label::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
		width: 18px;
		height: 18px;
		margin: 0;
		padding: 0;
		border: 2px solid #ccc;
		background-color: #fff;
	}

	input[type="checkbox"].checkbox_blue:checked + label::after {
		content: '';
		display: block;
		-moz-box-sizing: border-box;
		     box-sizing: border-box;
		position: absolute;
		top: 1px;
		left: 3px;
		width: 16px;
		height: 8px;
		margin: 0;
		padding: 0;
		border-bottom: 3px solid var(--blue-link_out);
		border-left:   3px solid var(--blue-link_out);
		-webkit-transform: rotate(-45deg);
		    -ms-transform: rotate(-45deg);
		        transform: rotate(-45deg);
	}

	input[type="checkbox"].checkbox_blue[disabled] + label {
		color: #c1c4c5;
		cursor: default;
	}

	input[type="checkbox"].checkbox_blue[disabled] + label::before {
		border: 2px solid #eaebeb;
		background-color: #f7f7f7;
	}

	input[type="checkbox"].checkbox_blue[disabled] + label::after {
		border-bottom: 3px solid #d6d8d9;
		border-left:   3px solid #d6d8d9;
	}

	input[type="checkbox"].checkbox_blue.required + label > b {
		display: inline-block;
		margin: 0 0 0 7px;
		padding: 0 4px;
		border-radius: 3px;
		background-color: #c33;
		vertical-align: 2px;
		font-style: normal;
		font-weight: normal;
		font-size: 11px;
		line-height: 18px;
		color: #fff;
	}
}

/****************************
  contact_privacypolicy_wrapper
****************************/

.contact_privacypolicy_wrapper {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

.contact_privacypolicy_wrapper > div {
	margin: 0;
	padding: 80px 0 0;
	text-align: left;
}

.contact_privacypolicy_wrapper > div > p {
	margin: 0;
	padding: 0 0 25px;
	text-align: left;
	font-size: 16px;
	line-height: 1.2;
}

.contact_privacypolicy_wrapper > div > p > a {
	display: inline-block;
	margin: 15px 0 0;
	padding: 0;
	color: var(--blue-link_out);
	text-decoration: none;
}

.contact_privacypolicy_wrapper > div > p > a:hover, 
.contact_privacypolicy_wrapper > div > p > a:active {
	color: #f00;
	text-decoration: none;
}

.contact_privacypolicy_wrapper > div > p > a::after {
	font-family: 'FontAwesome';
	content: '\f08e';
	margin-left: 3px;
	text-decoration: none;
}

@media (min-width: 800px) {
	.contact_privacypolicy_wrapper > div {
		padding: 60px 0 0;
	}
}

.privacy_label > span {
	display: block;
	margin: 0;
	padding: 2px 0 5px;
}

.privacy_label > span + span {
	display: inline-block;
	padding: 0;
}

@media (min-width: 768px) {
	.privacy_label > span,
	.privacy_label > span + span {
		display: inline-block;
		padding: 0;
	}

	.privacy_label > span + span::before {
		content: '・';
	}
}

/****************************
  confirmation
****************************/

.confirmation_dl {
	display: table;
	width: 100%;
	margin: 0;
	padding: 0;
}

.confirmation_dl > dt,
.confirmation_dl > dd {
	display: table-cell;
	margin: 0;
	padding: 11px;
	vertical-align: top;
	font-size: 16px;
	line-height: 1.5;
}

.confirmation_dl > dt {
	width: 160px;
	border-bottom: 1px solid #ccc;
	text-align: left;
	font-weight: normal;
}

.confirmation_dl > dd {
	border-bottom: 1px solid #ccc;
	text-align: left;
}

.confirmation_dl.first {
	padding-top: 30px;
}

.confirmation_dl.last {
	margin-bottom: 14px;
}

.confirmation_dl.first > dt,
.confirmation_dl.first > dd {
	border-top: 2px solid #ccc;
}

.confirmation_dl.last > dt,
.confirmation_dl.last > dd {
	border-bottom: 2px solid #ccc;
}

/****************************
  thanks
****************************/

.contact_thanks_h2 {
	margin: 0;
	padding: 0;
	text-align: left;
	font-weight: normal;
	font-style: normal;
	font-size: 20px;
	line-height: 1;
}

.contact_thanks_ul {
	margin: 0;
	padding: 0;
}

.contact_thanks_ul > li {
	margin: 0;
	padding: 1em 0 0;
	text-align: left;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 1.2;
}

.contact_thanks_ul > li:first-child {
	padding-top: 2em;
}

/****************************
  visual_top
****************************/

.visual_top {
	height: 20vh;
	background-image: url(../../files/contact/vt.png);
}

.visual_top h1 > i {
	color: #fff;
}

@media (min-width: 768px) {
	.visual_top {
		height: 20vw;
	}
}
