@charset "UTF-8";

#key-visual{
	background: url(../images/contact-key-visual.jpg) no-repeat;
	background-position: center center;
	background-size: cover;
}
main th{
	text-align: left;
	vertical-align: top;
	position: relative;
	padding: 25px 20px 25px 0;
	width: 25%;
}
main th:after{
	content: "";
	display: block;
	width: 1px;
	height: calc(100% - 30px);
	background: #ddd;
	position: absolute;
	right: 0;
	top: 15px;
}
main table{
	border-top: 1px solid #ddd;
}
main tr{
	border-bottom: 1px solid #ddd;
}
main td{
	padding: 25px 0 25px 20px;
	width: 75%;
}
.required{
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background: #d52727;
	font-size: 1.1rem;
	padding: 5px 7px;
	line-height: 1;
	float: right;
	//margin: -.5em 0 0;
	letter-spacing: .2em;
}
input[type='text'],
input[type='tel'],
input[type='email']{
	width: 100%;
	background: #fff;
	height: 50px;
	display: flex;
	align-items: center;
	padding: .5em;
	border: 1px solid #eee;
	background: #fafafa;
}
select{
	display: block;
	width: 272px;
	height: 50px;
	background: #fff;
	font-family: 'Noto Sans JP', 游ゴシック, YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",  sans-serif;
	padding: .5em;
	background-image: url(../images/select-bg.svg);
	background-repeat: no-repeat;
	background-position: right .5em center;
	background-size: 10px auto;
	border: 1px solid #eee;
	background-color: #fafafa;
}
textarea{
	width: 100%;
	background: #fff;
	font-family: 'Noto Sans JP', 游ゴシック, YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",  sans-serif;
	font-size: 1.5rem;
	line-height: 1.7;
	color: #343436;
	padding: .5em;
	height: 250px;
	resize: none;
	border: 1px solid #eee;
	background: #fafafa;
}
input{
	font-family: 'Noto Sans JP', 游ゴシック, YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",  sans-serif;
	font-size: 1.5rem;
	color: #343436;
}
.zip-area{
	display: flex;
	align-items: center;
}
.pref-area,
.address-area{
	margin-top: 20px;
}
#zip{
	width: 250px;
	margin-left: .5em;
}
form p{
	text-align: center;
	font-weight: 600;
	margin: 50px 0;
}
form p a{
	text-decoration: underline;
	margin-right: .4em;
}
form p a:hover{
	text-decoration: none;
}
input.btn02{
	display: flex;
	background: #393e90;
	border: 1px solid #393e90;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-family: 'Noto Sans JP', 游ゴシック, YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",  sans-serif;
	font-size: 1.5rem;
	width: 300px;
	height: 50px;
	margin: 0 auto;
	font-weight: 500;
	letter-spacing: .1em;
	cursor: pointer;
	transition: .3s all ease;
	color: #fff;
}
input.btn02:hover{
	color: #393e90;
	background: transparent;
}


@media screen and (max-width: 768px){
	table,
	tbody,
	tr,
	th,
	td{
		display: block !important;
		width: 100% !important;
	}
	main th{
		padding: 20px 0 15px;
	}
	main th:after{
		display: none;
	}
	main td{
		padding: 0 0 20px;
	}
	.required{
		font-size: 1rem;
		padding: .4rem .5rem;
	}
	input[type='text'],
	input[type='tel'],
	input[type='email']{
		height: 40px;
	}
	select{
		display: block;
		width: 100%;
		max-width: 400px;
		height: 40px;
		font-size: 1.2rem;
	}
	textarea{
		font-size: 1.2rem;
		height: 20rem;
	}
	input{
		font-size: 1.2rem;
	}
	.pref-area,
	.address-area{
		margin-top: 15px;
	}
	#zip{
		width: 100%;
	}
	form p{
		width: 100%;
		line-height: 1.7;
		margin: 3rem 0;
	}
	input.btn01{
		font-size: 1.2rem;
		max-width: 300px;
		width: 100%;
		height: 40px;
	}
}