.site-header {
    text-align: center;
    padding: 20px 0;
}

.site-logo {
    max-height: 60px;
}

.main-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.main-categories a {
    text-decoration: none;
    color: #000;
}

.main-categories a:hover {
    color: crimson;
}

.site-header {
    position: relative;
    padding-bottom: 80px;
}

.main-categories {
    text-align: center;
    margin-top: 20px;
}

.nav-category {
    display: inline-block;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
}

.subcategory-box {
    display: none;
    position: fixed;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    width: 960px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    z-index: 100;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    box-sizing: border-box;
}

.subcategory-box a {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.subcategory-box a:hover {
    background-color: #f5f5f5;
    color: crimson;
}

.site-footer {
    background-color: #2f3232;
    color: #eee;
    text-align: center;
    padding: 40px 20px;
  }
  
.footer-logo img {
  max-height: 50px;
}
  
.footer-logo .tagline {
  font-size: 0.9rem;
  margin-top: 8px;
  color: #ccc;
}
  
.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: #ddd;
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer hr {
  margin: 30px auto 20px;
  border-color: #666;
  width: 80%;
}

.image-placeholder {
  width: 100px;
  height: 100px;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #555;
}

.article-snippet {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.article-meta {
  font-size: 0.8rem;
}

.article-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.article-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
}

.article-body * {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 8px;
}

.article-body table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 1rem 0;
}

.article-body table, .article-body th, .article-body td {
  padding: 8px;
}

.input-wrapper {
  flex-grow: 1;
}

/* ✅ BootstrapのCSS変数を強制上書き */
.pagination {
  --bs-pagination-border-color: transparent !important;
  --bs-pagination-hover-border-color: transparent !important;
  --bs-pagination-focus-box-shadow: none !important;
  --bs-pagination-border-radius: 0 !important;
}

/* ✅ 各ページ番号のリンクボーダー・影などを全除去 */
.page-link {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
  color: #007bff !important;
}

/* ✅ アクティブ状態（現在ページ）を目立たせる */
.page-item.active .page-link {
  background-color: #007bff !important;
  color: #fff !important;
  font-weight: bold;
  border-radius: 4px !important;
  border: none !important;
}

