:root {
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    sans-serif;
  color-scheme: light;
  line-height: 1.6;
  --page: #f7f5ef;
  --surface: #fff;
  --ink: #242724;
  --muted: #586058;
  --brand: #1d7a21;
  --border: #858b80;
  --rule: #d7d9d0;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
}
.no-script-intro {
  max-width: 48rem;
  margin: auto;
  padding: 1.5rem 1rem;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100% - 90rem) / 2));
  background: var(--brand);
  color: #fff;
}
@media (max-width: 767px) {
  .app-header {
    flex-wrap: wrap;
  }
  .header-navigation {
    width: 100%;
  }
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-navigation {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.header-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}
.site-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}
.site-name,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer-brand .site-brand {
  color: inherit;
  text-decoration: none;
}
.site-footer-brand .parent-site {
  font-size: 0.875rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  gap: 0.5rem 1.5rem;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.site-footer nav svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem max(1rem, calc((100% - 90rem) / 2));
  background: var(--brand);
  color: #fff;
}
.consent-banner {
  position: fixed;
  z-index: 20;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 40rem;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1rem;
  overflow: auto;
  border: 2px solid var(--brand);
  border-radius: 0.4rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0.5rem 2rem #24272433;
}
.consent-banner p,
.consent-dialog p {
  margin-top: 0;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.consent-actions button,
.consent-settings-trigger {
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid currentColor;
  border-radius: 0.25rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.site-footer nav .consent-settings-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.site-footer nav .consent-settings-trigger:hover:not(:disabled) {
  background: transparent;
}
.consent-settings-trigger[hidden],
.site-footer nav .consent-settings-trigger[hidden] {
  display: none;
}
.consent-dialog {
  max-width: min(36rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 2px solid var(--brand);
  border-radius: 0.4rem;
  background: var(--surface);
  color: var(--ink);
  overflow: auto;
}
.consent-dialog::backdrop {
  background: #24272499;
}
.document-page main {
  max-width: 48rem;
  min-height: 55vh;
  margin: auto;
  padding: 2rem 1rem;
  overflow-wrap: anywhere;
}
.document-page h1 {
  font-size: 1.75rem;
  margin-top: 0;
}
.document-page h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
}
.document-page h3 {
  font-size: 1.125rem;
}
.guide-copy {
  overflow-wrap: anywhere;
  line-height: 1.75;
}
.guide-copy h2 {
  margin: 2.5rem 0 1.5rem;
  border-left: 4px solid var(--brand);
  padding: 0.625rem 1rem;
  background: var(--surface);
  font-size: 1.375rem;
  line-height: 1.4;
}
.guide-copy h3 {
  margin: 2rem 0 1rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.625rem;
  font-size: 1.1875rem;
  line-height: 1.5;
}
.guide-copy p:has(> strong:only-child) {
  margin: 1.5rem 0 0.75rem;
  border-left: 3px solid var(--border);
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}
.guide-copy li + li {
  margin-top: 0.5rem;
}
.guide-copy :is(h2, h3) {
  scroll-margin-top: 1rem;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
@media (forced-colors: active) {
  :root {
    --page: Canvas;
    --surface: Canvas;
    --ink: CanvasText;
    --muted: CanvasText;
    --brand: Canvas;
    --border: ButtonText;
    --rule: CanvasText;
  }
}
