@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 {
	width: 100%;
	border: 1px solid #CCC;
	background-color: #EFEFEF;
	padding: 50px 50px 25px 50px;
}
.mailform .item-hidden {display: none;}
.mailform .item {
	clear: both;
	padding-bottom: 30px;
}
.mailform .ttl {
	width: 30%;
	float: left;
	box-sizing: border-box;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	padding: 7px 5px 7px 5px;
}
.mailform .cont {
	box-sizing: border-box;
	font-size: 16px;
	text-align: left;
	font-weight: normal;
	padding: 7px 5px 7px 32%;
}
.mailform .cont.bdr input,
.mailform .cont.bdr textarea {
	padding: 10px;
	border: 1px solid #cccccc;
	border-radius: 5px;
	background-color: #ffffff;
}
.mailform .cont input,
.mailform .cont textarea {
	width: 100% !important;
}
.mailform .cont.submit input {
	/* width: 45% !important; */
	padding: 10px;
	border: 1px solid #3f070b;
	border-radius: 5px;
	background-color: #3f070b;
	color: #333;
	transition: all 0.5s;
}
.mailform .cont.submit input:hover {
	border: 1px solid #3f070b;
	background-color: #FFF;
	color: #3f070b;
}
.mailform .ttl span {
	color: #CC0000;
	margin-left: .25rem;
}
.mailform .ttl p {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
	color: #999999;
}
.mailform .cont textarea {
	width: 100%;
	height: 120px;
}

.txt-detail {
	text-align: center;
	border-top: 1px solid #CCC;
	margin-top: 20px;
	padding-top: 40px;
}

.wpcf7-spinner {
	margin-left: 10px !important;
	margin-right: 10px !important;
}
.box-form .wpcf7-list-item label input[type=checkbox],
.box-form .wpcf7-list-item label input[type=radio] {
	width: auto !important;
}
.box-form .wpcf7-list-item.first {
	margin-left: 0;
}

@media screen and (max-width: 768px) {
.mailform {
	padding: 20px;
}
.mailform .ttl {
	width: 100%;
	float: none;
}
.mailform .cont {
	padding: 7px 5px 7px 5px;
}
.mailform .item .submit{
	display: flex;
	justify-content: space-between;
	align-items: center;
	}
}