@charset "UTF-8";
/*
 * 新着情報（WordPress 連携）用スタイル
 *
 * 読み込み場所
 *   - トップページ /index.php        … 新着セクション (.news_home) … 6件
 *   - 一覧 /news/                    … .news_archive … 15件/ページ
 *   - 詳細 /news/123/                … .news_single
 *
 * 既存の reset.css / common.css / home.css には手を入れず、
 * 追加分をすべてこのファイルにまとめてある。
 * 配色は既存サイトに合わせる: 金 #766c57 / 紺 #04085b / 罫線 #d5d2cc
 */

/* ============================================================
   共通：新着情報カード（トップ・一覧で共用）
   3カラムの寸法は home.css の .products（幅 31%）に合わせてある。
   ============================================================ */

.news_cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 3.5%;
	row-gap: 55px;
}

.news_card {
	list-style: none;
	min-width: 0;
}

.news_card a {
	display: block;
	color: #333;
	text-decoration: none;
}

.news_card .thumb {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: #eae8e8;
}

.news_card .thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s;
}

.news_card .meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 10px;
	margin-top: 18px;
}

.news_card .date {
	font-family: 'Bodoni Moda', serif;
	font-size: 1.6rem;
	color: #766c57;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.news_card .cats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.news_card .cats li {
	list-style: none;
	background-color: #04085b;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
	padding: 6px 10px;
	white-space: nowrap;
}

.news_card .title {
	margin-top: 12px;
	font-size: 1.7rem;
	font-weight: bold;
	line-height: 1.6em;
	word-break: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.news_card a:hover .thumb img {
	opacity: 0.85;
}

.news_card a:hover .title {
	color: #766c57;
}

.news_empty {
	padding: 60px 0;
	font-size: 1.6rem;
	color: #666;
}

@media screen and (max-width: 767px) {
	.news_cards {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	.news_card .meta {
		margin-top: 14px;
	}

	.news_card .title {
		margin-top: 8px;
		font-size: 1.6rem;
	}
}

/* ============================================================
   トップページの新着セクション
   メインビジュアル（.home_visual）の直下、紺色の ABOUT の上。
   PRODUCTS と同じ「中央見出し＋3カラム」。
   ============================================================ */

.news_home {
	padding: 90px 0 110px;
}

/* .sec_title は home.css の定義をそのまま使う（8rem / Bodoni Moda / #766c57） */
.news_home .sec_title {
	text-align: center;
	line-height: 1em;
	margin-bottom: 1em;
}

.news_home .gold_btn {
	margin: 60px auto 0;
}

@media screen and (max-width: 767px) {
	.news_home {
		padding: 50px 0 60px;
	}

	.news_home .gold_btn {
		margin: 40px auto 0;
	}
}

/* ============================================================
   一覧ページ /news/
   ============================================================ */

.news_archive {
	padding-bottom: 110px;
}

@media screen and (max-width: 767px) {
	.news_archive {
		padding-top: 50px !important;
		padding-bottom: 60px;
	}
}

/* ページネーション */

.news_pagination {
	margin-top: 60px;
}

.news_pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.news_pagination .page-numbers {
	display: block;
	min-width: 44px;
	padding: 0 12px;
	line-height: 42px;
	text-align: center;
	font-size: 1.5rem;
	color: #766c57;
	border: 1px solid #d5d2cc;
	text-decoration: none;
}

.news_pagination a.page-numbers:hover {
	background-color: #eae8e8;
}

.news_pagination .page-numbers.current {
	background-color: #766c57;
	border-color: #766c57;
	color: #fff;
}

.news_pagination .page-numbers.dots {
	border-color: transparent;
}

/* the_posts_pagination() が出力する見出しは読み上げ用なので隠す */
.news_pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media screen and (max-width: 767px) {
	.news_pagination .page-numbers {
		min-width: 38px;
		padding: 0 8px;
		line-height: 36px;
		font-size: 1.4rem;
	}
}

/* ============================================================
   詳細ページ /news/123/
   ============================================================ */

.news_single {
	padding-bottom: 110px;
}

.news_meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin-bottom: 0.6em;
}

.news_date {
	font-family: 'Bodoni Moda', serif;
	font-size: 1.6rem;
	color: #766c57;
	letter-spacing: 0.06em;
}

.news_meta .cats {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.news_meta .cats li {
	list-style: none;
	background-color: #04085b;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
	padding: 6px 10px;
	white-space: nowrap;
}

.news_eyecatch {
	margin-top: -20px;
}

.news_eyecatch img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.news_single .h2_title {
	font-size: 3rem;
}

.news_body {
	margin-top: 60px;
	font-size: 1.6rem;
	line-height: 2em;
}

.news_body > *:last-child {
	margin-bottom: 0;
}

.news_body p {
	margin-bottom: 1.8em;
}

.news_body a {
	color: #04085b;
	text-decoration: underline;
}

.news_body a:hover {
	color: #766c57;
}

.news_body strong,
.news_body b {
	font-weight: bold;
}

.news_body em,
.news_body i {
	font-style: italic;
}

.news_body h2 {
	font-size: 2.6rem;
	margin: 2em 0 0.8em;
	line-height: 1.4em;
}

.news_body h3 {
	font-size: 2.2rem;
	margin: 2em 0 0.8em;
	line-height: 1.4em;
}

.news_body h4 {
	font-size: 1.8rem;
	margin: 1.8em 0 0.8em;
	line-height: 1.4em;
	font-weight: bold;
}

/* reset.css が list-style を消しているので本文内だけ戻す */
.news_body ul,
.news_body ol {
	margin: 0 0 1.8em 1.6em;
}

.news_body ul li {
	list-style: disc;
}

.news_body ol li {
	list-style: decimal;
}

.news_body img,
.news_body iframe,
.news_body video {
	max-width: 100%;
	height: auto;
}

.news_body figure {
	margin-bottom: 1.8em;
}

.news_body figcaption {
	font-size: 1.4rem;
	color: #666;
	margin-top: 0.6em;
}

.news_body table {
	width: 100%;
	margin-bottom: 1.8em;
	border-collapse: collapse;
}

.news_body th,
.news_body td {
	border: 1px solid #d5d2cc;
	padding: 10px 14px;
	text-align: left;
}

.news_body th {
	background-color: #eae8e8;
	font-weight: bold;
}

.news_body blockquote {
	margin: 0 0 1.8em;
	padding-left: 1.2em;
	border-left: 3px solid #766c57;
	color: #555;
}

.news_body hr {
	border: 0;
	border-top: 1px solid #d5d2cc;
	margin: 2.5em 0;
}

/* 前後の記事 */

.news_nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 70px;
	padding-top: 25px;
	border-top: 1px solid #d5d2cc;
	font-size: 1.4rem;
}

.news_nav a {
	color: #766c57;
	max-width: 45%;
}

.news_nav a:hover {
	text-decoration: underline;
}

.news_nav .next {
	margin-left: auto;
	text-align: right;
}

.news_back {
	margin: 60px auto 0;
}

@media screen and (max-width: 767px) {
	.news_single {
		padding-top: 50px !important;
		padding-bottom: 60px;
	}

	.news_single .h2_title {
		font-size: 2.2rem;
	}

	.news_body {
		margin-top: 40px;
	}

	.news_nav {
		display: block;
	}

	.news_nav a {
		display: block;
		max-width: 100%;
		margin-bottom: 12px;
	}

	.news_nav .next {
		text-align: left;
	}

	.news_back {
		margin: 40px auto 0;
	}
}
