
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
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;
  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, iframe { max-width: 100%; height: auto; display: block; }
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; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.nb { display: inline-block; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { position: relative; }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: var(--btn-w); height: var(--btn-h); padding: var(--btn-pad);
  border-radius: var(--btn-radius); font-size: var(--btn-fs); font-weight: 700;
  letter-spacing: .06em; line-height: 1.3; text-align: center;
  transition: transform .4s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.btn::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .4s var(--ease); }
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn-primary { background: var(--color-main); color: var(--color-on-main, #fff); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.35); }
.btn-outline { border: 2px solid currentColor; color: var(--color-text); }
.btn-outline:hover { background: var(--color-text); color: var(--color-bg); }
.btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btns .btn { min-width: var(--btn-w); }
@media (max-width: 767px) { .btn { white-space: normal; } .btns { flex-direction: column; } }


.map-box { background: #d6d6d6; color: #666; display: grid; place-items: center; aspect-ratio: 16/9; border-radius: var(--radius); font-size: var(--fs-body); }


.spbar { display: none; }
@media (max-width: 767px) {
  .spbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--color-surface); box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .spbar a { display: flex; align-items: center; justify-content: center; height: 60px; font-weight: 700; font-size: 15px; }
  .spbar a:last-child { background: var(--color-main); color: var(--color-on-main, #fff); }
  body { padding-bottom: 60px; }
}


.drawer { position: fixed; inset: 0; z-index: 120; overflow: hidden; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer__panel { position: absolute; inset: 0; background: var(--color-bg); color: var(--color-text); padding: 96px var(--gutter) 40px; overflow-y: auto; transform: translateY(-100%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a { display: block; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 15%, transparent); font-size: 18px; font-weight: 700; }
.drawer__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; font-size: 28px; line-height: 1; z-index: 2; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
@media (max-width: 1100px) { .menu-btn { display: block; } }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
