@charset "UTF-8";
/*--------------------------------------------------
	お問い合わせフォーム専用CSS（contact.php のテンプレートのみ読み込み）
	トップページ改修と切り離して公開するため style.css から分離。
	トップ改修の本番反映時に style.css へ統合してもよい。
--------------------------------------------------*/
#contact .mainimg .mainimg_box .lead h1 {
	font-size: 3.2rem;
}
@media print, screen and (min-width: 600px) {
	#contact .mainimg .mainimg_box .lead h1 {
		font-size: 3.4rem;
	}
}
#contact .s2 .tel_card {
	padding: 20px 16px;
	margin: 0 0 24px;
	text-align: center;
	background-color: #eaf1ee;
	border-radius: 6px;
}
#contact .s2 .tel_card_note {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	font-size: 1.4rem;
	font-weight: bold;
	color: #ec1a46;
}
#contact .s2 .tel_card_note .ico {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	font-size: 1.2rem;
	color: #fff;
	background-color: #ec1a46;
	border-radius: 50%;
}
#contact .s2 .tel_card_btn {
	display: block;
	padding: 14px 16px;
}
#contact .s2 .tel_card_btn img {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin: 0 auto;
}
@media print, screen and (min-width: 600px) {
	#contact .s2 .tel_card {
		max-width: 600px;
		margin: 0 auto 32px;
		padding: 32px 40px;
	}
	#contact .s2 .tel_card_note {
		font-size: 1.6rem;
	}
	#contact .s2 .tel_card_btn {
		padding: 20px;
	}
	#contact .s2 .tel_card_btn img {
		max-width: 480px;
	}
	#contact .s2 .tel_card_btn:hover {
		opacity: 0.85;
	}
}
/*お問い合わせフォーム*/
#contact .s2 {
	padding: 16px 16px 0;
}
#contact .s2 h2 {
	margin-bottom: 24px;
}
#contact .sec_content div.alert,
#contact .sec_content div.alert a {
	padding: 4px 0;
	color: #ec1a46;
	font-weight: bold;
}
#contact .sec_content div.alert.formalert {
	margin: 0 16px 16px;
	line-height: 1.5;
	text-decoration: underline;
}
#contact .s2 form {
	padding: 24px 0;
	background-color: #fff;
	border: 1px solid #d7e5df;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(64, 99, 84, 0.08);
}
#contact .s2 form table {
	width: 90%;
	margin: 0 auto 24px;
	font-size: 1.5rem;
	font-family: "游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS P Gothic",sans-serif;
}
#contact .s2 form table tr th,
#contact .s2 form table tr td {
	display: block;
	padding: 8px 12px 10px;
	border: 1px solid #d7e5df;
	border-width: 1px 0 0;/*SP表示はセル下のボーダーを*/
}
#contact .s2 form table tr th {
	position: relative;
	text-align: left;
	background-color: #eaf1ee;
}
#contact .s2 form table tr td {
	padding: 8px 0 24px;
}
#contact .s2 form table tr:last-of-type td {
	border-width: 1px 0 1px;
}
#contact .s2 form table tr th span.required,
#contact .s2 .agreement span.required {/*92x48*/
	float: right;
	display: block;
	width: 46px;
	height: 24px;
	text-indent: -7777px;
	overflow: hidden;
	background: url('../img/product/ico_required.png') 0 0/100% auto no-repeat;
}
#contact .s2 .agreement span.required {
	float: none;
	display: inline-block;
	vertical-align: middle;
	margin-left: 6px;
}
#contact .s2 form input[type=text],
#contact .s2 form input[type=email],
#contact .s2 form textarea {
	width: 100%;
	padding: 6px 14px 8px;
	box-sizing: border-box;
	border: 1px solid #cbd6d2;
	border-radius: 4px;
}
#contact .s2 form input[type=text]::placeholder,
#contact .s2 form input[type=email]::placeholder,
#contact .s2 form textarea::placeholder {
	color: #b7c4bf;
	font-size: 1.5rem;
}
#contact .s2 form input[type=radio] {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0 8px 0 0;
	background-color: #fff;
	border: 2px solid #b7c4bf;
	border-radius: 50%;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color 0.15s ease;
}
#contact .s2 form input[type=radio]:checked {
	background: #fff radial-gradient(#406354 0%, #406354 40%, transparent 44%) center/100% no-repeat;
	border-color: #406354;
}
#contact .s2 form ul.radio {
	padding: 0 8px;
	margin-bottom: 10px;
}
#contact .s2 form ul.radio li {
	margin-bottom: 4px;
}
#contact .s2 form ul.radio li label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	cursor: pointer;
}
#contact .s2 .heardother_wrap {
	margin: 8px 0 0;
}
#contact .s2 .agreement {
	width: 90%;
	padding: 12px 16px;
	margin: 0 auto 24px;
	box-sizing: border-box;
	font-size: 1.4rem;
	line-height: 1.6;
	text-align: center;
	border: 1px solid #d7e5df;
	border-radius: 8px;
}
#contact .s2 .agreement input[type=checkbox] {
	margin-right: 6px;
}
#contact .s2 .agreement a {
	text-decoration: underline;
}
#contact .s2 form ul.submit {
	width: 90%;
	margin: 0 auto 24px;
}
#contact .s2 form ul.submit li input[type=submit] {
	display: block;
	width: 100%;
	padding: 18px 0 16px;
	box-sizing: border-box;
	font-size: 5vw;
	font-weight: bold;
	color: #fff;
	border: 0;
	border-radius: 6px;
	background: #406354 url(../img/arr_01.png) 94% 50%/auto 32% no-repeat;
}
#contact .s2 form ul.submit li.back input[type=submit] {
	background-color: #7c9c8f;
	background-image: url(../img/arr_01_back.png);
	background-position: 6% 50%;
}
@media print, screen and (min-width: 600px) {
	#contact .sec_content div.alert,
	#contact .sec_content div.alert a {
		width: 704px;
		margin: 0 auto;
	}
	#contact .sec_content div.alert.formalert {
		margin: 0 auto 24px;
		text-align: center;
	}
	#contact .sec_content div.alert.formalert:hover {
		text-decoration: none;
	}
	#contact .s2 {
		padding: 0;
	}
	#contact .s2 .sec_content {
		width: 816px;
		margin: 0 auto;
	}
	#contact .s2 h2 {
		font-size: 3.6rem;
	}
	#contact .s2 form table {
		width: 92%;
		margin: 0 auto 32px;
	}
	#contact .s2 form table tr th,
	#contact .s2 form table tr td {
		display: table-cell;
	}
	#contact .s2 form table tr th {
		width: 34%;
	}
	#contact .s2 form table tr td {
		padding: 8px 0 10px 12px;
	}
	#contact .s2 form input[type=text],
	#contact .s2 form input[type=email] {
		width: 60%;
	}
	#contact .s2 .agreement {
		width: 92%;
	}
	#contact .s2 form ul.submit {
		width: 92%;
	}
	#contact .s2 form ul.submit li input[type=submit] {
		font-size: 2.4rem;
	}
	#contact .s2 form ul.submit li input[type=submit]:hover {
		cursor: pointer;
		background-color: #4f876f;
		background-position: 95% 50%;
	}
	#contact .s2 form ul.submit.confirm {
		display: flex;
		flex-flow: wrap;
		justify-content: space-between;
	}
	#contact .s2 form ul.submit.confirm li {
		width: 49%;
	}
	#contact .s2 form ul.submit.confirm li.back input[type=submit]:hover {
		background-color: #9db4a9;
		background-position: 5% 50%;
	}
}
/* SPAM対策（ハニーポット）：画面外に出して人には見えないようにする */
#contact .s2 .hp_field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
