@charset "utf-8";


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

form#mail_form * {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
}

form#mail_form {
	max-width: 820px;
	margin: 50px auto 0;
}

form#mail_form dl {
	width: 100%;
	display: flex;
	align-items: center;
    justify-content: space-between;
	flex-wrap:wrap;
	background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
    background-position: left -8px bottom;
    background-repeat: repeat-x;
    background-size: 6px 2px;
}
form#mail_form dl:after,
form#mail_form dl dt:after {

}

form#mail_form dl dt {
	width: 30%;
	padding: 30px 0 25px;
	font-weight: bold;
}

form#mail_form dl dd {
	width: 65%;
	padding: 30px 0 25px;
}
form#mail_form dl dd.privacy {
	text-align: center;
	width: 100%;
	padding-left: 0;
	box-sizing: border-box;
}

form#mail_form dl dt i {
	float: left;
	position: relative;
	top: -2px;
}
@media only screen and (max-width:820px){
	form#mail_form {
		max-width:100%;
	}
    form#mail_form dl dt {
		width: 30%!important;
	}
	form#mail_form dl dd {
		width: 60%!important;
	}
}
@media only screen and (max-width:468px){
    form#mail_form {
		margin-top: 30px;
	}
	form#mail_form dl {
		display: block;
	}
	form#mail_form dl dt {
		width: 100%!important;
        padding-top: 20px;
        padding-bottom: 10px;
	}
	form#mail_form dl dd {
		width: 100%!important;
        padding-top: 0;
	}
}



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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: inline-block;
	font-size: 70%;
	color: #ffffff;
	padding: 2px 10px 3px;
	border-radius: 3px;
	margin-right: 15px;
}

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




/* -- 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 );
	padding: 7px 2%;
	border: 1px solid #cccccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

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 input[type="radio"],
form#mail_form input[type="checkbox"] {
	margin: 0 10px 0 0;
}

/* チェックボックスデザイン */
form#mail_form input[type="checkbox"] { /* リセット */
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

form#mail_form input[type="checkbox"] {
	cursor: pointer;
	padding-left: 40px;/*label手前にチェックボックス用の余白を開ける*/
	vertical-align: middle;
	position: relative;
	line-height: 100%;
	margin-bottom: 1px;
}

form#mail_form input[type="checkbox"]::before,
form#mail_form input[type="checkbox"]::after {
	content: "";
	display: inline-block; 
	position: absolute;
}

form#mail_form input[type="checkbox"]::before {
	background-color: #fff;
	border-radius: 0%;
	border: 1px solid #666;
	width: 25px;/*チェックボックスの横幅*/
	height: 25px;/*チェックボックスの縦幅*/
	transform: translateY(-50%);
	top: 50%;
	left: 5px;
}

form#mail_form input[type="checkbox"]::after {
	border-bottom: 2px solid #54A280;/*チェックの太さ*/
	border-left: 2px solid #54A280;/*チェックの太さ*/
	opacity: 0;/*チェック前は非表示*/
	height: 8px;/*チェックの高さ*/
	width: 12px;/*チェックの横幅*/
	transform: rotate(-45deg);
	top: -6px;/*チェック時の位置調整*/
	left: 12px;/*チェック時の位置調整*/
	line-height: 0;
}

_::-webkit-full-page-media, _:future, :root form#mail_form input[type="checkbox"]::after { /*safari用*/
	top: 2px;/*チェック時の位置調整*/
}

form#mail_form input[type="checkbox"]:checked::after {
	opacity: 1;/*チェック後表示*/
}

form#mail_form select {
	padding: 7px 2%;
    background: url(../images/common/arrow_down.svg) no-repeat;
    background-position: center right 0.75em;
    background-size: 0.75em;
	border: 1px solid #cccccc;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

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-radius: 3px;
	background: #f0f0f0;
}

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

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




/* -- input design -------------------------------------------------------------------------------- */

form#mail_form input[name="company"] {
	width: 100%;
	box-sizing: border-box;
}

form#mail_form input[name="name"],
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: 100%;
	box-sizing: border-box;
}

form#mail_form input[name="mail_address"],
form#mail_form input[name="mail_address_confirm"] {
	width:100%;
	box-sizing: border-box;
}

form#mail_form input[name="postal"]{
    max-width: 150px;
}
form#mail_form input[name="postal"] + a {
	display: inline-block;
	padding: 7px 15px;
	border: 1px solid var(--accent-color);
	border-radius: 3px;
	background: var(--accent-color);
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
    margin-top: 0.5em;
}

form#mail_form input[name="postal"] + a:hover {
	cursor: pointer;
	opacity: 0.8;
}

form#mail_form p {
	padding-top: 20px;
}

form#mail_form a {
	color: #555;
	text-decoration: underline;
}
form#mail_form a:hover {
	color: #54A280;
}


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

form#mail_form p#form_submit {
	width: 90%;
	margin: 0 auto;
	padding: 50px 0;
	text-align: center;
}

form#mail_form input[type="button"] {
	font-family: inherit;
	-webkit-appearance: none;
	font-size: 1.2em;
	color:#FFF !important;
	background: var(--main-color) !important;
	min-width: 300px;
	margin: 0 auto;
	padding: 0.75em;
	/*border:2px solid #01A7CC;
	border-radius: 100px;*/
}

form#mail_form input[type="button"]:hover {
	cursor: pointer;
	background:var(--accent-color) !important;
}

form#mail_form input[type="button"]:hover {
	transition: all .3s;
}






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

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


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

form#mail_form {
	width: 100%;
}

form#mail_form dl dt {
	width: auto;
	float: none;
	text-align: left;
	font-weight: bold;
}

form#mail_form dl dd {
	width: auto;
	float: none;

}

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




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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	margin: 0 15px 0 0;
}




/* -- input design -------------------------------------------------------------------------------- */

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




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

form#mail_form p#form_submit {
	width: 100%;
	padding: 50px 0px 80px;
}

form#mail_form input[type="button"] {
	min-width: 100%;
	box-sizing: border-box;
}


}
/* 768pixel end */








