
*, *::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;
  overflow-x: clip;
}
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 { 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%; }
.en { font-family: var(--font-en); letter-spacing: .06em; font-feature-settings: "lnum" 1, "tnum" 1; }
.num { font-family: var(--font-en); font-feature-settings: "lnum" 1, "tnum" 1; }
.nb { display: inline-block; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--w-content); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; overflow: clip; }
.lead { word-break: auto-phrase; }


.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--btn-h); width: var(--btn-w); max-width: 100%;
  padding: 10px var(--btn-pad-x);
  border-radius: var(--radius);
  font-size: var(--fs-btn); font-weight: 700; line-height: 1.5; letter-spacing: .06em;
  text-align: center;
  background: var(--color-main); color: var(--color-on-main);
  border: 1px solid var(--color-main);
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--color-accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { border-color: var(--color-accent); color: var(--color-on-accent); }
.btn .arw { display: inline-block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .4s var(--ease); 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: center; }
.btn:hover .arw { transform: translateX(6px); }
.btn--line { background: transparent; color: var(--color-main); }
.btn--line:hover { color: var(--color-on-accent); }
.btn--cta { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.btn--cta::before { background: var(--color-main); }
.btn--cta:hover { border-color: var(--color-main); color: var(--color-on-main); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-note { display: block; margin-top: 12px; font-size: var(--fs-small); line-height: 1.7; color: var(--color-text-sub); }

.oneline {
  display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 17px; font-weight: 700; line-height: 1.6;
  padding: 14px 22px; border-radius: var(--radius);
  border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-text);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.oneline b { color: var(--color-main); font-family: var(--font-en); font-size: 1.3em; }
.oneline .go { color: var(--color-main); display: inline-flex; align-items: center; gap: 10px; }
.oneline:hover { border-color: var(--color-main); transform: translateY(-2px); }


.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-hint { display: none; font-size: 14px; color: var(--color-text-sub); margin-top: 8px; }
@media (max-width: 860px) { .table-hint { display: block; } }


.drawer {
  position: fixed; inset: 0; z-index: 200; 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: var(--color-bg); opacity: 0; transition: opacity .5s var(--ease); }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__in { position: relative; height: 100%; overflow-y: auto; padding: calc(var(--header-h) + 16px) var(--gutter) 120px; }
.drawer__in li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.drawer.is-open .drawer__in li { opacity: 1; transform: none; }
.drawer.is-open .drawer__in li:nth-child(2) { transition-delay: .05s; }
.drawer.is-open .drawer__in li:nth-child(3) { transition-delay: .1s; }
.drawer.is-open .drawer__in li:nth-child(4) { transition-delay: .15s; }
.drawer.is-open .drawer__in li:nth-child(5) { transition-delay: .2s; }
.drawer.is-open .drawer__in li:nth-child(6) { transition-delay: .25s; }
.drawer__nav > li { border-bottom: 1px solid var(--color-line); }
.drawer__nav > li > a, .drawer__nav summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 19px; font-weight: 700; list-style: none; cursor: pointer; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary::after { content: "+"; font-family: var(--font-en); font-size: 24px; color: var(--color-main); transition: transform .4s var(--ease); }
.drawer__nav details.is-open summary::after { transform: rotate(45deg); }
.drawer__sub { padding: 0 0 14px 12px; }
.drawer__sub a { display: block; padding: 10px 0; font-size: 17px; }
.drawer__cta { margin-top: 28px; display: grid; gap: 12px; }
.drawer__cta .btn { width: 100%; }


.menu-btn { position: relative; width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; z-index: 210; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn span:nth-child(3) { top: 31px; }
.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


.gnav { display: flex; align-items: center; }
.gnav > li { position: relative; }
.gnav > li > a { display: flex; align-items: center; gap: 6px; font-size: var(--fs-nav); font-weight: 500; white-space: nowrap; }
.mega {
  position: fixed; left: 50%; top: var(--mega-top, var(--header-h)); z-index: 120;
  width: min(1100px, calc(100% - 2 * var(--gutter)));
  translate: -50% 0;
  background: var(--color-surface); color: var(--color-text);
  border: 1px solid var(--color-line); border-radius: var(--radius-card);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25);
  padding: 36px 40px;
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.gnav > li.is-open > .mega { visibility: visible; opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mega__head .en { display: block; font-size: 13px; color: var(--color-main); margin-bottom: 8px; }
.mega__head p { font-size: 22px; font-weight: 700; line-height: 1.5; }
.mega__head small { display: block; margin-top: 12px; font-size: 15px; line-height: 1.8; color: var(--color-text-sub); }
.mega__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mega__list a { display: block; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--color-line); background: var(--color-bg); transition: border-color .3s, transform .4s var(--ease); opacity: 0; transform: translateY(10px); }
.gnav > li.is-open .mega__list a { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .3s; }
.gnav > li.is-open .mega__list li:nth-child(2) a { transition-delay: .05s; }
.gnav > li.is-open .mega__list li:nth-child(3) a { transition-delay: .1s; }
.gnav > li.is-open .mega__list li:nth-child(4) a { transition-delay: .15s; }
.gnav > li.is-open .mega__list li:nth-child(5) a { transition-delay: .2s; }
.gnav > li.is-open .mega__list li:nth-child(6) a { transition-delay: .25s; }
.mega__list a:hover { border-color: var(--color-main); }
.mega__list b { display: block; font-size: 17px; }
.mega__list span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--color-text-sub); }


.sp-bar { display: none; }
@media (max-width: 860px) {
  .sp-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    background: var(--color-surface); border-top: 1px solid var(--color-line);
    transform: translateY(100%); transition: transform .5s var(--ease);
  }
  .sp-bar.is-show { transform: none; }
  .sp-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; font-size: 16px; }
  .sp-bar a:last-child { background: var(--color-accent); color: var(--color-on-accent); }
  body { padding-bottom: 60px; }
  .btn { white-space: normal; }
}


html.js [data-rv] { opacity: 0; }
html.js.no-motion [data-rv], html.js[data-motion-off] [data-rv] { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-rv] { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


.crumb { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--color-text-sub); }
.crumb a { color: inherit; }
.crumb li + li::before { content: "/"; margin-right: 14px; opacity: .5; }
.sub-table .is-total, .sub-table tbody th { white-space: nowrap; }
