@charset "UTF-8";



.contact-index-btn {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 60px auto;
}
.contact-index-btn li {
	width: 48%;
	border: solid 1px #000;
	padding: 20px;
	min-height: 160px;
	position: relative;
	display: flex;  
	align-items: center;
	justify-content: center;
}
.contact-index-btn li p {
	position: relative;
	text-align: center;
}
.contact-index-btn li p span {
	font-size: 18px;
}
.contact-index-btn li:after {
	width: 12px;
	height: 8px;
	background-image: url("../img/common_img/arrow-black.svg");
	right: 10px;
	bottom: 10px;
	transition: all .4s;
}
@media (hover: hover) {
	.contact-index-btn li:hover:after {
		background-image: url("../img/common_img/arrow-green.svg");
		animation: moveRight .4s ease-in-out;
	}
}
@keyframes moveRight {
  from {
		opacity: 0;
    right: 20px;
  }
  to {
		opacity: 1;
    right: 20px;
  }
}
@media screen and (max-width: 834px) {
	.contact-index-btn {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin: 30px auto;
	}
	.contact-index-btn li {
		width: 100%;
		border: solid 1px #000;
		padding: 15px;
		min-height: 100px;
		position: relative;
		display: flex;  
		align-items: center;
		justify-content: center;
		margin-bottom: 20px;
	}
	.contact-index-btn li p {
		line-height: 1.6em;
	}
	.contact-index-btn li p span {
		font-size: 16px;
	}
}
/* 全体のレイアウト */

#contactForm {
	width: 100%;
	margin: 0 auto;
}
.contact .page-ttl ~ .content {
	padding-bottom: 100px;
}
.form-top-txt {
	text-align: center;
	padding: 20px 0 20px;
}
.form-bottom-txt {
	text-align: center;
	padding: 0 0 50px;
}
.form-bottom-txt a {
	text-decoration: underline;
}
/* 上部警告メッセージ */
.form-warning {
	display: none;
  background-color: #FFFBFA;
  border: 1px solid #E2521D;
  padding: 10px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 0.95em;
}
.form-warning p {
	 color: #E2521D;
}
.error-open .form-warning {
	display: block;
}
/* テーブルのレイアウト */
.form-table table {
  width: 100%;
  border-spacing: 10px 15px;
	margin-bottom: 50px;
}
.form-table table tr {
	display: flex;
	flex-wrap: wrap;
}
.form-table table tr th,
.form-table table tr td {
  text-align: left;
	padding: 25px 15px;
}
.form-table table tr th {
	width: 25%;
	color: #39992D;
	border-bottom: solid 1px #39992D;
}
.form-table table tr th label {
	color: #39992D;	
}
.form-table table tr td {
	width: 75%;
	border-bottom: solid 1px #000;
}
#contactForm textarea {
	min-height: 150px;
}
#contactForm textarea, 
#contactForm input[type="text"], 
#contactForm input[type="email"], 
#contactForm input[type="tel"] {
  width: 100%;
  padding: 15px;
  border: 1px solid #8F8F8F;
  border-radius: 5px;
  box-sizing: border-box;
	font-size: 140%;
}
#contactForm.error-open textarea,
#contactForm.error-open input:required {
  width: 100%;
  padding: 15px;
  border: 1px solid #E2521D;
  border-radius: 5px;
  box-sizing: border-box;
	font-size: 140%;
}
/* 必須項目のマーク */
.required {
  color: #E2521D;
}
/* エラーメッセージ */
.error-message {
  display: none;
  color: #E2521D;
}
#contactForm input:invalid + .error-message,
#contactForm textarea:invalid + .error-message {
  display: none;
}
#contactForm.error-open input:invalid + .error-message,
#contactForm.error-open textarea:invalid + .error-message {
	display: block;
}
/* ボタンのスタイル */

.contact-button {
	width: 80%;
	max-width: 550px;
	padding: 20px 0;
	background-size: 250% auto;
	background-image: linear-gradient(135deg, rgba(61,160,49,1.00) 0%, rgba(132,194,97,1.00) 40%, rgba(61,160,49,1.00) 60%, rgba(0,52,0,1.00) 100%);
	background-position: center right;
	border: none;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	color: #FFF;
	font-size: 16px;
	line-height: 1.4em;
	transition: all .5s;
	cursor: pointer;
	font-family: "Zen Kaku Gothic New", sans-serif;
}
.contact-button:before {
	width: 12px;
	height: 8px;
	background-image: url("../img/common_img/arrow-white.svg");
	right: 10px;
	bottom: 10px;
	transition: all .4s;
}
.back-txt-link {
	text-align: center;
	font-size: 120%;
	padding: 20px 0;
}
.back-txt-link a {
	text-decoration: underline;
}
.complete-message {
	padding: 50px 0 100px;
}
.complete-message .complete-txt {
	text-align: center;
	font-size: 40px;
	color: var(--main-color);
	font-family: var(--en-font);
}
.complete-message p:not([class]) {
	text-align: center;
	padding-bottom: 2em;
}
@media (hover: hover) {
	.contact-button:hover {
		background-position: center left;
	}
	.contact-button:hover:before {
		animation: moveRight .4s ease-in-out;
	}
	.back-txt-link a:hover {
		text-decoration: none;
	}
}

@keyframes moveRight {
  from {
		opacity: 0;
    right: 15px;
  }
  to {
		opacity: 1;
    right: 10px;
  }
}
@media (hover: hover) {
	.form-bottom-txt a:hover {
		text-decoration: none;
	}

}
@media screen and (max-width: 834px) {
	#contactForm {
		width: 100%;
		margin: 0 auto;
	}
	.contact .page-ttl ~ .content {
		padding-bottom: 100px;
	}
	.form-top-txt {
		text-align: center;
		padding: 10px 0 10px;
	}
	.form-bottom-txt {
		text-align: center;
		padding: 0 0 50px;
	}
	.form-bottom-txt a {
		text-decoration: underline;
	}
	/* 上部警告メッセージ */
	.form-warning {
		display: none;
		background-color: #FFFBFA;
		border: 1px solid #E2521D;
		padding: 10px 20px;
		margin-bottom: 15px;
		border-radius: 5px;
		font-size: 0.95em;
	}
	.form-warning p {
		 color: #E2521D;
	}
	.error-open .form-warning {
		display: block;
	}
	/* テーブルのレイアウト */
	.form-table table {
		width: 100%;
		border-spacing: 10px 15px;
		margin-bottom: 50px;
	}
	.form-table table tr {
		display: flex;
		flex-wrap: wrap;
	}
	.form-table table tr th,
	.form-table table tr td {
		text-align: left;
	}
	.form-table table tr th {
		width: 100%;
		color: #39992D;
		border-bottom: none;
		padding: 10px 0 5px;
	}
	.form-table table tr th label {
		font-size: 110%;
		color: #39992D;	
	}
	.form-table table tr td {
		width: 100%;
		border-bottom: solid 1px #BEBEBE;
		padding: 5px 0 10px;
		font-size: 100%;
	}
	#contactForm textarea, 
	#contactForm input[type="text"], 
	#contactForm input[type="email"], 
	#contactForm input[type="tel"] {
		width: 100%;
		padding: 15px;
		border: 1px solid #8F8F8F;
		border-radius: 5px;
		box-sizing: border-box;
		font-size: 120%;
	}
	#contactForm.error-open textarea,
	#contactForm.error-open input:required {
		width: 100%;
		padding: 15px;
		border: 1px solid #E2521D;
		border-radius: 5px;
		box-sizing: border-box;
		font-size: 140%;
	}
	/* 必須項目のマーク */
	.required {
		color: #E2521D;
	}
	/* エラーメッセージ */
	.error-message {
		display: none;
		color: #E2521D;
	}
	#contactForm input:invalid + .error-message,
	#contactForm textarea:invalid + .error-message {
		display: none;
	}
	#contactForm.error-open input:invalid + .error-message,
	#contactForm.error-open textarea:invalid + .error-message {
		display: block;
	}
	/* ボタンのスタイル */

	.contact-button {
		width: 100%;
		max-width: 550px;
		padding: 20px 0;
		background-size: 250% auto;
		background-image: linear-gradient(135deg, rgba(61,160,49,1.00) 0%, rgba(132,194,97,1.00) 40%, rgba(61,160,49,1.00) 60%, rgba(0,52,0,1.00) 100%);
		background-position: center right;
		border: none;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
		text-align: center;
		color: #FFF;
		font-size: 16px;
		line-height: 1.4em;
		transition: all .5s;
		cursor: pointer;
	}
	.contact-button:before {
		width: 12px;
		height: 8px;
		background-image: url("../img/common_img/arrow-white.svg");
		right: 10px;
		bottom: 10px;
		transition: all .4s;
	}

	.complete-message {
		padding: 20px 0 0;
	}
	.complete-message .complete-txt {
		text-align: center;
		font-size: 30px;
		color: var(--main-color);
		font-family: var(--en-font);
	}
}
