.senpai-archive {
	max-width: 1200px;
	margin: 50px auto;
	padding: 0 20px;
}

/* 見出し */
.archive-header {
	text-align: center;
	margin-bottom: 50px;
}
.archive-header h1 {
	font-size: 2.2rem;
	color: #4a2c2a;
	border-bottom: 2px solid #eee;
	display: inline-block;
	padding-bottom: 5px;
}

/* 一覧カード（3列固定） */
.senpai-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 35px;
}

.senpai-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.senpai-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.senpai-card a {
	color: inherit;
	text-decoration: none;
	display: block;
}

/* サムネイル画像（タイト調整） */
.senpai-thumb img {
	width: 100%;
	height: 320px; /* ← PCではタイトに */
	object-fit: cover;
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
}

/* 本文 */
.senpai-body {
	padding: 22px;
	text-align: center;
}
.senpai-title {
	font-size: 1.3rem;
	margin-bottom: 8px;
	color: #4a2c2a;
	font-weight: bold;
}
.senpai-school {
	font-size: 0.95rem;
	color: #555;
	margin-top: 4px;
	font-weight: 500;
}

/* ページネーション */
.pagination {
	margin-top: 50px;
	text-align: center;
}
.pagination a,
.pagination span {
	display: inline-block;
	margin: 0 5px;
	padding: 8px 14px;
	border-radius: 50%;
	border: 1px solid #4a2c2a;
	color: #4a2c2a;
	text-decoration: none;
	transition: 0.3s;
}
.pagination a:hover {
	background: #4a2c2a;
	color: #fff;
}
.pagination .current {
	background: #4a2c2a;
	color: #fff;
}

/* スマホでは2列 */
@media screen and (max-width: 599px) {
	.senpai-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.senpai-thumb img {
		height: 240px; /* ← スマホ用もタイトに */
	}
}
