
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body); font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased; }
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 { 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; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; word-break: auto-phrase; }
.en { font-family: var(--font-en); letter-spacing: .08em; font-feature-settings: "lnum" 1; }
.num { font-family: var(--font-en); font-feature-settings: "lnum" 1, "tnum" 1; }
.nb { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { max-width: var(--wrap-text); margin-inline: auto; }
section { position: relative; }


.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: var(--btn-w); max-width: 100%; min-height: var(--btn-h); padding: 10px 28px; border-radius: var(--r-btn); font-size: var(--btn-fs); font-weight: var(--btn-fw); line-height: 1.4; text-align: center; transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease-out), box-shadow .4s; }
.btn .arw { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease-out); 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: right top; }
.btn:hover .arw { width: 28px; }
.btn-primary { background: var(--color-main); color: var(--color-on-main); }
.btn-primary:hover { background: var(--color-main-dark); color: var(--color-on-main-dark); }
.btn-line { border: 1.5px solid currentColor; color: var(--color-text); background: transparent; }
.btn-line:hover { background: var(--color-text); color: var(--color-bg); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btn-tel .num { font-size: 22px; letter-spacing: .04em; }


.sp-bar { display: none; }
@media (max-width: 768px) {
  .sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: 1fr 1fr; background: var(--color-surface); box-shadow: 0 -4px 18px rgba(0,0,0,.08); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-size: 16px; font-weight: 700; }
  .sp-bar a:last-child { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 60px; }
}


.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: rgba(0,0,0,.25); opacity: 0; transition: opacity .6s; }
.drawer__in { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88%); background: var(--color-surface); padding: 96px 32px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .6s var(--ease-out); }
.drawer__in ul { display: grid; gap: 4px; }
.drawer__in li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--color-line); font-size: 18px; font-weight: 700; }
.drawer__in .btn { width: 100%; margin-top: var(--sp-2); }
.drawer__tel { display: block; margin-top: var(--sp-3); font-size: 26px; font-weight: 700; }
.drawer__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; }
.drawer__close::before, .drawer__close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: currentColor; transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }
html.is-menu .drawer { visibility: visible; pointer-events: auto; transition: visibility 0s; }
html.is-menu .drawer__bg { opacity: 1; }
html.is-menu .drawer__in { transform: none; }

.menu-btn { position: relative; width: 52px; height: 52px; border-radius: var(--r-btn); display: none; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .4s; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn span:nth-child(3) { top: 33px; }


.map-box { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #d9d9d9; color: #666; border-radius: var(--r-card); font-size: 16px; }


.sub-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--color-text-soft); }
.sub-crumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.sub-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.sub-body p + p { margin-top: 1em; }
.sub-steps { display: grid; gap: var(--sp-2); counter-reset: st; }
.sub-steps li { counter-increment: st; position: relative; }
.sub-table { width: 100%; font-size: 17px; background: var(--color-surface); border-radius: var(--r-card); overflow: hidden; }
.sub-table th, .sub-table td { padding: 18px 24px; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.sub-table thead th { background: var(--color-sub); font-weight: 700; }
.sub-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }


html.js-motion [data-rv] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.js-motion [data-rv] { opacity: 1 !important; transform: none !important; } }

@media (max-width: 768px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}
@media (max-width: 768px) { br.pc { display: none; } }
img[src*="staff-"] { object-position: 50% 18%; }
