@charset "utf-8";


/* -- form#mail_form, dl, dt, dd --------------------------------- */

form#mail_form * {
	margin: 0;
	padding: 0;
}

form#mail_form {
	width: 100%;
	max-width: 1000px;
	background: #ffffff;
	border-radius: 7px;
	line-height: 1.8;
	margin: 0 auto;
  padding: 0 15px;
	color: #003064;
}

form#mail_form dl {
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px solid #003064;
	display: flex;
	flex-direction: row;
}

form#mail_form dl:after,
form#mail_form dl dt:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

form#mail_form dl:nth-of-type(odd){
	background: #f0f2f7;
}

form#mail_form dl:nth-of-type(1){
	border-top: 1px solid #003064;
}

form#mail_form dl dt {
	width: 37%;
	padding: 30px 0 30px 3%;
	text-align: left;
}

form#mail_form dl dd {
	width: 63%;
	padding: 30px 3% 30px 3%;
	text-align: left;
}

form#mail_form dl dt i {
	float: left;
	position: relative;
	top: -2px;
}




/* -- span.required, span.optional --------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: inline-block;
	font-size: 70%;
	color: #ffffff;
	padding: 2px 10px 1px;
	border-radius: 3px;
	margin: 0 10px 0 0;
	font-style: normal;
}

form#mail_form dl dt span.required {
	background: #d9534f;
}

form#mail_form dl dt span.optional {
	background: #337ab7;
}




/* -- error message --------------------------------- */

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	display: block;
	color: #ff0000;
	margin-top: 5px;
	font-size: 85%;
}




/* -- loading --------------------------------- */

div.loading-layer {
	width: 100vw;
	height: 100vh;
	background: rgba( 0, 0, 0, 0.7 );
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 10000;
}

span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}

@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}




/* -- input, select, textarea --------------------------------- */

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	width: 100%; /*calc( 100% - 4% - 2px );*/
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 1.8rem;
	font-family: inherit;
	line-height: normal;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
	margin: 0 10px 0 0;
}

form#mail_form select {
	padding: 7px 2%;
	border: 1px solid #cccccc;
	font-size: 1.8rem;
	font-family: inherit;
	line-height: normal;
}

form#mail_form textarea {
	display: block;
	width: 100%; /*calc( 100% - 4% - 2px )*/
	height: 200px;
	padding: 7px 2%;
	resize: vertical;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 1.8rem;
	font-family: inherit;
	line-height: normal;
}




/* -- ul, li --------------------------------- */

form#mail_form ul {
	list-style-type: none;
	width: 100%;
}

form#mail_form ul li label {
	display: block;
	margin-top: 10px;
	padding: 7px 2%;
	border-radius: 3px;
	/*background: #f0f2f7;*/
	background: #fff;
}

form#mail_form ul li:first-child label {
	margin-top: 0px;
}

form#mail_form ul li label:hover {
	cursor: pointer;
	background: #dde0e9;
}




/* -- input design --------------------------------- */

form#mail_form input[name="company"] {
	width: 100%;
}

form#mail_form input[name="name_1"],
form#mail_form input[name="name_2"],
form#mail_form input[name="read_1"],
form#mail_form input[name="read_2"],
form#mail_form input[name="phone"],
form#mail_form input[name="schedule"] {
	width: 100%;
}

form#mail_form input[name="postal"] {
	width: 30%;
}

form#mail_form input[name="mail_address"],
form#mail_form input[name="mail_address_confirm"] {
	width: 100%;
}

form#mail_form input[name="postal"] + a {
	display: inline-block;
	padding: 7px 20px;
	border: 1px solid #337ab7;
	border-radius: 3px;
	background: #337ab7;
	font-size: 1.6rem;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
	transition: 0.5s ;
}

form#mail_form input[name="postal"] + a:hover {
	cursor: pointer;
	opacity: 0.75;
}



/* -- privacy --------------------------------- */
form#mail_form .privacy {
	font-size: 1.6rem;
	color: #003064;
	text-align: left;
	padding: 1em 0 2em;
	padding-left:1em;
	text-indent:-1em;
}

form#mail_form .privacy a {
	color: #db1557;
	text-decoration: underline;
}


/* -- button --------------------------------- */

form#mail_form p#form_submit {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

form#mail_form input[type="button"] {
	padding: 15px;
	width: 30%;
	text-align: center;
	border-radius: 50px;
	border: 1px solid #004ea2;
	background: #004ea2;
	font-size: 1.8rem;
	color: #ffffff;
	-webkit-appearance: none;
	transition: 0.5s ;
}

form#mail_form input[type="button"]:hover {
	cursor: pointer;
	opacity: 0.75;
}

form#mail_form input[type="button"] {
	/*margin-left: 35%;*/
}


/* -- responsive --------------------------------- */

@media only screen and (min-width:768px) and (max-width:1023px) {
	form#mail_form {
		font-size: 1.6rem;
	}

	form#mail_form input[type="text"],
	form#mail_form input[type="email"],
	form#mail_form input[type="tel"] {
		font-size: 1.6rem;
	}

	form#mail_form select {
		font-size: 1.6rem;
	}

	form#mail_form textarea {
		font-size: 1.6rem;
	}

	form#mail_form input[type="button"] {
		font-size: 1.6rem;
	}

	form#mail_form .privacy {
    font-size: 1.5rem;
	}

}



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


	/* -- form#mail_form, dl, dt, dd --------------------------------- */

	form#mail_form {
		max-width: 100%;
		font-size: 4vw;
		padding: 0 10px;
		margin: 0 auto;
	}

	form#mail_form dl {
		width: 100%;
		flex-direction: column;
		background: none;
	}

	form#mail_form dl dt {
		width: auto;
		padding: 10px 10px;
		text-align: left;
		background: #f0f2f7;
	}

	form#mail_form dl dd {
		width: auto;
		padding: 15px 10px;
		background: #fff;
	}

	form#mail_form dl dt i {
		float: none;
		position: static;
		font-weight: normal;
	}

	/* -- form#mail_form, ul, li --------------------------------- */
	form#mail_form ul li label {
		background: #f0f2f7;
	}




	/* -- span.required, span.optional --------------------------------- */

	form#mail_form dl dt span.required,
	form#mail_form dl dt span.optional {
		font-size: 80%;
		margin: 0 10px 0 0;
	}



	/* -- error message --------------------------------- */

	form#mail_form dl dd span.error_blank,
	form#mail_form dl dd span.error_format,
	form#mail_form dl dd span.error_match {
		font-size: 90%;
	}



	/* -- input, select, textarea --------------------------------- */

	form#mail_form input[type="text"],
	form#mail_form input[type="email"],
	form#mail_form input[type="tel"] {
		padding: 10px 2%;
		font-size: 4vw;
	}

	form#mail_form select {
		padding: 10px 2%;
		font-size: 4vw;
	}

	form#mail_form textarea {
		height: auto;
		padding: 10px 2%;
		font-size: 4vw;
	}



	/* -- input design --------------------------------- */

	form#mail_form input[name="phone"],
	form#mail_form input[name="schedule"] {
		width: 100%;
	}

	form#mail_form input[name="postal"] {
	    width: 50%;
	}

	form#mail_form input[name="postal"] + a {
		padding: 5px 10px;
		font-size: 4vw;
		text-align: center;
}



	/* -- privacy --------------------------------- */
	form#mail_form .privacy {
		font-size: 3.75vw;
    line-height: normal;
	}



	/* -- button --------------------------------- */


	form#mail_form input[type="button"] {
		padding: 10px;
		width: 80%;
		font-size: 4.4vw;
	}


}
/* 767pixel end */
