@charset "utf-8";

/* 問合せページ
====================================================*/
div#contact{
	width:80%;
	max-width:550px;
	padding:30px 5%;
	margin:20px auto 60px auto;
	overflow:hidden;
	position:relative;
	background:#eee;
}
/* main：900px
====================================================*/
@media only screen and (max-width: 900px) {
	div#contact{
		margin:0 auto 60px auto;
	}
}
.wpcf7{
	overflow:hidden;
	color:#999;
}

.wpcf7 p{
	margin-bottom:15px;
	line-height:1.8;
}

span.red{
	color:#f00;
}
.wpcf7-text,
.wpcf7 input[type="email"]{
	color: #000;
	width: 100%;
	border:0;
	padding:10px 2%;
	font-size:16px;
	font-size:1.6rem;
	background:#fff;
	font-family:-apple-system,Verdana,'メイリオ',meiryo,'Hiragino Kaku Gothic ProN','游ゴシック Medium','Droid Sans Japanese',sans-serif;
}

.wpcf7 textarea{
	color: #000;
	width: 100%;
	padding:10px 2%;
	border:0;
	font-size:16px;
	font-size:1.6rem;
	background:#fff;
	font-family:-apple-system,Verdana,'メイリオ',meiryo,'Hiragino Kaku Gothic ProN','游ゴシック Medium','Droid Sans Japanese',sans-serif;
}
p#code{
	float:left;
	display:block;
}
span.captcha-1 span.wpcf7-not-valid-tip{
	display:block;
	position:absolute;
	bottom:22px;
	left:8%;
}
.wpcf7-captchar{
	width:74px;
	height:16px;
	padding:10px 5px;
	font-size:16px;
	font-size:1.6rem;
	border:0;
	color: #000;
	background:#fff;
}
p#submitBt{
	display:block;
	margin:0;
}
.wpcf7 .wpcf7-submit {
	width: -webkit-calc(100% - 90px);
	width: -moz-calc(100% - 90px);
	width: calc(100% - 90px);
	height:70px;
	padding: 10px 0;
	margin:22px 0 0 0;
	display: block;
	background: #000;
	color: #fff;
	border: 0;
	float:right;
	font-family:-apple-system,Verdana,'メイリオ',meiryo,'Hiragino Kaku Gothic ProN','游ゴシック Medium','Droid Sans Japanese',sans-serif;
	cursor:pointer;
}
span.red {color:#f00;}
/*Chrome背景色対策*/
input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px white inset;
}
/*記入不備*/
div#wrap{
	width:100%;
	height: -webkit-calc(100% - 120px);
	height: -moz-calc(100% - 120px);
	height: calc(100% - 120px);
	position:fixed;
	top:120px;
	left:0;
	display:table;
	background:rgba(0,0,0,0.8);
	cursor:pointer;
	z-index:9999;
}
@media only screen and (max-width: 780px) {
	div#wrap{
		height: -webkit-calc(100% - 70px);
		height: -moz-calc(100% - 70px);
		height: calc(100% - 70px);
		position:fixed;
		top:70px;
	}
}
.wpcf7 .wpcf7-validation-errors{
	width:100%;
	text-align:center;
	color:#fff;
	font-size:16px;
	font-size:1.6rem;
	font-family: 'Didact Gothic', sans-serif;
	display:table-cell;
	vertical-align:middle;
}
.wpcf7 .wpcf7-validation-errors:before{
	content:"ERROR";
	color:#f00;
	font-size:16px;
	font-size:1.6rem;
	display:block;
	margin-bottom:10px;
}
.wpcf7 .wpcf7-validation-errors:after{
	content:"×";
	white-space: pre ;
	position:absolute;
	top:0;
	right:30px;
	color:#fff;
	font-size:40px;
	font-size:4.0rem;
	font-family:-apple-system,Verdana,'メイリオ',meiryo,'Hiragino Kaku Gothic ProN','游ゴシック Medium','Droid Sans Japanese',sans-serif;
}

.wpcf7 .screen-reader-response{
	display:none;
}
.wpcf7 .wpcf7-not-valid-tip{
	color:#f00;
	display:block;
}
/*送信完了*/
div#wrapOK{
	width:100%;
	height: -webkit-calc(100% - 120px);
	height: -moz-calc(100% - 120px);
	height: calc(100% - 120px);
	position:fixed;
	top:120px;
	left:0;
	display:table;
	background:#fff;
	z-index:9999;
}
@media only screen and (max-width: 780px) {
	div#wrapOK{
		height: -webkit-calc(100% - 70px);
		height: -moz-calc(100% - 70px);
		height: calc(100% - 70px);
		position:fixed;
		top:70px;
	}
}
.wpcf7 .wpcf7-mail-sent-ok{
	width:100%;
	text-align:center;
	color:#000;
	font-size:16px;
	font-size:1.6rem;
	font-family: 'Didact Gothic', sans-serif;
	display:table-cell;
	vertical-align:middle;
}
div#backHome{
	width:100px;
	padding:10px 0;
	margin:20px auto 0 auto;
	background:#000;
	color:#fff;
	font-size:12px;
	font-size:1.2rem;
	display:block;
	cursor:pointer;
}
