@charset "UTF-8";
/*
 * お問い合わせ（CF7）調整 ※飯豊 /iide/contact/・米沢 /yonezawa/contact/ に同じものを設置
 * 入力欄の見た目は各サイトの既存 CSS（.contact .inner .form-area）を使う
 */

/* 既存 CSS が type="text" / "email" のみ指定のため、CF7 の [tel] にも同じ見た目を当てる */
.contact .inner .form-area input[type="tel"] {
	width: 100%;
	margin: 0 0 0.8em;
	padding: 1em;
	background: none;
	border: 1px solid #231815;
	border-radius: 0;
	outline: none;
	color: #231815;
	font-size: 16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* CF7 の span ラッパーをブロック化して入力欄の幅を維持 */
.contact .inner .form-area .wpcf7-form-control-wrap {
	display: block;
}

/* textarea の高さ（飯豊の /css/index.css「#SMIL .msg textarea」に揃える。CF7 既定の rows=10 だと高すぎるため） */
.contact .inner .form-area textarea {
	height: 160px;
}

/* エラー表示（旧 parsley のエラー色に合わせる） */
.contact .inner .form-area .wpcf7-not-valid {
	background: #F2DEDE !important;
	border: 1px solid #B94A48 !important;
}
.contact .inner .form-area .wpcf7-not-valid-tip {
	margin: -0.4em 0 0.8em;
	color: #B94A48;
	font-size: 13px;
	text-align: left;
}
.wpcf7 form .wpcf7-response-output {
	margin: 1em 0 0;
	padding: 0.8em 1em;
	font-size: 14px;
	text-align: center;
}
.contact .inner .form-area .wpcf7-spinner {
	display: block;
	margin: 0 auto;
}

@media screen and (min-width: 769px) {
	.contact .inner .form-area input[type="tel"] {
		font-size: 15px;
	}
}
