/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* ========================================
物件導線セクション
======================================== */

/* ========================================
物件導線セクション
======================================== */

.home-property-section {
	position: relative;
	padding: 0 0 0px;
	background-color: #edf4f8;
}

/* 背景画像部分 */
.home-property-visual {
	position: relative;
	min-height: 380px;
	padding: 85px 0 130px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.home-property-visual > .vk_outer_container,
.home-property-visual > .wp-block-group__inner-container {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding-right: 20px;
	padding-left: 20px;
}

/* 上部2カラム */
.home-property-top {
	align-items: center;
	margin: 0;
	gap: 70px;
}

/* 左側キャッチコピー */
.home-property-top > .wp-block-column:first-child {
	flex-basis: 58%;
}

.home-property-top > .wp-block-column:first-child p {
	margin: 0;
	color: #fff;
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0.04em;
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 右側会員登録 */
.home-property-top > .wp-block-column:last-child {
	flex-basis: 42%;
}

.member-box {
	max-width: 315px;
	margin-left: auto;
	padding: 20px 22px 18px;
	border-radius: 10px;
	background-color: #fff;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.member-box p,
.member-box h2,
.member-box h3 {
	margin: 0 0 15px;
	color: #111;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
}

/* 会員登録見出しの左右ライン */
.member-box p:first-child::before {
	content: "＼";
	margin-right: 16px;
	font-weight: 400;
}

.member-box p:first-child::after {
	content: "／";
	margin-left: 16px;
	font-weight: 400;
}

/* 会員登録ボタン */
.member-box .wp-block-button,
.member-box .vk_button {
	width: 100%;
}

.member-box .wp-block-button__link,
.member-box .vk_button_link,
.member-box a.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background-color: #78b72a;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.member-box .wp-block-button__link:hover,
.member-box .vk_button_link:hover,
.member-box a.btn:hover {
	opacity: 0.8;
	transform: translateY(-2px);
}

/* ========================================
下部メニューボックス
======================================== */

.property-menu-box {

	position: relative;
	z-index: 10;
	width: calc(100% - 40px);
	max-width: 1110px;
	margin: 0 auto;
	padding: 26px 0px 32px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	/* 上へ重ねる */
	transform: translateY(-78px);
	/* 持ち上げた分、下の余白を詰める */
	margin-bottom: -78px;

}

.property-menu-box > .vk_outer_container,
.property-menu-box > .wp-block-group__inner-container {
	width: 100%;
	padding: 0;
}

.property-menu-columns {
	align-items: stretch;
	margin: 0;
	gap: 0;
}

.property-menu-item {
	position: relative;
	padding: 10px 54px;
}

/* 中央の区切り線 */
.property-menu-item:first-child {
	border-right: 1px solid #ccc;
}

/* 見出し */
.property-menu-item h2,
.property-menu-item h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 18px;
	color: #111;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

/* アイコンを画像で入れる場合 */
.property-menu-item h2 img,
.property-menu-item h3 img {
	width: 54px;
	height: auto;
}

/* 借りる・買うなどの帯 */
.property-menu-item .menu-label {
	margin: 14px 0 12px;
	padding: 4px 10px;
	background-color: #eee;
	color: #111;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

/* ボタン共通 */
.property-menu-item .wp-block-button {
	width: 100%;
	margin: 0 0 10px;
}

.property-menu-item .wp-block-button__link,
.property-menu-item .vk_button_link,
.property-menu-item a.property-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	padding: 8px 18px;
	border: 0;
	border-radius: 30px;
	background-color: #78b72a;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.property-menu-item .wp-block-button__link:hover,
.property-menu-item .vk_button_link:hover,
.property-menu-item a.property-button:hover {
	opacity: 0.8;
	transform: translateY(-2px);
}

/* 買うの3つ並び */
.property-menu-item .property-button-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 10px;
}

.property-menu-item .property-button-row .wp-block-button {
	margin: 0;
}

/* ========================================
タブレット
======================================== */

@media screen and (max-width: 991.98px) {
	.home-property-visual {
		min-height: auto;
		padding: 65px 0 115px;
	}

	.home-property-top {
		gap: 30px;
	}

	.property-menu-box {
		width: calc(100% - 40px);
		padding: 26px 30px 32px;
	}

	.property-menu-item {
		padding: 10px 30px;
	}
}

/* ========================================
スマートフォン
======================================== */

@media screen and (max-width: 767.98px) {
	.home-property-section {
		padding-bottom: 40px;
	}

	.home-property-visual {
		padding: 50px 0 100px;
	}

	.home-property-top {
		display: block;
	}

	.home-property-top > .wp-block-column:first-child {
		margin-bottom: 30px;
	}

	.home-property-top > .wp-block-column:first-child p {
		font-size: 18px;
		text-align: center;
	}

	.member-box {
		max-width: 100%;
		margin: 0 auto;
	}

	.property-menu-box {
		width: calc(100% - 30px);
		margin-top: -65px;
		padding: 25px 20px;
	}

	.property-menu-columns {
		display: block;
	}

	.property-menu-item {
		padding: 15px 0 25px;
	}

	.property-menu-item:first-child {
		margin-bottom: 10px;
		padding-bottom: 30px;
		border-right: 0;
		border-bottom: 1px solid #ccc;
	}

	.property-menu-item h2,
	.property-menu-item h3 {
		font-size: 18px;
	}

	.property-menu-item .property-button-row {
		grid-template-columns: 1fr;
	}
}