[hidden] { display: none !important; }
:root {
  color-scheme: light;
  --bg: #fde7c8;
  --paper: #fffaf2;
  --ink: #56311c;
  --muted: #77563e;
  --brown: #774829;
  --brown-dark: #56311c;
  --cream: #ffe7c0;
  --peach: #ffdab3;
  --apricot: #fbaa71;
  --line: #e5c39d;
  --border: #a67b5b;
  --shadow: 0 8px 28px rgb(119 72 41 / 7%);
  --rounded: "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, "Hiragino Sans", system-ui, sans-serif;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.85; -webkit-text-size-adjust: 100%; }
body, input, textarea, button, select { -webkit-tap-highlight-color: transparent; }
a { color: var(--brown); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled, input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid var(--brown-dark); outline-offset: 4px; }
::selection { background: var(--apricot); color: var(--ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--rounded); font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: .025em; }
h2 { font-size: 23px; }
p + p { margin-top: 1em; }
main { max-width: 1184px; min-height: 60vh; margin: auto; padding: 40px max(24px, env(safe-area-inset-right)) 80px max(24px, env(safe-area-inset-left)); }
main:focus { outline: none; }
.site { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
header.site { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { max-width: 1136px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 92px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--rounded); font-weight: 700; font-size: 21px; letter-spacing: .025em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo img { flex-shrink: 0; border-radius: 35%; }
header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-read:hover { text-decoration: underline; }
.nav-me { border: 1px solid var(--brown); background: var(--cream); border-radius: 999px; padding: 7px 20px; gap: 12px; font-weight: 700; }
.nav-me:hover { background: var(--peach); }
[aria-current="page"] { font-weight: 700; }
footer.site { background: var(--paper); border-top: 1px solid var(--line); padding-block: 36px max(32px, env(safe-area-inset-bottom)); }
footer .logo { font-size: 17px; }
footer p { color: var(--muted); font-size: 13px; margin-top: 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 10; transform: translateY(-160%); padding: 10px 20px; background: var(--paper); border-radius: 14px; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.eyebrow { color: var(--brown); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 16px; }
.meta, .note { color: var(--muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.note { margin-top: 12px; }
.crumb { font-size: 13px; margin-bottom: 26px; overflow-wrap: anywhere; }
.crumb a { display: inline-block; padding-block: 8px; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  main { padding: 26px max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left)); }
  .site { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .header-inner { min-height: 76px; gap: 10px; }
  .logo { font-size: 16px; gap: 7px; }
  .logo img { width: 38px; height: 38px; }
  header nav { gap: 0; font-size: 12px; }
  .nav-read { display: none; }
  .nav-me { padding: 7px 11px; gap: 5px; white-space: nowrap; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  footer nav { gap: 4px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
