@charset "UTF-8";

div#mf_wrapper {
	width: 640px;
	text-align: left;
	margin: 0px auto;
	font-family: sans-serif;
}

div#mf_header h1 {
	font-size: 14px;
	color: #333;
	font-weight: normal;
	margin: 20px 0px 0px 0px;
	padding: 0px;
}

div#mf_header h2 {
	font-size: 20px;
	border:none;
	border-bottom: solid 1px #999;
	margin: 15px 0px 20px 0px;
	padding: 0px;
}
form#mailform {
	padding: 5px;
}
table.mailform {
	width: 100%;
	box-sizing: border-box;
}
table.mailform tr th,table.mailform tr td {
	text-align: left;
	font-weight: normal;
	font-size: 14px;
	border-bottom: solid 1px #999;
	padding: 7px 5px 7px 5px;
	box-sizing: border-box;
}
table.mailform tr th {
	width: 150px;
}
table.mailform tr th span {
	color: #C00;
	font-size: 11px;
	font-weight:bold;
}
table.mailform tr th p {
	margin: 3px 0px 0px 0px;
	padding: 0px;
	font-size: 12px;
	color: #999;
}
table.mailform tr td textarea {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	font-size:14px;
}
table.mailform tr td span {
	color:#606060;
	font-size:12px;
}
table.mailform .readonly{
	outline:0;
	border:0;
	margin:5px 0px;
	overflow:hidden;
}

#nobento{display:none;}

#furikomi{
	resize:none;
}
.shimekiri{
	border:gray double 3px;
	padding:10px 20px;
	font-size:16px;
	margin:20px 0px;
	line-height:1.6;
}
.note{
	line-height:1.4;
	font-size:12px;
	text-indent:-1em;
	padding-left:1em;
}
td p{
	margin:5px 0px 0px 0px;
}

input[type="button"],
input[type="submit"],
input[type="reset"]{
	width:5em;
	height:2em;
}


@media screen and (max-width: 800px) {
	div#mf_wrapper {
		width: auto;
		max-width: 100%;
	}
	table.mailform,table.mailform tbody,table.mailform tbody tr {
		border-spacing: 0px;
		border-collapse: collapse;
		display: block;
		width: auto;
		max-width: 100%;
	}
	table.mailform tr th,table.mailform tr td {
		display: block;
		width: auto;
		max-width: 100%;
		padding: 0px;
		box-sizing: border-box;
	}
	table.mailform tr th {
		border: none;
		padding: 7px 5px 2px 5px;
	}
	table.mailform tr th p {
		display: inline-block;
	}
	table.mailform tr th span {
		display: inline-block;
		margin: 0px 3px;
	}
	table.mailform tr td {
		padding: 2px 5px 7px 5px;
	}
	table.mailform tr td textarea,
	table.mailform tr td input,
	table.mailform tr td select {
		max-width: 100%;
		box-sizing: border-box;
	}
}

