@charset "UTF-8";

/* ========================================
News Archive
======================================== */

.newsArchive {
	padding: 90px 0 130px;
	background: #f8f7f4;
}

.newsArchive__inner {
	width: min(calc(100% - 80px), 1100px);
	margin: 0 auto;
}

.newsArchive__heading {
	text-align: center;
	margin-bottom: 55px;
}

.newsArchive__en {
	position: relative;
	margin-top: 8px;
	padding-bottom: 10px;

	color: #c38b20;
	font-family: "LINE Seed JP", sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
}

.newsArchive__en::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;

	width: 38px;
	height: 1px;

	background: #c38b20;
	transform: translateX(-50%);
}

.newsArchive__title {
	margin: 0;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(26px, 2vw, 34px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .08em;
}



/* ========================================
News List
======================================== */

.newsArchiveList {
	border-top: 1px solid #d9d4cc;
}

.newsArchiveItem {
	border-bottom: 1px solid #d9d4cc;
}

.newsArchiveItem__link {
	display: grid;
	grid-template-columns: 170px 1fr 40px;
	align-items: center;
	gap: 30px;

	padding: 32px 10px;

	text-decoration: none;
	color: inherit;

	transition: .3s;
}

.newsArchiveItem__link:hover {
	background: rgba(195,145,47,.04);
}

.newsArchiveItem__date {
	font-size: 14px;
	color: #777;
	letter-spacing: .05em;
}

.newsArchiveItem__title {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.8;
}

.newsArchiveItem__arrow {
	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 14px;
	color: #c3912f;

	transition: .3s;
}

.newsArchiveItem__link:hover .newsArchiveItem__arrow {
	transform: translateX(6px);
}



/* ========================================
Pagination
======================================== */

.pagination {
	margin-top: 70px;
}

.pagination__list {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.pagination__item {
	list-style: none;
}

.pagination__link {
	width: 46px;
	height: 46px;

	display: flex;
	align-items: center;
	justify-content: center;

	border: 1px solid #d9d4cc;
	background: #fff;

	font-size: 15px;
	text-decoration: none;
	color: #222;

	transition: .3s;
}

.pagination__link:hover {
	border-color: #c3912f;
	color: #c3912f;
}

.pagination__link.is-current {
	background: #c3912f;
	border-color: #c3912f;
	color: #fff;
}



/* ========================================
SP
======================================== */

@media screen and (max-width: 767px) {

	.newsArchive {
		padding: 70px 0 90px;
	}

	.newsArchive__inner {
		width: calc(100% - 40px);
	}

	.newsArchive__heading {
		margin-bottom: 45px;
	}

	.newsArchive__title {
		font-size: 28px;
	}

	.newsArchiveItem__link {
		grid-template-columns: 1fr;
		gap: 12px;

		padding: 22px 0;
		position: relative;
	}

	.newsArchiveItem__date {
		font-size: 12px;
	}

	.newsArchiveItem__title {
		font-size: 15px;
		padding-right: 30px;
	}

	.newsArchiveItem__arrow {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}

	.pagination {
		margin-top: 50px;
	}

	.pagination__link {
		width: 40px;
		height: 40px;
		font-size: 14px;
	}
}


/* =========================================================
   News Detail
========================================================= */

.newsDetail {
	padding: 100px 0 140px;
	background: #f8f7f4;
}

.newsDetail__inner {
	width: min(calc(100% - 80px), 1000px);
	margin: 0 auto;
}


/* Header */

.newsDetail__header {
	padding-bottom: 34px;
	border-bottom: 1px solid #d9d4cc;
}

.newsDetail__date {
	display: block;

	margin-bottom: 18px;

	color: #a97a26;
	font-family: "LINE Seed JP", sans-serif;
	font-size: 13px;
	letter-spacing: .08em;
}

.newsDetail__title {
	margin: 0;

	color: #282824;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(26px, 2vw, 34px);
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .06em;
}


/* Body */

.newsDetail__body {
	padding: 45px 0 20px;
}

.newsDetail__body p {
	margin: 0;

	color: #333;
	font-size: 14px;
	line-height: 2;
	letter-spacing: .04em;
}

.newsDetail__body p + p {
	margin-top: 18px;
}


/* Gallery */

.newsDetailGallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;

	width: min(calc(100vw - 80px), 1200px);
	margin-top: 40px;

	/* 1000pxの本文から左右にはみ出して中央配置 */
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.newsDetailGallery__item {
	margin: 0;
	overflow: hidden;
}

.newsDetailGallery__item img {
	display: block;
	width: 100%;
	height: auto;
	/*aspect-ratio: 4 / 3;*/
	object-fit: contain;
	transition: transform .35s ease;
}

.newsDetailGallery__item:hover img {
	transform: scale(1.03);
}

/* 画像が1枚の場合 */
.newsDetailGallery--1 {
	grid-template-columns: minmax(0, 380px);
	justify-content: center;
}


/* 画像が2枚の場合 */
.newsDetailGallery--2 {
	grid-template-columns: repeat(2, minmax(0, 380px));
	justify-content: center;
}


/* 4枚・7枚など、最終行が1枚の場合は中央 */
.newsDetailGallery--3 .newsDetailGallery__item:last-child:nth-child(3n + 1) {
	grid-column: 2;
}



/* Back */

.newsDetail__back {
	display: flex;
	justify-content: center;

	margin-top: 80px;
}

.newsDetail__backButton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;

	width: 280px;
	min-height: 56px;

	border: 1px solid #c88a27;
	border-radius: 30px;

	color: #a66e16;
	background: #fff;

	font-size: 14px;
	font-weight: 600;
	text-decoration: none;

	transition:
		background-color .25s ease,
		color .25s ease;
}

.newsDetail__backButton:hover {
	background: #c88a27;
	color: #fff;
}


/* =========================================================
   SP
========================================================= */

@media screen and (max-width: 767px) {

	.newsDetail {
		padding: 65px 0 90px;
	}

	.newsDetail__inner {
		width: calc(100% - 36px);
	}


	.newsDetail__header {
		padding-bottom: 25px;
	}


	.newsDetail__date {
		margin-bottom: 12px;

		font-size: 12px;
	}


	.newsDetail__title {
		font-size: 22px;
		line-height: 1.65;
	}


	.newsDetail__body {
		padding-top: 30px;
	}


	.newsDetail__body p {
		font-size: 12px;
		line-height: 1.95;
	}


	.newsDetailGallery {
		grid-template-columns: 1fr;
		width: 100%;
		left: auto;
		transform: none;
		gap: 16px;
	}


	.newsDetail__back {
		margin-top: 55px;
	}


	.newsDetail__backButton {
		width: 100%;
		max-width: 280px;
		min-height: 52px;

		font-size: 13px;
	}

}


@media screen and (max-width: 480px) {

	.newsDetailGallery {
		grid-template-columns: 1fr;
	}

}

