@charset "utf-8";

/*********************************************************************
 *
 *  土地売却・物件情報提供フォーム
 *
*********************************************************************/

/* --------------------------------
 * 個人／法人 選択
 * -------------------------------- */

#form .land-form__type {
	margin-bottom: 50px;
}

#form .land-form__type-guide {
	margin-bottom: 20px;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.6;
}

#form .land-form__type-options {
	width: 100%;
}

#form .land-form__type-options .wpcf7-form-control {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

#form .land-form__type-options .wpcf7-list-item {
	width: calc(50% - 10px);
	margin: 0;
}

#form .land-form__type-options label {
	display: block;
	width: 100%;
	cursor: pointer;
}


/* ラジオボタン本体は画面上から隠す */
#form .land-form__type-options input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}


/* 選択カード */
#form .land-form__type-options .wpcf7-list-item-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100px;
	padding: 15px 20px;
	background-color: #fff;
	border: 1px solid #d8d8d8;
	border-radius: 18px;
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-align: center;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}


/* 個人の方：補足文 */
#form .land-form__type-options .wpcf7-list-item:first-child
.wpcf7-list-item-label::after {
	display: block;
	margin-top: 4px;
	content: "土地・不動産の売却をご検討の方";
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.4;
}


/* 法人・不動産会社の方：補足文 */
#form .land-form__type-options .wpcf7-list-item:nth-child(2)
.wpcf7-list-item-label::after {
	display: block;
	margin-top: 4px;
	content: "土地・物件情報をご提供いただける方";
	font-size: 1.3rem;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.4;
}


/* 選択中 */
#form .land-form__type-options input[type="radio"]:checked
+ .wpcf7-list-item-label {
	background-color: #ffdb45;
	border-color: #ffdb45;
}


/* キーボード操作 */
#form .land-form__type-options input[type="radio"]:focus-visible
+ .wpcf7-list-item-label {
	outline: 2px solid #434f55;
	outline-offset: 3px;
}


/* --------------------------------
 * 入力項目
 * -------------------------------- */

#form .land-form__fields {
	margin-top: 50px;
}

/* その他・補足情報 */
#form.form-land .form-row--textarea textarea {
	display: block;
	height: 230px;
	min-height: 230px;
}


/* --------------------------------
 * セレクト
 * -------------------------------- */

#form .land-form select {
	background-color: #fff;
}


/* --------------------------------
 * 確認ボタン
 * -------------------------------- */

#form .land-form .form-confirm-button {
	position: relative;
}

#form .land-form .form-confirm-button::after {
	position: absolute;
	top: 50%;
	right: 30px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	content: "";
	transform: translateY(-50%) rotate(45deg);
}

/* 確認ボタン */
#form.form-land .form-actions {
	margin-top: 50px;
}


/*********************************************************************
 *
 *  SP
 *
*********************************************************************/

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

	#form .land-form__type {
		margin-bottom: 35px;
	}

	#form .land-form__type-guide {
		margin-bottom: 15px;
		font-size: 1.6rem;
	}

	#form .land-form__type-options .wpcf7-form-control {
		display: block;
	}

	#form .land-form__type-options .wpcf7-list-item {
		width: 100%;
	}

	#form .land-form__type-options .wpcf7-list-item
	+ .wpcf7-list-item {
		margin-top: 30px;
	}

	#form .land-form__type-options .wpcf7-list-item-label {
		min-height: 70px;
		padding: 15px 10px;
		font-size: 1.6rem;
	}

	#form .land-form__fields {
		margin-top: 35px;
	}

	#form .land-form .form-confirm-button::after {
		right: 20px;
	}

}