:root {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --ink: #17202a;
  --muted: #526170;
  --line: #d5dee6;
  --accent: #0e5f73;
  --accent-soft: #e6f2f5;
  --notice-bg: #f7f3ea;
  --notice-ink: #3e3424;
  --notice-line: #c4a46a;
  --operate-bg: #eef6f3;
  --operate-line: #b7d4c8;
  --max: 1080px;
}

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.wordmark {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-size: 1.05rem;
}

.wordmark span {
  color: var(--accent);
}

.lang {
  display: flex;
  gap: 6px;
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.notice {
  background: var(--notice-bg);
  border-bottom: 1px solid var(--notice-line);
  color: var(--notice-ink);
}

.notice .wrap {
  padding: 18px 0;
}

.notice-kicker {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.notice p {
  margin: 0 0 8px;
}

.notice p:last-child {
  margin-bottom: 0;
}

main {
  padding: 40px 0 24px;
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 18em;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 46rem;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

section {
  margin-top: 36px;
}

h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 16px 14px;
  min-height: 92px;
}

.cards h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.operate {
  background: var(--operate-bg);
  border: 1px solid var(--operate-line);
  border-radius: 12px;
  padding: 22px 22px 8px;
}

.operate p,
.contact p,
.narrow {
  max-width: 46rem;
}

.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 22px 8px;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer strong {
  color: var(--ink);
  letter-spacing: 0.06em;
}

.status-page {
  padding-top: 28px;
  padding-bottom: 48px;
}

.status-page h1 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  max-width: 16em;
}

.lang-block + .lang-block {
  margin-top: 28px;
  padding-top: 8px;
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-header .wrap {
    min-height: 64px;
  }

  .site-footer .wrap,
  .site-header .wrap {
    align-items: center;
  }

  .operate,
  .contact {
    padding: 18px 16px 6px;
  }

  main {
    padding-top: 28px;
  }
}
