/* ====================================================================
   news-detail.css
   お知らせ詳細ページ（news-detail.php）／ 管理画面プレビュー共通
   ==================================================================== */

.news-detail-page {
	padding: 60px 6.5% 100px;
	background: #fff;
}

.news-detail-wrap {
	max-width: 720px;
	margin: 0 auto;
}

.news-detail-back i {
  font-size: 10px;
  position: relative;
  top: 0;
}

.news-detail-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.news-detail-date {
	font-family: var(--font-cormorant, serif);
	font-size: 14px;
	color: var(--color-text-brown, #6b4f4f);
}

.news-detail-title {
	font-family: var(--font-klee, serif);
	font-size: 26px;
	line-height: 1.5;
	color: var(--color-text-dark, #4a3c3c);
	margin-bottom: 30px;
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.news-detail-photos {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
  margin-top: 10px;
}

.news-detail-photos img {
	width: 100%;
}

.news-detail-video {
	margin-bottom: 24px;
}

.news-detail-video video {
	width: 100%;
	border-radius: 12px;
	background: #000;
}

.news-detail-body {
	font-size: 15px;
	line-height: 2;
	color: var(--color-text-dark, #4a3c3c);
}

.news-detail-notfound {
	text-align: center;
	padding: 60px 20px;
	color: var(--color-text-brown, #6b4f4f);
}

.news-detail-notfound p {
	margin-bottom: 16px;
}

.news-detail-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* ==================== お知らせ一覧ページ（news-list.php） ==================== */
.news-list-wrap {
	max-width: 760px;
}

.news-list-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-klee, serif);
	font-size: 24px;
	color: var(--color-text-dark, #4a3c3c);
	margin-bottom: 28px;
  width: 100%;
  padding-left: 5px;
}

.news-list--page {
	display: flex;
	flex-direction: column;
	gap: 18px;
  width: 100%;
}

.news-list--page .news-item {
	border-bottom: none;
}

.news-list--page .news-item-link {
	display: grid;
	grid-template-columns: 108px 1fr;
	grid-template-rows: auto 1fr;
	align-items: center;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 6px 18px rgba(74, 60, 60, 0.07);
	overflow: hidden;
	padding: 0;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border: 1px solid #f9efed;
}

.news-list--page .news-item-link:hover {
	background: #fff;
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(74, 60, 60, 0.13);
}

.news-list--page .news-item-link::after {
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	right: 26px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: var(--color-pink-deep, #d99ba0);
	transition: transform 0.25s ease;
}

.news-list--page .news-item-link:hover::after {
	transform: translateY(-50%) translateX(4px);
}

.news-list--page .news-item-date {
	grid-column: 1;
	grid-row: 1 / 3;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 100%;
	background: var(--color-pink-bg, #f9efed);
	border-right: 1px dashed var(--color-pink-icon, #e8b6b9);
	font-family: var(--font-cormorant, serif);
	font-size: 15px;
	font-weight: 600;
	color: var(--color-pink-deep, #d99ba0);
	letter-spacing: 0.02em;
	white-space: normal;
	text-align: center;
	padding: 20px 8px;
}

.news-list--page .news-item-category {
  grid-column: 2;
  grid-row: 1;
  margin: 22px 60px 0 26px;
  font-size: 10px;
  padding: 1px 14px;
  width: fit-content;
}

.news-list--page .news-item-title {
	grid-column: 2;
	grid-row: 2;
	margin: 8px 60px 22px 26px;
}

.news-list--page .news-item-title-text {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	font-size: 16px;
	line-height: 1.6;
}

.news-list-pagination {
	margin-top: 30px;
}

/* --- ページネーション（管理画面と同じ見た目を公開ページ用に用意） --- */
.a-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.a-pagination-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: 13px;
	color: var(--color-text-dark, #4a3c3c);
	border: 1.5px solid #f1e2df;
	background: #fff;
}

.a-pagination-link:hover {
	background: var(--color-pink-bg, #f9efed);
}

.a-pagination-link.is-active {
	background: var(--color-pink-icon, #e8b6b9);
	border-color: var(--color-pink-icon, #e8b6b9);
	color: #fff;
	font-weight: 600;
}

.a-pagination-link.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.news-detail-back{
  padding: 6px 24px 6px 20px;
  margin-top: 30px;
  font-family: var(--font-noto-sans);
}

@media (max-width: 600px) {
	.news-detail-page {
		padding: 40px 5% 70px;
	}
	.news-detail-title {
		font-size: 21px;
	}

	.news-list--page .news-item-link {
		grid-template-columns: 1fr;
    gap:0;
		grid-template-rows: auto auto auto;
	}

	.news-list--page .news-item-date {
		grid-column: 1;
		grid-row: 1;
		flex-direction: row;
		justify-content: center;
		border-right: none;
		border-bottom: 1px dashed var(--color-pink-icon, #e8b6b9);
		padding: 12px 16px;
	}

	.news-list--page .news-item-category {
		grid-column: 1;
		grid-row: 2;
		margin: 18px 40px 0 20px;
	}

	.news-list--page .news-item-title {
		grid-column: 1;
		grid-row: 3;
		margin: 8px 40px 18px 20px;
	}

	.news-list--page .news-item-link::after {
		right: 18px;
    bottom: 18px;
    top: inherit;
    transform: inherit;
	}

	.news-list--page .news-item-title-text {
		font-size: 14.5px;
    font-size: 0.85rem;
	}
  
  .news-detail-body {
    font-size: 0.85rem;
  }
  
  .news-list-title {
    width: 100%;
    padding-left: 5px;
  }
}
