@charset "utf-8";

/* contact/css/style.css
 * **************************************************
 * **************************************************
 */

dl {
	align-items: center;
	display: flex;
	font-size: 15px;
}

.confirm dl {
	margin: 40px 0 0 0;
	line-height: 1.8;
}

dl dt {
	letter-spacing: 0.02em;
	padding: 0 30px 0 0;
	text-align: right;
	width: 120px;
}

dl dt span {
	color: #A38A77;
	margin-left: 0.5em;
}

dl dd {
	padding: 10px 0;
	width: 680px;
}

dl dd .error {
	color: #A38A77;
	display: block;
	font-size: 0.9em;
	margin: 0.6em 0 0 0;
}

dl dd input[type="text"],
dl dd input[type="email"] {
	border: 1px solid #c6c6c6;
	border-radius: 0;
	height: 60px;
	outline: none;
	padding: 0 1em;
	width: 100%;
}

dl dd textarea {
	border: 1px solid #c6c6c6;
	border-radius: 0;
	height: 254px;
	line-height: 1.6;
	outline: none;
	padding: 1em;
	width: 100%;
}

input[type="submit"] {
	background-color: #ffffff;
	border: 1px solid #c6c6c6;
	border-radius: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font-size: 15px;
	height: 60px;
	line-height: 58px;
	margin: 120px auto 0;
	outline: none;
	text-align: center;
	transition: .3s;
	width: 200px;
}

input[type="submit"]:hover {
	background-color: #515151;
	color: #ffffff;
}

/* buttons */
.buttons {
	display: flex;
	justify-content: space-between;
}

.buttons form {
	display: inline-block;
}

/* error-message */
.error-message {
	color: #A38A77;
	margin: 0 0 20px 120px;
}

.error-message ul li::before {
	content: '・';
}

/* Media Queries
-------------------------------------------------- */

@media only screen and (max-width: 767px) {

	dl {
		display: block;
	}

	dl+dl,
	.confirm dl {
		margin-top: 30px;
	}

	dl dt {
		padding: 0;
		text-align: left;
		width: 100%;
	}

	dl dd {
		width: 100%;
	}

	dl dd input[type="text"],
	dl dd input[type="email"] {
		height: 40px;
	}

	dl dd textarea {
		height: 225px;
	}

	input[type="submit"] {
		height: 40px;
		line-height: 38px;
		margin-top: 50px;
		width: 125px;
	}

	/* error-message */
	.error-message {
		margin-left: 0;
	}
}