/* Shared type, controls and navigation. Page layouts live in their own stylesheet. */
@font-face {
  font-family: Manrope;
  src: url("manrope-latin.a30ddcd34970.woff2") format("woff2");
  font-display: swap;
}
:root {
  --navy: #091521;
  --ink: #f1f0eb;
  --gold: #e3c67f;
  --paper: #252b35;
  --surface-alt: #202631;
  --surface-raised: #303846;
  --surface-text: #f1f0eb;
  --surface-muted: #c7cdd5;
  --surface-border: #66717e;
  --container: 1180px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font:
    17px/1.8 "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
p + p {
  margin-top: 14px;
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.55;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 23px;
  line-height: 1.5;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #84b5ff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
[id] {
  scroll-margin-top: 24px;
}
.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}
.arrow {
  width: 22px;
  height: 22px;
  min-width: 22px;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  z-index: 100;
  background: var(--gold);
  color: #142434;
  padding: 12px 20px;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  background: var(--navy);
  border-bottom: 1px solid #ffffff24;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.brand-mark {
  display: block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 145px;
  height: 78px;
}
.brand-mark img {
  width: 210px;
  max-width: none;
  height: auto;
  position: absolute;
  left: -39px;
  top: -25px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  font-size: 16px;
  font-weight: 600;
}
.desktop-nav a {
  padding: 10px 0;
  text-decoration: none;
}
.desktop-nav a:hover {
  text-decoration: underline;
}
.desktop-nav a:first-child,
.desktop-nav a[data-closed-only] {
  background: var(--gold);
  color: #142434;
  padding: 10px 23px;
  border-radius: 3px;
}
.menu-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  background: transparent;
  border: 1px solid #ffffff61;
  border-radius: 2px;
  min-height: 44px;
  padding: 5px 12px;
  font-size: 14px;
  flex-shrink: 0;
}
.mobile-nav {
  border-top: 1px solid #ffffff26;
  padding-block: 12px 24px;
}
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff26;
  font-size: 17px;
}
.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 62px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.button.primary {
  color: #142434;
  background: var(--gold);
  border-color: #c8aa63;
  box-shadow: 0 3px 0 #aa8a47;
}
.button.primary:hover {
  background: #efdaa8;
}
.button.outline {
  background: #111f33;
  border-color: #8996aa;
  color: #faf8f2;
}
.button.outline:hover {
  background: #20314a;
  border-color: #e0c47e;
}
.button.dark {
  background: #142638;
  border-color: #929ba7;
  color: #f1f0eb;
}
.button.dark:hover {
  background: #294156;
}
.closed-message {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: #ffffff09;
  margin-top: 25px;
}
.site-vote-status {
  font-size: 16px;
  color: var(--gold);
  margin-top: 18px;
}
.site-footer {
  background: #07111cde;
  padding: 44px 0;
}
.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-title {
  font:
    600 22px/1.3 Manrope,
    Arial,
    sans-serif;
  text-decoration: none;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 16px;
}
.footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #ffffff30;
  font-size: 14px;
  color: #c7cdd5;
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 850px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 70px;
    gap: 15px;
  }
  .brand-mark {
    width: 130px;
    height: 68px;
  }
  .brand-mark img {
    width: 185px;
    left: -34px;
    top: -22px;
  }
  .desktop-nav {
    display: none;
  }
  .footer-top,
  .footer-bottom {
    display: block;
  }
  .footer-top nav {
    margin-top: 25px;
    gap: 16px;
  }
  .footer-bottom p + p {
    margin-top: 8px;
  }
  .site-footer {
    padding: 30px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
