
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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; overflow-wrap: anywhere; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; }
figure, blockquote { margin-inline: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, 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; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
.num, .tel { font-variant-numeric: lining-nums tabular-nums; }
.nb { display: inline-block; }
.lead { word-break: auto-phrase; }
.wrap { width: 100%; max-width: calc(var(--w-content) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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); min-width: min(var(--btn-w), 100%); padding: 10px var(--btn-px); border-radius: var(--r-btn); font-family: var(--font-heading); font-size: var(--btn-fs); font-weight: var(--btn-weight); line-height: 1.4; text-align: center; position: relative; overflow: hidden; isolation: isolate; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover-bg, rgba(255,255,255,.18)); transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-3px); }
.btn .arr { width: 22px; height: 22px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }
.btn-primary { background: var(--color-main); color: var(--on-main, #fff); box-shadow: var(--btn-shadow); }
.btn-outline { background: transparent; color: var(--color-text); box-shadow: inset 0 0 0 2px currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row .btn { width: var(--btn-w); }
@media (max-width: 860px) { .btn { white-space: normal; width: 100%; } .btn-row { flex-direction: column; } .btn-row .btn { width: 100%; } }


details.qa { border-radius: var(--r-card); background: var(--color-surface); margin-bottom: 14px; }
details.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 64px 22px 24px; position: relative; font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.5; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .q { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn); background: var(--color-main); color: var(--on-main, #fff); font-size: 18px; }
details.qa summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--color-main); border-bottom: 3px solid var(--color-main); transform: translateY(-70%) rotate(45deg); transition: transform .5s var(--ease-out); }
details.qa.is-open summary::after { transform: translateY(-30%) rotate(-135deg); }
details.qa .a { padding: 0 24px 24px 80px; }
@media (max-width: 860px) { details.qa .a { padding: 0 20px 22px 20px; } details.qa summary { font-size: 17px; padding-right: 52px; } }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { min-width: 520px; background: var(--color-surface); border-radius: var(--r-card); overflow: hidden; }
.tbl th, .tbl td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); vertical-align: top; }
.tbl thead th { background: var(--color-main); color: var(--on-main, #fff); font-family: var(--font-heading); }
.tbl td.num, .tbl .num { font-weight: 700; white-space: nowrap; }


.map-box { display: grid; place-items: center; background: #d9d9d9; color: #666; border-radius: var(--r-card); aspect-ratio: 16 / 9; font-size: 18px; }


.sp-bar { display: none; }
@media (max-width: 860px) {
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; font-family: var(--font-heading); font-size: 16px; }
  .sp-bar .tel { background: var(--color-surface); color: var(--color-text); }
  .sp-bar .mail { background: var(--color-main); color: var(--on-main, #fff); }
  body { padding-bottom: 60px; }
}


.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
