@charset "utf-8";


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

form#mail_form * {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
	padding:5px 0;
}

form#mail_form {
	margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

form#mail_form dl {
	border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

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

form#mail_form dl dt {
	width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
}

form#mail_form dl dd {
	width: 65%;
	float: right;
}

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: 85%;
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 3px;
}

form#mail_form dl dt span.required {
	background: #d9534f;
	border: 1px solid #d43f3a;
}

form#mail_form dl dt span.optional {
	background: #337ab7;
	border: 1px solid #2e6da4;
}




/* -- 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;
margin-left:40px;
}

@media(max-width:700px) {
	form#mail_form dl dd span.error_blank,
	form#mail_form dl dd span.error_format,
	form#mail_form dl dd span.error_match {
		margin-left:0;
		position:relative;
		bottom:95px;
	}
	form#mail_form .dl_error dd span.error_blank,
	form#mail_form .dl_error  dd span.error_format,
	form#mail_form .dl_error  dd span.error_match {
			margin-left:0;
	position:relative;
	bottom:265px;
	}
}

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

div.loading-layer:nth-child(an+b) {
	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: calc( 100% - 4% - 2px );
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	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: 16px;
	font-family: inherit;
	line-height: normal;
}

form#mail_form textarea {
	display: block;
	width: 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: 16px;
	font-family: inherit;
	line-height: normal;
}
*/



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

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

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

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

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




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

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

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="postal"],
form#mail_form input[name="phone"],
form#mail_form input[name="schedule"] {
	width: 30%;
}

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

form#mail_form input[name="postal"] + a {
	display: inline-block;
	padding: 7px 20px;
	border: 1px solid #46b8da;
	border-radius: 3px;
	background: #5bc0de;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
}

form#mail_form input[name="postal"] + a:hover {
	cursor: pointer;
	background: #31b0d5;
	border: 1px solid #269abc;
}

*/

form#mail_form input {
	border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}

form#mail_form select {
	border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}

form#mail_form textarea {
	border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
}

form#mail_form .wrapper {
    max-width: 1000px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

form#mail_form .privacy-policy {
    height: 208px;
		display: block;
    padding: 2em;
    overflow-y: scroll;
    border: 2px solid #111;
		margin:0 auto;
}
@media screen and (max-width: 400px) {
form#mail_form .privacy-policy {
    display: block;
      height: 208px;
      padding: 0.5em;
      overflow-y: scroll;
      border: 2px solid #111;
      width:250px;
      margin:0 auto;

  }
}
form#mail_form .checkbox {
    text-align: center;
    padding: 60px 0 30px;
}

form#mail_form .checkbox .check {
    margin: 30px 10px;
    width: 15px;
    height: 15px;
    -moz-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
}


form#mail_form dl dt .Form-Item-Label-Required {
	width: 60px;
	border-radius: 6px;
	padding-top: 3px;
	padding-bottom: 3px;
    margin-right: 8px;
    display: inline-block;
    text-align: center;
    background-color: #233B6C;
    color: #fff;
    font-size: 14px;
}




/* -- button -------------------------------------------------------------------------------- */
/*
form#mail_form p#form_submit {
	width: 90%;
	margin: 0 auto;
	padding: 30px 0;
}

form#mail_form input[type="button"] {
	padding: 7px 20px;
	border: 1px solid #4cae4c;
	border-radius: 3px;
	background: #5cb85c;
	font-size: 16px;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
}

form#mail_form input[type="button"]:hover {
	cursor: pointer;
	background: #449d44;
	border: 1px solid #398439;
}

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

#form_submit {
	text-align: center;
}

form#mail_form input[type="button"] {
    width: 240px;
    margin: 0 auto;
    display: block;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
    background: #1C325E;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    border: 1px solid#1C325E;
}



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

/* 700pixel start */
@media screen and ( max-width: 700px ) {


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

form#mail_form {
	width: 80%;
	font-size: 100%;

}

form#mail_form dl {
	padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
}

form#mail_form dl dt {
	max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
}

form#mail_form dl dd {
	width: 100%;
	margin: 0 auto;
	margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
    padding-bottom: 10px;
}

form#mail_form input {
	width: 100%;
    padding-left: 10px;
    padding-right: 0;
    height: 48px;
    flex: 1;
    font-size: 15px;
    margin-left: 0;
}

form#mail_form select {
	width: 96%;
    margin-left: 0;
    padding-left: 10px;
    height: 48px;
    flex: 1;
    background: #eaedf2;
    font-size: 16px;
}

form#mail_form dl dd.textarea_dd {
    width: 100%;
    margin: 0 auto;
    margin-left: 0;
    margin-top: 18px;

    height: 210px;
    flex: inherit;
    font-size: 15px;
    padding-bottom: 10px;
}

form#mail_form textarea {
	width: 100%;
    margin-left: 0;
    padding-right: 10px;
    height: 210px;
    flex: 1;
    font-size: 16px;
}

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

form#mail_form .wrapper {
    margin-right: 5%;
    margin-left: 5%;
}




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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	margin: 0 15px 0 0;
}




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

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




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

form#mail_form p#form_submit {
	padding: 25px 0;
}

form#mail_form input[type="button"] {

}


}
/* 1000pixel end */
