:root {
  color-scheme: light;
  --paper: #FFF7EA;
  --card: #FFFFFF;
  --ink: #1F1A2E;
  --muted: #5C5470;
  --pop: #FF5A1F;
  --link: #C2410C;
  --sun: #FFD23F;
  --mint: #2EC4B6;
  --mint-soft: #DDF6F3;
  --note: #F1ECE3;
  --display: "Arial Black", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --shadow: 6px 6px 0 var(--ink);
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
  overflow-wrap: anywhere;
}
.container { width: calc(100% - 48px); max-width: 680px; margin-inline: auto; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--ink); background-color: var(--sun); border-radius: 4px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sun); }
.skip-link {
  position: absolute; left: 16px; top: -160px; z-index: 2;
  padding: 8px 16px; background: var(--sun); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px; font-weight: 800;
}
.skip-link:focus { top: 16px; }
.site-header {
  position: relative;
  background: var(--pop) radial-gradient(rgba(31,26,46,.12) 2px, transparent 2.5px) 0 0 / 16px 16px;
}
.site-header::after {
  content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 0h40v6c-10 0-10 6-20 6S10 6 0 6z' fill='%23FF5A1F'/%3E%3C/svg%3E") repeat-x;
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--display); font-size: 20px; font-weight: 900; color: var(--ink); text-decoration: none; background: var(--pop); }
.brand span { white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-header nav a, .site-footer nav a {
  background: var(--card); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 700; text-decoration: none;
}
.site-header nav a:hover, .site-footer nav a:hover { background: var(--sun); }
.site-header nav a[aria-current="page"] { background: var(--sun); box-shadow: 2px 2px 0 var(--ink); }
.nav-pending { background: var(--paper); color: var(--muted); border: 2px dashed var(--muted); border-radius: 999px; padding: 4px 14px; font-size: 15px; }
.nav-pending .meta { color: inherit; font-size: inherit; }
main { padding-block: 56px 40px; }
h1, h2 { font-family: var(--display); font-weight: 900; }
h1 { font-size: clamp(32px, 5.5vw, 46px); line-height: 1.15; text-wrap: balance; margin: 0 0 24px; }
h2 { font-size: 28px; line-height: 1.25; margin: 72px 0 20px; }
h2::before {
  content: ""; display: block; width: 56px; height: 10px; margin-bottom: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='10'%3E%3Cpath d='M2 5 q 6.5 -6 13 0 t 13 0 t 13 0 t 13 0' stroke='%23FF5A1F' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
h3 { font-size: 20px; font-weight: 800; line-height: 1.5; margin: 40px 0 16px; }
h3::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .4em; border-radius: 50%; background: var(--pop); }
p { margin: 0 0 24px; }
ul { margin: 0 0 24px; padding-left: 24px; }
li { margin-bottom: 8px; }
.meta, .breadcrumbs { color: var(--muted); font-size: 15px; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px;
  color: var(--ink); background: var(--sun); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink); transform: rotate(-3deg);
  font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}
.btn {
  display: inline-block; padding: 8px 20px; color: var(--ink); background: var(--card);
  border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800; text-decoration: none;
}
.btn:hover { background: var(--sun); border-radius: 999px; }
.intro { position: relative; isolation: isolate; padding-block: 8px 40px; }
.intro::after {
  content: ""; position: absolute; right: 0; top: -8px; z-index: -1; width: 120px; height: 120px;
  background: radial-gradient(var(--pop) 2px, transparent 2.5px) 0 0 / 16px 16px;
}
.home-title { background: var(--paper); font-size: clamp(40px, 10vw, 76px); line-height: 1; text-shadow: 4px 4px 0 var(--pop); }
.promise {
  display: inline; font-size: 20px; font-weight: 700; margin-bottom: 0;
  background: linear-gradient(transparent 58%, var(--sun) 58%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.region-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 48px; }
.region-grid > section { background: var(--card); border: 3px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; }
.region-grid > section:first-child { transform: rotate(-1deg); }
.region-grid > section:nth-child(2) { transform: rotate(1deg); }
.region-grid h2 { margin-top: 0; }
.region-grid .meta { display: inline-block; padding: 4px 14px; border: 2px dashed var(--muted); border-radius: 999px; }
.region-list, .notes-list, .plain-list { list-style: none; padding: 0; }
.region-list li { margin-bottom: 12px; }
.region-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 10px 16px;
  color: var(--ink); font-weight: 700; text-decoration: none; transition: transform 120ms, box-shadow 120ms;
}
.region-list a:hover { background: var(--sun); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.region-list a span { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--pop); color: var(--ink); font-size: 15px; font-weight: 900; }
.note-row { background: var(--card); border: 3px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 24px; transition: transform 120ms, box-shadow 120ms; }
.note-row:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.note-row a { display: block; margin-top: 8px; font-family: var(--display); font-size: 22px; font-weight: 900; line-height: 1.25; color: var(--ink); text-decoration: none; }
.note-row p { margin: 8px 0 0; }
.guide-line { background: var(--card); border: 3px dashed var(--ink); border-radius: 16px; padding: 16px 24px; font-weight: 700; margin-top: 56px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 24px; gap: 8px; }
.breadcrumbs a { background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; text-decoration: none; }
.breadcrumbs a:hover { background: var(--sun); color: var(--ink); }
/* Disclosure styling stays sober and is shared with the policy's example. */
.disclosure, blockquote {
  background: var(--card); border: 3px solid var(--ink); border-left-width: 12px;
  border-radius: 12px; padding: 16px 20px; font-size: 18px; font-weight: 400; color: var(--ink);
}
.disclosure p:first-child { font-weight: 700; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure-first { padding-top: 16px; padding-bottom: 8px; }
.disclosure-inline { margin-top: 40px; }
blockquote { margin: 24px 0; }
p[lang="ja"] { font-size: 18px; font-weight: 700; color: var(--ink); }
.summary { margin-top: 40px; background: var(--card); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--pop); padding: 20px 24px; }
.summary p { margin-bottom: 8px; }
.experience { position: relative; background: var(--mint-soft); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--mint); padding: 32px 28px 28px; margin-top: 64px; }
.experience::before { content: "“" / ""; font-family: var(--display); font-size: 96px; color: var(--mint); position: absolute; top: -36px; right: 20px; line-height: 1; }
.experience::after { content: ""; position: absolute; left: 40px; bottom: -13px; width: 20px; height: 20px; background: var(--mint-soft); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.experience .eyebrow { background: var(--mint); }
.experience h2 { margin-top: 0; }
.experience h2::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='10'%3E%3Cpath d='M2 5 q 6.5 -6 13 0 t 13 0 t 13 0 t 13 0' stroke='%232EC4B6' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.draft-note { display: block; background: var(--note); border: 2px dashed var(--muted); border-radius: 12px; padding: 12px 16px; font-style: normal; font-size: 16px; font-weight: 400; color: var(--ink); }
span.draft-note { display: inline; border: 0; border-bottom: 2px dashed var(--muted); border-radius: 0; padding: 0; }
.paid-link-slot { background: var(--card); border: 3px dashed var(--ink); border-radius: 16px; padding: 16px 20px; margin-bottom: 24px; }
.paid-link-slot p { margin: 16px 0 0; }
.paid-label { font-size: 18px; color: var(--ink); font-weight: 700; }
.related-guide { margin-top: 56px; background: var(--card); border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--sun); padding: 24px; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 40px; margin-bottom: 16px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .25em; width: 24px; height: 24px; background: var(--card); border: 3px solid var(--ink); border-radius: 6px; }
.plain-list li { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 12px 16px 12px 44px; }
.plain-list li::before { content: ""; position: absolute; left: 16px; top: calc(12px + .875em - 7px); width: 14px; height: 14px; background: var(--pop); border-radius: 50%; }
dt { font-family: var(--display); font-size: 18px; font-weight: 900; color: var(--ink); margin-top: 24px; }
dd { margin: 8px 0 24px; }
.site-footer { border-top: 3px solid var(--ink); margin-top: 80px; padding-block: 24px 40px; }
.site-footer nav { margin-bottom: 16px; }
.site-footer nav a { font-size: 14px; }
.site-footer p { margin: 0; }
[id] { scroll-margin-top: 24px; }
/* Keep keyboard focus visible even on elements with their own card shadows. */
a:focus-visible, .site-header nav a:focus-visible, .region-list a:focus-visible { box-shadow: 0 0 0 6px var(--sun); }
@media (max-width: 700px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 16px; }
}
@media (max-width: 600px) {
  .region-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  h2 { font-size: 24px; }
  .region-grid > section { transform: none; }
  .intro::after { display: none; }
  :root { --shadow: 4px 4px 0 var(--ink); }
  .experience { padding: 28px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .note-row:hover, .region-list a:hover { transform: none; }
}
@media print {
  *, *::before, *::after { background: transparent !important; box-shadow: none !important; text-shadow: none !important; transform: none !important; transition: none !important; }
  html, body { background: #FFFFFF !important; color: var(--ink); }
  .skip-link, .site-header nav, .site-footer nav { display: none; }
  .site-header::after, .intro::after, h2::before, .experience::before, .experience::after { display: none; }
  .container { width: 100%; }
  main { padding-top: 24px; }
  .promise { -webkit-box-decoration-break: slice; box-decoration-break: slice; }
  .disclosure, blockquote, .experience { border-color: var(--ink); }
}
