/* SITEMAP（サイトマップ）ページ用スタイル
 * 見出しと区切り線は page.css の .detail-list（共通）。ここにはページ一覧の並びを書く */

.sitemap__body {
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: 880px;
	margin-inline: auto;
	padding: 48px var(--sec-gutter) 0;
}
/* このページは CATEGORY / INFORMATION を載せないので、フッターまでの余白をここで持つ
 * 他の下層ページと同じく、フッターのロゴまで 240px（SP 160px）。フッター頭の空白（--footer-lead）を差し引く */
.sitemap {
	--footer-lead: 98px;
	padding-bottom: calc(240px - var(--footer-lead));
}

/* まとまりの見出し：プライバシーポリシーの条見出しと同じ、左に青い線 */
.sitemap-group__title {
	padding: 4px 0 4px 16px;
	border-left: 4px solid var(--sec-blue);
	color: var(--sec-text);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.02em;
}
.sitemap-list {
	margin-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.13);
}
.sitemap-list > li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}
/* 1行ずつのリンク。右端に「›」 */
.sitemap-list__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 8px;
	color: var(--sec-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.02em;
	transition: color 0.2s;
}
.sitemap-list__link::after {
	content: "";
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--sec-blue);
	border-right: 2px solid var(--sec-blue);
	rotate: 45deg;
	transition: translate 0.2s;
}
.sitemap-list__link:hover {
	color: var(--sec-blue);
}
.sitemap-list__link:hover::after {
	translate: 4px 0;
}
/* 機能一覧の下の4つの機能 */
.sitemap-list__sub {
	padding: 0 0 8px 24px;
}
.sitemap-list__link--sub {
	padding-block: 8px;
	font-size: 15px;
	font-weight: 400;
}

/*==================== タブレット・スマートフォン ====================*/
@media screen and (max-width: 900px) {
	.sitemap {
		--footer-lead: 122px; /* .site-footer の上余白が 32px になる */
		padding-bottom: calc(160px - var(--footer-lead));
	}
	.sitemap__body {
		gap: 40px;
		max-width: 640px;
		padding-top: 40px;
	}
	.sitemap-group__title {
		font-size: 16px;
	}
	.sitemap-list__link {
		font-size: 15px;
	}
}
@media screen and (max-width: 600px) {
	.sitemap {
		--footer-lead: 92px; /* #fixbtn の下余白が 0 になる */
	}
}
