
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
figure, blockquote { margin-inline: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { 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);
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt" 0;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4 { word-break: auto-phrase; font-family: var(--font-heading); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.num, .tel { font-variant-numeric: lining-nums tabular-nums; }
.nb { display: inline-block; }
.lead { word-break: auto-phrase; }
.sf-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.vh { 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: space-between; gap: var(--sp-2);
  min-width: var(--btn-w); height: var(--btn-h); padding: 0 var(--btn-pad-x);
  font-family: var(--font-body); font-size: var(--btn-fs); font-weight: var(--btn-weight); letter-spacing: .04em;
  border-radius: var(--btn-radius); border: 2px solid transparent;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.btn::after { content: ""; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease-out); flex: none; }
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn--main { background: var(--color-main); color: var(--color-on-main); }
.btn--main:hover { background: var(--color-main-dark); }
.btn--line { background: transparent; color: currentColor; border-color: currentColor; }
.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); }
.btn-row .btn { width: var(--btn-w); }


details.qa { border-bottom: 1px solid var(--color-line); }
details.qa summary { list-style: none; display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) 0; cursor: pointer; font-weight: 700; font-size: var(--fs-h4); }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .q { font-family: var(--font-en); color: var(--color-main-text); font-size: 1.1em; flex: none; }
details.qa summary::after { content: ""; margin-left: auto; width: 12px; height: 12px; flex: none; 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); }
details.qa .a { padding: 0 0 var(--sp-3) calc(1.1em + var(--sp-2)); font-size: var(--fs-body); }


.menu-btn { display: none; width: 48px; height: 48px; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 30px; }
.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sp-nav {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + var(--sp-3)) var(--gutter) var(--sp-5);
  background: var(--color-sub); color: var(--color-on-sub); overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s;
}
.is-menu-open .sp-nav { visibility: visible; opacity: 1; }
.sp-nav a { display: block; padding: var(--sp-2) 0; border-bottom: 1px solid color-mix(in srgb, var(--color-on-sub) 20%, transparent); font-size: 18px; font-weight: 700; }
.sp-nav .btn { margin-top: var(--sp-4); width: 100%; border-bottom: 0; }
.sp-nav .tel { margin-top: var(--sp-3); font-size: 26px; font-family: var(--font-en); }


.sp-bar { display: none; }
@media (max-width: 1023px) {
  .menu-btn { display: block; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 60px; background: var(--color-sub); color: var(--color-on-sub); font-weight: 700; font-size: 16px; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; }
  .sp-bar a + a { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 60px; }
}


.map-box { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #d9d9d9; color: #555; font-weight: 700; border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
