/**
 * Blog Archive Page Styles
 * 特集ページ PC用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: 40px;
  line-height: 2;
  text-align: center;
  font-weight: 400;
  margin: 108px 0 58px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.filter-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
  font-size: 16px;
  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:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
  color: var(--color-white);
}

.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 50px auto;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.blog-card {
  width: 32%;
  margin-bottom: 2%;
  padding-bottom: 10px;
  position: relative;
  background-color: var(--color-beige-bg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.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: 30px 18.44px 0;
  overflow: hidden;
}

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

.blog-card__content {
  padding: 13px;
}

.blog-card__title {
  height: 88px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-weight: 400;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-card__date {
  font-family: var(--font-logo);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}

.blog-card__categorys {
  font-size: 14px;
  line-height: 2.71;
  letter-spacing: 0.04em;
  color: var(--color-gray-medium);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 70px;
  margin-bottom: 76px;
  width: 100%;
}

.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: 40px;
  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: 40px;
  height: 40px;
  background: #f1f1f1;
  padding: 9px 0px;
  margin: 2px;
}

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

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