@charset "utf-8";

#contact .red {
	color: #ff0000;
}
/*---------------------------caution_box--------------------------------*/

#contact .caution_box{
	color: #fff;
	background-color: #ea973b;
	text-align: left;
	max-width: 800px;
	border-radius: 20px;
	padding: 1% 5%;
}
#contact .caution_box p{
	display: block;
	margin-left: 15px;
	margin-bottom: 10px;
	position: relative;
}
#contact .caution_box p:last-of-type{
	margin-left: auto;
}
#contact .caution_box p::before{
	display: block;
	content: "●";
	position: absolute;
	top: 0;
	left: -20px;
}
#contact .caution_box p:last-of-type::before{
	display: none;
}
#contact .caution_box .tel_btn{
	text-align: center;

}
#contact .caution_box .tel_btn a{
	color: #fff;
	font-size: 1.1rem;
	font-weight: bold;
	border-bottom: 1px solid #fff;
}

/*---------------------------お問い合わせフォーム--------------------------------*/

#contact .box{
	max-width: 1000px;
	margin-top: 100px;
}
#contact .box .form_box{
	padding: 0 20%;
	margin-bottom: 15px;
}
#contact .box .form_box h3{
	text-align: right;
	width: 150px;
	float: left;
}
#contact .box .form_box input[type="text"],
#contact .box .form_box textarea[name="content"]{
	border: 1px solid #ea973b;
	width: 60%;
	padding: 3px;
	float: right;
}
#contact .must{
	position: relative;
}
#contact .must::after{
	color: #ff0000;
	display: block;
	content: "※";
	position: absolute;
	top: 0;
	right: -20px;
}

/*---------------------------送信・クリアボタン--------------------------------*/

#contact form input[type="submit"]{
	margin-left: 20%;
}
#contact form input[type="submit"],
#contact form input[type="reset"] {
	background-color: #fff;
	margin-bottom: 0;
}
#contact form input[type="submit"].more,
#contact form input[type="reset"].more{
	color: #ea973b;
	width: 100px;
	height: 54px;
}
#contact form input[type="submit"].more:hover,
#contact form input[type="reset"].more:hover{
	color: #fff;
	background-color: #ea973b;
}

/*（1000px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 1000px){
	#contact .box{
		text-align: center;
	}
	#contact .box .form_box h3{
		text-align: center;
		margin-bottom: 5px;
		float: none;
	}
	#contact .box .form_box input[type="text"],
	#contact .box .form_box textarea[name="content"]{
		width: 100%;
		float: none;
	}
	#contact .must{
		position: relative;
	}
	#contact .must::after{
		position: absolute;
		top: 0;
		right: -5px;
	}
	#contact form input[type="submit"]{
		margin-left: 0;
		margin-right: 10px;
	}
	#contact form input[type="submit"],
	#contact form input[type="reset"] {
		margin-bottom: 50px;
	}
}

/*スマホ用（500px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 500px){
	#contact .box .form_box{
		padding: 0 5%;
	}
}