
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: .04em; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
html[data-fs="20"] body { --fs-body: 20px; }
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; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.en { font-family: var(--font-en, var(--font-heading)); font-variant-numeric: lining-nums; }
.wrap { width: 100%; max-width: var(--w-content); margin-inline: auto; padding-inline: var(--gutter); }
.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: 14px; min-width: var(--btn-w); height: var(--btn-h); padding: var(--btn-pad); border-radius: var(--btn-radius); font-family: var(--font-body); font-size: var(--btn-fs); font-weight: 500; letter-spacing: var(--btn-ls); white-space: nowrap; overflow: hidden; isolation: isolate; transition: color .4s var(--ease-out), border-color .4s, transform .4s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: scaleY(1); }
.btn .arw { width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .4s var(--ease-out); }
.btn .arw::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arw { transform: translateX(6px); }
.btn-primary { background: var(--color-main); color: var(--color-on-main, #fff); }
.btn-primary::before { background: var(--color-accent); }
.btn-primary:hover { color: var(--color-on-accent, #fff); }
.btn-ghost { border: 1px solid currentColor; color: var(--color-text); }
.btn-ghost::before { background: var(--color-text); }
.btn-ghost:hover { color: var(--color-bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.note { font-size: var(--fs-small); opacity: .8; }
@media (max-width: 860px) {
  .btn { white-space: normal; text-align: center; line-height: 1.5; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}


details.qa { border-bottom: 1px solid var(--color-line, rgba(0,0,0,.15)); }
details.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 4px; cursor: pointer; font-family: var(--font-heading); font-size: 20px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .5s var(--ease-out); }
details.qa.is-open summary::after { transform: rotate(-135deg); }
details.qa .a { padding: 0 4px 30px; }


.sp-bar { display: none; }
@media (max-width: 860px) {
  .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); transform: translateY(100%); transition: transform .5s var(--ease-out); }
  .sp-bar.is-show { transform: none; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; height: 60px; font-size: 16px; letter-spacing: .06em; }
  .sp-bar a:last-child { background: var(--color-main); color: var(--color-on-main, #fff); }
  body { padding-bottom: 60px; }
}


.map-dummy { display: grid; place-items: center; background: #cfcfcf; color: #555; aspect-ratio: 16 / 9; font-size: 18px; letter-spacing: .3em; }


.theme-sw { position: fixed; left: 12px; bottom: 12px; z-index: 999; display: flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 6px; background: rgba(20,20,20,.82); color: #fff; font: 12px/1.2 sans-serif; letter-spacing: 0; }
.theme-sw p { display: flex; gap: 6px; align-items: center; margin: 0; }
.theme-sw button { padding: 4px 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; color: #fff; font-size: 12px; }
.theme-sw button.is-active { background: #fff; color: #111; }
@media (max-width: 860px) { .theme-sw { bottom: 70px; } }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
