@charset "utf-8";

/* style.css : contact
 * **************************************************
 * Main
 * Media Queries
 * **************************************************
 */

/* Main
-------------------------------------------------- */

/* form */
.subPage article .form {
	border-bottom: 1px solid #707070;
	margin: 30px 0 65px;
}

.subPage article .form>dl {
	border-top: 1px solid #707070;
	display: table;
	padding: 10px 0;
	width: 100%;
}

.subPage article .form>dl>dt,
.subPage article .form>dl>dd {
	display: table-cell;
	text-align: left;
	vertical-align: middle;
}

.subPage article .form>dl>dt {
	border-right: 1px solid #707070;
	width: 192px;
}

.subPage article .form>dl>dt span.require {
	background-color: #E23C3A;
	color: #ffffff;
	display: inline-block;
	font-size: 1.2rem;
	margin: 0 0 0 10px;
	padding: 5px 8px;
}

.subPage article .form>dl>dd {
	padding: 20px 28px;
	width: 658px;
}

.subPage article .form.confirm>dl>dd {
	line-height: 1.6;
	padding-top: 15px;
	padding-bottom: 15px;
}

.subPage article .form>dl>dd dl {
	margin: 24px 0 0 0;
}

.subPage article .form>dl>dd dl dt {
	margin: 0 0 10px;
}

.subPage article .form>dl>dd .zipcode span {
	display: block;
	margin: 7px 0 0 1.5em;
}

.subPage article .form>dl>dd .zipcode .error {
	margin-left: 2.2em;
}

.subPage article .form input {
	background-color: #F0EFEF;
	border: none;
	height: 30px;
	outline: none;
	padding: 0 0.5em;
	vertical-align: 0.01em;
	width: 450px;
}

.subPage article .form input.medium {
	width: 150px;
}

.subPage article .form input.smallL {
	width: 55px;
}

.subPage article .form input.small {
	width: 45px;
}

.subPage article .form ::placeholder {
	color: #A8A8A8;
}

.subPage article .form ::-ms-input-placeholder {
	color: #A8A8A8;
}

.subPage article .form :-ms-input-placeholder {
	color: #A8A8A8;
}

.subPage article .form textarea {
	background-color: #F0EFEF;
	border: none;
	height: 150px;
	line-height: 1.6;
	outline: none;
	padding: 0.5em;
	width: 100%;
}

/* agreement */
.subPage article .agreement {
	background-color: #F0EFEF;
	margin: 20px 0 110px;
	padding: 0 12px;
	width: 164px;
}

.subPage article .agreement label {
	display: block;
	padding: 12px 0 12px 1.2em;
	position: relative;
	width: 100%;
}

.subPage article .agreement input[type="checkbox"] {
	position: absolute;
	height: 15px;
	top: 13px;
	left: 0;
	width: 15px;
}

/* button */
.subPage article .button {
	text-align: center;
}

.subPage article .button>div {
	display: inline-block;
	margin: 0 13px;
	position: relative;
	width: 230px;
}

.subPage article .button>div::after {
	content: '';
	display: inline-block;
	height: 14px;
	margin-top: -6px;
	position: absolute;
	top: 50%;
	transition: .3s;
	width: 14px;
}

.subPage article .button>.btnSubmit::after {
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	right: 45px;
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.subPage article .button>.btnBack::after {
	border-right: 2px solid #00602E;
	border-bottom: 2px solid #00602E;
	left: 45px;
	-ms-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}

.subPage article .button input[type="submit"] {
	border: 1px solid #00602E;
	border-radius: 39px;
	cursor: pointer;
	font-size: 1.8rem;
	height: 78px;
	line-height: 76px;
	outline: none;
	transition: .3s;
	width: 100%;
}

.subPage article .button .btnSubmit input[type="submit"],
.subPage article .button .btnBack:hover input[type="submit"] {
	background: #00602E;
	color: #ffffff;
}

.subPage article .button .btnBack input[type="submit"],
.subPage article .button .btnSubmit:hover input[type="submit"] {
	background: #ffffff;
	color: #00602E;
}

.subPage article .button>.btnSubmit:hover::after {
	border-right-color: #00602E;
	border-bottom-color: #00602E;
}

.subPage article .button>.btnBack:hover::after {
	border-right-color: #ffffff;
	border-bottom-color: #ffffff;
}

/* error */
.subPage article .error {
	color: #E23C3A;
	font-size: 0.9em;
	margin: 0.5em 0 0 0;
}

.subPage article .errorMessage {
	background-color: #FCEBEB;
	color: #E23C3A;
	margin: 25px 0 0 0;
	padding: 20px 30px;
}

.subPage article .errorMessage ul {
	font-size: 0.9em;
	margin: 0.5em 0 0 0;
}

.subPage article .errorMessage ul li::before {
	content: '・';
}

/* Media Queries
-------------------------------------------------- */

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

	/* Main
-------------------------------------------------- */

	/* form */
	.subPage article .form {
		border-bottom: 1px solid #707070;
		margin: 20px 0 45px;
	}

	.subPage article .form>dl {
		padding: 20px 0;
	}

	.subPage article .form>dl>dt,
	.subPage article .form>dl>dd {
		display: block;
	}

	.subPage article .form>dl>dt {
		border-right: none;
		width: 100%;
	}

	.subPage article .form>dl>dd {
		padding: 15px 0 0 0;
		width: 100%;
	}

	.subPage article .form.confirm>dl>dd {
		padding-bottom: 0;
	}

	.subPage article .form>dl>dd .zipcode span {
		line-height: 1.4;
		margin-left: 0;
	}

	.subPage article .form>dl>dd .zipcode .error {
		margin-left: 0;
	}

	.subPage article .form input {
		height: 40px;
		width: 100%;
	}

	.subPage article .form textarea {
		height: 200px;
	}

	/* agreement */
	.subPage article .agreement {
		margin-bottom: 45px;
		width: 100%;
	}

	/* button */
	.subPage article .button>.btnBack {
		margin-bottom: 15px;
	}

	/* error */
	.subPage article .errorMessage {
		margin-top: 15px;
		padding: 15px 20px;
	}

}