
*, *::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);
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt" 0, "lnum" 1;
  -webkit-font-smoothing: antialiased;
}
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); }
.nb { display: inline-block; }
.lead, h1, h2 { word-break: auto-phrase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: var(--btn-w);
  max-width: 100%;
  min-height: var(--btn-h);
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-size: var(--btn-fs);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .35s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg, rgba(255,255,255,.22));
  transform: translateX(-101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn:hover::after { transform: translateX(0); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(6px); }
.btn-primary { background: var(--color-main); color: var(--color-on-main, var(--color-text)); }
.btn-secondary { background: transparent; color: var(--color-text); box-shadow: inset 0 0 0 2px currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }


.table-scroll { max-width: 100%; overflow-x: auto; }


.map-box {
  display: grid; place-items: center;
  aspect-ratio: 16 / 9;
  background: #d9d9d9; color: #666;
  font-size: 20px; letter-spacing: .2em;
  border-radius: var(--radius);
}


.sp-bar { display: none; }
@media (max-width: 767px) {
  .sp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .sp-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 60px; font-weight: 700; font-size: 16px;
  }
  .sp-bar .sp-tel { background: var(--color-surface); color: var(--color-text); }
  .sp-bar .sp-contact { background: var(--color-main); color: var(--color-on-main, var(--color-text)); }
  body { padding-bottom: 60px; }
}


.acc-item { border-bottom: 1px solid var(--color-line, rgba(0,0,0,.15)); }
.acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 22px 4px; text-align: left; font-weight: 700;
}
.acc-q .acc-icon { position: relative; flex: 0 0 22px; height: 22px; }
.acc-q .acc-icon::before, .acc-q .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px;
  background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease-out);
}
.acc-q .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-a { height: 0; overflow: hidden; transition: height .45s var(--ease-out); }
.acc-a-inner { padding: 0 4px 24px; }


.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--color-main); color: var(--color-on-main, var(--color-text));
}
html.is-loaded .loader { pointer-events: none; }
html.no-loader .loader { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .loader { display: none; }
}
