:root {
  --bg: #f7f3ed;
  --paper: #fffdf9;
  --ink: #17130f;
  --muted: #6f675e;
  --line: #ddd2c4;
  --accent: #6f1d1b;
  --accent-soft: #efe1dc;
  --charcoal: #27221d;
  --sand: #e9dfd1;
  --max: 1120px;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(111, 29, 27, 0.08), transparent 30rem),
    linear-gradient(180deg, var(--bg), #fbf8f3 42%, var(--bg));
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.85;
  letter-spacing: 0.02em;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background-image:
    url("/assets/hero-sketch.webp"),
    radial-gradient(circle at top left, rgba(111, 29, 27, 0.03), transparent 28rem);
  background-repeat: no-repeat, no-repeat;
  background-size: min(1500px, 100vw) auto, cover;
  background-position: center 112px, center top;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 243, 237, 0.82);
  border-bottom: 1px solid rgba(221, 210, 196, 0.72);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: baseline; gap: 12px; font-weight: 700; letter-spacing: 0.08em; }
.brand small { color: var(--muted); font-weight: 400; letter-spacing: 0.03em; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-header, main, .footer { position: relative; z-index: 1; }
main { max-width: var(--max); margin: 0 auto; padding: 0 22px 80px; }
.hero { padding: 92px 0 62px; }
.eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px;
}
h1, h2, h3 {
  text-wrap: balance;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
  font-weight: 600; letter-spacing: 0.03em; line-height: 1.35; margin: 0;
}
h1 { font-size: clamp(40px, 7vw, 78px); max-width: 980px; }
h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 22px; }
h3 { font-size: 22px; margin-bottom: 12px; }
.lead { margin-top: 28px; max-width: 760px; font-size: 18px; color: var(--charcoal); text-wrap: pretty; }
.line { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--ink); font-weight: 700; font-size: 14px;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--ink); color: #fffdf9; }
.button.secondary { background: rgba(255, 253, 249, 0.72); }
.section { padding: 54px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(39, 34, 29, 0.06);
}
.card.soft { background: var(--accent-soft); }
.card.dark { color: #fffaf2; background: var(--charcoal); border-color: var(--charcoal); }
.card.dark p, .card.dark .muted { color: #e7ded2; }
.muted { color: var(--muted); }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; margin-bottom: 10px; }
.list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.list li { padding-left: 18px; position: relative; }
.list li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); position: absolute; left: 0; top: 0.82em; }
.notice {
  background: #fff8ed; border: 1px solid #e6cfae; color: #3b3024;
  border-radius: var(--radius); padding: 20px 22px; margin-top: 24px;
}
.notice strong { color: var(--accent); }
.table {
  width: 100%; border-collapse: collapse; background: rgba(255, 253, 249, 0.65);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.table th, .table td { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--line); text-align: left; }
.table th { width: 28%; color: var(--muted); font-weight: 700; background: rgba(233, 223, 209, 0.38); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.research-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; }
.case-label {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: 104px; height: 104px; border-radius: 50%; background: var(--charcoal);
  color: #fffdf9; font-family: Georgia, serif; letter-spacing: 0.08em;
}
.footer {
  border-top: 1px solid var(--line); max-width: var(--max); margin: 0 auto;
  padding: 32px 22px 46px; color: var(--muted); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
}
.footer a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {

  body::before {
    position: absolute;
    opacity: 1;
    background-size: 172vw auto, cover;
    background-position: 56% 104px, center top;
  }
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { gap: 14px; flex-wrap: wrap; }
  .hero { padding: 62px 0 44px; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .research-card { grid-template-columns: 1fr; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; }
  .table td { border-top: 0; }
}
