@charset "UTF-8";

.contact-title{
	display: block;
	text-align: center;
	opacity: 1;
	padding-top: 25px;
}


#contact-box{
	padding: 50px 0 0 0 ;
}

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

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

form#mail_form {
	width: calc(100% - 50px);
	padding: 0 25px;
	background: #ffffff;
	line-height: 1.8;
}

form#mail_form dl {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0;
	border-bottom: 1px solid #af1f24;
}

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: 100%;
	color: #001f54;
	font-family: "ヒラギノ角ゴ Pro W3";
	font-weight: bold;
	font-size: 4vw;
}

form#mail_form dl dt span{
	color: #d82448;
}

form#mail_form dl dd {
	width: 100%;
}

form#mail_form dl dt i {
	position: relative;
}

.calam2dd{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}


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

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: inline-block;
	font-size: 3vw;
	padding: 7px;
	border-radius: 3px;
	margin: 0 15px 0 0 ;
}

form#mail_form dl dt span.required {
	background: #fff;
    border: 1px solid #c1121f;
	color: #c1121f;
	padding-right: 10px;
}

form#mail_form dl dt span.optional {
	background: #fff;
	color: #003566;
    border: 1px solid #003566;
}




/* -- 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% - 14px);
	padding: 7px;
	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 {
	border: 1px solid #55ccff;
	background: #ffffff;
}

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

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

form#mail_form textarea {
	display: block;
	width: calc( 100% - 14px );
	height: 200px;
	padding: 7px;
	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;
	border-radius: 3px;
	background: #f0f0f0;
	color: #000;
}

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: calc(100% -14px);
}

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: calc(47.5% - 14px);
}

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

form#mail_form input[name="postal"] + a {
	width: calc(47.5% - 14px);
	display: inline-block;
	padding: 7px ;
	text-align: center;
	border: 1px solid #ccb111;
	border-radius: 3px;
	background: #ccb111;
	font-size: 16px;
	line-height: normal;
	color: #ffffff;
	text-decoration: none;
}

form#mail_form input[name="postal"] + a:hover {
	cursor: pointer;
	background: #aa9113;
	border: 1px solid #aa9113;
}




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

form#mail_form p#form_submit {
	display: block;
	width: 100%;
}

form#mail_form input[type="button"] {
	width: calc(100% - 14px);
	margin-top: 25px;
	padding: 7px;
	border: 1px solid #7b9e1b;
	border-radius: 3px;
	background: #7b9e1b;
	font-size: 16px;
	color: #ffffff;
	font-family: inherit;
	-webkit-appearance: none;
}

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








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

/* 1000pixel start */
@media screen and ( min-width: 700px ) {
	.contact-title{
		display: block;
		text-align: center;
		opacity: 1;
		padding-top: 30px;
	}


	#contact-box{
		padding: 60px 0 0 0 ;
	}

	/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */
	form#mail_form {
		width: calc(100% - 100px);
		padding: 0 50px;
	}

	form#mail_form dl {
		padding: 25px 0;
		border-bottom: 1px solid #af1f24;
	}

	form#mail_form dl dt {
		width: 30%;
		color: #001f54;
		font-family: "ヒラギノ角ゴ Pro W3";
		font-weight: bold;
		font-size: 18px;
	}

	form#mail_form dl dt span{
		color: #d82448;
	}

	form#mail_form dl dd {
		width: 70%;
	}

	form#mail_form dl dt i {
		position: relative;
	}

	.calam2dd{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}


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

	form#mail_form dl dt span.required,
	form#mail_form dl dt span.optional {
		display: inline-block;
		font-size: 12px;
		padding: 10px;
		border-radius: 3px;
		margin: 0 15px 0 0 ;
	}

	form#mail_form dl dt span.required {
		background: #fff;
		border: 1px solid #c1121f;
		color: #c1121f;
		padding-right: 10px;
	}

	form#mail_form dl dt span.optional {
		background: #fff;
		color: #003566;
		border: 1px solid #003566;
	}




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


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

	form#mail_form input[type="text"],
	form#mail_form input[type="email"],
	form#mail_form input[type="tel"] {
		width: calc( 100% - 20px);
		padding: 10px;
		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 {
		border: 1px solid #55ccff;
		background: #ffffff;
	}

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

	form#mail_form select {
		padding: 7px;
		border: 1px solid #cccccc;
		font-size: 16px;
	}

	form#mail_form textarea {
		width: calc( 100% - 20px );
		padding: 10px;
	}




	/* -- ul, li -------------------------------------------------------------------------------- */
	form#mail_form ul li label {
		padding: 10px;
	}

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

	form#mail_form input[name="company"] {
		width: calc(100% - 20px);
	}

	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: calc(47.5% - 20px);
	}

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

	form#mail_form input[name="postal"] + a {
		width: calc(47.5% - 20px);
		padding: 10px ;
	}



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

	form#mail_form input[type="button"] {
		width: calc(100% - 20px);
		padding: 10px;
	}

}



/* 1000pixel start */
@media screen and ( min-width: 1200px ) {
	.contact-title{
		display: block;
		text-align: center;
		opacity: 1;
		padding: 0;
		padding-top: 30px;
	}


	#contact-box{
		padding: 60px 0 0 0 ;
	}

	/* -- form#mail_form, dl, dt, dd -------------------------------------------------------------------------------- */
	form#mail_form {
		width: calc(100% - 40%);
		padding: 0 20%;
	}

	form#mail_form dl {
		padding: 25px 0;
		border-bottom: 1px solid #af1f24;
	}

	form#mail_form dl dt {
		width: 30%;
		color: #001f54;
		font-family: "ヒラギノ角ゴ Pro W3";
		font-weight: bold;
		font-size: 18px;
	}

	form#mail_form dl dt span{
		color: #d82448;
	}

	form#mail_form dl dd {
		width: 70%;
	}

	form#mail_form dl dt i {
		position: relative;
	}

	.calam2dd{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}


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

	form#mail_form dl dt span.required,
	form#mail_form dl dt span.optional {
		display: inline-block;
		font-size: 12px;
		padding: 10px;
		border-radius: 3px;
		margin: 0 15px 0 0 ;
	}

	form#mail_form dl dt span.required {
		background: #fff;
		border: 1px solid #c1121f;
		color: #c1121f;
		padding-right: 10px;
	}

	form#mail_form dl dt span.optional {
		background: #fff;
		color: #003566;
		border: 1px solid #003566;
	}




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


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

	form#mail_form input[type="text"],
	form#mail_form input[type="email"],
	form#mail_form input[type="tel"] {
		width: calc( 100% - 20px);
		padding: 10px;
		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 {
		border: 1px solid #55ccff;
		background: #ffffff;
	}

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

	form#mail_form select {
		padding: 7px;
		border: 1px solid #cccccc;
		font-size: 16px;
	}

	form#mail_form textarea {
		width: calc( 100% - 20px );
		padding: 10px;
	}




	/* -- ul, li -------------------------------------------------------------------------------- */
	form#mail_form ul li label {
		padding: 10px;
	}

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

	form#mail_form input[name="company"] {
		width: calc(100% - 20px);
	}

	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: calc(47.5% - 20px);
	}

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

	form#mail_form input[name="postal"] + a {
		width: calc(47.5% - 20px);
		padding: 10px ;
	}



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

	form#mail_form input[type="button"] {
		width: calc(100% - 20px);
		padding: 10px;
	}

}


#thanks-box{
	padding: 25px;
}

#thanks-naiyou{
	position: relative;
	margin-top: -80px;
	border: solid 1px #af1f24;
	border-radius: 3px;
	background: #fff;
	padding: 25px;
	color: #000;
}

#thanks-naiyou h1{
	font-size: 5vw;
	font-weight: bold;
	font-family: "ヒラギノ角ゴ Pro W3";
	text-align: center;
	color: #660102;
	border-bottom: solid 1px #af1f24;
	padding-bottom: 15px;
	line-height: 1.5rem;
	margin-bottom: 25px;
}

#thanks-naiyou p{
	font-size: 4vw;
	font-family: "ヒラギノ角ゴ Pro W3";
	line-height: 1.5rem;
	text-align: justify;
	margin-bottom: 25px;
}

#thanks-naiyou .thanks-p-last{
	margin-bottom: 0;
}

.thanks-btn{
	position: relative;
	display: block;
	background: #af1f24;
	color: #fff;
	font-family: "ヒラギノ角ゴ Pro W3";
	padding: 25px;
	text-align: center;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: bold;
	margin-top: 25px;
	margin-bottom: -25px;
}

@media screen and ( min-width: 700px ) {

	#thanks-box{
		padding: 50px;
	}

	#thanks-naiyou{
		padding: 30px;
	}

	#thanks-naiyou h1{
		font-size: 32px;
		padding-bottom: 20px;
		line-height: 2.5rem;
		margin-bottom: 30px;
	}

	#thanks-naiyou p{
		font-size: 21px;
		line-height: 1.8rem;
		margin-bottom: 30px;
	}

	#thanks-naiyou .thanks-p-last{
		margin-bottom: 0;
	}

	.thanks-btn{
		padding: 25px;
		font-size: 16px;
		margin-top: 25px;
		margin-bottom: -25px;
	}

}


@media screen and ( min-width: 1200px ) {

	#thanks-box{
		padding: 50px 17.5%;
	}

	.thanks-btn{
		padding: 25px;
		font-size: 16px;
		margin-top: 25px;
		margin-bottom: -25px;
	}
	.thanks-btn:hover{
		transition: 0.3s;
		background: #ccb111;
	}

}












