@charset "utf-8";

/* --------------------------------------------------------------------------------
   Responsive Mailform - Custom Styles for Kaibara Burner
   既存サイトデザイン（css/index.css等）とのスタイル競合を防ぐため、
   不要な幅指定や全体リセットを除去し、機能に必要なスタイルのみを定義しています。
-------------------------------------------------------------------------------- */

/* -- error message -------------------------------------------------------------------------------- */
#main .craftsman .contact .mailForm td span.error_blank,
#main .craftsman .contact .mailForm td span.error_format,
#main .craftsman .contact .mailForm td span.error_match,
form#mail_form span.error_blank,
form#mail_form span.error_format,
form#mail_form span.error_match,
.mailForm span.error_blank,
.mailForm span.error_format,
.mailForm span.error_match {
	display: none;
	margin: 8px 0 0 !important;
	padding: 0 !important;
	background-color: transparent !important;
	border-radius: 0 !important;
	color: #ff0000 !important;
	font-size: 1.3rem !important;
	font-weight: normal !important;
	line-height: 1.4 !important;
	text-align: left !important;
}

/* メッセージが入っている時のみ表示 */
#main .craftsman .contact .mailForm td span.error_blank:not(:empty),
#main .craftsman .contact .mailForm td span.error_format:not(:empty),
#main .craftsman .contact .mailForm td span.error_match:not(:empty),
form#mail_form span.error_blank:not(:empty),
form#mail_form span.error_format:not(:empty),
form#mail_form span.error_match:not(:empty),
.mailForm span.error_blank:not(:empty),
.mailForm span.error_format:not(:empty),
.mailForm span.error_match:not(:empty) {
	display: block !important;
}

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