
  :root {
    --c-primary: #0b3d6b;
    --c-primary-dark: #062a4d;
    --c-primary-light: #1d5a92;
    --c-accent: #b45309;
    --c-accent-hover: #92400e;
    --c-bg: #f6f8fb;
    --c-bg-alt: #eef2f7;
    --c-text: #1f2937;
    --c-text-soft: #4b5563;
    --c-border: #d1d5db;
    --c-card: #ffffff;
    --c-success: #047857;
    --c-warn: #b45309;
    --radius: 8px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
    color: var(--c-text);
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
  }
  a { color: var(--c-primary); text-decoration: none; }
  a:hover { text-decoration: underline; }

  /* ===== Top utility bar ===== */
  .util-bar {
    background: var(--c-primary-dark); color: #fff;
    font-size: 12px;
  }
  .util-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 6px 24px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .util-inner .left { opacity: 0.85; }
  .util-inner .right a {
    color: #fff; margin-left: 16px; opacity: 0.9;
  }
  .util-inner .right a:hover { opacity: 1; text-decoration: underline; }

  /* ===== Header ===== */
  header.site-header {
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow-sm);
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .logo {
    font-size: 18px; font-weight: 700; color: var(--c-primary);
    letter-spacing: 0.02em; line-height: 1.3;
  }
  .logo .logo-sub { display: block; font-size: 11px; color: var(--c-text-soft); font-weight: 400; }
  nav.global-nav ul {
    display: flex; gap: 24px; list-style: none;
  }
  nav.global-nav a {
    font-size: 14px; color: var(--c-text); font-weight: 500;
  }
  nav.global-nav a.cta-nav {
    background: var(--c-accent); color: #fff;
    padding: 8px 16px; border-radius: var(--radius);
    font-weight: 600;
  }
  nav.global-nav a.cta-nav:hover { background: var(--c-accent-hover); text-decoration: none; }

  /* ===== Hero ===== */
  .hero {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    padding: 64px 24px 56px;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: ""; position: absolute; right: -100px; top: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
  }
  .hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
  .hero h1 {
    font-size: 34px; font-weight: 700;
    margin-bottom: 16px; letter-spacing: 0.02em;
  }
  .hero .lead {
    font-size: 17px; opacity: 0.95;
    margin-bottom: 32px; max-width: 760px;
  }
  .hero .note {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.25);
  }
  .search-box {
    background: #fff; border-radius: var(--radius);
    padding: 8px; display: flex; gap: 8px;
    max-width: 720px; box-shadow: var(--shadow-md);
  }
  .search-box input {
    flex: 1; border: 0; padding: 14px 16px; font-size: 15px;
    outline: none; color: var(--c-text);
    font-family: inherit;
  }
  .search-box button {
    background: var(--c-accent); color: #fff;
    border: 0; padding: 0 28px; border-radius: 6px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: inherit;
  }
  .search-box button:hover { background: var(--c-accent-hover); }
  .search-tags {
    margin-top: 12px; font-size: 13px; opacity: 0.9;
  }
  .search-tags span { margin-right: 8px; opacity: 0.7; }
  .search-tags a {
    color: #fff; margin-right: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
  }
  .search-tags a:hover { border-bottom-color: #fff; text-decoration: none; }

  .hero-ctas { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-ctas a {
    display: inline-block; padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 15px; font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
  }
  .hero-ctas a:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
  .hero-ctas a.primary {
    background: var(--c-accent); border-color: var(--c-accent);
  }
  .hero-ctas a.primary:hover { background: var(--c-accent-hover); }

  /* ===== Section common ===== */
  section { padding: 56px 24px; }
  section.alt { background: var(--c-bg); }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-head { text-align: center; margin-bottom: 36px; }
  .section-head h2 {
    font-size: 26px; font-weight: 700;
    color: var(--c-primary); margin-bottom: 8px;
    position: relative; display: inline-block;
    padding-bottom: 12px;
  }
  .section-head h2::after {
    content: ""; position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 48px; height: 3px; background: var(--c-accent);
  }
  .section-head p {
    color: var(--c-text-soft); font-size: 15px;
    margin-top: 8px;
  }

  /* ===== 4 entry points ===== */
  .entries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .entry-card {
    position: relative;
    background: var(--c-card); border: 2px solid var(--c-border);
    border-radius: 12px; padding: 36px 24px 32px;
    text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s;
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
  }
  .entry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(11,61,107,0.16);
    border-color: var(--c-primary);
    text-decoration: none;
  }
  .entry-card .icon {
    width: 72px; height: 72px;
    background: var(--c-bg-alt); border-radius: 50%;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--c-primary); font-weight: 700;
    transition: background .2s, color .2s;
  }
  .entry-card:hover .icon { background: var(--c-primary); color: #fff; }
  .entry-card h3 {
    font-size: 19px; color: var(--c-primary);
    margin-bottom: 10px; font-weight: 700;
  }
  .entry-card p {
    font-size: 13.5px; color: var(--c-text-soft);
    line-height: 1.65;
  }
  /* 「目的から探す」を一番のおすすめとして強調 */
  .entry-card.recommended {
    border-color: var(--c-accent);
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 60%);
  }
  .entry-card.recommended:hover { border-color: var(--c-accent); box-shadow: 0 10px 24px rgba(180,83,9,0.18); }
  .entry-card.recommended .icon { background: #fdebd3; color: var(--c-accent); }
  .entry-card.recommended:hover .icon { background: var(--c-accent); color: #fff; }
  .entry-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--c-accent); color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 14px; border-radius: 999px; white-space: nowrap;
    box-shadow: var(--shadow-sm); letter-spacing: .02em;
  }

  /* ===== Test catalog tabs ===== */
  .cat-tabs-guide {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; color: var(--c-primary);
    margin-bottom: 10px;
  }
  .cat-tabs-guide::before {
    content: "▼"; color: var(--c-accent); font-size: 12px;
  }
  .cat-tabs-guide .sub {
    font-size: 12.5px; font-weight: 400; color: var(--c-text-soft);
  }
  .cat-tabs {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 24px;
  }
  .cat-tab {
    padding: 10px 18px; cursor: pointer;
    font-size: 14px; font-weight: 600;
    color: var(--c-primary); border: 1.5px solid var(--c-border);
    background: #fff; font-family: inherit;
    border-radius: 999px; transition: all .15s;
    box-shadow: var(--shadow-sm);
  }
  .cat-tab.active {
    color: #fff;
    background: var(--c-primary);
    border-color: var(--c-primary);
  }
  .cat-tab:hover { border-color: var(--c-primary); background: var(--c-bg-alt); }
  .cat-tab.active:hover { background: var(--c-primary-dark); }

  /* ===== Test cards ===== */
  .test-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .test-card {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 20px;
    transition: all 0.2s;
    display: flex; flex-direction: column;
  }
  .test-card:hover {
    border-color: var(--c-primary); box-shadow: var(--shadow-md);
  }
  .test-card .tag-row { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
  .test-card .tag {
    background: var(--c-bg-alt); color: var(--c-primary);
    font-size: 11px; padding: 2px 8px; border-radius: 4px;
    font-weight: 600;
  }
  .test-card .tag.popular { background: #fef3c7; color: #92400e; }
  .test-card .tag.cert { background: #dbeafe; color: #1e40af; }
  .test-card .tag.jnla { background: #dcfce7; color: #166534; }
  .test-card .tag.noacc { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
  .test-card .tag.chk { background: #fef9c3; color: #854d0e; }
  /* ----- 認定状態の凡例 ----- */
  .accred-legend {
    display: flex; flex-wrap: wrap; gap: 10px 18px;
    margin: 0 0 14px; align-items: center;
    font-size: 12px; color: var(--c-text-soft);
  }
  .accred-legend .legend-item { display: inline-flex; align-items: center; gap: 6px; }
  .accred-legend .tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
  .accred-legend .tag.jnla { background: #dcfce7; color: #166534; }
  .accred-legend .tag.noacc { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
  .accred-legend .tag.chk { background: #fef9c3; color: #854d0e; }
  .accred-legend-note {
    font-size: 11px; color: var(--c-text-soft);
    line-height: 1.65; margin: 4px 0 0;
    background: transparent; border-radius: var(--radius);
    padding: 0; opacity: .9;
  }
  .accred-legend-note a { color: var(--c-primary); border-bottom: 1px dotted var(--c-primary); }
  .test-card h4 {
    font-size: 17px; color: var(--c-text);
    margin-bottom: 8px; font-weight: 700;
    line-height: 1.4;
  }
  .test-card p {
    font-size: 13px; color: var(--c-text-soft);
    line-height: 1.6; flex: 1; margin-bottom: 12px;
  }
  .test-card .meta {
    border-top: 1px dashed var(--c-border);
    padding-top: 10px; margin-top: auto;
    font-size: 12px; color: var(--c-text-soft);
  }
  .test-card .meta dl {
    display: grid; grid-template-columns: 60px 1fr;
    gap: 4px 8px;
  }
  .test-card .meta dt {
    color: var(--c-primary); font-weight: 600;
  }
  .test-card .meta dd { color: var(--c-text); }
  .test-card .meta .price {
    color: var(--c-accent); font-weight: 700; font-size: 13px;
  }
  .test-card .meta .price small {
    color: var(--c-text-soft); font-weight: 400; font-size: 11px;
  }
  .test-card .meta .intl-std {
    color: var(--c-text-soft); font-size: 11.5px; line-height: 1.5;
  }
  .test-card .meta dt.intl-dt { color: var(--c-primary-light); }
  .test-card .links {
    margin-top: 12px; display: flex; gap: 6px;
    font-size: 12px;
  }
  .test-card .links a {
    flex: 1; text-align: center;
    padding: 7px 6px; border-radius: 4px;
    border: 1px solid var(--c-border);
    color: var(--c-primary);
  }
  .test-card .links a.primary {
    background: var(--c-primary); color: #fff; border-color: var(--c-primary);
  }
  .test-card .links a.primary:hover { background: var(--c-primary-dark); text-decoration: none; }
  .test-card .links a:hover { text-decoration: none; background: var(--c-bg-alt); }

  /* ===== Purpose categories ===== */
  .purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .purpose-card {
    background: #fff; border-left: 4px solid var(--c-primary);
    padding: 20px; border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    color: var(--c-text);
    display: block;
  }
  .purpose-card:hover {
    transform: translateX(4px);
    border-left-color: var(--c-accent);
    text-decoration: none;
  }
  .purpose-card h4 {
    font-size: 16px; color: var(--c-primary);
    margin-bottom: 8px; font-weight: 700;
  }
  .purpose-card .examples {
    font-size: 12px; color: var(--c-text-soft); line-height: 1.5;
  }
  .purpose-card .count {
    display: inline-block;
    background: var(--c-bg-alt);
    color: var(--c-primary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-top: 8px;
    font-weight: 600;
  }

  /* ===== Standards ===== */
  .std-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  .std-chip {
    background: #fff; border: 1px solid var(--c-border);
    padding: 16px 12px; border-radius: var(--radius);
    text-align: center; transition: all 0.2s;
    display: block; color: var(--c-text);
  }
  .std-chip:hover {
    background: var(--c-primary); color: #fff;
    border-color: var(--c-primary); text-decoration: none;
  }
  .std-chip strong {
    display: block; font-size: 15px; color: var(--c-primary);
    margin-bottom: 4px;
  }
  .std-chip:hover strong { color: #fff; }
  .std-chip span {
    display: block; font-size: 11px; color: var(--c-text-soft);
    line-height: 1.4;
  }
  .std-chip:hover span { color: rgba(255,255,255,0.85); }

  /* ===== Process flow ===== */
  .flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .flow-step {
    background: #fff; border: 1px solid var(--c-border);
    padding: 20px 12px; border-radius: var(--radius);
    text-align: center; position: relative;
  }
  .flow-step .step-num {
    width: 32px; height: 32px;
    background: var(--c-primary); color: #fff;
    border-radius: 50%; display: inline-flex;
    align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    margin-bottom: 10px;
  }
  .flow-step h5 {
    font-size: 14px; color: var(--c-text);
    margin-bottom: 4px;
  }
  .flow-step p {
    font-size: 11px; color: var(--c-text-soft);
  }

  /* ===== Fee note ===== */
  .fee-note {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-left: 3px solid var(--c-border);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-top: 24px;
    font-size: 12.5px;
    color: var(--c-text-soft);
  }
  .fee-note strong { color: var(--c-text); }
  .fee-note ul {
    margin-top: 8px; padding-left: 20px;
    color: var(--c-text-soft);
  }
  .fee-note ul li { padding: 2px 0; }

  /* ===== Strengths ===== */
  .strength-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .strength-item {
    text-align: center; padding: 20px;
    background: #fff; border-radius: var(--radius);
    border-top: 3px solid var(--c-accent);
  }
  .strength-item .label {
    font-size: 13px; font-weight: 700;
    color: var(--c-accent); line-height: 1;
    margin-bottom: 12px; letter-spacing: 0.05em;
  }
  .strength-item h4 {
    font-size: 16px; color: var(--c-primary);
    margin-bottom: 8px;
  }
  .strength-item p {
    font-size: 13px; color: var(--c-text-soft); line-height: 1.6;
  }

  /* ===== CTA ===== */
  .cta-section {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff; padding: 56px 24px;
    text-align: center;
  }
  .cta-section h2 {
    font-size: 24px; margin-bottom: 12px; font-weight: 700;
  }
  .cta-section p {
    font-size: 15px; opacity: 0.95; margin-bottom: 24px;
    max-width: 720px; margin-left: auto; margin-right: auto;
  }
  .cta-section .buttons {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  }
  .cta-section .buttons a {
    padding: 14px 32px; border-radius: var(--radius);
    font-weight: 600; font-size: 15px;
  }
  .cta-section .buttons a.primary {
    background: var(--c-accent); color: #fff;
  }
  .cta-section .buttons a.primary:hover { background: var(--c-accent-hover); text-decoration: none; }
  .cta-section .buttons a.secondary {
    background: transparent; border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
  }
  .cta-section .buttons a.secondary:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

  /* ===== Inquiry info box ===== */
  .inquiry-info {
    background: #fff; border-radius: var(--radius);
    padding: 28px; max-width: 760px; margin: 32px auto 0;
    text-align: left; color: var(--c-text);
    box-shadow: var(--shadow-md);
  }
  .inquiry-info h3 {
    color: var(--c-primary); font-size: 16px;
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 2px solid var(--c-accent);
  }
  .inquiry-info ul {
    list-style: none; padding-left: 0;
  }
  .inquiry-info ul li {
    font-size: 14px; padding: 4px 0; padding-left: 20px;
    position: relative; color: var(--c-text-soft);
  }
  .inquiry-info ul li::before {
    content: "▸"; position: absolute; left: 0; color: var(--c-accent);
  }

  /* ===== Footer ===== */
  footer {
    background: #1a1a2e; color: #cbd5e1;
    padding: 40px 24px 20px;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px; padding-bottom: 24px;
    border-bottom: 1px solid #2a2a3e;
  }
  .footer-inner h5 {
    color: #fff; font-size: 14px; margin-bottom: 12px;
  }
  .footer-inner ul { list-style: none; padding: 0; }
  .footer-inner ul li { font-size: 13px; padding: 3px 0; }
  .footer-inner ul li a { color: #cbd5e1; }
  .footer-inner ul li a:hover { color: #fff; }
  .footer-inner .brand p { font-size: 13px; margin-top: 8px; }
  .copyright {
    max-width: 1200px; margin: 0 auto; padding-top: 16px;
    font-size: 12px; color: #94a3b8; text-align: center;
  }

  /* ===== Accessibility ===== */
  .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }

  /* ===== Accreditation ===== */
  .accred-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
  }
  .accred-item {
    background: #fff; padding: 24px;
    border-radius: var(--radius);
    border-top: 3px solid var(--c-primary);
    box-shadow: var(--shadow-sm);
  }
  .accred-item h4 {
    font-size: 16px; color: var(--c-primary);
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--c-border);
  }
  .accred-item dl {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 6px 12px;
    font-size: 13px;
    margin-bottom: 12px;
  }
  .accred-item dt {
    color: var(--c-primary); font-weight: 600;
  }
  .accred-item dd {
    color: var(--c-text); line-height: 1.6;
  }
  .accred-item p {
    font-size: 13px; color: var(--c-text); line-height: 1.7;
  }
  .accred-details {
    margin-top: 10px;
    border-top: 1px dashed var(--c-border);
    padding-top: 10px;
    font-size: 12px;
  }
  .accred-details summary {
    cursor: pointer;
    color: var(--c-primary);
    font-weight: 600;
    padding: 4px 0;
    user-select: none;
  }
  .accred-details summary:hover { text-decoration: underline; }
  .accred-details .accred-std-list {
    margin-top: 8px;
    color: var(--c-text-soft);
    line-height: 1.7;
    font-size: 12px;
  }
  .accred-details .accred-std-list strong {
    color: var(--c-text); display: block; margin-top: 6px;
  }
  .accred-note {
    background: #fef3c7;
    border-left: 4px solid var(--c-warn);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 16px;
    font-size: 12px;
    color: var(--c-text-soft);
  }

  /* ===== Standard version note ===== */
  .std-version-note {
    background: var(--c-bg-alt);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--c-text-soft);
  }
  .std-version-note a { color: var(--c-primary); border-bottom: 1px dotted var(--c-primary); }

  /* ===== SPS correspondence table ===== */
  .sps-block { margin-top: 44px; }
  .sps-title {
    font-size: 19px; color: var(--c-primary); font-weight: 700;
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 2px solid var(--c-accent); display: inline-block;
  }
  .sps-lead {
    font-size: 14px; color: var(--c-text-soft);
    margin-bottom: 18px; line-height: 1.8; max-width: 920px;
  }
  .sps-filter {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px; flex-wrap: wrap;
  }
  .sps-filter input {
    flex: 1; min-width: 220px;
    border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: 11px 14px; font-size: 14px; font-family: inherit;
    color: var(--c-text); outline: none; background: #fff;
  }
  .sps-filter input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(11,61,107,0.10);
  }
  .sps-count {
    font-size: 12px; color: var(--c-text-soft);
    white-space: nowrap; font-weight: 600;
  }
  .sps-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #fff;
  }
  table.sps-table {
    width: 100%; border-collapse: collapse;
    font-size: 13px; min-width: 660px;
  }
  table.sps-table thead th {
    background: var(--c-primary); color: #fff;
    text-align: left; padding: 12px 14px;
    font-weight: 600; white-space: nowrap;
  }
  table.sps-table tbody td {
    padding: 11px 14px; border-top: 1px solid var(--c-border);
    color: var(--c-text); vertical-align: top; line-height: 1.6;
  }
  table.sps-table tbody tr:nth-child(even) { background: var(--c-bg); }
  table.sps-table tbody tr:hover { background: var(--c-bg-alt); }
  table.sps-table .sps-no {
    font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
    font-weight: 700; color: var(--c-primary); white-space: nowrap;
  }
  table.sps-table .sps-jis strong { color: var(--c-primary); font-weight: 700; }
  .sps-empty {
    padding: 24px; text-align: center;
    color: var(--c-text-soft); font-size: 14px;
  }
  .sps-scroll-hint {
    display: none; font-size: 12px;
    color: var(--c-text-soft); margin-bottom: 6px; text-align: center;
  }
  .sps-table-wrap:focus { outline: 2px solid var(--c-primary-light); outline-offset: 2px; }
  .sps-details > summary.sps-summary {
    cursor: pointer; list-style: none;
    color: var(--c-primary); font-weight: 700; font-size: 14px;
    padding: 11px 14px; background: var(--c-bg-alt);
    border: 1px solid var(--c-border); border-radius: var(--radius);
    user-select: none; display: flex; align-items: center; gap: 8px;
  }
  .sps-details > summary.sps-summary::-webkit-details-marker { display: none; }
  .sps-details > summary.sps-summary::before {
    content: "▸"; color: var(--c-accent); font-weight: 700;
    transition: transform 0.15s;
  }
  .sps-details[open] > summary.sps-summary::before { content: "▾"; }
  .sps-details > summary.sps-summary:hover { background: var(--c-border); }
  .sps-details > summary.sps-summary:focus-visible {
    outline: 2px solid var(--c-primary-light); outline-offset: 2px;
  }
  .sps-details[open] > summary.sps-summary { margin-bottom: 12px; }

  /* ===== Road-bridge (防食便覧) block ===== */
  .rb-block { margin-top: 44px; }
  .rb-subhead {
    font-size: 15px; color: var(--c-primary); font-weight: 700;
    margin: 24px 0 8px; padding-left: 10px;
    border-left: 3px solid var(--c-accent);
  }
  .rb-text {
    font-size: 14px; color: var(--c-text-soft);
    line-height: 1.85; max-width: 920px;
  }
  .rb-list { margin: 6px 0 0; padding-left: 22px; max-width: 920px; }
  .rb-list li {
    font-size: 14px; color: var(--c-text-soft);
    line-height: 1.8; padding: 1px 0;
  }

  /* ===== Responsive ===== */
  @media (max-width: 960px) {
    .entries, .test-grid, .purpose-grid { grid-template-columns: repeat(2, 1fr); }
    .std-grid { grid-template-columns: repeat(3, 1fr); }
    .flow { grid-template-columns: repeat(3, 1fr); }
    .strength-grid, .accred-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    nav.global-nav ul { gap: 16px; }
    .hero h1 { font-size: 26px; }
    .util-inner .left { display: none; }
  }
  @media (max-width: 600px) {
    .entries, .test-grid, .purpose-grid, .strength-grid, .accred-grid { grid-template-columns: 1fr; }
    .std-grid { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(2, 1fr); }
    nav.global-nav ul { display: none; }
    .cat-tabs { font-size: 12px; overflow-x: auto; flex-wrap: nowrap; }
    .cat-tab { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
    .sps-filter input { min-width: 0; width: 100%; }
    .sps-scroll-hint { display: block; }
  }

  /* ===== Audit disclaimer & accreditation tag tooltips ===== */
  /* 免責・ご確認事項：カードより目立たないよう、中立トーン＋折りたたみ */
  .audit-note {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 0 16px;
    margin: 8px 0 18px;
    font-size: 12px;
    color: var(--c-text-soft);
    line-height: 1.8;
  }
  .audit-note > summary {
    cursor: pointer; list-style: none; user-select: none;
    font-size: 12.5px; font-weight: 600; color: var(--c-text-soft);
    padding: 11px 0; display: flex; align-items: center; gap: 8px;
  }
  .audit-note > summary::-webkit-details-marker { display: none; }
  .audit-note > summary::before {
    content: "▸"; color: var(--c-text-soft); font-weight: 700; transition: transform .15s;
  }
  .audit-note[open] > summary::before { content: "▾"; }
  .audit-note > summary:hover { color: var(--c-primary); }
  .audit-note[open] > summary { border-bottom: 1px solid var(--c-border); margin-bottom: 8px; }
  .audit-note h3 {
    font-size: 12.5px; color: var(--c-text-soft);
    margin: 4px 0 6px; padding-bottom: 0; font-weight: 700;
  }
  .audit-note ul { margin: 6px 0 12px; padding-left: 18px; }
  .audit-note li { padding: 2px 0; }
  .audit-note strong { color: var(--c-text); }
  .audit-note a { color: var(--c-primary); border-bottom: 1px dotted var(--c-primary); }
  .audit-note .verified {
    display: inline-block; margin: 0 0 12px;
    font-weight: 600; color: var(--c-text-soft);
    background: var(--c-bg-alt); border-radius: 999px;
    padding: 3px 12px; font-size: 11.5px;
  }
  /* accessible tooltip on accreditation status tags (cards only) */
  .tag[data-tip] { position: relative; cursor: help; }
  .tag[data-tip]:focus { outline: 2px solid var(--c-primary-light); outline-offset: 2px; }
  .tag[data-tip]::after {
    content: attr(data-tip);
    position: absolute; bottom: calc(100% + 8px); left: 0;
    width: max-content; max-width: 280px;
    background: var(--c-primary-dark); color: #fff;
    font-size: 11.5px; font-weight: 400; line-height: 1.65; text-align: left;
    padding: 8px 10px; border-radius: 6px; box-shadow: var(--shadow-md);
    white-space: normal;
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
    z-index: 60; pointer-events: none;
  }
  .tag[data-tip]:hover::after,
  .tag[data-tip]:focus::after,
  .tag[data-tip]:focus-visible::after {
    opacity: 1; visibility: visible; transform: translateY(0);
  }

  /* ===== Quote list (まとめ見積) ===== */
  .select-test {
    display: inline-flex; align-items: center; gap: 6px;
    align-self: flex-end; margin-bottom: 8px;
    font-size: 12px; color: var(--c-text-soft); cursor: pointer; user-select: none;
  }
  .select-test input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--c-accent); }
  .select-test::after { content: "見積に追加"; }
  .test-card:has(.test-check:checked) { border-color: var(--c-accent); box-shadow: 0 0 0 2px rgba(217,119,6,0.25); }
  .quote-bar {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 200;
    background: var(--c-primary-dark); color: #fff; border-radius: 999px; box-shadow: var(--shadow-md);
    padding: 10px 14px 10px 20px; display: flex; align-items: center; gap: 16px; max-width: calc(100% - 24px);
  }
  .quote-bar[hidden] { display: none; }
  .quote-bar-count { font-size: 13px; }
  .quote-bar-count strong { font-size: 16px; color: #fde68a; }
  .quote-bar-actions { display: flex; gap: 8px; }
  .qb-btn { border: 0; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; padding: 8px 16px; }
  .qb-open, .qb-copy { background: var(--c-accent); color: #fff; }
  .qb-open:hover, .qb-copy:hover { background: var(--c-accent-hover); }
  .qb-clear { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
  .qb-clear:hover { background: rgba(255,255,255,0.12); }
  .qb-form { background: var(--c-primary); color: #fff; text-decoration: none; display: inline-block; }
  .qb-form:hover { background: var(--c-primary-dark); text-decoration: none; }
  .quote-modal { position: fixed; inset: 0; z-index: 300; }
  .quote-modal[hidden] { display: none; }
  .quote-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.55); }
  .quote-modal-panel {
    position: relative; z-index: 1; background: #fff; color: var(--c-text);
    max-width: 560px; width: calc(100% - 32px); margin: 8vh auto 0; border-radius: var(--radius);
    padding: 28px 28px 22px; box-shadow: var(--shadow-md); max-height: 84vh; overflow-y: auto;
  }
  .quote-modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--c-text-soft); }
  .quote-modal-x:hover { color: var(--c-text); }
  .quote-modal-panel h3 { color: var(--c-primary); font-size: 18px; margin-bottom: 8px; }
  .quote-modal-lead { font-size: 13px; color: var(--c-text-soft); margin-bottom: 14px; line-height: 1.7; }
  .quote-list { margin: 0 0 14px; padding-left: 20px; }
  .quote-list li { font-size: 14px; padding: 4px 0; line-height: 1.6; }
  .quote-remove { margin-left: 8px; border: 0; background: var(--c-bg-alt); color: var(--c-text-soft); border-radius: 50%; width: 20px; height: 20px; cursor: pointer; font-size: 13px; line-height: 1; }
  .quote-remove:hover { background: #fee2e2; color: #b91c1c; }
  .quote-text { width: 100%; font-family: inherit; font-size: 12.5px; color: var(--c-text); border: 1px solid var(--c-border); border-radius: 6px; padding: 10px; margin-bottom: 14px; resize: vertical; background: var(--c-bg); }
  .quote-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .quote-note { font-size: 11.5px; color: var(--c-text-soft); margin-top: 12px; line-height: 1.7; }
  .quote-note a { color: var(--c-primary); border-bottom: 1px dotted var(--c-primary); }

  /* ===== A11y polish ===== */
  .skip-link {
    position: absolute; left: 8px; top: -56px;
    background: var(--c-primary); color: #fff;
    padding: 10px 16px; border-radius: 0 0 var(--radius) var(--radius);
    z-index: 1000; transition: top .15s ease; font-size: 14px; font-weight: 600;
  }
  .skip-link:focus { top: 0; text-decoration: none; outline: 2px solid #fff; outline-offset: 2px; }
  main:focus { outline: none; }
  :focus-visible { outline: 2px solid var(--c-primary-light); outline-offset: 2px; }
  .cat-tab[role="tab"] { position: relative; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      transition-duration: 0.001ms !important;
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
    }
  }

  /* ===== Deep-link & card permalink ===== */
  .card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
  .card-top .select-test { align-self: auto; margin-bottom: 0; }
  .card-permalink {
    display: inline-flex; align-items: center; font-size: 12px;
    color: var(--c-text-soft); text-decoration: none; opacity: .7;
  }
  .card-permalink::before { content: "# リンク"; }
  .card-permalink:hover, .card-permalink:focus-visible { opacity: 1; color: var(--c-primary); text-decoration: underline; }
  .card-target { border-color: var(--c-accent) !important; animation: cardPulse 2.2s ease; }
  @keyframes cardPulse {
    0% { box-shadow: 0 0 0 0 rgba(217,119,6,0.55); }
    100% { box-shadow: 0 0 0 14px rgba(217,119,6,0); }
  }

  /* ===== 目的ウィザード ===== */
  .wizard-launch-wrap { text-align: center; margin-bottom: 28px; }
  .wizard-launch {
    background: var(--c-accent); color: #fff; border: 0; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 700;
    padding: 12px 28px; border-radius: 999px; box-shadow: var(--shadow-sm);
  }
  .wizard-launch::before { content: "◎ "; }
  .wizard-launch:hover { background: var(--c-accent-hover); }
  .wizard-modal { position: fixed; inset: 0; z-index: 320; }
  .wizard-modal[hidden] { display: none; }
  .wizard-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,0.55); }
  .wizard-panel {
    position: relative; z-index: 1; background: #fff; color: var(--c-text);
    max-width: 620px; width: calc(100% - 32px); margin: 7vh auto 0;
    border-radius: var(--radius); padding: 30px 30px 24px; box-shadow: var(--shadow-md);
    max-height: 86vh; overflow-y: auto;
  }
  .wizard-x { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--c-text-soft); }
  .wizard-x:hover { color: var(--c-text); }
  .wizard-progress { font-size: 12px; color: var(--c-accent); font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
  .wizard-q { color: var(--c-primary); font-size: 20px; margin-bottom: 16px; }
  .wizard-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .wizard-opt {
    text-align: left; border: 1px solid var(--c-border); background: #fff; color: var(--c-text);
    border-radius: var(--radius); padding: 14px 16px; cursor: pointer; font-family: inherit; font-size: 14px;
    transition: border-color .15s, box-shadow .15s, background .15s; line-height: 1.5;
  }
  .wizard-opt:hover, .wizard-opt:focus-visible { border-color: var(--c-primary); box-shadow: var(--shadow-sm); background: var(--c-bg); }
  .wizard-nav { display: flex; gap: 10px; margin-top: 18px; }
  .wizard-nav .qb-btn { background: transparent; border: 1px solid var(--c-border); color: var(--c-text-soft); }
  .wizard-nav .qb-btn:hover { background: var(--c-bg-alt); }
  .wizard-result h4 { color: var(--c-primary); font-size: 17px; margin-bottom: 10px; }
  .wizard-rec { list-style: none; padding: 0; margin: 0 0 14px; }
  .wizard-rec li { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; }
  .wizard-rec .rec-name { font-weight: 700; font-size: 14px; color: var(--c-text); }
  .wizard-rec .rec-std { font-size: 12px; color: var(--c-text-soft); margin-top: 2px; }
  .wizard-rec .rec-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
  .wizard-rec .rec-actions button, .wizard-rec .rec-actions a {
    font-size: 12px; font-weight: 600; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-family: inherit;
    border: 1px solid var(--c-border); background: #fff; color: var(--c-primary); text-decoration: none;
  }
  .wizard-rec .rec-add { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
  .wizard-rec .rec-add[disabled] { background: var(--c-success); border-color: var(--c-success); cursor: default; opacity: .9; }
  .wizard-notes { background: var(--c-bg-alt); border-radius: var(--radius); padding: 12px 14px; font-size: 12.5px; color: var(--c-text-soft); line-height: 1.75; margin-bottom: 14px; }
  .wizard-notes a { color: var(--c-primary); border-bottom: 1px dotted var(--c-primary); }
  .wizard-empty { font-size: 13px; color: var(--c-text-soft); margin-bottom: 14px; }
  .wizard-result-cta { display: flex; gap: 10px; flex-wrap: wrap; }
  .wizard-result-cta .qb-btn { background: var(--c-primary); color: #fff; border: 0; }
  .wizard-result-cta .qb-btn.primary { background: var(--c-accent); }
  .wizard-result-cta .qb-btn.ghost { background: transparent; border: 1px solid var(--c-border); color: var(--c-text-soft); }
  @media (max-width: 600px) { .wizard-options { grid-template-columns: 1fr; } }

  /* ===== 1.4.11 non-text contrast: form-control borders >= 3:1 ===== */
  :root { --c-border-ui: #6b7280; }
  .sps-filter input,
  .quote-text,
  .wizard-opt { border-color: var(--c-border-ui); }

  /* ===== FAQ ===== */
  #faq .faq-list { max-width: 860px; margin: 0 auto; }
  #faq .faq-item { border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 10px; background: var(--c-card); box-shadow: var(--shadow-sm); }
  #faq .faq-item summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 700; color: var(--c-primary); list-style: none; position: relative; }
  #faq .faq-item summary::-webkit-details-marker { display: none; }
  #faq .faq-item summary::after { content: "＋"; position: absolute; right: 18px; top: 16px; color: var(--c-text-soft); font-weight: 400; }
  #faq .faq-item[open] summary::after { content: "−"; }
  #faq .faq-a { padding: 0 20px 16px; color: var(--c-text-soft); font-size: 14px; line-height: 1.85; }
  #faq .faq-a a { color: var(--c-primary); }


  /*追加*/
  
html,
body{
    overflow-x:hidden;
}

#main{
    overflow-x:hidden;
}
