/* =============================================================
   contact.css
 ============================================================ */

/* KV */
.kv_wrap {
	background: #e1d7a8;
}
.kv_img {
	position: relative;
}
.kv_txt {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.kv_catch {
	font-size: 14px;
	padding: 10px 0;
	line-height: 1.5;
}
.img-responsive100 {
    width: 100%;
}

section {
	padding-bottom: 50px;
}
section h2 {
	background: url(../img/ttl_bg.jpg) center center repeat-x;
	height: 66px;
}
section h2 span {
	display: block;
	max-width: 1000px;
	margin: 0 auto;
}

#mail_form {
	width:960px;
	margin:50px auto;
	padding:10px 0;
	background:#ffffff;
	border:1px solid #cccccc;
	border-radius:7px;
	box-shadow:0 0 7px rgba(0,0,0,0.2);
}
#mail_form .mwform-zip-field input[type=text]:first-child {
	margin-left:.5em;
}
#mail_form dl dt .must {
	display:inline;
	color:#f00;
	margin-left:.5em;
}
#mail_form input[type=radio] {
	vertical-align:0px;
}
#mail_form input[type=text].age {
	width:4em;margin-right:.5em;
}
#mail_form dl {
	width:90%;
	margin:0 auto;
	overflow:hidden;
}
#mail_form dl dt {
	clear:both;
	width:30%;
	float:left;
	border-top:1px solid #cccccc;
	padding:15px 0;
	text-align:right;
	overflow:hidden;
	font-size: 18px;
    text-align: left;
}
#mail_form dl dd {
	width:65%;
	float:right;
	border-top:1px solid #cccccc;
	padding:15px 0 15px 5%;
}
#mail_form dl dt:first-child,
#mail_form dl dt:first-child+dd {
	border:none;
	line-height: 24px;
}
#mail_form dl dt span {
    display: block;
    font-size: 85%;
    color: #ff3333;
    font-weight: bold;
    font-size: 14px;
}
#mail_form dl dt span.required,#mail_form dl dt span.optional {
	display:inline-block;
	float:left;
	color:#ffffff;
	line-height:1;
	padding:8px 9px;
	border-radius:3px;
}
#mail_form dl dt span.required {
	background:#d9534f;
	border:1px solid #d43f3a;
}
#mail_form dl dt span.optional {
	background:#337ab7;
	border:1px solid #2e6da4;
}
#mail_form dl dd span.error_blank,#mail_form dl dd span.error_format,#mail_form dl dd span.error_match {
	display:block;
	color:#ff0000;
	margin-top:3px;
}
@-webkit-keyframes load-circle {
	0% {
		-webkit-transform:rotate(0deg);
		transform:rotate(0deg);
	}
	100% {-webkit-transform:rotate(360deg);
	transform:rotate(360deg);
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform:rotate(0deg);
		transform:rotate(0deg);
	}
	100% {
		-webkit-transform:rotate(360deg);
		transform:rotate(360deg);
		}
}
#mail_form input[type="text"],
#mail_form input[type="email"],
#mail_form input[type="tel"] {
	max-width:90%;
	height:2em;
	padding:2px 2%;
	border:1px solid #cccccc;
	border-radius:3px;
	background:#fafafa;
	-webkit-appearance:none;
	font-size:100%;
	font-family:inherit;
}
#mail_form input[type="text"]:focus,
#mail_form input[type="email"]:focus,
#mail_form input[type="tel"]:focus,
#mail_form textarea:focus {
	box-shadow:0px 0px 5px #55ccff;
	border:1px solid #55ccff;
	background:#ffffff;
}
#mail_form ul li input[type="radio"],
#mail_form ul li input[type="checkbox"] {
	margin-right:10px;
	margin-top:7px;
}
#mail_form ul li:first-child input[type="radio"],
#mail_form ul li:first-child input[type="checkbox"] {
	margin-top:0px;
}
#mail_form select {
	font-size:100%;
	font-family:inherit;
	margin-top:10px;
}
#mail_form textarea {
	display:block;
	width:90%;max-width:90%;
	height:200px;
	padding:2px 2%;
	resize:vertical;
	border:1px solid #cccccc;
	border-radius:3px;
	background:#fafafa;
	-webkit-appearance:none;
	font-size:100%;
	font-family:inherit;
}
#mail_form ul {
	list-style-type:none;
}
#mail_form ul li label:hover {
	cursor:pointer;
}
#mail_form input[type='submit'] {
	padding:9px 15px;
	vertical-align:middle;
	line-height:1;
	background:#5cb85c;
	border:1px solid #4cae4c;
	border-radius:3px;
	color:#ffffff;
	font-family:inherit;
	-webkit-appearance:none;
	font-size:100%;
    width: 100px;
    display: block;
    margin: 0 auto;
    text-align: center;
}
#mail_form input[type='submit']:hover {
	cursor:pointer;
	background:#449d44;
	border:1px solid #398439;
}

.wpcf7-radio .wpcf7-list-item {
margin-top:0px;
display: block;
}
.p-postal-code {
margin:0 5px;
}
.wpcf7-validates-as-number {
border: 1px solid #cccccc;
border-radius: 3px;
background: #fafafa;
margin-right: 10px;
}

@media (max-width: 768px) {
	.kv_txt {
		max-width:160px;
	}
	.kv_catch {
		padding:15px 0;
		font-size:12px;
	}
	main {
		margin-top: 44px;
	}
	#mail_form {
		width: 96%;
        margin-top: 40px;
	}
	#mail_form dl {
		overflow:visible;
	}
	#mail_form dl dt {
		width:auto;
		float:none;
		text-align:left;
		padding:10px 0 5px;
		font-weight:bold;
		font-size: 16px;
	}
	#mail_form dl dd {
		width:auto;
		float:none;
		border-top:none;
		padding:0px 0 13px 0px;
		font-size: 16px;
	}
	#mail_form dl dt span {
		font-weight:normal;
	}
    #mail_form textarea {
        width: 100%;
        max-width: 100%;
    }
    #mail_form input[type="text"], #mail_form input[type="email"], #mail_form input[type="tel"] {
        width: 100%;
        max-width: 100%;
    }
	section h2 {
		background-image:none;
		padding:10px 10px;
        height: 0;
	}
	section h2 img {
		width:100%;
		margin-top: 0px;
	}
    #mail_form .post_number input[type="text"]{
        width: 35%;
    }
}


#kiyaku {
  width: 90%;
  background-color: #f7f7f7;
  margin: 20px auto;
  padding: 18px;
  text-align: center;
  border: #cccccc 1px solid;
}
#contact_container #kiyaku_title {
  padding: 0;
}

/* モーダル */
/*モーダルを開くボタン*/
.modal-open {
  width: 100%;
  text-align: center;
  font-size: 13px;
  margin: 10px auto 0px;
  padding: 10px;
  background: rgb(255, 255, 255);
  text-decoration: underline;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(153, 153, 153);
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active {
  opacity: 1;
  visibility: visible;
}
/*モーダル枠の指定*/
.modal-body {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 95%;
  max-width: 960px;
  margin: 0 auto;
  background-color: #FFF;
  text-align: left;
}
.modal-body dl {
  padding: 10px;
}
.modal-body dt {
  margin: 0 0 10px;
}
.modal-body dd {
  margin: 0 0 18px;
  line-height: 1.5;
}
/*モーダルを閉じるボタンの指定*/
.modal-close {
  width: 110px;
  margin: 0 auto 15px;
  cursor: pointer;
}
.modal-body h2 {
  color: #FFF;
  padding: 15px 0;
  text-align: center;
}
#policy {
	text-align: center;
	padding: 20px 0;
}
.mfp_buttons {
	text-align: center;
	padding: 10px 0;
}
#contact_container #contact_thanks {
	padding: 50px 0;
	text-align: center;
	line-height: 1.5;
}
.privacy_terms {
	text-align: center;
    padding: 3%;
}

@media (max-width: 768px) {
    #kiyaku {
        width: 100%;
        border: none;
    }
    #policy {
        text-align: center;
        padding:0;
    }
}