:root {
  color-scheme: light dark;
  --bg: #07100d;
  --surface: #102019;
  --surface-raised: #173126;
  --text: #f4fbf7;
  --muted: #b3c7bc;
  --accent: #48e29a;
  --accent-strong: #0fbd67;
  --border: #335b48;
  --focus: #ffe36e;
  --danger: #ffd2d8;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: linear-gradient(160deg, #07100d 0%, #0c1d15 62%, #10261a 100%);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-wrap: pretty;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  color: #a4ffd0;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}
header {
  border-bottom: 1px solid var(--border);
  background: rgb(7 16 13 / 92%);
}
.header-inner,
main,
footer {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}
.header-inner {
  padding: 18px 0 14px;
}
.brand {
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.brand span {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  margin-left: 0.4rem;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
nav a {
  display: inline-block;
  padding: 7px 0;
  font-weight: 700;
}
main {
  padding: 44px 0 58px;
}
h1,
h2,
h3 {
  line-height: 1.32;
  text-wrap: balance;
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: -0.04em;
}
h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}
h3 {
  margin: 24px 0 6px;
  font-size: 1.05rem;
}
p,
li {
  overflow-wrap: anywhere;
}
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}
.notice,
.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgb(16 32 25 / 92%);
  padding: 20px;
}
.notice {
  margin-top: 24px;
  border-color: #456c58;
}
.card-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.card h2,
.card h3 {
  margin-top: 0;
}
.card p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}
.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent-muted, #164a35);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.button-link:hover {
  background: #245d43;
  color: var(--text);
}
.meta {
  color: var(--muted);
  font-size: 0.94rem;
}
.language-switcher {
  margin: 24px 0 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgb(16 32 25 / 70%);
}
.language-switcher ul {
  margin: 0;
}
.language-switcher a[aria-current="page"] {
  color: var(--text);
  text-decoration-thickness: 3px;
}
.contact-template {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgb(7 16 13 / 55%);
  color: var(--text);
  font: inherit;
  line-height: 1.75;
  white-space: pre-wrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--focus);
  color: #101010;
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
}
footer {
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer p {
  margin: 0;
}
@media (min-width: 620px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
@media (forced-colors: active) {
  .notice,
  .card,
  .button-link {
    border: 1px solid CanvasText;
  }
}
