/*
 * NEWS 一覧・個別ページのスタイル
 * カードの見た目は common.css（.news-item-wrappers 等）に集約。
 * ここは一覧ページのラッパ・タブ・ページネーションと、個別記事(single)を担当。
 */

/* ===== 一覧 ===== */
.news-page {
	padding: 64px 20px 80px;
	max-width: 1000px;
	margin: 0 auto;
}
.news-content-wrapper {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--gap-40);
}

/* 見出し（COMPANY / PROFILE / HISTORY / BRAND のページ見出しと同じ：SP 48px → PC 64px）*/
.news-page { padding-top: 80px; }
.news-heading { margin-bottom: 40px; }
.news-heading__title {
	margin: 0;
	font-family: var(--font-futura-pt);
	font-size: 40px;
	font-weight: 400;
	line-height: 44px;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: var(--color-gray-100);
}
@media (min-width: 768px) {
	.news-heading__title { font-size: 56px; line-height: 56px; }
}

/* タブ：BRANDと同じ見た目（14px・中太・ボタン内余白 12/16）。非選択0.4／選択1
   タブは3つ（ALL / BRAND / CORPORATE）なので SP・PC とも横一列（入りきらなければ折り返し） */
.news-filters {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 0;
}
.news-filter {
	padding: var(--padding-12) var(--padding-16);
	border: 0;
	border-radius: var(--br-100);
	background: transparent;
	cursor: pointer;
	font-family: var(--font-futura-pt);
	font-size: var(--fs-14);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--color-gray-100);
	opacity: 0.4;
	transition: opacity 0.2s ease;
}
.news-filter:hover,
.news-filter.is-active { opacity: 1; }

/* 一覧の先頭が特集カード（画像つき）のときは上の余白を少しだけに（タブ〜画像の間＝親の gap 40px＋12px） */
.news-cards-grid > .news-special:first-child { padding-top: 12px; }

/* ページネーション */
.pagination {
	align-self: stretch;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: 56px;
}
.pagination .page-numbers {
	font-family: var(--font-futura-pt);
	font-size: var(--fs-14);
	padding: 4px 10px;
}
.pagination .current {
	font-weight: 600;
	text-decoration: underline;
}

/* ===== 個別記事 ===== */
.news-single {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px 20px 80px;
	font-family: var(--font-noto-sans-jp); /* body に指定がないため、記事ページで明示（日付・タグは .news-thumbnail-container で futura-pt） */
}
/* 日付・タグは一覧と共通の .news-thumbnail-container（common.css）を使用。
   旧 .news-single__date / __tag は未参照のため削除。 */
.news-single__title {
	font-size: var(--fs-24);
	line-height: 1.5;
	margin:32px 0 32px;
}
.news-single__thumb { margin-bottom: 32px; }
.news-single__thumb img { width: 100%; height: auto; display: block; }
.news-single__body {
	font-size: 13px; /* SP 13px / PC 14px */
	line-height: 2;
}
@media (min-width: 768px) {
	.news-single__body { font-size: var(--fs-14); }
}
.news-single__body p { margin: 0 0 1.5em; }
.news-single__body img { max-width: 100%; height: auto; }
/* 本文中のテキストリンクは下線つき（画像だけのリンクには付けない） */
.news-single__body a {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	word-break: break-all; /* 長いURLがはみ出さないように */
	transition: opacity 0.2s ease;
}
.news-single__body a:hover { opacity: 0.6; }
.news-single__body a:has(> img:only-child) { text-decoration: none; }
.news-single__back {
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid rgba(0,0,0,.15);
	text-align: center;
	font-family: var(--font-futura-pt);
	font-size: var(--fs-12);
	letter-spacing: .05em;
}
