/*
Theme Name: ASO TRAVEL Media
Description: 阿蘇観光メディアサイト - BRUTUSインスパイアードデザイン
Version: 5.0.0 Enhanced
Author: ASO Media Team
Text Domain: aso-media
*/

/* ───────────────────────────────────────────
   CSS Variables
──────────────────────────────────────────── */
:root {
  --primary-color: #1a1a1a;
  --accent-color: #c41230;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --border-light: #e5e5e5;
  --bg-light: #f8f8f8;
  --max-width: 1400px;
  --header-height: 80px;
  --font-primary: "Noto Sans JP", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: "Noto Serif JP", Georgia, serif;
}

/* ───────────────────────────────────────────
   Reset & Base
──────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* ───────────────────────────────────────────
   Typography
──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.4;
}

.heading-xlarge {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-large {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.heading-medium {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

/* ───────────────────────────────────────────
   Container
──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ───────────────────────────────────────────
   Header
──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* ロゴ - ASO TRAVEL スタイル */
.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo a {
  display: flex;
  align-items: baseline;
}

.logo-aso {
  color: var(--accent-color);
}

.logo-travel {
  color: var(--text-primary);
  font-weight: 300;
  margin-left: 8px;
}

/* ナビゲーション */
.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  
  .main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    padding: 8px 0;
    display: block;
  }
  
  .main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
  }
  
  .main-nav a:hover::after {
    width: 100%;
  }
}

/* モバイルメニューボタン */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* ───────────────────────────────────────────
   Hero Section
──────────────────────────────────────────── */
.hero-section {
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  color: white;
}

.hero-inner {
  padding: 80px 0;
  max-width: 900px;
}

.hero-category {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-excerpt {
  font-size: 18px;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  opacity: 0.9;
}

/* ───────────────────────────────────────────
   Section Common
──────────────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text-primary);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.view-all {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all::after {
  content: '→';
  transition: transform 0.3s ease;
}

.view-all:hover::after {
  transform: translateX(5px);
}

/* ───────────────────────────────────────────
   Top News Section - 画像付き改善版
──────────────────────────────────────────── */
.top-news-section {
  padding: 80px 0;
  background: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.news-card {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateX(5px);
}

.news-card-content {
  flex: 1;
}

.news-card-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f0f0f0;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-category {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card-title a:hover {
  opacity: 0.7;
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ───────────────────────────────────────────
   Hot Topics Section - 自動スライダー版
──────────────────────────────────────────── */
.hot-topics-section {
  padding: 80px 0;
  background: var(--bg-light);
  overflow: hidden;
}

.topics-container {
  position: relative;
  overflow: hidden;
}

.topics-slider-wrapper {
  display: flex;
  gap: 24px;
  animation: slideLeft 30s linear infinite;
  width: fit-content;
}

.topics-slider-wrapper:hover {
  animation-duration: 60s; /* ホバー時に速度を半分に */
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.topic-card {
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
  width: 320px;
}

.topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.topic-card-image {
  aspect-ratio: 1/1; /* 1:1の比率 */
  overflow: hidden;
  background: #ddd;
  position: relative;
}

.topic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.topic-card:hover .topic-card-image img {
  transform: scale(1.08);
}

.topic-card-content {
  padding: 20px;
}

.topic-card-category {
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.topic-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.topic-card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-card-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 広告スペースもスライダー内に含める */
.ad-space {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  width: 320px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
}

/* ───────────────────────────────────────────
   Recommend Section - 画像付き改善版
──────────────────────────────────────────── */
.recommend-section {
  padding: 80px 0;
  background: white;
}

.recommend-featured {
  background: var(--bg-light);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.recommend-featured-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.recommend-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recommend-featured:hover .recommend-featured-image img {
  transform: scale(1.05);
}

.recommend-featured-content {
  padding: 60px;
  text-align: center;
}

.recommend-featured-inner {
  max-width: 700px;
  margin: 0 auto;
}

.recommend-featured-category {
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.recommend-featured-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 24px;
}

.recommend-featured-title a:hover {
  opacity: 0.8;
}

.recommend-featured-excerpt {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.recommend-featured-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ───────────────────────────────────────────
   Articles Section
──────────────────────────────────────────── */
.articles-section {
  padding: 80px 0;
  background: white;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.article-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card-image {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 20px;
  background: #ddd;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-category {
  color: var(--accent-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-card-title a:hover {
  opacity: 0.8;
}

.article-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
}

.article-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-card-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ddd;
}

.article-card-author-name {
  font-weight: 500;
  color: var(--text-primary);
}

.article-card-date {
  color: var(--text-secondary);
}

/* ───────────────────────────────────────────
   Load More Button
──────────────────────────────────────────── */
.load-more {
  text-align: center;
  padding: 60px 0;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border: 2px solid var(--text-primary);
  background: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--text-primary);
  color: white;
}

/* ───────────────────────────────────────────
   Footer
──────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: white;
  padding: 80px 0 32px;
}

.footer-main {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-about h3,
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: white;
  color: var(--text-primary);
}

.footer-column h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.6;
}

/* ───────────────────────────────────────────
   Responsive Design
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-excerpt {
    font-size: 16px;
  }
  
  .news-card {
    flex-direction: column;
  }
  
  .news-card-image {
    width: 100%;
    height: 200px;
  }
  
  .topic-card {
    width: 280px;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .recommend-featured-content {
    padding: 40px 20px;
  }
  
  .recommend-featured-title {
    font-size: 28px;
  }
  
  .recommend-featured-image {
    height: 250px;
  }
}

/* ───────────────────────────────────────────
   Archive Page Styles - モックアップ準拠
──────────────────────────────────────────── */

.archive-page-wrapper {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: #f8f8f8;
  min-height: 100vh;
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  margin-bottom: 80px;
}

/* Archive Main Content */
.archive-main {
  background: white;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.archive-page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent-color);
  color: var(--text-primary);
}

/* Archive Post Card */
.archive-posts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.archive-post-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.archive-post-card:hover {
  background: #fafafa;
  margin: 0 -20px;
  padding: 20px;
}

.archive-post-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #f0f0f0;
}

.archive-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.archive-post-card:hover .archive-post-image img {
  transform: scale(1.05);
}

.archive-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-post-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.archive-post-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.archive-post-title a:hover {
  color: var(--accent-color);
}

.archive-post-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.archive-post-category {
  background: var(--accent-color);
  color: white;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.archive-post-date {
  color: #999;
}

/* Archive Sidebar */
.archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-ad {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ad-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-widget {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-color);
  color: var(--text-primary);
}

/* Popular Articles Widget */
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popular-post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-left: 30px;
}

.popular-rank {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
}

.popular-post-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popular-post:hover .popular-post-image img {
  transform: scale(1.05);
}

.popular-post-content {
  flex: 1;
}

.popular-post-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.popular-post-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.popular-post-title a:hover {
  color: var(--accent-color);
}

.popular-post-date {
  font-size: 11px;
  color: #999;
}

/* Recommend Section */
.archive-recommend {
  margin-top: 80px;
}

.recommend-title {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.recommend-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.recommend-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.recommend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.recommend-card a {
  text-decoration: none;
  color: var(--text-primary);
}

.recommend-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.recommend-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recommend-card:hover .recommend-card-image img {
  transform: scale(1.08);
}

.recommend-card-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent-color);
  color: white;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
}

.recommend-card-content {
  padding: 16px;
}

.recommend-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommend-card-meta {
  font-size: 12px;
  color: #999;
}

/* Pagination */
.archive-pagination {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.archive-pagination .page-numbers {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #ddd;
  background: white;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.archive-pagination .page-numbers:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.archive-pagination .page-numbers.current {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

/* Responsive Archive */
@media (max-width: 1200px) {
  .recommend-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .archive-layout {
    grid-template-columns: 1fr;
  }
  
  .archive-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .sidebar-widget {
    grid-column: span 2;
  }
  
  .recommend-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .archive-post-card {
    flex-direction: column;
  }
  
  .archive-post-image {
    width: 100%;
    height: 200px;
  }
  
  .archive-sidebar {
    display: flex;
    flex-direction: column;
  }
  
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .recommend-grid {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────────────────────────
   その他のスタイル
──────────────────────────────────────────── */
