
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, 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, svg { 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; }

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: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; }

.wrap { width: min(100% - var(--gutter) * 2, var(--w-content)); margin-inline: auto; }
.wrap--text { width: min(100% - var(--gutter) * 2, var(--w-text)); margin-inline: auto; }


.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); padding: 0 var(--btn-px);
  border-radius: var(--btn-radius);
  font-family: var(--font-body); font-size: var(--btn-fs); font-weight: var(--btn-weight); letter-spacing: .06em;
  background: var(--color-main); color: var(--color-surface);
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--color-accent);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn::after {
  content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .4s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px var(--color-text); }
.btn--ghost { background: transparent; color: var(--color-main); box-shadow: inset 0 0 0 2px var(--color-main); }
.btn--ghost:hover { color: var(--color-surface); }
.btn--sm { min-height: 46px; padding: 0 24px; font-size: 15px; }
@media (max-width: 860px) { .btn { white-space: normal; text-align: center; } }


.en { font-family: var(--font-en, var(--font-heading)); letter-spacing: .14em; }


.map-box { display: grid; place-items: center; min-height: 280px; background: #d9d9d9; color: #666; font-size: 18px; border-radius: var(--r-m); }


.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-small); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }


details.qa { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent); }
details.qa summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; padding: 24px 48px 24px 0; position: relative; font-weight: 700; font-size: 19px; }
details.qa summary::-webkit-details-marker { display: none; }
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 .5s var(--ease); }
details.qa.is-open summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .qa-a { padding: 0 0 28px; }


.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 -8px rgba(0,0,0,.25); }
  .sp-bar a { display: grid; place-items: center; min-height: 56px; font-weight: 700; font-size: 15px; }
  .sp-bar a:last-child { background: var(--color-main); color: var(--color-surface); }
  body { padding-bottom: 56px; }
}

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
