@charset "UTF-8";

div#mf_wrapper {
	text-align: left;
	margin: 0px auto 30px;
	font-family: sans-serif;
}
form#mailform {
	padding: 5px;
}
table.mailform {
	width: 100%;
	box-sizing: border-box;
}
table.mailform tr th,table.mailform tr td {
	font-weight: normal;
	text-align: left;
	padding: 7px 5px 7px 7px;
	box-sizing: border-box;
	border: solid 5px #ffffff;
}
table.mailform tr th {
	background-color: #edf5fa;
	margin-right: 10px;
	width: 14em;
}
table.mailform tr th span {
	font-size: 90%;
	color: #C00;
}
table.mailform tr th p {
	margin: 0px;
	padding: 0px;
	color: #999;
}
table.mailform tr td span {
	font-size: 90%;
	color: #aaaaaa;
}
table.mailform tr td input {
	min-width: 70%;
}
table.mailform tr td input.yubin {
	font-size: 80%;
	width: 12em;
	min-width: 0%;
}
table.mailform tr td input.btn {
	width: 9em;
	min-width: 0%;
}
table.mailform tr td textarea {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}
@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;
	}
}