
*, *::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: var(--ls-body); font-feature-settings: "palt" 0, "lnum" 1; -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, svg { 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; letter-spacing: .04em; }
.en { font-family: var(--font-en); letter-spacing: var(--ls-label); font-feature-settings: "lnum" 1; }
.nb { display: inline-block; }
.lead { word-break: auto-phrase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
.grid > *, .flex > * { min-width: 0; }
a[href^="mailto"], .break-any { overflow-wrap: anywhere; }


.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--sp-2); min-height: var(--btn-h); width: var(--btn-w); max-width: 100%; padding: var(--btn-pad); border-radius: var(--radius); font-size: var(--btn-fs); font-weight: var(--btn-fw); letter-spacing: .08em; line-height: 1.5; border: var(--line) solid transparent; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); position: relative; overflow: hidden; }
.btn::after { content: ""; flex: none; width: 22px; height: 8px; background: currentColor; clip-path: polygon(0 calc(100% - 1px), calc(100% - 7px) calc(100% - 1px), calc(100% - 7px) 0, 100% 100%, 0 100%); transition: transform .5s var(--ease); }
.btn:hover::after { transform: translateX(6px); }
.btn--main { background: var(--color-main); color: var(--color-on-main); }
.btn--main:hover { background: var(--color-main-hover); }
.btn--sub { background: var(--color-sub); color: var(--color-on-sub); }
.btn--sub:hover { background: var(--color-sub-hover); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 767px) { .btn { white-space: normal; } }


.oneline { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 14px 24px; border: var(--line) solid currentColor; border-radius: var(--radius); font-size: var(--fs-small); font-weight: 700; line-height: 1.6; transition: background-color .5s var(--ease), color .5s var(--ease); }
.oneline::after { content: "→"; font-family: var(--font-en); transition: transform .5s var(--ease); }
.oneline:hover::after { transform: translateX(6px); }


.mega-panel { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.has-mega.is-open > .mega-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s; }


.drawer { position: fixed; inset: 0; z-index: 90; overflow: hidden auto; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; }
.drawer.is-open { visibility: visible; opacity: 1; transition: opacity .6s var(--ease), visibility 0s; }
.drawer .sub-acc-panel { overflow: hidden; height: 0; transition: height .5s var(--ease); }
body.is-locked { overflow: hidden; }


.crumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; letter-spacing: .06em; }
.crumbs li + li::before { content: "/"; margin-right: 12px; opacity: .5; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl th, .tbl td { padding: 22px 24px; text-align: left; vertical-align: top; border-bottom: var(--line) solid var(--color-line); font-size: var(--fs-card); line-height: 1.8; }
.tbl th { font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) { .tbl--dl th, .tbl--dl td { display: block; padding: 12px 0; } .tbl--dl th { border-bottom: 0; padding-bottom: 0; } }


details.qa { border-bottom: var(--line) solid var(--color-line); }
details.qa summary { list-style: none; display: flex; align-items: center; gap: var(--sp-2); padding: 26px 48px 26px 0; position: relative; cursor: pointer; font-weight: 700; font-size: 18px; line-height: 1.7; }
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-ink); border-bottom: 2px solid var(--color-main-ink); transform: translateY(-75%) rotate(45deg); transition: transform .5s var(--ease); }
details.qa.is-open summary::after { transform: translateY(-25%) rotate(-135deg); }
details.qa .a { padding: 0 48px 28px 0; font-size: var(--fs-card); }


.map-box { aspect-ratio: 16 / 7; width: 100%; border: 0; }
@media (max-width: 767px) { .map-box { aspect-ratio: 4 / 3; } }


.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: 80; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 14px; font-weight: 700; }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
