/* =====================================================
   ギャル庁 - main.css
   Pop Modern (C-1) デザインを Hugo テーマ用に統合
   ===================================================== */

:root {
  --bg: #faf8f2;
  --card: #ffffff;
  --ink: #16161e;
  --ink-soft: #4a4a55;
  --muted: #8b8b94;
  --line: #ececea;
  --line-soft: #f4f2ec;
  --lime: #b5f03a;
  --purple: #6b5bff;
  --coral: #ff7589;
  --orange: #ff8c42;
  --orange-deep: #e8782a;
  /* Category */
  --c-tame: #6b5bff;
  --c-omo: #ff8c42;
  --c-emo: #ff7589;
  --c-anime: #5cc63d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Reading progress bar (article) ===== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--lime);
  z-index: 100;
  width: 0;
  transition: width .1s;
}

/* ===== Header ===== */
.site-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(250,248,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-badge {
  background: var(--ink);
  color: var(--lime);
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
  display: inline-block;
  box-shadow: 4px 4px 0 var(--purple);
}
.brand-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.brand-tag span {
  background: var(--lime);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 900;
  margin-right: 6px;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  transition: all .2s;
}
.nav a:hover { background: var(--ink); color: var(--lime); }
.nav a.active { background: var(--ink); color: var(--lime); }
.nav .sub {
  background: var(--purple);
  color: #fff;
  padding: 8px 16px;
}
.nav .sub:hover { background: var(--ink); color: var(--lime); }

/* ===== Breadcrumb ===== */
.crumb {
  padding: 18px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.crumb .sep { margin: 0 8px; color: var(--line); }
.crumb strong { color: var(--ink); font-weight: 700; }

/* ===== Home Hero ===== */
.hero {
  padding: 40px 0 24px;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--lime);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.hero-tag .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.hero-h1 mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 6px;
}
.hero-h1 .twist {
  display: inline-block;
  transform: rotate(-2deg);
  background: var(--purple);
  color: #fff;
  padding: 0 12px;
  border-radius: 10px;
}
.hero-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.8;
}

/* ===== Featured pair (home top) ===== */
.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding: 24px 0 48px;
}
.feat-main {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.feat-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(22,22,30,0.08);
}
.feat-main .feat-bg-emoji {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 180px;
  opacity: 0.12;
  line-height: 1;
}
.feat-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.feat-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.feat-excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  position: relative;
  z-index: 1;
}
.feat-foot {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.read-btn {
  background: var(--ink);
  color: var(--lime);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.feat-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feat-mini {
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .15s;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feat-mini:hover { transform: translateY(-2px); }
.feat-mini.purple {
  background: var(--purple);
  color: #fff;
}
.feat-mini.purple .mini-title { color: #fff; }
.feat-mini.purple .mini-meta { color: rgba(255,255,255,0.7); }
.feat-mini.lime {
  background: var(--lime);
  color: var(--ink);
}
.mini-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 700;
}
.mini-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}
.mini-emoji {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1;
}

/* ===== Pills (category labels) ===== */
.pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  letter-spacing: 0.05em;
  display: inline-block;
}
.pill-tame  { background: var(--c-tame); color: #fff; }
.pill-omo   { background: var(--c-omo); color: #fff; }
.pill-emo   { background: var(--c-emo); color: #fff; }
.pill-anime { background: var(--c-anime); color: #fff; }
.pill-out {
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

/* ===== Category chips (filter bar) ===== */
.chips { padding: 16px 0 32px; }
.chips-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chips-bar::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  color: var(--ink);
}
.chip:hover { background: var(--ink); color: var(--lime); }
.chip.is-on { background: var(--ink); color: var(--lime); }
.chip-emoji { font-size: 16px; }

/* ===== Section heading ===== */
.section { padding: 24px 0 56px; }
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sec-h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.sec-h2 em {
  font-style: normal;
  background: var(--lime);
  padding: 0 8px;
  border-radius: 8px;
}
.sec-more {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
}

/* ===== Article card grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(22,22,30,0.08);
}
.card-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.card-thumb-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  opacity: 0.7;
}
/* Card thumbnail color variants (rotate by article index) */
.thumb-1 { background: linear-gradient(135deg, #ffe4dd 0%, #ffd1c4 100%); }
.thumb-2 { background: linear-gradient(135deg, #e7e3ff 0%, #d4ceff 100%); }
.thumb-3 { background: linear-gradient(135deg, #e6f8c8 0%, #d2efaa 100%); }
.thumb-4 { background: linear-gradient(135deg, #fff1d4 0%, #ffe2a8 100%); }
.thumb-5 { background: linear-gradient(135deg, #ffd9e0 0%, #ffbecf 100%); }
.thumb-6 { background: linear-gradient(135deg, #d4f0ff 0%, #b6e3ff 100%); }
.thumb-7 { background: linear-gradient(135deg, #d6f0e2 0%, #b8dfc7 100%); }
.thumb-8 { background: linear-gradient(135deg, #ffe4dd 0%, #ffd1c4 100%); }

.card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.card-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 6px;
}
.card-excerpt {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

/* ===== Article (single) ===== */
.art-head {
  padding: 24px 0 32px;
}
.art-meta-top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.meta-text {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.art-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.art-title mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 6px;
}
.art-lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.85;
  font-weight: 500;
}

.art-hero-visual {
  border-radius: 24px;
  aspect-ratio: 16/8;
  margin: 28px 0 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4f0ff 0%, #b6e3ff 100%);
}
.art-hero-emoji {
  font-size: 180px;
  line-height: 1;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.15));
}
.hero-sticker {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--ink);
  color: var(--lime);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* author / share */
.art-byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-info { line-height: 1.4; }
.author-name { font-size: 14px; font-weight: 900; }
.author-role { font-size: 11px; color: var(--muted); font-weight: 700; }
.share { display: flex; gap: 8px; align-items: center; }
.share-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
}
.share-btn:hover { background: var(--ink); color: var(--lime); }
.share-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-right: 4px;
}

/* article body */
.art-body {
  font-size: 17px;
  line-height: 2.0;
  color: var(--ink);
}
.art-body p { margin-bottom: 1.4em; }
.art-body p:first-of-type::first-letter {
  font-size: 1.4em;
  font-weight: 900;
}
.art-body h2 {
  margin: 56px 0 20px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
}
.art-body h2 .mk {
  background: var(--lime);
  padding: 0 10px;
  border-radius: 8px;
}
.art-body h2::before {
  content: "▍";
  color: var(--purple);
  font-weight: 900;
  margin-right: 2px;
}
.art-body h3 {
  margin: 32px 0 12px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
}
.art-body em.kw {
  font-style: normal;
  background: linear-gradient(transparent 60%, var(--lime) 60%);
  padding: 0 2px;
  font-weight: 700;
}
.art-body strong {
  background: linear-gradient(transparent 60%, rgba(255,117,96,0.35) 60%);
  font-weight: 700;
  padding: 0 2px;
}
.art-body ul, .art-body ol {
  margin: 0 0 1.4em 1.5em;
}
.art-body li {
  margin-bottom: 0.5em;
  line-height: 1.85;
}
.art-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 24px 0;
}
.art-body blockquote {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 32px 36px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.art-body blockquote p {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.65;
  margin: 0;
}
.art-body blockquote p:first-of-type::first-letter {
  font-size: 1em;
  font-weight: 800;
}

/* compare block (2カラム比較) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.compare-card {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 22px;
  position: relative;
}
.compare-card.left {
  background: linear-gradient(135deg, #fff5e6 0%, #ffeacc 100%);
}
.compare-card.right {
  background: linear-gradient(135deg, #e8e3ff 0%, #d4ceff 100%);
}
.compare-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
}
.compare-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
  background: var(--ink);
  color: var(--lime);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
}
.compare-name {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}
.compare-rule {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.compare-rule strong {
  background: rgba(255,255,255,0.7);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.vs-mark {
  position: absolute;
  top: 50%;
  left: -22px;
  transform: translateY(-50%) rotate(-8deg);
  background: var(--ink);
  color: var(--lime);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* quote card (大型引用) */
.quote-card {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 32px 36px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "“";
  position: absolute;
  top: -24px; right: 12px;
  font-size: 200px;
  color: var(--lime);
  font-weight: 900;
  line-height: 1;
  opacity: 0.4;
}
.quote-text {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.quote-text mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 6px;
}
.quote-by {
  margin-top: 16px;
  font-size: 13px;
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* government answer block (政府答弁などの引用ボックス) */
.gov-block {
  background: var(--card);
  border: 2px dashed var(--muted);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 24px 0;
}
.gov-block h3 {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 14px;
}
.gov-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.gov-row:last-child { border-bottom: none; }
.gov-who {
  font-weight: 900;
  color: var(--ink);
  font-size: 14px;
}
.gov-who small {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}
.gov-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.gov-conclusion {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  text-align: center;
  font-weight: 900;
  color: var(--coral);
  font-size: 16px;
}

/* insight box (ぶっちゃけポイント) */
.insight {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 28px 32px;
  margin: 36px 0;
  position: relative;
  box-shadow: 6px 6px 0 var(--lime);
}
.insight-tag {
  position: absolute;
  top: -16px; left: 24px;
  background: var(--lime);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.insight p {
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 1em;
}
.insight p:last-child { margin-bottom: 0; }

/* tags / source */
.art-tags {
  margin: 36px 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-chip {
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
}
.tag-chip:hover { background: var(--ink); color: var(--lime); }

.source {
  background: var(--line-soft);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0 36px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.source-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 6px;
}
.source a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(107,91,255,0.3);
  text-underline-offset: 3px;
}

/* ===== あーし sticker (signature voice block) ===== */
.aashi {
  background: var(--coral);
  color: #fff;
  border-radius: 28px;
  padding: 40px 36px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(255,117,137,0.25);
}
.aashi::before {
  content: "♡";
  position: absolute;
  top: -40px; right: -10px;
  font-size: 200px;
  color: #fff;
  opacity: 0.32;
  line-height: 1;
  transform: rotate(15deg);
}
.aashi-tag {
  background: var(--lime);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 16px;
  transform: rotate(-2deg);
  position: relative;
  z-index: 1;
}
.aashi-text {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.75;
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.aashi-text mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 4px;
}
.aashi-by {
  margin-top: 18px;
  font-size: 13px;
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

/* compact aashi banner (in archive list) */
.aashi-mini {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 28px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.aashi-mini::before {
  content: "💅";
  position: absolute;
  right: -10px; bottom: -30px;
  font-size: 160px;
  opacity: 0.18;
  transform: rotate(-12deg);
}
.aashi-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
  border: 3px solid var(--lime);
}
.aashi-mini-text {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  flex: 1;
  position: relative;
  z-index: 1;
}
.aashi-mini-text small {
  display: block;
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 0.2em;
  font-weight: 900;
  margin-bottom: 4px;
}
.aashi-mini-text mark {
  background: var(--lime);
  color: var(--ink);
  padding: 0 6px;
  border-radius: 4px;
}

/* bottom share */
.bottom-share {
  text-align: center;
  margin: 32px 0 24px;
}
.bottom-share h3 {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.bottom-share .row { display: flex; justify-content: center; gap: 10px; }
.bs-btn {
  background: var(--ink);
  color: var(--lime);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.bs-btn.purple { background: var(--purple); color: #fff; }

/* ===== Related ===== */
.related {
  background: var(--line-soft);
  margin-top: 56px;
  padding: 56px 0;
}
.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.related h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.related h2 em {
  font-style: normal;
  background: var(--lime);
  padding: 0 8px;
  border-radius: 8px;
}
.related-more {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ===== Category sections (categories landing) ===== */
.cat-section { padding: 56px 0 24px; }
.cat-hero {
  border-radius: 32px;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}
.cat-tame   .cat-hero { background: linear-gradient(135deg, #ebe7ff 0%, #d4ceff 100%); }
.cat-omo    .cat-hero { background: linear-gradient(135deg, #fff3d9 0%, #ffe0a8 100%); }
.cat-emo    .cat-hero { background: linear-gradient(135deg, #ffe0e6 0%, #ffc8d2 100%); }
.cat-anime  .cat-hero { background: linear-gradient(135deg, #eafbcc 0%, #d2efaa 100%); }

.cat-hero-bg-emoji {
  position: absolute;
  right: -10px; bottom: -50px;
  font-size: 280px;
  line-height: 1;
  transform: rotate(-12deg);
  opacity: 0.85;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
}
.cat-hero-decor {
  position: absolute;
  font-size: 56px;
  line-height: 1;
  transform: rotate(15deg);
  pointer-events: none;
  opacity: 0.85;
  right: 220px;
  top: 32px;
}

.cat-pill {
  background: var(--ink);
  color: var(--lime);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  display: inline-block;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cat-tame  .cat-pill { background: var(--c-tame); color: #fff; }
.cat-omo   .cat-pill { background: var(--c-omo); color: #fff; }
.cat-emo   .cat-pill { background: var(--c-emo); color: #fff; }
.cat-anime .cat-pill { background: var(--c-anime); color: #fff; }

.cat-h2 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cat-h2 .em {
  font-size: 56px;
  margin-right: 10px;
  display: inline-block;
  transform: rotate(-6deg) translateY(-4px);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.cat-tagline {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cat-tagline mark {
  background: var(--ink);
  color: #fff;
  padding: 2px 10px;
  border-radius: 8px;
}
.cat-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.cat-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}
.stat small {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.sub-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.sub-tag {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: all .15s;
}
.sub-tag:hover { background: var(--ink); color: #fff; }
.sub-tag .em { font-size: 14px; margin-right: 4px; }

/* "もっと見る" arrow card */
.more-card {
  background: var(--ink);
  color: var(--lime);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 140px;
  transition: all .2s;
  cursor: pointer;
}
.cat-tame  .more-card { background: var(--c-tame); color: #fff; }
.cat-omo   .more-card { background: var(--c-omo); color: #fff; }
.cat-emo   .more-card { background: var(--c-emo); color: #fff; }
.cat-anime .more-card { background: var(--c-anime); color: #fff; }
.more-card:hover {
  transform: translateY(-3px);
  filter: brightness(0.92);
}
.more-card .arrow { font-size: 32px; line-height: 1; margin-bottom: 8px; }
.more-card .label { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
.more-card .count { font-size: 11px; margin-top: 4px; opacity: 0.85; font-weight: 700; }

/* ===== Filter bar (single category page) ===== */
.filter-bar {
  margin: 36px 0 24px;
  padding: 16px 22px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
}
.fb-left strong { color: var(--ink); font-weight: 900; font-size: 15px; }
.fb-right { display: flex; gap: 8px; align-items: center; }
.sort {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.sort button {
  background: transparent;
  border: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
}
.sort button.is-on { background: var(--ink); color: var(--lime); }
.search {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 36px;
  font-size: 13px;
  color: var(--ink);
  font-family: inherit;
  width: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b8b94' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}
.search:focus { outline: 2px solid var(--orange); outline-offset: 1px; }

/* ===== Pagination ===== */
.pagi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 36px 0 24px;
}
.pagi a, .pagi span {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}
.pagi a:hover {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.pagi .current {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.pagi .next, .pagi .prev {
  width: auto;
  padding: 0 18px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.foot-tag {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 10px;
}
.foot h4 {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 12px;
}
.foot ul { list-style: none; }
.foot li {
  padding: 4px 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.copyright span {
  background: var(--lime);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 800;
  margin: 0 4px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-h1 { font-size: 32px; }
  .featured { grid-template-columns: 1fr; }
  .feat-title { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec-h2 { font-size: 20px; }
  .art-title { font-size: 28px; }
  .art-lead { font-size: 16px; }
  .art-body { font-size: 16px; }
  .art-body h2 { font-size: 22px; }
  .art-hero-emoji { font-size: 120px; }
  .insight p { font-size: 15px; }
  .aashi-text { font-size: 17px; }
  .cat-hero { padding: 32px 28px; }
  .cat-hero-bg-emoji { font-size: 180px; right: -30px; bottom: -30px; }
  .cat-hero-decor { display: none; }
  .cat-h2 { font-size: 32px; }
  .cat-h2 .em { font-size: 36px; }
  .cat-tagline { font-size: 17px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .stat strong { font-size: 24px; }
  .compare { grid-template-columns: 1fr; }
  .vs-mark { display: none; }
  .quote-text { font-size: 18px; }
  .gov-row { grid-template-columns: 1fr; gap: 6px; }
}
