:root {
  --accent: #0e7490;
  --accent-soft: #e6f3f6;
  --ink: #1f2937;
  --ink-soft: #5b6472;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --line: #e3e7ec;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(20, 30, 45, 0.08);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
p { margin: 0 0 16px; }
h3 { font-size: 19px; margin: 32px 0 10px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: .02em;
}

.brand__sub { display: block; font-size: 11px; font-weight: 400; color: var(--ink-soft); letter-spacing: .08em; }

.navToggle { position: absolute; opacity: 0; pointer-events: none; }
.navToggle__label {
  display: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink);
  margin-left: auto;
}
.navToggle__label::before { content: "メニュー"; }

.navi__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.navi__list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.navi__list a:hover { background: var(--accent-soft); }
.navi__list a.is-active,
.navi__list a[aria-current="true"] {
  color: var(--accent);
  background: var(--accent-soft);
}

section[id], .hero[id] { scroll-margin-top: 84px; }

/* hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--accent);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 25, 35, .35), rgba(15, 25, 35, .72));
}
.hero__body { position: relative; padding: 72px 0 60px; }
.hero h1 { font-size: clamp(26px, 4.2vw, 40px); margin: 0 0 14px; line-height: 1.35; letter-spacing: .02em; }
.hero p.hero__text { margin: 0; max-width: 46em; font-size: 15px; opacity: .95; }

.crumbs { font-size: 12px; color: var(--ink-soft); padding: 12px 0; }
.crumbs ol { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }

/* sections */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-size: clamp(20px, 3vw, 26px);
  margin: 0 0 8px;
  padding-left: 14px;
  border-left: 5px solid var(--accent);
  line-height: 1.5;
}
.section__lead { color: var(--ink-soft); margin: 0 0 28px; }

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 30, 45, .13); }
.card__thumb { aspect-ratio: 3 / 2; background: var(--accent-soft); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 20px 22px; }
.card__title { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.card__tags li {
  font-size: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
}
.card__text { font-size: 14px; color: var(--ink-soft); margin: 0; }
.card__more { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; }
.card__more::after { content: " →"; }

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillar {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 30, 45, .13); }
.pillar__num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--accent);
  opacity: .22;
  margin-bottom: 8px;
}
.pillar__title { margin: 0 0 10px; font-size: 18px; line-height: 1.5; }
.pillar p { margin: 0; font-size: 14.5px; color: var(--ink-soft); flex-grow: 1; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }

/* access */
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.addr { list-style: none; padding: 0; margin: 0 0 16px; }
.addr li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.addr li:first-child { border-top: 1px dashed var(--line); }

.tableWrap { overflow-x: auto; }
.contactTable { width: 100%; border-collapse: collapse; font-size: 14px; }
.contactTable th, .contactTable td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.contactTable thead th { background: var(--accent-soft); font-size: 13px; }
.contactTable tbody th { font-weight: 600; }
.contactTable tbody th:first-child { padding-left: 0; }
.contactTable td a { font-weight: 700; text-decoration: none; font-size: 15px; }
.contactTable tr:last-child th, .contactTable tr:last-child td { border-bottom: 0; }

/* cross links */
.crosslinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.crosslinks a {
  display: block;
  border: 1px solid #3a4453;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.crosslinks a:hover { border-color: var(--accent); }
.crosslinks span { display: block; font-size: 12px; font-weight: 400; color: #98a3b1; }

/* footer */
.site-footer {
  background: #1f2733;
  color: #cfd6df;
  padding: 44px 0 28px;
  font-size: 13px;
}
.site-footer__title { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer__bottom { border-top: 1px solid #3a4453; margin-top: 28px; padding-top: 18px; color: #98a3b1; }
.pagetop { display: inline-block; margin-bottom: 20px; font-size: 13px; }

@media (max-width: 820px) {
  .navToggle__label { display: inline-block; }
  .navi { display: none; width: 100%; }
  .navToggle:checked ~ .navi { display: block; }
  .navi__list { flex-direction: column; }
  .hero__body { padding: 48px 0 40px; }
  .section { padding: 40px 0; }
  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
