@charset "utf-8";


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

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

#mail_form {
	width: 100%;
	margin: 50px auto;
	background-color: #ffffff;
	border: 1px solid var(--blue);
	border-radius: 15px;
	line-height: 1.8;
	transform: rotate(0.05deg);
}
#mail_form .f_title{
	text-align: center;
	background-color: var(--blue);
	color: #fff;
	font-weight: bold;
    font-size: 1.3em;
	padding: 5px;
	border-radius: 15px 15px 0 0;
}


#mail_form dl {
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px solid #cccccc;	
	display: grid;
	grid-template-columns: 25% 75%; /* dtとddの幅を調整 */
}




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

#mail_form dl dt {
	float: left;
	padding: 30px 0 20px 8%;
	text-align: left;
	font-weight: bold;
	background-color: #efefef;
}

#mail_form dl dt.first {
	float: left;
	padding: 30px 0 30px 8%;
	text-align: left;
	font-weight: bold;
	border-radius: 15px 0 0 15px;
	background-color: #efefef;
}
#mail_form dl dt.end {
	border-radius: 0 0 0 15px;
}
#mail_form dl dd {
	float: left;
	text-align: left;
	padding: 30px 0 30px 8%;
	background-color: #fff;
}
#mail_form dl dd.first {
	float: left;
	text-align: left;
	padding: 30px 0 30px 8%;
	border-radius: 0 15px 15px 0;
	background-color: #fff;
}
#mail_form dl dd.end {
	float: left;
	text-align: left;
	padding: 30px 0 30px 8%;
	border-radius: 0 0 15px 0;
	background-color: #fff;
}

#mail_form dl dt i {
	width: 30%;
	float: left;
	position: relative;
	top: 5px;
	text-align: center;
	border-radius: 5px;
	background-color: var(--blue);
	color: #fff;
}

#mail_form .inde{
    text-indent: 1em;
}


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

#mail_form dl dt span.required,
#mail_form dl dt span.optional {
	display: inline-block;
	font-size: 85%;
	color: #ffffff;
	padding: 4px 10px;
	border-radius: 3px;
}

#mail_form dl dt span.required {
	background: #d9534f;
	border: 1px solid #d43f3a;
}

#mail_form dl dt span.optional {
	background: #337ab7;
	border: 1px solid #2e6da4;
}




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

#mail_form dl dd span.error_blank,
#mail_form dl dd span.error_format,
#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 -------------------------------------------------------------------------------- */

#mail_form input[type="text"],
#mail_form input[type="email"],
#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;
}

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

#mail_form ul li input[type="radio"],
#mail_form ul li input[type="checkbox"] {
	margin: 0 10px 0 0;
}

#mail_form select {
	padding: 7px 2%;
	border: 1px solid #cccccc;
	font-size: 16px;
	font-family: inherit;
	line-height: normal;
}

#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 -------------------------------------------------------------------------------- */

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

#mail_form ul li label {
	display: block;
	margin-top: 0;
	padding: 2%;
	transform: rotate(0.05deg);
}

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

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

#mail_form input[name="postal"]{
	width: 50%;
}

#mail_form input[name="name_1"],
#mail_form input[name="read_1"],
#mail_form input[name="address1"],
#mail_form input[name="address2"],
#mail_form input[name="address3"],
#mail_form input[name="phone"]{
	width: 80%;
}

#mail_form input[name="email1"],
#mail_form input[name="email2"] {
	width: 80%;
}

#mail_form textarea[name="contents"] {
	width: 88%;
}

#mail_form input[name="postal"] + a {
	display: inline-block;
	padding: 7px 20px;
	border-radius: 3px;
	font-size: 16px;
	line-height: normal;
	color: var(--blue);
	text-decoration:underline;
}

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



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

p#form_submit {
	width: 100%;
	text-align: center;
	margin: 0 auto;
	padding: 30px 0;
}

input[type="button"] {
	width: 45%;
	padding: 7px 20px;
	border: 1px solid #27a5b8;
	border-radius: 10px;
	background: #27a5b8;
	font-size: calc((100vw - 320px) / 140 + 16px);;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
}

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

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








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

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


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

#prefix {
	margin-left: 1.5em;
}

#all_txt {
	padding-left: 1.5em!important;
}

#mail_form {
	width: 100%;
	margin: 0 0 8%;
	font-size: 100%;
}
#mail_form .f_title{
	width: 100%;
	text-align: center;
	background-color: var(--blue);
	color: #fff;
	font-weight: bold;
    font-size: 1.1em;
	padding: 1% 0;
	border-radius: 15px 15px 0 0;
}
#mail_form dl {
	grid-template-columns: 1fr; /* dtとddの幅を調整 */
}

#mail_form dl dt {
	width: 90%;
	float: none;
	padding: 2% 5%;
	text-align: left;
	font-weight: bold;
}
#mail_form dl dt.first {
	border-radius: 15px 15px 0 0;
	width: 92%;
}
#mail_form dl dd.first{
	width: 90%;
	float: left;
	text-align: left;
	padding: 5% 5% 10% 5%;
	border-radius: 0 0 15px 15px;
	background-color: #fff;
}
#mail_form dl dd.end{
	width: 90%;
	float: left;
	text-align: left;
	padding: 5% 5% 10% 5%;
	border-radius: 0 0 15px 15px;
	background-color: #fff;
}
#mail_form dl dd {
	width: 90%;
	float: none;
	padding: 5% 5% 5% 5%;
}

#mail_form dl dt i {
	padding: 0.5% 2%;
	margin-left: 5%;
	float: none;
	position: static;
	font-weight: normal;
}
#mail_form .inde{
   text-indent: 0em;
}
#mail_form ul li{
  list-style: none;
   text-indent: -1.5em;
   padding-left: 1.5em;
}

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

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




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

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




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

#mail_form p#form_submit {
	padding: 25px 0;
}

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


}
/* 1000pixel end */








