@charset "UTF-8";

/*お問い合わせフォーム*/
.class_box {
	float: left;
	width: 80%;
	margin-left: 10%;
	margin-top: 40px;
	margin-bottom: 10px;
}

/*h2*/
.contact_h2 {
	float: left;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #766f6c;
	margin-bottom: 20px;
	font-family: 'Merriweather Sans', sans-serif;
	font-size: 26px;
	color: #766f6c;
	font-weight: normal;
	text-align: left;
	padding-bottom: 6px;
}
.contact_h2 span {
	font-size: 12px;
	font-weight: bold;
	color: #4d4033;
	text-shadow: 1px 1px 3px #cccccc;
}

.contact_h3 {
	width: 100%;
	float: left;
	margin-top: 10px;
	text-align: left;
	padding-top: 8px;
	font-weight: normal;
}
.h3 {
	width: 100%;
	float: left;
	margin-top: 10px;
	font-size: 16px;
	text-align: left;
	padding-top: 8px;
	font-weight: normal;
	text-indent: -10px;
}

.naiyo {
	width: 100%;
	float: left;
	margin-top: 0px;
	text-align: left;
	padding-top: 8px;
}
.naiyo_k {
	width: 100%;
	float: left;
	margin-top: 0px;
	text-align: left;
	padding-top: 8px;
	padding-left: 2%;
}
#form {
	text-align: center;
	float: left;
	width: 100%;
	margin-top: 50px;
}

.naiyo_end {
	width: 100%;
	float: left;
	margin-top: 10px;
	margin-bottom: 400px;
	text-align: left;
	padding-top: 8px;
}
.naiyo a {
	text-decoration: underline;
}
.naiyo a:hover {
	text-decoration: underline;
}

.with {
	height: 25px;
	float: left;
	margin-top: 5px;
}
select {
	height: 30px;
	border: 1px solid #999999;
	background-color: #fbf8f5;
}
input, textarea {
	border: 1px solid #999999;
	background-color: #fbf8f5;
	margin-bottom: 2px;
	border-radius: 3px;/*CSS3*/
	-webkit-border-radius: 3px;/*Safari,Google Chrome*/
	-moz-border-radius: 3px;/*Firefox*/
	padding-left: 8px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
textarea {
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
}
.w {
	height: 30px;
	width: 100%;
}
.w_t {
	height: 120px;
}
.w_age {
	height: 30px;
	width: 50px;
}
.w_tel {
	height: 30px;
	width: 200px;
}
.w_error {
	height: 30px;
	width: 100%;
	background-color: #FFD7D2;
}
.w_t_error {
	height: 120px;
	background-color: #FFD7D2;
}
.w_age_error {
	height: 30px;
	width: 50px;
	background-color: #FFD7D2;
}
.w_tel_error {
	height: 30px;
	width: 200px;
	background-color: #FFD7D2;
}

/*フォームボタン単独*/
button.btn_contact {
	padding-top: 13px;
	padding-bottom: 13px;
	margin-bottom: 40px;
	color: #ffffff;
	width: 80%;
	border-style: none;
	border-radius: 3px;/*CSS3*/
	-webkit-border-radius: 3px;/*Safari,Google Chrome*/
	-moz-border-radius: 3px;/*Firefox*/
	background: -moz-linear-gradient(top, #b9b9b9, #666666);
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#666666));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ffb9b9b9', endColorstr='#ff666666');/*IE*/
	background: linear-gradient(to bottom, #b9b9b9, #666666);/*IE10*/
	font-size: 15px;
}
button.btn_contact:hover {
	background: -moz-linear-gradient(top, #f15555, #dc0000);
	background: -webkit-gradient(linear, left top, left bottom, from(#f15555), to(#dc0000));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#fff15555', endColorstr='#ffdc0000');/*IE*/
	background: linear-gradient(to bottom, #f15555, #dc0000);/*IE10*/
	color: #ffffff;
}
/*フォームボタン送信*/
button.btn_contact_send {
	padding-top: 13px;
	padding-bottom: 13px;
	margin-bottom: 40px;
	color: #ffffff;
	width: 48%;
	border-style: none;
	border-radius: 3px;/*CSS3*/
	-webkit-border-radius: 3px;/*Safari,Google Chrome*/
	-moz-border-radius: 3px;/*Firefox*/
	background: -moz-linear-gradient(top, #747fcf, #34509f);
	background: -webkit-gradient(linear, left top, left bottom, from(#747fcf), to(#34509f));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ff747fcf', endColorstr='#ff34509f');/*IE*/
	background: linear-gradient(to bottom, #747fcf, #34509f);/*IE10*/
	float: left;
	font-size: 15px;
}
button.btn_contact_send:hover {
	background: -moz-linear-gradient(top, #f15555, #dc0000);
	background: -webkit-gradient(linear, left top, left bottom, from(#f15555), to(#dc0000));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#fff15555', endColorstr='#ffdc0000');/*IE*/
	background: linear-gradient(to bottom, #f15555, #dc0000);/*IE10*/
	color: #ffffff;
}
/*フォームボタン戻って入力し直す*/
button.btn_contact_back {
	padding-top: 13px;
	padding-bottom: 13px;
	margin-bottom: 40px;
	color: #ffffff;
	width: 48%;
	border-style: none;
	border-radius: 3px;/*CSS3*/
	-webkit-border-radius: 3px;/*Safari,Google Chrome*/
	-moz-border-radius: 3px;/*Firefox*/
	background: -moz-linear-gradient(top, #7f7f7f, #aeaeae);
	background: -webkit-gradient(linear, left top, left bottom, from(#7f7f7f), to(#aeaeae));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ff7f7f7f', endColorstr='#ffaeaeae');/*IE*/
	background: linear-gradient(to bottom, #7f7f7f, #aeaeae);/*IE10*/
	float: right;
	font-size: 15px;
}
button.btn_contact_back:hover {
	background: -moz-linear-gradient(top, #f15555, #dc0000);
	background: -webkit-gradient(linear, left top, left bottom, from(#f15555), to(#dc0000));
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#fff15555', endColorstr='#ffdc0000');/*IE*/
	background: linear-gradient(to bottom, #f15555, #dc0000);/*IE10*/
	color: #ffffff;
}