:root {
  --ink: #23272e;
  --muted: #5b6068;
  --line: #d8dade;
  --bg: #f4f4f2;
  --accent: #1f4e79;
  --wrap: 960px;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  background: var(--bg);
}
a { color: var(--accent); text-underline-offset: .2em; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}
.site-header .brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-left: auto; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--line); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

main { max-width: var(--wrap); margin: 0 auto; padding: 36px 20px 56px; }
h1 { font-size: clamp(24px, 4.6vw, 34px); line-height: 1.5; font-weight: 800; margin: 0 0 16px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(19px, 3.4vw, 25px); font-weight: 700; line-height: 1.7; max-width: 30em; }

.hero { border-radius: var(--radius); overflow: hidden; margin: 0 0 28px; }
.hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page-head { border-radius: var(--radius); overflow: hidden; margin: 0 0 28px; }
.page-head img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.cards a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}
.cards a:hover { border-color: var(--accent); }
.cards img { width: 84px; height: auto; margin: 0 auto 10px; }

table.info {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 14px 0 20px;
}
table.info th, table.info td { border-bottom: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: none; }
table.info th { width: 28%; font-weight: 700; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { table.info th { width: 34%; white-space: normal; } }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 34px;
  font-weight: 800;
  margin-top: 10px;
}
.btn:hover { opacity: .88; }

.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .inner { max-width: var(--wrap); margin: 0 auto; padding: 24px 20px 32px; }
.site-footer p { margin: 0; }
