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

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

#contact{
}

.inpage_box > div.rv_bt{
	margin-bottom: 40px;
	padding: 40px 0;
}


/** 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;
}
.hissu{
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -2px;
	width: 29px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	font-size: 10px;
	font-weight: normal;
	line-height: 15px;
	text-align: center;
	color: #fff;
	background: #ff0033;
	margin-left: 5px;
	border-radius: 2px;
}
.info_in h4 em{	font-size: 12px;}

.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,
.rv_bt .bt1{
	display: inline-block;
	vertical-align: top;
	width: 330px;
	margin: 0 5px;
}

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

.s1{	width		: 80px;}
.s2{	width		: 68px;}
.select{	width	: 170px;}

select{
	font-size: 16px;
	line-height: 20px;
	padding: 6px 20px 6px 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.select_bg{
	position: relative;
	display: inline-block;
}
.select_bg:before{
	content: '';
	display: inline-block;
	width: 20px;
	height: 32px;
	background: #999;
	border-radius: 0 3px 3px 0;
	position: absolute;
	top: 1px;
	right: 1px;
}
.select_bg:after{
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 4px 0 4px;
	border-color: #fff transparent transparent transparent;
	position: absolute;
	top: calc(50% - 4px);
	right: 7px;
}

.form textarea{
	width: 100%;
	height: 340px;
	padding			: 4px 7px;
	font-size		: 16px;
	line-height: 20px;
	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;}
	.inpage_box > div.rv_bt{
		margin-bottom: 10px !important;
		padding: 10px 0;
	}

	/** 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,
	.rv_bt .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: 260px;
	}
	.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;
	}
}