@charset "utf-8";


form#mail_form{
	width : 100%;
	/*background : #ffffff;*/
	font-size: 16px;
	color: #040000;
}
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;
	line-height: 30px;
}

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


form#mail_form dl dt span{
	display : block;
	font-size : 85%;
	color : #3377ff;
}


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


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 : 80%;
	height : 2em;
	padding : 2px 10px;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : rgb(255 255 255 / 70%);
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
	margin-top : 5px;
}


form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"]{
	margin-right : 8px;
	/*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 #name_1_2 {
	width: calc(80% - 76px);
}
form#mail_form select#name_1_1{
	font-size : 100%;
	font-family : inherit;
	margin-top : 5px;
	width: 60px;
	height : 2em;
	padding : 2px 2px 2px 8px;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : rgb(255 255 255 / 70%);
	-webkit-appearance : none;
	box-sizing: content-box;
}
.por1 {
	display: inline-block;
	position: relative;
}
form#mail_form .por1:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    top: 50%;
    margin-top: 2px;
    right: 2px;
    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: 2;
    box-sizing: border-box;
}

form#mail_form li {
	display: inline-block;
	margin-right: 22px;
}
form#mail_form li label{
	display: -webkit-inline-flex;
	display: inline-flex;
	height: 2.5em;
	align-items: center;
}
/*form#mail_form select#name_1_1 option {
	line-height: 40px;
}*/

form#mail_form textarea{
	display : block;
	width : 90%;
	max-width : 90%;
	height : 200px;
	padding : 8px 2%;
	resize : vertical;
	border : 1px solid #cccccc;
	border-radius : 3px;
	background : rgb(255 255 255 / 70%);
	-webkit-appearance : none;
	font-size : 100%;
	font-family : inherit;
    appearance: none;
    outline: none;
    line-height: 26px;
}


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

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


form#mail_form p#form_submit{
	width : 100%;
	margin : 0 auto;
	padding : 15px 0;
	border-top : 1px solid #cccccc;
	text-align: center;
	margin-top: .65rem;
}

form#mail_form input[type="button"]{
	padding : 9px 15px;
	vertical-align : middle;
	line-height : 1;
	background : #5185c5;
	border : 1px solid #5185c5;
	border-radius : 3px;
	color : #ffffff;
	font-family : inherit;
	-webkit-appearance : none;
	font-size : 100%;
	cursor:pointer;
}

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

form#mail_form input#form_submit_button,form#mail_form input#form_submit_button_confirm{
	min-width: 1rem;
	/*margin-left : 35%;*/
}
form#mail_form input#form_button_back {
	margin-left: .3rem;
	background-color: #ff9800;
	border : 1px solid #ff9800;
}


.con-box.confirm form#mail_form dl dd input,
.con-box.confirm form#mail_form dl dd textarea,
.con-box.confirm form#mail_form dl dt span.required,
.con-box.confirm form#mail_form dl dt span.optional {
	display: none !important;
}
.con-box.confirm form#mail_form dl dd{
	padding-top : 15px !important;
	padding-bottom : 15px !important;
	line-height: 30px !important;
	white-space:normal;
    word-break:break-all;
    word-wrap:break-word;
}





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

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

form#mail_form{
	width : 100%;
	font-size: .32rem;
}

form#mail_form dl{
	overflow : visible;
}

form#mail_form dl dt{
	width : auto;
	float : none;
	text-align : left;
	padding : .2rem 0 .1rem;
	font-weight : bold;
}

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

form#mail_form dl dt span{
	font-weight : normal;
}
form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"]{
	width : 100%;
	box-sizing: border-box;
}
form#mail_form textarea{
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
    line-height: .52rem;
}

form#mail_form #name_1_2 {
	width: calc(100% - 66px);
}
form#mail_form select#name_1_1{
	box-sizing: border-box;
}

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

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


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

form#mail_form input#form_submit_button,form#mail_form input#form_submit_button_confirm{
	min-width: 2rem;
	margin-left : 0;
}


.con-box.confirm form#mail_form dl dd{
	padding-top : .2rem !important;
	padding-bottom : .1rem !important;
	line-height: 30px !important;
}

}


