/* mail start */
.contact-mail .inner{
	box-sizing: border-box;
	padding: 60px 10px;
	position: relative;
	background-image: url("../img/common/other/img_bg_01.jpg");
	background-size: cover;
	overflow: hidden;
}
.contact-mail .inner::before {
	content: "";
	display: block;
	width: calc( 100% - 20px);
	height: 51px;
	background-image: url(../img/common/other/img_waku_upper.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position-y: top;
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
}
.contact-mail .wrapper{
	padding: 40px 100px 0;
	position: relative;
	background-image: url(../img/experience/img_waku_side.png);
	background-size: contain;
	background-repeat: repeat-y;
}
.contact-mail .inner::after {
	content: "";
	display: block;
	width: calc( 100% - 20px);
	height: 51px;
	background-image: url(../img/common/other/img_waku_bottom.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position-y: bottom;
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}
.contact-mail-text{
	margin-bottom: 50px;
}
.contact-mail-text p{
	line-height: 2;
	text-align: center;
}
.contact-mail-text p:first-of-type{
	font-size: 2.2rem;
	font-weight: bold;
}
.contact-mail-text p span{
	display: block;
	font-size: 2rem;
	font-weight: bold;
}
.contact-mail .form table{
	width: 100%;
	margin: 0 auto;
}
.contact-mail .form th{
	width: 30%;
	font-weight: bold;
	padding: 0 20px 0 0;
	text-align: left;
	vertical-align: middle;
	position: relative;
}
.contact-mail .form th label,
.contact-mail .form th p{
	font-weight: bold;
}
.contact-mail .form th span{
	font-size: 1.4rem;
	font-weight: bold;
	color: white;
	margin-left: 20px;
	padding: 3px 5px;
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	line-height: 1;
	background-color: #577ca2;
}
.contact-mail .form td{
	width: 70%;
	padding: 25px 0 25px 50px;
	text-align: left;
}
.contact-mail form .radio-theme{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.contact-mail form .radio-theme .wpcf7-list-item{
	margin-left: 0;
	margin-right: 50px;
}
.contact-mail form .radio-theme input{
	width: 16px!important;
	height: 16px!important;
	position: relative;
	top: 2px;
}
#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{
	width: 100%;
	height: 50px;
	padding-left: 15px;
	box-sizing: border-box;
	font-size: 1.6rem;
	background-color: white;
	border-radius: 5px;
	border: solid 2px #E2E2E2;
}
#contact textarea{
	width: 100%;
	height: 200px;
	padding: 10px;
	box-sizing: border-box;
	font-size: 1.6rem;
	background-color: white;
	border: solid 2px #E2E2E2;
	border-radius: 5px;
}
.contact-mail .acceptance-policy{
	text-align: center;
	margin-top: 20px;
}
.contact-mail .acceptance-policy a{
	display: inline-block;
	font-weight: bold;
	color: #577ca2;
	line-height: 1;
	border-bottom: solid 1px #577ca2;
	padding-bottom: 2px;
	margin-top: 10px;
	transition: 0.3s;
}
.contact-mail .acceptance-policy a:hover{
	opacity: 0.7;
}
.espf-b-confirm{
	width: 150px;
	color: #222222;
}
.espf-b-back{
	height: 50px;
	margin-bottom: 30px;
}
.espf-b-submit{
	height: 50px;
}
.wpcf7-form-control.wpcf7-submit{
	display: block;
	font-family: "\6E38\660E\671D\4F53","Yu Mincho",YuMincho,"\30D2\30E9\30AE\30CE\660E\671D Pro","Hiragino Mincho Pro","MS P\660E\671D","MS PMincho",serif;
	width: 450px;
	height: 60px;
	margin: 60px auto 0;
	background-color: #577ca2;
	color: white;
	border: none;
	font-size: 1.8rem;
	font-weight: bold;
	letter-spacing: 0;
	transition: 0.5s;
	border-radius: 5px;
}
.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;
}
.wpcf7-spinner{
	display: block;
}
/* mail end */



@media screen and (max-width:767px){

	body{
		font-size: 1.4rem;
	}
	.inner{
		box-sizing: border-box;
		max-width: 100%;
		padding: 0 20px;
		margin: 0 auto;
	}
	img{
		width: 100%;
		height: auto;
	}
	.pcOnly{
		display: none;
	}
	.spOnly{
		display: block;
	}

	/* mail start */
	.section.contact-mail{
		padding: 15px;
	}
	.contact-mail .inner{
		box-sizing: border-box;
		padding: 40px 10px;
		position: relative;
		background-image: url("../img/common/other/img_bg_01.jpg");
		background-size: cover;
		overflow: hidden;
	}
	.contact-mail .inner::before {
		content: "";
		display: block;
		width: calc( 100% - 20px);
		height: 35px;
		background-image: url(../img/common/other/img_waku_upper_sp.png);
		background-size: 100% auto;
		background-repeat: no-repeat;
		background-position-y: top;
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
	}
	.contact-mail .inner::after {
		content: "";
		display: block;
		width: calc( 100% - 20px);
		height: 35px;
		background-image: url(../img/common/other/img_waku_bottom_sp.png);
		background-size: 100% auto;
		background-repeat: no-repeat;
		background-position-y: bottom;
		position: absolute;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
	}
	.contact-mail .wrapper{
		padding: 0 15px;
		background-size: 100% auto;
		background-image: none;
		background-repeat: repeat-y;
		position: relative;
	}
	.contact-mail .wrapper::before {
		content: "";
		display: block;
		width: 2px;
		height: 100%;
		background-image: url(../img/common/other/img_waku_side_left_sp.png);
		background-size: 100% auto;
		background-repeat: repeat-y;
		position: absolute;
		top: -3px;
		left: 1px;
		transform: translateX(-50%);
	}
	.contact-mail .wrapper::after {
		content: "";
		display: block;
		width: 2px;
		height: 100%;
		background-image: url(../img/common/other/img_waku_side_right_sp.png);
		background-size: 100% auto;
		background-repeat: repeat-y;
		position: absolute;
		top: -3px;
		right: -1px;
		transform: translateX(-50%);
	}
	.contact-mail-text{
		margin-bottom: 50px;
	}
	.contact-mail-text p{
		line-height: 1.7;
		text-align: center;
		margin-bottom: 15px;
	}
	.contact-mail-text p:first-of-type{
		font-size: 1.6rem;
		font-weight: bold;
	}
	.contact-mail-text p span{
		display: block;
		font-size: 1.8rem;
		font-weight: bold;
		line-height: 1.5;
		margin-bottom: 15px;
	}
	.contact-mail .form table{
		width: 100%;
		margin: 0 auto;
	}
	.contact-mail .form th{
		box-sizing: border-box;
		display: block;
		width: 100%;
		font-weight: bold;
		padding: 0;
		text-align: left;
		vertical-align: middle;
		position: relative;
	}
	.contact-mail .form th label,
	.contact-mail .form th p{
		font-weight: bold;
	}
	.contact-mail .form th span{
		font-size: 1.2rem;
		font-weight: bold;
		color: white;
		margin-left: 20px;
		padding: 3px 5px;
		position: absolute;
		top: 50%;
		right: auto;
		transform: translateY(-50%);
		line-height: 1;
		background-color: #577ca2;
	}
	.contact-mail .form td{
		box-sizing: border-box;
		display: block;
		width: 100%;
		padding: 10px 0 30px;
		text-align: left;
	}
	.contact-mail .form .wpcf7-list-item{
		display: block;
		margin: 0 0 0 0;
	}
	#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{
		width: 100%;
		height: 50px;
		border: solid 2px #e2e2e2;
		padding-left: 15px;
		box-sizing: border-box;
		font-size: 1.4rem;
		background-color: white;
		border-radius: 5px;
	}
	.contact-mail form .radio-theme {
		display: block;
		justify-content: flex-start;
		align-items: center;
	}
	.contact-mail form .radio-theme .wpcf7-list-item{
		margin-bottom: 5px;
	}
	#contact textarea{
		width: 100%;
		height: 200px;
		border: solid 2px #e2e2e2;
		padding: 10px;
		box-sizing: border-box;
		font-size: 1.6rem;
		background-color: white;
		border-radius: 5px;
	}
	.contact-mail .acceptance-policy{
		margin-top: 0;
	}
	.contact-mail .acceptance-policy a{
		margin-top: 0;
	}
	.espf-b-confirm{
		width: 150px;
		color: #222222;
	}
	.espf-b-back{
		height: 50px;
		margin-bottom: 30px;
	}
	.espf-b-submit{
		height: 50px;
	}
	.wpcf7-form-control.wpcf7-submit{
		font-family: "\6E38\660E\671D\4F53","Yu Mincho",YuMincho,"\30D2\30E9\30AE\30CE\660E\671D Pro","Hiragino Mincho Pro","MS P\660E\671D","MS PMincho",serif;
		width: 90%;
		height: 50px;
		margin: 40px auto 0;
		background-color: #577ca2;
		color: white;
		border: none;
		font-size: 1.6rem;
		font-weight: bold;
		letter-spacing: 0;
		transition: 0.5s;
		border-radius: 5px;
	}
	.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;
	}
	.wpcf7-spinner{
		display: block;
	}
	/* mail end */

}

