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



/* 申し込みフォーム */

table.form{
	width:100%;
	margin-bottom:30px;
}

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

}

tbody th{
	width:30%;
	background-color:#3fb311;
	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;
}



/* 確認画面ボタン */
input.send{
	padding: 15px 40px;
	font-size: 1.2em;
	background-color:#999999;
	color: #fff;
	border-style: none;
	border-radius:20px;
	display:block;
	cursor: pointer;
	width:50%;
	margin:20px 0 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:#f60;
	xmargin-left:150px;
}

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

/* 必須項目 */

.required{
	color:#FFF;
}

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

span.blue{
	color:#0033CC;
}

#formIn h2{
		padding:20px 10px;
		margin-bottom:20px;
		font-size:1.2em;
	}




@media only screen and (max-width: 640px){
	
	article h1{
		margin:5% 0;
	}
	
	
	table.form{
		width:95%;
		margin:0 auto;
	}

	input.regist{
	margin-left:50px;
	background-color:#f60;
}

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

	input.send{
	width:95%;
}


	
	.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:87%;
		padding:10px 0px 0px 10px;
		margin:10px 0;
	}
	
	
	input.regist,
	input.correct{
	margin:0 0 10px 20px;
	width:80%;
	float:none;
}

input.correct{
	xmargin-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;
}

}

@media screen and (min-width: 320px){

	#formIn{
		padding:30px 5% 30px;
	}

	#mainbodyIn div.bg3{
		background-image:url(../photo/images/main_top_illust2.png);
		background-repeat:no-repeat;
		xbackground-size:contain;
		background-position:right top;
	}

	#formIn h1{
		margin-left:2%;
		margin-bottom:20px;
		padding:85px 0 15px;
		background-image:url(../photo/images/title_line3.png);
		background-repeat:repeat-x;
		background-position:left bottom;
		font-size:2.4rem;
		font-weight:400;
		text-align:left;
	}

	#formIn .phototitle{
		padding:10px 0 0;
	}

	#formIn .phototitle h2{
		clear:both;
		margin-bottom:40px;
		padding:10px 20px;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-o-box-sizing:border-box;
		-ms-box-sizing:border-box;
		box-sizing:border-box;
		border:1px solid #1e1e1e;
		font-size:1.4;
		font-weight:400;
	}

	#formIn .phototitle ul{
		margin-bottom:15px;
		text-align:center;
	}

	#formIn .phototitle li{
		display:inline-block;
		width:48%;
		margin-right:2%;
		margin-bottom:30px;
	}

	#formIn .phototitle li:nth-child(even){
		margin-right:0;
	}

	#formIn .phototitle li img{
		width:100%;
		height:auto;
	}

	#formIn ul.page{
		clear:both;
		margin-bottom:40px;
		text-align:center;
	}

	#formIn ul.page li{
		display:inline-block;
		width:128px;
		height:35px;
		margin-right:12px;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-o-box-sizing:border-box;
		-ms-box-sizing:border-box;
		box-sizing:border-box;
		border:1px solid #1e1e1e;
		font-size:1.4rem;
		text-align:center;
		vertical-align:middle;
	}

	#formIn ul.page li:last-child{
		margin-right:0;
	}

	#formIn ul.page li a{
		display:block;
		padding:8px 0;
	}
	
	.kengaku h2{
		margin:30px 0 50px;
		font-size:1.6em;
	}
	
	.kengaku p{
		font-size:1em;
	}

}


@media screen and (min-width: 480px){

	#mainbodyIn div.bg3{
		xbackground-size:65% auto;
	}

}



@media screen and (min-width: 640px){

	#formIn .phototitle li{
		display:inline-block;
		width:31.3333%;
		margin-right:2%;
		margin-bottom:30px;
	}

	#formIn .phototitle li:nth-child(even){
		margin-right:2%;
	}

	#formIn .phototitle li:nth-child(3n){
		margin-right:0;
	}

}





@media screen and (min-width: 980px){
	
	#formIn h1{
		margin-left:0;
	}

}





