
*, *::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);
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt" 0, "lnum" 1;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  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; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); letter-spacing: var(--ls-head); font-weight: 900; }
.en { font-family: var(--font-en); font-variant-numeric: lining-nums; letter-spacing: .04em; }
.num { font-family: var(--font-en); 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; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); min-width: var(--btn-min-w); padding: 12px var(--btn-px);
  font-family: var(--font-heading); font-size: var(--btn-fs); font-weight: var(--btn-fw); line-height: 1.4;
  border-radius: var(--btn-radius); border: 2px solid transparent; text-align: center;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.btn::after { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; transition: width .3s var(--ease-out); }
.btn:hover::after { width: 28px; }
.btn-primary { background: var(--color-main); color: var(--color-on-main); }
.btn-primary:hover { background: var(--color-accent); color: var(--color-on-accent); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--color-text); color: var(--color-bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btn-row .btn { flex: 0 1 var(--btn-min-w); }
@media (max-width: 767px) {
  .btn { width: 100%; white-space: normal; }
  .btn-row .btn { flex: 1 1 100%; }
}


.logo { display: inline-flex; flex-direction: column; line-height: 1.2; }
.logo b { font-family: var(--font-heading); font-weight: 900; font-size: 24px; letter-spacing: .08em; }
.logo small { font-family: var(--font-en); font-size: 11px; letter-spacing: .18em; opacity: .8; }
.tel { font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; white-space: nowrap; }


details.qa { border-bottom: 1px solid var(--color-line); }
details.qa summary { list-style: none; cursor: pointer; display: flex; gap: 20px; align-items: flex-start; padding: 28px 56px 28px 0; position: relative; font-family: var(--font-heading); font-weight: 700; font-size: 20px; line-height: 1.6; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .q { font-family: var(--font-en); color: var(--color-main-ink); font-size: 24px; line-height: 1.3; flex: none; }
details.qa summary::after { content: ""; position: absolute; right: 12px; top: 38px; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .4s var(--ease-out); }
details.qa.is-open summary::after { transform: rotate(-135deg); top: 44px; }
details.qa .a { padding: 0 0 32px 44px; }


.map-box { background: #bdbdbd; color: #555; display: grid; place-items: center; aspect-ratio: 16 / 9; font-size: 18px; }


.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: 90; }
  .sp-bar a { display: grid; place-items: center; min-height: 58px; font-weight: 700; font-size: 16px; }
  .sp-bar .sp-tel { background: var(--color-dark); color: var(--color-on-dark); }
  .sp-bar .sp-cta { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 58px; }
}


.drawer { position: fixed; inset: 0; z-index: 120; overflow: hidden; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer__bg { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86%, 420px); background: var(--color-dark); color: var(--color-on-dark); padding: 96px 32px 40px; transform: translateX(100%); transition: transform .5s var(--ease-out); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 18px; font-weight: 700; }
.drawer__panel .btn { margin-top: 28px; border-bottom: 0; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; z-index: 130; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), 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; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-btn.is-open { color: var(--color-on-dark); }
@media (max-width: 1180px) { .menu-btn { display: block; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
