:root {
  --color-main: #1f4e79;
  --color-main-dark: #163955;
  --color-text: #222;
  --color-muted: #666;
  --color-bg: #fff;
  --color-soft: #f5f7fa;
  --color-border: #d8dee4;
  --max-width: 1120px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--color-main);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.site-title {
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  line-height: 1.3;
}

.site-title-main {
  font-weight: 700;
}

.site-title-sub {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.main-content {
  padding-top: 48px;
  padding-bottom: 64px;
}

.hero {
  padding: 56px 32px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--color-soft), #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

.hero-text {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  height: 15em;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.hero-title-row h1 {
  margin: 0;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  color: #fff;
  background: var(--color-main);
  border: 1px solid var(--color-main);
  border-radius: 999px;
  font-weight: 700;
}

.button:hover {
  background: var(--color-main-dark);
  text-decoration: none;
}

.button-secondary {
  color: var(--color-main);
  background: #fff;
}

.button-secondary:hover {
  color: #fff;
  background: var(--color-main);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-main);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  margin: 56px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.card-list {
  display: grid;
  gap: 20px;
  margin: 24px 0 48px;
}

.card,
.topic-card {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}

.card h2,
.card h3,
.topic-card h3 {
  margin: 8px 0;
}

.card time,
.page-date {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.page h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.page-body {
  max-width: 820px;
}

.page-body h2 {
  margin-top: 2.2em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--color-border);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
}

.footer-inner p {
  margin: 0 0 6px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    white-space: normal;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .main-content {
    padding-top: 32px;
  }

  .hero {
    padding: 32px 20px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-soft);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}