/* ==========================================================================
   トップページ専用スタイル
   ========================================================================== */

/* GeneratePress の幅制限・余白を外して全幅にする */
.lm-front .site.grid-container {
	max-width: none;
	padding: 0;
}

.lm-front .site-content {
	display: block;
	padding: 0;
}

/* 共通：セクションの区切り罫線 */
.lm-home > section {
	border-bottom: var(--lm-rule);
}

/* ==========================================================================
   ② メイン
   ========================================================================== */
.lm-hero__inner {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 56px;
	align-items: center;
	padding-block: 48px 64px;
}

.lm-hero__photo {
	aspect-ratio: 5 / 4;
}

.lm-hero__kicker {
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: var(--lm-rule);
	color: var(--lm-green);
	font-size: 0.85rem;
	font-weight: 600;
}

.lm-hero__title {
	margin: 0 0 24px;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 900;
	line-height: 1.45;
	letter-spacing: 0.04em;
}

.lm-hero__lead {
	margin: 0 0 32px;
	color: #3A3A3A;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	font-feature-settings: "palt"; /* 句読点・かなのすき間を詰める */
}

.lm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 960px) {
	.lm-hero__inner {
		gap: 36px;
	}
	.lm-pc-only {
		display: none;
	}
}

@media (max-width: 768px) {
	.lm-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-block: 0 48px;
	}

	/* スマホでは写真を画面幅いっぱいに */
	.lm-hero__photo {
		margin-inline: calc(var(--lm-gutter) * -1);
		aspect-ratio: 16 / 9;
	}

	.lm-hero__actions .lm-btn {
		flex: 1 1 100%;
	}
}

/* ==========================================================================
   ③ 好きなもの・暮らしで探す
   ========================================================================== */
.lm-likes {
	padding-block: 72px 56px;
}

.lm-likes__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lm-likes__item + .lm-likes__item {
	border-top: 1px solid #d6d6d6;
}

.lm-likes__link {
	display: grid;
	grid-template-columns: 112px 220px 1fr auto;
	align-items: center;
	gap: 32px;
	padding-block: 28px;
	color: var(--lm-ink);
	text-decoration: none;
}

.lm-likes__num {
	color: var(--lm-green);
	font-size: 4.5rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

.lm-likes__photo {
	aspect-ratio: 4 / 3;
}

.lm-likes__body {
	display: block;
}

.lm-likes__title {
	display: block;
	margin-bottom: 6px;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.5;
	font-feature-settings: "palt";
}

.lm-likes__text {
	display: block;
	color: #3A3A3A;
	font-size: 0.95rem;
	font-weight: 500;
	font-feature-settings: "palt";
}

.lm-likes__more {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: var(--lm-rule);
	padding-bottom: 2px;
}

.lm-likes__link:hover,
.lm-likes__link:focus {
	color: var(--lm-ink);
}

.lm-likes__link:hover .lm-likes__title,
.lm-likes__link:focus .lm-likes__title,
.lm-likes__link:hover .lm-likes__more,
.lm-likes__link:focus .lm-likes__more {
	color: var(--lm-green);
	border-color: var(--lm-green);
}

.lm-likes__link:hover .lm-btn__arrow,
.lm-likes__link:focus .lm-btn__arrow {
	transform: translateX(3px);
}

.lm-likes__next {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid #d6d6d6;
	color: var(--lm-sub);
	font-size: 0.85rem;
}

@media (max-width: 960px) {
	.lm-likes__link {
		grid-template-columns: 80px 180px 1fr;
		gap: 24px;
	}
	.lm-likes__num {
		font-size: 3.5rem;
	}
	/* リンク文字は説明の下へ */
	.lm-likes__more {
		grid-column: 3;
		justify-self: start;
	}
}

@media (max-width: 768px) {
	.lm-likes {
		padding-block: 48px 40px;
	}

	/* 左に小さな正方形の写真、右に番号・タイトル・説明・リンク文字 */
	.lm-likes__link {
		grid-template-columns: 100px 1fr;
		grid-template-areas:
			"photo num"
			"photo body"
			"photo more";
		grid-template-rows: auto auto 1fr;
		align-items: start;
		gap: 2px 16px;
		padding-block: 18px;
	}

	.lm-likes__photo {
		grid-area: photo;
		aspect-ratio: 1 / 1;
	}

	.lm-likes__num {
		grid-area: num;
		font-size: 1.1rem;
		font-weight: 700;
	}

	.lm-likes__body {
		grid-area: body;
	}

	.lm-likes__more {
		grid-area: more;
		justify-self: start;
		margin-top: 6px;
		font-size: 0.82rem;
	}

	.lm-likes__title {
		margin-bottom: 2px;
		font-size: 1.05rem;
		line-height: 1.45;
	}

	.lm-likes__text {
		font-size: 0.85rem;
		line-height: 1.7;
	}
}

/* ==========================================================================
   ④ タイプ診断の案内（黄色い帯）
   ========================================================================== */
.lm-check {
	background: var(--lm-yellow);
}

.lm-check__inner {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 64px;
	align-items: center;
	padding-block: 72px;
}

.lm-check__label {
	margin: 0 0 16px;
	font-size: 0.8rem;
	font-weight: 600;
}

.lm-check__title {
	margin: 0 0 20px;
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.03em;
	font-feature-settings: "palt";
}

.lm-check__lead {
	margin: 0;
	color: var(--lm-ink);
	font-size: 0.95rem;
	font-weight: 500;
	font-feature-settings: "palt";
}

.lm-check__list {
	margin: 0 0 28px;
	border-bottom: var(--lm-rule);
}

.lm-check__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-block: 18px;
	border-top: var(--lm-rule);
}

.lm-check__q {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	font-feature-settings: "palt";
}

.lm-check__qnum {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.lm-check__choices {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
}

.lm-check__choice {
	padding: 0.3em 0.9em;
	border: var(--lm-rule);
	background: var(--lm-paper);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.5;
	white-space: nowrap;
	color: var(--lm-ink);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lm-check__choice:hover,
.lm-check__choice:focus {
	background: #EFF4F2;
	border-color: var(--lm-green);
	color: var(--lm-green);
}

@media (max-width: 960px) {
	.lm-check__inner {
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.lm-check__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-block: 48px;
	}

	.lm-check__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding-block: 14px;
	}

	.lm-check__choices {
		justify-content: flex-start;
	}

	.lm-check__btn {
		width: 100%;
	}
}

/* ==========================================================================
   ⑤ 婚活のスタイル比較表
   ========================================================================== */
.lm-compare {
	padding-block: 72px;
}

/* 罫線だけの表のスタイルは style.css（比較表・共通）にあります */
.lm-compare__more {
	margin: 24px 0 0;
	text-align: right;
}

@media (max-width: 768px) {
	.lm-compare {
		padding-block: 48px;
	}

	.lm-compare__more {
		text-align: left;
	}
}

/* ==========================================================================
   ⑥ 新着記事（大1件＋小2件）
   ========================================================================== */
.lm-latest {
	padding-block: 72px;
}

.lm-latest__grid {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 48px;
	padding-top: 32px;
}

.lm-latest__link {
	display: block;
	color: var(--lm-ink);
	text-decoration: none;
}

.lm-latest__link:hover,
.lm-latest__link:focus {
	color: var(--lm-ink);
}

.lm-latest__link:hover .lm-latest__title,
.lm-latest__link:focus .lm-latest__title {
	color: var(--lm-green);
}

.lm-latest__photo,
.lm-latest__body {
	display: block;
}

.lm-latest__cat {
	display: block;
	margin-bottom: 6px;
	color: var(--lm-green);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.lm-latest__title {
	display: block;
	font-weight: 700;
	line-height: 1.6;
	font-feature-settings: "palt";
	transition: color 0.2s;
}

.lm-latest__date {
	display: block;
	margin-top: 8px;
	color: var(--lm-sub);
	font-size: 0.78rem;
}

/* 大1件 */
.lm-latest__main .lm-latest__photo {
	aspect-ratio: 3 / 2;
	margin-bottom: 20px;
}

.lm-latest__main .lm-latest__title {
	font-size: 1.5rem;
	line-height: 1.55;
}

.lm-latest__excerpt {
	display: block;
	margin-top: 12px;
	color: #3A3A3A;
	font-size: 0.92rem;
	font-weight: 500;
	font-feature-settings: "palt";
}

/* 小2件：写真を左、文字を右に */
.lm-latest__sub {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: var(--lm-rule);
}

.lm-latest__item {
	border-bottom: 1px solid #d6d6d6;
}

.lm-latest__item .lm-latest__link {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 20px;
	align-items: start;
	padding-block: 24px;
}

.lm-latest__item .lm-latest__photo {
	aspect-ratio: 4 / 3;
}

.lm-latest__item .lm-latest__title {
	font-size: 1.02rem;
}

@media (max-width: 768px) {
	.lm-latest {
		padding-block: 48px;
	}

	.lm-latest__grid {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-top: 24px;
	}

	.lm-latest__main .lm-latest__photo {
		margin-bottom: 16px;
	}

	.lm-latest__main .lm-latest__title {
		font-size: 1.2rem;
	}

	.lm-latest__item .lm-latest__link {
		grid-template-columns: 100px 1fr;
		gap: 16px;
		padding-block: 18px;
	}

	.lm-latest__item .lm-latest__title {
		font-size: 0.95rem;
	}
}

/* ==========================================================================
   ⑦ このサイトの約束
   ========================================================================== */
.lm-home > section.lm-promise {
	border-bottom: 0; /* 下はすぐ黒いフッター */
}

.lm-promise {
	padding-block: 72px 80px;
}

.lm-promise__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	border-top: var(--lm-rule);
}

.lm-promise__title {
	margin: 0;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 900;
	letter-spacing: 0.04em;
	font-feature-settings: "palt";
}

.lm-promise__owner {
	margin: 0;
	color: var(--lm-sub);
	font-size: 0.85rem;
	white-space: nowrap;
}

.lm-promise__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.lm-promise__item {
	margin: 0;
	padding-inline: 32px;
}

.lm-promise__item:first-child {
	padding-left: 0;
}

.lm-promise__item:last-child {
	padding-right: 0;
}

.lm-promise__item + .lm-promise__item {
	border-left: 1px solid #d6d6d6;
}

.lm-promise__num {
	display: block;
	margin-bottom: 14px;
	color: var(--lm-green);
	font-size: 3.5rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

.lm-promise__item-title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	font-weight: 700;
	font-feature-settings: "palt";
}

.lm-promise__text {
	margin: 0;
	color: #3A3A3A;
	font-size: 0.92rem;
	font-weight: 500;
	font-feature-settings: "palt";
}

@media (max-width: 768px) {
	.lm-promise {
		padding-block: 48px 56px;
	}

	.lm-promise__list {
		grid-template-columns: 1fr;
		margin-top: 8px;
	}

	/* 縦並び：区切りは横線に */
	.lm-promise__item {
		display: grid;
		grid-template-columns: 48px 1fr;
		column-gap: 16px;
		padding: 22px 0;
	}

	.lm-promise__item + .lm-promise__item {
		border-left: 0;
		border-top: 1px solid #d6d6d6;
	}

	.lm-promise__num {
		grid-row: span 2;
		margin: 0;
		font-size: 2.6rem;
	}
}

/* ==========================================================================
   写真の代わりの文字デザイン（2026-11-10）
   ========================================================================== */

/* ② メイン：誌面の目次パネル */
.lm-hero__index {
	padding: 36px 40px;
	border-top: var(--lm-rule);
	border-bottom: var(--lm-rule);
}

.lm-hero__index-label {
	margin: 0 0 8px;
	color: var(--lm-green);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.18em;
}

.lm-hero__index-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lm-hero__index-item {
	display: grid;
	grid-template-columns: 3.2rem 1fr auto;
	align-items: baseline;
	gap: 16px;
	margin: 0;
	padding-block: 18px;
	border-top: 1px solid #d6d6d6;
}

.lm-hero__index-item:first-child {
	border-top: 0;
}

.lm-hero__index-num {
	color: var(--lm-green);
	font-size: 1.1rem;
	font-weight: 600;
}

.lm-hero__index-en {
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
}

.lm-hero__index-ja {
	color: var(--lm-sub);
	font-size: 0.85rem;
	font-weight: 500;
}

@media (max-width: 768px) {
	/* スマホでは低い横並びにして、コピーとボタンを先に見せる */
	.lm-hero__index {
		order: 2;
		padding: 16px 0;
	}
	.lm-hero__index-label {
		display: none;
	}
	.lm-hero__index-list {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
	}
	.lm-hero__index-item {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 0 8px;
		border-top: 0;
		border-left: 1px solid #d6d6d6;
	}
	.lm-hero__index-item:first-child {
		border-left: 0;
		padding-left: 0;
	}
	.lm-hero__index-num {
		font-size: 0.8rem;
	}
	.lm-hero__index-en {
		font-size: 1.15rem;
	}
	.lm-hero__index-ja {
		font-size: 0.7rem;
		line-height: 1.4;
	}
}

/* ③ 好きなもの・暮らしで探す：文字のタイル */
.lm-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	aspect-ratio: 4 / 3;
	padding: 0 18px;
	border-top: var(--lm-rule);
	border-bottom: var(--lm-rule);
	background: var(--lm-paper);
	box-sizing: border-box;
}

.lm-tile__en {
	color: var(--lm-ink);
	font-size: 2.2rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.06em;
}

.lm-tile__ja {
	color: var(--lm-sub);
	font-size: 0.8rem;
	font-weight: 500;
}

@media (max-width: 768px) {
	.lm-tile {
		padding: 0 8px;
		gap: 4px;
	}
	.lm-tile__en {
		font-size: 1.15rem;
	}
	.lm-tile__ja {
		font-size: 0.68rem;
	}
}

/* ⑤ 比較表の注記 */
.lm-compare__note {
	margin: 12px 0 0;
	color: var(--lm-sub);
	font-size: 0.8rem;
}
