@charset "utf-8";

/*============================================================
  ESC　
 ============================================================ */
/*
toplayout.css
color:#4b4d4d
bgcolor:#f3f3f3
point color1:c
#52998f
*/

.conta-text{
	max-width: 780px !important;
	margin: 0px auto 0px !important;
	padding: 0 16px;
	text-align: center;
}
.conta-text p{
	padding: 0 20px 30px;
	font-size: 96%;
	line-height: 1.8;
	text-align: left;
}
@media screen and (max-width: 767px) {
.conta-text {
	max-width: 780px !important;
	margin: 0px auto 0px !important;
	padding: 0 5px;
	text-align: center;
}
.conta-text p{
	padding: 0 0px 25px;
	font-size: 96%;
	line-height: 1.8;
	text-align: left;
}
}

/* -- MAIL FORM -------------------------------------------------------------------------------- */
.mailform{
	margin: 0;
	}
form#mail_form * {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
}

form#mail_form {
	max-width: 980px;
	margin: 0px auto 80px;
	padding: 15px 0;
	font-size: 16px;
	line-height: 1.8;
	border-radius: 2px;
	background-color: #fff;
}
@media screen and (max-width: 767px) {
form#mail_form {
	margin: 0px auto 10px;
}
}

form#mail_form dl {
	width: 92%;
	margin: 0 auto;
	border-bottom: 1px dotted #B3B0B0;
	padding-bottom:8px;
}

form#mail_form dl:after,
form#mail_form dl dt:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

form#mail_form dl dt {
	width: 28%;
	float: left;
	padding: 35px 0 25px;
	text-align: right;
}

form#mail_form dl dt.ch-spacing {
	margin-left: -15px;
}

form#mail_form dl dd {
	width: 65%;
	float: right;
	padding: 35px 0 35px 5%;
	text-align: left;
}
form#mail_form dl dd.add {
	width: 65%;
	float: right;
	margin-top:-10px;
	padding: 0px 0 35px 5%;
	text-align: left;
}
@media screen and (max-width: 1000px) {
form#mail_form dl dd.add {
	width: 94%;
	float:left;
	margin-top:-10px;
	padding: 0px 0 35px 0;
	text-align: left;
}
form#mail_form dl dt.ch-spacing {
	margin-left: 0px;
}
}


form#mail_form dl dt i {
	float: left;
	position: relative;
	top: -2px;
}
.privacy-consent {
margin:auto;
padding:15px 15px 20px !important;
text-align: center;
}
.privacy-consent p{
font-size: 92% !important;
line-height: 1.6;
padding:0px 0px 8px 0px !important;
}
.privacy-consent a{
text-decoration: underline !important;
}
.privacy-consent label{
color:#4b4d4d;
padding:5px 0 0 10px !important;
font-size: 100% !important;
line-height: 1.6;
}

.privacy-caution{
margin:auto;
padding:14px 10px 0 !important;
font-size: 94% !important;
}


@media screen and (max-width: 1000px) {
.privacy-consent {
padding:0px 10px 5px !important;
text-align: center;
}
.privacy-consent p{
margin:auto;
padding:15px 8px 6px !important;
}
.privacy-consent label{
padding:5px 0 0 20px !important;
font-size: 100% !important;
line-height: 1.6;
}
.privacy-caution{
padding:20px 32px 0 !important;
text-align: left;
}

}

/* -- line breaks -- */
.line-break {
display: block;
}
@media (max-width: 1000px) {
.line-break {
 display: none;
}
}

/* -- span.required, span.optional, span.stamark --------------------------------------------------------- */

form#mail_form dl dt span.stamark{
	font-size: 130%;
	padding-left:4px;
	color: #CC4541 !important;
	font-style: normal !important;
	/* --display: inline-block -- */
}



/* -- error message -------------------------------------------------------------------------------- */

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: 5px;
}



/* -- loading -------------------------------------------------------------------------------- */

div.loading-layer {
	width: 100vw;
	height: 100vh;
	background: rgba( 0, 0, 0, 0.7 );
	position: fixed;
	left: 0px;
	top: 0px;
	z-index: 10000;
}

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: -30px;
	margin-left: -30px;
}

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



/* -- input, select, textarea -------------------------------------------------------------------------------- */

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	width: calc( 100% - 4% - 2px );
 height: 2.5rem;
	padding: 0 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

::placeholder {
  color: #A8A7A6;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form select:focus,
form#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

form#mail_form input[type="checkbox"],
form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
 transform: scale(1.5); 
 margin: 4px 7px 0 0;
}
.checktext{
	color:#4b4d4d;
	font-size: 90%;
}	
form#mail_form div.select-wrapper {
	position: relative;
}

form#mail_form div.select-wrapper:after {
	content: "";
	position: absolute;
	top: calc( 50% - 7px );
	right: 16px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #666666;
	border-bottom: 2px solid #666666;
	transform: rotate( 45deg );
}

form#mail_form select {
	width: calc( 100% - 5% - 5px );
	padding: 14px 3%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 15px;
	font-family: inherit;
	line-height: normal;
	color: inherit;
}

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

form#mail_form textarea {
	display: block;
	width: calc( 100% - 4% - 2px );
	height: 200px;
	padding: 7px 2%;
	resize: vertical;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}



/* -- ul, li -------------------------------------------------------------------------------- */

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

form#mail_form ul li label {
	display: block;
	margin-top: 10px;
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #f0f0f0;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

form#mail_form ul li:first-child label {
	margin-top: 0px;
}

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




/* -- input design ( advanced ) -------------------------------------------------------------------------------- */

form#mail_form input[name="name_1"],
form#mail_form input[name="name_2"],
form#mail_form input[name="read_1"],
form#mail_form input[name="read_2"],
form#mail_form input[name="postal"],
form#mail_form input[name="phone"],
form#mail_form input[name="schedule"] {
	width: 30%;
}

form#mail_form input[name="name_2"],
form#mail_form input[name="read_2"] {
	margin: 0 0 0 10px;
}


form#mail_form input[name="name"],
form#mail_form input[name="company"]{
	width: calc( 100% - 4% - 2px );
}
form#mail_form input[name="mail_address"],
form#mail_form input[name="mail_address_confirm"] {
	width: calc( 100% - 4% - 2px );
}

form#mail_form a.postal_search_button {
	display: inline-block;
	margin: 0 0 0 10px;
	padding: 7px 20px;
	border: 1px solid #46b8da;
	border-radius: 3px;
	background: #5bc0de;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
}

form#mail_form a.postal_search_button:hover {
	cursor: pointer;
	background: #31b0d5;
	border: 1px solid #269abc;
}




/* -- button -------------------------------------------------------------------------------- */

form#mail_form p#form_submit {
	width: 60%;
	margin: 0 auto;
	padding: 25px 30px;
}


form#mail_form input[type="button"] {
 width: 52%;
	margin: 10px auto 10px !important;
	padding: 14px 1px;
	border: 1px solid #52998f;
	border-radius: 8px;
	background: #52998f;
	font-size: 100%;
	letter-spacing:0.1rem;
	line-height: normal;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
}

form#mail_form input[type="button"]:hover {
	cursor: pointer;
	background: #2B6960;
	border: 1px solid #2B6960;
}

form#mail_form input[type="button"] {
	margin-left: 0%;
}


form#mail_form input[type="button"]:disabled {
	background: #999999;
	border: 1px solid #999999;
}

form#mail_form input[type="button"]:disabled:hover {
	cursor: not-allowed;
}




/* -- responsive ( SmartPhone or Tablet ) ----------------------------------------------------------------------- */

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


/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */

form#mail_form {
	width: 95%;
	font-size: 100%;
}

form#mail_form dl dt {
	width: auto;
	float: none;
	padding: 25px 0 10px;
	text-align: left;
	font-weight: normal;
}

form#mail_form dl dd {
	width: auto;
	float: none;
	padding: 0px 0 20px 0px;
}

form#mail_form dl dt i {
	float: none;
	position: static;
	font-weight: normal;
}


/* -- input design ( advanced ) -------------------------------------------------------------------------------- */

form#mail_form input[name="phone"],
form#mail_form input[name="schedule"] {
	width: 60%;
}


/* -- button --- */

form#mail_form p#form_submit {
	width: 78%;
	padding: 25px 30px;
}
form#mail_form input[type="button"] {
 width: 70%;
	margin-left: 0;
}

}
/* 1000pixel end */


	


/*--------------------------------------------------
 THANKS MAIL
--------------------------------------------------*/  
.contact2{
max-height: auto;
}
.thanks-box{
max-width: 640px;
height: auto;
margin:90px auto 120px;
padding:35px 40px 40px;
border: #cccccc 1px solid;
background-color: #fff;
border-radius: 15px;
}
.thanks-box h3{
	color: #459f92;
	line-height: 1.4;
	}
.thanks-box p{
margin-top:20px;
margin-bottom: -14px !important;
line-height:1.8;
text-align:left;
}


@media screen and (max-width: 767px) {
.thanks-box h3{
 font-size: 1.4rem;
}
.thanks-box{
max-width: 680px;
margin:70px auto 90px !important;
padding:30px 15px 40px 16px;
margin-right:14px;
margin-left:14px;
}
}


/*--  BUTTON  -- */
a.btn-flat{
 display: inline-block;
 padding: 0.4em 2.1em;
 text-decoration: none;
 color:#52998f;
 font-weight: 500;
 letter-spacing: 0.2em;
 margin:1em 0 0.5em;
 border: #52998f 1px solid; 
}

a.btn-flat:hover{
	color:#FFFFFF !important;
	background:#52998f !important;
	border:#52998f solid 1px;
	opacity: 0.6;
}
