@charset "UTF-8";
/* ================================
   Category Archive Styles (match category.php)
   ================================ */
/* ---- Tokens ---- */
/* ---- Helpers ---- */
/* ---- Layout ---- */
.cat {
  /* 投稿グリッド */
  /* ページネーション（the_posts_pagination 出力想定） */
  /* サイドバー（固定ヘッダー80px考慮） */
}
.cat__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.cat__main {
  min-width: 0;
}
.cat__header {
  margin-bottom: 16px;
}
.cat__title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
  position: relative;
}
.cat__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #eee;
  margin-top: 8px;
}
.cat__desc {
  color: #6b7280;
  line-height: 1.8;
  margin: 8px 0 0;
}
.cat__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cat__pagination {
  margin: 24px 0 0;
  text-align: center;
}
.cat__pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat__pagination .nav-links .page-numbers {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  border-radius: 9999px;
  text-decoration: none;
  background: #f9fafb;
  color: #111827;
}
.cat__pagination .nav-links .page-numbers.current {
  background: #f59e0b;
  color: #fff;
}
.cat__sidebar {
  position: sticky;
  top: 80px;
  height: -moz-fit-content;
  height: fit-content;
}

/* ---- Card ---- */
.catCard {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.catCard__link {
  text-decoration: none;
  color: #111827;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.catCard__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.catCard__link:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.35);
  outline-offset: 2px;
  border-radius: 16px;
}
.catCard__thumb img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 200px;
}
.catCard__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f3f4f6;
  border-radius: 12px;
}
.catCard__body {
  display: grid;
  padding: 10px;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.catCard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catCard__chips .chip {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #fde7cf;
  color: rgb(221.4251968504, 142.4744094488, 9.0748031496);
  line-height: 1;
}
.catCard__title {
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catCard__date {
  font-size: 12px;
  color: #6b7280;
}
.catCard__excerpt {
  color: #374151;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Sidebar ---- */
.sidebarCard {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.sidebarCard__hd {
  margin: 0 0 12px;
  font-weight: 800;
  color: #111827;
  position: relative;
}
.sidebarCard__hd::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
  margin-top: 8px;
}

/* カテゴリ一覧（wp_list_categories 出力） */
.sidebarCatList {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebarCatList li {
  margin: 6px 0;
}
.sidebarCatList a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111827;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.12s ease;
}
.sidebarCatList a:hover {
  background: #f9fafb;
  text-decoration: underline;
}

/* ---- Global: focus ---- */
a:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.35);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .cat__wrap {
    grid-template-columns: 1fr;
  }
  .cat__grid {
    grid-template-columns: 1fr;
  }
  .cat__sidebar {
    position: static;
    top: auto;
  }
  .catCard__link {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .cat__wrap {
    padding: 16px;
  }
  .cat__title {
    font-size: 20px;
  }
  .catCard__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}/*# sourceMappingURL=category.css.map */