/* Human World — shared across home, hubs and entry pages */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;600;700&display=swap");
@font-face{
  font-family:"Huiwen-mincho";
  src:url("/hw-mincho-subset.woff2") format("woff2");
  font-display:swap;
}
:root{
  --bg:#f7f4ec; --bg-tint:#efe8dc; --surface:#fffdf8; --surface-2:#f3eee6;
  --ink:#1c1917; --ink-2:#3f3a34; --muted:#6f6959; --faint:#9a9384;
  --rule:#e2ddd0; --rule-2:#d0c9b8;
  --seal:#9d2933; --seal-soft:#f0ddd9;
  --shadow:0 1px 2px rgba(28,25,23,.05), 0 10px 28px -18px rgba(28,25,23,.22);
  --display:"Noto Serif SC","Source Han Serif SC","Songti SC","STSong",Georgia,serif;
  --quote:"Huiwen-mincho","Noto Serif SC","Songti SC",serif;
  --sans:"PingFang SC","HarmonyOS Sans SC","Hiragino Sans GB","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --pad:24px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:17px; line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit; text-decoration:none}
a:hover{color:var(--seal)}
button{font:inherit; color:inherit; background:none; border:0; cursor:pointer}
:focus-visible{outline:2px solid var(--seal); outline-offset:3px; border-radius:3px}
.wrap{
  max-width:860px; margin:0 auto;
  padding-left:max(var(--pad), env(safe-area-inset-left));
  padding-right:max(var(--pad), env(safe-area-inset-right));
}
header.mast.wrap{
  padding-left:max(24px, env(safe-area-inset-left));
  padding-right:max(24px, env(safe-area-inset-right));
}

.mast{padding:28px 0 16px}
.mast-top{display:flex; align-items:flex-start; justify-content:space-between; gap:16px}
.brand{
  display:flex; flex-direction:row; flex-wrap:nowrap;
  align-items:center; gap:12px; color:inherit; min-width:0;
}
.brand:hover{color:inherit}
.brand-logo{
  width:36px; height:36px; border-radius:9px; flex:none;
}
.brand-copy{display:flex; flex-direction:column; gap:3px; min-width:0; flex:1}
.brand .hw{display:none}
.brand .wordmark{
  display:block; font-family:var(--display); font-weight:700; margin:0;
  font-size:20px; line-height:1.25; letter-spacing:.04em;
}
.brand .dot{color:var(--seal)}
.slogan{margin:0; color:var(--muted); font-size:12px; line-height:1.4; letter-spacing:0; font-family:var(--sans); font-weight:400}
.mast-links{display:flex; gap:8px; flex:none; padding-top:2px}
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:32px; padding:0 12px;
  border:1px solid var(--rule-2); border-radius:999px; background:var(--surface);
  font-size:12.5px; color:var(--ink-2);
}
.pill:hover{border-color:var(--seal); color:var(--seal)}
.crumb{font-size:13px; color:var(--faint); margin:10px 0 22px; line-height:1.5}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--seal)}
.sep{margin:0 8px; color:var(--rule-2)}
.layout{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,240px);
  gap:36px; align-items:start; padding-bottom:80px;
}
.kicker{font-size:11px; letter-spacing:.16em; color:var(--seal); font-weight:650; margin:0 0 10px}
h1{
  font-family:var(--display); font-weight:700; letter-spacing:.04em;
  font-size:clamp(28px,7vw,40px); line-height:1.25; margin:0 0 10px;
}
.one{font-family:var(--display); font-size:20px; line-height:1.4; color:var(--ink-2); margin:0 0 16px; font-weight:600}
.dek{font-size:17px; line-height:1.75; color:var(--ink-2); margin:0 0 18px; max-width:42em}
.meta-row{
  display:flex; align-items:center; gap:8px;
  flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
  margin:0 0 28px; padding-bottom:18px; border-bottom:1px solid var(--rule);
}
.meta-row .chip{
  flex:none; white-space:nowrap;
  font-size:12px; color:var(--ink-2); background:var(--surface);
  border:1px solid var(--rule); border-radius:999px; padding:5px 10px;
}
.share-btn{
  display:inline-flex; align-items:center; gap:6px;
  margin-left:auto; flex:none;
  min-height:32px; padding:0 12px; border:1px solid var(--rule-2);
  border-radius:999px; background:var(--surface); font-size:12.5px; color:var(--ink-2); cursor:pointer;
}
.share-btn:hover{border-color:var(--seal); color:var(--seal)}
.share-btn svg{width:14px; height:14px}
.pull{background:var(--seal-soft); border-left:3px solid var(--seal); border-radius:0 12px 12px 0; padding:16px 18px; margin:0 0 32px; color:var(--ink-2); font-size:16px; line-height:1.7}
.sec{margin:0 0 32px}
.sec-k{font-size:12px; letter-spacing:.12em; color:var(--seal); font-weight:650; margin:0 0 10px}
.sec p{margin:0 0 12px; color:var(--ink)}
.sec p:last-child{margin-bottom:0}
.point{margin:0 0 28px}
.point h2{font-family:var(--display); font-size:21px; line-height:1.4; font-weight:700; letter-spacing:.02em; margin:0 0 8px}
.point p{margin:0 0 10px}
.eg{color:var(--ink-2); background:var(--surface-2); border-radius:10px; padding:12px 14px; font-size:15.5px; border:1px solid var(--rule)}
.eg::before{content:"例  "; color:var(--seal); font-size:12px; letter-spacing:.08em; font-weight:650}
.apply{background:var(--surface); border:1px solid var(--rule); border-radius:14px; padding:16px 18px; margin:8px 0 32px}
.quotes{margin:8px 0 36px}
blockquote{margin:0 0 12px; padding:2px 0 2px 14px; border-left:2px solid var(--seal); color:var(--ink-2); font-family:var(--quote); font-size:18px; line-height:1.65}
blockquote p{margin:0}
.contrast{display:grid; gap:10px; margin:0 0 32px}
.contrast a{display:block; background:var(--surface); border:1px solid var(--rule); border-radius:12px; padding:12px 14px}
.contrast .n{display:block; font-weight:650; margin:0 0 4px}
.contrast .why{display:block; font-size:14.5px; color:var(--muted); line-height:1.55}
.ext{display:flex; flex-wrap:wrap; gap:8px; margin:0 0 36px}
.ext a{background:var(--surface); border:1px solid var(--rule); border-radius:999px; padding:6px 12px; font-size:13.5px}
.sib{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding:22px 0; border-top:1px solid var(--rule); margin-top:12px; font-size:14.5px}
.sib a{color:var(--ink-2)}
.sib .dir{display:block; font-size:11px; letter-spacing:.12em; color:var(--faint); margin-bottom:4px}
.site-foot{margin-top:8px; padding:28px 0 max(48px, env(safe-area-inset-bottom)); border-top:1px solid var(--rule); font-size:13px; color:var(--muted)}
.site-foot p{margin:0 0 8px}
.site-foot a{color:var(--ink-2)}
.site-foot code{font-size:12px; color:var(--faint); word-break:break-all}
.side{position:sticky; top:28px}
.panel{background:var(--surface); border:1px solid var(--rule); border-radius:16px; padding:16px 16px 18px; box-shadow:var(--shadow)}
.panel .ph{font-size:11px; letter-spacing:.14em; color:var(--faint); margin:0 0 12px}
.toc a{display:block; font-size:13.5px; color:var(--ink-2); padding:8px 0; border-top:1px solid var(--rule)}
.toc a:first-of-type{border-top:0}
.toc .i{color:var(--faint); font-variant-numeric:tabular-nums; margin-right:8px; font-size:12px}
.feed{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px;margin:8px 0 40px}
.feed a{display:flex;flex-direction:column;gap:6px;min-height:120px;background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:14px 16px 16px;color:inherit}
.feed a:hover{border-color:var(--seal);color:inherit}
.feed .k{font-size:11px;letter-spacing:.08em;color:var(--seal)}
.feed strong{font-family:var(--display);font-size:18px;line-height:1.3;font-weight:700}
.feed .s{font-size:13.5px;color:var(--muted);line-height:1.55}
.hubs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.hubs a{background:var(--surface);border:1px solid var(--rule);border-radius:999px;padding:6px 12px;font-size:13px;color:var(--ink-2)}
.hubs a:hover,.hubs a.on{border-color:var(--seal);color:var(--seal)}

@media (max-width:900px){
  .layout{grid-template-columns:1fr; gap:28px}
  .side{order:2; position:static}
}
@media (max-width:600px){
  :root{--pad:24px}
  .mast{padding:22px 0 14px}
  .brand .wordmark{font-size:20px; font-weight:700}
  .mast-links{display:none}
}
