@charset "UTF-8";

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

#form_section .container {
	max-width: 980px;
	margin: 0 auto;
}

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

#form_section .attention {
	max-width: 700px;
	margin-inline: auto;
    display: block;
    background-color: #f8dfde;
    padding: 0.2em 0.7em 0.3em;
    margin-top: 1em;
	margin-bottom: 100px;
    color: #d12926;
    font-weight: var(--fw_jp_bold);
	text-align: center;
}

#form_section .attention::before {
	content: "重要";
	background-color: #d12926;
	color: #ffffff;
	padding: 0.1em 0.3em;
	margin-right: 5px;
}

#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: #c92722;
	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: #c92722;
	border: 1px solid #c92722;
}

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

#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 .container {
		padding: 0 20px;
	}

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

	#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;
	padding-top: 50px;
	letter-spacing: 0.5em;
	color: #999999;
}

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

#form_section .conf_item dt:nth-of-type(odd),
#form_section .conf_item dd:nth-of-type(odd) {
	background: #f0f0f0;
}

#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: space-between;
	width: 100%;
	padding-top: 50px;
}

#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 {
		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_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;
	}

}