@charset "utf-8";

form#mail_form dl{
	width : 100%;
	margin : 0 auto;
	overflow : hidden;
}
form#mail_form dl dt,
form#mail_form dl dd {
    padding: 0;
}
form#mail_form dl dt{
	margin-bottom: .5rem;
	text-align: left;
	font-size: .9rem;
	overflow : hidden;
}
form#mail_form dl dd{
	width: 100%;
}


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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional{
	display: inline-block;
	line-height: 2rem;
	padding: 0 .5rem;
	margin-right: 1rem;
	color: #000;
}

form#mail_form dl dt span.required{
	background: #c1272d;
	color: #fff;
}

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

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 #fff;
	-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 : -25px;
	margin-left : -25px;
}

@-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"]{
	padding : .5rem 2%;
	border : 3px solid #000;
	-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{
	border : 3px solid #7997d3;
	background : #e6e6e6;
}

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

form#mail_form textarea{
	display : block;
	width : 100%;
	height : 200px;
	padding : .5rem 2%;
	resize : vertical;
	border : 3px solid #000;
	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#name_1,
form#mail_form input#name_2,
form#mail_form input#read_1,
form#mail_form input#read_2,
form#mail_form input#postal,
form#mail_form input#schedule{
	width : 49%;
}

form#mail_form input#phone,
form#mail_form input#company,
form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm,
form#mail_form input#address{
	width : 100%;
}

form#mail_form input#postal+a{
	display : inline-block;
	padding : 9px 15px;
	vertical-align : middle;
	line-height : 1;
	background : #7997d3;
	border : 1px solid #7997d3;
	border-radius : 3px;
	color : #ffffff;
	font-family : inherit;
	text-decoration : none;
	position : relative;
	top : -1px;
}

form#mail_form input#postal+a:hover{
	cursor : pointer;
	background : #242e47;
	border : 1px solid #242e47;
}

form#mail_form p#form_submit{
	width : 100%;
	padding : 2rem 0;
}

form#mail_form input[type="button"]{
	width: 100%;
	padding : 1rem;
	vertical-align : middle;
	line-height : 1;
	background : #fff;
	border : 8px solid #000;
	border-radius : 8px;
	font-family : inherit;
	-webkit-appearance : none;
	font-size : 1.25rem;
}

form#mail_form input[type="button"]:hover{
	cursor : pointer;
	background : #000;
	color : #fff;
}

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


@media screen and ( max-width : 767px ){
	form#mail_form{
		width : 100%;
	}
	
	form#mail_form dl{
		overflow : visible;
	}
}
