@charset "UTF-8";
div#mf_wrapper {
	width: 640px;
	text-align: left;
	margin: 0px auto 0px auto;
	font-family: sans-serif;
}
div#mf_header h1 {
	font-size: 24px;
	border-bottom: solid 1px #999999;
	margin: 0px;
	padding: 0px;
}
div#mf_header h2 {
	font-size: 16px;
	color: #999999;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
form#mailform {
	padding: 5px;
}
#mailform table {
	width: 100%;
	margin-bottom: 50px;
	table-layout: fixed;
}

#mailform table tr {
	border-bottom: dotted 1px #999999;
}

#mailform table tr th,
#mailform table tr td {
	text-align: left;
	font-weight: normal;
	font-size: 16px;
	padding: 16px 10px 14px;
	-webkit-box-sizing : border-box ;
	-moz-box-sizing : border-box ;
	box-sizing : border-box ;
}
#mailform table tr th {
	width: 220px;
}
#mailform table tr th span {
	color: #CC0000;
	font-size: 12px;
}
#mailform table tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	color: #999999;
}
#mailform table tr td textarea {
	width: 100% !important;
	height: 120px;
}

#mailform table tr td label {
	margin-bottom: 5px;
	display: inline-block;
}

#mailform table tr td label:last-child {
	margin-bottom: 0;
}

#mailform table tr td input[type="text"],
#mailform table tr td textarea {
	min-width: 140px;
	max-width: 100%;
	padding: 7px 10px 5px;
	line-height: 1.55;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-box-sizing : border-box ;
	-moz-box-sizing : border-box ;
	box-sizing : border-box ;
}

#mailform table tr td input[type="button"],
#mailform table tr td input[type="submit"],
#mailform table tr td input[type="reset"] {
	min-width: 160px;
	padding: 9px 15px 8px;
	font-size: 14px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	border: solid 1px #a5a5a5;
	background: rgba(246,246,246,1);
	background: -moz-linear-gradient(top, rgba(246,246,246,1) 0%, rgba(221,221,221,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(246,246,246,1)), color-stop(100%, rgba(221,221,221,1)));
	background: -webkit-linear-gradient(top, rgba(246,246,246,1) 0%, rgba(221,221,221,1) 100%);
	background: -o-linear-gradient(top, rgba(246,246,246,1) 0%, rgba(221,221,221,1) 100%);
	background: -ms-linear-gradient(top, rgba(246,246,246,1) 0%, rgba(221,221,221,1) 100%);
	background: linear-gradient(to bottom, rgba(246,246,246,1) 0%, rgba(221,221,221,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#dddddd', GradientType=0 );
	-webkit-box-sizing : border-box ;
	-moz-box-sizing : border-box ;
	box-sizing : border-box ;
	vertical-align: bottom;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
}



/*画面幅700px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 700px){

	
	#mailform table tr th,
	#mailform table tr td {
		width: auto;
		padding: 0;
		display: block;
	}
	
	#mailform table tr th {
		padding-top: 10px;
		margin-bottom: 5px;
	}
	
	#mailform table tr:first-child th {
		padding-top: 0;
	}
	
	#mailform table tr th p {
		margin: 0 0 0 10px;
		display: inline-block;
	}
	
	#mailform table tr td {
		padding-bottom: 14px;
	}
	
	#mailform table tr td input[type="text"],
	#mailform table tr td textarea {
		min-width: 100%;
	}
	
	#mailform table tr:last-child {
		border-bottom: none;
	}
	
	#mailform table tr:last-child td {
		text-align: center;
	}
	
	

}