
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  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);
  font-feature-settings: "palt" 0;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
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; }
.en { font-family: var(--font-en, var(--font-heading)); font-variant-numeric: lining-nums; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.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 {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); width: var(--btn-w); max-width: 100%;
  padding: 10px var(--btn-px);
  border-radius: var(--r-btn);
  font-family: var(--font-body); font-size: var(--btn-fs); font-weight: 700; letter-spacing: .06em; line-height: 1.4;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
  text-align: center;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .arw { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: transform .5s var(--ease); flex: none; }
.btn .arw::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; }
.btn:hover .arw { transform: translateX(6px); }
.btn-primary { background: var(--color-main); color: var(--on-main, #fff); }
.btn-primary::before { background: var(--color-text); }
.btn-primary:hover { color: var(--color-bg); }
.btn-secondary { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-text); }
.btn-secondary::before { background: var(--color-text); }
.btn-secondary:hover { color: var(--color-bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (max-width: 860px) {
  .btn { white-space: normal; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}


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: flex-start; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 19px; line-height: 1.6; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; position: absolute; right: 12px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--color-main); border-bottom: 2px solid var(--color-main); transform: rotate(45deg); transition: transform .5s var(--ease); }
details.qa.is-open summary::after { transform: rotate(-135deg); top: 36px; }
details.qa .q-mark, details.qa .a-mark { font-family: var(--font-en, var(--font-heading)); font-weight: 700; color: var(--color-main); flex: none; width: 1.4em; }
details.qa .a { display: flex; gap: 16px; padding: 0 48px 26px 0; }


.drawer {
  position: fixed; inset: 0; z-index: 90; overflow: hidden;
  background: var(--color-bg);
  visibility: hidden; opacity: 0;
  clip-path: circle(0 at calc(100% - 40px) 32px);
  transition: clip-path .8s var(--ease), opacity .4s, visibility 0s .8s;
  padding: calc(var(--header-h) + 24px) 28px 120px;
  overflow-y: auto;
}
.drawer.is-open { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 40px) 32px); transition: clip-path .9s var(--ease), opacity .2s, visibility 0s; }
.drawer li { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + .2s); }
.drawer.is-open li { opacity: 1; transform: none; }
.drawer a.dl { display: block; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); font-size: 18px; font-weight: 700; }
.drawer .btn { margin-top: 24px; width: 100%; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; z-index: 95; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 29px; }
html.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
html.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
html.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


.sp-bar { display: none; }
@media (max-width: 860px) {
  .sp-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgb(0 0 0 / .08);
    transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .sp-bar.is-on { transform: none; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-btn); font-weight: 700; font-size: 15px; }
  .sp-bar .tel { border: 1px solid var(--color-text); }
  .sp-bar .cv { background: var(--color-main); color: var(--on-main, #fff); }
  .menu-btn { display: block; }
  body { padding-bottom: 72px; }
}


.map-box { background: #d9d9d9; color: #666; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-card); font-size: 15px; }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
