@charset "utf-8";
/* CSS Document */
#mainHeader {
	width: 100%;
	height: auto;
	background: url("../img/contact/bg_header.jpg") no-repeat top left;
	background-size: cover;
	position: relative;
}
#mainHeader:after {
	content: '';
	padding-top: 22.9%;
	display: block;
}

#mainHeader h1 {
	margin: auto;
	color: #FFFFFF;
	font-size: 6rem;
	line-height: 1;
	height: 70px;
	text-shadow: 0px 0px 15px rgba(0,0,0,0.6);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
@media (max-width: 767px) {
	#mainHeader h1 {
		margin: auto;
		color: #FFFFFF;
		font-size: 2.4rem;
		line-height: 1;
		height: 30px;
		text-shadow: 0px 0px 15px rgba(0,0,0,0.6);
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
	}
}


section h2 {
	margin: 80px auto 40px;
	padding: 0 5px 5px;
	color: #727171;
	font-size: 2.4rem;
	line-height: 1.4;
	text-align: center;
	border-bottom: 1px solid #727171;
}


.topTxt {
	padding: 50px 0;
	text-align: center;
}

.topTxt p {
	margin: 10px 0;
	font-weight: 500;
	font-size: 1.5rem;
}



.privacyCheck {
	text-align: center;
}
.privacyCheck a {
	background: linear-gradient(transparent 50%, rgba(255,198,0,0.6) 50%, rgba(255,198,0,0.6) 85%, transparent 85%, transparent);
}
.privacyCheck p {
	font-size: 2.0rem;
	font-weight: 600;
}

em {
	margin: 0 0 0 5px;
	color: #dc143c;
	font-weight: 600;
	display: inline-block;
}

label:not(.radio) {
	margin-top: 20px;
	display: block;
}


/* 確認画面 */
form dl dt {
	padding-bottom: 10px;
	color: #808080;
	width: 10em;
	float: left;
	clear: both;
}
form dl dd {
	margin-left: 10em;
	padding-bottom: 10px;
}
@media (max-width: 480px) {
	form dl dt {
		padding-bottom: 0px;
		width: auto;
		float: none;
		clear: both;
	}
	form dl dd {
		margin-left: 0;
		padding-bottom: 10px;
	}
}



/*-------------------------------------------
	formパーツスタイル
------------------------------------------*/
input, button, textarea {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea {
	padding: 5px;
	outline: none;
	border: 1px solid #aaa;
	-webkit-transition: all .3s;
	transition: all .3s;
	box-sizing: border-box;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
	box-shadow: 0 0 7px #87cefa;
	border: 1px solid #090a67;
}

input[type="text"],input[type="email"] {
	margin-right: 0;
	width: 100%;
}
input[type="text"]#address { width: 100%; }

textarea {
	width: 100%;
}
@media (max-width: 767px) {
	input[type="text"],
	input[type="tel"],
	input[type="email"],
	input[type="number"] {
		margin-right: 20px;
		width: 80%;
	}
}

input[type="image"] {
	max-width: 100%;
	width: auto;
}
input[type="image"]:hover { opacity: 0.6;}

/* ラジオボタン */
input[type="radio"] {
	display: none;
}
label.radio {
	margin-right: 20px;
	position: relative;
	display: inline-block;
	padding: 3px 3px 3px 20px;
	cursor: pointer;
}
label.radio::before,
label.radio::after {
	position: absolute;
	content: '';
	top: 50%;
	border-radius: 100%;
	-webkit-transition: all .2s;
	transition: all .2s;
}
label.radio::before {
	left: 0;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	margin-right: 3px;
	background: #f3f3f3;
	border: 1px solid #ccc;
}
label.radio:hover::before {
	background: #fff;
}
label.radio::after {
	opacity: 0;
	left: 3px;
	width: 10px;
	height: 10px;
	margin-top: -4px;
	background: #090a67;
	-webkit-transform: scale(2);
	transform: scale(2);
}
input[type="radio"]:checked + label.radio::before {
	background: #fff;
	border: 1px solid #090a67;
}
input[type="radio"]:checked + label.radio::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}


/* セレクトボックス */
select, option {
	padding: 5px 10px;
}


/* チェックボックス */
input[type="checkbox"] {
	display: none;
}
label.check {
	margin-right: 20px;
	position: relative;
	display: inline-block;
	padding: 3px 3px 3px 22px;
	cursor: pointer;
	-webkit-transition: all .2s;
	transition: all .2s;
}
label.check::before,
label.check::after {
	position: absolute;
	content: '';
	-webkit-transition: all .2s;
	transition: all .2s;
}
label.check::before {
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	margin-top: -8px;
	background: #f4f4f4;
	border: 1px solid #ccc;
	border-radius: 3px;
}
label.check::after {
	opacity: 0;
	top: 50%;
	left: 3px;
	width: 8px;
	height: 4px;
	margin-top: -4px;
	border-left: 2px solid #090a67;
	border-bottom: 2px solid #090a67;
	-webkit-transform: rotate(-45deg) scale(.5);
	transform: rotate(-45deg) scale(.5);
}
label.check:hover::before {
	background: #fff;
}
input[type="checkbox"]:checked + label.check::before {
	background: #fff;
	border: 1px solid #090a67;
}
input[type="checkbox"]:checked + label.check::after {
	opacity: 1;
	-webkit-transform: rotate(-45deg) scale(1);
	transform: rotate(-45deg) scale(1);
}



/* 送信エリア */
.sentArea {
	margin: 40px auto;
	text-align: center;
}

.submitBox {
	margin: 40px auto;
	width: 95%;
	text-align: center;
}
.submitBox .formBtn {
	margin: auto;
	width: 40%;
	float: left;
}
.submitBox .btnBackBox {
	margin: auto;
	width: 40%;
	float: right;
}



/* 送信ボタン */
.sentArea input[type="submit"],
.formBtn input[type="submit"] {
	margin: auto;
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	width: 100%;
	max-width: 300px;
	height: 60px;
	line-height: 60px;
	background: #00a1e9;
	border-radius: 5px;
	box-shadow: 0 -3px 0 rgba(50,50,50,0.2) inset;
}

input[type="button"].backbtn {
	margin: auto;
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	width: 100%;
	max-width: 300px;
	height: 60px;
	line-height: 60px;
	background: #dcdcdc;
	border-radius: 5px;
	box-shadow: 0 -3px 0 rgba(50,50,50,0.2) inset;
}

.sentArea input[type="submit"]:hover,
.formBtn input[type="submit"]:hover,
input[type="button"].backbtn:hover {
	cursor: pointer;
}



@media (max-width: 768px) {
	.formBtn { float: none; }
	.btnBackBox { margin: 40px 0 0;float: none; }
}
