/* hondanadb.com Design System - #bbe2f1 Base Luxury Palette */
:root {
  --theme-ice: #bbe2f1;
  --theme-ice-light: #f2f8fc;
  --theme-ice-subtle: #e6f2f8;
  --theme-navy: #15253b;
  --theme-slate: #2c425e;
  --bg: #fbfdfa;
  --card-bg: #ffffff;
  --border: #d4e5f0;
  --border-light: #eef5f9;
  --primary: #112033;
  --text: #223247;
  --muted: #5b728d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.03em;
}
.logo span {
  background: var(--theme-ice);
  color: var(--theme-navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  border: 1px solid #a3d4e8;
}
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--theme-slate); font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; }

/* 統計メトリクスバー */
.metrics-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 1.5rem auto 2.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--theme-ice-light);
  border: 1px solid var(--border);
  border-radius: 9999px;
  max-width: 650px;
  font-size: 0.85rem;
  color: var(--theme-slate);
}
.metrics-item strong {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  margin-right: 0.2rem;
}

/* ジャンル・フィルターピルボタン */
.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.pill-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.pill-btn:hover, .pill-btn.active {
  background: var(--theme-ice);
  color: var(--theme-navy);
  border-color: #a1d1e6;
  font-weight: 600;
}

/* パンくずリスト */
.breadcrumb {
  margin-bottom: 1.8rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #a8c1d6;
}
.breadcrumb a {
  color: var(--theme-slate);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  text-decoration: underline;
  color: var(--primary);
}
.breadcrumb li[aria-current="page"] {
  color: var(--muted);
  font-weight: 500;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.section-link {
  font-size: 0.85rem;
  color: var(--theme-slate);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.75; text-decoration: underline; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.book-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  background: var(--card-bg);
  box-shadow: 0 4px 16px -4px rgba(21, 37, 59, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(21, 37, 59, 0.09);
  border-color: #a8d5e8;
}

/* 本の装丁プレビュー */
.book-cover-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.book-cover-wrapper {
  width: 58px;
  height: 82px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.book-cover-img {
  width: 58px;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 2px 4px 12px rgba(21, 37, 59, 0.18);
  border: 1px solid rgba(21, 37, 59, 0.08);
}
.book-cover-art {
  width: 58px;
  height: 82px;
  background: linear-gradient(135deg, #1b324f 0%, #112033 100%);
  border-radius: 4px;
  box-shadow: 2px 4px 10px rgba(21, 37, 59, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.45rem 0.35rem;
  flex-shrink: 0;
  border-left: 3px solid #bbe2f1;
}
.book-cover-art span {
  font-size: 0.55rem;
  color: #bbe2f1;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--theme-ice-subtle);
  color: var(--theme-navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  width: fit-content;
  border: 1px solid #c2e2f0;
  letter-spacing: 0.02em;
}
.book-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--primary);
  line-height: 1.45;
  text-decoration: none;
  display: block;
  letter-spacing: 0.01em;
}
.book-title:hover { color: #20416b; }
.book-author { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.1rem; }

.recommender-tags {
  margin-bottom: 1.3rem;
  line-height: 1.9;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.recommender-tag {
  display: inline-block;
  background: var(--theme-ice-light);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  color: var(--theme-slate);
  text-decoration: none;
  transition: all 0.2s;
}
.recommender-tag:hover {
  background: var(--theme-ice);
  color: var(--theme-navy);
  border-color: #a1d1e6;
}

/* 上品で落ち着きのある3連ボタングループ */
.btn-group { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; margin-top: auto; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.5rem 0.2rem;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.btn-amazon {
  background: #fdfaf6;
  color: #78350f;
  border: 1px solid #edd5b8;
}
.btn-amazon:hover {
  background: #78350f;
  color: #ffffff;
  border-color: #78350f;
}
.btn-rakuten {
  background: #fdf5f6;
  color: #881337;
  border: 1px solid #f1cfd7;
}
.btn-rakuten:hover {
  background: #881337;
  color: #ffffff;
  border-color: #881337;
}
.btn-audible {
  background: #f4f8fb;
  color: var(--theme-navy);
  border: 1px solid #cce1ee;
}
.btn-audible:hover {
  background: var(--theme-navy);
  color: #ffffff;
  border-color: var(--theme-navy);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.1rem;
}
.people-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  box-shadow: 0 2px 8px -2px rgba(21, 37, 59, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.people-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--theme-ice);
  box-shadow: 0 8px 20px -4px rgba(21, 37, 59, 0.08);
}
.people-name { font-weight: 700; font-size: 0.92rem; color: var(--primary); margin-bottom: 0.25rem; }
.people-title { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }

footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 5rem;
  background: var(--theme-ice-light);
}
