
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt" 0, "lnum" 1;
  font-variant-numeric: lining-nums;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
figure, blockquote { margin-inline: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; }
.nb { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { word-break: auto-phrase; }


.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: var(--btn-w); min-height: var(--btn-h); padding: 0 var(--btn-pad-x);
  border-radius: var(--btn-radius);
  font-family: var(--font-heading); font-size: var(--btn-fs); font-weight: var(--btn-weight); letter-spacing: .06em;
  background: var(--color-main); color: var(--color-on-main, #fff);
  border: 1px solid var(--color-main);
  transition: background var(--dur-hover) var(--ease-out), color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}
.btn::after {
  content: ""; width: 22px; height: 1px; background: currentColor; flex: none;
  box-shadow: none; transition: width var(--dur-hover) var(--ease-out);
}
.btn:hover { background: var(--color-sub); border-color: var(--color-sub); color: #fff; }
.btn:hover::after { width: 34px; }
.btn--line { background: transparent; color: var(--color-main); }
.btn--line:hover { background: var(--color-main); border-color: var(--color-main); color: var(--color-on-main, #fff); }
.btn--white { background: #fff; color: var(--color-text); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row .btn { flex: 0 0 var(--btn-w); }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.def-table th, .def-table td { padding: 18px 20px; border-bottom: 1px solid var(--color-line, rgba(0,0,0,.12)); text-align: left; vertical-align: top; }
.def-table th { width: 30%; font-weight: 700; white-space: nowrap; }


.map-box { display: grid; place-items: center; background: #d9d9d9; color: #666; min-height: 280px; font-size: 16px; letter-spacing: .2em; }


.theme-sw { position: fixed; left: 12px; bottom: 12px; z-index: 9999; display: flex; gap: 6px; font-size: 12px; font-family: system-ui, sans-serif; letter-spacing: 0; }
.theme-sw a { padding: 6px 10px; background: rgba(20,20,20,.75); color: #fff; border-radius: 4px; line-height: 1.4; }
.theme-sw a.is-on { background: var(--color-main); }
@media (max-width: 767px) { .theme-sw { bottom: 76px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
