/* ==============================
	modelhouse tour LP form
	catalog1 form base
============================== */

.lp-modelhouse-form {
	width: 500px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 40px 80px;
	background: #f3f3f3;
	border-radius: 0;
	overflow: visible;
	box-sizing: border-box;
	color: #111;
	font-size: 1.6rem;
	line-height: 1.6;
}

.lp-modelhouse-form *,
.lp-modelhouse-form *::before,
.lp-modelhouse-form *::after {
	box-sizing: border-box;
}

.lp-modelhouse-form .wpcf7,
.lp-modelhouse-form form {
	width: 100%;
	margin: 0;
}

.lp-modelhouse-form p {
	margin: 0;
}

.lp-modelhouse-form .reservation-title {
	display: none;
}

.lp-modelhouse-form .reservation-comment {
	margin: 0 0 40px;
	text-align: left;
	font-size: 1.4rem;
	line-height: 1.8;
}

.lp-modelhouse-form .reservation-comment p {
	font-size: 1.4rem;
	line-height: 1.8;
}

.lp-modelhouse-form .item-wrap {
	display: block;
	margin: 0 0 30px;
	padding: 0;
	border: 0;
}

.lp-modelhouse-form .item-wrap:first-of-type {
	border-top: 0;
}

.lp-modelhouse-form .item-ttl {
	display: block;
	width: 100%;
	margin: 0 0 10px;
	padding: 0 0 0 6px;
	color: #111;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.8;
}

.lp-modelhouse-form .item-ttl span:not(.required) {
	font-size: 1.3rem;
	line-height: 1.6;
}

.lp-modelhouse-form .item-txt {
	width: 100%;
	margin: 0;
	padding: 0;
}

.lp-modelhouse-form .required {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.lp-modelhouse-form input[type="text"],
.lp-modelhouse-form input[type="email"],
.lp-modelhouse-form input[type="tel"],
.lp-modelhouse-form input[type="number"],
.lp-modelhouse-form input[type="url"],
.lp-modelhouse-form select,
.lp-modelhouse-form textarea {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #cfcfcf;
	border-radius: 0;
	background-color: #fff;
	color: #111;
	font-size: 1.6rem;
	font-weight: 400;
	box-shadow: none;
	outline: none;
	appearance: none;
}

.lp-modelhouse-form input[type="text"],
.lp-modelhouse-form input[type="email"],
.lp-modelhouse-form input[type="tel"],
.lp-modelhouse-form input[type="number"],
.lp-modelhouse-form input[type="url"],
.lp-modelhouse-form select {
	height: 56px;
	padding: 0 16px;
	line-height: 1.6;
}

.lp-modelhouse-form textarea {
	height: 220px !important;
	padding: 6px 10px;
	line-height: 1.8;
	resize: vertical;
}

.lp-modelhouse-form input::placeholder,
.lp-modelhouse-form textarea::placeholder {
	color: #999;
	opacity: 1;
}

.lp-modelhouse-form .item-txt input[id="zip"] {
	width: 47.62%;
}

.lp-modelhouse-form .wpcf7-form-control-wrap {
	display: inline;
	margin: 0;
}

/* ご希望日時 */
.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-moon_no_connect"],
.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-day_no_connect"],
.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-time_no_connect"] {
	display: inline-block;
	width: 85px;
	vertical-align: top;
}

.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-moon_no_connect"] select,
.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-day_no_connect"] select,
.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-time_no_connect"] select {
	width: 100%;
	height: 56px;
	padding: 0 8px;
	font-size: 1.6rem;
}

.lp-modelhouse-form .item-txt .option {
	display: inline-block;
	width: 18px;
	margin: 0;
	font-size: 1.6rem;
	line-height: 56px;
	text-align: center;
	vertical-align: top;
}

/* checkbox / radio */
.lp-modelhouse-form .wpcf7-form-control.wpcf7-checkbox,
.lp-modelhouse-form .wpcf7-form-control.wpcf7-radio {
	display: block;
}

.lp-modelhouse-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
.lp-modelhouse-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
	display: block;
	width: 100%;
	margin: 0 0 7px;
}

.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"],
.lp-modelhouse-form .wpcf7-radio input[type="radio"] {
	display: none;
}

.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label,
.lp-modelhouse-form .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label {
	position: relative;
	display: inline-block;
	height: 26px;
	padding: 0 0 0 42px;
	color: #111;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 26px;
	cursor: pointer;
}

.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::before,
.lp-modelhouse-form .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 26px;
	height: 26px;
	border: 1px solid #9b9b9b;
	border-radius: 0;
	background: #fff;
}

.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::after,
.lp-modelhouse-form .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 8px;
	display: block;
	width: 10px;
	height: 17px;
	border-right: 3px solid #60777d;
	border-bottom: 3px solid #60777d;
	background: none;
	border-radius: 0;
	opacity: 0;
	transform: rotate(45deg);
}

.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
.lp-modelhouse-form .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::after {
	opacity: 1;
}

/* 注意事項 */
.lp-modelhouse-form .notes-box {
	height: 200px;
	margin: 40px 0;
	padding: 20px;
	overflow-y: scroll;
	background: #fff;
	border: 1px solid #ddd;
	font-size: 1.5rem;
	line-height: 1.8;
}

.lp-modelhouse-form .notes-ttl {
	margin: 0 0 25px;
	color: #111;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.lp-modelhouse-form .notes-txt {
	margin: 0 0 30px;
	color: #111;
	font-size: 1.5rem;
	line-height: 1.8;
}

.lp-modelhouse-form .notes-txt:last-child {
	margin-bottom: 0;
}

.lp-modelhouse-form .notes-box a {
	color: #000;
	text-decoration: underline;
}

/* 送信 */
.lp-modelhouse-form .transmission-inner {
	position: relative;
	max-width: 100%;
	width: 96%;
	margin: 0 auto;
	text-align: center;
}

.lp-modelhouse-form .transmission-inner::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 9%;
	width: 10px;
	height: 10px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	transform: translateY(-50%) rotate(45deg);
	pointer-events: none;
}

.lp-modelhouse-form .transmission-inner input.btn-type-b,
.lp-modelhouse-form input[type="submit"].btn-type-b {
	display: inline-block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 25px 30px;
	border: none;
	border-radius: 0;
	background: #1ea2b6;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	transition: all .3s;
}

.lp-modelhouse-form .transmission-inner input.btn-type-b:hover,
.lp-modelhouse-form input[type="submit"].btn-type-b:hover {
	opacity: .7;
	background: #1ea2b6;
	color: #fff;
}

/* CF7 */
.lp-modelhouse-form .wpcf7-not-valid-tip {
	margin: 5px 0 0;
	color: #dc3232;
	font-size: 1.4rem;
	line-height: 1.5;
}

.lp-modelhouse-form .wpcf7 form .wpcf7-response-output,
.lp-modelhouse-form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 10px 15px;
	font-size: 1.4rem;
	line-height: 1.8;
}

.lp-modelhouse-form .wpcf7-spinner {
	position: absolute;
	left: 50%;
	bottom: -32px;
	margin: 0;
	transform: translateX(-50%);
}

@media screen and (max-width: 749px) {
	.lp-modelhouse-form {
		width: 100%;
		padding: 0 8% 16%;
		font-size: 3.2vw;
	}

	.lp-modelhouse-form .reservation-comment {
		margin: 0 0 9.55%;
		font-size: 2.8vw;
	}

	.lp-modelhouse-form .reservation-comment p {
		font-size: 2.8vw;
	}

	.lp-modelhouse-form .item-wrap {
		margin-bottom: 7.145%;
	}

	.lp-modelhouse-form .item-ttl {
		margin: 0 0 2.39%;
		padding-left: 1.45%;
		font-size: 3vw;
	}

	.lp-modelhouse-form .item-ttl span:not(.required) {
		font-size: 2.6vw;
	}

	.lp-modelhouse-form .required {
		font-size: 2.2vw;
	}

	.lp-modelhouse-form input[type="text"],
	.lp-modelhouse-form input[type="email"],
	.lp-modelhouse-form input[type="tel"],
	.lp-modelhouse-form input[type="number"],
	.lp-modelhouse-form input[type="url"],
	.lp-modelhouse-form select,
	.lp-modelhouse-form textarea {
		border: 0.2vw solid #cfcfcf;
		font-size: 1.6rem;
	}

	.lp-modelhouse-form input[type="text"],
	.lp-modelhouse-form input[type="email"],
	.lp-modelhouse-form input[type="tel"],
	.lp-modelhouse-form input[type="number"],
	.lp-modelhouse-form input[type="url"],
	.lp-modelhouse-form select {
		height: 11.2vw;
		padding: 0 4%;
	}

	.lp-modelhouse-form textarea {
		height: 44vw !important;
		padding: 1.5% 2.5%;
	}

	.lp-modelhouse-form .item-txt input[id="zip"] {
		width: 47.62%;
	}

	.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-moon_no_connect"],
	.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-day_no_connect"],
	.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-time_no_connect"] {
		width: 17vw;
	}

	.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-moon_no_connect"] select,
	.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-day_no_connect"] select,
	.lp-modelhouse-form .item-txt .wpcf7-form-control-wrap[data-name="date-time_no_connect"] select {
		height: 11.2vw;
		padding: 0 1.6vw;
		font-size: 1.6rem;
	}

	.lp-modelhouse-form .item-txt .option {
		width: 5.6vw;
		font-size: 3.2vw;
		line-height: 11.2vw;
	}

	.lp-modelhouse-form .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
	.lp-modelhouse-form .wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
		margin-bottom: 1.4vw;
	}

	.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label,
	.lp-modelhouse-form .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label {
		height: 5.2vw;
		padding-left: 8.4vw;
		font-size: 3.2vw;
		line-height: 5.2vw;
	}

	.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::before,
	.lp-modelhouse-form .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label::before {
		width: 5.2vw;
		height: 5.2vw;
		border-width: 0.2vw;
	}

	.lp-modelhouse-form .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::after,
	.lp-modelhouse-form .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label::after {
		top: 0.6vw;
		left: 1.6vw;
		width: 2vw;
		height: 3.4vw;
		border-right-width: 0.6vw;
		border-bottom-width: 0.6vw;
	}

	.lp-modelhouse-form .notes-box {
		height: 40vw;
		margin: 9.55% 0;
		padding: 4vw;
		border: 0.2vw solid #ddd;
	}

	.lp-modelhouse-form .notes-ttl {
		margin-bottom: 6.63%;
		font-size: 4vw;
	}

	.lp-modelhouse-form .notes-txt {
		margin-bottom: 8%;
		font-size: 3vw;
	}

	.lp-modelhouse-form .transmission-inner::after {
		width: 2vw;
		height: 2vw;
		border-top: 0.6vw solid #fff;
		border-right: 0.6vw solid #fff;
	}

	.lp-modelhouse-form .transmission-inner input.btn-type-b,
	.lp-modelhouse-form input[type="submit"].btn-type-b {
		font-size: 3.6vw;
		padding: 5vw 6vw;
	}

	.lp-modelhouse-form .wpcf7-not-valid-tip {
		margin-top: 1.2%;
		font-size: 2.8vw;
	}

	.lp-modelhouse-form .wpcf7 form .wpcf7-response-output,
	.lp-modelhouse-form .wpcf7-response-output {
		padding: 2vw 3vw;
		font-size: 2.8vw;
	}

	.lp-modelhouse-form .wpcf7-spinner {
		bottom: -6.4vw;
	}
}
