/* アーカイブページ専用スタイル */

/* アーカイブセクション */
.archive-title {
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
}

.archive-section {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.archive-section h1 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	text-align: left;
}

.archive-section h1 .archive-order {
	font-size: 14px;
	font-weight: 400;
	margin-left: 8px;
}

/* 投稿一覧スタイル */
.archive-post {
	margin-bottom: 30px;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}

.archive-post:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.archive-post:last-child {
	border-bottom: none;
}

/* アイキャッチ画像スタイル */
.archive-post .post-thumbnail {
	margin-bottom: 15px;
}

.archive-post .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
}

.archive-post .post-thumbnail a {
	display: block;
	text-decoration: none;
}

.archive-post .post-thumbnail a:hover {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

/* アイキャッチ画像がない場合のプレースホルダー */
.post-thumbnail.no-thumbnail .thumbnail-placeholder {
	width: 100%;
	height: 200px;
	background: #f5f5f5;
	border: 2px dashed #ddd;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.post-thumbnail.no-thumbnail:hover .thumbnail-placeholder {
	background: #e8e8e8;
	border-color: #ccc;
}

.placeholder-text {
	font-size: 48px;
}

/* タイトルスタイル */
.archive-post .post-title {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.archive-post .post-title a {
	text-decoration: none;
	transition: color 0.3s ease;
}

.archive-post .post-title a:hover {
	text-decoration: underline;
}

/* メタ情報のスタイル */
.archive-post .post-meta {
	margin-bottom: 15px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	font-size: 11px;
}

.archive-post .post-meta > * {
	display: flex;
	align-items: center;
	gap: 4px;
}

.archive-post .post-meta .post-date {
	/* グローバル設定を使用 */
}

.archive-post .post-meta .categories a,
.archive-post .post-meta .tags a {
	text-decoration: none;
	transition: color 0.3s ease;
}

.archive-post .post-meta .categories a:hover,
.archive-post .post-meta .tags a:hover {
	text-decoration: underline;
}

.archive-post .post-meta .reading-time {
	font-style: italic;
}

/* 本文（抜粋）スタイル */
.archive-post .post-excerpt {
	font-size: 14px;
	line-height: 1.6;
}

/* ページネーション */
.archive-pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
    margin-bottom: 50px;
}

.pagination-wrapper a,
.pagination-wrapper span {
	display: inline-block;
	padding: 8px 12px;
	text-decoration: none;
	border: 1px solid;
	border-radius: 4px;
	transition: all 0.3s ease;
	font-size: 12px;
	min-width: 40px;
	text-align: center;
}

.pagination-wrapper a:hover {
	background: #fe5126;
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-wrapper .current {
	background: #fe5126;
	color: white;
	border-color: #fe5126;
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
	font-weight: 600;
}

.pagination-wrapper .dots {
	border: none;
	padding: 8px 4px;
	min-width: auto;
}

/* 投稿が見つからない場合 */
.no-posts {
	text-align: center;
	padding: 40px 20px;
}

.no-posts h2 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 15px;
}

.no-posts p {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 20px;
}

.no-posts .back-home {
	display: inline-block;
	padding: 10px 20px;
	background: #fe5126;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s ease;
}

.no-posts .back-home:hover {
	background: #d43d1f;
}

/* アーカイブページのフッターに表示する年月別投稿数 */
.archive-monthly-counts {
	margin-top: 126px;
	/* padding-left: 60px;
	padding-right: 60px; */
}

/* .archive-monthly-counts h3 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #fe5126;
} */

.archive-monthly-counts .monthly-list {
    width: 200px;
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	/* gap: 8px; */
}

.archive-monthly-counts .monthly-item{
    margin-bottom: 16px;
}
.archive-monthly-counts .monthly-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.3s ease;
	/* padding: 8px 0; */
}

.archive-monthly-counts .monthly-item a:hover {
	color: #fe5126;
	padding-left: 8px;
}

.archive-monthly-counts .month-name {
	font-size: 14px;
	font-weight: 600;
}

.archive-monthly-counts .post-count {
	font-size: 14px;
	font-weight: 400;
}

/* カテゴリーページ用フッター */
.site-footer.footer-archive {
	justify-content: space-between;
}

.site-footer.footer-archive p{
    text-align: center;

    
}
