@charset "utf-8";


form#mail_form {
	width: 680px;
	margin: 0 auto;
}

form#mail_form dl {
	width: 100%;
	margin: 0 auto 5px auto;
	display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
}

form#mail_form dl dt {
	width: 200px;
	padding: 10px;
	text-align: left;
	background-color: #1d2a55;
	color: #fff;
}

form#mail_form dl dd {
	width: 65%;
	padding: 10px 0 15px 20px;
}

form#mail_form dl dt:first-child,
form#mail_form dl dt:first-child+dd {
	border: none;
}

form#mail_form dl dt span {
	color: #fff;
}


/* -- for JavaScript ここから -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: none;
}

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: 3px;
}


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 );
	}
}


/* -- for JavaScript ここまで -------------------------------------------------------------------------------- */


form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	max-width: 90%;
	height: 2em;
	padding: 2px 2%;
	border: 1px solid #1d2a55;
	background: #fff;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}

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-right: 10px;
	margin-top: 7px;
}

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

form#mail_form select {
	font-size: 100%;
	font-family: inherit;
	margin-top: 10px;
	width: 94%;
	padding: 7px 0 7px 10px;
	border: #1d2a55 solid 1px;
}

form#mail_form textarea {
	display: block;
	width: 90%;
	max-width: 90%;
	height: 200px;
	padding: 2px 2%;
	resize: vertical;
	border: 1px solid #1d2a55;
	background: #fff;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}


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

form#mail_form ul li label:hover {
	cursor: pointer;
}
form#mail_form input#company {
	width: 60%;
}
form#mail_form input#name,
form#mail_form input#phone {
	width: 90%;
}
form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
	width: 90%;
}
form#mail_form input#address {
	width: 90%;
}
form#mail_form p#form_submit {
	width: 450px;
	margin: 60px auto 0 auto;
}

form#mail_form input[type="button"] {
	display: block;
	width: 450px;
	padding: 10px;
	background: #e77800;
	border: 1px solid #e77800;
	border-radius: 10px;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	font-size: 100%;
}
form#mail_form input[type="button"]:hover {
	cursor: pointer;
	opacity: .8;
	transition: .5s;
}
.policy_box{
	width: 640px;
	margin: 100px auto;
}
.policy_box dt{
	text-align: center;
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 15px;
}
.policy_box dd{
	background-color: #fff;
	border: #1d2a55 solid 1px;
	padding: 15px;
	font-size: 15px;
	height: 200px;
	overflow-y: scroll;
}
.policy_box dd::-webkit-scrollbar{
  width: 10px;
}
.policy_box dd::-webkit-scrollbar-track{
background: #f7f7f7;
}
.policy_box dd::-webkit-scrollbar-thumb{
background: #1d2a55;
border-radius: 5px;
box-shadow: none;
}

@media screen and (max-width:999px){
	form#mail_form {
    width: 90%;
    margin: 0 auto;
}
.policy_box {
	width: 90%;
	margin: 100px auto;
}
form#mail_form input[type="button"] {
	display: block;
	width: 100%;
	padding: 10px;
	background: #e77800;
	border: 1px solid #e77800;
	border-radius: 10px;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
	font-size: 100%;
}
form#mail_form p#form_submit {
	width: 100%;
	margin: 60px auto 0 auto;
}
}
@media screen and (max-width:760px){
	form#mail_form dl{
		display: block;
	}
	form#mail_form dl dt{
		width: 96%;
	}
	form#mail_form dl dd{
		width: 100%;
		padding: 10px 0 20px 0;
	}
	form#mail_form input#name, form#mail_form input#phone {
    width: 95%;
}
form#mail_form input[type="text"], form#mail_form input[type="email"], form#mail_form input[type="tel"]{
	max-width: 100%;
}
form#mail_form input#mail_address, form#mail_form input#mail_address_confirm {
	width: 95%;
}
form#mail_form input#address {
	width: 95%;
}
form#mail_form select{
	width: 99%;
}
form#mail_form textarea {
	display: block;
	width: 95%;
	max-width: 95%;
	height: 200px;
	padding: 2px 2%;
	resize: vertical;
	border: 1px solid #1d2a55;
	background: #fff;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}
}
@media screen and (max-width:500px){
	form#mail_form dl dt{
		width: 94%;
	}
	form#mail_form p#form_submit {
    width: 100%;
    margin: 30px auto 0 auto;
}

}



