@charset "utf-8";

#thanks_mv {
	text-align: center;
}

#thanks .container {
	max-width: 740px;
	margin: 0 auto;
	text-align: center;
}
#thanks h2 {
  position: relative;
  text-align: center;
  font-size: 4.5rem;
  margin-bottom: 1.5em;
}
#thanks h2 span {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0 2.5em;
  padding: 0 1em;
  background-color: #f0f0f0;
  text-align: left;
}
#thanks h2::before {
  position: absolute;
  top: 48%;
  z-index: 1;
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: #231815;
}

#thanks .inner {
	text-align: center;
}
#thanks h3 {
	font-size: 3.0rem;
	margin-bottom: 1.5em;
}
#thanks p {
	line-height: 1.8;
	text-align: left;
}
#thanks p:not(:first-child) {
	margin-top: 1em;
}
#thanks .contact_num {
	font-size: 24px;
	border: #231815 1px solid;
	display: inline-block;
	margin: 15px auto;
	padding: 0 3em;
}

.btn_return {
	width: 800px;
	margin: 60px auto;
}



/* -- form ここから -------------------------------------------------------------------------------- */


form#mail_form{
	width: 100%;
	margin: 0 auto;
	padding: 10px 0;
}

form#mail_form dl{
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

form#mail_form dl dt{
	box-sizing: border-box;
	clear: both;
	width: 20%;
	float: left;
	font-size: 125%;
	font-weight: bold;
/*	border-top: 1px solid #efefef;*/
	padding: 32px 1em 22px 0;
	text-align: right;
	overflow: hidden;
}

form#mail_form dl dd{
	box-sizing: border-box;
	width: 80%;
	float: right;
/*	border-top: 1px solid #efefef;*/
	padding: 22px 0 17px;
}

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;
}
@media screen and (max-width:768px) {
	form#mail_form dl dt {
		width: 100%;
		float: none;
		text-align: left;
		padding: 0;
	}
	form#mail_form dl dd {
		width: 100%;
		float: left;
		padding: .5em 0 1em;
	}
}


/* -- for JavaScript ここから -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional{
	display: inline-block;
	float: left;
	font-weight: bold;
	color: #ffffff;
	margin-top: 6px;
	margin-right: 0.8em;
	padding: 0px 8px;
	line-height: 1.3;
}

form#mail_form dl dt span.required{
	background: #ea5514;
	display: none;
}

form#mail_form dl dt span.optional{
	background: #036eb8;
	display: none;
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format{
	display: block;
	color: #292929;
}


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{
	height: 3em;
	padding: 0 2%;
	border-radius: 5px;
	border: 1px solid #fff;
	font-size: 1.6rem;
    line-height: 1.3;
}

form#mail_form textarea{
	height: 200px;
	padding: 10px 2%;
	resize: vertical;
	border-radius: 5px;
	border: 1px solid #fff;
	font-size: 1.6rem;
    line-height: 1.3;
}

form#mail_form input:focus,
form#mail_form textarea:focus{
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

form#mail_form input.check_input:focus{
	box-shadow: none;
	border: none;
	background: #ffffff;
}

form#mail_form textarea,
form#mail_form input#company,
form#mail_form input#department,
form#mail_form input#tel,
form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm,
form#mail_form input#postal {
	width: 766px;
}

form#mail_form input#name_1,
form#mail_form input#name_2{
	width: 228px;
}

form#mail_form ul li{
	list-style-type: none;
	width: 6em;
	margin-bottom: 0.5em;
	float: left;
}

form#mail_form ul li label:hover{
	cursor: pointer;
}

form#mail_form ul li input{
	height: auto;
	margin-right: 0.5em;
}


form#mail_form input#address_1,
form#mail_form input#address_2{
	display: block;
	width: 490px;
	margin-bottom: 7px;
}

form#mail_form input#phone{
	width: 228px;
}

form#mail_form input#schedule{
	width: 228px;
}

.form_submit_wrap {
}
#form_submit {
	text-align: center;
}
.btn_return,
form#mail_form button#form_submit_button {
	position: relative;
	width: auto;
	height: auto;
	display: inline-block;
	padding: 0.5em 6.0em;
	margin: 2.0em auto;
    text-decoration: none;
	color: #231815;
	text-decoration: none;
	font-size: 2.4rem;
	font-weight: bold;
	border-radius: 1.5em;
	border: #b28850 4px solid;
	background-color: #b89859;
	background-image: linear-gradient(45deg, #c2a774 25%, transparent 25%, transparent 75%, #c2a774 75%, #c2a774), linear-gradient(45deg, #c2a774 25%, transparent 25%, transparent 75%, #c2a774 75%, #c2a774);
	background-position: 0 0, 20px 20px;
	background-size: 40px 40px;
	box-shadow: 0px 0px 13.92px 2.08px rgba(123, 16, 16, 0.43);
	outline:none;
}
form#mail_form button#form_submit_button:before {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.0em;
	margin-top: -5px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #231815;
	border-right: 2px solid #231815;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
  }
  form#mail_form button#form_submit_button.is-active:hover{
	color: #231815;
	border: #231815 4px solid;
  }
  form#mail_form button#form_submit_button.is-active:hover:before {
	right: 0.8em;
  }

.btn_return:active,
form#mail_form button#form_submit_button:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}

.btn_return:hover,
form#mail_form button#form_submit_button:hover{
	cursor: pointer;
}





/* --responsive----------------------------------------------------------------------------------------------------------------- */

/* 640pixel start */
@media screen and ( max-width: 768px ){

	form#mail_form input{
		font-size: 1.8rem;
		width: 100%;
		box-sizing: border-box;
	}

	form#mail_form input.check_input{
		
		width: auto;

	}
	

	form#mail_form textarea{
		font-size: 1.8rem;
		width: 100%;
		box-sizing: border-box;
	}
	
	form#mail_form textarea,
	form#mail_form input#company,
	form#mail_form input#department,
	form#mail_form input#tel,
	form#mail_form input#mail_address,
	form#mail_form input#mail_address_confirm,
	form#mail_form input#postal {
		width: 100%;
	}
	form#mail_form input#name_1, form#mail_form input#name_2 {
		width: 48%;
	}
	.btn_return, form#mail_form button#form_submit_button {
		margin: 0.5em auto 0;
	}
	#thanks h2 {
		font-size: 3.0rem;
		margin-bottom: 1.5em;
	}
	#thanks h2 span {
		margin: 0 1.0em;
		padding: 0 1em;
		background-color: #f0f0f0;
		text-align: center;
	}
	#thanks h3 {
		font-size: 2.4rem;
	}
/*form#mail_form{
	width: 95%;
}

form#mail_form dl{
	overflow: visible;
}

form#mail_form dl dt{
	width: auto;
	float: none;
	text-align: left;
	padding: 10px 0 5px;
	font-weight: bold;
}

form#mail_form dl dd{
	width: auto;
	float: none;
	border-top: none;
	padding: 0px 0 13px 0px;
}

form#mail_form dl dt span{
	font-weight: normal;
}*/


/* -- 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#company,
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#mail_address,
form#mail_form input#mail_address_confirm,
form#mail_form input#postal,
form#mail_form input#address_1,
form#mail_form input#address_2,
form#mail_form input#phone,
form#mail_form input#schedule,
form#mail_form textarea{
	max-width: 90%;
	-webkit-appearance: none;
}
form#mail_form input#form_submit_button{
	margin-left: 0;
	-webkit-appearance: none;
}*/

}
/* 640pixel end */

