@charset "utf-8";
/* CSS Document */

.formtitle{
	font-size:1.2em;
}


 
/* 確認画面ボタン */
input.send{
	display:inline-block;
}
p.error_messe{
	margin:5px 0;
	color:red;
}


/* フォーム */

table.form{
	width:100%;
}

tbody{
	max-width:90%;
	height:auto;
	background-color: #fff;
	margin:0 auto;
	border:1px solid #CCCCCC;

}

tbody th{
	width:30%;
	background-color:#ff7d7d;
	border:1px solid #CCCCCC;
	color:#fff;
}


tbody th, td{
	padding:10px 10px; 
	border:1px solid #CCCCCC;
	vertical-align: middle; 
	font-weight: normal; 
	font-size: 100%;
	text-align: left; 
}



 /* テキストエリアの設定 */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
	width: 95%;
	background-color: #fff;
	color: #000;
	padding:7px 0 7px 10px;
	margin:10px 0;
}

input.phone,
input.phone2,
input.phone3{
		width:60px;
	}

select{
	width:80px;
	margin-right:5px;
	padding:7px;
}

select.pref{
	width:120px;
}


input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,select:focus{
	background-color: #fff;
}


input.zip1,
input.zip2{
	width:70px;
}



/* 送信ボタンを横並びに */
table tr td form{
	float:left;
	margin-right:5px;
 }
 
/* 確認画面ボタン */
input.send{
	padding: 15px 40px;
	font-size: 1.2em;
	background-color:#ff7d7d;
	color: #fff;
	border-style: none;
	border-radius:20px;
	xdisplay:block;
	cursor: pointer;
	width:30%;
	margin-top:20px;
	margin-bottom:20px;
}

input.send:hover{
	opacity:.7;
}

/* 修正ボタン(correct)、送信ボタン(regist) */
input.correct,
input.regist{
	padding: 15px 40px;
	font-size: 1.2em;
	background-color:#807f77;
	color: #fff;
	border-style: none;
	border-radius:20px;
	display:block;
	cursor: pointer;
	width:30%;
	float:left;
	margin:20px 5px 50px 0px;
}

input.regist{
	background-color:#ff7d7d;
	margin-left:150px;
}

input.correct:hover,
input.regist:hover{
	opacity:.6;
}

/* 必須項目 */

.required{
	color:#fff;
}

.required:after{
	 content:"必須";
	 font-size:.8em;
}
	



span.blue{
	color:#0033CC;
}

@media only screen and (max-width: 1100px){

table.form{
	width:95%;
}

}


@media only screen and (max-width: 1024px){
	
	#rightbody .contact h1{
		margin:0 0px 45px 0;
	}
	
	#rightbody .contact h2{
		padding-right:0px;
	}
	
	table.form{
		width:100%;
	}


}

@media only screen and (max-width: 960px){
	
	#rightbody .contact{
	margin-bottom:0px;
}

	input.regist{
	margin-left:50px;
}

input.correct,
input.regist{
	width:40%;
	float:left;
}


}



@media only screen and (max-width: 640px){
	input.send{
	width:100%;
}


}

@media only screen and (max-width: 568px){
}

@media (max-width: 480px) {
	
	.form{
		max-width:100%;
	}

	tbody tr{
		width:100%;
		display: block;
		list-style: none;
	}

	tbody th, td{
		width:100%;
		display: list-item;
		padding:10px 0px; 
		border:none;
	}

	tbody th:before,
	tbody td:before{
		content:'　';
	}

	/* テキストエリアの設定 */
	input[type="text"],
	input[type="email"],
	textarea{
		width:90%;
		padding:5px 0px 5px 10px;
		margin:10px 0;
	}
	
	
	input.regist,
	input.correct{
	margin:0 0 10px 20px;
	width:80%;
	float:none;
}

input.correct{
	margin-top:20px;
}

input.regist{
	margin-top:20px;
}

input.zip1,
input.zip2{
	width:50px;
}

input.phone,
input.phone2,
input.phone3{
		width:60px;
	}

span.ex{
	display:block;
	margin-left:10px;
	margin-right:5px;
}

}






	