@charset "UTF-8";

body {
	background: none !important;
}

.bottom-svg {
	display: none;
}

.archive-wrap .bottom-svg {
	display: block;
	margin-top: 168px;
}

.page-title {
	height: 554px;
	position: relative;
	z-index: -1;
}

.news {
	background: url(../img/page/news/news-title.webp) no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 554px;
}

.news h1 {
	color: #fff;
	font-size: 50px;
	letter-spacing: .08em;
	line-height: 1.2;
	padding-top: 238px;
	padding-left: 143px;
}

.archive-wrap {
	background: url(../img/body.webp);
	background-repeat: repeat;
	border-radius: 50px 50px 0 0;
	margin: -40px auto 0;
	color: #1F1F1F;
	width: 100%;
	overflow-x: hidden;
	padding-top: 92px;
}

.cat-list {
	display: flex;
	margin: 0 auto;
	width: 90%;
	max-width: 1176px;
}

.cat-list a {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2;
	padding: 0 15px 0 11px;
	border-left: 1px solid #000;
}

.cat-list a:hover {
	color: #006E3F;
}

.cat-list li:first-child a {
	border-left: none;
}

.archive-wrap .col {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 32px;
	margin: 86px auto 76px;
	width: 90%;
	max-width: 1176px;
}

/* 記事 */
article {
	position: relative;
}

article > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

article:has(a:hover) img {
	transform: scale(1.1);
    transition: .5s all;
}

.thumbnail {
	border-radius: 10px;
	overflow: hidden;
	max-width: 368px;
}

.thumbnail img {
	object-fit: contain;
    object-position: top;
	transition: .5s all;
	width: 100%;
}

.cat-name {
	background: #006E3F;
	border-radius: 5px;
	color: #fff;
	display: block;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .05em;
	line-height: 2;
	padding: 1px 40px 1px 10px;
	position: relative;
	margin: -52px 0 34px -8px;
	max-width: max-content;
}

article .date,
article h3 {
	font-size: 15px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: .05em;
}

article .date {
	color: #747474;
}

/* ページャー */

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
}

.page-numbers {
	background: #E0E0E0;
	border-radius: 50%;
	color: #747474;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	line-height: 39px;
	width: 39px;
	height: 39px;
}

.page-numbers.current {
	background: #006E3F;
	color: #fff;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
	background: none !important;
	border: none;
	width: auto;
	height: auto;
}

.nav-links .page-numbers.prev {
	transform: rotate(180deg);
}

@media screen and (max-width:768px) {
	.news,
	.page-title {
		height: 265px;
	}

	.archive-wrap {
		padding-top: 83px;
	}

	.news h1 {
		font-size: 30px;
		padding: 116px 0 0;
		text-align: center;
	}

	.archive-wrap .col {
		grid-template-columns: repeat(1, 1fr);
		gap: 42px;
		place-items: center;
		margin: 55px auto 54px;
	}

	.archive-wrap .bottom-svg {
		margin-top: 136px;
	}
}