
/*=================================================
 * CSS for PC
 * ================================================= */

#cnt{
	display: block;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#contact{
}


/** form **/

.form{
	margin: 0 0 20px 0;
	padding: 20px;
	text-align: left;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-bottom-style: solid;
}

.form:last-of-type{	margin-bottom: 0;}

.form_in{
	border-width: 1px;
	border-style: solid;
	padding: 40px 20px 0 20px;
}

.info{
	display: table;
	width: calc(100% - 20px);
	font-size: 0;
	line-height: 0;
	padding: 0;
	table-layout: fixed;
	margin: 0 auto;
}

.info_in{
	display: table-cell;
	vertical-align: top;
	margin: 0 0 20px 0;
	padding: 0 10px 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.info_in p{
	font-size: 13px;
	line-height: 20px;
	padding: 10px 0 20px 0;
}

.form .bt_bg{
	text-align: center;
	margin: 0 20px;
	padding: 40px 0;
	border-top-width: 1px;
	border-top-style: dotted;
}
.form .error+.bt_bg,
.form .over+.bt_bg{
	padding: 0 0 40px 0;
	border-top: none;
}

.form .sub_p{
	font-size: 13px;
	line-height: 20px;
	text-align: center;
	padding: 0 0 40px 0;
}

.form .sub_p br{	display: none;}

.form .bt1{
	display: inline-block;
	vertical-align: top;
	width: 330px;
	margin: 0 5px;
}

.w1{	width		: 200px;}
.w2{	width		: 100%;}
.w3{	width		: 40px;}
.select{	width	: 170px;}

.form textarea{
	width: 100%;
	height: 230px;
	padding			: 4px 7px;
	font-size		: 16px;
	border-width: 1px;
	border-style: solid;
	border-radius	: 2px;
	-moz-border-radius	: 2px;
	-webkit-border-radius	: 2px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"]{
	padding			: 4px 7px;
	font-size		: 16px;
	border-width: 1px;
	border-style: solid;
	border-radius	: 2px;
	-moz-border-radius	: 2px;
	-webkit-border-radius	: 2px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.form input::placeholder,
.form textarea::placeholder{	color: #ccc;}
.form input:-ms-input-placeholder,
.form textarea:-ms-input-placeholder{	color: #ccc;}
.form input::-ms-input-placeholder,
.form textarea::-ms-input-placeholder{	color: #ccc;}

.error,
.over{
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 18px;
}
.over{	padding-bottom: 150px;}

.error span{
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	line-height: 30px;
	color: #ff0000;
	padding: 150px 0;
}
.over span{
	display: inline-block;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
	padding: 150px 0 0 0;
}

.error_text{
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
	color: #ff0000;
	font-weight: bold;
	margin: 0 0 40px 0;
}

.error_text:empty{
	display: none;
}

.error_block h4{
	color: #ff0000;
	animation-name: errorfade !important;
	animation-duration: 2.0s;
	animation-timing-function: ease-out;
	animation-delay: 0.0s;
	animation-iteration-count: infinite;
	animation-fill-mode: backwards;
}
@keyframes errorfade {
	0%{
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
	80% {
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
	85% {
		opacity: 0.3;
		filter: alpha(opacity=30);
	}
	90% {
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
	95% {
		opacity: 0.3;
		filter: alpha(opacity=30);
	}
	100%{
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
}

.error_block h4 + p input[type="text"],
.error_block h4 + p input[type="email"],
.error_block h4 + p input[type="tel"],
.error_block h4 + p textarea,
.error_block h4 + p select{
	border-color: #ff0000 !important;
	background-color: #fff3f3 !important;
}


.capt_bg{
	border-top-width: 1px;
	border-top-style: dotted;
	margin: 0 20px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.capt{
	width: 280px;
	border-width: 1px;
	border-style: solid;
	border-radius: 5px;
	margin: 20px auto;
	padding: 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.capt div{
	width: 100%;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: space-between;
	margin: 0 0 10px 0;
}

.capt div span{
	font-size: 34px;
	line-height: 40px;
}

.capt div input[type="text"]{
	width: 110px;
	padding			: 7px;
	font-size		: 16px;
	line-height: 20px;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.capt p{
	font-size: 11px;
	line-height: 16px;
	text-align: left;
	padding: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.capt p em{	color: #ff0000;}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {
	#cnt{	padding: 0 0 10px 0;}
	#contact{	width: auto;}

	/** form **/
	.form{
		margin: 0 0 10px 0;
		padding: 0;
		text-align: left;
		border-top: none;
		border-right: none;
		border-left: none;
	}
	.form_in{
		border: none;
		padding: 0;
	}

	/** info **/
	.info,
	.info_in{
		display: block;
		width: auto;
		margin: 0;
		padding: 0;
	}
	.info_in{	margin: 0;}
	.info_in p{
		font-size: 13px;
		line-height: 20px;
		margin: 0;
		padding: 10px;
	}
	.info_in p:last-of-type{	padding-bottom: 10px;}
	.form .bt_bg{
		width: auto;
		margin: 0;
		padding: 10px;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.form .error+.bt_bg,
	.form .over+.bt_bg{
		padding: 0 10px 10px 10px;
	}
	.form .bt1{
		display: block;
		margin: 0;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.form .sub_p{
		font-size: 12px;
		line-height: 18px;
		text-align: center;
		padding: 10px 0 20px 0;
	}
	.form .sub_p br{	display: inline;}
	.form textarea{
		height: 130px;
	}
	.error,
	.over{
		font-size: 13px;
		margin: 0;
		padding: 10px;
	}
	.over{	padding-bottom: 70px;}
	.error span{
		font-size: 16px;
		line-height: 24px;
		padding: 70px 0;
	}
	.over span{
		font-size: 18px;
		line-height: 20px;
		padding: 70px 0 10px 0;
	}
	.error_text{
		margin-bottom: 0px;
	}

	.capt_bg{
		margin: 0;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
}