
*, *::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);
  font-feature-settings: "palt" 0, "lnum" 1;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}
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, iframe, svg { 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; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: var(--lh-head); font-weight: 700; letter-spacing: .04em; }
.en { font-family: var(--font-en); letter-spacing: .12em; }
.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; }

.wrap { width: 100%; max-width: calc(var(--w-content) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { max-width: calc(var(--w-text) + var(--gutter) * 2); }
.sec { padding-block: var(--sec-pad); position: relative; overflow: hidden; }


.sec-label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-size: var(--fs-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent); }
.sec-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-title { font-size: var(--fs-h2); margin-top: 12px; }
.sub-title { font-size: var(--fs-h3); padding-left: 18px; border-left: 4px solid var(--color-accent); }
.card-title { font-size: var(--fs-h4); }


.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px;
  min-width: var(--btn-min-w); height: var(--btn-h); padding-inline: var(--btn-pad-x);
  font-size: var(--btn-fs); font-weight: 700; letter-spacing: .06em; line-height: 1.3;
  border-radius: var(--btn-radius); border: 1px solid var(--color-main);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color var(--dur-s) var(--ease-out), border-color var(--dur-s);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform var(--dur-s) var(--ease-out); }
.btn .arw { width: 18px; height: 10px; flex: none; transition: transform var(--dur-s) var(--ease-out); }
.btn:hover .arw { transform: translateX(6px); }
.btn-primary { background: var(--color-main); color: var(--color-on-main); }
.btn-primary::before { background: var(--color-sub); }
.btn-primary:hover { border-color: var(--color-sub); color: var(--color-on-sub); }
.btn-secondary { background: var(--color-surface); color: var(--color-main-text); border-color: var(--color-main-text); }
.btn-secondary::before { background: var(--color-main); }
.btn-secondary:hover { color: var(--color-on-main); border-color: var(--color-main); }
.btn:hover::before { transform: scaleY(1); }
.btn-row { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; }
.note { font-size: var(--fs-small); color: var(--color-muted); margin-top: 12px; }


.lang { display: inline-flex; border: 1px solid var(--color-line); border-radius: var(--radius-s); overflow: hidden; font-size: 14px; line-height: 1; }
.lang a { padding: 8px 10px; }
.lang a[aria-current] { background: var(--color-main); color: var(--color-on-main); }


details.qa { border-bottom: 1px solid var(--color-line); }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-top: 8px; border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(45deg); transition: transform .5s var(--ease-out); }
details.qa.is-open summary::after { transform: rotate(-135deg); }
details.qa .qa-body { padding-bottom: 24px; }


.sp-bar { display: none; }
@media (max-width: 860px) {
  .sp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; background: var(--color-surface); border-top: 1px solid var(--color-line); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; font-weight: 700; font-size: 16px; }
  .sp-bar a:last-child { background: var(--color-main); color: var(--color-on-main); }
  body { padding-bottom: 58px; }
  .btn { white-space: normal; width: 100%; }
  .btn-row { display: grid; grid-auto-flow: row; width: 100%; }
}


.drawer { position: fixed; inset: 0; z-index: 120; overflow: hidden; visibility: hidden; pointer-events: none; transition: visibility 0s .6s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: var(--color-surface); clip-path: circle(0 at calc(100% - 40px) 32px); transition: clip-path .6s var(--ease-inout); }
.drawer.is-open .drawer-bg { clip-path: circle(150% at calc(100% - 40px) 32px); }
.drawer-in { position: relative; height: 100%; overflow-y: auto; padding: 88px 28px 40px; }
.drawer-in li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease-out); }
.drawer.is-open .drawer-in li { opacity: 1; transform: none; }
.drawer-in > ul > li { border-bottom: 1px solid var(--color-line); }
.drawer-in > ul > li > a, .drawer-in summary { display: flex; justify-content: space-between; padding: 16px 0; font-weight: 700; font-size: 18px; list-style: none; }
.drawer-in summary::-webkit-details-marker { display: none; }
.drawer-in details ul { padding: 0 0 12px 12px; }
.drawer-in details li a { display: block; padding: 8px 0; font-size: 16px; }
.drawer-tel { margin-top: 28px; display: grid; gap: 12px; font-size: 15px; }
.drawer-tel b { font-family: var(--font-en); font-size: 22px; letter-spacing: .06em; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; z-index: 130; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s; }
.menu-btn i:nth-child(1) { top: 17px; } .menu-btn i:nth-child(2) { top: 23px; } .menu-btn i:nth-child(3) { top: 29px; }
.menu-open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-open .menu-btn { color: var(--color-text); }


.site-footer { background: var(--color-footer-bg); color: var(--color-footer-text); padding: 88px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-sub); }
.ft-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 64px; }
.ft-name { font-family: var(--font-heading); font-size: 22px; font-weight: 700; line-height: 1.5; }
.ft-name .en { display: block; font-size: 13px; font-weight: 600; opacity: .7; margin-bottom: 8px; }
.ft-addr { margin-top: 20px; font-size: 15px; line-height: 1.9; opacity: .9; }
.ft-tel { margin-top: 20px; display: grid; gap: 6px; font-size: 14px; }
.ft-tel b { font-family: var(--font-en); font-size: 22px; letter-spacing: .06em; margin-left: 8px; }
.ft-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; font-size: 15px; }
.ft-nav h4 { font-size: 13px; font-family: var(--font-en); letter-spacing: .18em; color: var(--color-sub); margin-bottom: 14px; font-weight: 600; }
.ft-nav li + li { margin-top: 10px; }
.ft-nav a { opacity: .9; transition: opacity .3s; } .ft-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.ft-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--color-footer-text) 20%, transparent); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .85; }
.ft-bottom .lang { border-color: color-mix(in srgb, var(--color-footer-text) 40%, transparent); }
.ft-bottom .lang a[aria-current] { background: var(--color-sub); color: var(--color-on-sub); }
@media (max-width: 860px) {
  .ft-grid { grid-template-columns: 1fr; gap: 40px; }
  .ft-nav { grid-template-columns: 1fr 1fr; }
}


.crumb { font-size: 14px; color: var(--color-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
