@charset "utf-8";
/*------------------------------------------------------------
	contact
------------------------------------------------------------*/
#main {
	margin-bottom: 11.5rem;
}
#main table {
	margin-bottom: 1.5rem;
	width: 100%;
	border-collapse: collapse;
}
#main table th,
#main table td {
	padding: 1rem 2.3rem 1rem 3.1rem;
	text-align: left;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	font-family: "Noto Serif JP", serif;
	vertical-align: top;
	word-break: break-all;
}
#main table th {
	padding: 1rem 0 1rem 2.5rem;
	width: 20%;
}
#main table input[type="text"],
#main table input[type="email"], 
#main table input[type="tel"],
#main table select, 
#main table textarea {
	padding: 0.5rem 0.5rem;
	width: 18.7rem;
	display: block;
	height: 2.5rem;
	color: #54552D;
	font-size: 1.4rem;
	border-radius: 0.3rem;
	border: 1px solid #949B5A;
	box-sizing: border-box;
	box-shadow: none;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	transform: .3s;
}
#main table .wid01 {
	width: 100%;
}
#main table .errorTxt {
	color: #f00;
}
#main table textarea {
	min-height: 19.5rem;
	resize: vertical;
}
#main .mailForm .submit {
	margin: 0 2.5rem;
	justify-content: right;
}
#main .mailForm .submit li {
	margin-left: 2rem;
}
#main .mailForm .submit input {
	width: 11.2rem;
    padding: 0.2rem 0 0.4rem;
    text-align: center;
	color: #54552D;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: "Noto Serif JP", serif;
	background-color: rgba(84, 85, 45, 0.13);
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
    border: 0;
	cursor: pointer;
	appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
	cursor: pointer;
}
/* thanksBox */
#main .thanksBox {
	margin: 8rem 0;
	min-height: calc(100vh - 34.8rem);
}
#main .thanksBox .title {
	margin-bottom: 4rem;
	text-align: center;
	font-size: 1.4rem;
	line-height: 2;
	letter-spacing: 0.13em;
}
#main .thanksBox .back {
	margin: 0 auto;
	width: 20rem;
}
#main .thanksBox .back a {
	padding: 1rem 0.5rem;
	text-align: center;
	font-size: 1.8rem;
	display: block;
	background-color: rgba(84, 85, 45, 0.13);
}
#main .thanksBox .back a:hover {
	opacity: 0.7;
}
@media all and (min-width: 897px) {
	#main .mailForm .submit input:hover {
		opacity: 0.7;
	}
}
@media all and (max-width: 896px) {
	#main {
		margin-bottom: 9rem;
	}
	#main table {
		margin-bottom: 1.5rem;
	}
	#main table th,
	#main table td {
		padding: 1rem 0 2.2rem;
		width: 100% !important;
		display: block;
		font-size: 1.825rem;
	}
	#main table th {
		padding: 0;
	}
	#main table input[type="text"],
	#main table input[type="email"], 
	#main table input[type="tel"],
	#main table select, 
	#main table textarea {
		padding: 0.5rem 1rem;
		width: 100%;
		display: block;
		height: 4.3rem;
		font-size: 1.825rem;
		border-radius: 0.6rem;
	}
	#main table textarea {
		min-height: 28.2rem;
	}
	#main .mailForm .submit {
		margin: 0 auto;
		display: block;
		text-align: center;
	}
	#main .mailForm .submit li {
		margin: 0 0 2rem;
	}
	#main .mailForm .submit li:last-child {
		margin-bottom: 0;
	}
	#main .mailForm .submit input {
		width: 45.5rem;
		padding: 1.2rem 0 1.3rem;
		font-size: 2.25rem;
	}
	/* thanksBox */
	#main .thanksBox {
		min-height: calc(100vh - 32.164rem);
	}
	#main .thanksBox .title {
		margin-bottom: 4rem;
		text-align: left;
		font-size: 2rem;
	}
	#main .thanksBox .back {
		width: 20rem;
	}
}