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

.contents-header{
	background: none;
}
.contact{
	padding: 0 0 100px;
	width: 800px;
	margin: 0 auto;
	text-align: center;
}
h2{
	text-align: center;
	font-size: 2.4rem;
	margin-top: 6rem;
}
h2::after{
	content: "";
	width:60px;
	height: 2px;
	background: #028bd5;
	display: block;
	margin: 1rem auto;
}
.tel{
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-wrap: wrap;
	width: 100%;
	padding: 20px 0;
}
.tel h3{
	font-family: 'Oswald', sans-serif;
	font-size: 5rem;
	display: block;
	font-weight: 600;
	margin-right: 1rem;
	padding-bottom: 0.5rem;
}
h3 span{
	font-size: 70%;
	font-weight: 300;
}
.required{
	color: #f00;
}
.form{
	width: 100%;
	padding: 30px 0;
}
.form li{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 2rem 0;
}
.form p{
	width: 25%;
	text-align: justify;
	padding: 10px 0;
}
.form div{
	width: 75%;
}
.form div .textfieldRequiredMsg{
	width:100%;
	text-align: justify;
}
.form div input,
.form div textarea{
	width: 100%;
	padding: 10px;
	border-radius: 10px;
	background: #f2f2f2;
	border:1px solid #ccc;
}
.form div input::placeholder,
.form div textarea::placeholder {
	color: #b3b3b3;
}
input[type="checkbox"] {
    padding: 0;
    background: none;
    border: 1px solid #999;
    border-radius: 5px;
	width: 1.6rem;
	height: 1.6rem;
	margin:0 1rem 0.4rem;
}
.privacypolicy a{
	text-decoration: underline;
}
.privacypolicy .policy{
	display: inline-block;
}
.button-box{
	margin: 4% auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.button-submit,
.button-back{
	width:300px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	position: relative;
	margin: 1% auto;
}
.button-submit{
	background: #028bd5;
}
.button-submit:hover{
	background: #047db2;
}
.button-back{
	background: #999;
}
.button-back:hover{
	background: #555;
}
.button-submit::after,
.button-back::after{
	content: "";
	position: absolute;
	width: 1rem;
	height: 1rem;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.button-submit::after{
	transform: rotate(45deg);
	right: 1.6rem;
}
.button-back::after{
	transform: rotate(225deg);
	left: 1.6rem;
}
.button-submit input[type="submit"],
.button-back input[type="button"]{
	width:100%;
	height: 100%;
	background: none;
	border: none;
	color: #fff;
	letter-spacing: 0.3rem;
	cursor: pointer;
}
.button-submit span{
	color: #fff;
}
.confirm{
	border-top:1px solid #999;
	padding: 0;
	margin: 2rem 0;
}
.confirm li{
	border-bottom:1px solid #999;
	padding: 0;
}
.confirm li .confilm-text{
	width: 100%;
	text-align: justify;
}
@media only screen and (max-width: 844px){
	.contact{
		padding: 0 0 40px;
		width: 100%;
		text-align: justify;
	}
	h2{
		font-size: 1.6rem;
		margin-top: 3rem;
	}
	.tel{
		display: flex;
		justify-content: center;
		align-items: flex-end;
		width: 100%;
		padding: 20px 0;
	}
	.tel h3{
		font-size: 3rem;
		text-align: center;
		width: 100%;
		margin-right: 0;
	}
	.tel p{
		width: 100%;
		display: block;
		text-align: center;
	}
	.form li{
		padding: 1rem 0;
	}
	.form p{
		width: 100%;
	}
	.form div{
		width: 100%;
	}
	.button-submit,
	.button-back{
		width:100%;
	}
	.button-submit{
		order:1;
	}
	.button-back{
		order:2;
	}
}