/* お問い合わせフォーム（contact/ 内だけで使う。.contact の中にだけ効く） */

.contact { max-width: 680px; margin: 0 auto; font-size: 15px; line-height: 1.8; }
.contact p { margin: 0 0 0.8em; }
.contact-lead { margin-bottom: 2em; }
.contact-done { font-size: 18px; font-weight: bold; }

.contact-row { margin-bottom: 1.4em; }
.contact-row > label { display: block; margin-bottom: 0.3em; font-weight: bold; }
.contact-req,
.contact-opt { display: inline-block; margin-left: 0.6em; padding: 0 0.5em; border-radius: 3px; font-size: 12px; font-weight: normal; line-height: 1.7; vertical-align: 1px; }
.contact-req { background: #c0392b; color: #fff; }
.contact-opt { background: #ddd; color: #333; }

.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact select,
.contact textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #aaa;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font-size: 16px; /* iPhone で入力時に拡大されないよう16px以上 */
	font-family: inherit;
	line-height: 1.5;
}
.contact textarea { resize: vertical; min-height: 10em; }
.contact input:focus,
.contact select:focus,
.contact textarea:focus { outline: 2px solid #2c6fb7; outline-offset: 1px; border-color: #2c6fb7; }

.contact-error { margin: 0.4em 0 0; color: #c0392b; font-weight: bold; }

.contact-privacy { margin: 2em 0 1em; padding: 1em 1.2em; border: 1px solid #ccc; border-radius: 4px; background: #f7f7f7; font-size: 14px; }
.contact-privacy p { margin: 0 0 0.5em; }
.contact-privacy p:last-child { margin-bottom: 0; }
.contact-privacy-title { font-weight: bold; }

.contact-agree label { font-weight: bold; cursor: pointer; }
.contact-agree input { width: 18px; height: 18px; margin: 0 0.3em 0 0; vertical-align: -3px; }

.contact-buttons { margin-top: 2em; text-align: center; }
.contact-btn {
	display: inline-block;
	min-width: 200px;
	margin: 0 0.5em 0.8em;
	padding: 14px 24px;
	border: 0;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	font-family: inherit;
	cursor: pointer;
}
.contact-btn-main { background: #2c6fb7; color: #fff; }
.contact-btn-main:hover { background: #1f5591; }
.contact-btn-sub { background: #e5e5e5; color: #333; }
.contact-btn-sub:hover { background: #d5d5d5; }

.contact-confirm { width: 100%; margin-bottom: 1em; border-collapse: collapse; }
.contact-confirm th,
.contact-confirm td { padding: 10px 12px; border: 1px solid #ccc; text-align: left; vertical-align: top; }
.contact-confirm th { width: 32%; background: #f2f2f2; font-weight: bold; white-space: nowrap; }
.contact-confirm td { background: #fff; word-break: break-all; }

/* 機械向けのおとりの欄（人には見えない） */
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media screen and (max-width: 600px) {
	.contact-confirm th,
	.contact-confirm td { display: block; width: auto; border-top: 0; }
	.contact-confirm tr:first-child th { border-top: 1px solid #ccc; }
	.contact-btn { display: block; width: 100%; min-width: 0; margin: 0 0 0.8em; }
}
