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

/*==============================
contact設定
==============================*/

#contact,
#complete{
	width: 100%;
	position: relative;
}

#complete{
	height: 100dvh;
}

#contact::after,
#complete::after{
	content: "";
	display: block;
	width: 438px;
	height: 724px;
	background: url(../img/common/bg_flowertheme.svg) no-repeat center center / cover ;
	position: absolute;
	top: 150px;
	left: -150px;
	z-index: -2;
}

#contact .inner,
#complete .inner{
	margin: 0 auto;
	padding: 140px 0 260px;
	width: 600px;
}

#contact h2,
#complete h2{
	color: #323232;
	font-family: "Roboto", sans-serif;
	font-size: 4rem;
	font-weight: 300;
	text-align: center;
	width: 100%;
	position: relative;
	z-index: 0;
}

#contact h2::after,
#complete h2::after{
	display: block;
	width: 100%;
	color: #323232;
	font-size: 1.2rem;
	font-weight: 100;
	text-align: center;
	position: absolute;
	bottom: -20px;
}

#contact h2::after{
	content: "お問い合わせ";
}

#complete h2::after{
	content: "メール送信完了";
}

#contact p,
#complete p{
	margin: 70px auto 0;
	color: #323232;
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 24px;
	text-align: center;
}

#contact form{
	margin: 70px auto 0;
	width: 100%;
}

#contact table{
	width: 100%;
}

#contact table tr{
	display: block;
	margin: 0 0 30px 0;
}

#contact table th{
	width: 200px;
	color: #323232;
	font-size: 1.4rem;
	font-weight: 300;
	text-align: left;
}

#contact table tr:nth-of-type(4) th{
	vertical-align: top;
}

#contact table th::before{
	content: "■";
}

#contact table tr:last-of-type th::before{
	content: "";
}

#contact table th span{
	margin: 0 0 0 5px;
	padding: 2px 5px;
	color: #FFF;
	font-size: 1.3rem;
	background: #B1CDD9;
	border-radius: 5px;
}

#contact table td{
	width: 400px;
	color: #323232;
	font-size: 1.4rem;
	font-weight: 300;
	text-align: justify;
}

#contact table td input,
#contact table td textarea{
	padding: 0 0 0 5px;
	width: 100%;
	color: #303030;
	font-size: 1.4rem;
	font-weight: 300;
	text-align: justify;
	border-radius: 5px;
	border: 1px solid #323232;
}

#contact table td input{
	height: 30px;
}

#contact table td textarea{
	height: 230px;
}

#contact table td input::placeholder,
#contact table td textarea::placeholder{
	color: #C8C8C8;
	font-size: 1.4rem;
	font-weight: 300;
}

#contact .sendBtn{
	margin: 20px 0 0 0;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}

#contact .sendBtn li{
	margin: 0 30px 0 0;
	width: 140px;
	height: 35px;
}

#contact .sendBtn li input{
	width: 100%;
	height: 100%;
	font-size: 1.3rem;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: 0.3s;
}

#contact .sendBtn li:first-of-type input{
	color: #FFF;
	background: #B1CDD9;
	border: 0;
}

#contact .sendBtn li:nth-of-type(2) input{
	color: #323232;
	background: #FFF;
	border: 1px solid #323232;
}

#contact .sendBtn li input.active{
	color: #FFF;
	background: #323232;
	transition: 0.5s;
}

.toTop{
	margin: 0 auto;
	width: 140px;
	height: 35px;
}

.toTop a{
	display: block;
	width: 100%;
	height: 100%;
	color: #323232;
	font-size: 1.4rem;
	line-height: 30px;
	background: #FFF;
	border: 1px solid #323232;
	border-radius: 5px;
}

.toTop a.active{
	color: #FFF;
	background: #323232;
}

/*768px以下の場合*/
@media screen and (max-width:768px){

	#contact h2,
	#complete h2{
		font-size: 3rem;
	}
}

/*600px以下の場合*/
@media screen and (max-width:600px){

	#contact .inner,
	#complete .inner{
		padding: 60px 0 100px;
		width: 100%;
	}

	#contact h2,
	#complete h2{
		font-size: 2.6rem;
	}

	#contact p,
	#complete p.desc{
		margin: 60px auto 0;
		width: calc(100% - 60px);
	}


	#contact form{
		margin: 50px auto 0;
		width: calc(100% - 60px);
	}

	#contact table th,
	#contact table td{
		display: block;
		width: 100%;
	}

	#contact table th{
		margin: 0 0 20px 0;
	}

	#contact .sendBtn{
		margin: 20px auto 0;
		width: 340px;
	}


}




























