@charset "UTF-8";

/* =========================================
   ライフプラザ新緑 お問い合わせフォーム用CSS
   ========================================= */

.contact-note {
	margin: 0 0 20px;
}


/* 必須表示 */
.contact-required {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 5px;
	color: #fff;
	background: #c33;
	border-radius: 3px;
	font-size: 0.8em;
	font-weight: normal;
	line-height: 1.4;
	vertical-align: middle;
}


/* =========================================
   お問い合わせフォーム表
   外周4辺＋内部すべてに枠線を表示
   ========================================= */

.contact-form-table {
	width: 100%;
	max-width: 100%;
	margin: 20px 0 10px;

	/* 外周の枠線 */
	border: 1px solid #999;

	/* セルの枠線を重ねて1本にする */
	border-collapse: collapse;
	border-spacing: 0;

	table-layout: fixed;
	box-sizing: border-box;
}


/* th・td共通 */
.contact-form-table th,
.contact-form-table td {
	box-sizing: border-box;
	padding: 12px;
	vertical-align: top;

	/* 4方向すべてに枠線 */
	border: 1px solid #999;
}


/* 左側の項目名 */
.contact-form-table th {
	width: 150px;
	background: #f4f4f4;
	text-align: left;
	font-weight: bold;
}


/* 右側の入力欄 */
.contact-form-table td {
	width: auto;
	min-width: 0;
	overflow: visible;
}


/* =========================================
   入力欄
   ========================================= */

.contact-form-table input[type="text"],
.contact-form-table input[type="email"],
.contact-form-table textarea {
	display: block;

	width: 100%;
	max-width: 100%;
	min-width: 0;

	margin: 0;
	padding: 10px;

	border: 1px solid #bbb;
	border-radius: 3px;

	background: #fff;
	color: #333;

	font: inherit;
	line-height: 1.6;

	box-sizing: border-box;
}


/* お問い合わせ内容 */
.contact-form-table textarea {
	min-height: 220px;
	resize: vertical;
}


/* 入力中 */
.contact-form-table input:focus,
.contact-form-table textarea:focus {
	border-color: #6bae26;
	outline: 2px solid rgba(107, 174, 38, 0.2);
}


/* 補足説明 */
.contact-help {
	margin-top: 6px;
	color: #666;
	font-size: 0.9em;
}


/* =========================================
   エラーメッセージ
   ========================================= */

.contact-errors {
	margin: 0 0 20px;
	padding: 12px 15px;

	border: 1px solid #d99;
	background: #fff5f5;
	color: #900;
}


.contact-errors ul {
	margin: 0;
	padding-left: 20px;
}


/* =========================================
   送信完了
   ========================================= */

.contact-success {
	margin: 20px 0;
	padding: 20px;

	border: 1px solid #9acb9a;
	background: #f4fff4;
}


/* =========================================
   プライバシー
   ========================================= */

.contact-privacy {
	margin: 20px 0;
	padding: 15px;

	background: #f8f8f8;
	font-size: 0.9em;
}


/* =========================================
   送信ボタン
   ========================================= */

.contact-submit {
	margin: 25px 0 15px;
	text-align: center;
}


.contact-submit button {
	min-width: 220px;
	padding: 12px 30px;

	border: 1px solid #5b9820;
	border-radius: 4px;

	background: #6bae26;
	color: #fff;

	font: inherit;
	font-weight: bold;

	cursor: pointer;
}


.contact-submit button:hover {
	opacity: 0.85;
}


/* =========================================
   Honeypot
   ========================================= */

.contact-honeypot {
	position: absolute !important;
	left: -9999px !important;

	width: 1px !important;
	height: 1px !important;

	overflow: hidden !important;
}


/* =========================================
   スマートフォン
   ========================================= */

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

	.contact-form-table,
	.contact-form-table tbody,
	.contact-form-table tr,
	.contact-form-table th,
	.contact-form-table td {
		display: block;
		width: 100%;
	}


	/* 表全体の外周 */
	.contact-form-table {
		width: 100%;
		max-width: 100%;

		border: 1px solid #999;
		border-collapse: collapse;

		table-layout: auto;
		box-sizing: border-box;
	}


	/* スマホでも4方向すべてに枠線 */
	.contact-form-table th,
	.contact-form-table td {
		width: 100%;

		border: 1px solid #999;

		box-sizing: border-box;
	}


	/* 項目名 */
	.contact-form-table th {
		padding-bottom: 7px;
	}


	/* 入力部分 */
	.contact-form-table td {
		padding-top: 7px;
	}


	/* 送信ボタン */
	.contact-submit button {
		width: 100%;
		min-width: 0;
	}
}