@charset "UTF-8";
div#mf_wrapper {
	width: 800px;
	text-align: left;
	margin: 50px auto 50px auto;
	font-family: sans-serif;
}

form#mailform {
	padding: 5px;
}
table.mailform {
	width: 100%;
}
table.mailform tr th,table.mailform tr td {
	text-align: left;
	font-weight: normal;
	border-bottom: solid 1px #999999;
	padding: 10px 5px 10px 5px;
}
table.mailform tr th {
	width: 180px;
	vertical-align:top;
}
table.mailform tr th span {
	color: #CC0000;
	font-size: 10px;
}

table.mailform tr td textarea {
	width: 100% !important;
	height: 120px !important;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
    -webkit-appearance: none;
    border: 1px solid rgb(177, 177, 177);
    background: rgb(255, 255, 255);
    font-size: 100%;
    padding: 0.3em 0.2em 0.2em;
}

input.nomal{
	width:50% !important;
}

input.min{
	width:30% !important;
}

input.long{
	width:90% !important;
}


input.subbt {
    width: 210px;
    display: block;
    height: 50px;
    line-height: 50px;
    color: rgb(255, 255, 255);
    text-align: center;
    background: rgb(181, 152, 104);
	margin:10px auto;
	font-size:16px;
}

.sup{
	font-size:12px;
	text-align:center;
}

.btbox{
	text-align:center;
}

@media screen and (max-width: 800px) {
	 
#container{
	margin:0 10px;
}
table.mailform tr th,table.mailform tr td{
    display: list-item;
    border: none;
    width: 100%;
    list-style: none;
    padding: 5px 10px;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

div#mf_wrapper {
	width: 100%;
	text-align: left;
	margin: 50px auto 50px auto;
	font-family: sans-serif;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

input.nomal{
	width:90% !important;
}

input.min{
	width:60% !important;
}

input.long{
	width:90% !important;
}


 }
