@charset "utf-8";


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

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

form#mail_form dl dt{
	clear : both;
	width : 33%;
	height: 50px;
	float : left;
	border-top : 2px solid #b2b2b2;
	border-left : 2px solid #b2b2b2;
	padding : 15px 14px;
	text-align : left;
	overflow : hidden;
	box-sizing: border-box;
	font-size: 14px;
	color: #000;
	line-height: 18px;
	background-color: #e6e6e6;
}

form#mail_form dl dd{
	width : 67%;
	height: 50px;
	float : right;
	border-top : 2px solid #b2b2b2;
	border-left : 2px solid #b2b2b2;
	border-right : 2px solid #b2b2b2;
	padding : 8px;
	box-sizing: border-box;
	font-size: 14px;
	color: #000;
}

form#mail_form dl dt:last-of-type,
form#mail_form dl dd:last-of-type{
	border-bottom : 2px solid #b2b2b2;
}

form#mail_form dl dt span{
	font-size: 14px;
	color: #000;
}

form#mail_form dl dd .dd-span1 {
	padding: 0 30px 0 8px;
	vertical-align: sub;
}
form#mail_form dl dd .dd-span2 {
	padding: 0 0px 0 8px;
	vertical-align: sub;
}
form#mail_form dl dt.dt-01 {
	padding: 7px 5px;
}
form#mail_form dl dt.dd-02 {
	height: 134px;
	line-height: 100px;
}
form#mail_form dl dd.dd-02 {
	height: 134px;
}
form#mail_form dl dt.dd-03 {
	height: 128px;
	padding: 45px 14px;
}
form#mail_form dl dd.dd-03 {
	height: 128px;
}


form#mail_form dl dt.error-01 {
	height: 70px;
}
form#mail_form dl dd.error-01 {
	height: 70px;
}
form#mail_form dl dt.error-02 {
	height: 70px;
}
form#mail_form dl dd.error-02 {
	height: 70px;
}

form#mail_form .f-text-01 {
	width: 100%;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	color: #000;
	background-color: #cccccc;
	margin: 10px 0;
	padding-left: 14px;
	box-sizing: border-box;
}
form#mail_form .f-box-01 {
	text-align: center;
	padding: 18px 0;
}
form#mail_form .f-box-01 img {
	vertical-align: middle;
	width: calc(100 / 965 * 100%);
}
form#mail_form .f-box-btn {
	width: calc(750 / 965 *100%);
	margin: 0 auto;
}
form#mail_form .f-box-btn p {
	display: block;
	width: 100%;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
form#mail_form .f-box-btn input.form_submit_02 {
	width: 35.3%;
	cursor: pointer;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 17px;
	color: #fff;
	background-color: #4d4d4d;
	border-radius: 4px;
	-moz-transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;
	-o-transition: all 0.1s ease;
	transition: all 0.1s ease;
}
form#mail_form .f-box-btn input.form_submit_01{
	width: 61.3%;
	cursor: pointer;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 17px;
	color: #fff;
	background-color: #c9161d;
	border-radius: 4px;
	-webkit-appearance : none;
	outline: none;
	-moz-transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;
	-o-transition: all 0.1s ease;
	transition: all 0.1s ease;
}

form#mail_form .f-box-btn input.form_submit_02:hover, form#mail_form .f-box-btn input.form_submit_01:hover{
	opacity: 0.8;
}

.form_submit_3 ,.form_submit_4 ,#form_submit_button_3 ,#form_submit_button_4 {
	display: none;
} 

/* -- 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;
	display: none;
}

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

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;
	float: left;
	width: 100%;
}


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"]{
	width: 300px;
	max-width : 100%;
	height : 32px;
	padding : 2px 6px;
	border : 2px solid #b2b2b2;
	border-radius : 5px;
	background : #fff;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
	box-sizing: border-box;
}

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 select{
	width: 300px;
	max-width : 100%;
	height : 32px;
	line-height: 24px;
	padding : 2px 6px;
	border : 2px solid #b2b2b2;
	border-radius : 5px;
	background : #fff0;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
	box-sizing: border-box;
}
form#mail_form label.select-box {
	position: relative;
	display: inline-block;
}
form#mail_form label.select-box:after {
	content: "";
	position: absolute;
	width: 9px;
	height: 9px;
	top:50%;
	right:0;
	border-right: 2px #666 solid;
	border-bottom: 2px #666 solid;
	-ms-transform:translate(-10px,calc(-50% - 2px)) rotate(45deg);
	-moz-transform:translate(-10px,calc(-50% - 2px)) rotate(45deg);
	-webkit-transform:translate(-10px,calc(-50% - 2px)) rotate(45deg);
	-o-transform:translate(-10px,calc(-50% - 2px)) rotate(45deg);
	transform:translate(-10px,calc(-50% - 2px)) rotate(45deg);
	z-index: -1;
	box-sizing: border-box;
}

form#mail_form textarea{
	display : block;
	resize : none;
    width: 100%;
	max-width : 100%;
	height : 108px;
	min-height: 108px;
	padding : 2px 6px;
	border : 2px solid #b2b2b2;
	border-radius : 5px;
	background : #fff;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
	box-sizing: border-box;
	outline: none;
}
form#mail_form dl dd input[type="file"] {
	width: 100%;
	height : 32px;
	padding : 1px 2px;
	border : 2px solid #b2b2b2;
	border-radius : 5px;
	background : #fff;
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
	box-sizing: border-box;
}
form#mail_form dl dd input[type="file"].attachment {
	margin-bottom: 8px;
}
form#mail_form dl dd input[type="file"].attachment:last-child {
	margin-bottom: 0px;
}

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

form#mail_form dl dd label.radio-box {
	line-height: 32px;
	margin-right: 40px;
}
form#mail_form dl dd label input[type="radio"] {
	margin: 0 10px 3px 10px;
	vertical-align: middle;
	zoom: 1.2;
}
form#mail_form input.w1{
	width : 100px;
}
form#mail_form select.w2{
}
form#mail_form label.select-box1 {
	width : 220px;
}
form#mail_form input.w3{
	width : 170px;
}

.main-confirm form#mail_form dl dd {
	line-height: 32px;
}
.main-confirm form#mail_form dl dd label {
	cursor: default;
}

form#mail_form input#postal+a{
	display : inline-block;
	padding : 9px 15px;
	vertical-align : middle;
	line-height : 1;
	background : #5bc0de;
	border : 1px solid #46b8da;
	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 : #31b0d5;
	border : 1px solid #269abc;
}




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

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

form#mail_form{
	width : 95%;
}

form#mail_form dl dt{
	clear : both;
	width : 40%;
	height: 50px;
	float : left;
	border-top : 2px solid #b2b2b2;
	border-left : 2px solid #b2b2b2;
	padding : 15px 14px;
	text-align : left;
	overflow : hidden;
	box-sizing: border-box;
	font-size: 14px;
	color: #000;
	line-height: 18px;
	background-color: #e6e6e6;
}

form#mail_form dl dd{
	width : 60%;
	height: 50px;
	float : right;
	border-top : 2px solid #b2b2b2;
	border-left : 2px solid #b2b2b2;
	border-right : 2px solid #b2b2b2;
	padding : 8px;
	box-sizing: border-box;
	font-size: 14px;
	color: #000;
}

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"]{
	width: calc(100% - 35px);
}

form#mail_form dl dd .dd-span1 {
	padding: 0 0px 0 8px;
	vertical-align: sub;
}
form#mail_form dl dd label.radio-box {
	margin-right: 5px;
}
form#mail_form label.select-box {
	max-width: 100%;
}
form#mail_form label.select-box1 {
	width : 220px;
	max-width: calc(100% - 50px);
}
form#mail_form input.w1 {
	width: 100px;
}
form#mail_form input.w3{
	width : 200px;
	max-width: calc(100% - 105px);
}
form#mail_form dl .dt-04 {
	height: 90px;
	line-height: 58px;
}
form#mail_form dl .dd-04 {
	height: 90px;
}
form#mail_form dl .dd-04 label.label-01 {
	display: block;
	margin-bottom: 8px;
}

.label-01 {
	display: inline-block;
}
form#mail_form .f-box-01 img {
	vertical-align: middle;
	width: calc(100 / 600 * 100%);
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match{
	font-size: 12px;
}


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

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


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

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

form#mail_form input#phone,
form#mail_form input#schedule{
	width : 50%;
}

}
@media screen and ( max-width : 555px ){
	form#mail_form dl dd label.radio-box {
		display: inline-block;
		margin-right: 10px;
	}
	form#mail_form dl .dt-05 {
		height: 90px;
		line-height: 58px;
	}
	form#mail_form dl .dd-05 {
		height: 90px;
	}
	form#mail_form dl .dd-05 label {
		margin-bottom: 8px;
	}
}

@media screen and ( max-width : 420px ){
	form#mail_form dl dt{
	clear : both;
	width : 42%;
	height: 50px;
	float : left;
	border-top : 2px solid #b2b2b2;
	border-left : 2px solid #b2b2b2;
	padding : 15px 5px;
	text-align : left;
	overflow : hidden;
	box-sizing: border-box;
	font-size: 13px;
	color: #000;
	line-height: 18px;
	background-color: #e6e6e6;
}

form#mail_form dl dd{
	width : 58%;
	height: 50px;
	float : right;
	border-top : 2px solid #b2b2b2;
	border-left : 2px solid #b2b2b2;
	border-right : 2px solid #b2b2b2;
	padding : 8px;
	box-sizing: border-box;
	font-size: 14px;
	color: #000;
}
}
