@charset "utf-8";
/* CSS Document */

#contact #main{
	position: relative;
}

#contact #main .img{
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: -1;
}

#contact #main .img{
	background-image: url("../img/main.jpg");
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-height: 375px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

#contact h1 svg{
	fill:#fff;
}

#contact #main h2{
	font-size: 40px;
	color: #fff;
	padding: 60px 0 120px;
	max-width: 1000px;
	margin: 0 auto;
}


@media screen and (max-width: 798px){
	#contact #main h2{
		text-align: center;
	}
	#contact #main .img {
		width: 100%;
		height: 100%;
		background-position: center left -150px;
		background-size: cover;
	}
}

#contact #sec01 {
    padding: 73px 0;
}

#contact #sec01 .inner{
	max-width: 1000px;
	margin: 0 auto;
}

#contact #sec01 h3{
	font-size: 52px;
	margin: 0 auto 30px;
	color: #fff;
}

#contact #sec01 h3 span{
	font-size: 20px;
	padding-left: 30px;
}

#contact #sec01 p.rtxt{
	margin-bottom: 30px;
	color: #fff;
	display: flex;
	justify-content: right;
	align-items: center;
}

#contact #sec01 p.rtxt span,
#contact #sec01 form ul li .req{
	color: #ffe100;
}

#contact #sec01 form{
	max-width: 960px;
	margin: 0 auto;
}

#contact #sec01 form ul li{
	display: flex;
	padding: 15px 20px;
	border-bottom: solid 1px #5d5d5d;
	
}

#contact #sec01 form div.ttl{
	color: #fff;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	width: 30%;
	display: flex;
	align-items: center;
}

#contact #sec01 form ul li.detail .ttl{
	align-items: flex-start;
}

#contact #sec01 form div.txt{
	width: 70%;
}

#contact #sec01 form select,
#contact #sec01 form input,
#contact #sec01 form textarea{
	background: #000;
	border:solid 1px #fff;
	padding: 5px 10px;
	color: #fff;
	border-radius: 5px;
	font-size: 14px;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	width: 100%;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	-webkit-box-sizing:border-box; /* Chrome, Safari */
}

#contact #sec01 form ul li{
	width: 100%;
}

#contact #sec01 form ul li.kind select{
	max-width: 300px;
}

#contact #sec01 form #btn_submit{
	background: #ffe100;
	width: 100%;
	max-width: 290px;
	text-align: center;
	padding: 20px 0;
	font-size: 16px;
	font-weight: bold;
	position: relative;
	display: block;
	margin: 40px auto 0;
	color: #000;
}

#contact #sec01 form #btn_submit::after{
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	background: url("../../img/common/arrow_b.svg") no-repeat;
	background-size: contain;
	margin-right: 8px;
	position: absolute;
	top: 50%;
    right: 3%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

#contact #sec01 form #btn_submit:hover{
	background: #fff;
	opacity: 1;
	transition: 0.5s ;
}

#contact #sec01 .thanks_txt{
	padding: 0 20px;
	color: #fff;
}

#contact #sec01 .thanks_txt p{
	line-height: 1.8em;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

#contact #sec01 .thanks_txt p:first-child{
	margin-bottom: 20px;
}

#contact #myReCaptcha{
	margin: 30px auto 0;
}

@media (max-width: 798px) {
	#contact #sec01 .inner{
		padding: 0 20px;
	}
	#contact #sec01 form ul li{
		display: block;
		padding: 15px 0;
	}
	#contact #sec01 form ul li.kind select,
	#contact #sec01 form select, 
	#contact #sec01 form input, 
	#contact #sec01 form textarea{
		max-width: 100%;
	}
	#contact #sec01 form div.ttl,
	#contact #sec01 form div.txt{
		width: 100%;
	}
	
	#contact #sec01 .thanks_txt{
		padding: 0;
	}
	#contact #sec01 h3{
		font-size: 33px;
	}
	#contact #sec01 h3 span{
		display: block;
		padding: 0;
	}
}