#contact .pageHeader p {
	font-size: 9rem;
}

.contact{
	padding: 150px 0 100px;
}
.contact .inner{
	max-width: 1000px;
}
.contact.business{
	border-bottom: solid 1px #DEDEDE;
}
.contact .secHeader{
	margin-bottom: 100px;
}
.contact .secHeader .wrapper{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.contact .secHeader .text h2{
	font-weight: bold;
	margin-bottom: 30px;
}
.contact .secHeader .text p{
	font-size: 1.8rem;
}
.contact .tel div{
	background-color: #171D61;
	padding: 15px 30px;
	border-radius: 10px;
}
.contact .tel .message{
	color: white;
	margin-bottom: 8px;
	text-align: center;
	letter-spacing: 2px;
}
.contact .tel .number{
	font-size: 2.5rem;
	color: white;
	line-height: 1.2;
	letter-spacing: 3px;
}
.contact .tel .number span{
	display: inline-block;
	font-size: 1.6rem;
	color: white;
	margin-right: 5px;
}
.form table{
	width: 100%;
	margin: 0 auto;
}
.form th{
	width: 30%;
	font-size: 1.8rem;
	font-weight: bold;
	text-align: left;
	position: relative;
}
.form table tr:last-of-type th{
	vertical-align: middle;
}
.form th label{
	font-weight: bold;
}
.form th span{
	background-color: #AE1E25;
	font-size: 1.4rem;
	font-weight: bold;
	color: white;
	padding: 4px 5px 4px 7px;
	position: absolute;
	right: 0;
}
.form td{
	width: 70%;
	padding: 10px 0 10px 50px;
	text-align: left;
}
.contact.recruit .form tr:first-of-type td{
	padding-bottom: 30px;
}
.form td input{
	width: 100%;
	height: 70px;
	padding-left: 15px;
	box-sizing: border-box;
	font-size: 1.6rem;
	border: solid 2px #dedede;
	border-radius: 10px;
}
.form .contact-type input{
	width: 15px;
	height: 15px;
	position: relative;
	top: 2px;
}
#contact .wpcf7-list-item{
	display: block;
	margin: 0 0 10px 0;
}
#contact .wpcf7-list-item:last-of-type{
	margin-bottom: 0;
}
#contact tr:first-of-type input,
#contact tr:nth-of-type(2) input,
#contact tr:nth-of-type(3) input,
#contact tr:nth-of-type(4) input,
#contact tr:nth-of-type(5) input,
#contact tr:nth-of-type(6) input{
	
}
#contact textarea{
	width: 100%;
	height: 150px;
	border: solid 2px #dedede;
	border-radius: 10px;
	padding: 10px 15px;
	box-sizing: border-box;
	font-size: 1.6rem;
	font-family: Noto Sans CJK JP, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", HelveticaNeue, "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Sogoe UI", Verdana, "メイリオ", Meiryo, sans-serif;
}
.espf-b-confirm{
	width: 150px;
	color: #222222;
}
.espf-b-back{
	height: 50px;
	margin-bottom: 30px;
}
.espf-b-submit{
	height: 50px;
}
form{
	text-align: center;
}
.wpcf7-form-control.wpcf7-submit{
	width: 300px;
	height: 80px;
	margin: 90px auto 0;
	background-color: #222222;
	color: #fff;
	border: none;
	font-size: 1.8rem;
	letter-spacing: 3px;
	transition: 0.5s;
	border-radius: 7px;
	font-weight: bold;
}
.wpcf7-form-control.wpcf7-submit:hover{
	opacity: 0.8;
	cursor: pointer;
}
.wpcf7 form.sent .wpcf7-response-output{
	margin-top: 70px;
	text-align: center;
	padding: 15px;
}
.form tr:nth-of-type(6) th p{
	font-weight: bold;
}
.form tr th p{
	text-align: left;
	line-height: 1;
}
.wpcf7-spinner{
	display: block;
}




@media screen and (max-width:767px){
	
	
	
	#contact .pageHeader p {
		font-size: 4rem;
	}

	.contact{
		padding: 70px 0 30px;
	}
	.contact .inner{
		max-width: 100%;
	}
	.contact .secHeader{
		margin-bottom: 60px;
	}
	.contact .secHeader .wrapper{
		display: block;
	}
	.contact .secHeader .text h2{
		font-size: 2rem;
		text-align: left;
		margin-bottom: 15px;
	}
	.contact .secHeader .text p{
		font-size: 1.5rem;
	}
	.contact .tel div.spOnly{
		margin-top: 30px;
		background-color: #fff;
		border: solid 2px #171D61;
		padding: 15px 20px;
	}
	.contact .tel .message{
		color: #111111;
	}
	.contact .tel div a{
		color: white;
		background-color: #171D61;
		text-align: center;
		padding: 10px 0;
		border-radius: 5px;
	}
	.form tr th p {
    position: relative;
	}
	.form th{
		display: block;
		width: 100%;
		font-size: 1.4rem;
		margin-bottom: 0;
	}
	.form th span {
    font-size: 1rem;
    padding: 4px 5px 4px 7px;
		position: absolute;
		top: -2px;
		right: 0;
	}
	.form td{
		display: block;
		width: 100%;
		font-size: 1.5rem;
		padding: 10px 0 30px;
	}
	.form td input{
		height: 50px;
		border-radius: 7px;
	}
	.wpcf7-form-control.wpcf7-submit{
		width: 250px;
    height: 60px;
		margin-top: 20px;
	}
	.form .contact-type input{
		margin-left: 0;
	}
	.form .contact-type .wpcf7-list-item {
    margin: 0 0 5px 0!important;
}

	
}