
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  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);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; }
figure, blockquote { margin-inline: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; }
img, video, iframe { 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%; }
:where(.grid, [class*="grid"]) > * { min-width: 0; }
.nb { display: inline-block; }
.lead { 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;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: var(--btn-fs);
  font-weight: var(--btn-weight);
  letter-spacing: .06em;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-main);
  color: var(--color-on-main);
  transition: color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--color-accent);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--color-on-accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn .arw { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .4s var(--ease); }
.btn .arw::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.btn:hover .arw { transform: translateX(5px); }
.btn--line { background: var(--color-surface); color: var(--color-text); box-shadow: inset 0 0 0 2px var(--color-main); }
.btn--line:hover { box-shadow: inset 0 0 0 2px var(--color-accent), var(--shadow); }
.btn-note { display: block; margin-top: 10px; font-size: var(--fs-small); opacity: .85; }
@media (max-width: 767px) {
  .btn { white-space: normal; text-align: center; width: 100%; padding-block: 12px; }
}


.tel { font-family: var(--font-en); font-weight: 700; letter-spacing: .06em; white-space: nowrap; }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


.map-box {
  display: grid; place-items: center;
  aspect-ratio: 16 / 9; width: 100%;
  background: color-mix(in srgb, var(--color-text) 16%, var(--color-surface));
  color: color-mix(in srgb, var(--color-text) 60%, var(--color-surface));
  border-radius: var(--r-m);
  font-size: 20px; letter-spacing: .3em;
}


details.qa { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent); }
details.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  padding: 24px 56px 24px 0; position: relative;
  font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.6;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .qa-q {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-main); color: var(--color-on-main);
  font-family: var(--font-en); font-size: 18px;
}
details.qa summary::after {
  content: ""; position: absolute; right: 12px; top: 50%;
  width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--color-main); border-bottom: 2px solid var(--color-main);
  transform: rotate(45deg); transition: transform .5s var(--ease);
}
details.qa.is-open summary::after { transform: rotate(225deg); margin-top: -3px; }
details.qa .qa-body { display: flex; gap: 18px; padding: 0 56px 28px 0; }
details.qa .qa-body .qa-a {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-sub); color: var(--color-text);
  font-family: var(--font-en); font-size: 18px;
}


.drawer {
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s .6s;
}
.drawer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s 0s; }
.drawer__bg {
  position: absolute; inset: 0; background: var(--color-surface);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .6s var(--ease);
}
.drawer.is-open .drawer__bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
.drawer__inner { position: relative; height: 100%; overflow-y: auto; padding: 96px 32px 40px; }
.drawer__nav a {
  display: block; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav li:nth-child(2) a { transition-delay: .06s; }
.drawer.is-open .drawer__nav li:nth-child(3) a { transition-delay: .12s; }
.drawer.is-open .drawer__nav li:nth-child(4) a { transition-delay: .18s; }
.drawer.is-open .drawer__nav li:nth-child(5) a { transition-delay: .24s; }
.drawer.is-open .drawer__nav li:nth-child(6) a { transition-delay: .30s; }
.drawer.is-open .drawer__nav li:nth-child(7) a { transition-delay: .36s; }
.drawer__foot { margin-top: 32px; display: grid; gap: 14px; }
.menu-btn {
  position: relative; z-index: 210;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-main); color: var(--color-on-main);
  display: grid; place-items: center;
}
.menu-btn i, .menu-btn i::before, .menu-btn i::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .4s var(--ease), background .2s;
}
.menu-btn i { position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -7px; }
.menu-btn i::after { top: 7px; }
html.is-menu-open .menu-btn i { background: transparent; }
html.is-menu-open .menu-btn i::before { transform: translateY(7px) rotate(45deg); }
html.is-menu-open .menu-btn i::after { transform: translateY(-7px) rotate(-45deg); }


.sp-bar { display: none; }
@media (max-width: 767px) {
  .sp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--color-surface); box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }
  .sp-bar a { display: grid; place-items: center; min-height: 60px; font-weight: 700; font-size: 16px; }
  .sp-bar a + a { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 60px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
