
*, *::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); color: var(--color-text); background: var(--color-bg); font-feature-settings: "palt" 0; -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, 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%; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); letter-spacing: var(--ls-head); font-weight: 700; }
.en, .num { font-family: var(--font-en, var(--font-heading)); font-variant-numeric: lining-nums tabular-nums; }
.nb { display: inline-block; }
.lead { word-break: auto-phrase; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.grid > *, .flex > * { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: var(--btn-w); height: var(--btn-h); padding: 0 var(--btn-pad-x); border-radius: var(--btn-radius); font-size: var(--btn-fs); font-weight: 700; letter-spacing: .06em; line-height: 1.3; text-align: center; transition: background-color .3s, color .3s, transform .3s var(--ease), box-shadow .3s; position: relative; overflow: hidden; }
.btn-primary { background: var(--color-main); color: var(--color-on-main, #fff); }
.btn-primary:hover { background: var(--color-main-hover, var(--color-accent)); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn-line { border: 2px solid var(--color-main); color: var(--color-main); background: transparent; }
.btn-line:hover { background: var(--color-main); color: var(--color-on-main, #fff); }
.btn .arw { width: 18px; height: 2px; background: currentColor; position: relative; flex: none; transition: transform .3s var(--ease); }
.btn .arw::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transform-origin: center; }
.btn:hover .arw { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 767px) { .btn { white-space: normal; } .btn-row { flex-direction: column; } .btn-row .btn { width: 100%; } }


details.qa { border-bottom: 1px solid var(--color-line, rgba(0,0,0,.12)); }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 26px 56px 26px 0; position: relative; font-weight: 700; font-size: var(--fs-h4); line-height: 1.6; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .q { flex: none; font-family: var(--font-en, var(--font-heading)); color: var(--color-main); font-size: 1.2em; }
details.qa summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--color-main); border-bottom: 2px solid var(--color-main); transform: translateY(-70%) rotate(45deg); transition: transform .4s var(--ease); }
details.qa.is-open summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .a { padding: 0 0 28px 44px; }


.map-box { background: #d9d9d9; color: #666; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); font-size: 20px; letter-spacing: .2em; }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


.spbar { display: none; }
@media (max-width: 767px) {
  .spbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: var(--spbar-h); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .spbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; }
  .spbar .sp-tel { background: var(--color-surface); color: var(--color-main); }
  .spbar .sp-contact { background: var(--color-main); color: var(--color-on-main, #fff); }
  body { padding-bottom: var(--spbar-h); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
