
#contact{
	background: #fff;
	padding: 50px 50px;
}

.ss_title{
	position: relative;
	text-align: left;
	max-width: 1000px;
	margin: 0 auto 40px auto;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.ss_title em{
	position: relative;
	display: block;
	font-size: 26px;
	line-height: 30px;
	margin-bottom: 5px;
}
.ss_title span{
	position: relative;
	display: block;
	font-size: 12px;
	line-height: 1;
	color: #999;
}

.con_title{
	position: relative;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	max-width: 1140px;
	height: 40px;
	font-size: 22px;
	line-height: 25px;
	text-align: center;
	color: #fff;
	background: #1a335b;
	margin: 0 auto 30px auto;
}


/** form **/

.contact_form{
	width: 600px;
	margin: 0 auto;
	padding: 0 0 10px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.cbox{
	margin: 0 0 30px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#comfirm .cbox{
	border-bottom: 1px dotted #ddd;
	margin-bottom: 17px;
	padding-bottom: 15px;
}

#contact.contact_check .cbox h4{ margin-bottom: 3px;}

.cbox h4,
.cbox > p{
	text-align: left;
}

.cbox h4{
	position: relative;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	margin: 0 0 10px 0;
}

.cbox h4 span{
	display: inline-block;
	vertical-align: top;
	font-size: 14px;
	line-height: 14px;
	position: absolute;
	top: 1px;
	left: 0;
}

.cbox h4 em.hissu{
	position: relative;
	bottom: -1px;
	display: inline-block;
	vertical-align: top;
	font-size: 10px;
	font-weight: normal;
	line-height: 18px;
	color: #fff;
	background: #ff0000;
	margin: 0 10px 0 0;
	padding: 0 5px;
	border-radius: 2px;
}

.cbox p{
	font-size: 14px;
	line-height: 22px;
}

.submit{	text-align: center;}
.submit p{
	display: inline-block;
	font-size: 11px;
	line-height: 18px;
	text-align: left;
	margin: 0 0 30px 0;
	padding: 10px 15px;
	border: 1px dotted #ddd;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.bt_bg{	text-align: center;}
.submit_bt{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 100%;
	max-width: 260px;
	height: 50px;
	font-size: 16px;
	font-weight: normal;
	line-height: 24px;
	color: #fff !important;
	background: #000d1e;
	border-radius: 3px;
	border: 2px solid #000d1e;
	cursor: pointer;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.submit_bt:hover{
	text-decoration: none;
	opacity: 0.7;
	filter: alpha(opacity=70);
}


.w1{	width		: 220px;}
.s1{	width		: 220px;}
.w2{	width		: 100%;}
.w3{	width		: 120px;}
.select{	width	: 170px;}
/*
.co_url_text{
	font-size: 14px;
	line-height: 20px;
	width: 50px;
	
}
*/
input[name="co_url"].w2{
	/*width: calc(100% - 50px);*/
	margin-top: 10px;
}

.contact_form textarea{
	width: 100%;
	height: 230px;
	padding			: 15px 10px;
	font-size		: 14px;
	font-family		: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
    vertical-align	: middle;
	border: none;
	background: #f1f1f1;
	border-radius	: 3px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="tel"]{
	padding			: 15px 10px;
	font-size		: 14px;
	font-family		: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	border: none;
	background: #f1f1f1;
	border-radius	: 3px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.contact_form input::placeholder,
.contact_form textarea::placeholder{	color: #999;}
.contact_form input:-ms-input-placeholder,
.contact_form textarea:-ms-input-placeholder{	color: #999;}
.contact_form input::-ms-input-placeholder,
.contact_form textarea::-ms-input-placeholder{	color: #999;}

.contact_form input[type="file"]{
	display: block;
	margin: 0 0 10px 0;
}
.contact_form input[type="file"]:last-of-type{	margin-bottom: 0;}

select{
	font-size: 14px;
	line-height: 20px;
	padding: 10px 20px 10px 10px;
	border: 1px solid #ccc;
	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: 40px;
	background: #ccc;
	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;
}

.contact_form textarea{
	width: 100%;
	height: 200px;
	padding: 10px;
	font-size		: 14px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	border: none;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.chk_bar{
	font-size: 0;
	line-height: 0;
}

.chk_bar li{
	display: inline-block;
	vertical-align: top;
	width: 120px;
	margin-right: 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.chk_bar li:last-of-type{	margin-right: 0;}

.chk_bar input[type="checkbox"],
.chk_bar input[type="radio"]{	display: none;}

.chk_bar input[type="checkbox"] + label,
.chk_bar input[type="radio"] + label{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	font-size: 14px;
	line-height: 16px;
	text-align: center;
	color: #333;
	background: #fff;
	border: none;
	cursor: pointer;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 0 3px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.chk_bar input[type="checkbox"]:checked + label,
.chk_bar input[type="radio"]:checked + label{
	color: #fff;
	background: #5bb82d;
	border-color: #5bb82d;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}

.error,
.over{
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 25px;
}
.over{	padding-bottom: 50px;}

.error span{
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	line-height: 30px;
	color: #ff0000;
	padding: 80px 0;
}
.over div{
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	line-height: 25px;
	padding: 80px 0 0 0;
}
.over div span{
	font-size: 34px;
	line-height: 1;
}
.over div em{
	display: block;
	margin-bottom: 30px;
}

.error_text{
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
    color: #ff0000;
    font-weight: bold;
}

.error_text:empty{ display: block;}

.error_block h4{
	color: #ff0000 !important;
	animation-name: indfade !important;
	animation-duration: 2.0s;
	animation-timing-function: ease-out;
	animation-delay: 0.0s;
	animation-iteration-count: infinite;
	animation-fill-mode: backwards;
}
@keyframes indfade {
	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 input[type="text"],
.error_block input[type="email"],
.error_block input[type="tel"],
.error_block textarea{
    border-color: #ff0000 !important;
    background: #fff5f5 !important;
}

.capt_bg{
	border-bottom: 1px dotted #ddd;
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
}

.capt{
	width: 280px;
	margin: 20px auto 0 auto;
	padding: 0 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;
	color: #a2893b;
}

.capt div input[type="text"]{
	width: 110px;
	padding: 7px;
	font-size		: 16px;
	line-height: 20px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	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 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.capt p em{	color: #ff0000;}


.submit_bt{	color: #fff;}



/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 750px) {
	#contact{	padding: 15px 0;}
	#contact .ss_title{	margin-bottom: 30px;}
	.con_title{
		font-size: 1.1rem;
		line-height: 2;
		padding: 0 10px;
		margin-bottom: 20px;
	}

	/** form **/
	.contact_form{
		width: calc(100% - 30px);
		margin: 0 auto 0 auto;
		padding: 0 0 10px 0;
	}
	.cbox{
		display: block;
	}
	.cbox h4,
	.cbox > p{
		display: block;
		width: auto;
		text-align: left;
	}
	.cbox h4{	margin-bottom: 5px; font-weight: bold;}
	.w1{	width: 100%;}
	.select_bg{	display: block;}
	.s1{	width: 100%;}
	.w3{	width: 85px;}
	.submit p{
		text-align: left;
		padding: 10px;
	}
	.submit p br.sp_none{	display: none;}

}