@charset "utf-8";


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

form#mail_form {
	width: 100%;
	margin:10px auto;
}

form#mail_form dl {
	width: 100%;
	margin: 0 auto;
  	overflow: hidden;
}

form#mail_form dl dt {
    color: #000;
	width: 100%;
	padding: 5px 0 2px 0;
	text-align: left;
	overflow: hidden;
}



form#mail_form dl dd {
	width: 100%;
	float: right;
	padding: 0 0 15px 0;
}

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

form#mail_form dl dt span {
	display: block;
	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: 95%;
	padding: 7px 2%;
	border-radius: 3px;
    border: 1px solid;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}

form#mail_form textarea {
	display: block;
	width: 95%;
	max-width: 95%;
	height: 200px;
	padding: 7px 2%;
	resize: vertical;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}


/* -- ラジオボタン -------------------------------------------------------------------------------- */


p.check {
  float: left;
  line-height: 50px;
}

form#mail_form ul li {
  float: left;
  width: 50px;
  line-height: 50px;
  color: #515151;
}

form#mail_form ul {
  margin-left: 100px;
  margin-top: -52px;
  float: left;
  list-style-type: none;
}

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


/* -- ラジオボタンここまで -------------------------------------------------------------------------------- */

form#mail_form input#code,
form#mail_form input#name,
form#mail_form input#title,
form#mail_form input#tel,
form#mail_form input#address,
form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
	width: 100%;
}

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

form#mail_form input[type="button"] {
	padding: 10px 50px;
    margin-top: 40px;
	border-radius: 5px;
    border: 0px;
	background: #000;
	font-size: 100%;
	color: #fff;
	font-family: inherit;
	-webkit-appearance: none;
}
form#mail_form input[type="button"]:hover {
	cursor: pointer;
	background: #ed745e;
}




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

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


form#mail_form {
	width: 80%;
}

form#mail_form dl {
	overflow: visible;
}

form#mail_form dl dd {
	padding: 0px 0px 5px 0px;
}

form#mail_form input#form_submit_button {
	margin-left: 0;
}

form#mail_form select {
	font-size: 16px;
	margin-top: 0;
}

}


@media screen and (max-width: 600px) {
form#mail_form {
	width: 90%;
}
}

