@charset "UTF-8";

/* お問い合わせ クラス
----------------------------------------*/
#contact h2 {
	background-image: url(../img/contact/icon_h3.png);
}

#contact h2 + p {
	margin: 0 18px 0 40px;
	min-height: 63px;
}

#contact hr + p {
	margin: 0 18px 15px 40px;
}

#contact form {
	position: relative;
}

#contact dl {
	margin: 0 0 0 40px;
	position: relative;
}

#contact dt {
	width: 150px;
	position: absolute;
	margin-bottom: 10px;
}

#contact dt.required:after,
#contact dl + p.required:before {
	content: "※";
	color: #fd75d7;
}

#contact dl + p.required {
	color: #fd75d7;
	margin-left: 40px;
    position: absolute;
    bottom: 150px;
}

#contact dd {
	margin: 0 0 10px 150px;
	padding-left: 15px;
	border-left: solid 3px #fba5df;
}

#contact .conf dd {
	border-left: solid 3px #8fbcf9;
}

#contact dd input[type="text"] {
	width: 276px;
	height: 22px;
	padding: 0 5px;
	border: solid 1px #898989;
	font-family: inherit;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#contact dd textarea {
	width: 460px;
	height: 165px;
	padding: 0 5px;
	border: solid 1px #898989;
	font-family: inherit;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#contact p.thanks {
	margin: 125px 0;
}

#contact dt.error {
	color: #dd0000;
}

#contact dt.error + dd input[type="text"],
#contact dt.error + dd textarea {
	background: #ffbbbb;
}
