
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body, 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; }
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%; }

body {
  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;
}
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; word-break: auto-phrase; }
p, li, dd, td, th { overflow-wrap: anywhere; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { display: inline-block; }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--btn-h); padding: 0 var(--btn-px);
  border-radius: var(--btn-radius);
  font-size: var(--btn-fs); font-weight: 700; letter-spacing: .06em; line-height: 1.4;
  background: var(--color-main); color: #fff;
  border: 2px solid var(--color-main);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .35s, color .35s;
}
.btn::after { content: ""; width: .5em; height: .5em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--color-main) 70%, transparent); }
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn--ghost { background: var(--color-surface); color: var(--color-main); }
.btn--ghost:hover { background: var(--color-main); color: #fff; }
.btn--accent { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-text); }
.btn--tel::after { display: none; }
@media (max-width: 767px) { .btn { white-space: normal; text-align: center; } }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; font-size: var(--fs-body); background: var(--color-surface); border-radius: var(--radius-m); overflow: hidden; }
.price-table th, .price-table td { padding: 18px 24px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); text-align: left; }
.price-table thead th { background: var(--color-sub); font-size: var(--fs-small); letter-spacing: .1em; }
.price-table td.num { text-align: right; font-weight: 700; white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }


.map-box { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #d9d9d9; color: #666; border-radius: var(--radius-m); font-size: var(--fs-body); letter-spacing: .2em; }


.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; background: var(--color-surface); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 58px; font-weight: 700; font-size: 15px; }
  .sp-bar a + a { background: var(--color-main); color: #fff; }
  body { padding-bottom: 58px; }
}


html.js-motion [data-reveal] { opacity: 0; }
html[data-motion="reduce"] [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
