:root {
  --bg: #f3f2ef;
  --paper: #ffffff;
  --ink: #1a202c;
  --muted: #4a5568;
  --line: #d9d6d1;
  --accent: #b91c1c;
  --accent-dark: #7f1d1d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
}
.nav { display: flex; gap: 18px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s ease; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.hero { padding: 58px 0 30px; }
.hero-grid { display: grid; gap: 24px; grid-template-columns: 1.5fr 1fr; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 14px; }
h1 { font-family: "Zen Kaku Gothic New", sans-serif; font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -.02em; }
.lead { color: var(--muted); max-width: 760px; margin: 0; }
.hero-aside {
  background: linear-gradient(165deg, #1f2937, #6b1d1d);
  color: #fffaf5;
  border-radius: 18px;
  padding: 22px;
  position: relative;
}
.hero-aside-link { position: absolute; inset: 0; z-index: 2; border-radius: 18px; }
.hero-aside-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
}
.hero-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin: 0 0 10px; }
.hero-promo-link { font-weight: 700; font-size: 22px; line-height: 1.45; }
.hero-label, .hero-aside-image, .hero-promo-link { position: relative; z-index: 1; }
.section { padding: 34px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.section-head h2 { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 800; font-size: 30px; }
.section-head p { margin: 0; color: var(--muted); }
.internal-search input {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  font-size: 16px;
}
.internal-search { margin-bottom: 16px; }
.search-strip { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.search-strip input {
  width: min(700px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 14px;
  font-size: 16px;
}
.btn {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s ease;
}
.btn:hover { border-color: #94a3b8; transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-accent { background: #1f2937; color: #fff; border-color: #1f2937; }
.btn-accent:hover { background: #111827; border-color: #111827; }
.result-list { display: grid; gap: 12px; }
.result-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.result-item a { color: #0f172a; font-weight: 700; text-decoration: underline; }
.result-desc { color: #475569; font-size: 14px; margin-top: 4px; word-break: break-word; }
.pagination { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.page { color: #475569; font-size: 14px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.article-card {
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: #c8b9a6;
  box-shadow: 0 12px 28px rgba(34, 35, 58, 0.12);
}
.card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.card-body { padding: 14px 14px 16px; }
.card-body, .article-card img { position: relative; z-index: 1; }
.card-meta { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; }
.card-body p { margin: 0; color: #334155; font-size: 14px; }
.reading-shell { width: min(820px, 92vw); background: #fff; padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
.reading-hero img { width: 100%; border-radius: 12px; margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.meta-pill-soft {
  background: #f1f5f9;
  color: #334155;
}
.reading-body h2 { font-size: 27px; margin-top: 30px; }
.reading-body p { margin: 0 0 14px; }
.promo-search-box { margin-top: 18px; border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 12px; padding: 14px; }
.promo-search-links { display: flex; flex-wrap: wrap; gap: 10px; }
.promo-search-links a { background: #fff; color: #1f2937; border: 1px solid #c7d2fe; border-radius: 999px; padding: 8px 12px; font-size: 14px; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.promo-search-links a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(49, 46, 129, 0.15); }
.hero-aside .promo-search-links a { background: #f8fafc; color: #111827; border-color: #e2e8f0; }
.sources ul { margin: 0; padding-left: 20px; }
.sources a { color: var(--accent-dark); text-decoration: underline; }
.site-footer { margin-top: 50px; border-top: 1px solid var(--line); background: #fff; padding: 26px 0 34px; }
.footer-inner { display: grid; gap: 18px; grid-template-columns: 1.2fr 2fr; }
.footer-title { margin: 0 0 8px; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 800; }
.footer-copy { margin: 0; color: var(--muted); font-size: 14px; }
.footer-columns { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.footer-group-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #334155; }
.footer-group .footer-links { justify-content: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-content: start; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.promo-search-box-top { margin-bottom: 18px; }
.promo-search-box-mid { margin-top: 34px; margin-bottom: 24px; }
.promo-search-box-end { margin-top: 36px; margin-bottom: 8px; }
.promo-search-links-vertical { display: block; }
.promo-search-links-vertical a { display: block; width: 100%; margin-bottom: 8px; border-radius: 10px; }
.promo-search-links-vertical a:last-child { margin-bottom: 0; }
.category-cta { margin-top: 14px; display: flex; justify-content: flex-end; }
.category-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 8px 14px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
}
.category-btn:hover { border-color: #94a3b8; color: #0f172a; transform: translateY(-1px); }
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}
.cookie-inner {
  margin: 0 auto;
  width: min(960px, 100%);
  background: #0f172a;
  color: #f8fafc;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #334155;
}
.cookie-inner p { margin: 0; font-size: 14px; }
.cookie-inner a { color: #bfdbfe; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 980px) {
  .hero-grid, .article-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; }
  .search-strip { flex-direction: column; align-items: stretch; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .header-inner {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .brand {
    width: min(250px, 100%);
  }
  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 4px;
  }
}
