@charset "UTF-8";

#page_title_section {
	background-image: url("../img/contact/top_backimage.jpg");
	background-position: 70% 50%;
}

#form_section .contents {
	background: #f0f0f0;
	margin: 50px 0;
}

#form_section .contents .inner {
	max-width: 980px;
	margin: 0 auto;
	padding: 100px 0;
}

#form_section .caution_txt {
	font-size: 16px;
	line-height: 1.5em;
	padding-bottom: 50px;
	text-align: center;
}

#form_section .form_box {
	max-width: 700px;
	margin: 0 auto;
}

#form_section .form_box dl {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: stretch;
}

#form_section .form_box dl dt {
	width: 100%;
	max-width: 250px;
	padding-right: 50px;
	padding-bottom: 10px;
	font-size: 16px;
	line-height: 2.2em;
}

#form_section .form_box dl dd {
	width: 100%;
	max-width: 450px;
	padding-bottom: 20px;
}

#form_section .form_box .req {
	font-size: 14px;
	line-height: 1.0em;
	padding: 3px 5px;
	margin-right: 10px;
	border-radius: 5px;
	background: #d4b965;
	color: #ffffff;
}

#form_section .form_box .any {
	font-size: 14px;
	line-height: 1.0em;
	padding: 3px 5px;
	margin-right: 10px;
	border-radius: 5px;
	background: #ffffff;
	color: #d4b965;
	border: 1px solid #d4b965;
}

#form_section .form_box input[type="text"],
#form_section .form_box textarea {
	width: 100%;
	border: 1px solid #c8c8c8;
	background: #ffffff;
	border-radius: 5px;
}

#form_section .form_box input[type="text"] {
	height: 30px;
}

#form_section .form_box textarea {
	height: 150px;
}

#form_section .submit_btn {
	text-align: center;
	padding-top: 50px;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

	#form_section .contents {
		padding: 0 20px;
		margin: 50px 0 0;
	}

	#form_section .contents .inner {
		padding: 50px 0;
	}

	#form_section .caution_txt {
		font-size: 15px;
		line-height: 1.8em;
	}

	#form_section .form_box dl {
		display: block;
	}

	#form_section .form_box dl dt {
		max-width: none;
		padding-right: 0;
		padding-bottom: 5px;
		font-size: 15px;
	}

	#form_section .form_box dl dd {
		max-width: none;
	}

}



/* 確認画面用 */
#form_section .conf_ttl {
	font-size: 25px;
	line-height: 1.5em;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.5em;
	color: #666666;
}

#form_section .conf_item dt,
#form_section .conf_item dd {
	font-size: 15px!important;
	line-height: 1.8em!important;
	padding: 20px 15px!important;
}

#form_section .conf_item dt:nth-of-type(odd),
#form_section .conf_item dd:nth-of-type(odd) {
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}

#form_section .conf_item dt:last-of-type,
#form_section .conf_item dd:last-of-type {
	border-bottom: 1px solid #999999;
}

#form_section .conf_item dt {
	font-weight: bold;
	max-width: 200px!important;
}

#form_section .conf_item dd {
	max-width: 500px!important;
}

#form_section .conf_btn {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 50px;
}
#form_section .conf_btn li {
	padding: 0 10px;
}

#form_section .error_messe {
	font-size: 18px;
	line-height: 1.8em;
	color: #c92722;
	text-align: center;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

	#form_section .conf_ttl {
		font-size: 20px;
	}

	#form_section .conf_item dt,
	#form_section .conf_item dd {
		padding: 20px 0!important;
	}
	
	#form_section .conf_item dt {
		max-width: none!important;
		padding-bottom: 2px!important;
		color: #999999;
	}

	#form_section .conf_item dd {
		max-width: none!important;
		padding-top: 2px!important;
	}

	#form_section .conf_item dt:nth-of-type(odd) {
		border-top: 1px solid #999999;
		border-bottom: none;
	}

	#form_section .conf_item dd:nth-of-type(odd) {
		border-top: none;
	}
	
	#form_section .conf_item dt:last-of-type {
		border-top: none;
		border-bottom: none;
	}

	#form_section .conf_btn {
		display: block;
	}

	#form_section .conf_btn li {
		padding-bottom: 20px;
	}

}



/* サンクスページ用 */
#thanks_section .container {
	max-width: 980px;
	margin: 0 auto;
}

#thanks_section .thanks_comment {
	font-size: 18px;
	line-height: 2.0em;
	text-align: center;
	padding: 100px 0;
}



/* スマートフォン用 */
@media screen and (max-width: 768px) {

	#thanks_section .container {
		padding: 0 20px;
	}

	#thanks_section .thanks_comment {
		font-size: 16px;
	}

	#thanks_section .w300 {
		width: 200px;
	}

}