@charset "utf-8";

section#form {
	background: url("../img/bg.jpg") left top / cover repeat;
}

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

form#mail_form dl dt{
	clear: both;
	width: 30%;
	float: left;
	border-top: 1px solid #cccccc;
	padding: 15px 0;
	text-align: right;
	overflow: hidden;
	font-size: 14px;
}

form#mail_form dl dd{
	width: 65%;
	float: right;
	border-top: 1px solid #cccccc;
	padding: 15px 0 15px 5%;
}

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;
	font-size: 85%;
	color: #3377ff;
}

form#mail_form .with {
	font-size: 110%;
	line-height: 1.4;
	padding: 30px 0;
	text-align: center;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}

form#mail_form .expo_text {
	color: #6B6B6B;
}
form#mail_form .group_name {
	display: flex!important;
	flex-wrap: wrap;
}
form#mail_form .group_seimei {
	width: 50%;
}
form#mail_form .group_seimei span {
	font-size: 14px;
	display: block;
	margin-bottom: 5px;
}

form#mail_form dl dt .item_place {
	font-size: 20px;
	font-weight: bold;
}

form#mail_form .submit_btn {
	text-align: center;
    border-top: 1px solid #cccccc;
	padding-top: 30px;
	font-size: 110%;
}





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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional{
	display: inline-block;
	float: left;
	color: #ffffff;
	line-height: 1;
	padding: 8px 9px;
	border-radius: 3px;
}

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

form#mail_form dl dt span.optional{
	background: #004d9f;
	border: 1px solid #004d9f;
}

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;
	font-size: 14px;
	margin-top: 8px;
}


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 : -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"] {
	max-width : 100%;
	height : 2.5em;
	box-sizing: border-box;
	padding : 2px 2%;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : #fafafa;
	-webkit-appearance : none;
	font-size : 16px;
}

form#mail_form input:focus,
form#mail_form textarea:focus
form#mail_form select: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{
	max-width : 90%;
	height: 2em;
	padding : 3px 6% 3px 2%;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : #fafafa url(../images/icon_select.png) right 8px center / 8px no-repeat;
	-webkit-appearance : none;
	font-size : 20px;
	font-weight: bold;
	cursor: pointer;
}

form#mail_form textarea{
	display : block;
	width : 90%;
	max-width : 90%;
	height : 200px;
	padding : 2px 2%;
	resize : vertical;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : #fafafa;
	-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#postal,
form#mail_form input#phone,
form#mail_form input#schedule{
	width : 30%;
}
form#mail_form input#name_1,#name_2,#with_name_1,#with_name_2,#read_1,#read_2,#with_read_1,#with_read_2 {
	width: 90%;
}

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

form#mail_form input#postal+a{
	display : inline-block;
	padding : 9px 15px;
	vertical-align : middle;
	line-height : 1;
	background : #e40012;
	border: none;
	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 : #004d9f;
}

form#mail_form input#phone,
form#mail_form input#address,
form#mail_form input#allergie {
	width : 100%;
}
form#mail_form input#birth_y,
form#mail_form input#with_birth_y {
	max-width : 20%;
}
form#mail_form input#birth_m,
form#mail_form input#birth_d,
form#mail_form input#age,
form#mail_form input#with_birth_m,
form#mail_form input#with_birth_d,
form#mail_form input#with_age {
	max-width : 12%;
}


form#mail_form p#form_submit{
	width : 90%;
	margin : 0 auto;
	padding : 15px 0;
}

form#mail_form input[type="button"]{
	display: flex;
	justify-content: center;
	align-items: center;
    width: 100%;
    max-width: 360px;
	padding: .8em 0;
	background: #ff2300;
    border: 4px #000 solid;
	border-radius: 100px;
	line-height : 1;
	color : #fff;
	-webkit-appearance : none;
	box-shadow: 0 5px 5px rgba(0,0,0,0.5);
}

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



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

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

form#mail_form dl{
	overflow : visible;
}

form#mail_form dl dt{
	width : auto;
	float : none;
	text-align : left;
	padding : 10px 0;
	font-weight : bold;
	display: flex;
	align-items: center;
}

form#mail_form dl dd{
	width : auto;
	float : none;
	border-top : none;
	padding : 0 0 13px 0px;
}

form#mail_form dl dt span{
	font-weight : normal;
}
	
form#mail_form .group_name {
	justify-content: space-between;
}
form#mail_form .group_seimei {
	width: calc(50% - 10px);
}

form#mail_form .with {
	text-align: left;
	font-size: 16px;
}
form#mail_form .submit_btn {
	text-align: center;
    border-top: 1px solid #cccccc;
	padding-top: 30px;
	font-size: 100%;
}


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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional{
	margin-right : 1em;
}

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

form#mail_form input#name_1,#name_2,#with_name_1,#with_name_2,#read_1,#read_2,#with_read_1,#with_read_2 {
	width: 100%;
}

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

form#mail_form input#birth_y,
form#mail_form input#with_birth_y {
	max-width : 25%;
}
form#mail_form input#birth_m,
form#mail_form input#birth_d,
form#mail_form input#age,
form#mail_form input#with_birth_m,
form#mail_form input#with_birth_d,
form#mail_form input#with_age {
	max-width : 15%;
}
    
form#mail_form input[type="button"]{
    border: 3px #000 solid;
	box-shadow: 0 3px 3px rgba(0,0,0,0.3);
}


}

