@charset "UTF-8";
/* ====================================================================
   news.css — news-list.php / news-detail.php（管理画面プレビューでも使用）
   ==================================================================== */
.news-rows { border-top: 1px solid var(--gold); }

.news-row {
	position: relative;
	display: grid;
	grid-template-columns: 7em 8.5em minmax(0, 1fr);
	align-items: center;
	gap: 8px 14px;
	padding: 18px 34px 18px 4px;
	border-bottom: 1px solid var(--line);
	transition: background 0.25s ease;
}

.news-row:hover { background: var(--cream); }
.news-row__date { color: var(--gold-deep); }

.news-row__type span {
	display: inline-block;
	padding: 1px 10px;
	border: 1px solid var(--gold);
	font-size: 0.8125rem;
	color: var(--gold-deep);
	white-space: nowrap;
}

.news-row__arrow {
	position: absolute;
	top: 50%;
	right: 10px;
	color: var(--gold);
	transform: translateY(-50%);
}

.news-empty { text-align: center; }

.news-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: clamp(26px, 3vw, 40px);
}

.news-pager a,
.news-pager span {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--line);
	font-size: var(--fs-p);
	color: var(--gold-deep);
}

.news-pager a:hover { background: var(--cream); }
.news-pager .is-current { background: var(--gold); border-color: var(--gold); color: #fff; }

/* 個別ページ */
.news-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 10px;
}

.news-article__title {
	margin-bottom: clamp(20px, 2.6vw, 34px);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gold);
	font-family: var(--font-title);
	font-weight: 400;
	font-size: clamp(1.25rem, 2.2vw, 2rem);
	line-height: 1.5;
	letter-spacing: 0.06em;
	color: var(--gold-deep);
}

/* 本文（管理画面のエディタ .a-editor-body と見え方を揃える） */
.news-body {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 12px;
}

.news-body > * { grid-column: 1 / -1; min-width: 0; }

.news-photo { margin: 6px 0; }
.news-photo--2 { grid-column: span 2; }
.news-photo--4 { grid-column: span 1; }

/* 1枚・2枚・4枚の指定はパソコン表示用。800px 以下はすべて横幅いっぱい */
@media (max-width: 800px) {
	.news-photo--2,
	.news-photo--4 { grid-column: 1 / -1; }
}
.news-photo img { width: 100%; }
.news-photo__zoom { display: block; cursor: zoom-in; }

.news-link { margin: 12px 0; }
.news-link .btn-outline::after { content: "›"; }

/* 写真の拡大表示 */
.news-lightbox {
	max-width: 92vw;
	max-height: 92vh;
	padding: 0;
	border: 0;
	background: none;
	overflow: visible;
	cursor: zoom-out;
}

.news-lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.news-lightbox img { max-width: 92vw; max-height: 92vh; width: auto; height: auto; }

.news-lightbox__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 36px;
	height: 36px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 2px;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
}

.news-back {
	margin-top: clamp(30px, 4vw, 50px);
	text-align: center;
}

@media (max-width: 600px) {
	.news-row { grid-template-columns: auto minmax(0, 1fr); padding-right: 26px; }
	.news-row__title { grid-column: 1 / -1; }
}

/* ==================== 角丸の統一 ==================== */
.news-row,
.news-row__type span,
.news-pager a,
.news-pager span,
.news-photo img {
	border-radius: 2px;
}
