@charset "utf-8";

/* ==================================================
   NEWSページ専用スタイル（ホバー完全無効化・全幅版）
================================================== */

.low_news-wrap {
	margin: 0 auto;
	padding: var(--space-xl) 0 calc(var(--space-xl) * 2);
}

.low_news-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 2px solid var(--color-black);
}

/* 読み込み中・エラー時の表示 */
.low_news-loading,
.low_news-empty {
	padding: var(--space-xl) 0;
	text-align: center;
	font-size: var(--font-size-sm);
	color: #999999;
	border-bottom: 1px solid var(--color-gray-light);
}

/* --- 個別のニュースアイテム --- */
.low_news-item {
	border-bottom: 1px solid var(--color-gray-light);
}

/* リンクの基本スタイル（共通CSSの干渉を防ぐ） */
.low_news-link {
	display: flex;
	align-items: center;
	padding: var(--space-lg) 0;
	text-decoration: none !important;
	color: var(--color-black) !important;
	background-color: transparent !important;
	transition: none !important; /* アニメーションを強制停止 */
	position: relative;
}

/* ==========================================
   【強制上書き】共通CSSのホバーアクションを完全無効化
========================================== */

/* 1. aタグ自体の背景変化や色変化を無効化 */
.low_news-link:hover,
.low_news-link:focus,
.low_news-link:active {
	background: none !important;
	background-color: transparent !important;
	color: var(--color-black) !important;
	opacity: 1 !important;
	transform: none !important;
}

/* 2. 【最重要】共通CSSが疑似要素で黒背景を作っている場合、それを消滅させる */
.low_news-link::before,
.low_news-link::after,
.low_news-link:hover::before,
.low_news-link:hover::after {
	display: none !important;
	opacity: 0 !important;
	background: none !important;
	content: none !important;
}

/* 3. 内部のテキストがホバー時に白抜きになるのを防ぐ */
.low_news-link:hover .low_news-date,
.low_news-link:hover .low_news-title,
.low_news-link:hover .low_news-category {
	color: var(--color-black) !important;
	background-color: transparent !important;
}

/* 4. カテゴリの枠線が消えたり白くなるのを防ぐ */
.low_news-link:hover .low_news-category {
	border-color: var(--color-black) !important;
}

/* ==========================================
   各パーツのレイアウト
========================================== */

/* 左側：日付とカテゴリ */
.low_news-meta {
	flex: 0 0 auto;
	display: flex;
	flex-direction: row; /* ★日付とカテゴリを横並びに */
	align-items: center;
	gap: 16px;
	margin-right: 32px;
	position: relative;
	z-index: 2; /* 文字が隠れないように手前に配置 */
}

.low_news-date {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-size: var(--font-size-sm);
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--color-black) !important;
	white-space: nowrap;
	transition: none !important;
}

.low_news-category {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	border: 1px solid var(--color-black) !important;
	padding: 4px 12px;
	border-radius: 0;
	white-space: nowrap;
	color: var(--color-black) !important;
	background-color: transparent !important;
	transition: none !important;
}

/* 右側：タイトル */
.low_news-title {
	flex: 1;
	font-size: var(--font-size-md);
	font-weight: 700;
	line-height: 1.8;
	margin: 0;
	color: var(--color-black) !important;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3; /* 長い場合は3行で点々(...)に */
	overflow: hidden;
	position: relative;
	z-index: 2;
	transition: none !important;
}

/* ------------------------------
   ▼ SPサイズ（767px以下）の上書き ▼
------------------------------ */
@media (max-width: 767px) {
	.low_news-link {
		flex-direction: column;
		align-items: flex-start;
		padding: var(--space-md) 0;
	}

	.low_news-meta {
		width: 100%;
		gap: 12px;
		margin-right: 0;
		margin-bottom: var(--space-sm);
	}

	.low_news-date {
		font-size: 13px;
	}

	.low_news-category {
		font-size: 10px;
		padding: 2px 8px;
	}

	.low_news-title {
		font-size: 14px;
		line-height: 1.6;
		-webkit-line-clamp: 2; /* スマホでは2行までに */
	}
}
