/**
 * Blog Archive Page Styles
 * 特集ページ スマホ用CSS
 */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-beige-bg: #f2ede8;
  --color-brand: #b8a991;
  --color-insured: #e1eeef;
  --color-private: #eee6da;
  --color-border: #cccccc;
  --color-gray-light: #f1f1f1;
  --color-gray-medium: #666666;

  --font-primary: "TOT-ShizukaMin StdN", serif;
  --font-logo: "Inter", sans-serif;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
}

/* Page Title */
.page-title {
  font-size: 22px;
  line-height: 2;
  text-align: center;
  margin-bottom: 10px;
  padding-top: 90px;
  margin: 0px 0 5vw;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4vw;
  margin-bottom: 5vw;
}

.filter-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 8px;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-gray-medium);
  transition: all 0.2s;
  cursor: pointer;
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

.filter-tab--active {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-white);
}

/* Blog Grid */
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  margin-bottom: 60px;
  justify-content: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 30px auto;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.blog-card {
  width: 49%;
  margin-bottom: 2%;
  padding-bottom: 10px;
  position: relative;
  background-color: var(--color-beige-bg);
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (max-width: 880px) {
}
/* .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
} */

.blog-card__image {
  width: 100%;
  aspect-ratio: 1.5/1;
  padding: 4vw 2vw 0;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__content {
  padding: 13px 13px 8px 13px;
}

.blog-card__title {
  height: 54px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card__date {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0px;
  font-family: var(--font-logo);
  letter-spacing: 0.05em;
}

.blog-card__categorys {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-gray-medium);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.wp-pagenavi {
  display: flex;
}

.wp-pagenavi a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  border: none;
  width: 32px;
  background: #f1f1f1;
  padding: 9px 0px;
  margin: 2px;
}

.wp-pagenavi span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  border: none;
  width: 32px;
  height: 32px;
  background: #f1f1f1;
  margin: 2px;
}

.wp-pagenavi span.pages {
  display: none;
}

.wp-pagenavi span.current {
  color: #fff;
  background: #b8a991;
  font-weight: normal;
}
