
*, *::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 { 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; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.nb { display: inline-block; }
.lead { word-break: auto-phrase; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: var(--btn-h); padding: 10px var(--btn-px); border-radius: var(--btn-radius); font-size: var(--btn-fs); font-weight: var(--btn-weight); line-height: 1.4; text-align: center; transition: transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover), color var(--dur-hover), box-shadow var(--dur-hover); }
.btn-primary { background: var(--color-accent); color: var(--color-surface); box-shadow: 0 6px 0 color-mix(in srgb, var(--color-accent) 55%, var(--color-text)); }
.btn-secondary { background: var(--color-main); color: var(--color-surface); }
.btn-ghost { border: 2px solid currentColor; }
.btn:hover { transform: translateY(-3px); }
.btn .arrow { display: inline-block; transition: transform var(--dur-hover) var(--ease-out); }
.btn:hover .arrow { transform: translateX(6px); }
.btn small { display: block; font-size: 13px; font-weight: 500; }


details.qa { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent); }
details.qa summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 24px 48px 24px 0; position: relative; font-family: var(--font-heading); font-weight: 700; font-size: 20px; cursor: pointer; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: 8px; 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 .5s var(--ease-out); }
details.qa.is-open summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .a { padding: 0 0 28px; }


.map-box { display: grid; place-items: center; background: #d9d9d6; color: #666; font-size: 18px; aspect-ratio: 16 / 9; border-radius: var(--radius-m); }


.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: 90; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 60px; font-weight: 700; color: var(--color-surface); font-size: 16px; }
  .sp-bar a:first-child { background: var(--color-main); }
  .sp-bar a:last-child { background: var(--color-accent); }
  body { padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
