:root {
  color: #000000;
  background: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
html, body { min-width: 320px; background: #ffffff; }
body { margin: 0; }
button, input, select { font: inherit; }
a { color: #000000; }
h1, h2, h3, p { margin: 0; }
.is-hidden { display: none !important; }

.access-gate, .site-frame { min-height: 100vh; border: 10px solid #000000; background: #ffffff; }
.eyebrow { margin: 0; padding: 12px 18px; color: #ffffff; background: #000000; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.site-navigation { position: sticky; top: 0; z-index: 10; display: flex; align-items: stretch; border-bottom: 2px solid #000000; background: #000000; }
.site-navigation .eyebrow { flex: 1; }
.header-contact-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; color: #000000; border-left: 2px solid #000000; background: #ffffff; font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.header-contact-link:hover, .header-contact-link:focus-visible { color: #ffffff; background: #000000; outline: 2px solid #ffffff; outline-offset: -4px; }

.gate-content { max-width: 840px; padding: clamp(48px, 9vw, 150px) clamp(20px, 8vw, 104px); }
.gate-label, .section-label { margin-bottom: 14px; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
h1 { max-width: 920px; font-size: clamp(38px, 6vw, 76px); font-weight: 900; letter-spacing: -.045em; line-height: 1.08; }
.gate-lead { max-width: 640px; margin-top: 24px; font-size: 16px; font-weight: 700; line-height: 1.9; }
.gate-form { display: grid; gap: 12px; max-width: 600px; margin-top: 32px; padding: 18px; border: 4px solid #000000; }
.password-form { margin-top: 20px; }
.gate-form label:not(.agreement) { font-size: 13px; font-weight: 900; }
.gate-form input[type="email"], .gate-form input[type="password"] { width: 100%; min-height: 54px; padding: 12px; color: #000000; border: 2px solid #000000; border-radius: 0; background: #ffffff; font-size: 16px; }
.agreement { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.7; }
.agreement input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #000000; }
.gate-form button, .mobile-sort button { min-height: 52px; padding: 12px 16px; color: #ffffff; border: 2px solid #000000; border-radius: 0; background: #000000; font-weight: 900; cursor: pointer; }
.gate-form button:hover, .gate-form button:focus-visible, .mobile-sort button:hover, .mobile-sort button:focus-visible { color: #000000; background: #ffffff; outline: 0; }
.gate-form button:disabled, .mobile-sort button:disabled { cursor: not-allowed; opacity: .45; }
.request-password { max-width: 600px; margin-top: 18px; border: 2px solid #000000; }
.request-password summary { padding: 14px 16px; font-size: 13px; font-weight: 900; cursor: pointer; }
.request-password[open] summary { border-bottom: 2px solid #000000; }
.request-form { margin: 0; border: 0; }
.gate-message { max-width: 600px; margin-top: 18px; font-size: 14px; font-weight: 700; line-height: 1.8; }
.gate-message.is-error { text-decoration: underline; text-decoration-thickness: 2px; }

.hero { border-bottom: 4px solid #000000; }
.hero-copy { padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 76px) 32px; }
.notice { max-width: 900px; margin-top: 28px; padding: 16px 18px; color: #ffffff; border: 2px solid #000000; background: #000000; font-size: clamp(14px, 1.7vw, 17px); font-weight: 700; line-height: 1.9; }
.summary { display: flex; align-items: baseline; gap: 8px; padding: 16px clamp(18px, 5vw, 76px) 20px; border-top: 2px solid #000000; font-weight: 700; }
.summary strong { font-size: clamp(34px, 5vw, 62px); font-weight: 900; line-height: 1; }

.cases { padding: clamp(24px, 4vw, 56px) clamp(12px, 3vw, 44px) 0; }
.section-bar { display: flex; gap: 20px; align-items: end; justify-content: space-between; padding: 0 8px 16px; }
h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 900; letter-spacing: -.03em; }
.filtered-count { padding-bottom: 5px; font-size: 14px; font-weight: 900; }

.filter-groups { display: grid; gap: 0; margin-bottom: 18px; border: 4px solid #000000; }
.filter-group { padding: 14px; border-bottom: 2px solid #000000; }
.filter-group:last-child { border-bottom: 0; }
.filter-group h3 { margin-bottom: 10px; font-size: 13px; font-weight: 900; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 36px; padding: 7px 10px; color: #000000; border: 2px solid #000000; border-radius: 0; background: #ffffff; font-size: 12px; font-weight: 700; cursor: pointer; }
.filter-chip:hover, .filter-chip:focus-visible, .filter-chip.is-active { color: #ffffff; background: #000000; outline: 0; }

.mobile-sort { display: none; }
.table-wrap { overflow-x: auto; border: 4px solid #000000; }
.table-wrap:focus-visible { outline: 4px solid #000000; outline-offset: 4px; }
table { width: 100%; min-width: 1180px; border-collapse: collapse; table-layout: fixed; }
th, td { text-align: left; vertical-align: top; border-right: 2px solid #000000; border-bottom: 2px solid #000000; }
th:last-child, td:last-child { border-right: 0; }
tbody tr:last-child td { border-bottom: 0; }
th { padding: 0; background: #ffffff; }
th button { display: flex; width: 100%; min-height: 66px; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 12px; color: #000000; border: 0; background: #ffffff; cursor: pointer; font-size: 13px; font-weight: 900; text-align: left; }
th button:hover, th button:focus-visible, th button[aria-pressed="true"] { color: #ffffff; background: #000000; outline: 0; }
.sort-mark { flex: 0 0 auto; font-size: 15px; }
td { padding: 12px; font-size: 14px; line-height: 1.6; word-break: break-word; }
td a:not(.external-link-button) { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
td a:not(.external-link-button):hover, td a:not(.external-link-button):focus-visible { color: #ffffff; background: #000000; outline: 2px solid #000000; }
th:nth-child(1), td:nth-child(1) { width: 8%; }
th:nth-child(2), td:nth-child(2) { width: 18%; }
th:nth-child(3), td:nth-child(3) { width: 13%; }
th:nth-child(4), td:nth-child(4) { width: 16%; }
th:nth-child(5), td:nth-child(5) { width: 10%; }
th:nth-child(6), td:nth-child(6), th:nth-child(7), td:nth-child(7) { width: 10%; }
th:nth-child(8), td:nth-child(8) { width: 15%; }
.external-link-list { display: flex; flex-wrap: wrap; gap: 8px; }
.external-link-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 5px; padding: 8px 10px; color: #ffffff; border: 2px solid #000000; background: #000000; font-size: 12px; font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap; }
.external-link-button:hover, .external-link-button:focus-visible { color: #000000; background: #ffffff; outline: 2px solid #000000; outline-offset: 2px; }
.amount-cell { padding-top: 10px; padding-bottom: 10px; font-size: clamp(24px, 2.5vw, 38px); font-weight: 900; letter-spacing: -.05em; line-height: 1.05; text-align: right; white-space: nowrap; }
.no-results { padding: 48px 16px; font-weight: 700; text-align: center; }
.contact-section { margin: clamp(44px, 8vw, 112px) clamp(12px, 3vw, 44px) 0; padding: clamp(26px, 4vw, 52px) clamp(16px, 4vw, 44px); border: 4px solid #000000; }
.contact-lead { max-width: 820px; margin-top: 18px; font-size: 15px; font-weight: 700; line-height: 1.9; }
.contact-form { display: grid; gap: 16px; max-width: 600px; margin-top: 28px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 900; }
.contact-form select { min-height: 52px; padding: 10px 12px; color: #000000; border: 2px solid #000000; border-radius: 0; background: #ffffff; font-weight: 700; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-action-button, .copy-email { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 14px; color: #ffffff; border: 2px solid #000000; border-radius: 0; background: #000000; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.copy-email { color: #000000; background: #ffffff; }
.contact-action-button:hover, .contact-action-button:focus-visible, .copy-email:hover, .copy-email:focus-visible { color: #000000; background: #ffffff; outline: 0; }
.copy-email:hover, .copy-email:focus-visible { color: #ffffff; background: #000000; }
.contact-action-button.is-disabled, .copy-email:disabled { cursor: not-allowed; opacity: .4; pointer-events: none; }
.contact-message { max-width: 600px; margin-top: 14px; font-size: 13px; font-weight: 700; line-height: 1.7; }
footer { padding: 32px clamp(18px, 5vw, 76px); }
footer p { font-size: 13px; font-weight: 700; }

@media (max-width: 760px) {
  .access-gate, .site-frame { border-width: 8px; }
  .header-contact-link { min-height: 42px; padding: 10px 12px; }
  .gate-content { padding: 54px 18px; }
  .gate-form { margin-top: 24px; padding: 14px; }
  .request-form { margin: 0; }
  .hero-copy { padding-bottom: 26px; }
  .section-bar { display: block; }
  .filtered-count { margin-top: 12px; }
  .filter-groups { border-width: 2px; }
  .filter-group { padding: 12px; }
  .filter-options { gap: 6px; }
  .filter-chip { min-height: 40px; }
  .mobile-sort { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; margin: 0 0 14px; padding: 12px; border: 2px solid #000000; font-size: 13px; font-weight: 700; }
  .mobile-sort select { min-height: 44px; color: #000000; border: 2px solid #000000; border-radius: 0; background: #ffffff; font-weight: 700; }
  .mobile-sort button { grid-column: 1 / -1; }
  .table-wrap { overflow: visible; border-width: 2px; }
  table { min-width: 0; }
  thead { display: none; }
  tbody { display: block; }
  tbody tr { display: block; border-bottom: 4px solid #000000; }
  tbody tr:last-child { border-bottom: 0; }
  td { display: grid; grid-template-columns: 35% 1fr; gap: 12px; min-height: 48px; padding: 11px; border-right: 0; border-bottom: 2px solid #000000; font-size: 13px; }
  td:last-child { border-bottom: 0; }
  td::before { content: attr(data-label); font-size: 12px; font-weight: 900; }
  .external-link-button { min-height: 42px; width: fit-content; }
  .amount-cell { align-items: center; font-size: 30px; text-align: left; }
  .contact-section { margin: 48px 12px 0; padding: 20px 14px; border-width: 2px; }
  .contact-actions { display: grid; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  button, a { transition: color 150ms ease, background-color 150ms ease, transform 100ms ease; }
  button:active { transform: scale(.97); }
}
