/* ==========================================================
	archive.css
	投稿一覧ページ（home.php / archive.php）用スタイル.
	========================================================== */
body {
	background: var(--bg);
}

.pd-page-hero-header { 
	background: linear-gradient(rgba(0,40,90,0.65), rgba(0,25,60,0.85)), url('../../images/main/page_main.jpg') center/cover; 
	color: var(--wh); padding: 60px 0; text-align: left;
}
.pd-page-hero-header h1 {
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	font-family: "Shippori Mincho", serif;
}
.pd-cpt-hero-eyebrow {
	font-family: "Jost", sans-serif;
}

.pd-breadcrumb-bar {
	background: var(--wh);
	padding: 15px 0;
	font-size: 0.85rem;
	color: var(--tm);
}
.pd-breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 8px;
}
.pd-breadcrumb-list a {
	text-decoration: none;
	color: var(--p);
	font-weight: 600;
}
.pd-breadcrumb-list a:hover {
	text-decoration: underline;
}
.pd-breadcrumb-list li:not(:last-child)::after {
	content: '>';
	margin-left: 8px;
	color: #cbd5e1;
}
.pd-breadcrumb-list li:last-child {
	color: var(--td);
	font-weight: 500;
}

.pd-archive-section { padding: 60px 0 100px; width: 100%; clear: both; }

/* ---------- レスポンシブ対応グリッド ---------- */

.pd-archive-grid { 
	display: grid; 
	grid-template-columns: repeat(3, 1fr);
	gap: 50px 30px;
	width: 100%; 
}

/* ---------- 取引先カード ---------- */

.pd-archive-card { 
	background: var(--wh);
	border: 1px solid rgba(0,0,0,0.04);
	border-radius: 6px;
	display: flex; 
	flex-direction: column; 
	text-align: left; 
	text-decoration: none; 
	color: inherit; 
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.pd-archive-card:hover { 
	text-decoration: none; 
}
.pd-archive-card-image { 
	width: 100%; 
	background: rgba(0,0,0,0.05);
	overflow: hidden; 
	margin-bottom: 22px; 
	transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); 
	will-change: transform;
}
.pd-archive-card-image img { 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
}
.pd-archive-card:hover .pd-archive-card-image { 
	transform: scale(1.03); 
}
.pd-archive-card-title { 
	font-size: 1.2rem; 
	font-weight: 800; 
	color: var(--p);
	text-align: center;
	margin-bottom: 12px; 
	padding: 0 20px; 
	letter-spacing: 0.02em;
	transition: color 0.3s ease;
}
.pd-archive-card:hover .pd-archive-card-title { 
	color: var(--pd);
}
.pd-archive-card-description { 
	font-size: 0.9rem; 
	color: #555555; 
	line-height: 1.75; 
	padding: 0 20px 25px; 
	text-align: justify;
}
@media (max-width: 1024px) {
	.pd-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 25px; }
}
@media (max-width: 767px) {
	.pd-archive-grid { grid-template-columns: 1fr; gap: 45px 0; }
	.pd-archive-card-image { height: 200px; }
	.pd-archive-card-title { font-size: 1.15rem; padding: 0 15px; }
	.pd-archive-card-description { padding: 0 15px 20px; }
}

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

.pd-pagination {
	width: 100%;
	margin-top: 60px;
	text-align: center;
	clear: both;
}
.pd-pagination .nav-links {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}
.pd-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background-color: var(--wh);
	color: var(--p);
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 0px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
	transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out, border-color 0.5s ease-in-out;
}
.pd-pagination .page-numbers:hover {
	background-color: var(--pd);
	color: var(--wh);
	border-color: var(--pd);
	box-shadow: 0 4px 12px rgba(44, 62, 80, 0.15);
}
.pd-pagination .page-numbers.current {
	background-color: var(--p);
	color: var(--wh);
	border-color: var(--p);
	box-shadow: 0 4px 10px rgba(35, 107, 170, 0.25);
	pointer-events: none;
}
.pd-pagination .page-numbers.dots {
	background-color: transparent;
	border: none;
	color: var(--tm);
	box-shadow: none;
	pointer-events: none;
}
@media (max-width: 576px) {
	.pd-pagination { margin-top: 40px; }
	.pd-pagination .nav-links { gap: 8px; }
	.pd-pagination .page-numbers {
		width: 38px;
		height: 38px;
		font-size: 0.9rem;
	}
}
