* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f6f7f8;
}

body {
  margin: 0;
  background: #f6f7f8;
}

a {
  color: inherit;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.container {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.site-header .container {
  padding: 24px 0 20px;
}

main.container {
  padding: 24px 0 48px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.3;
}

.lead,
.meta,
.note {
  color: #596273;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  display: block;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.card:focus-visible,
.button:focus-visible,
.back-link:focus-visible,
.map-link:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.card h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.card p {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #1f2937;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button-secondary {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #cbd5e1;
}

.content-panel {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
}

.map-link {
  display: block;
  margin: 18px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f4;
}

.map-image {
  display: block;
  width: 100%;
  height: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 0 0 32px;
  color: #6b7280;
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 760px);
  }

  .site-header .container {
    padding-top: 20px;
  }

  main.container {
    padding-top: 20px;
  }

  .card,
  .content-panel {
    padding: 18px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
