@charset "utf-8";

#form {
	background: #fff;
	padding: 30px 40px;
	border: 4px solid #781e14;
}

.form-contact {
	display: flex;
	justify-content: space-between;
	/* align-items: center; */
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.form-contact dt {
	display: flex;
	background: #781e14;
	flex-shrink: 0;
	width: 38%;
	margin-top: 15px;
	padding: 15px;
	color: #fff;
	font-weight: bold;
	letter-spacing: 0.1em;
}

.form-contact dt span {
	margin-left: auto;
	color: #faf096;
	font-size: 16px;
	font-weight: normal;
}

.form-contact dd {
	flex-shrink: 0;
	width: 60%;
	margin-top: 15px;
}

textarea {
	resize: vertical;
	width: 100%;
	height: 200px;
}

input,
textarea {
	border: 1px solid #ccc;
	padding: 15px;
	font-size: 100%;
	font-weight: 400;
	border-radius: 3px;
}

input[type=submit] {
	display: block;
	background: #1e5a1e;
	max-width: 480px;
	margin: 30px auto 0;
	padding: 25px;
	font-size: 22px;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1em;
	cursor: pointer;
	border: none;
}

input:hover[type=submit] {
	opacity: 0.7;
}

.thanks-box {
	background: #fff;
	margin: 80px auto;
	padding: 50px 30px;
	border: 4px solid #781e14;
}

p.thanks-title {
	font-size: 24px;
	font-weight: bold;
	text-align: center !important;
}

p.thanks-text {
	margin: 5px 0 0;
	font-size: 18px;
	text-align: center;
}

@media screen and (max-width:767px) {
	#form {
		padding: 3%;
		border: 0.5vw solid #781e14;
	}

	.form-contact {
		margin-bottom: 2%;
	}

	.form-contact dt {
		width: 100%;
		margin-top: 2%;
		padding: 2%;
		color: #fff;
	}

	.form-contact dt span {
		font-size: 100%;
	}

	.form-contact dd {
		width: 100%;
		margin-top: 2%;
	}

	textarea {
		height: 150px;
	}

	input,
	textarea {
		padding: 2%;
	}

	input[type=submit] {
		max-width: 100%;
		margin: 2% 0 0;
		padding: 4% 2%;
		font-size: 100%;
	}

	.thanks-box {
		margin: 80px auto 30px;
		padding: 30px;
		border: 0.5vw solid #781e14;
	}

	p.thanks-title {
		font-size: 5vw;
	}

	p.thanks-text {
		margin-top: 10px;
		font-size: 3vw;
		text-align: left !important;
	}
}