@charset "UTF-8";



input[type=button].form,
input[type=submit].form,
input[type=reset].form,
input[type=text].form,
input[type=password].form,
select.form,
textarea.form{
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: middle;
	margin: 2px 1px;
	padding: .2em 0.5em;
	height: 30px;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	outline: none;
	border: 1px #b7b7b7 solid;
	border-radius: 2px; 
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	/*behavior: url(/css/border-radius.htc);*/
	/* デフォルトで M サイズにしている */
	padding: .2em .5em;
	/*height: 25px;*/
	font-size: 12px;

}
	textarea.form{
		height: initial;
	}
input[type=button].form,
input[type=submit].form{
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
input[type=button].form:hover,
input[type=submit].form:hover,
input[type=reset].form:hover{
	cursor: pointer;
	text-decoration: none;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
input[type=button].form:active,
input[type=submit].form:active,
input[type=reset].form:active{
	position: relative;
	top: 1px;
}

/* □checkbox ○radio 共通 */
label.form input[type=checkbox],
label.form input[type=radio]{
	display: none;
}
label.form input[type=checkbox] + span,
label.form input[type=radio] + span{
	padding-left: 23px;
	position: relative;
	margin-right: 20px;
}
label.form input[type=checkbox] + span::before,
label.form input[type=radio] + span::before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 15px;
	height: 15px;
	border: 1px solid #999;
	border-radius: 2px;
	margin-left: 3px;
	background: #fff;
}
label.form input[type=checkbox]:checked + span,
label.form input[type=radio]:checked + span{
	color: #cc0000;
}

/* □checkbox */
label.form input[type=checkbox]:checked + span::after{
	content: "";
	display: block;
	position: absolute;
	top: -5px;
	left: 5px;
	width: 7px;
	height: 14px;
	transform: rotate(40deg);
	border-bottom: 3px solid #cc0000;
	border-right: 3px solid #cc0000;
	margin-left: 3px;
}

/* ○radio */
label.form input[type=radio] + span::before{
	border-radius: 8px;
}
label.form input[type=radio]:checked + span::after{
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	left: 3px;
	width: 11px;
	height: 11px;
	background: #cc0000;
	border-radius: 50%;
	margin-left: 3px;
}

/* white */
input[type=button].white,
input[type=submit].white,
input[type=reset].white{
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top, #fff, #ededed);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
}
input[type=button].white:hover,
input[type=submit].white:hover,
input[type=reset].white:hover{
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top, #fff, #dcdcdc);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
}
input[type=button].white:active,
input[type=submit].white:active,
input[type=reset].white:active{
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top, #ededed, #fff);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}




  


html,body{
	margin: 0;
	padding: 0;
}
body{
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
	line-height: 1.7em;
}


/* base */
#wrap{
	margin: 0;
	padding: 0;
}
#header{
	margin: 0;
	padding: 10px 5px;
	background: #222;
	color: #fff;
	text-align: center;
}
	#header h1{
		line-height: 1.2em;
		font-size: 3rem;
	}
	#header p{
		margin-top: 10px;
	}
#main{
	margin: 30px auto 0 auto;
	padding: 0 5px;
	max-width: 1000px;
}
#footer{
	margin: 50px 0 0 0;
	padding: 20px 10px;
	background: #222;
	color: #fff;
	text-align: center;
}



/* 選択画像サムネイル */
#selectfile{
	margin: 0 auto 10px auto;
	padding: 10px 5px;
	background: #eee;
	border: 1px #bbb solid;
	border-radius: 5px;
	text-align: center;
}
#selectfile img,
#selectfile canvas{
	margin: 0 auto;
	max-height: 400px;
	width: 100%;
	max-width: 800px;
	
	object-fit: contain;
	
	text-align: center;
	vertical-align: top;
}

/* 入力フォーム */
#form{
	margin: 0 auto;
	max-width: 320px;
}
#form div{
	margin-top: 10px;
}
.form,
select.form,
input[type="button"].form,
input[type="submit"].form{
	font-size: 16px;
	height: 40px;
}
select.form,
input[type="button"].form,
input[type="submit"].form{
	background: #efefef;
	color: #000;
}

#fileInput {
	display: none;
}

#sel1,
#sel1input{
	width: 240px;
}
#sel2,#sel3{
	margin-left: 0;
	width: 120px;
}
textarea.form{
	height: 100px;
	width: 100%;
}
#sel1input{
	display: none;
}

/* アドバイス */
#advice{
	margin: 0 auto 20px auto;
	padding: 30px 10px;
	width: 100%;
	max-width: 800px;
	background: #eee;
}
#advice .img img{
	margin: 0 auto;
	max-height: 400px;
	width: 100%;
	max-width: 800px;
	
	object-fit: contain;
	
	text-align: center;
	vertical-align: top;
}
#advice #answer{
	margin: 30px auto 0 auto;
}


