@charset "utf-8";

.top_image_bg {
	background: url("../images/top_contact.jpg") no-repeat;
	background-size: cover;
	background-position: center center;
}

form {
width: 940px;
font-weight: bold;
margin: 0 auto;
}

form label {
	display: flex;
	align-items: center;
	margin: 0 auto 60px;
 }

form label:nth-of-type(5),
form label:nth-of-type(6) {
	align-items: baseline;
}

form label:nth-of-type(5) .title_wrapper > label {
	margin: 0 auto 30px;
}

form .contact_block {
	width: 270px;
}

form .need {
	padding: 5px 25px;
	background: #d0000f;
	color: #fff;
	margin-right: 35px;
}

form .title {
	display: block;
	width: 145px;
	text-align: right;
	margin-right: 40px;
	margin-top: 5px;
}

form label:nth-of-type(6) textarea {
	width: 755px;
	max-height: 500px;
	min-height: 280px;
	border: none;
	outline: none;
}

form label:last-child {
	display: block;
	margin: 0;
}

form label input {
	width: 100%;
	padding: 15px 0;
	border: none;
	outline: none;
}

form label input[type="radio"]{
	width: auto;
}

form p {
	text-align: center;
	padding-bottom: 20px;
	font-size: 18px;
}

form .submit_btn{
	outline: none;
	display: block;
	width: 360px;
	padding: 25px 0;
	background: #d6000f;
	border: 1px solid #d6000f;
	font-size: 18px;
	color: #fff;
	font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
	font-weight: bold;
	transition: 0.6s;
	margin-left: 40px;
}

form .submit_block{
	display: flex;
	align-items: center;
	justify-content: center;
}

form .submit_btn:hover {
	background: #fff;
	border: 1px solid #d6000f;
	color: #d6000f;
}

.confirm_wrapper form .submit_btn{
	width: 200px;
	font-size: 14px;
}

.contact_wrapper {
	width: 1200px;
	margin: 0 auto;
	padding: 80px 30px;
}

.contact_area {
	background: #f1f1f1;
	padding: 120px 0;
}

.confirm_wrapper .title_block{
	display: flex;
	align-items: center;
}

.confirm_wrapper .confrim_hd{
	text-align: center;
	padding: 160px 0 40px;
}

.confirm_wrapper label p{
	padding: 0;
}

.confirm_wrapper .title{
	margin-top: 0;
}

.confirm_wrapper form{
	width: 500px;
}



@media screen and (max-width:1000px){

	.contact_wrapper {
	width: 750px;
	margin: 0 auto;
	padding: 80px 30px;
}
	.contact_area {
	background: #f1f1f1;
	padding: 80px 0;
}

	form label {
	display: block;
 }

	form {
width: 630px;
font-weight: bold;
}

	form .title_block {
		margin-bottom: 10px;
	}

	form .title {
	display: block;
	width: 145px;
	text-align: left;
	margin-right: 0;
	margin-top: 5px;
}

	form label:nth-of-type(5) .title_block {
		align-items: center;
		margin-bottom: 30px;
	}

	form label:nth-of-type(6) textarea {
		margin-top: 20px;
		width: 100%;
}
	form label:nth-of-type(6) {
		margin-top: 60px;
	}

	form label:last-child {
		margin: 0 auto 0;
	}

	form label:last-child input[type="submit"]{
	margin-left: 0;
	width: 100%;
}

}

@media screen and (max-width:750px){

	.top_image {
		background: url("../images/top_contact_sp.jpg") no-repeat;
		background-size: cover;
		background-position: center center;
	}

	.contact_wrapper {
	width: 100%;
	padding: 60px 15px;
}
	.contact_area {
	padding: 60px 15px;
}
	form {
		width: auto;
		margin-left: 0;
	}

	form .need {
	font-size: 14px;
	}

	form label:nth-of-type(6) textarea {
	width: 100%;
	min-height: 180px;
}
	form label:last-child input[type="submit"]{
	width: 100%;
	font-size: 14px;
	padding: 15px 0;
}
	form p {
	font-size: 16px;
}

}
