@charset "UTF-8";
/* メールフォーム（contact-general.html / contact-offer.html）追加分
   既存の mailstyle-table.css を土台に、email・tel 欄とスマホ幅を補う */

/* ハニーポット（ボット対策。display:none は使わない） */
.mailform-hp {
	position: absolute;
	left: -9999px;
}

.mailform-lead {
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	line-height: 1.8;
}

/* email・tel も text と同じ見た目に。幅は枠からはみ出さない */
#formWrap input[type="text"],
#formWrap input[type="email"],
#formWrap input[type="tel"] {
	-webkit-appearance: none;
	box-sizing: border-box;
	width: 100%;
	max-width: 50rem;
	height: 4rem;
	background: #fff;
	border: 1px solid #bebebe;
	border-radius: 5px;
	font-size: 1.6rem;
	padding: 0 0.7em;
	text-indent: 0;
}
#formWrap input[type="email"]:focus,
#formWrap input[type="tel"]:focus {
	background: #fff0f5;
	border: 1px solid #D49FC2;
}
#formWrap textarea {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	font-size: 1.6rem;
	line-height: 1.6;
}
#formWrap table.table-form th span.formred {
	display: inline-block;
	margin-top: 0.3rem;
}
.mailform-submit {
	margin-top: 3rem;
}
#formWrap input.formbtn {
	width: auto;
	min-width: 20rem;
	padding: 0 3rem;
	border-radius: 5px;
}

@media screen and (max-width: 500px) {
	.mailform-lead {
		font-size: 1.4rem;
	}
	#formWrap input[type="text"],
	#formWrap input[type="email"],
	#formWrap input[type="tel"],
	#formWrap textarea {
		max-width: none;
	}
}
