@charset "utf-8";

/* ==========================================================================
   TLNT_Legal_v12: [lgl_] Legal & Sitemap Styles
   統一：ホバー挙動を Inquiry と同じ「黒背景・白文字・矢印移動」に統一
   ========================================================================== */

/* --- Base Layout --- */
.lgl_body {
	font-size: var(--fs-base);
	line-height: 1.8;
	color: var(--color-main);
	letter-spacing: 0.05em;
}

.lgl_body h2 {
	font-size: var(--fs-lg);
	font-weight: var(--fw-bold);
	margin: 64px 0 32px;
	padding: 2px 0 2px 16px;
	border-bottom: none;
	border-left: 6px solid var(--color-bg-black);
	line-height: 1.2;
	display: block;
	color: var(--color-main);
}

.lgl_date {
	text-align: right;
	margin-bottom: 48px !important;
	font-weight: var(--fw-bold);
	color: var(--color-text-sub);
	font-size: var(--fs-sm);
	line-height: 1.6;
}

.lgl_body p {
	margin-bottom: 1.5em;
}

.lgl_body ul:not([class]),
.lgl_bullet_list {
	margin-bottom: 2em;
	padding-left: 1.5em;
	list-style-type: disc;
}

.lgl_body li {
	margin-bottom: 0.8em;
	line-height: 1.7;
}

/* --- Table Design --- */
.lgl_table_wrap {
	width: 100%;
	overflow-x: auto;
	margin-top: 24px;
	margin-bottom: 48px;
	border: none;
}
.lgl_table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
	font-size: 13px;
	background-color: #ffffff;
}
.lgl_table th,
.lgl_table td {
	padding: 24px 20px;
	text-align: left;
	border-bottom: 1px solid var(--color-border-light);
	border-right: 1px solid rgba(0, 0, 0, 0.04);
}
.lgl_table th:last-child,
.lgl_table td:last-child {
	border-right: none;
}
.lgl_table th {
	background-color: #ffffff;
	font-weight: var(--fw-bold);
	color: var(--color-main);
	border-top: none;
	border-bottom: 1px solid var(--color-main);
}
.lgl_table td.is_bold {
	font-weight: var(--fw-bold);
}

.lgl_table_btns {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}
.lgl_table_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	font-size: 11px;
	font-weight: var(--fw-bold);
	background-color: var(--color-bg-base);
	border: 1px solid var(--color-border-light);
	border-radius: var(--bd-thick);
	color: var(--color-main);
	text-decoration: none !important;
	transition: all var(--transition-base);
}
.lgl_table_btn:hover {
	background-color: var(--color-bg-black);
	border-color: var(--color-bg-black);
	color: var(--color-main-wh) !important;
	opacity: 1 !important;
}

/* --- Sitemap & Index List (Unified Behavior) --- */
.lgl_sitemap_list {
	list-style: none !important;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px 24px;
	margin-bottom: 80px;
	width: 100%;
}

.lgl_sitemap_item {
	display: block;
	list-style: none;
}

.lgl_sitemap_item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 28px;
	background-color: var(--color-bg-base);
	border: 1px solid var(--color-border-light);
	border-radius: var(--bd-thick);
	color: var(--color-main);
	text-decoration: none !important;
	font-weight: var(--fw-bold);
	transition: all var(--transition-base);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.lgl_sitemap_item a:hover {
	background-color: var(--color-bg-black);
	border-color: var(--color-bg-black);
	color: var(--color-main-wh) !important;
	opacity: 1 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 矢印のアニメーションを追加 */
.lgl_sitemap_arrow {
	font-size: 1.2rem;
	transition: all var(--transition-base);
}

.lgl_sitemap_item a:hover .lgl_sitemap_arrow {
	color: var(--color-main-wh);
	transform: translateX(8px);
}

@media (max-width: 768px) {
	.lgl_sitemap_list {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.lgl_body h2 {
		font-size: var(--fs-md);
		margin-top: 48px;
		padding-left: 12px;
		border-left-width: 4px;
	}
	.lgl_table th,
	.lgl_table td {
		padding: 16px 12px;
	}
	.lgl_date {
		margin-bottom: 32px !important;
		text-align: left;
	}
	.lgl_table_btns {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}
	.lgl_sitemap_item a {
		padding: 20px;
	}
}
