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

body{
	background: url(/img/all/pc_bg.jpg) no-repeat top center #000 fixed;
	background-size: cover;
}

.topimg{
	font-size: 0;
	line-height: 0;
	text-align: center;
	margin: 0 0 50px 0;
}


/** contact **/

#contact{
	text-align: left;
	color: #fff;
	padding: 60px 0;
	background: url(../img/all/stone_bg.png) no-repeat top center;
	background-size: cover;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#contact h3{
	width: 1100px;
	margin: 0 auto 50px auto;
}



/** form **/

.form{
	width: 990px;
	margin: 0 auto;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.fbox{
	display: flex;
	align-items: flex-start;
	align-content: flex-start;
}
.fbox_in{
	width: 50%;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.fbox_in:nth-of-type(odd){	padding-right: 20px;}
.fbox_in:nth-of-type(even){	padding-left: 20px;}

.form ul{}

.form .tr{
	margin: 0 0 20px 0;
}

.form .th,
.form .td{
}

.form .th{	color: #c09475;}

.form .td{}

.form .th{
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 20px;
	text-align: left;
	line-height: 30px;
	margin: 0 0 10px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.form .th em{	display: none;}

.form .th p{
	position: relative;
}

.form .th span{
	display: inline-block;
	vertical-align: middle;
	width: 30px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	font-size: 10px;
	font-weight: normal;
	line-height: 16px;
	text-align: center;
	margin-left: 5px;
	color: #fff;
	border: 1px solid currentColor;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

.form .td{
	position: relative;
	font-size: 16px;
	line-height: 20px;
	text-align: left;
}
.form .td.txa{
	font-size: 0;
	line-height: 0;
}

.form .td .sub{	padding-top: 10px;}
.form .td .sub span{
	color: #ff0000;
}

.form .td textarea{
	width: 100%;
	height: 235px;
	font-size: 16px;
	line-height: 20px;
}

.form #submit{
	font-size: 0;
	line-height: 0;
	text-align: center;
	margin: 30px 0 0 0;
	padding: 40px 0 0 0;
	border-top: 1px dotted rgba(255,255,255,0.3);
}

#submit p{
	font-size: 16px;
	line-height: 20px;
	margin: 0 0 40px 0;
	padding: 0 0 0 0;
}

.form #submit .fade{
}
.form #submit br{	display: none;}

.form #submit input,
.form .bt{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 220px;
	height: 50px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 25px;
	color: #fff;
	background: none;
	-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;
	border: 1px solid currentColor;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.form #submit input:hover,
.form .bt:hover{
	text-decoration: none;
	color: #000;
	background: #fff;
}


/** form item **/

input[type="text"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"]
{
	background: #fff;
	padding: 10px;
	font-size		: 16px;
	line-height: 20px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	border			: 1px solid #ddd;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

input[type="radio"]{
	padding			:0;
	margin			:0;
}

.w1{	width: 300px;}
.w2{	width: 100%; max-width: 700px;}
.w3{	width: 50px;}
.s1{	width: 300px;}
.s2{	width: 180px;}
.s3{	width: 90px;}

select{
	font-size: 16px;
	line-height: 20px;
	padding: 10px 20px 10px 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: 30px;
	height: 40px;
	background: #666;
	border-radius: 0 2px 2px 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: 12px;
}

.form textarea{
	width: 100%;
	padding: 10px;
	font-size		: 16px;
	font-family: Meiryo,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
	background: #fff;
	border			: 1px solid #ddd;
	border-radius: 3px;
	-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{
	font-size: 20px;
	line-height: 30px;
	text-align: center;
	padding			: 40px 0 0 0;
}
.error span{
	color			: #ff0000;
}

.over{
	font-size: 20px;
	font-weight: bold;
	line-height: 30px;
	text-align: center;
	margin			: 0 0 0 0;
	padding			: 40px 0 0 0;
}
.error+.bt_bg,
.over+.bt_bg{
	text-align: center;
	padding: 30px 0 0 0;
}

.error_text{
	display: inline-block;
	font-weight: bold;
	font-size: 16px;
	line-height: 20px;
	color: #ff0000;
	margin: 0 0 30px 0;
}
#submit .error_text br{	display: inline;}

.error_text:empty{ display: block;}

.error_block .th{
	color: #ff0000 !important;
	animation-name: indfade;
	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 select,
.error_block textarea{
    border-color: #ff0000 !important;
    background: #fff5f5 !important;
}

.chk_bar{
	font-size: 0;
	line-height: 0;
}

.chk_bar li{
	display: inline-block;
	vertical-align: top;
}

.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-block;
	vertical-align: top;
	width: 150px;
	height: 38px;
	font-size: 14px;
	line-height: 38px;
	text-align: center;
	border-radius: 20px;
	color: #fff;
	border: 1px solid #ddd;
	cursor: pointer;
	margin-right: 10px;
	-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: #605348;
	border-color: #605348;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}


/** capt **/

.capt{
	width: 280px;
	border: 1px solid #222;
	background: #050505;
	border-radius: 5px;
	margin: 30px 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;
	color: #c09475;
}

.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;}



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

@media screen and (max-width: 650px) {
	body:before{
		background: url(/img/all/sp_bg.jpg) no-repeat top center;
		background-size: cover;
	}
	.page_title span{	font-size: 60px}

	/** contact **/
	#contact{
		padding: 20px 10px 30px 10px;
		background: url(../img/all/stone_bg.png) no-repeat top center;
		background-size: cover;
	}
	#contact h3{
		width: auto;
		margin: 0 0 20px 0;
	}


	/** form **/
	.form{
		width: auto;
		margin: 0;
		padding: 0 0 0 30px 0;
	}
	.fbox{
		display: block;
	}
	.fbox_in{
		width: auto;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.fbox_in:nth-of-type(odd){	padding-right: 0;}
	.fbox_in:nth-of-type(even){	padding-left: 0;}
	.form .tr{
		width: 100%;
		display: block;
		margin: 0 0 20px 0;
		padding: 0;
	}
	.form .th,
	.form .td{
		display: block;
		width: auto;
	}
	.form .th{
		font-size: 18px;
		text-align: left;
		line-height: 20px;
		margin: 0 0 5px 0;
		padding: 0;
	}
	.form .th p{	padding: 0;}
	.form .th em{	display: inline;}

	.form .td{
		position: relative;
		font-size: 13px;
		line-height: 18px;
		padding: 5px 0 0 0;
	}
	.form .th br{	display: none;}
	.form .td textarea{
		width: 100%;
		height: 200px;
		font-size: 13px;
		line-height: 18px;
	}
	.form #submit{
		font-size: 0;
		line-height: 0;
		text-align: center;
		margin: 10px 0 0 0;
		padding: 10px 0 0 0;
	}
	#submit p{
		font-size: 14px;
		line-height: 20px;
		margin: 0 0 20px 0;
		padding: 10px 0 0 0;
	}
	.form #submit br{	display: inline;}
	.form #submit input,
	.form .bt{
		width: 100%;
		max-width: 280px;
		font-size: 18px;
		line-height: 30px;
		padding: 10px 0;
		text-align: center;
		text-decoration: none;
		-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-appearance: none;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}

	/** form item **/

	input[type="text"],
	input[type="url"],
	input[type="email"],
	input[type="tel"],
	input[type="password"],
	input[type="number"]
	{
		font-size: 16px;
		line-height: 20px;
	}

	input[type="radio"]{
		padding			:0;
		margin			:0;
	}

	.w1{	width: 200px;}
	.w2{	width: 100%;}
	.w3{	width: 50px;}
	.s1{	width: 100%;}
	.select_bg.sel{		display: block;	}
	.sel, .sel select{	width: 100%;}
	.s2{	width: 100%;}
	.s3{	width: 70px;}

	.select_bg{
		width: auto;
		display: inline-block;
	}

	select{
		font-size: 16px;
		line-height: 20px;
	}
	form textarea{
		font-size: 16px;
		line-height: 20px;
	}

	.error{
		font-size: 18px;
		line-height		: 30px;
		padding			: 30px 0 10px 0;
	}
	.error span{
		color			: #ff0000;
	}

	.over{
		font-size: 18px;
		line-height		: 30px;
		text-align		: center;
		margin			: 0 0 50px 0;
		padding			: 50px 0 0 0;
	}
	.error+.bt_bg,
	.over+.bt_bg{
		text-align: center;
		padding: 20px 0 0 0;
	}
	.error_text{	margin-bottom: 10px;}



	.chk_bar{
		display: flex;
		font-size: 0;
		line-height: 0;
		justify-content: space-between;
	}
	.chk_bar li{	width: calc(50% - 5px);}
	.chk_bar input[type="checkbox"] + label,
	.chk_bar input[type="radio"] + label{	width: 100%;}

	.capt{	margin: 20px auto 0 auto;}

}

