@charset "utf-8";


.content-inbody {
	width: 100%;
}

.content-inbody .box {
	color: #FFF;
	position: relative;
	width: 80%;
	max-width: 1000px;
	margin: 0 auto;
	text-align: left;
	margin-bottom: 100px;
}

.box-contact p {
	margin-bottom: 60px;
}

.txt-link {
	text-align: center;
	padding: 0 0 10px 80px;
	font-size: 20px;
	display: inline-block;
	position: relative;
}

.txt-link::before {
	content: '';
	display: inline-block;
	width: 50px;
	height: 50px;
	background-image: url("../img/contact/icon_mail.svg");
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
	position: absolute;
	top:10px;
	left: 0;
}

.txt-link::after {
	content: '';
	position: absolute;
	left: 70px;
	bottom: 0;
	display: block;
	width: 0px;
	height: 1px;
	background: #FFF;
	transition: .3s;
}

.txt-link:hover::after {
	width: calc(100% - 60px);
}

.form {
	margin-bottom: 40px;
	position: relative;
}

.form .form-tit {
	width: 35%;
	display: inline-block;
	margin-bottom: 20px;
	padding-top: 10px;
	position: absolute;
	top:0;
}

.form-ip .form-tit::after {
	content: '必須';
	display: inline-block;
	width: 44px;
	padding: 4px 5px 4px;
	border: 1px solid #F7F7F7;
	border-radius: 4px;
	text-align: center;
	font-size: 13px;
	margin-left: 10px;
}

.form textarea.form-txtarea,
.form input.form-txt {
	background: #FFF;
	padding: 10px;
	color: #111;
	font-size: 18px;
	border-radius: 4px;
	width: 65%;
	transition: .3s;
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
	position: relative;
	margin-left: 35%;
}

.form .form-txtarea:focus,
.form .form-txt:focus {
	outline: none;
}

/****************************************************/
.formError {
	top: 0px;
	right: 0px;
	z-index: 10;
    animation: error_msg .3s ease forwards;
}

@keyframes error_msg {
  0% {
	right: -20px;
	opacity: 0;
  }
  100% {
	right: 0px;
	opacity: 1 !important;
  }
}

.formError::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 6px 5px 0;
	border-color: transparent rgba(240,84,114,0.9) transparent transparent;
	position: absolute;
	top:calc(50% - 3px);
	left: -6px;
}

.formErrorContent {
	display: inline-block;
	padding: 15px 30px 14px 15px;
	background: rgba(240,84,114,0.9);
	font-size: 13px;
	position: relative;
	border-radius: 4px;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.messageformError .formErrorContent {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 0;
}

.formErrorContent::before,
.formErrorContent::after {
	content: '';
	display: block;
	position: absolute;
	width: 12px;
	height: 2px;
	background: #FFF;
	top:12px;
	right: 8px;
}

.formErrorContent::before {	transform: rotate(45deg);}
.formErrorContent::after {	transform: rotate(-45deg);}

/****************************************************/

.box-co .form p.form-txt {
	display: inline-block;
	border: 1px solid #F7F7F7;
	padding: 20px;
	border-radius: 4px;
	width: calc(65% - 5px);
	margin-left: 35%;
}

.form-btn {
	margin-bottom: 0 !important;
}

.btn-back,
.btn-form {
	left: calc( 50% - 190px );
}

.box-co .btn-form {
	margin-bottom: 30px;
}

.btn-back {
	position: relative;
	display: block;
	width: 380px;
	padding: 30px 0;
	text-align: center;
	background: #FFF;
	margin-bottom: 15px;
	border-radius: 100px;
	color: #111;
	transition: .3s;
}

.btn-back:hover {
	-webkit-filter:drop-shadow(0 15px 10px rgba(169, 24, 250, 0.5));
	-moz-filter:drop-shadow(0 15px 10px rgba(88, 8, 250, 0.5));
	-ms-filter:drop-shadow(0 15px 10px rgba(88, 8, 250, 0.5));
	filter:drop-shadow(0 15px 10px rgba(61, 4, 255, 0.3));
}

.btn-back::before {
	content: '';
	display: block;
	position: absolute;
	top:45px;
	width: 80%;
	height: 1px;
	background: #111;
	transition: .3s;
	animation: btn_back_mo .4s ease forwards;
}

.btn-back:hover::before {
    animation: btn_back .4s ease forwards;
}

@keyframes btn_back {
  0% {
    width: 10%;
	right: 10%;
	opacity: 1;
  }
  50% {
    width: 80%;
	right: 10%;
	opacity: .1;
  }
  100% {
    width: 10%;
	right: 80%;
	opacity: 1;
  }
}

@keyframes btn_back_mo {
  0% {
    width: 10%;
	left: 10%;
	opacity: 1;
  }
  50% {
    width: 80%;
	left: 10%;
	opacity: .1;
  }
  100% {
    width: 10%;
	left: 80%;
	opacity: 1;
  }
}

.btn-back::after {
	position: absolute;
	content: '';
	display: block;
	left: 10%;
	top:calc(50% - 0px);
	width: 1px;
	height: 1px;
	transition: .3s;
	-webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
	background: #111;
	opacity: 0;
}

.btn-back:hover::after {
	top:calc(50% - 3px);
	width: 10px;
	height: 1px;
	background: #111;
	opacity: 1;
}

@media(max-width:1000px){
	.content-inbody .box h2 br,
	.content-inbody .box p br {
		display: none;
	}
	.box-contact .box-txt {
		margin: 0 0 80px 0 !important;
		min-height: inherit;
	}
	.content-inbody .box-txt p {
		width: 100%;
	}
	.form .form-tit,
	.form .form-txtarea,
	.form .form-txt {
		width: 100% !important;
		margin-left: 0 !important;
		position: relative;
	}
	.form .form-tit {
		display: block;
		height: 45px;
	}
	.formError {
		top: 65px;
	}
}

@media(max-width:600px){
	.content-inbody .box {
		margin-bottom: 50px;
	}
	.box-contact {
		margin-bottom: 80px !important;
	}
	.box-contact p {
		margin-bottom: 30px;
	}
	.form {
		margin-bottom: 30px;
	}
	.form .form-tit{
		margin-bottom: 10px;
	}
	.btn-form,
	.btn-back {
		left: 0;
	}
	.btn-back {
		width: 100%;
	}
	.formError {
		top: 55px;
	}
}