
*, *::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);
  overflow-x: clip;
  font-feature-settings: "palt" 0;
  font-variant-numeric: lining-nums;
}
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, h4 { font-family: var(--font-heading); font-weight: 600; line-height: var(--lh-head); letter-spacing: .06em; }
table { border-collapse: collapse; width: 100%; }
.nb { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .tel { font-variant-numeric: lining-nums tabular-nums; }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--btn-h); width: var(--btn-w); max-width: 100%; padding: var(--btn-pad);
  border-radius: var(--btn-radius); font-size: var(--btn-fs); font-weight: 600; letter-spacing: .08em;
  font-family: var(--font-body); line-height: 1.4; text-align: center;
  background: var(--color-main); color: var(--color-on-main);
  border: 1px solid var(--color-main);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  position: relative; overflow: hidden;
}
.btn::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.btn:hover { transform: translateY(-2px); background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.btn:hover::after { width: 30px; }
.btn--line { background: transparent; color: var(--color-text); border-color: currentColor; }
.btn--line:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 767px) { .btn { white-space: normal; } }


.map-box { background: #d9d9d9; color: #666; display: grid; place-items: center; min-height: 280px; border-radius: var(--radius-s); font-size: 18px; letter-spacing: .3em; }


details.qa { border-bottom: 1px solid var(--color-line); }
details.qa summary { list-style: none; cursor: pointer; display: flex; gap: 18px; align-items: flex-start; padding: 26px 48px 26px 0; position: relative; font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.6; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before { content: "Q"; font-family: var(--font-en); color: var(--color-main-ink); font-size: 22px; line-height: 1.4; }
details.qa summary::after { content: ""; position: absolute; right: 8px; top: 34px; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .5s var(--ease); }
details.qa.is-open summary::after { transform: rotate(-135deg); top: 40px; }
details.qa .a { padding: 0 0 28px 40px; }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


.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: 58px; font-weight: 600; font-size: 15px; letter-spacing: .06em; }
  .sp-bar a:first-child { background: var(--color-surface); color: var(--color-text); border-top: 1px solid var(--color-line); }
  .sp-bar a:last-child { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 58px; }
}


.drawer { position: fixed; inset: 0; z-index: 90; overflow: hidden; visibility: hidden; pointer-events: none; transition: visibility 0s .6s; }
.drawer__bg { position: absolute; inset: 0; background: var(--color-bg); opacity: 0; transition: opacity .6s var(--ease); }
.drawer__in { position: relative; height: 100%; overflow-y: auto; padding: calc(var(--header-h) + 24px) 28px 40px; transform: translateY(-16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.drawer__in a { display: block; padding: 16px 0; border-bottom: 1px solid var(--color-line); font-size: 18px; font-family: var(--font-heading); }
.drawer__in .btn { margin-top: 28px; border-bottom: 0; color: var(--color-on-main); }
.drawer__in .tel { display: block; margin-top: 18px; font-size: 24px; border: 0; font-family: var(--font-en); }
.is-menu .drawer { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.is-menu .drawer__bg { opacity: 1; }
.is-menu .drawer__in { transform: none; opacity: 1; }
.menu-btn { width: 48px; height: 48px; position: relative; display: none; 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: 18px; }
.menu-btn span:nth-child(2) { top: 28px; }
.is-menu .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.is-menu .menu-btn span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
