:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #1f2a44;
  --muted: #6b7280;
  --line: #e4dccb;
  --seal: #c8371d;
  --seal-soft: #fbe7e2;
  --ok: #2f6f4f;
  --ok-soft: #e3f1e8;
  --radius: 14px;
  font-family: "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem clamp(1rem, 4vw, 3rem); }
.brand { display: flex; gap: .9rem; align-items: center; }
.seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--seal); color: #fff; font-size: 28px; font-weight: 700; transform: rotate(-4deg); box-shadow: 0 2px 0 #8f2412; }
h1 { margin: 0; font-size: 1.5rem; letter-spacing: .01em; }
h1 .jp { font-weight: 400; color: var(--muted); font-size: 1rem; margin-left: .3rem; }
.tagline { margin: .1rem 0 0; color: var(--muted); }
main { max-width: 920px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem) 2rem; display: grid; gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
label { font-weight: 600; display: block; margin-bottom: .4rem; }
textarea { width: 100%; font: inherit; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; padding: .8rem; background: #fff; color: var(--ink); resize: vertical; }
textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .7rem; }
.row.end { justify-content: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font: inherit; font-size: .9rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .25rem .8rem; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
button { font: inherit; cursor: pointer; border-radius: 10px; padding: .55rem 1.1rem; }
.primary { background: var(--ink); color: #fff; border: 0; font-weight: 600; }
.primary:hover { background: #2c3a5e; }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.privacy { margin: .8rem 0 0; font-size: .85rem; color: var(--ok); }
.muted { color: var(--muted); }
.small { font-size: .85rem; margin: 0 0 .6rem; }
.eyebrow { margin: 0 0 .2rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
h2 { margin: 0 0 1rem; font-size: 1.45rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.fact { border: 1px dashed var(--line); border-radius: 10px; padding: .7rem .9rem; }
.big { margin: 0; font-size: 1.35rem; font-weight: 700; }
.sub { margin: .1rem 0 0; font-weight: 600; color: var(--ok); }
.sub.soon, .sub.past { color: var(--seal); }
.todo { font-size: 1.1rem; margin: 0 0 1rem; }
.banner { border-radius: var(--radius); padding: .9rem 1.1rem; background: var(--seal-soft); color: #7a1d0c; border: 1px solid #f0bfb3; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.list { margin: 0; padding-left: 1.1rem; }
.list li { margin: .25rem 0; }
.list .gloss { display: block; color: var(--muted); font-size: .9rem; }
.phone { display: inline-block; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--seal); }
.annotated { white-space: pre-wrap; font-size: 1.02rem; line-height: 2.2; }
.annotated ruby { cursor: pointer; text-decoration: underline dotted var(--seal) 2px; text-underline-offset: 6px; }
.annotated rt { font-size: .6em; color: var(--muted); }
.annotated mark { background: #fff1b8; border-radius: 4px; padding: 0 2px; color: inherit; }
.annotated mark.deadline { background: var(--seal-soft); outline: 1px solid #f0bfb3; }
.words { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
.words dt { font-weight: 700; }
.words dt small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.words dd { margin: 0; }
.pop { position: absolute; z-index: 10; max-width: 300px; background: var(--ink); color: #fff; border-radius: 10px; padding: .6rem .8rem; font-size: .92rem; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.pop b { display: block; font-size: 1.05rem; }
.pop small { color: #c9d1e3; }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem 1rem 2rem; }
footer a { color: var(--ink); }
[hidden] { display: none !important; }
