@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Shippori+Mincho+B1:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;700;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --hb-gold: #BFA24B;
  --hb-gold-deep: #A07650;
  --hb-gold-light: #D4BC6A;
  --hb-gold-pale: #F5EFDB;
  --hb-bg: #FAFAF8;
  --hb-bg-card: #FFFFFF;
  --hb-black: #0A0A0A;
  --hb-gray-100: #F2F1EE;
  --hb-gray-200: #E5E3DE;
  --hb-gray-500: #777;
  --hb-gray-600: #555;
  --hb-teal: #2D7A7A;
  --hb-navy: #1E3A5F;
  --hb-hubspot: #FF7A59;

  --bulls-orange: #FF6B35;
  --bulls-red: #E63946;

  --accent: var(--hb-gold);
  --accent-deep: var(--hb-gold-deep);
  --bg: var(--hb-bg);
  --bg-card: var(--hb-bg-card);
  --text: var(--hb-black);
  --text-muted: var(--hb-gray-600);
  --border: var(--hb-gray-200);

  /* heading: 欧文サンセリフ + 和文明朝 */
  --font-heading: 'Outfit', 'Shippori Mincho B1', system-ui, serif;
  /* body: 和文明朝（名刺・印刷物の上品さ重視）+ 欧文サンセリフ fallback */
  --font-body: 'Shippori Mincho B1', 'Noto Serif JP', system-ui, serif;
  /* sans-serif 専用クラス（必要時用 — Web実装ベース） */
  --font-sans: 'Outfit', 'Noto Sans JP', system-ui, sans-serif;
  /* monospace — JetBrains Mono を維持、ただし dotted zero を CSS で off */
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-feature-settings: "zero" 0, "calt" 1; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;  /* 和文プロポーショナル詰め */
}

/* monospace 全箇所で dotted zero を OFF */
code, pre, .label-mono, .breadcrumb, .brand-nav-title,
.cat-card-meta, .cat-card-status, .asset-card-meta,
.front-title, .meta-block, .gen-meta, .tag-rec,
[class*="mono"], [class^="mono"] {
  font-feature-settings: "zero" 0, "calt" 1;
  -webkit-font-feature-settings: "zero" 0, "calt" 1;
}

a { color: inherit; }

/* ===== nav ===== */
.brand-nav {
  background: rgba(250,250,248,.85);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand-nav-left { display: flex; align-items: center; gap: 14px; }
.brand-nav-logo { width: 100px; height: auto; line-height: 0; display: block; }
.brand-nav-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .15s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 6px; opacity: 0.4; }

/* ===== container & hero ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.hero { margin-bottom: 48px; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.85;
  font-weight: 400;
}

/* ===== section ===== */
.section { margin-bottom: 56px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; gap: 14px; flex-wrap: wrap; }
.section-head h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--text-muted); font-size: 13px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

/* ===== category grid (root) ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(191,162,75,0.10);
}
.cat-card.disabled { opacity: 0.55; pointer-events: none; }
.cat-card-status {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 9.5px;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500;
}
.cat-card-status.live { background: rgba(45,122,122,0.12); color: var(--hb-teal); }
.cat-card-status.coming { background: rgba(0,0,0,0.04); color: var(--text-muted); }
.cat-card-icon { width: 28px; height: 28px; color: var(--accent); }
.cat-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.cat-card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; flex: 1; font-weight: 400; }
.cat-card-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.04em; }

/* ===== asset grid (sub-page thumbs) ===== */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.asset-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.asset-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.asset-card-thumb {
  background: var(--hb-gray-100);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.asset-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.asset-card-thumb .placeholder-text {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.asset-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.asset-card-body h4 { font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1.5; }
.asset-card-body p { color: var(--text-muted); font-size: 13px; line-height: 1.7; font-weight: 400; }
.asset-card-meta { margin-top: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.06em; }

/* ===== footer ===== */
.brand-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.brand-footer a { color: var(--accent-deep); text-decoration: none; }

/* ===== utility ===== */
.gold { color: var(--accent); }
.label-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.tag-rec { display: inline-block; background: rgba(191,162,75,.12); color: var(--accent-deep); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); }
