@charset "UTF-8";
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-VariableFont.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Italic-VariableFont.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/NotoSerif-VariableFont.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/NotoSerif-Italic-VariableFont.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Pathway Mincho";
  src: local("Hiragino Mincho ProN W3"), local("Hiragino Mincho ProN"), local("Hiragino Mincho Pro W3"), local("Hiragino Mincho Pro"), url("../fonts/NotoSerifJP-Pathway.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+304A, U+3067, U+69D8, U+9670;
}
:root {
  --textcol-max-width-tablet: 576px;
  --textcol-max-width-desktop: 680px;
  --content-max-width: 1280px;
  --container-max-width: 1440px;
  --mobile-menu-mode: mobile;
  --tile-bg-1: url("../images/farming.webp");
  --tile-bg-2: url("../images/fishing.webp");
  --tile-bg-3: url("../images/store.webp");
  --tile-bg-4: url("../images/beets.webp");
  --tile-bg-5: url("../images/mining.webp");
  --tile-bg-6: url("../images/forestry.webp");
}
@media (width > 48rem) {
  :root {
    --mobile-menu-mode: desktop;
  }
}

:root {
  --font-sans:
      "Noto Sans", ui-sans-serif, system-ui, -apple-system,
      BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif:
      "Noto Serif", ui-serif, Georgia, Cambria, "Times New Roman", Times,
      serif;
  --font-japanese-serif: "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --font-mono:
      ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --step--2: clamp(0.64rem, 0.7167rem + -0.099vw, 0.6944rem);
  --step--1: clamp(0.8rem, 0.847rem + -0.0606vw, 0.8333rem);
  --step-0: clamp(1rem, 1rem + 0vw, 1rem);
  --step-1: clamp(1.2rem, 1.1795rem + 0.0909vw, 1.25rem);
  --step-2: clamp(1.44rem, 1.3899rem + 0.2227vw, 1.5625rem);
  --step-3: clamp(1.728rem, 1.6359rem + 0.4093vw, 1.9531rem);
  --step-4: clamp(2.0736rem, 1.9231rem + 0.6687vw, 2.4414rem);
  --step-5: clamp(2.4883rem, 2.2578rem + 1.0244vw, 3.0518rem);
  --step--2: clamp(0.6944rem, 0.684rem + 0.0465vw, 0.72rem);
  --step--1: clamp(0.8333rem, 0.8061rem + 0.1212vw, 0.9rem);
  --step-0: clamp(1rem, 0.9489rem + 0.2273vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1156rem + 0.375vw, 1.4063rem);
  --step-2: clamp(1.44rem, 1.31rem + 0.5778vw, 1.7578rem);
  --step-3: clamp(1.728rem, 1.536rem + 0.8532vw, 2.1973rem);
  --step-4: clamp(2.0736rem, 1.7983rem + 1.2236vw, 2.7466rem);
  --step-5: clamp(2.4883rem, 2.1018rem + 1.718vw, 3.4332rem);
  --font-size-h1: var(--step-3);
  --font-size-h2: var(--step-2);
  --font-body: clamp(1rem, 0.9744rem + 0.1136vw, 1.0625rem);
}

.text-column {
  --flow-space: var(--space-3);
  --flow-space-tight: var(--space-4);
  --flow-space-loose: var(--space-5);
  color: var(--grey-800);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.6;
}
.text-column h1 + :where(section, article, aside, div:has(> h2)) {
  margin-block-start: var(--space-6);
}
.text-column h1 + :where(section, article, aside, div:has(> h2)) figure {
  margin-block-start: var(--space-4);
}
.text-column > * {
  margin: 0;
}
.text-column > * + * {
  margin-block-start: 1em;
}
.text-column div > p {
  margin-block-start: 1em;
}
.text-column > h1 + * {
  margin-block-start: 1em;
}
@media (width >= 768px) {
  .text-column > h1 + * {
    margin-block-start: 1em;
  }
}
.text-column > :where(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) + :where(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) {
  margin-block-start: var(--flow-space-loose);
}
.text-column :is(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) > * {
  margin: 0;
}
.text-column :is(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) > * + * {
  margin-block-start: 1em;
}
.text-column :is(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) > :is(h2, h3, h4, h5, h6):first-child {
  margin-block-start: 1em;
}
.text-column :is(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) > * + :is(h2, h3) {
  margin-block-start: var(--space-4);
}
.text-column :is(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) > * + :is(h4, h5, h6) {
  margin-block-start: var(--space-3);
}
.text-column :is(section, article, aside, div:has(> :is(h2, h3, h4, h5, h6))) > :is(h2, h3, h4, h5, h6) + * {
  margin-block-start: 1em;
}
.text-column :is(h1) {
  color: var(--brand-300);
  font-family: var(--font-serif);
  line-height: 1.2;
  text-wrap: balance;
}
.text-column :is(h2, h3, h4, h5, h6) {
  color: var(--brand-300);
  font-family: var(--font-serif);
  line-height: 1.4;
  text-wrap: balance;
}
.text-column :is(h3, h4, h5, h6) {
  font-family: var(--font-sans);
  line-height: 1.4;
  text-wrap: balance;
}
.text-column :is(h1, h2, h3, h4, h5, h6):lang(ja),
.text-column :is(h1, h2, h3, h4, h5, h6) > :lang(ja) {
  font-family: var(--font-japanese-serif);
}
.text-column > h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}
.text-column h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
}
.text-column h3 {
  font-size: var(--step-2);
  font-weight: 600;
}
.text-column h4 {
  font-size: var(--step-0);
  font-weight: 600;
}
.text-column h5,
.text-column h6 {
  font-size: var(--step--1);
  font-weight: 600;
}
.text-column p {
  color: var(--stone-800);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  font-weight: 350;
  line-height: 1.6;
}
.text-column strong,
.text-column .bold {
  font-weight: 700;
}
.text-column .italic {
  font-style: italic;
}
.text-column small {
  font-size: var(--step--1);
}
.text-column a {
  color: var(--brand-300);
  text-decoration-color: var(--site-highlight);
  text-underline-offset: 0.16em;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}
.text-column a:is(:hover, :focus-visible) {
  color: var(--site-highlight);
  text-decoration-color: currentColor;
}
.text-column :where(ul, ol) {
  padding-inline-start: 1.5rem;
  color: var(--grey-800);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  font-weight: 350;
  line-height: 1.6;
}
.text-column :where(ul) {
  list-style: disc outside;
}
.text-column :where(ol) {
  list-style: decimal outside;
}
.text-column :where(li + li, li > ul, li > ol) {
  margin-block-start: var(--space-1);
}
.text-column dt {
  font-weight: 600;
}
.text-column dd {
  margin-inline-start: var(--space-4);
}
.text-column dd + dt {
  margin-block-start: var(--space-3);
}
.text-column blockquote {
  margin-inline: 0;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--brand-100);
  color: var(--grey-600);
  font-family: var(--font-serif);
  font-size: var(--font-body);
  font-style: normal;
  line-height: 1.6;
  display: block;
}
@media (width >= 768px) {
  .text-column blockquote {
    margin-inline: var(--space-3);
  }
}
.text-column figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.text-column figure > blockquote + figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-inline-start: 2rem;
}
@media (width >= 768px) {
  .text-column figure > blockquote + figcaption {
    padding-inline-start: 0;
  }
}
.text-column figure > img {
  border: 1px solid var(--grey-300);
}
.text-column figcaption {
  width: 100%;
  color: var(--grey-600);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  line-height: 1.6;
  text-align: start;
}
.text-column code {
  font-family: var(--font-mono);
  font-size: 0.95em;
}
.text-column pre {
  max-width: 100%;
  overflow-x: auto;
  padding: var(--space-2);
  border-radius: 0.5rem;
  background-color: var(--grey-100);
  color: var(--grey-900);
}
.text-column pre code {
  font-size: var(--step--1);
}

:root {
  --site-highlight: #c75c2a;
  --brand-50: var(--grey-50);
  --brand-100: var(--grey-300);
  --brand-150: var(--grey-350);
  --brand-200: var(--grey-500);
  --brand-250: var(--grey-600);
  --brand-300: var(--grey-800);
  --button-bg-color: var(--site-highlight);
  --grey-50: #f7f7f7;
  --grey-100: #f5f5f5;
  --grey-150: #ededed;
  --grey-200: #e5e5e5;
  --grey-250: #dddddd;
  --grey-300: #d6d6d6;
  --grey-350: #bcbcbc;
  --grey-400: #a3a3a3;
  --grey-450: #8b8b8b;
  --grey-500: #737373;
  --grey-550: #626262;
  --grey-600: #525252;
  --grey-650: #4a4a4a;
  --grey-700: #424242;
  --grey-750: #353535;
  --grey-800: #292929;
  --grey-850: #1e1e1e;
  --grey-900: #141414;
  --grey-950: #0f0f0f;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --stone-950: #0c0a09;
  --footer-bg-color: var(--brand-200);
  --top-bar-bg-color: var(--grey-200);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

.ol-layer > canvas {
  max-width: none;
}

img,
picture,
svg,
video,
canvas {
  font-style: italic;
  font-family: var(--font-sans);
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  *::backdrop {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}
body,
html {
  scroll-behavior: smooth;
}

:root {
  --textcol-max-width-tablet: 576px;
  --textcol-max-width-desktop: 680px;
  --content-max-width: 1280px;
  --container-max-width: 1440px;
  --mobile-menu-mode: mobile;
  --font-serif-pathway-to-justice:
      "Pathway Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro",
      "Yu Mincho", "YuMincho", "BIZ UDPMincho", "BIZ UDMincho",
      "Noto Serif CJK JP", "Noto Serif JP", "Source Han Serif JP",
      "IPAexMincho", "IPAMincho", "MS PMincho", serif;
  --textcol-max-width-tablet: 576px;
  --textcol-max-width-desktop: 680px;
  --content-max-width: 1280px;
  --container-max-width: 1440px;
  --target-scroll-offset: 1rem;
}
@media (width > 48rem) {
  :root {
    --mobile-menu-mode: desktop;
  }
}

:target {
  scroll-margin-block-start: var(--target-scroll-offset);
}

@media (width >= 720px) {
  :root {
    --target-scroll-offset: calc(3.75rem + 3rem);
  }
}
.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Enable automatic cross-page transitions */
@view-transition {
  navigation: auto;
}
body,
html {
  min-block-size: 100%;
  background-color: #f9fafb;
}

.content-wrapper {
  --content-gutter: 1rem;
  --content-gutter-tablet-small: 1.5rem;
  --content-gutter-tablet-regular: 3rem;
  --content-gutter-desktop: 5rem;
  --container-max-width: 80rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--container-max-width)) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto; /* footer */
  min-block-size: 100vh;
  min-block-size: 100dvh;
}

.top-wrapper {
  grid-row: 1;
}

.hero {
  grid-row: 2;
}

.content-wrapper > main {
  grid-row: 3;
}

.content-wrapper > footer {
  grid-row: 4;
}

.content-wrapper > :not(.full-bleed) {
  grid-column: 2;
  min-inline-size: 0;
  padding-inline: var(--content-gutter);
}
@media (width >= 720px) {
  .content-wrapper > :not(.full-bleed) {
    padding-inline: var(--content-gutter-tablet-small);
  }
}
@media (width >= 768px) {
  .content-wrapper > :not(.full-bleed) {
    padding-inline: var(--content-gutter-tablet-regular);
  }
}
@media (width >= 1024px) {
  .content-wrapper > :not(.full-bleed) {
    padding-inline: var(--content-gutter-desktop);
  }
}

.content-wrapper > .full-bleed {
  grid-column: 1/-1;
  min-inline-size: 0;
  display: grid;
  grid-template-columns: subgrid;
}

.content-wrapper > .full-bleed > * {
  grid-column: 2;
  min-inline-size: 0;
  padding-inline: var(--content-gutter);
}

header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5rem;
}
@media (width > 425px) {
  header {
    gap: 1rem;
  }
}

.top-wrapper {
  --top-wrapper-desktop-height: 3.25rem;
  --top-wrapper-desktop-padding-block: 0;
  --top-wrapper-bg-color-desktop: var(--grey-200);
  grid-column: 1/-1;
  min-inline-size: 0;
  display: grid;
  grid-template-columns: subgrid;
  position: static;
  top: auto;
  display: flex;
  flex-direction: row;
  align-content: center;
  block-size: var(--top-wrapper-desktop-height, 3.75rem);
  padding-block: var(--top-wrapper-desktop-padding-block, 2rem);
  background-color: var(--top-wrapper-bg-color-desktop);
  box-shadow: 0 1px 3px 0 rgba(10, 13, 18, 0.1), 0 1px 2px -1px rgba(10, 13, 18, 0.1);
}
@media (width >= 720px) {
  .top-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  }
}

.siteTitle {
  display: none;
}

.nav-action {
  --nav-action-color: #fff;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-inline: 0.5rem;
  block-size: 2rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  color: var(--nav-action-color);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
@media (width > 425px) {
  .nav-action {
    padding-inline: 0.75rem;
  }
}
.nav-action :is([lang=en], [lang=ja]) {
  font-family: var(--font-sans);
  color: var(--nav-action-color);
  text-decoration: none;
  line-height: 100%;
  text-box-trim: trim-both;
  transition: color 0.3s ease-in-out;
  font-size: 0.8rem;
  white-space: nowrap;
}
@media (width > 425px) {
  .nav-action :is([lang=en], [lang=ja]) {
    font-size: 1rem;
  }
}
.nav-action :is(.magnifying-glass, .menu-burger, .x-closer) {
  color: var(--nav-action-color);
  transition: color 0.3s ease-in-out;
}
.nav-action:hover {
  --nav-action-color: var(--site-highlight);
  background-color: #fff;
}
.nav-action:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.mobile-top-nav {
  --nav-desktop-bg-color: transparent;
  --nav-desktop-padding-block: 0;
  padding-block: var(--nav-desktop-padding-block);
  background-color: var(--nav-desktop-bg-color);
  margin-inline-end: auto;
}
.mobile-top-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-block-size: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1rem;
}
@media (width > 720px) {
  .mobile-top-nav {
    display: none;
  }
}

nav#mainMenu {
  --nav-desktop-bg-color: #eff1ed;
  --nav-desktop-padding-block: 0;
  display: block;
  position: static;
  border-inline-start: 5px solid var(--brand-200);
}
@media (width > 720px) {
  nav#mainMenu {
    padding-block: var(--nav-desktop-padding-block);
    background-color: var(--nav-desktop-bg-color);
    border-inline-start: none;
  }
}
nav#mainMenu ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  min-block-size: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  padding-inline-start: 2rem;
  padding-block-start: 1rem;
}
@media (width >= 720px) {
  nav#mainMenu ul {
    align-items: center;
  }
}
@media (width > 1024px) {
  nav#mainMenu ul {
    gap: 2rem;
  }
}

.no-js .mobile-menu-open,
.no-js .mobile-menu-close {
  display: none;
}
.no-js nav#mainMenu {
  display: block;
}

@media (width > 720px) {
  .js .mobile-menu-open,
  .js .mobile-menu-close {
    display: none;
  }
}
.js .mobile-menu-close {
  position: absolute;
  z-index: 1;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
}
.js a:has(.site-logo-top) {
  display: inline-block;
}
.js a .site-logo-top:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.js a .site-logo-top {
  inline-size: 150px;
  block-size: auto;
}
@media (width > 720px) {
  .js a .site-logo-top {
    inline-size: 100px;
  }
}
.js nav#mainMenu {
  --overlay-bg-color: var(--grey-200);
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate3d(-100%, 0, 0);
  will-change: opacity, transform;
  background-color: var(--overlay-bg-color);
}
.js nav#mainMenu.is-open {
  display: block;
  transform: translate3d(0, 0, 0);
  background-color: var(--overlay-bg-color);
  border-inline-start: 5px solid var(--brand-200);
  transition: display 0.5s allow-discrete, opacity 0.5s cubic-bezier(1, 0, 0.5, 1.2), transform 0.5s cubic-bezier(1, 0, 0.5, 1.2);
}
@starting-style {
  .js nav#mainMenu.is-open {
    transform: translate3d(-100%, 0, 0);
  }
}
@media (width > 720px) {
  .js nav#mainMenu, .js nav#mainMenu.is-open {
    display: block;
    position: static;
    z-index: auto;
    inset: auto;
    overflow: visible;
    overscroll-behavior: auto;
    margin-inline-end: auto;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
    padding-block: var(--nav-desktop-padding-block);
    background-color: var(--grey-200);
  }
  .js nav#mainMenu > ul {
    flex-direction: row;
    padding-block-start: 0;
  }
}
.js #mainMenu.is-open a:has(.site-logo-top) {
  display: inline-block;
}

.js:not(.menu-ready) nav#mainMenu {
  transition: none;
}

body.menu-is-open,
body.map-menu-is-modal {
  overflow: hidden;
}

#mainMenu a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

nav#mainMenu > ul > li {
  --top-nav-mobile-font-size: 1.5rem;
  --top-nav-desktop-font-size: 1rem;
  --nav-color: var(--grey-800);
  --top-nav-desktop-font-weight: 350;
}
nav#mainMenu > ul > li :is([lang=en], [lang=ja]) {
  font-weight: var(--top-nav-desktop-font-weight);
  font-size: var(--top-nav-mobile-font-size);
  font-family: var(--font-sans);
}
@media (width >= 720px) {
  nav#mainMenu > ul > li :is([lang=en], [lang=ja]) {
    font-size: var(--top-nav-desktop-font-size);
  }
}
nav#mainMenu > ul > li .current :is([lang=en], [lang=ja]) {
  cursor: default;
  font-weight: 400;
  color: var(--site-highlight);
}
nav#mainMenu > ul > li a.current :is([lang=en], [lang=ja]) {
  cursor: pointer;
}
nav#mainMenu > ul > li a {
  text-decoration: none;
  color: var(--nav-color);
}
nav#mainMenu > ul > li a:hover {
  text-decoration: underline;
}
nav#mainMenu > ul > li a:focus-visible {
  text-decoration: underline;
}

.mobile-top-nav > ul > li {
  --top-nav-mobile-font-size: 0.8rem;
  --nav-color: #10210d;
  --top-nav-desktop-font-weight: 350;
}
.mobile-top-nav > ul > li :is([lang=en], [lang=ja]) {
  font-weight: var(--top-nav-desktop-font-weight);
  font-size: 0.8rem;
  font-family: var(--font-sans);
}
@media (width > 425px) {
  .mobile-top-nav > ul > li :is([lang=en], [lang=ja]) {
    font-size: 1rem;
  }
}
.mobile-top-nav > ul > li .current {
  cursor: default;
  font-style: italic;
}
.mobile-top-nav > ul > li a {
  text-decoration: none;
  color: var(--nav-color);
}
.mobile-top-nav > ul > li a:hover {
  text-decoration: underline;
}
.mobile-top-nav > ul > li a:focus-visible {
  text-decoration: underline;
}

.search-link .magnifying-glass {
  inline-size: 1rem;
}

html:not(#index) .hero {
  display: none;
}

.hero {
  min-block-size: 24rem;
  border-block: 5px solid var(--brand-200);
  background: linear-gradient(180deg, rgba(41, 41, 41, 0.75) 1%, rgba(154, 154, 154, 0) 60%), url(../images/splash-bg.webp) lightgray 50%/cover no-repeat;
  background-blend-mode: luminosity, normal;
}

#index figure > blockquote > p {
  font-style: italic;
}

#index .green-band {
  grid-column: 1/-1;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  margin-block-start: 2rem;
  padding-block: 1.5rem;
}
#index .green-band h1 {
  text-align: center;
}

.site-logo-container {
  --logo-outer-rotation-duration: 48s;
  --logo-inner-rotation-duration: 36s;
  align-self: center;
  display: inline-block;
  inline-size: min(100%, 15rem);
  line-height: 0;
}
.site-logo-container .splash-logo {
  display: block;
  inline-size: 100%;
  block-size: auto;
  overflow: visible;
  filter: drop-shadow(0 1.35px 1.35px rgba(10, 13, 18, 0.12)) drop-shadow(0 2.7px 4.05px rgba(10, 13, 18, 0.1)) drop-shadow(0 8.1px 10.8px rgba(10, 13, 18, 0.24));
}
.site-logo-container .splash-logo__outer,
.site-logo-container .splash-logo__inner {
  transform-box: view-box;
  transform-origin: center;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.site-logo-container .splash-logo__outer {
  animation-name: splash-logo-rotate-clockwise;
  animation-duration: var(--logo-outer-rotation-duration);
}
.site-logo-container .splash-logo__inner {
  animation-name: splash-logo-rotate-counter-clockwise;
  animation-duration: var(--logo-inner-rotation-duration);
}

.logo-container {
  --logo-outer-rotation-duration: 48s;
  --logo-inner-rotation-duration: 36s;
  align-self: center;
  display: inline-block;
  inline-size: min(100%, 15rem);
  line-height: 0;
}
.logo-container .splash-logo {
  display: block;
  inline-size: 100%;
  block-size: auto;
  overflow: visible;
  filter: drop-shadow(0 1.35px 1.35px rgba(10, 13, 18, 0.12)) drop-shadow(0 2.7px 4.05px rgba(10, 13, 18, 0.1)) drop-shadow(0 8.1px 10.8px rgba(10, 13, 18, 0.24));
}
.logo-container .splash-logo__outer,
.logo-container .splash-logo__inner {
  transform-box: view-box;
  transform-origin: 19.0448% 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}
.logo-container .splash-logo__outer {
  animation-name: splash-logo-rotate-clockwise;
  animation-duration: var(--logo-outer-rotation-duration);
}
.logo-container .splash-logo__inner {
  animation-name: splash-logo-rotate-counter-clockwise;
  animation-duration: var(--logo-inner-rotation-duration);
}

.green-band:has(#q:focus) .logo-container :is(.splash-logo__outer, .splash-logo__inner) {
  animation-play-state: running;
}

@keyframes splash-logo-rotate-clockwise {
  to {
    transform: rotate(1turn);
  }
}
@keyframes splash-logo-rotate-counter-clockwise {
  to {
    transform: rotate(-1turn);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.site-logo-container, .logo-container) :is(.splash-logo__outer, .splash-logo__inner) {
    animation: none;
  }
}
.search {
  --placeholder-color: #727272;
  --input-color: var(--grey-800);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  align-items: stretch;
  inline-size: 100%;
  text-align: center;
}

.search #q {
  flex: 1 1 auto;
  min-inline-size: 0;
  padding: 0.75rem;
  inline-size: auto;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--input-color);
  box-shadow: 0 12px 16px -4px rgba(10, 13, 18, 0.08), 0 4px 6px -2px rgba(10, 13, 18, 0.03), 0 2px 2px -1px rgba(10, 13, 18, 0.04);
}
.search #q::placeholder {
  color: var(--placeholder-color, #737373);
}

.search {
  --search-input-border-color: transparent;
  --search-input-focus-border-color: transparent;
  --search-input-focus-transition-duration: 300ms;
  --search-button-background-color: #fff;
  --search-button-foreground-color: var(--grey-700);
  --search-button-active-background-color: var(--site-highlight);
  --search-button-active-foreground-color: #fff;
  --search-button-active-border-color: var(--site-highlight);
  --search-button-padding: 0.75rem;
  --search-button-border-radius: 0.375rem;
  --search-button-icon-size: 1.5rem;
  --search-button-transition-duration: 300ms;
  --focus-ring-color: transparent;
  --focus-ring-width: 3px;
  --focus-ring-offset: 3px;
}

.search #q {
  border: 3px solid var(--search-input-border-color);
  border-radius: 0.375rem;
  transition: border-color var(--search-input-focus-transition-duration) ease-in-out;
}
.search #q:focus-visible {
  border-color: var(--search-input-focus-border-color);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

#searchSubmit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--search-button-padding);
  color: var(--search-button-foreground-color);
  cursor: pointer;
  appearance: none;
  background-color: var(--search-button-background-color);
  border: 1px solid transparent;
  border-radius: var(--search-button-border-radius);
  transition: color var(--search-button-transition-duration) ease-in-out, background-color var(--search-button-transition-duration) ease-in-out, border-color var(--search-button-transition-duration) ease-in-out;
}
#searchSubmit .magnifying-glass-splash {
  display: block;
  inline-size: var(--search-button-icon-size);
  block-size: var(--search-button-icon-size);
}
#searchSubmit:hover, .search:focus-within #searchSubmit {
  color: var(--search-button-active-foreground-color);
  background-color: var(--search-button-active-background-color);
  border-color: var(--search-button-active-border-color);
}
#searchSubmit:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

@media (width > 425px) {
  .hero {
    min-block-size: 30rem;
  }
  #index .green-band {
    gap: 1.5rem;
    margin-block-start: 3rem;
    padding-block: 2rem;
  }
  :is(.site-logo-container, .logo-container) {
    inline-size: min(100%, 17.5rem);
  }
  .search {
    gap: 0.75rem;
  }
  .search #q {
    padding: 0.875rem;
    font-size: 1.125rem;
  }
  #searchSubmit {
    --search-button-padding: 0.875rem;
    --search-button-icon-size: 2rem;
    padding-inline: 1.5rem;
    padding-block: 1.125rem;
  }
}
@media (width > 720px) {
  .hero {
    min-block-size: 35rem;
  }
  #index .green-band {
    gap: 2rem;
    margin-block-start: 4rem;
    padding-block: 3rem;
  }
  :is(.site-logo-container, .logo-container) {
    inline-size: 325px;
  }
  .search {
    gap: 1rem;
  }
  .search #q {
    flex: 0 1 30rem;
    padding: 18px;
    inline-size: min(100%, 480px);
    font-size: 1.375rem;
  }
  .searchSubmit {
    --search-button-padding: 1.125rem;
    --search-button-icon-size: 2.5rem;
  }
}
#index .main-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: center;
  inline-size: 100%;
  margin-block-start: 1.5rem;
  margin-inline: auto;
}
@media (width >= 720px) {
  #index .main-wrapper {
    max-inline-size: 100%;
    grid-template-columns: minmax(0, var(--textcol-max-width-desktop)) minmax(100px, 138px);
    column-gap: 2rem;
    padding-inline: 2rem;
    margin-block-start: 3rem;
    justify-self: center;
  }
}
@media (width >= 1280px) {
  #index .main-wrapper {
    max-inline-size: 1280px;
    grid-template-columns: minmax(100px, 138px) minmax(0, var(--textcol-max-width-desktop)) min-content;
    column-gap: 5rem;
  }
}

html:where(:not(#index)) .main-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  margin-block-start: 1.5rem;
}
@media (width >= 720px) {
  html:where(:not(#index)) .main-wrapper {
    grid-template-columns: 1fr 100px;
    column-gap: 1rem;
    margin-block-start: 3rem;
  }
}
@media (width >= 1024px) {
  html:where(:not(#index)) .main-wrapper {
    grid-template-columns: 1fr 138px;
    column-gap: 2rem;
    margin-block-start: 3rem;
  }
}

.navigation-cards-nav {
  min-inline-size: 0;
  margin-inline: auto;
  margin-block-start: 2rem;
  inline-size: 100%;
}
@media (width >= 720px) {
  .navigation-cards-nav {
    grid-row: 2/3;
    grid-column: 1/2;
    margin-inline: initial;
    inline-size: min-content;
  }
}
@media (width >= 1280px) {
  .navigation-cards-nav {
    grid-row: 1/2;
    grid-column: 3/4;
    margin-block-start: 0;
  }
}

@media (width >= 720px) {
  .navigation-cards-container {
    grid-row: 2/3;
    grid-column: 1/2;
  }
}

ul.homePageCards,
ul.navigation-cards {
  --fade-border-color: var(--brand-200);
  --fade-border-width: 1px;
  position: relative;
  display: grid;
  grid-template-columns: min-content;
  align-content: start;
  margin-inline: auto;
  margin-block-start: 3rem;
  padding-block-start: 3rem;
  border-block-start: 1px solid var(--brand-300);
  justify-content: center;
  gap: 1.5rem;
  inline-size: 100%;
  list-style: none;
}
ul.homePageCards.navigation-cards,
ul.navigation-cards.navigation-cards {
  border-block-start: none;
  padding-block-start: 0;
  margin-block-start: 2rem;
}
@media (width >= 720px) {
  ul.homePageCards,
  ul.navigation-cards {
    grid-row: 2/3;
    grid-column: 1/2;
    grid-template-columns: min-content min-content;
    margin-inline: initial;
    inline-size: min-content;
  }
}
@media (width >= 720px) {
  ul.homePageCards.navigation-cards,
  ul.navigation-cards.navigation-cards {
    grid-template-columns: min-content min-content;
    margin-inline: initial;
    inline-size: min-content;
  }
}
@media (width >= 1280px) {
  ul.homePageCards,
  ul.navigation-cards {
    grid-column: 3/4;
    grid-row: 1/2;
    grid-template-columns: min-content;
    margin-block-start: 0;
    padding-block-start: 0;
    border-block-start: none;
  }
}
ul.homePageCards.homePageCards::before,
ul.navigation-cards.homePageCards::before {
  display: none;
}
@media (width >= 1280px) {
  ul.homePageCards.homePageCards::before,
  ul.navigation-cards.homePageCards::before {
    display: initial;
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -2.5rem;
    inline-size: var(--fade-border-width);
    background: linear-gradient(180deg, #737373 0%, rgba(166, 166, 166, 0.5) 80.29%, rgba(217, 217, 217, 0.15) 100%);
    pointer-events: none;
  }
}

.homePageCard,
.navigation-card {
  --tile-desktop-width: 330px;
  --tile-tablet-width: 275px;
  --tile-mobile-width: 330px;
  --tile-desktop-height: 175px;
  --tile-bg-color: #eff1ed;
  --tile-bg-color-active: var(--grey-500);
  --tile-border-radius: 3px;
  --tile-border-color: var(--grey-500);
  --tile-border-color-active: var(--brand-300);
  --tile-image-scale-active: 1.05;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  inline-size: var(--tile-desktop-width, 330px);
  block-size: var(--tile-desktop-height);
  inline-size: var(--tile-mobile-width);
  background-color: var(--tile-bg-color);
  border: 1px solid var(--tile-border-color);
  border-radius: var(--tile-border-radius);
  transition: border-color 0.3s ease-in-out;
}
.homePageCard::before, .homePageCard::after,
.navigation-card::before,
.navigation-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}
.homePageCard::before,
.navigation-card::before {
  background: var(--tile-bg-image, var(--tile-bg-1)) 50%/cover no-repeat;
  transform: scale(1);
  transition: transform 0.4s ease;
}
.homePageCard::after,
.navigation-card::after {
  background-color: hsla(0, 0%, 100%, 0.8);
  transition: background-color 0.3s ease-in-out;
}
.homePageCard > *,
.navigation-card > * {
  position: relative;
  z-index: 1;
}
@media (width >= 720px) {
  .homePageCard,
  .navigation-card {
    inline-size: var(--tile-tablet-width);
  }
}
@media (width >= 1024px) {
  .homePageCard,
  .navigation-card {
    inline-size: var(--tile-desktop-width);
  }
}
.homePageCard:has(a:hover, a:focus-visible),
.navigation-card:has(a:hover, a:focus-visible) {
  border-color: var(--tile-border-color-active);
}
.homePageCard:has(a:hover, a:focus-visible)::before,
.navigation-card:has(a:hover, a:focus-visible)::before {
  transform: scale(var(--tile-image-scale-active));
}
.homePageCard:has(a:hover, a:focus-visible)::after,
.navigation-card:has(a:hover, a:focus-visible)::after {
  background-color: hsla(0, 0%, 45.1%, 0.8);
}
.homePageCard:has(a:focus-visible),
.navigation-card:has(a:focus-visible) {
  outline: 3px solid var(--brand-300);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .homePageCard::before,
  .navigation-card::before {
    transition: none;
  }
  .homePageCard:has(a:hover, a:focus-visible)::before,
  .navigation-card:has(a:hover, a:focus-visible)::before {
    transform: none;
  }
}

.homePageCard a,
.navigation-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.5rem;
  inline-size: 100%;
  block-size: 100%;
  padding: 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brand-300);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.homePageCard a:hover, .homePageCard a:focus-visible,
.navigation-card a:hover,
.navigation-card a:focus-visible {
  color: #ffffff;
}
.homePageCard a:focus-visible,
.navigation-card a:focus-visible {
  outline: none;
}
.homePageCard a .tile-teaser,
.navigation-card a .tile-teaser {
  min-block-size: 2.5rem;
  font-size: 0.75rem;
  color: var(--grey-500);
  transition: all 0.3s ease-in-out;
}
.homePageCard a:hover .tile-teaser, .homePageCard a:focus-visible .tile-teaser,
.navigation-card a:hover .tile-teaser,
.navigation-card a:focus-visible .tile-teaser {
  color: #fff;
}

.icon-arrow-right {
  --icon-color: var(--brand-300);
  --icon-color-active: #ffffff;
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transition: all 0.3s ease-in-out;
  color: var(--icon-color);
}
.homePageCard:has(a:hover, a:focus-visible) .icon-arrow-right, .navigation-card:has(a:hover, a:focus-visible) .icon-arrow-right {
  color: var(--icon-color-active);
  transform: translate3d(0.5rem, 0, 0) scale3d(1.25, 1.25, 1.25);
}

.use-icon {
  display: none;
}

#index .pathway-to-justice {
  display: none;
}
@media (width >= 720px) {
  #index .pathway-to-justice {
    grid-column: 2/3;
    grid-row: 1/2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-inline-start: auto;
  }
  #index .pathway-to-justice img {
    inline-size: 100px;
    display: block;
  }
}
@media (width >= 720px) and (width >= 1280px) {
  #index .pathway-to-justice img {
    inline-size: 138px;
  }
}
@media (width >= 1280px) {
  #index .pathway-to-justice {
    grid-column: 1/2;
  }
}

html:not(#index) .pathway-to-justice {
  display: none;
}
@media (width >= 720px) {
  html:not(#index) .pathway-to-justice {
    grid-column: 2/3;
    grid-row: 1/3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-inline-start: auto;
  }
  html:not(#index) .pathway-to-justice img {
    inline-size: 100px;
    display: block;
  }
}
@media (width >= 720px) and (width >= 1024px) {
  html:not(#index) .pathway-to-justice img {
    inline-size: 138px;
  }
}
@media (width >= 1280px) {
  html:not(#index) .pathway-to-justice {
    grid-column: 2/3;
  }
}

.pathway-translation {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-sans);
  text-wrap: balance;
}
.pathway-translation .bold {
  font-weight: 700;
  color: var(--grey-500);
}
.pathway-translation .italic {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 400;
  color: var(--grey-500);
}

p.okagesama-de {
  margin-block-start: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
p.okagesama-de strong:first-of-type {
  font-size: var(--step-2);
  font-family: var(--font-serif-pathway-to-justice);
  font-weight: 400;
}
p.okagesama-de strong {
  color: var(--grey-500);
  font-weight: 500;
}
p.okagesama-de q {
  color: var(--grey-500);
  font-weight: 200;
  font-style: italic;
}

#index .text-column {
  --textcol-max-width-tablet: 576px;
  --textcol-max-width-desktop: 680px;
  --content-max-width: 1280px;
  --container-max-width: 1440px;
  grid-column: 1/2;
  inline-size: 100%;
}
@media (width >= 1280px) {
  #index .text-column {
    grid-column: 2/3;
  }
}

html:where(:not(#index)) .text-column {
  inline-size: 100%;
  min-inline-size: 0;
  padding-block-end: 1rem;
}
@media (width >= 720px) {
  html:where(:not(#index)) .text-column {
    max-inline-size: var(--textcol-max-width-tablet);
  }
}
@media (width >= 1024px) {
  html:where(:not(#index)) .text-column {
    max-inline-size: var(--textcol-max-width-desktop);
  }
}
@media (width >= 1280px) {
  html:where(:not(#index)) .text-column {
    grid-column: 1/2;
  }
}

#index .text-column h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--step-4);
  color: var(--grey-600);
}

footer {
  --footer-bg-color: var(--brand-200);
  margin-block-start: 6rem;
  padding-block: 2rem;
  background-color: var(--footer-bg-color);
}

.footer-wrapper,
.pathway-to-justice-footer {
  font-family: var(--font-sans);
  font-weight: 350;
  color: #fff;
}

.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.footer-wrapper a {
  text-decoration: none;
  color: #fff;
}
.footer-wrapper a:is(:hover, :focus-visible) {
  text-decoration: underline;
}

#buildInfo {
  display: none;
}

.pathway-to-justice-footer {
  margin-block-start: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pathway-to-justice-footer > span:first-of-type {
  font-family: var(--font-serif-pathway-to-justice);
  font-size: 2.25rem;
  font-weight: 400;
  color: #fff;
}

.pathway-translation-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: #fff;
}
.pathway-translation-footer .bold {
  font-weight: 350;
  font-size: 0.625rem;
}
.pathway-translation-footer .italic {
  font-style: italic;
  font-weight: 200;
  font-size: 0.625rem;
}

/* HIDING AND SHOWING LANGUAGES. */
/* Default: hide Japanese. */
body:has(input#langToggleEn:checked) *:lang(ja),
body:has(input#langToggleEn:checked) nav#mainMenu > ul > li > span > span:lang(ja),
body:has(input#langToggleEn:checked) nav#mainMenu > ul > li > a > span:lang(ja) {
  display: none;
}

body:has(input#langToggleJa:checked) *:lang(en),
body:has(input#langToggleJa:checked) nav#mainMenu > ul > li > span > span:lang(en),
body:has(input#langToggleJa:checked) nav#mainMenu > ul > li > a > span:lang(en) {
  display: none;
}

div#langToggle {
  margin-inline-end: auto;
  display: inline-block;
  padding: 0.15em;
  border: solid 1pt blue;
  border-radius: 5pt;
  background-color: lightgray;
  inline-size: 3em;
  cursor: pointer;
}
div#langToggle:hover {
  background-color: white;
}
div#langToggle input {
  display: none;
}
div#langToggle label {
  display: inline-block;
  text-align: center;
  inline-size: 100%;
}

/* Things like the clickable PDF icon. */
img.icon {
  block-size: 1.5rem;
}

span.loiLink,
span.localId {
  display: none;
}

details > summary {
  cursor: pointer;
}

/* Hide name field used only for search indexing. */
p.hiddenName {
  display: none;
}

/* Faux representation of panel. */
div.panelContainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

p.nextPrevPanels {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 2rem;
}
p.nextPrevPanels a,
p.nextPrevPanels a:hover,
p.nextPrevPanels a:visited {
  text-decoration: none;
}

.panels-key h3 {
  font-size: var(--step-1);
  color: var(--brand-300);
}
.panels-key h3 + * {
  margin-block-start: 0.5rem;
}
.panels-key h4 {
  font-family: var(--font-sans);
  font-size: var(--step-1);
}
.panels-key .panels-region {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  border-block-end: 1px solid var(--brand-200);
  margin-block-start: 1.5rem;
  padding-block-start: 0.5rem;
  padding-block-end: 1.5rem;
}
.panels-key .panels-region:first-of-type {
  border-block-start: none;
}
.panels-key div.specialPanelRegion {
  margin-block-start: 1em;
  border-block-start: none;
}
.panels-key div.panelsArea,
.panels-key div.specialPanelRegion {
  display: grid;
  grid-template-columns: 3em 1fr;
}
.panels-key div.panelsArea span.panelsNum,
.panels-key div.panelsArea span.panelsAreaName,
.panels-key div.specialPanelRegion span.panelsNum,
.panels-key div.specialPanelRegion span.panelsAreaName {
  font-size: var(--font-body);
  font-weight: bold;
  display: block;
}
.panels-key div.panelsArea span.panelsCommunityNames,
.panels-key div.specialPanelRegion span.panelsCommunityNames {
  display: block;
  font-size: var(--font-body);
}
.panels-key div.panelsAlphaListing {
  display: grid;
  white-space: nowrap;
  column-gap: 2em;
  grid-template-columns: min-content min-content;
}
.panels-key div.panelsAlphaListing div.panelsArea {
  margin-block-start: 0;
}

h1:has(span > span) span {
  display: flex;
  flex-direction: column;
}

h1 > span > span {
  font-size: var(--step-2);
  font-weight: 500;
}

.intro-text {
  padding-block-end: 1rem;
  border-bottom: 1px solid var(--brand-300);
}

html body .letterLinks {
  --letter-bg: #eff1ed;
  --letter-bg-color-active: var(--brand-200);
  --letter-border-color: var(--brand-100);
  --letter-color: var(--brand-300);
  --letter-color-active: #ffffff;
  margin-block-start: 1.5em;
  display: grid;
  grid-template-columns: repeat(6, max-content);
  grid-template-rows: repeat(5, auto);
  gap: 0.5rem;
  list-style-type: none;
  margin-inline: 0;
  padding-inline: 0;
  padding-block-end: 1.5rem;
  border-bottom: 1px solid var(--brand-200);
}
@media (width >= 720px) {
  html body .letterLinks {
    grid-template-columns: repeat(7, max-content);
    grid-template-rows: repeat(4, auto);
  }
}

.letterLinks > li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  block-size: 3rem;
  inline-size: 3rem;
  margin: 0;
  padding: 0;
  background-color: var(--letter-bg);
  border: 1px solid var(--letter-border-color);
  color: var(--letter-color);
  transition: all 0.3s ease-in-out;
}
@media (width >= 720px) {
  .letterLinks > li {
    block-size: 2rem;
    inline-size: 2rem;
  }
}
.letterLinks > li:hover {
  background-color: var(--letter-bg-color-active);
  color: var(--letter-color-active);
  cursor: pointer;
}
.letterLinks > li:hover a {
  color: var(--letter-color-active);
}
.letterLinks > li.current {
  background-color: var(--letter-bg-color-active);
  color: var(--letter-color-active);
  cursor: default;
  font-size: var(--step-2);
  font-weight: 500;
  opacity: 1;
}
@media (width >= 720px) {
  .letterLinks > li.current {
    font-size: var(--step-0);
  }
}

.letterLinks > li > a {
  display: grid;
  place-items: center;
  font-weight: 500;
  text-decoration: none;
  font-size: var(--step-2);
  block-size: 100%;
  inline-size: 100%;
  text-align: center;
}
@media (width >= 720px) {
  .letterLinks > li > a {
    font-size: var(--step-0);
  }
}

.letterLinks > li:not(:has(a)) {
  opacity: 0.4;
  font-weight: 500;
}
.letterLinks > li:not(:has(a)):hover {
  cursor: not-allowed;
}

.names {
  margin-block-start: 1.5em;
  padding-inline: 0;
  margin-inline: 0;
}

.names > li {
  list-style-type: none;
}

.scroll-to-top {
  --scroll-to-top-size: 4rem;
  --scroll-to-top-gap: 1rem;
  --scroll-to-top-color: #ffffff;
  --scroll-to-top-background: var(--site-highlight);
  --scroll-to-top-caret-color: #ffffff;
  --scroll-to-top-shadow-color: rgb(10 13 18 / 10%);
  --scroll-to-top-hover-color: var(--site-highlight);
  --scroll-to-top-hover-background: #ffffff;
  --scroll-to-top-hover-caret-color: var(--site-highlight);
}
.scroll-to-top[aria-hidden=false], .scroll-to-top[aria-hidden=true] {
  position: fixed;
  inset-block-end: 1.875rem;
  z-index: 10;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  inline-size: var(--scroll-to-top-size);
  block-size: var(--scroll-to-top-size);
  padding: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: var(--scroll-to-top-color);
  background-color: var(--scroll-to-top-background);
  border-radius: 8px;
  box-shadow: 0 1px 3px 0 var(--scroll-to-top-shadow-color), 0 1px 2px -1px var(--scroll-to-top-shadow-color);
  transition: opacity 0.3s ease-in-out, inset-inline-end 0.3s ease-in-out, color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.scroll-to-top[aria-hidden=false] {
  opacity: 1;
  inset-inline-end: var(--scroll-to-top-inline-inset, var(--scroll-to-top-gap));
}
.scroll-to-top[aria-hidden=true] {
  opacity: 0;
  inset-inline-end: -6.25rem;
}
.scroll-to-top svg.up-caret {
  inline-size: 1rem;
  block-size: auto;
  margin-block-end: 0.25rem;
  stroke: var(--scroll-to-top-caret-color);
  transform: translate3d(0, 0, 0);
  transition: stroke 0.3s ease-in-out, transform 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .scroll-to-top:hover {
    cursor: pointer;
    color: var(--scroll-to-top-hover-color);
    background-color: var(--scroll-to-top-hover-background);
  }
  .scroll-to-top:hover svg.up-caret {
    stroke: var(--scroll-to-top-hover-caret-color);
    transform: translate3d(0, -3px, 0);
  }
}

div.personPage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--container-max-width);
  margin-block-start: 2rem;
}
@media (width >= 720px) {
  div.personPage {
    grid-template-columns: minmax(25rem, 37.5rem) max-content;
  }
}

.nextPrevNames:has(a[rel=next]) {
  justify-content: flex-end;
}

.nextPrevNames:has(a[rel=prev] ~ a[rel=next]) {
  justify-content: space-between;
}

.nextPrevNames {
  width: 100%;
  max-inline-size: var(--textcol-max-width-desktop);
  margin-inline: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.nextPrevNames a {
  color: #ffffff;
  padding-inline: 1.5rem;
  padding-block: 1rem;
  background-color: var(--site-highlight);
  border: 1px solid #ffffff;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.nextPrevNames a:is(:hover, :focus-visible) {
  background-color: #ffffff;
  color: var(--site-highlight);
  border: 1px solid var(--site-highlight);
}
.nextPrevNames a svg {
  width: 1.5rem;
  height: auto;
}

.nextPrevPanels:has(a[rel=prev] ~ a[rel=next]) {
  justify-content: space-between;
}

.nextPrevPanels:has(a[rel=next]) {
  justify-content: flex-end;
}

.nextPrevPanels:has(a[rel=prev]) {
  justify-content: flex-start;
}

.personInfo {
  --flow-space: var(--space-3);
  --flow-space-tight: var(--space-2);
  grid-column: 1;
  align-self: flex-start;
  background-color: var(--grey-100);
  max-inline-size: 37.5rem;
  padding: 1.5rem;
  border-radius: 5px;
  border: 1px solid var(--brand-200);
  color: var(--grey-800);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.6;
}
.personInfo > * {
  margin: 0;
}
.personInfo > * + * {
  margin-block-start: var(--flow-space);
}
.personInfo > h1 ~ p:nth-of-type(3) {
  margin-block-start: 1em;
}
@media (width >= 720px) {
  .personInfo > h1 ~ p:nth-of-type(3) {
    margin-block-start: 1em;
  }
}
.personInfo > div > * {
  margin: 0;
}
.personInfo > div > * + * {
  margin-block-start: var(--flow-space);
}
.personInfo > div > :is(h2, h3, h4, h5, h6):first-child {
  margin-block-start: 1em;
}
.personInfo > div > * + :is(h2, h3) {
  margin-block-start: 1em;
}
.personInfo > div > * + :is(h4, h5, h6) {
  margin-block-start: var(--space-3);
}
.personInfo > div > :is(h2, h3, h4, h5, h6) + * {
  margin-block-start: 0.5em;
}
.personInfo h1 {
  color: var(--brand-300);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  text-wrap: balance;
}
.personInfo :is(h2, h3, h4, h5, h6) {
  color: var(--brand-300);
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}
.personInfo :is(h1, h2, h3, h4, h5, h6):lang(ja),
.personInfo :is(h1, h2, h3, h4, h5, h6) > :lang(ja) {
  font-family: var(--font-japanese-serif);
}
.personInfo h2 {
  font-size: var(--font-size-h2);
}
.personInfo h3 {
  font-size: var(--step-1);
}
.personInfo h4 {
  font-size: var(--step-0);
}
.personInfo h5,
.personInfo h6 {
  font-size: var(--step--1);
}
.personInfo p {
  margin-block-start: 1em;
  color: var(--grey-800);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  font-weight: 350;
  line-height: 1.6;
}
.personInfo a {
  color: var(--brand-300);
  text-decoration-color: var(--site-highlight);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
  transition: color 0.2s ease-in-out, text-decoration-color 0.2s ease-in-out;
}
.personInfo a:is(:hover, :focus-visible) {
  color: var(--site-highlight);
  text-decoration-color: currentColor;
}
.personInfo :where(ul, ol) {
  padding-inline-start: 1.5rem;
  color: var(--grey-800);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  font-weight: 350;
  line-height: 1.6;
}
.personInfo :where(ul) {
  list-style: disc outside;
}
.personInfo :where(ol) {
  list-style: decimal outside;
}
.personInfo :where(li + li, li > ul, li > ol) {
  margin-block-start: var(--space-1);
}
.personInfo h1 ~ p:nth-of-type(3) > a {
  font-size: 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  block-size: 2rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  color: #ffffff;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.personInfo h1 ~ p:nth-of-type(3) > a :is([lang=ja], [lang=en]) {
  color: inherit;
  line-height: inherit;
  text-box-trim: trim-both;
  font-size: 1rem;
}
.personInfo h1 ~ p:nth-of-type(3) > a:is(:hover, :focus-visible) {
  background-color: #ffffff;
  color: var(--site-highlight);
}

.personPanel {
  position: relative;
}

.personPanel h3 {
  font-family: var(--font-serif);
  color: var(--brand-300);
  font-size: 1.5rem;
  text-box: trim-both cap alphabetic;
}

.panel {
  max-inline-size: max-content;
  margin-block-start: 1rem;
  background-color: var(--grey-100);
  padding: 1rem;
  border: solid 1px #a3a3a3;
  text-wrap: nowrap;
  font-family: var(--font-sans);
  font-size: 0.325rem;
}
@media (width >= 1024px) {
  .panel {
    font-size: 0.6rem;
  }
}

div.panel a,
div.panel a:visited {
  color: black;
  text-decoration: none;
}
div.panel a:hover {
  text-decoration: underline;
}
div.panel a:target,
div.panel mark {
  padding: 0.25rem;
  background-color: var(--site-highlight);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #ffffff;
  border-radius: 5px;
}
div.panel span.region {
  font-size: 1.25em;
  font-weight: 700;
}
div.panel span.subregion {
  font-size: 1.15rem;
  font-weight: 700;
}
div.panel span.area {
  font-weight: 700;
}
div.panel span.label {
  font-weight: 700;
}
div.panel div.panelNumber {
  text-align: start;
  margin-block: 2em;
  margin-inline: 0;
}

html[id*=panel_] h1 {
  color: var(--brand-300);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  text-wrap: balance;
  text-align: center;
}
html[id*=panel_] .main-wrapper {
  grid-template-columns: 1fr;
}
html[id*=panel_] .text-column {
  max-inline-size: none;
}
html[id*=panel_] .panel {
  max-inline-size: max-content;
  margin-block-start: 1rem;
  background-color: var(--grey-100);
  padding: 1rem;
  border: solid 1px #a3a3a3;
  text-wrap: nowrap;
  font-family: var(--font-sans);
  font-size: 0.4rem;
}
@media (width >= 720px) {
  html[id*=panel_] .panel {
    font-size: 1rem;
  }
}
html[id*=panel_] div.panel a,
html[id*=panel_] div.panel a:visited {
  color: black;
  text-decoration: none;
}
html[id*=panel_] div.panel a:hover {
  text-decoration: underline;
}
html[id*=panel_] div.panel a:target,
html[id*=panel_] div.panel mark {
  padding: 0.25rem;
  background-color: var(--site-highlight);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #ffffff;
  border-radius: 5px;
}
html[id*=panel_] div.panel span.region {
  font-size: 1.25em;
  font-weight: 700;
}
html[id*=panel_] div.panel span.subregion {
  font-size: 1.15rem;
  font-weight: 700;
}
html[id*=panel_] div.panel span.area {
  font-weight: 700;
}
html[id*=panel_] div.panel span.label {
  font-weight: 700;
}
html[id*=panel_] div.panel div.panelNumber {
  text-align: start;
  margin-block: 2em;
  margin-inline: 0;
}
html[id*=panel_] .nextPrevPanels {
  width: 100%;
  max-inline-size: var(--textcol-max-width-desktop);
  margin-inline: auto;
  display: flex;
  flex-direction: row;
}
html[id*=panel_] .nextPrevPanels a {
  color: #ffffff;
  padding-inline: 1.5rem;
  padding-block: 1rem;
  background-color: var(--site-highlight);
  border: 1px solid #ffffff;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
html[id*=panel_] .nextPrevPanels a:is(:hover, :focus-visible) {
  background-color: #ffffff;
  color: var(--site-highlight);
  border: 1px solid var(--site-highlight);
}
html[id*=panel_] .nextPrevPanels a svg {
  width: 1.5rem;
  height: auto;
}
html[id*=panel_] .nextPrevPanels:has(a[rel=prev] ~ a[rel=next]) {
  justify-content: space-between;
}
html[id*=panel_] .nextPrevPanels:has(a[rel=next]) {
  justify-content: flex-end;
}
html[id*=panel_] .nextPrevPanels:has(a[rel=prev]) {
  justify-content: flex-start;
}

html#panelsAll h1 {
  color: var(--brand-300);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  text-wrap: balance;
  margin-block-start: 2rem;
}

div.panelsAll {
  margin-block-start: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

div.panelsAllPanel {
  display: flex;
  flex-direction: column;
  align-items: center;
  inline-size: 12.5rem;
  block-size: 21.875rem;
  padding-inline: 0.75rem;
  padding-block: 1.5rem;
  background-color: var(--grey-150);
  border: 1px solid var(--grey-400);
  font-family: var(--font-sans);
}
div.panelsAllPanel h3 {
  text-align: center;
}
div.panelsAllPanel h3 a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  color: var(--site-highlight);
}
div.panelsAllPanel h3 a:hover {
  text-decoration: none;
}
div.panelsAllPanel h4.panelsAllPlace,
div.panelsAllPanel span.panelsAllPlace {
  display: block;
  text-align: center;
  margin-block-start: 0.75rem;
  font-weight: 550;
  font-size: 0.875rem;
}
div.panelsAllPanel h4.panelsAllPlace {
  text-align: center;
}
div.panelsAllPanel span.panelsAllName {
  font-size: 0.875rem;
  text-align: center;
}

span.ssQueryAndButton {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-block-start: 1.5rem;
}
span.ssQueryAndButton #ssQuery {
  flex: 0 0 100%;
  min-width: 0;
}
span.ssQueryAndButton #ssDoSearch {
  margin-inline-start: auto;
}

#ssQuery {
  padding-inline: 0.75rem;
  padding-block: 0.5rem;
  border-radius: 8px;
  border: 1px solid #d5d7da;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
  font-family: var(--primary-serif);
  transition: all 0.3s ease-in-out;
}

#ssQuery:focus {
  border: 1px solid var(--site-highlight);
}

#staticSearch :is(#ssDoSearch,
#ssDoSearch2,
#ssClear,
#ssShowMore,
#ssShowAll,
#ssClear2) {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  padding-block: 0;
  block-size: 2rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff;
  line-height: 1;
  text-box-trim: trim-both;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
#staticSearch :is(#ssDoSearch,
#ssDoSearch2,
#ssClear,
#ssShowMore,
#ssShowAll,
#ssClear2):is(:hover, :focus-visible) {
  background-color: #ffffff;
  color: var(--site-highlight);
}

#staticSearch #ssClear,
#staticSearch #ssClear2 {
  background-color: var(--grey-500);
}

button#ssDoSearch2 {
  margin-block-start: 1.5rem;
  margin-inline-start: 0.5rem;
}

.clearButton {
  width: 100%;
  max-width: var(--text-width);
  margin-inline: auto;
  margin-block-start: 0.5rem;
}

div.ssDescFilters {
  display: flex;
  flex-flow: row wrap;
  gap: 1rem;
}

#staticSearch fieldset {
  border: 1px solid var(--brand-200);
  border-radius: 5px;
}

#staticSearch {
  width: 100%;
  margin-inline: auto;
  max-width: var(--search-width);
}

#staticSearch ul {
  padding: 0;
  margin: 0;
  position: relative;
}

.ssContent {
  width: 100%;
}

.ssDescCheckboxList {
  display: grid;
  row-gap: 1rem;
}
@media (width >= 425px) {
  .ssDescCheckboxList {
    row-gap: 0.25rem;
  }
}

#staticSearch ul li {
  display: grid;
  grid-template-columns: 1rem auto;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  font-size: 0.988rem;
  padding: 0;
  margin: 0;
}

#staticSearch ul li label {
  font-family: var(--font-sans);
  font-weight: 350;
  color: var(--text-color);
  font-size: 1rem;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  cursor: pointer;
}

#staticSearch ul li input[type=checkbox] {
  --ss-checkbox-size: 1.5rem;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  align-self: flex-start;
  width: var(--ss-checkbox-size);
  height: var(--ss-checkbox-size);
  margin: 0;
  padding: 0;
  color: currentcolor;
  background-color: #eff1ed;
  border: 0.1em solid var(--brand-200);
  border-radius: 0;
  cursor: pointer;
}

#staticSearch ul li input[type=checkbox]::before {
  --ss-checkbox-marker-width: 0.875em;
  --ss-checkbox-marker-height: 0.625em;
  content: "";
  width: var(--ss-checkbox-marker-width);
  height: var(--ss-checkbox-marker-height);
  background-color: CanvasText;
  box-shadow: inset 1em 1em var(--site-highlight);
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 1L4.75 9L1 5.36364' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 1L4.75 9L1 5.36364' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
}

#staticSearch ul li input[type=checkbox]:checked::before {
  transform: scale(1);
}

#staticSearch ul li input[type=checkbox]:focus {
  outline: max(1px, 0.1em) solid currentcolor;
  outline-offset: max(1px, 0.1em);
}

#staticSearch li + li {
  margin-top: 0.25rem;
}

div.ssDescFilters fieldset {
  padding: var(--space-3);
  display: block;
}

form#ssForm {
  width: 100%;
  max-width: var(--search-width);
  margin-block-end: 3rem;
}

#ssForm *[class^=ss] fieldset {
  margin-block-end: 1rem;
}

#ssForm legend {
  float: left;
  inline-size: 100%;
  margin-block-end: 1rem;
  box-sizing: border-box;
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
}

#ssForm legend + * {
  clear: both;
}

#ssForm label {
  font-family: var(--font-sans);
}

span.ssQueryAndButton {
  margin-block-end: 0.5rem;
}

#ssForm *[class^=ss] input:not([type=checkbox]) {
  --ss-text-input-icon: url(../images/magnifying-glass.svg);
  --ss-text-input-icon-size: 27px;
  margin-inline-end: 0.5rem;
  padding: 0.5rem;
  width: 100%;
  color: #222222;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid var(--brand-200);
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
}
@media (width >= 425px) {
  #ssForm *[class^=ss] input:not([type=checkbox]) {
    width: 75%;
  }
}

#ssForm *[class^=ss] input:focus:not([type=checkbox]) {
  background-color: #fff;
  color: #222222;
  border-color: var(--site-highlight);
}

span.clearButton {
  margin-block-end: 1.5rem;
}

div#ssResults > ul > li {
  padding: 0;
  margin: 0;
}

#ssForm svg {
  display: none;
}

div.ssDateFilters fieldset.ssFieldset span,
div.ssNumFilters fieldset.ssFieldset span,
div.ssBoolFilters fieldset.ssFieldset span {
  padding: 0.5em 0;
}

div.ssDescFilters,
div.ssDateFilters,
div.ssNumFilters,
div.ssBoolFilters,
div.ssSearchInFilters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
}

#main details {
  display: block;
  width: 100%;
  max-width: var(--text-width);
  margin-inline: auto;
  margin-block-start: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  background-image: url(../images/body-bg.png);
  background-repeat: repeat;
  box-shadow: var(--shadow-sm);
}
#main details summary h3 {
  display: inline;
}
#main details h3.caption {
  text-align: left;
}
#main details ul {
  width: auto;
  max-width: none;
}

#search details {
  width: 100%;
}

#search details > * {
  padding: 0rem 0.25rem;
  font-family: var(--font-sans);
}
@media (width >= 425px) {
  #search details > * {
    padding: 0rem 1rem;
  }
}

#search #staticSearch #ssResults ul li div {
  margin-block-end: 1.5rem;
  padding: 1rem;
}

div#ssResults > ul > li > a > img {
  width: 50px;
  height: auto;
  min-width: auto;
  min-height: auto;
}

div#ssResults {
  min-height: initial;
  padding-block-start: 1rem;
  margin-block-end: 0;
}

div#staticSearch details {
  --ss-chevron-size: 1.5rem;
  interpolate-size: allow-keywords;
  margin-block-start: 1.5rem;
  padding-block: 1rem;
  padding-inline: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 350;
  background-color: var(--grey-100);
  border: 1px solid var(--brand-300);
  border-radius: 5px;
}
div#staticSearch details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
}
div#staticSearch details > summary::-webkit-details-marker {
  display: none;
}
div#staticSearch details > summary::after {
  content: "";
  flex: 0 0 var(--ss-chevron-size);
  width: var(--ss-chevron-size);
  height: var(--ss-chevron-size);
  background: center/contain no-repeat url(../images/chevron.svg);
  transform: rotate(0deg);
  transition: transform 200ms ease-in-out;
}
div#staticSearch details > summary:focus-visible {
  outline: 2px solid var(--site-highlight);
  outline-offset: 0.25rem;
}
div#staticSearch details[open] > summary::after {
  transform: rotate(180deg);
}
div#staticSearch details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 350ms ease, content-visibility 350ms allow-discrete;
}
div#staticSearch details[open]::details-content {
  block-size: auto;
}

div#staticSearch details[open] fieldset {
  background-color: #ffffff;
  padding: 1rem;
}

html body #main div.ssDescFilters {
  margin-block-start: 1.5rem;
}

div.ssDescFilters + h3 {
  margin-block-start: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

div#staticSearch summary h3 {
  display: inline;
}

#ssPoweredBy > p {
  margin-block-start: 1.5rem;
  font-family: var(--font-sans);
  color: var(--primary-text-color);
  font-weight: 300;
  font-size: 0.875rem;
  text-align: center;
}

#ssResults > p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--primary-text-color);
  width: 100%;
  max-width: none;
}

div#ssResults > ul > li:nth-child(2n) {
  background-color: transparent;
  transition: none;
  border-top: 1px solid var(--brand-100);
  border-bottom: none;
}

div.ssFeatFilters > fieldset.ssFieldset > menu {
  display: none;
  flex-direction: column;
  inline-size: min-content;
  min-inline-size: 12rem;
  max-block-size: min(20rem, 50dvh);
  margin: 0.25rem 0 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background-color: #ffffff;
  border: 1px solid var(--brand-200);
  border-radius: 3px;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1), 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
  list-style: none;
  z-index: 5;
}

div.ssFeatFilters > fieldset.ssFieldset > menu > div.select {
  min-block-size: 2.75rem;
  padding: 0.625rem 0.75rem;
  display: flex;
  align-items: center;
  color: var(--grey-800);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  line-height: 1.4;
  background-color: transparent;
  border: 0;
  border-block-end: 1px solid var(--grey-200);
  cursor: pointer;
}

div.ssFeatFilters > fieldset.ssFieldset > menu > div.select:last-child {
  border-block-end: 0;
}

div.ssFeatFilters > fieldset.ssFieldset > menu > div.select:focus-visible {
  color: #ffffff;
  background-color: var(--brand-200);
  outline: 2px solid var(--site-highlight);
  outline-offset: -2px;
}

div.ssFeatFilters > fieldset.ssFieldset:focus-within > menu:not(:empty) {
  display: flex;
}

div.ssFeatFilters > fieldset.ssFieldset:focus-within > menu:empty {
  display: none;
}

.ssFieldset > input[title=Forename] {
  anchor-name: --forename-anchor;
}

.ssFieldset > input[title=Surname] {
  anchor-name: --surname-anchor;
}

.ssFieldset > input[title=Forename] ~ menu {
  position: absolute;
  position-anchor: --forename-anchor;
  inset-inline-start: anchor(start);
  inset-block-start: anchor(end);
  inline-size: anchor-size(width);
  min-inline-size: anchor-size(width);
}

fieldset[title=Surname] > menu {
  position: absolute;
  position-anchor: --surname-anchor;
  position-area: block-end span-inline-end;
  inline-size: anchor-size(width);
  min-inline-size: anchor-size(width);
}

@media (any-hover: hover) {
  div.ssFeatFilters > fieldset.ssFieldset > menu > div.select:hover {
    color: #ffffff;
    background-color: var(--brand-200);
  }
}
div#ssResults > ul > li > div > ul.kwic > li {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 0em;
  border-top: none;
  padding: 0.2em;
}
div#ssResults > ul > li > div > ul.kwic > li mark {
  font-weight: 500;
  background-color: transparent;
}

#staticSearch ul.kwic {
  background-color: var(--grey-150);
  padding: 1rem;
  margin-block-start: 1rem;
}

div#ssResults > ul > li {
  align-items: flex-start;
  margin-block-start: 1rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--brand-100);
}

#search #staticSearch #ssResults ul li div {
  padding: 0rem;
}

#ssResults > ul > li > div > span {
  display: none;
}

#places details {
  --ss-chevron-size: 1.5rem;
  --ss-chevron-rotation: 0deg;
  --ss-chevron-scale: 1;
  interpolate-size: allow-keywords;
  padding-block: 1rem;
  padding-inline: 0.5rem;
  width: 100%;
  max-width: 25rem;
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 400;
  background-color: var(--grey-100);
  border: 1px solid var(--brand-300);
  border-radius: 5px;
  margin-block-start: 1rem;
  transition: background-color 0.3s ease-in-out;
}
#places details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  transition: color 200ms ease-in-out;
}
#places details > summary::-webkit-details-marker {
  display: none;
}
#places details > summary::after {
  content: "";
  flex: 0 0 var(--ss-chevron-size);
  width: var(--ss-chevron-size);
  height: var(--ss-chevron-size);
  background: center/contain no-repeat url(../images/chevron.svg);
  transform: rotate(var(--ss-chevron-rotation)) scale(var(--ss-chevron-scale));
  transition: transform 200ms ease-in-out;
}
#places details > summary:is(:hover, :focus-visible) {
  --ss-chevron-scale: 1.2;
}
#places details > summary:focus-visible {
  outline: 2px solid var(--site-highlight);
  outline-offset: 0.25rem;
}
#places details:has(> summary:is(:hover, :focus-visible)) {
  background-color: #ffffff;
}
#places details[open] {
  background-color: #ffffff;
}
#places details[open] > summary {
  --ss-chevron-rotation: 180deg;
}
#places details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 350ms ease, content-visibility 350ms allow-discrete;
}
#places details[open]::details-content {
  block-size: auto;
}
#places details ul {
  list-style-type: none;
}
#places details > ul > li:not(:has(ul)) {
  margin-block-start: 0rem;
}
#places details > ul > li:has(ul) {
  margin-block-start: 1rem;
  font-weight: 500;
  font-size: var(--step-0);
}
#places details > ul > li > ul > li {
  margin-block-start: 0rem;
}
#places .indexLink,
#places .placeHierarchy details ~ .placeName:has(> a) {
  --chevron-size: 1.5rem;
  margin-block-start: 1rem;
}
#places .indexLink a,
#places .placeHierarchy details ~ .placeName:has(> a) a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 25rem;
  padding-block: 1rem;
  padding-inline: 0.5rem;
  color: var(--brand-300);
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 400;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid var(--brand-300);
  border-radius: 5px;
}
#places .indexLink a::after,
#places .placeHierarchy details ~ .placeName:has(> a) a::after {
  content: "";
  flex: 0 0 var(--chevron-size);
  inline-size: var(--chevron-size);
  block-size: var(--chevron-size);
  background: center/contain no-repeat url(../images/arrow-out.svg);
  transform: rotate(0deg);
  transition: transform 200ms ease-in-out;
}
#places .indexLink a:is(:hover, :focus-visible),
#places .placeHierarchy details ~ .placeName:has(> a) a:is(:hover, :focus-visible) {
  color: var(--site-highlight);
}
#places .indexLink a:is(:hover, :focus-visible)::after,
#places .placeHierarchy details ~ .placeName:has(> a) a:is(:hover, :focus-visible)::after {
  transform: rotate(0deg) scale(1.2);
}
#places .indexLink a:focus-visible,
#places .placeHierarchy details ~ .placeName:has(> a) a:focus-visible {
  outline: 2px solid var(--site-highlight);
  outline-offset: 0.25rem;
}

.regionExplanation {
  --ss-chevron-size: 1.5rem;
  --ss-chevron-rotation: 0deg;
  --ss-chevron-scale: 1;
  interpolate-size: allow-keywords;
  padding-block: 1rem;
  padding-inline: 0.5rem;
  width: 100%;
  max-width: 30rem;
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 400;
  background-color: #eff1ed;
  border: 1px solid var(--brand-300);
  border-radius: 5px;
  margin-block-start: 1rem;
  transition: background-color 0.3s ease-in-out;
}
.regionExplanation > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  transition: color 200ms ease-in-out;
}
.regionExplanation > summary::-webkit-details-marker {
  display: none;
}
.regionExplanation > summary::after {
  content: "";
  flex: 0 0 var(--ss-chevron-size);
  width: var(--ss-chevron-size);
  height: var(--ss-chevron-size);
  background: center/contain no-repeat url(../images/chevron.svg);
  transform: rotate(var(--ss-chevron-rotation)) scale(var(--ss-chevron-scale));
  transition: transform 200ms ease-in-out;
}
.regionExplanation > summary:is(:hover, :focus-visible) {
  --ss-chevron-scale: 1.2;
}
.regionExplanation > summary:focus-visible {
  outline: 2px solid var(--site-highlight);
  outline-offset: 0.25rem;
}
.regionExplanation:has(> summary:is(:hover, :focus-visible)) {
  background-color: #ffffff;
}
.regionExplanation[open] {
  background-color: #ffffff;
}
.regionExplanation[open] > summary {
  --ss-chevron-rotation: 180deg;
}
.regionExplanation::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 350ms ease, content-visibility 350ms allow-discrete;
}
.regionExplanation[open]::details-content {
  block-size: auto;
}
.regionExplanation ul {
  list-style-type: none;
}
.regionExplanation > ul > li:not(:has(ul)) {
  margin-block-start: 0rem;
}
.regionExplanation > ul > li:has(ul) {
  margin-block-start: 1rem;
  font-weight: 500;
  font-size: var(--step-0);
}
.regionExplanation > ul > li > ul > li {
  margin-block-start: 0rem;
}

ul.listing {
  list-style-type: none;
}

ul.names:has(li[id*=initial_]) {
  width: 100%;
}
ul.names:has(li[id*=initial_]) li[id*=initial_] {
  float: left;
  clear: both;
  position: sticky;
  top: 4.375rem;
  list-style-type: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--step-4);
}
ul.names:has(li[id*=initial_]) li:not([id*=initial_]) {
  clear: both;
  margin-inline-start: 5rem;
}
ul.names:has(li[id*=initial_]) li.current {
  opacity: 1;
}

@keyframes selected-location-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(3);
  }
}
html#locations {
  --map-header-height: 52px;
  --map-panel-width: min(25rem, 100vw);
  --map-panel-transition-duration: 0.35s;
  --map-panel-default-open: 0;
}
@media (width >= 744px) {
  html#locations {
    --map-panel-default-open: 1;
  }
}
html#locations .map-selected-marker {
  display: grid;
  place-items: center;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  pointer-events: none;
}
html#locations .map-selected-marker__pulse {
  display: block;
  inline-size: 0.75rem;
  block-size: 0.75rem;
  background-color: rgb(200, 90, 40);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0.5rem rgba(200, 90, 40, 0.6);
  transform-origin: center;
  will-change: transform;
  animation: selected-location-pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  html#locations .map-selected-marker__pulse {
    animation: none;
  }
}
html#locations .mapDescription {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-block-start: 0.5em;
  color: var(--text-color);
  font-weight: 350;
}
html#locations .maplibregl-ctrl-top-right {
  right: 1rem;
  bottom: 1rem;
  top: initial;
}
html#locations #minimap {
  position: absolute;
  bottom: 30px;
  right: 90px;
  width: 250px;
  height: 250px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
  background-color: rgb(5, 35, 65);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html#locations #minimap.minimap-hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}
html#locations .top-wrapper {
  z-index: 6;
}
html#locations main {
  grid-column: 1/-1;
  padding-inline: 0;
}
html#locations .main-wrapper {
  position: relative;
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
  margin-block-start: 0;
  padding-inline: 0;
}
html#locations .map-menu-open,
html#locations .map-menu-close {
  display: none;
}
html#locations.js .map-menu-open,
html#locations.js .map-menu-close {
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-block-size: 2.75rem;
  padding-inline: 0.75rem;
  color: #ffffff;
  font-family: var(--font-sans);
  border: 1px solid var(--brand-300);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  cursor: pointer;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
html#locations.js .map-menu-open:is(:hover, :focus-visible),
html#locations.js .map-menu-close:is(:hover, :focus-visible) {
  color: var(--site-highlight);
  background-color: #ffffff;
}
html#locations.js .map-menu-open:focus-visible,
html#locations.js .map-menu-close:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
html#locations.js .map-menu-open :is(.menu-burger, .x-closer),
html#locations.js .map-menu-close :is(.menu-burger, .x-closer) {
  color: currentColor;
}
html#locations.js .map-menu-open {
  position: fixed;
  z-index: 4;
  inset-block-start: calc(var(--map-header-height) + 1rem);
  inset-inline-start: 1rem;
  display: flex;
}
html#locations.js .map-menu-close {
  position: absolute;
  z-index: 1;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  display: flex;
}
html#locations.js body.map-menu-is-open .map-menu-open {
  visibility: hidden;
  pointer-events: none;
}
html#locations h1 {
  font-family: var(--font-sans);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--brand-300);
}
html#locations aside#sidebar {
  inset-block: var(--map-header-height) 0;
  inset-inline-start: 0;
  inline-size: 100vw;
  height: auto;
  background: #ffffff;
  padding: 4.75rem 1.25rem 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(10, 13, 18, 0.1), 0 2px 4px -2px rgba(10, 13, 18, 0.06);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: fixed;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 5;
}
@media (width >= 744px) {
  html#locations aside#sidebar {
    inline-size: var(--map-panel-width);
  }
}
html#locations.js aside#sidebar {
  display: none;
  transform: translate3d(-100%, 0, 0);
  transition: display var(--map-panel-transition-duration) allow-discrete, transform var(--map-panel-transition-duration) ease-in-out;
}
html#locations.js aside#sidebar.is-open {
  display: flex;
  transform: translate3d(0, 0, 0);
}
@starting-style {
  html#locations.js aside#sidebar.is-open {
    transform: translate3d(-100%, 0, 0);
  }
}
html#locations.js:not(.map-menu-ready) aside#sidebar {
  transition: none;
}
html#locations #search-input {
  margin-block-start: 1.5rem;
  width: 100%;
  color: #222222;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem;
  border: 1px solid var(--brand-200);
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease-in-out;
}
html#locations #search-input:is(:focus-visible) {
  border: 1px solid var(--site-highlight);
}
html#locations #map {
  margin-inline-start: 0;
  inline-size: 100%;
  max-inline-size: none;
  block-size: calc(100dvh - var(--map-header-height));
  z-index: 1;
  background-color: rgb(161, 198, 234);
}
html#locations #map .maplibregl-canvas-container {
  background-color: rgb(161, 198, 234);
}
html#locations #map::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-color: rgb(161, 198, 234);
  transition: opacity 0.1s ease-in-out;
}
html#locations #map.is-resizing::after {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html#locations #map::after {
    transition: none;
  }
}
@media (width >= 744px) {
  html#locations.js body.map-menu-layout-applied #map {
    margin-inline-start: var(--map-panel-width);
    inline-size: calc(100% - var(--map-panel-width));
  }
}
html#locations footer {
  display: none;
}
html#locations .info-panel {
  padding: 1rem;
  background-color: var(--grey-100);
  border: 1px solid var(--brand-200);
  border-radius: 5px;
}
html#locations .info-panel.hidden {
  display: none;
}
html#locations .info-panel::-webkit-scrollbar {
  width: 6px;
}
html#locations .info-panel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
html#locations .info-panel h2 {
  font-size: var(--step-0);
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--brand-300);
}
html#locations .info-panel h3 {
  font-size: var(--step-1);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--brand-300);
}
html#locations .info-panel .description-text {
  margin-block-start: 0.5rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 350;
  color: #000000;
}
html#locations .info-panel .hierarchy-path {
  margin-block-start: 1rem;
  padding: 1rem;
  background-color: #e0e0e0;
  border-radius: 5px;
}
html#locations .info-panel button.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 0.5rem;
  padding-block: 0.5rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  line-height: 100%;
  text-box-trim: trim-both;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  cursor: pointer;
}
html#locations .info-panel button.nav-link:is(:hover, :focus-visible) {
  background-color: #fff;
  color: var(--site-highlight);
}
html#locations .info-panel .hierarchy-path ul,
html#locations .info-panel .hierarchy-path li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: #000000;
}
html#locations .info-panel {
  /* Optional breadcrumb separator */
}
html#locations .info-panel .hierarchy-path li > ul::before {
  content: " > ";
  color: #777;
}
html#locations .info-panel .communities-list-container {
  padding: 1rem;
  background-color: #e0e0e0;
}
html#locations .info-panel #info-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}
html#locations .info-panel #info-content .type-badge {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 1px;
  display: block;
  text-transform: uppercase;
  color: #666;
  font-size: 0.7rem;
  border: 1px solid #eee;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 12px;
  background: #f8f9fa;
}
html#locations .info-panel #info-content strong {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--brand-300);
  font-weight: 500;
}
html#locations .info-panel #info-content p {
  margin-block-start: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 350;
  color: #000000;
}
html#locations .info-panel .inline-link {
  background: none;
  border: none;
  padding: 0;
  color: #007bff;
  cursor: pointer;
  margin: 0;
  font: inherit;
  font-weight: 600;
}
html#locations .info-panel .inline-link:hover {
  color: rgb(0%, 33.7647058824%, 70%);
  text-decoration: underline;
}
html#locations .info-panel .hierarchy-nav {
  margin-top: 15px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 0.85rem;
}
html#locations .info-panel .hierarchy-nav .nav-link {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-weight: 600;
  display: block;
  padding: 2px 0;
  text-align: left;
}
html#locations .info-panel .hierarchy-nav .nav-link:hover {
  color: rgb(0%, 33.7647058824%, 70%);
}
html#locations .info-panel .hierarchy-nav .nav-link::before {
  content: "∟ ";
  text-decoration: none;
  color: #ccc;
  margin-right: 4px;
}
html#locations .info-panel .communities-list-container {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
html#locations .info-panel .communities-list-container .communities-list {
  margin-block-start: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
html#locations .info-panel .communities-list-container .community-link {
  background: #f0f8ff;
  border: 1px solid rgb(60%, 79.2941176471%, 100%);
  border-radius: 4px;
  color: #007bff;
  padding: 4px 8px;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
html#locations .info-panel .communities-list-container .community-link:hover {
  background: #007bff;
  color: #fff;
  border-color: rgb(0%, 33.7647058824%, 70%);
}
html#locations .info-panel .internal-link {
  --chevron-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 25rem;
  padding-block: 0.5rem;
  padding-inline: 0.5rem;
  color: var(--brand-300);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  text-decoration: none;
  text-wrap: pretty;
  background-color: #ffffff;
  border: 1px solid var(--brand-300);
  border-radius: 5px;
}
html#locations .info-panel .internal-link::after {
  content: "";
  flex: 0 0 var(--chevron-size);
  inline-size: var(--chevron-size);
  block-size: var(--chevron-size);
  background: center/contain no-repeat url(../images/arrow-out.svg);
  transform: rotate(0deg);
  transition: transform 200ms ease-in-out;
}
html#locations .info-panel .internal-link:is(:hover, :focus-visible) {
  color: var(--site-highlight);
}
html#locations .info-panel .internal-link:is(:hover, :focus-visible)::after {
  transform: rotate(0deg) scale(1.2);
}
html#locations .info-panel .internal-link:focus-visible {
  outline: 2px solid var(--site-highlight);
  outline-offset: 0.25rem;
}
html#locations .info-panel .sidebar-link-wrapper {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
html#locations .info-panel .comm-link {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  block-size: 2rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 350;
  color: #ffffff;
  text-decoration: none;
  line-height: 100%;
  text-box-trim: trim-both;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  cursor: pointer;
}
html#locations .info-panel .comm-link:hover {
  background-color: #fff;
}
html#locations .info-panel .comm-link:hover {
  color: var(--site-highlight);
}
html#locations #show-filters-btn {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  flex-shrink: 0;
}
html#locations .sidebar-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-block-start: 1.5rem;
}
html#locations #reset-map-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  padding-block: 0.5rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 350;
  color: #ffffff;
  text-decoration: none;
  line-height: 100%;
  text-box-trim: trim-both;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  cursor: pointer;
}
html#locations #reset-map-btn:is(:hover, :focus-visible) {
  background-color: #fff;
  color: var(--site-highlight);
}
html#locations button[popovertarget=aboutMap] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 350;
  color: #ffffff;
  text-decoration: none;
  line-height: 100%;
  text-box-trim: trim-both;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  cursor: pointer;
}
html#locations button[popovertarget=aboutMap]:is(:hover, :focus-visible) {
  background-color: #fff;
  color: var(--site-highlight);
}
html#locations #aboutMap {
  position: fixed;
  z-index: 10;
  width: 100%;
  padding-inline: 2rem;
  padding-block: 2rem;
  border-radius: 5px;
  border: 1px solid var(--brand-200);
  max-width: var(--textcol-max-width-desktop);
  place-self: center;
  opacity: 0;
  translate: 0 0;
  transition-property: display, opacity, overlay, translate;
  transition-duration: 0.5s;
  transition-behavior: allow-discrete;
}
html#locations #aboutMap:popover-open {
  display: block;
  opacity: 1;
  translate: 0px 0px;
}
@starting-style {
  html#locations #aboutMap:popover-open {
    opacity: 0;
    translate: 0 -30px;
  }
}
html#locations #aboutMap h2 {
  font-family: var(--font-sans);
  font-size: var(--step-1);
  text-align: center;
  color: var(--brand-300);
  font-weight: 600;
}
html#locations #aboutMap p {
  margin-block-start: 0.5rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-color);
  font-weight: 350;
}
html#locations #aboutMap::backdrop {
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: background-color 500ms ease, backdrop-filter 500ms ease, -webkit-backdrop-filter 500ms ease, display 500ms allow-discrete, overlay 500ms allow-discrete;
}
html#locations #aboutMap:popover-open::backdrop {
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html#locations #aboutMap button {
  margin-block-start: 1.5rem;
  margin-inline-start: auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  block-size: 2rem;
  border: 1px solid hsl(72, 31%, 18%);
  border-radius: 4px;
  background-color: var(--site-highlight, #c75c2a);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 350;
  color: #ffffff;
  text-decoration: none;
  line-height: 100%;
  text-box-trim: trim-both;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  cursor: pointer;
}
html#locations #aboutMap button:is(:hover, :focus-visible) {
  background-color: #fff;
  color: var(--site-highlight);
}
@starting-style {
  html#locations #aboutMap:popover-open::backdrop {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}
@supports not (overlay: auto) {
  html#locations body::before {
    content: "";
    position: fixed;
    z-index: 9;
    inset: 0;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition: background-color 500ms ease, backdrop-filter 500ms ease, -webkit-backdrop-filter 500ms ease;
  }
  html#locations body:has(#aboutMap:popover-open)::before {
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  html#locations #aboutMap::backdrop {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
html#locations #search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--brand-200);
  border-radius: 5px;
  border-top: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 6px -1px rgba(10, 13, 18, 0.1), 0 2px 4px -2px rgba(10, 13, 18, 0.06);
}
html#locations .result-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  color: var(--text-color);
  font-weight: 350;
}
html#locations .result-item:is(:hover, :focus-visible) {
  background-color: var(--site-highlight);
  color: #ffffff;
}
html#locations .result-item.highlighted {
  background-color: #f0f8ff;
  border-left: 4px solid #007bff;
  font-weight: 600;
  outline: none;
}
html#locations #search-clear {
  display: none;
  background: none;
  border: none;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-weight: bold;
}

#credits .text-column {
  text-align: center;
}
#credits .text-column p {
  text-align: left;
}
#credits h2 {
  font-family: var(--font-sans);
}
#credits h3 {
  font-size: 1.125rem;
  font-weight: 700;
}
#credits h3 > *, #credits h3 + * {
  margin-block-start: 0.25rem;
}
#credits ul {
  list-style-type: none;
  padding-inline-start: 0;
}
#credits .credits-wrapper {
  margin-block-start: 3rem;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}
#credits .credit span[lang=en] {
  display: none;
}
#credits .credit-bcgov {
  width: 100%;
  max-width: 320px;
}
#credits .credit-bcgov-horizontal {
  width: 100%;
  max-width: 340px;
}
#credits .credit-jclegacies {
  width: 100%;
  max-width: 275px;
}
#credits .credit-hcmc {
  width: 100%;
  max-width: 360px;
}
#credits .credit-endings {
  width: 100%;
  max-width: 50px;
}

#about h3 {
  font-size: 1.125rem;
  font-weight: 700;
}
#about h3 > *, #about h3 + * {
  margin-block-start: 0.25rem;
}

thead {
  font-weight: bold;
}

nav.panels-key li {
  list-style-type: none;
}

/*# sourceMappingURL=style.css.map */
