@charset "utf-8";
/* CSS Document */

.contact_form {
	margin-bottom: 60px;
}

label {
  display: block !important;
} 
/* Contactform - お問い合わせフォーム */
.wpcf7 { width: 100%; margin: 0 !important; padding: 0 3em; border: 0px none; background: #FFF; font-size: 1em; }

.wpcf7 form { margin: 0; }

.wpcf7 p { margin-bottom: 1.7em; font-size: 1em; }

.wpcf7 input, .wpcf7 textarea { -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; padding: 0.8em; border: 1px solid #ccc; line-height: 1.2; }

.wpcf7 select, .wpcf7 input[type=checkbox], .wpcf7 input[type=radio] { width: auto; max-width: 97%; padding: 8px; border: 1px solid #ccc; }

.wpcf7 select, .wpcf7 .wpcf7-list-item-label { font-size: 0.88em; line-height: 1.3em; }

.wpcf7 .wpcf7-list-item { display: block; }

.wpcf7 textarea { height: 300px; }

.wpcf7 input:focus, .wpcf7 textarea:focus { border: 1px solid #bbb; outline: none; }

.wpcf7 .wpcf7-submit { -webkit-transition: all .3s; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; position: relative; width: 300px; height: 60px; margin: 30px auto 0; border: none !important; outline: none; background-color: #333333; color: #fff; font-size: 1em; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: all .3s; }

.wpcf7 .wpcf7-submit:before, .wpcf7 .wpcf7-submit:after { -webkit-box-sizing: border-box; box-sizing: border-box; }

.wpcf7 .wpcf7-submit:hover { background-color: #666666; }

.wpcf7 .wpcf7-submit .wpcf7-not-valid { background: pink; }

.wpcf7 .wpcf7-submit .wpcf7-response-output { -webkit-border-radius: 4px; -moz-border-radius: 4px; margin: 10px 0 0; padding: 8px 35px 8px 14px; border-radius: 4px; }

.wpcf7 .wpcf7-submit .wpcf7-validation-errors { border: 1px solid #EED3D7; background-color: #F2DEDE; color: #B94A48; }

.wpcf7 .wpcf7-submit .wpcf7-mail-sent-ok { border: 1px solid #BCE8F1; background-color: #D9EDF7; color: #3A87AD; }

label span {
	color: #F00000;
	font-size: 0.85em;
}
.box1 {
	font-size: 1em;
}
.box1 span {
	font-weight: bold;
	display: inline-block;
	padding: 0.5em 0;
	margin-bottom: 0.25em;
	border-bottom: 1px solid #434343;
	border-top: 1px solid #434343;
	
}

.wpcf7-file {
	background-color: #fff;
	margin-bottom: 0.2em;
}

.container {
	max-width: 900px !important;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 768px){
.contact_form {
	margin-bottom: 30px !important;
}
}
@media screen and (max-width: 767px){
.contact_form {
	margin-bottom: 40px !important;
}
.wpcf7 { width: 100%; margin: 0 !important; padding: 0 1.2em !important; border: 0px none; background: #FFF; font-size: 1em; }
	
}


/*///////////// 郵便番号のフィールドの長さを調整 ///////////////*/
.wpcf7 input[name="your-post1"] {
	width: 8em!important;
	display: inline-block !important;
	vertical-align: middle;
}
	
.wpcf7 input[name="your-post2"] {
	width: 8em!important;
	display: inline-block !important;
	vertical-align: middle;	
}