@charset "UTF-8";

.page-Ttl{
	text-align: center;
	background-image:url("../images/contact/img_page_ttl.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size:cover;
	padding: 150px 0 0 0;
}

.page-Ttl h1 {
	position: relative;
}

.page-Ttl h1::after {
	display: block;
	content: 'お問い合わせ';
	font-size: 2.4rem;
	text-shadow: 0px 0px 10px rgba(0,0,0,1);
	position: absolute;
	bottom: -50px;
	left: 0;
}

.font-style h2{
	position: relative;
	font-size:  1rem;
	font-weight:  normal;
	border: none;
	padding: 0;
	margin: 0;
}
.font-style h2::after {
	display: none;
}

.font-style h3{
	font-size:  1.6rem;
	font-weight:  normal;
	padding: 0;
	border-left: none;
	margin: 0;
}

.font-style p{
	width: 100%;
	font-size: 1.6rem;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

#cont_01 .msg {
	text-align: center;
	margin-bottom: 50px;
	line-height: 2;
}

#cont_01 .step {
	display: flex;
	justify-content: center;
	font-size: 1.8rem;
	font-weight: bold;
	margin-bottom: 50px;
}

#cont_01 .step li {
	background: #fff;
	margin: 0;
	padding: 0;
	color: #999;
}

#cont_01 .step li.active {
	color: #f1ca31;
}

#cont_01 .step li:nth-child(2)::before,
#cont_01 .step li:nth-child(3)::before {
	display: inline-block;
	content: '';
	width: 150px;
	height: 2px;
	background: #eee;
	margin: 0 10px 5px 10px;
}

#mf {
	width: 100%;
	font-size: 1.6rem;
	margin-bottom: 80px;
}

#mf table {
	width: 100%;
}

#mf table th,
#mf table td {
	display: block;
	width: 100%;
	text-align: left;
	box-sizing: border-box;
}

#mf table th {
	margin-bottom: 20px;
}

#mf table th .eng {
	font-size: 1.2rem;
	color: #999;
	margin-left: 10px;
}

#mf table td {
	margin-bottom: 40px;
}

#mf input[type="text"]:focus,
#mf input[type="email"]:focus,
#mf textarea:focus {
	outline: 0;
}

#mf table td input[type="text"],
#mf table td input[type="email"],
#mf table td input[type="tel"],
#mf table td textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	width: 100%;
	font-size: 1.6rem;
	padding: 10px;
	line-height: 1.8;
	box-sizing: border-box;
	border-radius: 0;
	border: 1px solid #ddd;
}

#mf table td textarea {
	height: 300px;
}

#mf .must {
	color: #d90000;
	margin-right: 0.5rem;
}

#mf .privacy_check {
	text-align: center;
	margin-bottom: 30px;
}

.checkbox_container label {
	display: block;
	margin-bottom: 10px;
	line-height: 24px;
}

.checkbox_container label span {
	margin: 0 !important;
	padding: 0 !important;
}

.checkbox_container input[type=checkbox] {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	box-sizing: border-box;
	position: relative;
	vertical-align: middle;
	border: 3px solid #e6e6e6;
	margin-right: 0.5em;
	border-radius: 0;
}

.checkbox_container input[type=checkbox]:checked::after {
	display: block;
	content: '';
	position: absolute;
	top: -7px;
	left: 5px;
	width: 8px;
	height: 16px;
	transform: rotate(40deg);
	border-bottom: 4px solid #d90000;
	border-right: 4px solid #d90000;
}

 .checkbox_container label .mf_br {
	display: none;
 }


#mf .send {
	width: 100%;
	text-align: center;
	font-size: 20px;
}

#mf .send .btn_confirm {
	display: inline-block;
	width: 360px;
	height: 84px;
	box-sizing: border-box;
	position: relative;
	margin: 0 12px;
}

#mf .send .btn_confirm::after {
	font-family:'Font Awesome 5 Free';
	font-weight: bold;
	display: block;
	content:'\f061';
	position: absolute;
	top: 31px;
	right: 20px;
	color: #f1ca31;
	transition: .3s ease;
}

#mf .send .btn_confirm.btn_confirm_agree:hover::after {
	color: #d90000;
	right: 30px;
	transition: .3s ease;
}

#mf .send .btn_back {
	display: inline-block;
	width: 360px;
	height: 84px;
	box-sizing: border-box;
	position: relative;
	margin: 0 12px 20px;
}

#mf .send .btn_back::after {
	font-family: "Font Awesome 5 Free";
	font-weight: bold;
	display: block;
	content:'\f060';
	position: absolute;
	top: 31px;
	left: 20px;
	color: #fff;
	transition: .3s ease;
}

#mf .send .btn_back:hover::after {
	color: #f1ca31;
	left: 30px;
	transition: .3s ease;
}

#mf .send input[type=submit] {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	font-size: 1.8rem;
	font-weight: bold;
	opacity: 0.6;
}

#mf .send input[type=submit].agree {
	opacity: 1;
}

#mf .send .confirm {
	display: inline-block;
	width: 360px;
	height: 84px;
	line-height: 80px;
	box-sizing: border-box;
	border: 2px solid #404040;
	border-radius: 0;
	background: #404040;
	cursor: pointer;
	color: #fff;
	position: relative;
	transition: .3s ease;
}

#mf .send .confirm.agree:hover {
	background: #f1ca31;
	border-color: #f1ca31;
	color: #404040;
	transition: .3s ease;
}

#mf .send .back {
	display: inline-block;
	width: 360px;
	height: 84px;
	line-height: 80px;
	box-sizing: border-box;
	border: 2px solid #404040;
	background: #404040;
	cursor: pointer;
	color: #fff;
	position: relative;
	transition: .3s ease;

}

#mf .send .back:hover {
	background: #404040;
	color: #fff;
	opacity: 1;
	transition: .3s ease;
}

#validation_container {
	margin-bottom: 50px;
}

p.error_messe {
	color: #d90000;
	background: #e7e7e7;
	padding: 24px 30px;
	margin-bottom: 10px;
	box-sizing: border-box;
}

#thanks_msg {
	text-align: center;
	padding: 60px 0 100px;
}

h1.thanks_hl {
	padding: 0 0 30px;
	font-weight: bold;
}

h1.thanks_hl::before {
	display: none;
}

#thanks_msg p {
	margin-bottom: 40px;
}

.thanks_btn a {
	display: block;
	width: 300px;
	height: 60px;
	line-height: 60px;
	/*border: 2px solid #111;*/
	background: #404040;
	text-align: center;
	font-size: 1.8rem;
	margin: 0 auto;
	position: relative;
	color: #fff;
	transition: .3s ease;
}

.thanks_btn a:hover {
	background: #f1ca31;
	color: #404040;
	transition: .3s ease;
}

.thanks_btn a::after {
	display: block;
	content: '';
	width: 7px;
	height: 7px;
	border: 1px solid #fff;
	border-bottom: none;
	border-left: none;
	transform: rotate(45deg);
	position: absolute;
	top: 27px;
	right: 16px;
	transition: .3s ease;
}

.thanks_btn a:hover::after {
	right: 24px;
	border-color: #404040;
	transition: .3s ease;
}


@media only screen and (max-width: 48em){	/* 768px */

	.page-Ttl h1::after {
		bottom: -40px;
		left: 50%;
		margin-left: -3em;
	}
	
	#cont_01 .step li {
		padding: 0 20px;
	}

	#cont_01 .step li:nth-child(2)::before,
	#cont_01 .step li:nth-child(3)::before {
		display: none;
	}

} /* end 768px*/


 @media only screen and (max-width: 40em) {	/*640px*/
 
	 #cont_01 .msg {
		margin-bottom: 30px;
	 }

	 #cont_01 .step {
		margin-bottom: 30px;
	 }
	 
	 #mf {
	 	margin-bottom: 60px;
	 }
	 
	#mf table th {
		margin-bottom: 14px;
	}

	#mf table td {
		margin-bottom: 30px;
	}

	 .checkbox_container label .mf_br {
		display: block;
	 }
 
	 #cont_01 .step {
		display: block;
		text-align: center;
	 }
 
	 #mf .send .btn_confirm {
		width: 280px;
		height: 64px;
	 }

	 #mf .send .confirm {
		width: 280px;
		height: 64px;
		line-height: 60px;
	 }
	 
	 #mf .send .btn_confirm::after {
	 	top: 21px;
		right: 14px;
	 }
	 
	#mf .send .btn_confirm.btn_confirm_agree:hover::after {
		right: 14px;
	}

	#mf .send .btn_back {
		width: 280px;
		height: 64px;
	}

	#mf .send .back {
		width: 280px;
		height: 64px;
		line-height: 60px;
	}

	#mf .send .btn_back::after {
		top: 21px;
		left: 14px;
	}

	#mf .send .btn_back:hover::after {
		left: 14px;
	}
	
	.thanks_btn a {
		width: 100%;
	}

} /* end 640px*/


























