:root {
  color-scheme: light;
  color: #2b3026;
  background: #f6f3e9;
  font-family: ui-rounded, "Hiragino Sans", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  font-synthesis: none;
  line-height: 1.75;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: #35482d; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #665136; outline-offset: 4px; border-radius: 4px; }
p { margin: 0 0 1em; overflow-wrap: anywhere; }
.frame { width: min(calc(100% - 36px), 880px); margin-inline: auto; }
.skip { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 8px 14px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #dedacf; background: #fcfaf3; }
.site-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 26px; min-height: 76px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #30372a; font-weight: 800; font-size: 1.18rem; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; border: 1px solid #617058; color: #f9f7e8; background: #485643; font-size: 1.07rem; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1px 5px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 11px; border-radius: 999px; color: #45503f; font-size: .85rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { background: #e8ecde; color: #2c3827; }

.main { padding: clamp(27px, 6vw, 60px) 0; }
.draft { display: inline-block; color: #684927; background: #f6e5cb; border: 1px solid #dec49c; padding: 7px 12px; border-radius: 9px; font-size: .84rem; margin-bottom: 20px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1 { margin: 0 0 .4rem; font-size: clamp(1.85rem, 5vw, 3.1rem); line-height: 1.2; letter-spacing: -.055em; }
.page-heading p { margin: 0; color: #5e6153; }
.document { background: #fffcf5; border: 1px solid #e0dbce; border-radius: 22px; padding: clamp(16px, 5vw, 37px); }
.document section + section { margin-top: 24px; padding-top: 21px; border-top: 1px solid #e9e3d6; }
h2 { margin: 0 0 .48rem; font-size: clamp(1rem, 3vw, 1.22rem); line-height: 1.45; }
.meta { font-size: .87rem; color: #5f6254; }
.document p:last-child { margin-bottom: 0; }
.document ol, .document ul { padding-inline-start: 1.5em; }
.resource-list { margin-block: .6rem 1.2rem; }
.callout { background: #eef0e5; border: 1px solid #d4dbcb; border-radius: 14px; padding: 16px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { display: grid; gap: 4px; align-content: center; background: #fffcf5; padding: 20px; border: 1px solid #ded9cc; border-radius: 16px; text-decoration: none; }
.tile:hover { background: #eff1e7; border-color: #b6c1ac; }
.tile strong { font-size: 1.07rem; }
.tile span { font-size: .87rem; color: #5e6153; }
.footer { display: flex; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid #dedacf; padding: 22px 0 36px; font-size: .86rem; }

@media (max-width: 550px) {
  .site-header-inner { gap: 5px; align-items: flex-start; flex-direction: column; }
  nav { column-gap: 2px; }
  nav a { padding-inline: 7px; font-size: .78rem; }
  .tiles { grid-template-columns: 1fr; }
}
