
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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);
  overflow-x: clip;
  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; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; }
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%; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { display: inline-block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.en { font-family: var(--font-en); letter-spacing: .06em; }
.num { font-family: var(--font-en); font-variant-numeric: lining-nums tabular-nums; }


.h-sec { font-size: var(--fs-h2); }
.h-sub { font-size: var(--fs-h3); }
.h-card { font-size: var(--fs-h4); }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); width: var(--btn-w); max-width: 100%;
  padding: 10px var(--btn-px);
  border-radius: var(--r-btn);
  border: var(--btn-border) solid transparent;
  font-family: var(--font-heading);
  font-size: var(--btn-fs); font-weight: var(--btn-fw); line-height: 1.4;
  text-align: center;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn--main { background: var(--color-main); color: var(--color-on-main); border-color: var(--color-main); }
.btn--main:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--color-text); border-color: currentColor; }
.btn--line:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); transform: translateY(-2px); }
.btn--sm { min-height: 48px; width: auto; padding-inline: 22px; font-size: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); }


.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; line-height: 1; white-space: nowrap; }
.logo__mark { display: inline-flex; gap: 3px; }
.logo__mark i {
  font-style: normal; width: 1.7em; height: 1.7em; border-radius: 50%;
  display: grid; place-items: center; font-size: .78em;
}
.logo__mark i:nth-child(1) { background: var(--color-main); color: var(--color-on-main); }
.logo__mark i:nth-child(2) { background: var(--color-sub); color: var(--color-on-sub); }
.logo__mark i:nth-child(3) { background: var(--color-accent); color: var(--color-on-accent); }
.logo__name { font-size: 1.05em; letter-spacing: .08em; }


.drawer {
  position: fixed; inset: 0; z-index: 90; overflow: hidden;
  background: var(--color-surface); color: var(--color-text);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
}
.is-menu-open .drawer { visibility: visible; opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.drawer ul { display: grid; gap: 4px; }
.drawer a { display: block; padding: 14px 4px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--color-line); }
.drawer .btn { margin-top: var(--sp-4); width: 100%; }
.drawer__tel { margin-top: var(--sp-3); font-size: 26px; font-weight: 700; }
.menu-btn { width: 52px; height: 52px; display: grid; place-content: center; gap: 7px; border-radius: var(--r-btn); position: relative; z-index: 95; }
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s; }
.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


.sp-bar { display: none; }
@media (max-width: 767px) {
  .sp-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--color-surface); border-top: 1px solid var(--color-line);
  }
  .sp-bar a { display: grid; place-items: center; min-height: 58px; font-weight: 700; font-size: 16px; }
  .sp-bar a:last-child { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 58px; }
}


.crumb { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: var(--fs-label); }
.crumb li + li::before { content: "/"; margin-right: 12px; opacity: .5; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


.map-box { display: grid; place-items: center; min-height: 240px; background: #d9d9d9; color: #555; border-radius: var(--r-card); font-weight: 700; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


html[data-shot] .sp-bar { position: static; }
html[data-shot] body { padding-bottom: 0; }
