@layer site, editorial, interactions, document, feature, page;

@layer site {
  @import url("/css/document.css?v=20260719");

  /* ===================================================
   PTA適正化推進委員会 — Global Stylesheet v3
   =================================================== */
  :root {
    --navy: #1e3a5f;
    --navy-2: #1e3a5f;
    --navy-3: #2d5a8e;
    --gold: #d4af37;
    --gold-lt: #f4e7a6;
    --cream: #f8f5ee;
    --red: #b91c1c;
    --orange: #c2410c;
    --green: #15803d;
    --blue: #1d4ed8;
    --text: #1a1a1a;
    --text-soft: #4b5563;
    --line: #e5e7eb;
    --bg: #f4f6f9;
    --surface: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 16px rgba(5, 17, 31, 0.07);
    --shadow-md: 0 12px 36px rgba(5, 17, 31, 0.12);
    --shadow-lg: 0 24px 64px rgba(5, 17, 31, 0.18);
    --t: all 0.26s ease;
    --color-navy: var(--navy);
    --color-navy-dark: #0a192f;
    --color-gold: var(--gold);
    --color-gold-light: var(--gold-lt);
    --color-line: var(--line);
    --color-text: var(--text);
    --color-text-soft: var(--text-soft);
    --color-surface-soft: #f8fafc;
    --transition: var(--t);
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family:
      "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
  }
  a {
    color: inherit;
  }
  img {
    max-width: 100%;
    display: block;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }

  .wrap {
    width: min(calc(100% - 40px), 1240px);
    margin-inline: auto;
  }
  .wrap-narrow {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
  }
  /* Legacy layout helper: several older pages use .container instead of .wrap.
   Without this rule, those sections expand to full viewport width. */
  .container {
    width: min(calc(100% - 40px), 1240px);
    margin-inline: auto;
  }
  .container-narrow {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
  }

  /* HEADER */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 12px rgba(5, 17, 31, 0.07);
  }
  .nav-container {
    width: min(calc(100% - 40px), 1240px);
    margin-inline: auto;
    min-height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--navy);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    letter-spacing: 0.01em;
    flex-shrink: 0;
  }
  .logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  /* Search */
  .header-search {
    flex: 1;
    max-width: 360px;
    position: relative;
  }
  .header-search input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    font-size: 0.88rem;
    color: var(--text);
    outline: none;
    transition: var(--t);
  }
  .header-search input:focus {
    border-color: var(--navy-3);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
  }
  .header-search svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: var(--text-soft);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }
  .search-results-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
  }
  .search-results-dropdown.is-open {
    display: block;
  }
  .srd-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    transition: var(--t);
  }
  .srd-item:last-child {
    border-bottom: none;
  }
  .srd-item:hover {
    background: #f8fafc;
  }
  .srd-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .srd-item-desc {
    font-size: 0.78rem;
    color: var(--text-soft);
  }
  .srd-empty {
    padding: 14px 16px;
    color: var(--text-soft);
    font-size: 0.88rem;
  }

  /* Nav */
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
  }
  .nav-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 999px;
    transition: var(--t);
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.09);
  }
  .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
  }
  .nav-item.has-dropdown > .nav-link::after {
    content: "▾";
    font-size: 0.65rem;
    margin-left: 5px;
  }
  .mega-menu {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: min(560px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--t);
  }
  .desktop-nav .nav-item.has-dropdown:nth-last-of-type(-n + 2) .mega-menu {
    left: auto;
    right: 0;
    transform: translateY(10px);
  }
  .nav-item:hover .mega-menu,
  .nav-item.is-open .mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .desktop-nav .nav-item.has-dropdown:nth-last-of-type(-n + 2):hover .mega-menu,
  .desktop-nav
    .nav-item.has-dropdown:nth-last-of-type(-n + 2).is-open
    .mega-menu {
    transform: translateY(0);
  }
  .mega-col h4 {
    font-size: 0.85rem;
    color: var(--navy);
    border-left: 3px solid var(--gold);
    padding-left: 8px;
    margin-bottom: 8px;
  }
  .mega-col ul {
    list-style: none;
  }
  .mega-col a {
    display: block;
    padding: 5px 0;
    font-size: 0.86rem;
    color: var(--text-soft);
    text-decoration: none;
    transition: var(--t);
  }
  .mega-col a:hover {
    color: var(--navy);
    font-weight: 700;
  }

  /* Buttons */
  .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    font-size: 0.88rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--t);
    white-space: nowrap;
  }
  .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  }
  .btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--t);
  }
  .btn-navy:hover {
    background: var(--navy-3);
    transform: translateY(-2px);
  }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 999px;
    background: transparent;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid rgba(5, 17, 31, 0.35);
    cursor: pointer;
    transition: var(--t);
  }
  .btn-outline:hover {
    background: rgba(5, 17, 31, 0.07);
    border-color: var(--navy);
  }
  /* btn-outline on dark/photo backgrounds — add class .btn-outline-white */
  .btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--t);
  }
  .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
  }
  .btn-soft {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid var(--line);
    cursor: pointer;
    transition: var(--t);
  }
  .btn-soft:hover {
    border-color: var(--navy-3);
    box-shadow: var(--shadow-sm);
  }
  .btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.86rem;
    border: 1.5px solid var(--line);
    cursor: pointer;
    text-decoration: none;
    transition: var(--t);
  }
  .btn-dl:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
  }

  /* Hamburger / Mobile */
  .hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 1px;
  }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 17, 31, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1500;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px;
  }
  .mobile-overlay.is-open {
    display: flex;
  }
  .mobile-link {
    width: min(100%, 400px);
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 800;
  }
  .mobile-link span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  .close-overlay {
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
  }

  /* Section */
  .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(5, 17, 31, 0.07);
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .section-title {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    color: var(--navy);
    line-height: 1.28;
    margin-bottom: 12px;
  }
  .section-lead {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.85;
    max-width: 720px;
  }
  .section-center {
    text-align: center;
  }
  .section-center .section-lead {
    margin-inline: auto;
  }

  /* Card */
  .card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  /* Page hero — light gradient (non-photo pages) */
  .page-hero {
    background: linear-gradient(135deg, #05172f 0%, #0f2747 58%, #16385f 100%);
    color: #fff;
    padding: 58px 0 54px;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid rgba(5, 17, 31, 0.18);
  }
  .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    );
    background-size: 46px 46px;
  }
  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse 78% 58% at 84% 24%,
      rgba(212, 175, 55, 0.16),
      transparent 62%
    );
  }
  .page-hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), 1240px);
    margin-inline: auto;
  }
  .page-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.42);
    color: #fff2a8;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .page-hero h1 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.6rem, 3vw, 2.55rem);
    font-weight: 900;
    line-height: 1.34;
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.02em;
  }
  .page-hero h1 em {
    font-style: normal;
    color: #fff2a8;
  }
  .page-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 760px;
    font-weight: 600;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }

  /* Risk badges */
  .risk-lv {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .risk-lv-0 {
    background: #dcfce7;
    color: #15803d;
  }
  .risk-lv-1 {
    background: #dbeafe;
    color: #1d4ed8;
  }
  .risk-lv-2 {
    background: #fef3c7;
    color: #92400e;
  }
  .risk-lv-3 {
    background: #ffedd5;
    color: #c2410c;
  }
  .risk-lv-4 {
    background: #fee2e2;
    color: #b91c1c;
  }

  /* Law quote */
  .law-quote {
    background: #f6f9fd;
    border-left: 4px solid var(--navy);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 18px 0;
    font-family: "Noto Serif JP", serif;
    font-size: 0.96rem;
    color: var(--text);
    line-height: 1.85;
  }
  .law-quote-label {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 7px;
  }

  /* Alerts */
  .alert {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    margin: 18px 0;
  }
  .alert-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .alert p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.75;
  }
  .alert p + p {
    margin-top: 7px;
  }
  .alert-danger {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--red);
  }
  .alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid var(--orange);
  }
  .alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid var(--green);
  }
  .alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--blue);
  }

  /* Footer */
  .footer {
    background: var(--navy);
    color: #fff;
    padding: 56px 0 0;
    margin-top: 48px;
  }
  .footer-inner {
    width: min(calc(100% - 40px), 1280px);
    margin-inline: auto;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.15fr 0.9fr 0.9fr 1.05fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer h3 {
    color: var(--gold-lt);
    font-size: 1rem;
    margin-bottom: 14px;
    font-family: "Noto Serif JP", serif;
  }
  .footer h4 {
    color: var(--gold-lt);
    font-size: 0.78rem;
    margin-bottom: 13px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .footer ul {
    list-style: none;
  }
  .footer li + li {
    margin-top: 9px;
  }
  .footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--t);
  }
  .footer a:hover {
    color: #fff;
  }
  .footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.75;
  }
  .footer strong {
    color: rgba(255, 255, 255, 0.92);
  }
  .copyright {
    width: min(calc(100% - 40px), 1280px);
    margin-inline: auto;
    padding: 18px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.8rem;
  }
  /* よこむすびカード */
  .yokomusubi-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #fff;
    border: none;
    text-decoration: none;
    transition:
      transform 0.22s,
      box-shadow 0.22s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    max-width: 230px;
  }
  .yokomusubi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }
  .yokomusubi-card img {
    height: 52px;
    width: auto;
    align-self: flex-start;
  }
  .yokomusubi-tagline {
    color: #1a3a52;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 4px;
  }
  .yokomusubi-meta {
    color: #555;
    font-size: 0.74rem;
  }
  .footer-contact {
    margin-top: 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .yokomusubi-img-link {
    display: inline-block;
    margin-top: 4px;
  }
  .yokomusubi-img-link img {
    height: 48px;
    width: auto;
    display: block;
  }
  .yokomusubi-tagline-out {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 8px;
  }
  .yokomusubi-meta-out {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    margin-top: 3px;
    line-height: 1.5;
  }
  /* SNS cards column */
  .footer-sns-sub {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.48);
    margin: -4px 0 14px;
    line-height: 1.5;
  }
  .footer-sns-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .fsns-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition:
      transform 0.2s,
      filter 0.2s;
  }
  .fsns-card:hover {
    filter: brightness(1.18);
    transform: translateX(3px);
    color: #fff;
  }
  .fsns-card svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .fsns-x {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .fsns-yt {
    background: #c00;
    border: 1px solid rgba(255, 60, 60, 0.3);
  }
  .fsns-note {
    background: #006b50;
    border: 1px solid rgba(0, 200, 140, 0.3);
  }
  .fsns-name {
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.2;
  }
  .fsns-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    margin-top: 2px;
  }
  .muni-count {
    background: var(--navy);
    color: #fff;
  }

  .hidden {
    display: none;
  }

  /* ===================================================
   REPORT PAGE
   =================================================== */

  .report-layout-section {
    width: min(calc(100% - 40px), 1040px);
    margin-inline: auto;
    padding: 48px 0 72px;
    display: block;
  }

  .report-toc {
    position: static;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0 0 18px;
    margin: 0 0 34px;
    box-shadow: none;
  }
  .report-toc-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
  }
  .report-toc-title {
    flex-basis: 100%;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 0;
    padding: 0;
    margin: 0 0 2px;
  }
  .report-toc a {
    display: inline;
    padding: 0;
    border-radius: 0;
    font-size: 0.86rem;
    color: var(--text-soft);
    text-decoration: underline;
    text-decoration-color: rgba(11, 42, 74, 0.24);
    text-underline-offset: 4px;
    transition: var(--t);
  }
  .report-toc a:hover {
    background: transparent;
    color: var(--navy);
    font-weight: 700;
    text-decoration-color: var(--gold);
  }

  .report-content-wrap {
    min-width: 0;
    max-width: 920px;
    margin-inline: auto;
  }
  .pta-report-container {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .pta-report-container header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--line);
  }
  .pta-report-container header h1 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .pta-report-container .subtitle {
    color: var(--text-soft);
    font-size: 0.92rem;
  }

  /* Article typography */
  .pta-report-container section {
    margin-bottom: 40px;
  }
  .pta-report-container h2 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
  }
  .pta-report-container h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-2);
    margin: 24px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
  }
  .pta-report-container p {
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 14px;
  }
  .pta-report-container ul,
  .pta-report-container ol {
    margin: 0 0 16px 20px;
    font-size: 0.95rem;
    line-height: 1.88;
    color: var(--text);
  }
  .pta-report-container li + li {
    margin-top: 6px;
  }
  .pta-report-container blockquote {
    background: #f6f9fd;
    border-left: 4px solid var(--navy);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 18px 0;
    font-size: 0.95rem;
    line-height: 1.88;
    color: var(--text);
  }
  .pta-report-container mark {
    background: #fef9c3;
    color: inherit;
    border-radius: 3px;
    padding: 0 2px;
  }
  .pta-report-container strong {
    color: var(--navy);
  }

  /* Source note (small italic note above sections) */
  .source-note {
    background: #f6f9fd;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.83rem;
    line-height: 1.75;
    color: var(--text-soft);
    margin-bottom: 16px;
  }
  .source-note a {
    color: var(--navy-3);
    text-decoration: underline;
  }

  /* Source type table */
  .source-type-table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
  }
  .source-type-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
  }
  .source-type-table thead th {
    background: var(--navy);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }
  .source-type-table tbody th {
    padding: 11px 14px;
    background: #f6f9fd;
    color: var(--navy);
    font-weight: 800;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
    vertical-align: top;
  }
  .source-type-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    line-height: 1.7;
    vertical-align: top;
  }
  .source-type-table tbody tr:last-child th,
  .source-type-table tbody tr:last-child td {
    border-bottom: none;
  }
  .source-type-table a {
    color: var(--navy-3);
    text-decoration: underline;
  }

  /* Claim / Evidence boxes */
  .claim-evidence-box {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
  }
  .claim-evidence-box--final {
    background: #f0fdf4;
    border-color: #bbf7d0;
  }
  .ce-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ce-col {
    padding: 16px;
    border-radius: var(--radius-sm);
  }
  .ce-claim {
    background: #fff;
    border: 1px solid var(--line);
  }
  .ce-evidence {
    background: #f6f9fd;
    border: 1px solid #dbeafe;
  }
  .claim-evidence-box--final .ce-claim {
    background: #dcfce7;
    border-color: #86efac;
  }
  .claim-evidence-box--final .ce-evidence {
    background: #f0fdf4;
    border-color: #bbf7d0;
  }
  .ce-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 8px;
  }
  .ce-col p {
    font-size: 0.91rem;
    line-height: 1.8;
    margin: 0;
  }
  .ce-col ul {
    margin: 0 0 0 16px;
    font-size: 0.89rem;
    line-height: 1.82;
  }
  .ce-col li + li {
    margin-top: 5px;
  }
  .ce-col a {
    color: var(--navy-3);
    text-decoration: underline;
  }

  /* Inline source badge */
  .inline-source-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    vertical-align: middle;
    margin-left: 4px;
  }

  /* Reference link in body */
  .reference-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy-3);
    text-decoration: none;
    background: #f6f9fd;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    padding: 1px 5px;
  }
  .reference-link:hover {
    background: #dbeafe;
  }

  /* Report article footer (references) */
  .report-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid var(--line);
  }
  .report-footer h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
  }
  .report-reference-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .report-reference-list li {
    font-size: 0.84rem;
    color: var(--text-soft);
    line-height: 1.75;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
  }
  .report-reference-list a {
    color: var(--navy-3);
    text-decoration: underline;
  }

  /* Related links section (below article) */
  .report-related-links {
    margin-top: 36px;
  }
  .report-related-links > h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    font-weight: 900;
  }
  .law-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .law-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--t);
  }
  .law-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .law-card .meta {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
  }
  .law-card h3 {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.35;
  }
  .law-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0;
    flex: 1;
  }
  .read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    margin-top: 4px;
  }
  .read-more:hover {
    color: var(--gold);
  }
  .read-more::after {
    content: "→";
    font-size: 0.9em;
  }

  /* ===================================================
   BOARD RESPONSES PAGE (regional accordion)
   =================================================== */
  .region-nav-wrap {
    background: #fff;
    border-bottom: 2px solid var(--line);
    position: sticky;
    top: 72px;
    z-index: 90;
  }
  .region-nav {
    width: min(calc(100% - 40px), 1200px);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    overflow-x: auto;
  }
  .region-nav a {
    display: block;
    padding: 12px 18px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-soft);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: var(--t);
  }
  .region-nav a:hover {
    color: var(--navy);
  }
  .region-nav a.rn-active {
    color: var(--navy);
    border-bottom-color: var(--gold);
  }

  .board-page-main {
    background: var(--bg);
  }
  .board-wrap {
    width: min(calc(100% - 40px), 1200px);
    margin-inline: auto;
    padding: 40px 0 72px;
  }

  .region-block {
    margin-bottom: 56px;
    scroll-margin-top: 130px;
  }
  .region-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
  }
  .region-head h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--navy);
  }
  .region-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }
  .region-chip {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-3);
    text-decoration: none;
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    transition: var(--t);
  }
  .region-chip:hover {
    border-color: var(--navy-3);
    background: rgba(26, 58, 82, 0.06);
  }

  .acc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .acc-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    scroll-margin-top: 130px;
  }
  .acc-item.acc-yokohama {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
  }
  .acc-item.acc-violation {
    border-color: var(--red);
    box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.2);
  }
  .acc-item.acc-pending {
    border-style: dashed;
    background: rgba(107, 114, 128, 0.04);
  }

  .acc-summary {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
  }
  .acc-summary:hover {
    background: rgba(5, 17, 31, 0.03);
  }
  .acc-summary.is-open {
    background: rgba(5, 17, 31, 0.02);
  }
  .acc-sum-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .acc-sum-text {
    flex: 1;
    min-width: 0;
  }
  .acc-sum-city {
    font-weight: 900;
    font-size: 0.97rem;
    color: var(--navy);
    margin-bottom: 3px;
  }
  .acc-sum-reply {
    font-size: 0.88rem;
    line-height: 1.6;
    padding-left: 8px;
  }
  .sum-green .acc-sum-reply {
    color: var(--green);
    border-left: 3px solid var(--green);
  }
  .sum-orange .acc-sum-reply {
    color: #92400e;
    border-left: 3px solid var(--orange);
  }
  .sum-red .acc-sum-reply {
    color: var(--red);
    border-left: 3px solid var(--red);
  }
  .sum-gold .acc-sum-reply {
    color: #78540a;
    border-left: 3px solid var(--gold);
  }
  .acc-sum-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
  }
  .acc-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-top: 4px;
    transition: transform 0.25s;
  }
  .acc-summary.is-open .acc-chevron {
    transform: rotate(180deg);
  }

  .acc-body {
    display: none;
    padding: 0 20px 20px;
  }
  .acc-body.is-open {
    display: block;
  }

  /* FAQ accordion open state */
  .faq-item.is-open .faq-a {
    max-height: 800px;
    padding-bottom: 18px;
  }
  .faq-item.is-open .faq-toggle {
    transform: rotate(180deg);
  }
  .faq-toggle {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  .acc-body-inner {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .acc-body p {
    font-size: 0.92rem;
    line-height: 1.88;
    margin-bottom: 12px;
  }
  .acc-body p:last-child {
    margin-bottom: 0;
  }
  .acc-body ul {
    margin: 0 0 12px 18px;
    font-size: 0.91rem;
    line-height: 1.85;
  }
  .acc-body li + li {
    margin-top: 5px;
  }
  .acc-body strong {
    color: var(--navy);
  }
  .acc-body blockquote {
    background: #f6f9fd;
    border-left: 4px solid var(--navy-3);
    border-radius: 0 10px 10px 0;
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.82;
    margin: 12px 0;
  }
  .violation-inset {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px 16px;
    margin: 14px 0;
  }
  .violation-inset p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 8px;
  }
  .violation-inset p:last-child {
    margin-bottom: 0;
  }

  /* Accordion badges */
  .badge-jishu,
  .badge-iinkai,
  .badge-misei,
  .badge-special,
  .badge-violation {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 999px;
  }
  .badge-jishu {
    background: #dcfce7;
    color: #15803d;
  }
  .badge-iinkai {
    background: #ffedd5;
    color: #c2410c;
  }
  .badge-misei {
    background: #f3f4f6;
    color: #6b7280;
  }
  .badge-special {
    background: #fef9c3;
    color: #78540a;
  }
  .badge-violation {
    background: #fee2e2;
    color: #b91c1c;
  }

  /* Leaflet map on board-responses */
  .board-map-wrap {
    margin-bottom: 36px;
  }
  .board-map-wrap h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
  }
  #board-map {
    height: 400px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-soft);
  }
  .map-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ===================================================
   RESPONSIVE
   =================================================== */
  @media (max-width: 1100px) {
    .footer-grid {
      grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
  }
  @media (max-width: 860px) {
    .header-search {
      display: none;
    }
    .desktop-nav {
      display: none;
    }
    .hamburger {
      display: inline-flex;
    }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
    .report-layout-section {
      padding: 32px 0 48px;
    }
    .report-toc {
      margin-bottom: 24px;
    }
    .ce-row {
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 560px) {
    .footer-grid {
      grid-template-columns: 1fr;
    }
    .law-grid {
      grid-template-columns: 1fr;
    }
  }

  /* =================================================
   MOBILE FIXES — 600px以下
   ================================================= */
  @media (max-width: 600px) {
    /* .pg ページ共通の2カラムインライングリッドを1カラム化 */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
      grid-template-columns: 1fr;
    }

    /* .safes (施設・会費ページの公/私比較グリッド) */
    .safes {
      grid-template-columns: 1fr;
    }

    /* チェックテーブルの横スクロール許可 */
    .check-table {
      font-size: 0.8rem;
      display: block;
      overflow-x: auto;
      white-space: nowrap;
    }
    .check-table th,
    .check-table td {
      padding: 9px 10px;
    }

    /* ページヒーローのボタン縦並び */
    .page-hero .hero-actions {
      flex-direction: column;
      align-items: flex-start;
    }
    .page-hero .hero-actions a {
      width: 100%;
      text-align: center;
    }

    /* スコープグリッド(personnel.html OK/NG) */
    .scope-grid {
      grid-template-columns: 1fr;
    }

    /* フッターグリッド */
    .footer-grid {
      grid-template-columns: 1fr;
    }

    /* .pg セクション余白調整 */
    .pg {
      padding: 32px 0 64px;
    }

    /* alert グリッド内のリスト */
    .alert ul {
      padding-left: 14px;
    }
  }

  /* ============================================================
   PAGE BANNER  (サブページ上部ヒーロー画像帯)
   ============================================================ */
  .page-banner {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  .page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(5, 17, 31, 0.24) 0%,
      rgba(5, 17, 31, 0.05) 100%
    );
  }
  .page-banner-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), 1280px);
    margin-inline: auto;
    padding-bottom: 32px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(5, 17, 31, 0.46);
  }
  .page-banner-kicker {
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-lt, #fcd34d);
    margin-bottom: 7px;
  }
  .page-banner-title {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.35rem, 3vw, 1.95rem);
    font-weight: 900;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
  @media (max-width: 680px) {
    .page-banner {
      height: 160px;
    }
    .page-banner-title {
      font-size: 1.2rem;
    }
    .page-banner-content {
      padding-bottom: 22px;
    }
  }

  /* === Principal liability evidence block === */
  .principal-liability-note {
    max-width: 900px;
    margin: 28px auto 34px;
    color: var(--text, #334155);
  }

  .principal-liability-note p {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    line-height: 1.95;
  }

  .principal-liability-note ul {
    margin: 0.25rem 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.45rem;
  }

  .principal-liability-note li {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .principal-liability-evidence {
    max-width: 680px;
    margin: 1.8rem auto;
    padding: 1rem;
    border: 1px solid rgba(11, 42, 74, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(11, 42, 74, 0.08);
  }

  .principal-liability-evidence img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid rgba(11, 42, 74, 0.12);
  }

  .principal-liability-evidence figcaption {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    line-height: 1.8;
    color: #4b5563;
  }

  @media (max-width: 640px) {
    .principal-liability-note {
      margin: 24px 0 28px;
    }

    .principal-liability-note p {
      font-size: 0.94rem;
    }

    .principal-liability-note ul {
      padding-left: 1rem;
    }

    .principal-liability-evidence {
      margin: 1.5rem 0;
      padding: 0.85rem;
      border-radius: 14px;
    }

    .principal-liability-evidence img {
      width: 86%;
      max-width: 280px;
    }
  }

  /* === PTA officer visual guide === */
  .officer-visual-guide {
    padding: 4rem 0;
    background: #f8fafc;
  }

  .officer-visual-guide .section-kicker {
    color: #7a5c00;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }

  .officer-visual-guide h2 {
    margin: 0 0 1rem;
    color: var(--navy, #0b2a4a);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.32;
  }

  .officer-visual-lead,
  .officer-visual-note {
    max-width: 860px;
    line-height: 1.9;
  }

  .officer-visual-lead {
    margin: 0;
    color: var(--text, #1a1a1a);
    font-size: 1rem;
  }

  .officer-visual-note {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--gold, #d4af37);
    border-radius: 0 12px 12px 0;
    background: #fff;
    color: var(--text-soft, #4b5563);
    font-size: 0.92rem;
  }

  .officer-visual-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
  }

  .officer-visual-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 1.75rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid rgba(11, 42, 74, 0.12);
    border-radius: var(--radius, 16px);
    background: #fff;
    box-shadow: 0 14px 34px rgba(11, 42, 74, 0.08);
  }

  .officer-visual-card:nth-child(even) {
    grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  }

  .officer-visual-card:nth-child(even) .officer-visual-text {
    order: 2;
  }

  .officer-visual-card:nth-child(even) .officer-visual-figure {
    order: 1;
  }

  .officer-visual-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: var(--navy, #0b2a4a);
    color: #fff;
    font-weight: 900;
    margin-bottom: 0.75rem;
  }

  .officer-visual-text h3 {
    margin: 0 0 0.75rem;
    color: var(--navy, #0b2a4a);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.35;
  }

  .officer-visual-text p {
    margin: 0;
    color: var(--text, #1a1a1a);
    line-height: 1.9;
  }

  .officer-visual-text ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.9;
    color: var(--text, #1a1a1a);
  }

  .officer-visual-text li + li {
    margin-top: 0.3rem;
  }

  .officer-visual-figure {
    margin: 0;
  }

  .officer-visual-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(11, 42, 74, 0.12);
    background: #fff;
  }

  .officer-visual-figure figcaption {
    margin-top: 0.65rem;
    font-size: 0.86rem;
    line-height: 1.7;
    color: #64748b;
  }

  .officer-visual-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
  }

  .officer-visual-related a {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(11, 42, 74, 0.14);
    border-radius: 999px;
    background: #fff;
    color: var(--navy, #0b2a4a);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--t, all 0.26s ease);
  }

  .officer-visual-related a:hover {
    border-color: var(--gold, #d4af37);
    box-shadow: var(--shadow-sm, 0 4px 16px rgba(5, 17, 31, 0.07));
  }

  .officer-visual-cta {
    margin-top: 2rem;
    padding: 1.75rem;
    border-radius: var(--radius, 16px);
    background: linear-gradient(
      135deg,
      var(--navy, #0b2a4a),
      var(--navy-3, #2d5a8e)
    );
    color: #fff;
  }

  .officer-visual-cta h3 {
    margin: 0 0 0.75rem;
    color: var(--gold-lt, #f4e7a6);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.35;
  }

  .officer-visual-cta p {
    max-width: 900px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.9;
  }

  .officer-visual-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  @media (max-width: 860px) {
    .officer-visual-card,
    .officer-visual-card:nth-child(even) {
      grid-template-columns: 1fr;
    }

    .officer-visual-card:nth-child(even) .officer-visual-text,
    .officer-visual-card:nth-child(even) .officer-visual-figure {
      order: initial;
    }
  }

  @media (max-width: 640px) {
    .officer-visual-guide {
      padding: 2.5rem 0;
    }

    .officer-visual-card {
      gap: 1rem;
      padding: 1rem;
    }

    .officer-visual-note {
      padding: 0.9rem 1rem;
    }

    .officer-visual-figure img {
      border-radius: 10px;
    }

    .officer-visual-related a,
    .officer-visual-cta-links a {
      width: 100%;
      justify-content: center;
    }

    .officer-visual-cta {
      padding: 1.25rem;
    }
  }

  /* === PTA officer guidebook chapter accordions === */
  .guidebook-text-body .gb-chapter-accordion {
    margin: 0 0 14px;
    border: 1px solid rgba(11, 42, 74, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11, 42, 74, 0.06);
    overflow: hidden;
  }

  .guidebook-text-body .gb-chapter-summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 4.25rem;
    padding: 1rem 1.2rem;
    color: #1e3a5f;
    cursor: pointer;
    list-style: none;
  }

  .guidebook-text-body .gb-chapter-summary::-webkit-details-marker {
    display: none;
  }

  .guidebook-text-body .gb-chapter-summary::marker {
    content: "";
  }

  .guidebook-text-body .gb-chapter-summary:hover {
    background: #f8fafc;
  }

  .guidebook-text-body .gb-chapter-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.4rem;
    height: 2.25rem;
    border-radius: 999px;
    background: #1e3a5f;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
    flex-shrink: 0;
  }

  .guidebook-text-body .gb-chapter-title {
    flex: 1;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.45;
  }

  .guidebook-text-body .gb-chapter-meta,
  .guidebook-text-body .gb-chapter-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.25rem 0.68rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .guidebook-text-body .gb-chapter-meta {
    border: 1px solid rgba(212, 175, 55, 0.38);
    background: rgba(212, 175, 55, 0.1);
    color: #7a5c00;
  }

  .guidebook-text-body .gb-chapter-state {
    border: 1px solid rgba(11, 42, 74, 0.16);
    background: #f8fafc;
    color: #475569;
  }

  .guidebook-text-body .gb-chapter-state::before {
    content: "開く";
  }

  .guidebook-text-body .gb-chapter-accordion[open] .gb-chapter-state::before {
    content: "閉じる";
  }

  .guidebook-text-body .gb-chapter-content {
    padding: 1.25rem 1.4rem 1.5rem;
    border-top: 1px solid rgba(11, 42, 74, 0.1);
  }

  .guidebook-text-body .gb-chapter-accordion:not([open]) > .gb-chapter-content {
    display: none;
  }

  @media (max-width: 640px) {
    .guidebook-text-body .gb-chapter-summary {
      align-items: flex-start;
      gap: 0.6rem;
      padding: 0.9rem;
    }

    .guidebook-text-body .gb-chapter-title {
      font-size: 0.94rem;
    }

    .guidebook-text-body .gb-chapter-number {
      min-width: 3.8rem;
      height: 2rem;
      font-size: 0.78rem;
    }

    .guidebook-text-body .gb-chapter-meta {
      display: none;
    }

    .guidebook-text-body .gb-chapter-state {
      min-width: 3.25rem;
      font-size: 0.72rem;
    }

    .guidebook-text-body .gb-chapter-content {
      padding: 1rem;
    }
  }

  /* === PTA officer first check and source links === */
  .officer-first-check {
    padding: 4rem 0;
    background: #f8fafc;
    border-bottom: 1px solid rgba(11, 42, 74, 0.1);
  }

  .officer-first-check h2 {
    margin: 0 0 1rem;
    color: var(--navy, #0b2a4a);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.35;
  }

  .officer-first-check-lead {
    max-width: 900px;
    margin: 0;
    color: var(--text, #1a1a1a);
    line-height: 1.9;
  }

  .officer-first-check-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .officer-first-check-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 11rem;
    padding: 1rem;
    border: 1px solid rgba(11, 42, 74, 0.12);
    border-radius: 14px;
    background: #fff;
    color: var(--text, #1a1a1a);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(11, 42, 74, 0.06);
    transition: var(--t, all 0.26s ease);
  }

  .officer-first-check-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
  }

  .officer-first-check-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: var(--navy, #0b2a4a);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
  }

  .officer-first-check-card strong {
    color: var(--navy, #0b2a4a);
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .officer-first-check-card em {
    color: var(--text-soft, #4b5563);
    font-size: 0.84rem;
    font-style: normal;
    line-height: 1.65;
  }

  .officer-first-check-note {
    margin: 1.3rem 0 0;
    color: var(--text-soft, #4b5563);
    line-height: 1.8;
  }

  .officer-first-check-note a {
    color: var(--navy, #0b2a4a);
    font-weight: 900;
  }

  .officer-source-pdf {
    padding: 3rem 0;
    background: #fff;
  }

  .officer-source-pdf-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(11, 42, 74, 0.12);
    border-radius: 16px;
    background: #f8fafc;
  }

  .officer-source-pdf-label {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: #7a5c00;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .officer-source-pdf h2 {
    margin: 0 0 0.45rem;
    color: var(--navy, #0b2a4a);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.35;
  }

  .officer-source-pdf p {
    margin: 0;
    color: var(--text-soft, #4b5563);
    line-height: 1.8;
  }

  .officer-source-pdf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  /* === PTA officer visual guide flow === */
  .officer-visual-phase {
    margin-top: 2rem;
  }

  .officer-visual-phase + .officer-visual-phase {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(11, 42, 74, 0.1);
  }

  .officer-visual-phase-head {
    max-width: 920px;
  }

  .officer-visual-phase-head span {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: #7a5c00;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .officer-visual-phase-head h3 {
    margin: 0 0 0.5rem;
    color: var(--navy, #0b2a4a);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.3rem, 2.2vw, 1.85rem);
    line-height: 1.35;
  }

  .officer-visual-phase-head p {
    margin: 0;
    color: var(--text-soft, #4b5563);
    line-height: 1.85;
  }

  .officer-visual-cta-with-image {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 1.5rem;
    align-items: center;
  }

  .officer-visual-cta-media {
    margin: 0;
  }

  .officer-visual-cta-media img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: #fff;
  }

  .officer-visual-cta-media figcaption {
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.6;
  }

  @media (max-width: 1100px) {
    .officer-first-check-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 860px) {
    .officer-first-check-grid,
    .officer-visual-cta-with-image {
      grid-template-columns: 1fr;
    }

    .officer-source-pdf-inner {
      align-items: flex-start;
      flex-direction: column;
    }

    .officer-source-pdf-actions {
      justify-content: flex-start;
    }
  }

  @media (max-width: 640px) {
    .officer-first-check {
      padding: 2.5rem 0;
    }

    .officer-first-check-grid {
      gap: 0.65rem;
    }

    .officer-first-check-card {
      min-height: 0;
    }

    .officer-source-pdf-actions a {
      width: 100%;
      justify-content: center;
    }
  }

  /* === Shared photo hero backgrounds === */
  .page-hero--photo {
    position: relative;
    overflow: hidden;
    background: #0b2a4a;
    color: #fff;
  }

  .page-hero--photo .page-hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .page-hero--photo .page-hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.24) saturate(1.08);
  }

  .page-hero--photo .page-hero-bg-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(5, 17, 31, 0.2) 0%,
        rgba(5, 17, 31, 0.08) 45%,
        rgba(5, 17, 31, 0.02) 100%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(5, 17, 31, 0.06) 100%
      );
  }

  .page-hero--photo .page-hero-inner {
    position: relative;
    z-index: 1;
  }

  .page-hero--photo h1,
  .page-hero--photo p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(5, 17, 31, 0.42);
  }

  .page-hero--photo h1 em {
    color: var(--gold-lt);
  }

  .page-hero--photo .page-hero-kicker {
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.42);
    color: var(--gold-lt);
  }

  .page-hero--photo .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
  }

  .page-hero--photo .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
  }

  @media (max-width: 720px) {
    .page-hero--photo .page-hero-bg-img::after {
      background:
        linear-gradient(
          90deg,
          rgba(5, 17, 31, 0.28) 0%,
          rgba(5, 17, 31, 0.14) 60%,
          rgba(5, 17, 31, 0.05) 100%
        ),
        linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.08) 0%,
          rgba(5, 17, 31, 0.08) 100%
        );
    }
  }

  /* === Document brief pages === */
  .document-brief-page {
    background: #f8fafc;
  }

  .document-brief {
    width: min(calc(100% - 40px), 1040px);
    margin: 0 auto;
    padding: 42px 0 72px;
  }

  .document-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    color: var(--text-soft);
  }

  .document-breadcrumb a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
  }

  .document-brief-hero,
  .document-summary-card,
  .document-point-list,
  .document-original,
  .document-list-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
  }

  .document-brief-hero {
    padding: clamp(28px, 5vw, 52px);
    border-top: 5px solid var(--gold);
    background:
      linear-gradient(
        90deg,
        rgba(5, 17, 31, 0.34) 0%,
        rgba(5, 17, 31, 0.16) 54%,
        rgba(5, 17, 31, 0.05) 100%
      ),
      url("../assets/slides/1.jpg") center/cover;
  }

  .document-brief-hero h1 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.28;
    color: #fff;
    text-shadow: 0 2px 12px rgba(5, 17, 31, 0.34);
    margin: 0 0 16px;
  }

  .document-brief-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
  }

  .document-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .document-meta-item {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
  }

  .document-meta-item span {
    display: block;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
  }

  .document-meta-item strong {
    color: var(--navy);
    font-size: 0.92rem;
  }

  .document-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 18px;
    margin-top: 18px;
  }

  .document-summary-card,
  .document-point-list,
  .document-original,
  .document-list-panel {
    padding: clamp(22px, 4vw, 32px);
  }

  .document-summary-card h2,
  .document-point-list h2,
  .document-original h2,
  .document-list-panel h2 {
    color: var(--navy);
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 0 0 14px;
  }

  .document-summary-card ul,
  .document-point-list ul {
    padding-left: 1.2rem;
    margin: 0;
  }

  .document-summary-card li,
  .document-point-list li {
    margin: 8px 0;
    line-height: 1.8;
  }

  .document-point-list p,
  .document-original p,
  .document-list-panel p {
    color: var(--text);
    line-height: 1.85;
  }

  .document-original {
    margin-top: 18px;
    border-left: 5px solid var(--navy-3);
  }

  .document-figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
  }

  .document-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .document-related-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(5, 17, 31, 0.07);
    color: var(--navy);
    font-weight: 800;
    font-size: 0.84rem;
    text-decoration: none;
  }

  .source-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .pdf-link-note {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .document-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
  }

  .document-list-card {
    display: block;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: var(--t);
  }

  .document-list-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }

  .document-list-card strong {
    display: block;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .document-list-card span {
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.65;
  }

  @media (max-width: 820px) {
    .document-section-grid {
      grid-template-columns: 1fr;
    }

    .source-card-actions a {
      width: 100%;
      justify-content: center;
    }
  }

  /* === Parent guide document-first flow === */
  .parent-lead-story,
  .parent-pattern-list,
  .parent-example-section,
  .parent-document-check,
  .parent-check-app,
  .parent-next-action {
    padding: 4.25rem 0;
  }

  .parent-lead-story,
  .parent-example-section,
  .parent-next-action {
    background: #fff;
  }

  .parent-pattern-list,
  .parent-document-check {
    background: #f8fafc;
  }

  .parent-flow-inner,
  .parent-lead-story-inner {
    width: min(calc(100% - 2.5rem), 1040px);
    margin: 0 auto;
  }

  .parent-lead-story-inner {
    max-width: 820px;
  }

  .parent-lead-kicker {
    display: inline-flex;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.14);
    color: #7a5c00;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .parent-lead-story h2,
  .parent-check-app-card h2 {
    margin: 0 0 1rem;
    color: var(--navy, #0b2a4a);
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.35;
  }

  .parent-lead-story p,
  .parent-example-text p,
  .parent-check-app-card p {
    color: var(--text, #1f2937);
    line-height: 1.95;
  }

  .parent-lead-story p {
    margin: 0 0 1rem;
    font-size: 1.03rem;
  }

  .parent-pattern-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .parent-pattern-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(11, 42, 74, 0.1);
    border-left: 4px solid var(--gold, #d4af37);
    border-radius: 12px;
    background: #fff;
  }

  .parent-pattern-item span,
  .parent-checklist span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(11, 42, 74, 0.08);
    color: var(--navy, #0b2a4a);
    font-size: 0.8rem;
    font-weight: 900;
  }

  .parent-pattern-item p,
  .parent-checklist p {
    margin: 0.12rem 0 0;
    color: var(--text, #1f2937);
    line-height: 1.75;
  }

  .parent-example-case {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
    width: min(calc(100% - 2.5rem), 1040px);
    margin: 1.4rem auto 0;
    padding: 1.5rem;
    border: 1px solid rgba(11, 42, 74, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(11, 42, 74, 0.06);
  }

  .parent-example-case:first-of-type {
    margin-top: 2rem;
  }

  .parent-case-label {
    display: inline-flex;
    margin-bottom: 0.65rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(185, 28, 28, 0.08);
    color: #991b1b;
    font-size: 0.75rem;
    font-weight: 900;
  }

  .parent-example-text h3 {
    margin: 0 0 0.75rem;
    color: var(--navy, #0b2a4a);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.45;
  }

  .parent-example-text p {
    margin: 0 0 0.9rem;
  }

  .parent-example-text ul {
    margin: 0.8rem 0 1rem;
    padding-left: 1.2rem;
    color: var(--text, #1f2937);
    line-height: 1.85;
  }

  .parent-text-link {
    display: inline-flex;
    align-items: center;
    color: var(--navy, #0b2a4a);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 2px solid rgba(212, 175, 55, 0.55);
  }

  .parent-text-link:hover {
    color: #7a5c00;
  }

  .parent-example-figure {
    margin: 0;
  }

  .parent-example-placeholder {
    display: grid;
    min-height: 230px;
    place-items: center;
    padding: 1.25rem;
    border: 1px dashed rgba(11, 42, 74, 0.28);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(11, 42, 74, 0.05)),
      #fbfcff;
    text-align: center;
  }

  .parent-example-placeholder span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--navy, #0b2a4a);
    font-size: 1rem;
    font-weight: 900;
  }

  .parent-example-placeholder code {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.55rem;
    overflow-wrap: anywhere;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-soft, #4b5563);
    font-size: 0.78rem;
  }

  .parent-example-figure figcaption {
    margin-top: 0.7rem;
    color: var(--text-soft, #4b5563);
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .parent-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 2rem;
  }

  .parent-checklist div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(11, 42, 74, 0.1);
  }

  .parent-check-app-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: center;
    width: min(calc(100% - 2.5rem), 1040px);
    margin: 0 auto;
    padding: 2rem;
    border-radius: 18px;
    background:
      linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.18),
        rgba(212, 175, 55, 0) 42%
      ),
      var(--navy, #0b2a4a);
    color: #fff;
    box-shadow: 0 18px 42px rgba(11, 42, 74, 0.16);
  }

  .parent-check-app-card h2,
  .parent-check-app-card p {
    color: #fff;
  }

  .parent-check-app-card h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  }

  .parent-check-app-card p {
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .parent-check-app-note {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
  }

  .parent-check-app-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 240px;
  }

  .parent-check-app-actions a {
    justify-content: center;
    text-align: center;
  }

  .parent-check-app-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.46);
  }

  .parent-check-app-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .parent-related-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.8rem;
  }

  .parent-related-links a {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(11, 42, 74, 0.12);
    border-radius: 12px;
    background: #fff;
    color: var(--navy, #0b2a4a);
    font-weight: 900;
    text-decoration: none;
  }

  .parent-related-links a:hover {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 10px 24px rgba(11, 42, 74, 0.08);
  }

  @media (max-width: 900px) {
    .parent-pattern-grid,
    .parent-example-case,
    .parent-checklist,
    .parent-check-app-card,
    .parent-related-links {
      grid-template-columns: 1fr;
    }

    .parent-check-app-actions {
      min-width: 0;
    }
  }

  @media (max-width: 640px) {
    .parent-lead-story,
    .parent-pattern-list,
    .parent-example-section,
    .parent-document-check,
    .parent-check-app,
    .parent-next-action {
      padding: 3rem 0;
    }

    .parent-flow-inner,
    .parent-lead-story-inner,
    .parent-example-case,
    .parent-check-app-card {
      width: min(calc(100% - 1.5rem), 1040px);
    }

    .parent-example-case,
    .parent-check-app-card {
      padding: 1.1rem;
      border-radius: 14px;
    }

    .parent-example-placeholder {
      min-height: 190px;
    }
  }

  /* ===================================================
   Editorial reading design refinements — 2026-06-03
   本文中心のまま、行政資料・白書風に読ませるための共通部品
   =================================================== */
  .editorial-toc {
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(5, 17, 31, 0.08);
    margin: 28px 0 34px;
  }
  .editorial-toc-title {
    display: flex;
    align-items: center;
    gap: 0.65em;
    background: linear-gradient(90deg, #12145d 0%, #0b75b8 100%);
    color: #fff;
    padding: 13px 18px;
    font-weight: 900;
    letter-spacing: 0.03em;
  }
  .editorial-toc-title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
  }
  .editorial-toc ol {
    list-style: none;
    counter-reset: toc;
    margin: 0;
    padding: 14px 18px 16px;
  }
  .editorial-toc li {
    counter-increment: toc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(5, 17, 31, 0.07);
  }
  .editorial-toc li:last-child {
    border-bottom: 0;
  }
  .editorial-toc li::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--navy);
    font-weight: 900;
    font-size: 0.78rem;
    line-height: 1.8;
    min-width: 2.4em;
  }
  .editorial-toc a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
  }
  .editorial-toc a:hover {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
  .editorial-bluebar {
    display: flex;
    align-items: center;
    gap: 0.65em;
    margin: 26px 0 18px;
    padding: 13px 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, #17205f 0%, #0b83c9 100%);
    color: #fff;
    font-weight: 900;
    line-height: 1.55;
    box-shadow: 0 10px 24px rgba(11, 117, 184, 0.18);
  }
  .editorial-bluebar::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 auto;
  }
  .editorial-panel {
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-left: 6px solid var(--navy);
    border-radius: 14px;
    padding: 26px 28px;
    margin: 26px 0;
    box-shadow: 0 10px 30px rgba(5, 17, 31, 0.08);
  }
  .editorial-panel--gold {
    border-left-color: var(--gold);
  }
  .editorial-panel h2,
  .editorial-section h2 {
    font-family: "Noto Serif JP", serif;
    color: var(--navy);
    font-weight: 900;
    line-height: 1.45;
  }
  .editorial-panel p,
  .editorial-section p {
    line-height: 2.05;
  }
  .editorial-section {
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-radius: 14px;
    padding: 28px 30px;
    margin: 28px 0;
    box-shadow: 0 8px 24px rgba(5, 17, 31, 0.06);
  }
  .editorial-section h2 {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f3f6fa;
    border-left: 5px solid var(--navy);
  }
  .editorial-flow {
    list-style: none;
    counter-reset: flow;
    margin: 20px 0 4px;
    padding: 0;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }
  .editorial-flow li {
    counter-increment: flow;
    position: relative;
    min-height: 64px;
    padding: 16px 20px 16px 74px;
    border-bottom: 1px solid rgba(5, 17, 31, 0.08);
    line-height: 1.9;
  }
  .editorial-flow li:last-child {
    border-bottom: 0;
  }
  .editorial-flow li::before {
    content: counter(flow);
    position: absolute;
    left: 22px;
    top: 17px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(5, 17, 31, 0.18);
  }
  .editorial-flow--compact li {
    padding-top: 13px;
    padding-bottom: 13px;
    min-height: 58px;
  }
  .editorial-matrix {
    margin: 22px 0 6px;
    border: 1px solid rgba(5, 17, 31, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }
  .editorial-matrix-row {
    display: grid;
    grid-template-columns: minmax(170px, 240px) 1fr;
    border-bottom: 1px solid rgba(5, 17, 31, 0.08);
  }
  .editorial-matrix-row:last-child {
    border-bottom: 0;
  }
  .editorial-matrix-term {
    background: #f3f6fa;
    color: var(--navy);
    font-weight: 900;
    padding: 14px 16px;
    border-right: 1px solid rgba(5, 17, 31, 0.08);
  }
  .editorial-matrix-desc {
    padding: 14px 18px;
    line-height: 1.9;
  }
  .editorial-warning {
    margin: 24px 0;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-left: 6px solid var(--gold);
    background: linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.13),
      rgba(255, 255, 255, 0.92)
    );
    color: var(--text);
    line-height: 1.95;
  }
  .editorial-warning strong {
    color: var(--navy);
  }
  .editorial-link-list {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
  }
  .editorial-link-list a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-left: 4px solid var(--navy);
    border-radius: 8px;
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
  }
  .editorial-link-list a::after {
    content: "→";
    font-weight: 900;
    color: var(--gold);
  }
  .editorial-link-list a:hover {
    background: #f8fafc;
  }
  .documents-page .documents-card,
  .admin-materials-page .pdf-card {
    box-shadow: 0 8px 22px rgba(5, 17, 31, 0.06);
  }
  @media (max-width: 720px) {
    .editorial-panel,
    .editorial-section {
      padding: 22px 18px;
      border-radius: 12px;
    }
    .editorial-section h2 {
      padding: 10px 12px;
      font-size: 1.15rem;
    }
    .editorial-matrix-row {
      grid-template-columns: 1fr;
    }
    .editorial-matrix-term {
      border-right: 0;
      border-bottom: 1px solid rgba(5, 17, 31, 0.08);
    }
    .editorial-flow li {
      padding-left: 62px;
    }
    .editorial-flow li::before {
      left: 16px;
    }
  }

  /* Stage3: proper-management / archive readability refinements */
  .proper-management-page .pm-main,
  .national-archive-page main {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  }
  .national-archive-page #archive-reading-method .editorial-panel {
    border-top: 8px solid var(--navy);
  }
  .national-archive-page #archive-reading-method .editorial-matrix-term {
    background: #edf2f7;
  }
  .national-archive-page .archive-library-note p + p {
    margin-top: 14px;
  }

  /* Stage4: homepage / journal editorial layout refinements */
  .homepage-method-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
    padding: 92px 0;
    border-top: 1px solid rgba(5, 17, 31, 0.08);
    border-bottom: 1px solid rgba(5, 17, 31, 0.08);
  }
  .homepage-method-head {
    max-width: 940px;
    margin: 0 auto 34px;
    text-align: left;
  }
  .homepage-method-head .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    box-shadow: 0 4px 12px rgba(5, 17, 31, 0.05);
  }
  .homepage-method-body {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(5, 17, 31, 0.1);
  }
  .homepage-method-statement {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0;
    background: linear-gradient(90deg, #122755 0%, #0b74b7 100%);
    color: #fff;
  }
  .homepage-method-label {
    display: grid;
    place-items: center;
    padding: 20px;
    font-weight: 900;
    letter-spacing: 0.08em;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }
  .homepage-method-statement p {
    margin: 0;
    padding: 20px 24px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.92);
  }
  .homepage-reading-flow {
    list-style: none;
    counter-reset: homeflow;
    margin: 0;
    padding: 8px 0;
  }
  .homepage-reading-flow li {
    counter-increment: homeflow;
    position: relative;
    margin: 0 24px;
    padding: 18px 18px 18px 74px;
    border-bottom: 1px solid rgba(5, 17, 31, 0.08);
    line-height: 1.95;
    font-weight: 700;
    color: #243244;
  }
  .homepage-reading-flow li:last-child {
    border-bottom: 0;
  }
  .homepage-reading-flow li::before {
    content: counter(homeflow, decimal-leading-zero);
    position: absolute;
    left: 14px;
    top: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f3f6fa;
    color: var(--navy);
    font-weight: 900;
    border: 1px solid rgba(5, 17, 31, 0.12);
  }
  .homepage-method-note {
    margin: 0;
    padding: 20px 24px;
    background: linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.15),
      rgba(255, 255, 255, 0.95)
    );
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    line-height: 2;
  }
  .homepage-method-note strong {
    color: var(--navy);
  }
  .entry-section .entry-section-kicker,
  .feature-duo-section .section-kicker {
    letter-spacing: 0.12em;
  }
  .entry-section .entry-section-lead,
  .feature-duo-section .section-lead {
    max-width: 900px;
    line-height: 2;
  }
  .journal-page .journal-list-heading {
    font-family: "Noto Serif JP", serif;
    color: var(--navy);
    border-bottom: 3px solid var(--navy);
    padding-bottom: 10px;
    margin-top: 30px;
  }
  .journal-page .journal-list-lead {
    padding: 14px 18px;
    border-left: 5px solid var(--gold);
    background: #fffaf0;
    border-radius: 0 10px 10px 0;
    line-height: 1.95;
  }
  .journal-page .category-bar {
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-radius: 12px;
    padding: 14px;
  }
  .journal-page .article-list {
    counter-reset: journalitem;
    gap: 12px;
  }
  .journal-page .journal-layout .article-card {
    counter-increment: journalitem;
    display: block;
    position: relative;
    padding: 0 0 0 82px;
    border-radius: 0;
    border: 1px solid rgba(5, 17, 31, 0.12);
    border-left: 7px solid var(--navy);
    background: #fff;
    box-shadow: none;
    min-height: 0;
  }
  .journal-page .journal-layout .article-card::before {
    content: counter(journalitem, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f3f6fa;
    color: var(--navy);
    font-weight: 900;
    border: 1px solid rgba(5, 17, 31, 0.12);
  }
  .journal-page .journal-layout .article-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(5, 17, 31, 0.1);
    border-left-color: var(--gold);
  }
  .journal-page .journal-layout .ac-thumb {
    display: none;
  }
  .journal-page .journal-layout .ac-body {
    padding: 20px 24px 22px;
  }
  .journal-page .journal-layout .ac-title {
    font-size: 1.08rem;
    line-height: 1.65;
  }
  .journal-page .journal-layout .ac-excerpt {
    margin-top: 8px;
    line-height: 1.9;
  }
  .journal-page .journal-layout .ac-tags {
    display: none;
  }
  .journal-page .journal-layout .ac-meta {
    margin-bottom: 6px;
  }
  @media (max-width: 720px) {
    .homepage-method-section {
      padding: 64px 0;
    }
    .homepage-method-statement {
      grid-template-columns: 1fr;
    }
    .homepage-method-label {
      justify-content: start;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }
    .homepage-reading-flow li {
      margin: 0 14px;
      padding-left: 62px;
    }
    .homepage-reading-flow li::before {
      left: 8px;
    }
    .journal-page .journal-layout .article-card {
      padding-left: 64px;
    }
    .journal-page .journal-layout .article-card::before {
      left: 12px;
      width: 36px;
      height: 36px;
      font-size: 0.78rem;
    }
  }

  /* Stage5: legal consistency and timeline reading note */
  .timeline-reading-note {
    margin: 0 0 38px;
    background: #fff;
  }
  .timeline-reading-note h3 {
    margin: 0 0 12px;
    font-family: "Noto Serif JP", serif;
    color: var(--navy);
    font-size: 1.25rem;
  }
  .timeline-reading-note p {
    line-height: 1.95;
    color: var(--text);
  }
  .timeline-reading-note p + p {
    margin-top: 12px;
  }
  .timeline-reading-note a {
    font-weight: 900;
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Stage6: editorial brief blocks for practical guide pages */
  .editorial-brief {
    margin: 42px auto 52px;
    max-width: 1120px;
    border: 1px solid rgba(26, 59, 92, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
    box-shadow: 0 18px 48px rgba(9, 30, 66, 0.08);
    overflow: hidden;
  }
  .editorial-brief-band {
    background: linear-gradient(90deg, #0d2a46 0%, #164a76 55%, #1d6fa5 100%);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    padding: 14px 24px;
  }
  .editorial-brief-body {
    padding: 28px 30px 30px;
  }
  .editorial-brief-body h2 {
    margin: 0 0 14px;
    color: #0d2a46;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.45;
    letter-spacing: 0.02em;
  }
  .editorial-brief-body > p {
    margin: 0 0 22px;
    color: #334155;
    line-height: 2;
    font-size: 1rem;
  }
  .editorial-brief-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .editorial-brief-point {
    background: #fff;
    border: 1px solid rgba(26, 59, 92, 0.12);
    border-radius: 18px;
    padding: 18px 16px 16px;
    position: relative;
    min-height: 150px;
  }
  .editorial-brief-point span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #0d2a46;
    color: #fff;
    font-weight: 900;
    font-size: 0.84rem;
    margin-bottom: 12px;
  }
  .editorial-brief-point strong {
    display: block;
    color: #0d2a46;
    font-size: 1.02rem;
    margin-bottom: 8px;
  }
  .editorial-brief-point p {
    margin: 0;
    color: #526274;
    font-size: 0.9rem;
    line-height: 1.75;
  }
  .parent-editorial-brief,
  .pta-editorial-brief,
  .fee-editorial-brief,
  .personnel-editorial-brief,
  .facilities-editorial-brief {
    width: min(1120px, calc(100% - 40px));
  }
  @media (max-width: 900px) {
    .editorial-brief-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 560px) {
    .editorial-brief {
      border-radius: 18px;
      margin: 28px auto 36px;
    }
    .editorial-brief-body {
      padding: 22px 18px;
    }
    .editorial-brief-grid {
      grid-template-columns: 1fr;
    }
    .editorial-brief-point {
      min-height: auto;
    }
  }

  /* Stage9: case / reality editorial caution blocks */
  .case-caution-note,
  .reality-reading-note {
    margin: 32px 0 38px;
    border-left: 6px solid var(--blue);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  }
  .case-caution-note h2,
  .reality-reading-note h2 {
    background: linear-gradient(90deg, var(--navy), #17466f);
    color: #fff;
  }
  .case-caution-note p,
  .reality-reading-note p {
    color: var(--text);
    font-size: 1rem;
  }
  .reality-page .problem-note-text strong,
  .case-caution-note strong {
    color: var(--navy);
  }

  /* ===================================================
   Stage13: visual refinement for an administrative / white-paper site
   参考：行政デザインシステムの「一貫した部品」「可読性」「アクセシビリティ」方針を踏まえ、
   カード増殖ではなく本文・章見出し・資料ブロックの見え方を整える。
   =================================================== */
  :root {
    --paper: #ffffff;
    --paper-soft: #f7f9fc;
    --ink: #172033;
    --muted: #5a6678;
    --rule: #dce4ef;
    --deep: #102a43;
    --deep-2: #17446d;
    --accent: #d8aa2f;
    --accent-soft: #fff6d8;
  }
  body {
    color: var(--ink);
    background:
      radial-gradient(
        circle at 10% 0%,
        rgba(29, 78, 216, 0.045),
        transparent 28rem
      ),
      linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
    text-rendering: optimizeLegibility;
  }
  body::selection {
    background: rgba(216, 170, 47, 0.35);
  }
  .wrap,
  .container,
  .nav-container,
  .footer-inner,
  .copyright {
    width: min(calc(100% - 48px), 1180px);
  }
  .wrap-narrow,
  .container-narrow {
    width: min(calc(100% - 48px), 900px);
  }

  /* Header: tighter, calmer, more publication-like */
  .site-header {
    border-bottom: 1px solid rgba(216, 170, 47, 0.72);
    box-shadow: 0 8px 26px rgba(16, 42, 67, 0.08);
  }
  .nav-container {
    min-height: 74px;
  }
  .logo {
    font-size: 1.08rem;
    letter-spacing: 0.02em;
  }
  .logo img {
    width: 42px;
    height: 42px;
  }
  .header-search input {
    min-height: 42px;
    border-color: #dbe3ee;
    background: #f9fbfd;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  .nav-link {
    padding: 9px 12px;
    border-radius: 10px;
    color: #102a43;
  }
  .nav-link:hover,
  .nav-link.active {
    background: #eef5fb;
    color: #0f4f7a;
  }
  .btn-gold {
    background: linear-gradient(180deg, #e5bf3e 0%, #d4a823 100%);
    border: 1px solid rgba(117, 83, 0, 0.15);
    box-shadow: 0 8px 18px rgba(212, 168, 35, 0.22);
  }
  .btn-outline,
  .btn-soft,
  .btn-navy {
    box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
  }

  /* Page rhythm */
  main {
    isolation: isolate;
  }
  main > section:not([class]),
  main > .container,
  main > .wrap {
    margin-top: 44px;
    margin-bottom: 44px;
  }
  main > section:not([class]) {
    width: min(calc(100% - 48px), 1120px);
    margin-left: auto;
    margin-right: auto;
    padding: 34px clamp(20px, 3vw, 38px);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  main > section:not([class]) + section:not([class]) {
    margin-top: 28px;
  }
  main > section:not([class]) h2,
  main > section:not([class]) h3 {
    font-family: "Noto Serif JP", serif;
    color: var(--deep);
    letter-spacing: 0.02em;
  }
  main > section:not([class]) h2 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.45;
  }
  main > section:not([class]) h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--deep), var(--accent));
  }
  main > section:not([class]) p,
  main > section:not([class]) li {
    color: #26364b;
    line-height: 2;
  }
  main > section:not([class]) p + p {
    margin-top: 1rem;
  }

  /* Hero and lead sections: less loud, more authoritative */
  .page-hero {
    padding: 86px 0 76px;
    background: linear-gradient(
      135deg,
      rgba(246, 250, 255, 0.96) 0%,
      rgba(232, 241, 252, 0.96) 55%,
      rgba(252, 247, 231, 0.92) 100%
    );
    border-top: 0;
    border-bottom: 1px solid #cfd9e6;
  }
  .page-hero::before {
    opacity: 0.7;
    background-image:
      linear-gradient(rgba(16, 42, 67, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(16, 42, 67, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
  }
  .page-hero-kicker,
  .section-kicker,
  .section-eyebrow {
    background: #fff;
    border: 1px solid rgba(16, 42, 67, 0.12);
    color: #164a76;
    box-shadow: 0 5px 14px rgba(16, 42, 67, 0.06);
  }
  .page-hero h1,
  .section-title {
    letter-spacing: 0.015em;
    color: #102a43;
  }
  .page-hero p,
  .section-lead {
    color: #3c4a5f;
    line-height: 2;
    font-size: 1.02rem;
  }
  .lead-section,
  .board-guide-section,
  .issue-section,
  .documents-section {
    position: relative;
  }
  .lead-section::before,
  .board-guide-section::before,
  .issue-section::before,
  .documents-section::before {
    content: "";
    display: block;
    width: min(1180px, calc(100% - 48px));
    height: 1px;
    margin: 0 auto 38px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(16, 42, 67, 0.18),
      transparent
    );
  }

  /* Editorial components: stronger chapter identity, gentler panels */
  .editorial-bluebar,
  .editorial-toc-title,
  .editorial-brief-band,
  .homepage-method-statement,
  .case-caution-note h2,
  .reality-reading-note h2 {
    background: linear-gradient(90deg, #102a43 0%, #17446d 58%, #0c7fb0 100%);
  }
  .editorial-bluebar {
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(12, 79, 120, 0.18);
  }
  .editorial-panel,
  .editorial-section,
  .editorial-brief,
  .timeline-reading-note,
  .case-caution-note,
  .reality-reading-note {
    border-color: rgba(16, 42, 67, 0.11);
    box-shadow: 0 18px 46px rgba(16, 42, 67, 0.08);
  }
  .editorial-panel,
  .editorial-section {
    border-radius: 18px;
  }
  .editorial-section h2 {
    background: linear-gradient(90deg, #f1f5f9, #fff);
    border-left-color: var(--deep);
    border-radius: 10px;
  }
  .editorial-flow li::before,
  .homepage-reading-flow li::before {
    background: linear-gradient(180deg, #173b5f 0%, #102a43 100%);
    color: #fff;
    border: 0;
  }
  .editorial-matrix,
  .editorial-flow,
  .editorial-toc {
    border-color: rgba(16, 42, 67, 0.12);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.06);
  }
  .editorial-matrix-term {
    background: #eef3f8;
  }
  .editorial-warning,
  .alert-warning {
    background: linear-gradient(90deg, var(--accent-soft), #fff);
  }

  /* Cards and resource blocks: consistent, quieter, not portal-like */
  .card,
  .pdf-card,
  .related-link-card,
  .board-guide-card,
  .documents-card,
  .cat-doc-item,
  .archive-school-card,
  .yokomusubi-card,
  .ref-item,
  .case-block,
  .case-item,
  .risk-item,
  .scope-item,
  .check-item,
  .pm-compare-item,
  .editorial-brief-point,
  .homepage-method-body {
    border: 1px solid rgba(16, 42, 67, 0.11);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(16, 42, 67, 0.07);
  }
  .card:hover,
  .pdf-card:hover,
  .related-link-card:hover,
  .board-guide-card:hover,
  .documents-card:hover,
  .archive-school-card:hover,
  .cat-doc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 46px rgba(16, 42, 67, 0.11);
  }
  .archive-school-card,
  .pdf-card,
  .related-link-card,
  .board-guide-card,
  .documents-card,
  .cat-doc-item {
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  }
  .archive-school-card h3,
  .pdf-card h3,
  .related-link-card h3,
  .board-guide-card h3,
  .documents-card h3 {
    color: #102a43;
    line-height: 1.55;
  }
  .archive-evidence-links a,
  .editorial-link-list a,
  .related-link-card a,
  .pdf-download-button {
    text-underline-offset: 3px;
  }

  /* Tables and dense lists */
  table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(16, 42, 67, 0.12);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(16, 42, 67, 0.05);
  }
  th {
    background: #102a43;
    color: #fff;
    font-weight: 900;
  }
  th,
  td {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(16, 42, 67, 0.09);
    vertical-align: top;
    line-height: 1.8;
  }
  tr:last-child th,
  tr:last-child td {
    border-bottom: 0;
  }
  tbody tr:nth-child(even) td {
    background: #f8fbfe;
  }

  /* Guide-board: very long page needs chapter-like separation */
  .board-guide-section {
    padding: 72px 0;
  }
  .board-guide-section.alt {
    background: linear-gradient(180deg, #f3f7fb 0%, #eef4f9 100%);
  }
  .guide-board-page main > section:not([class]),
  body:not(.journal-page):not(.national-archive-page):not(
      .proper-management-page
    )
    main
    > section:not([class]) {
    scroll-margin-top: 96px;
  }
  .gb-chapter,
  .chapter-content {
    border-radius: 22px;
    box-shadow: 0 18px 46px rgba(16, 42, 67, 0.08);
  }
  .faq-item,
  .faq-trigger,
  .faq-q {
    border-radius: 14px;
  }
  .faq-item {
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.05);
  }

  /* Homepage: more like a research landing page, less like a card portal */
  .hero-content-wrap {
    padding-top: 76px;
    padding-bottom: 82px;
  }
  .hero-content-inner {
    border-left: 8px solid rgba(216, 170, 47, 0.9);
    padding-left: clamp(20px, 3vw, 34px);
  }
  .hero-content-wrap h1 {
    color: #102a43;
    letter-spacing: 0.02em;
  }
  .hero-content-wrap p,
  .lead-section p {
    line-height: 2.05;
  }
  .fieldcase-section video,
  .fieldcase-section .video-frame,
  .video-frame {
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(16, 42, 67, 0.18);
    border: 1px solid rgba(16, 42, 67, 0.12);
    overflow: hidden;
  }
  .entry-section,
  .feature-duo-section,
  .proper-section,
  .updates-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  /* Journal: report-index impression */
  .journal-page .journal-layout .article-card {
    border-left-width: 8px;
  }
  .journal-page .journal-layout .ac-meta {
    color: #66758a;
  }
  .journal-page .journal-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
  }
  .journal-page .sidebar-box {
    border: 1px solid rgba(16, 42, 67, 0.11);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.06);
  }

  /* Accessibility / focus */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  summary:focus-visible {
    outline: 3px solid rgba(216, 170, 47, 0.85);
    outline-offset: 3px;
    border-radius: 8px;
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      transition: none;
      scroll-behavior: auto;
      animation: none;
    }
  }

  @media (max-width: 900px) {
    .wrap,
    .container,
    .nav-container,
    .footer-inner,
    .copyright,
    .wrap-narrow,
    .container-narrow {
      width: min(calc(100% - 28px), 100%);
    }
    main > section:not([class]) {
      width: min(calc(100% - 28px), 100%);
      padding: 26px 18px;
      border-radius: 0;
    }
    .page-hero {
      padding: 58px 0 52px;
    }
    .hero-content-inner {
      border-left-width: 5px;
    }
    table {
      display: block;
      overflow-x: auto;
      white-space: normal;
    }
    th,
    td {
      min-width: 180px;
    }
  }

  /* Stage15: site-wide support / donation pathway
   Public-document pages should stay readable; this strip is intentionally compact. */
  .support-strip {
    background: linear-gradient(90deg, #10233f 0%, #183a68 56%, #8a641b 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 2px 14px rgba(6, 18, 35, 0.14);
    position: relative;
    z-index: 950;
  }
  .support-strip-inner {
    width: min(calc(100% - 32px), 1280px);
    margin-inline: auto;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 7px 0;
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .support-strip-label {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.12);
  }
  .support-strip-text {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 650;
  }
  .support-strip-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    color: #14335e;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
  }
  .support-strip-link:hover {
    transform: translateY(-1px);
    color: #0f2d54;
  }
  .support-nav-link {
    color: #8a5d00;
    font-weight: 900;
    border: 1px solid rgba(184, 135, 42, 0.28);
    background: linear-gradient(180deg, #fffdf6, #fff7dd);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
  }
  .support-nav-link:hover {
    background: #fff4cb;
    color: #5f3f00;
  }
  .support-mobile-link {
    border: 1px solid rgba(184, 135, 42, 0.28);
    background: #fff8e6;
  }
  .footer-support {
    width: min(calc(100% - 40px), 1280px);
    margin: 0 auto 28px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.045)
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
  }
  .footer-support strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
  }
  .footer-support p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
  }
  .footer-support a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gold);
    color: #10233f;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  }
  .footer-support a:hover {
    background: var(--gold-lt);
    color: #10233f;
  }
  @media (max-width: 900px) {
    .support-strip-inner {
      justify-content: center;
      flex-wrap: wrap;
      gap: 6px 8px;
      overflow-x: visible;
      white-space: normal;
      padding: 7px 0;
    }
    .support-strip-text {
      flex: 1 1 220px;
      min-width: 0;
      font-size: 0.8rem;
      line-height: 1.55;
    }
    .footer-support {
      align-items: flex-start;
      flex-direction: column;
      padding: 18px;
    }
  }
  @media (max-width: 560px) {
    .support-strip-inner {
      width: calc(100% - 22px);
    }
    .support-strip-label {
      font-size: 0.7rem;
      padding: 3px 8px;
    }
    .support-strip-link {
      padding: 4px 10px;
      font-size: 0.8rem;
    }
  }

  /* Stage16: candidate material states */
  .pdf-download-button--muted {
    background: #e5e7eb;
    color: #475569;
    border: 1px solid #cbd5e1;
    cursor: default;
    box-shadow: none;
  }
  .admin-materials-download-list span {
    color: #475569;
  }

  /* Stage18: source materials as issue-expansion lenses */
  .source-lens-panel {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    padding: clamp(22px, 3vw, 34px);
    margin-top: 28px;
    margin-bottom: 32px;
  }
  .source-lens-panel h2 {
    margin-top: 0;
    padding-bottom: 0.55em;
    border-bottom: 2px solid rgba(30, 64, 175, 0.16);
  }
  .source-lens-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0 10px;
  }
  .source-lens-item {
    background: #fff;
    border: 1px solid rgba(30, 64, 175, 0.14);
    border-left: 4px solid #2563eb;
    border-radius: 14px;
    padding: 16px 16px 15px;
  }
  .source-lens-item strong {
    display: block;
    color: #0f2a5f;
    font-size: 1rem;
    margin-bottom: 7px;
  }
  .source-lens-item p {
    margin: 0;
    color: #334155;
    font-size: 0.94rem;
    line-height: 1.75;
  }
  .compact-source-table table,
  .compact-source-table .source-type-table {
    margin-top: 16px;
  }
  @media (max-width: 900px) {
    .source-lens-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Stage19: orange support pathway and home hero cleanup */
  :root {
    --support-orange: #f97316;
    --support-orange-dark: #c2410c;
    --support-orange-soft: #fff7ed;
    --support-orange-border: #fed7aa;
  }
  .support-strip {
    background: linear-gradient(90deg, #c2410c 0%, #ea580c 48%, #fb923c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 16px rgba(194, 65, 12, 0.24);
  }
  .support-strip-label {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.56);
  }
  .support-strip-link {
    color: #7c2d12;
    background: #fff;
  }
  .support-strip-link:hover {
    color: #9a3412;
    background: #fffbeb;
  }
  .support-nav-link {
    color: #fff;
    background: linear-gradient(135deg, #f97316, #c2410c);
    border: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow: 0 6px 14px rgba(194, 65, 12, 0.22);
  }
  .support-nav-link:hover {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #fff;
  }
  .support-mobile-link {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
  }
  .footer-support {
    background: linear-gradient(
      135deg,
      rgba(249, 115, 22, 0.22),
      rgba(194, 65, 12, 0.14)
    );
    border-color: rgba(253, 186, 116, 0.34);
  }
  .footer-support a {
    background: linear-gradient(135deg, #f97316, #c2410c);
    color: #fff;
  }
  .footer-support a:hover {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: #fff;
  }
  .home-support-spot {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 42%, #fff 100%);
    border-top: 1px solid #fed7aa;
    border-bottom: 1px solid #fed7aa;
    padding: 24px 0;
  }
  .home-support-spot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
  }
  .home-support-spot-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #c2410c;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  .home-support-spot h2 {
    font-family: "Noto Serif JP", serif;
    color: #7c2d12;
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    line-height: 1.45;
    margin: 0 0 6px;
    font-weight: 900;
  }
  .home-support-spot p {
    color: #7c2d12;
    line-height: 1.75;
    margin: 0;
    font-size: 0.94rem;
  }
  .home-support-spot-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #c2410c);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    padding: 12px 18px;
    box-shadow: 0 10px 22px rgba(194, 65, 12, 0.22);
  }
  .home-support-spot-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fb923c, #ea580c);
  }
  .hero-slide-wrap {
    height: min(42svh, 420px);
    min-height: 240px;
    max-height: 420px;
  }
  .hero-content-wrap {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 44px 0 62px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 66%);
  }
  .hero-text-row {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 28px;
  }
  .hero-lead {
    max-width: 760px;
    font-size: clamp(0.94rem, 1.18vw, 1.06rem);
    line-height: 1.95;
    font-weight: 600;
    text-align: left;
    margin-bottom: 24px;
    color: #1f3d5c;
  }
  .hero-flash--support,
  .hero-flash {
    background: #fff7ed;
    border-color: #fdba74;
    color: #7c2d12;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.09);
  }
  .flash-badge {
    background: #f97316;
    color: #fff;
  }
  .hero-flash-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 12px;
    margin-left: auto;
    white-space: nowrap;
  }
  .hero-flash-link:hover {
    background: #c2410c;
  }
  @media (max-width: 760px) {
    .home-support-spot-inner {
      align-items: flex-start;
      flex-direction: column;
    }
    .home-support-spot {
      padding: 22px 0;
    }
    .hero-flash {
      align-items: flex-start;
      flex-direction: column;
    }
    .hero-flash-link {
      margin-left: 0;
    }
    .hero-content-wrap {
      padding: 34px 0 48px;
    }
    .hero-slide-wrap {
      height: 34svh;
      min-height: 210px;
    }
  }

  /* Stage19: compact home hero */
  .home-compact-hero {
    background: linear-gradient(135deg, #0f2d54 0%, #163a68 54%, #0f172a 100%);
    color: #fff;
    padding: 54px 0 62px;
    position: relative;
    overflow: hidden;
  }
  .home-compact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(
        circle at 15% 15%,
        rgba(249, 115, 22, 0.2),
        transparent 34%
      ),
      radial-gradient(
        circle at 85% 0%,
        rgba(255, 255, 255, 0.1),
        transparent 32%
      );
    pointer-events: none;
  }
  .home-compact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: left;
  }
  .home-compact-kicker {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 16px;
    color: #fed7aa;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .home-compact-hero h1 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.28;
    margin: 0 0 16px;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.01em;
  }
  .home-compact-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.96rem, 1.3vw, 1.08rem);
    line-height: 1.9;
    margin: 0 0 24px;
    font-weight: 600;
  }
  .home-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .home-compact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
  }
  .home-compact-actions a:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
  }
  .home-compact-actions .home-compact-primary {
    background: linear-gradient(135deg, #f97316, #c2410c);
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  }
  @media (max-width: 760px) {
    .home-compact-hero {
      padding: 40px 0 48px;
    }
    .home-compact-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .home-compact-actions a {
      width: 100%;
    }
  }

  /* Stage20 thesis essay */
  .thesis-page .thesis-lead-section,
  .thesis-page .thesis-section {
    padding: 64px 0;
    background: #fff;
    border-bottom: 1px solid rgba(5, 17, 31, 0.08);
  }
  .thesis-page .thesis-section-alt {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
  }
  .thesis-page .thesis-lead {
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-top: 6px solid var(--orange);
    border-radius: 18px;
    padding: 34px 36px;
    box-shadow: 0 16px 42px rgba(5, 17, 31, 0.1);
  }
  .thesis-page .thesis-lead h2,
  .thesis-page .thesis-section h2 {
    font-family: "Noto Serif JP", serif;
    color: var(--navy);
    font-weight: 900;
    line-height: 1.45;
    margin: 0 0 18px;
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  }
  .thesis-page .thesis-lead p,
  .thesis-page .thesis-section p {
    font-size: 1rem;
    line-height: 2.05;
    color: #25364a;
    margin: 0 0 16px;
  }
  .thesis-callout {
    margin: 26px 0 0;
    padding: 22px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
    border-left: 6px solid var(--orange);
  }
  .thesis-callout strong {
    display: block;
    color: #9a3412;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 6px;
  }
  .thesis-callout p {
    margin: 0;
    color: #475569;
  }
  .thesis-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 28px;
  }
  .thesis-card {
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.12);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 10px 28px rgba(5, 17, 31, 0.07);
  }
  .thesis-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 12px;
  }
  .thesis-card h3 {
    font-family: "Noto Serif JP", serif;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1.45;
  }
  .thesis-card p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: #475569;
    margin: 0;
  }
  .thesis-quote {
    font-family: "Noto Serif JP", serif;
    margin: 28px 0 0;
    padding: 22px 26px;
    background: #0f2742;
    color: #fff;
    border-left: 6px solid var(--orange);
    border-radius: 14px;
    line-height: 2;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 16px 42px rgba(5, 17, 31, 0.18);
  }
  .thesis-steps {
    counter-reset: thesis-step;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
  }
  .thesis-steps li {
    counter-increment: thesis-step;
    position: relative;
    background: #fff;
    border: 1px solid rgba(5, 17, 31, 0.1);
    border-left: 5px solid var(--orange);
    border-radius: 14px;
    padding: 18px 20px 18px 64px;
    line-height: 1.85;
    color: #334155;
    box-shadow: 0 8px 24px rgba(5, 17, 31, 0.06);
  }
  .thesis-steps li::before {
    content: counter(thesis-step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.82rem;
  }
  .thesis-steps strong {
    color: var(--navy);
  }
  .thesis-related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
  }
  .thesis-related a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    transition: var(--t);
  }
  .thesis-related a:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    transform: translateY(-2px);
  }
  .thesis-note-section {
    background: #fffaf0;
  }
  .essay-link-panel {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 6px solid var(--orange);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 12px 32px rgba(194, 65, 12, 0.08);
  }
  .essay-link-panel h3 {
    font-family: "Noto Serif JP", serif;
    color: #9a3412;
    font-size: 1.15rem;
    margin: 0 0 10px;
    font-weight: 900;
  }
  .essay-link-panel p {
    margin: 0 0 12px;
    line-height: 1.9;
    color: #334155;
  }
  .essay-link-panel a {
    font-weight: 900;
    color: #9a3412;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  @media (max-width: 1000px) {
    .thesis-grid {
      grid-template-columns: 1fr 1fr;
    }
    .thesis-page .thesis-lead {
      padding: 26px 22px;
    }
  }
  @media (max-width: 640px) {
    .thesis-grid {
      grid-template-columns: 1fr;
    }
    .thesis-steps li {
      padding-left: 56px;
    }
    .thesis-related {
      display: grid;
    }
    .thesis-related a {
      justify-content: center;
    }
  }

  /* Stage21: 教育委員会向け実務指針（ed）接続 */
  .ed-resource-panel {
    border: 1px solid rgba(217, 119, 6, 0.28);
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 46%);
    border-radius: 18px;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    margin: 2rem 0;
    box-shadow: 0 12px 28px rgba(120, 53, 15, 0.07);
  }
  .ed-resource-panel .section-kicker {
    color: #9a3412;
  }
  .ed-resource-panel h2,
  .ed-resource-panel .section-title {
    color: #17345c;
  }
  .ed-resource-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0 1.4rem;
  }
  .ed-resource-list > div {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 0.95rem 1rem;
  }
  .ed-resource-list strong {
    display: block;
    color: #9a3412;
    background: none;
    margin-bottom: 0.25rem;
  }
  .ed-resource-list span {
    display: block;
    color: #344054;
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .ed-link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
  }
  .ed-link-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.22);
  }
  .ed-link-buttons a:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
  }
  @media (max-width: 760px) {
    .ed-resource-list {
      grid-template-columns: 1fr;
    }
    .ed-link-buttons a {
      width: 100%;
    }
  }

  /* 2026-06-17: remove decorative labels site-wide.
   Keep real form labels and table field names; hide only ornamental/category chips. */
  .page-hero-kicker,
  .issue-hero-eyebrow,
  .journal-eyebrow,
  .section-kicker,
  .section-eyebrow,
  .hero-kicker,
  .admin-materials-kicker,
  .page-banner-kicker,
  .audit-hero-eyebrow,
  .intro-section-kicker,
  .mode-card-kicker,
  .banner-eyebrow,
  .assessment-kicker,
  .contact-kicker,
  .support-kicker,
  .submission-eyebrow,
  .doc-pack-label,
  .action-pack-label,
  .rlc-label,
  .case-kicker,
  .case-badge,
  .toc-label,
  .ce-label,
  .inline-source-badge,
  .fieldcase-kicker,
  .video-section-kicker,
  .reality-section-kicker,
  .entry-section-kicker,
  .homepage-method-label,
  .officer-visual-label,
  .officer-source-pdf-label,
  .law-quote-label,
  .lq-label,
  .lc-kicker,
  .support-strip-label,
  .home-photo-hero-kicker,
  .proper-kicker,
  .proper-card-img-label,
  .home-support-spot-label,
  .home-compact-kicker,
  .parent-lead-kicker,
  .parent-case-label,
  .reality-hero-kicker,
  .section-badge,
  .doc-mockup-label,
  .law-box-label,
  .incident-box-label,
  .rel-card-kicker,
  .tl-tag,
  .ac-tags,
  .ac-cat,
  .article-card .ac-meta span[style*="border-radius"],
  .update-tag,
  .law-tags,
  .acc-sum-badges,
  .badge-jishu,
  .badge-iinkai,
  .badge-misei,
  .badge-special,
  .badge-violation,
  .hero-count-label,
  .placeholder-label,
  .archive-kicker,
  .archive-source-status,
  .mobile-link > span {
    display: none;
  }

  .archive-tag {
    display: inline;
    margin: 0 0.35rem 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font-weight: 700;
  }

  /* === Force text-only page heroes === */
  .page-hero--photo {
    background: linear-gradient(135deg, #05172f 0%, #0f2747 58%, #16385f 100%);
    color: #fff;
    min-height: 0;
    padding: 58px 0 54px;
    border-top: 3px solid var(--gold);
    border-bottom: 1px solid rgba(5, 17, 31, 0.18);
  }
  .page-hero--photo .page-hero-bg-img {
    display: none;
  }
  .page-hero--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    );
    background-size: 46px 46px;
  }
  .page-hero--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse 78% 58% at 84% 24%,
      rgba(212, 175, 55, 0.16),
      transparent 62%
    );
  }
  .page-hero--photo .page-hero-inner {
    position: relative;
    z-index: 1;
  }
  .page-hero--photo .page-hero-kicker {
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.42);
    color: #fff2a8;
  }
  .page-hero--photo h1 {
    color: #fff;
    letter-spacing: -0.02em;
  }
  .page-hero--photo h1 em {
    color: #fff2a8;
  }
  .page-hero--photo p {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
  }
  .page-hero--photo .btn-outline,
  .page-hero--photo .btn-outline-white {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
  }

  /* === Homepage color accents === */
  :root {
    --pta-cream: #f7f3e8;
    --pta-teal: #2f6f73;
    --pta-redbrown: #8c3b2f;
    --pta-softgray: #eef1f4;
  }
  .home-audience-gateway {
    background: var(--pta-cream);
    border-top: 1px solid rgba(140, 59, 47, 0.16);
    border-bottom: 1px solid rgba(140, 59, 47, 0.16);
  }
  .home-audience-gateway .audience-gateway-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 39, 71, 0.14);
    box-shadow: 0 12px 28px rgba(5, 17, 31, 0.08);
  }
  .home-audience-gateway .audience-gateway-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 6px;
    background: var(--pta-teal);
  }
  .home-audience-gateway .audience-gateway-card:nth-child(2)::before {
    background: var(--navy);
  }
  .home-audience-gateway .audience-gateway-card:nth-child(3)::before {
    background: var(--gold);
  }
  .home-audience-gateway .audience-gateway-card:nth-child(1) div:first-child {
    color: var(--pta-teal);
  }
  .home-audience-gateway .audience-gateway-card:nth-child(2) div:first-child {
    color: var(--navy);
  }
  .home-audience-gateway .audience-gateway-card:nth-child(3) div:first-child {
    color: #9a7418;
  }
  .home-reading-section {
    background: #fffaf0;
    border-top: 1px solid rgba(140, 59, 47, 0.18);
    border-bottom: 1px solid rgba(140, 59, 47, 0.18);
  }
  .home-reading-section .section-kicker {
    background: rgba(140, 59, 47, 0.09);
    color: var(--pta-redbrown);
  }
  .home-reading-section .section-title {
    padding-left: 18px;
    border-left: 6px solid var(--pta-redbrown);
  }
  .home-reading-section .editorial-bluebar {
    background: linear-gradient(90deg, var(--pta-teal), #0f7892);
    color: #fff;
  }
  .home-reading-section .editorial-matrix {
    background: #fff;
    border: 1px solid rgba(140, 59, 47, 0.16);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(5, 17, 31, 0.06);
    overflow: hidden;
  }
  .home-reading-section .editorial-matrix-term {
    background: #eef5f3;
    color: var(--pta-teal);
  }
  .home-reading-section
    .editorial-matrix-row:nth-child(2)
    .editorial-matrix-term {
    background: #f7f3e8;
    color: #9a7418;
  }
  .home-reading-section
    .editorial-matrix-row:nth-child(3)
    .editorial-matrix-term {
    background: #f8eeee;
    color: var(--pta-redbrown);
  }
  .action-pack-section {
    background: linear-gradient(180deg, #f7f3e8 0%, #eef1f4 100%);
    border-top: 1px solid rgba(15, 39, 71, 0.12);
  }
  .action-pack-section .section-kicker {
    background: rgba(47, 111, 115, 0.1);
    color: var(--pta-teal);
  }
  .action-pack-card {
    border-color: rgba(47, 111, 115, 0.2);
    box-shadow: 0 10px 24px rgba(5, 17, 31, 0.06);
  }
  .action-pack-card:nth-child(1) {
    border-left: 5px solid var(--pta-redbrown);
  }
  .action-pack-card:nth-child(2) {
    border-left: 5px solid var(--pta-teal);
  }
  .action-pack-card:nth-child(3) {
    border-left: 5px solid var(--gold);
  }
  .action-pack-card:nth-child(4) {
    border-left: 5px solid var(--navy);
  }

  /* === Action pack diagram large layout === */
  .action-pack-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .action-pack-figure {
    order: -1;
    width: 100%;
    max-width: 980px;
    margin: 0 auto 8px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(15, 39, 71, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(5, 17, 31, 0.06);
  }

  .action-pack-figure img {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: auto;
  }

  .action-pack-figure figcaption {
    margin-top: 12px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
  }

  .action-pack-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  @media (max-width: 760px) {
    .action-pack-grid {
      grid-template-columns: 1fr;
    }

    .action-pack-figure {
      padding: 14px;
    }
  }

  /* === Parent guide case card colors === */
  .parent-page .case-section {
    background: linear-gradient(180deg, #fff 0%, #f7f3e8 100%);
  }
  .parent-page .case-list {
    gap: 22px;
  }
  .parent-page .case-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 39, 71, 0.14);
    border-left: 7px solid var(--pta-teal, #2f6f73);
    background: linear-gradient(90deg, rgba(47, 111, 115, 0.055), #fff 28%);
    box-shadow: 0 12px 30px rgba(5, 17, 31, 0.08);
  }
  .parent-page .case-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 5px;
    background: var(--pta-teal, #2f6f73);
  }
  .parent-page .case-card .case-tag {
    background: var(--pta-teal, #2f6f73);
    color: #fff;
  }
  .parent-page .case-card .case-subject {
    color: #0f2747;
  }
  .parent-page .case-card .case-toggle {
    color: var(--pta-teal, #2f6f73);
  }
  .parent-page .case-card:nth-child(1) {
    border-left-color: var(--pta-redbrown, #8c3b2f);
    background: linear-gradient(90deg, rgba(140, 59, 47, 0.065), #fff 28%);
  }
  .parent-page .case-card:nth-child(1)::before,
  .parent-page .case-card:nth-child(1) .case-tag {
    background: var(--pta-redbrown, #8c3b2f);
  }
  .parent-page .case-card:nth-child(1) .case-toggle {
    color: var(--pta-redbrown, #8c3b2f);
  }
  .parent-page .case-card:nth-child(2) {
    border-left-color: var(--gold, #d4af37);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), #fff 28%);
  }
  .parent-page .case-card:nth-child(2)::before,
  .parent-page .case-card:nth-child(2) .case-tag {
    background: #b68a1f;
  }
  .parent-page .case-card:nth-child(2) .case-toggle {
    color: #9a7418;
  }
  .parent-page .case-card:nth-child(3) {
    border-left-color: var(--pta-teal, #2f6f73);
    background: linear-gradient(90deg, rgba(47, 111, 115, 0.08), #fff 28%);
  }
  .parent-page .case-card:nth-child(4) {
    border-left-color: var(--navy, #0f2747);
    background: linear-gradient(90deg, rgba(15, 39, 71, 0.07), #fff 28%);
  }
  .parent-page .case-card:nth-child(4)::before,
  .parent-page .case-card:nth-child(4) .case-tag {
    background: var(--navy, #0f2747);
  }
  .parent-page .case-card:nth-child(4) .case-toggle {
    color: var(--navy, #0f2747);
  }
  .parent-page .case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(5, 17, 31, 0.12);
  }
  .parent-page .case-meta {
    padding-top: 2px;
  }
  .parent-page .case-from {
    color: #64748b;
    font-weight: 800;
  }
  .parent-page .case-summary {
    color: #475569;
  }
  .parent-page .case-answer .case-quote {
    background: #fffaf0;
  }
  @media (max-width: 760px) {
    .parent-page .case-card {
      border-left-width: 5px;
    }
  }

  /* === Global typography scale tuning === */
  :root {
    --type-hero-title: clamp(1.48rem, 2.55vw, 2.22rem);
    --type-page-title: clamp(1.42rem, 2.45vw, 2.18rem);
    --type-section-title: clamp(1.35rem, 2.25vw, 2.05rem);
    --type-card-title: clamp(1.02rem, 1.35vw, 1.18rem);
    --type-lead: 0.96rem;
  }

  /* Page and section headings: reduce visual pressure while preserving hierarchy */
  .page-hero h1,
  .page-hero--photo h1 {
    font-size: var(--type-page-title);
    line-height: 1.36;
    letter-spacing: -0.012em;
  }
  .page-hero p,
  .page-hero--photo p {
    font-size: var(--type-lead);
    line-height: 1.9;
  }
  .section-title {
    font-size: var(--type-section-title);
    line-height: 1.34;
    letter-spacing: -0.01em;
  }
  .section-lead {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  /* Homepage text hero */
  .home-text-hero h1,
  .home-photo-hero-title {
    font-size: var(--type-hero-title);
    line-height: 1.36;
    letter-spacing: -0.012em;
  }
  .home-text-hero p,
  .home-photo-hero-lead {
    font-size: 0.98rem;
    line-height: 1.88;
  }

  /* Common large headings in article/list pages */
  .journal-page .page-hero h1,
  .parent-page .page-hero h1,
  .board-page .page-hero h1,
  .pta-page .page-hero h1,
  .simple-hero h1 {
    font-size: var(--type-page-title);
    line-height: 1.36;
  }
  .journal-intro h2,
  .panel h2,
  .article-title,
  .guide-section h2,
  .content-section h2,
  .feature-section h2 {
    font-size: clamp(1.18rem, 1.75vw, 1.55rem);
    line-height: 1.45;
  }

  /* Card titles */
  .audience-gateway-card h3,
  .action-pack-card h3,
  .article-card h3,
  .ac-title,
  .case-subject,
  .card h3 {
    font-size: var(--type-card-title);
    line-height: 1.5;
  }

  /* Header/nav should stay compact */
  .logo {
    font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .btn-gold,
  .btn-navy,
  .btn-outline,
  .btn-soft {
    font-size: 0.86rem;
  }

  @media (max-width: 760px) {
    :root {
      --type-hero-title: clamp(1.34rem, 6vw, 1.78rem);
      --type-page-title: clamp(1.32rem, 5.6vw, 1.72rem);
      --type-section-title: clamp(1.22rem, 5vw, 1.58rem);
      --type-card-title: 1.02rem;
      --type-lead: 0.92rem;
    }
    .page-hero,
    .page-hero--photo {
      padding-top: 40px;
      padding-bottom: 38px;
    }
    .section-kicker,
    .page-hero-kicker {
      font-size: 0.68rem;
    }
  }

  /* Keep the shared navigation within reach on every long page. */
  html:has(.site-header) {
    scroll-padding-top: calc(88px + env(safe-area-inset-top));
  }
  body:has(.site-header) {
    padding-top: calc(74px + env(safe-area-inset-top));
  }
  body:has(.site-header) .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 1400;
    padding-top: env(safe-area-inset-top);
  }
  body:has(.site-header) .site-header .nav-container {
    min-height: 74px;
  }

  /* Open content layout
   Content collections should read as one continuous document.  Reserve framed
   surfaces for controls, forms, media, maps, and genuinely independent tools. */
  main
    :where(
      .card,
      .article-card,
      .pdf-card,
      .related-link-card,
      .board-guide-card,
      .documents-card,
      .cat-doc-item,
      .archive-school-card,
      .yokomusubi-card,
      .ref-item,
      .case-card,
      .case-block,
      .case-item,
      .risk-item,
      .scope-item,
      .check-item,
      .pm-compare-item,
      .audience-gateway-card,
      .action-pack-card,
      .feature-duo-card,
      .proper-card,
      .fc-card,
      .doc-item,
      .resource-card,
      .thesis-card,
      .gl-problem-card,
      .gl-principle-card,
      .gl-pack-card,
      .edu-voices-card,
      .transition-item,
      .flow-item,
      .law-explain-item
    ) {
    margin: 0;
    padding: 24px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--site-line, #d7e0e9);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  main
    :where(
      .cards,
      .card-grid,
      .article-grid,
      .documents-grid,
      .resource-grid,
      .case-grid,
      .audience-gateway-grid,
      .action-pack-grid,
      .feature-duo-grid,
      .proper-grid,
      .thesis-grid,
      .gl-problem-grid,
      .gl-principle-grid,
      .gl-pack-grid,
      .transition-list,
      .flow-list,
      .law-explain
    ) {
    gap: 0;
    border-top: 2px solid var(--navy, #102a43);
  }

  main
    :where(
      .card,
      .article-card,
      .pdf-card,
      .related-link-card,
      .board-guide-card,
      .documents-card,
      .cat-doc-item,
      .archive-school-card,
      .case-card,
      .doc-item,
      .resource-card
    ):hover {
    background: transparent;
    border-color: var(--site-line, #d7e0e9);
    box-shadow: none;
    transform: none;
  }

  /* Keep restrained emphasis without turning notes into floating cards. */
  main
    :where(
      .editorial-panel,
      .editorial-section,
      .editorial-brief,
      .conclusion-box,
      .key-takeaway,
      .summary-first,
      .notice-box,
      .info-box
    ) {
    border-radius: 0;
    box-shadow: none;
  }
}
