/* ========================================================================

	contact
  
======================================================================== */
h3 { background: #262626; }

section { padding-bottom: 50px; }

.contact {
	margin: 0 auto 20px;
	padding: 30px 30px 60px;
	overflow: hidden;
	width: 910px;
	background: #fff;
	/* box-shadow */
	box-shadow:0px 0px 4px -1px #000000;
	-moz-box-shadow:0px 0px 4px -1px #000000;
	-webkit-box-shadow:0px 0px 4px -1px #000000;
}

.heading {
	padding: 8px 0;
	background: #F5F5F5;
}

.thanks {
	margin: 0 auto 70px;
	padding: 70px 20px;
	width: 900px;
	height: 300px;
}

.thanks a {
	color: #6d1616;
	text-decoration: underline;
}

.thanks a:hover {
	color: #b44444;
	text-decoration: none;
}

.contact table {
	margin: 0 auto 30px;
	width: 80%;
}

.contact table caption {
	text-align: right;
}

.contact table caption span,
.contact th span {
	color: #F00;
}

.contact th {
	padding: 10px 8px;
	text-align: right;
	width: 20%;
	vertical-align: middle;
}

.contact td {
	padding: 10px 0;
	text-align: left;
	line-height: 1.8;
}

input[type="text"] {
	width: 100%;
	height: 26px;
	line-height: 26px; 
}

textarea {
	width: 100%;
	height: 150px;
}

.btn {
	padding: 10px 0;
	color: #fff;
	cursor: pointer;
	font-size: 123%;
	font-weight: bold;
	width: 200px;
	background: #6d1616;
	border: none;
}

.btn:hover {
	background:#b44444;
}


/*----------------------------------------------------------------------------------------------------------------- SP ----*/
@media screen and (max-width: 768px) {
	
h3 {
	overflow: hidden;
	padding: 0 2%;
}

h3 img { height: 4vh; }

section { padding-bottom: 0; }

.contact {
	margin-bottom: 0;
	padding: 5%;
	width: 90%;
}

.heading {
	padding: 8px 4%;
	text-align: left;
	width: 92% !important;
}

.thanks {
	padding: 70px 2%;
	text-align: left;
	width: 96%;
	height: 200px;
}

.contact table {
	width: 96%;
}

.contact caption,
.contact th,
.contact td span {
	font-size: 85%;
}

.contact th,
.contact td {
	display: block;
	width: 100%;
}

.contact th {
	padding: 5px 0;
	text-align: left;
}

.contact td { padding: 5px 0; }

.btn {
	display: block;
	margin: 0 auto;
}

.mb50 { margin-bottom: 30px !important; }

}
