@layer page {
  /* Shared by 72 pages. Extracted from duplicated inline CSS. */
  :root {
    --navy: #1e3a5f;
    --navy-deep: #0b2545;
    --gold: #d4af37;
    --gold-lt: #e8c96a;
    --line: #dbe4ee;
    --text: #273449;
    --soft: #64748b;
  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    background: #f2f5f9;
    color: var(--text);
    line-height: 1.95;
  }
  a {
    color: var(--navy);
  }
  .site-head {
    background: var(--navy-deep);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-head .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
  }
  .site-head img {
    height: 34px;
    width: auto;
  }
  .head-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .head-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  .head-links a:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  .hero {
    background: linear-gradient(135deg, #061a33 0%, #092646 58%, #0f345a 100%);
    border-bottom: 5px solid var(--gold);
    color: #fff;
    padding: 46px 22px 40px;
    position: relative;
    overflow: hidden;
  }
  .hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(212, 175, 55, 0.16),
      transparent 70%
    );
  }
  .hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  .crumbs {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
  }
  .crumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }
  .crumbs a:hover {
    color: #fff;
    text-decoration: underline;
  }
  .kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 4px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.4rem, 3.6vw, 2.05rem);
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 14px;
  }
  .hero-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero-meta span {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 4px 12px;
    border-radius: 999px;
  }
  .hero-meta .hm-gold {
    color: #0b2545;
    background: var(--gold);
    border-color: var(--gold);
  }
  main {
    max-width: 900px;
    margin: 0 auto;
    padding: 34px 22px 60px;
  }
  .tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 26px;
  }
  .tag-row span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    background: #fff;
    border: 1px solid #c8d6e5;
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    padding: 4px 12px;
  }
  h2.sec {
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 38px 0 18px;
  }
  h2.sec::before {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--gold);
    flex-shrink: 0;
  }
  h2.sec::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
  }
  .meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 0 0 8px;
  }
  .meta-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(11, 37, 69, 0.06);
  }
  .meta-card .lb {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--soft);
    margin-bottom: 4px;
  }
  .meta-card .vl {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    word-break: break-all;
  }
  .body-card {
    background: #fffdf8;
    border: 1px solid #e8dfc9;
    border-left: 5px solid var(--gold);
    border-radius: 14px;
    padding: 26px 28px;
    font-size: 0.94rem;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 2px 10px rgba(11, 37, 69, 0.05);
  }
  .body-card .q-line {
    display: block;
    font-weight: 900;
    color: var(--navy);
    background: #eef2f7;
    border-left: 4px solid var(--navy);
    border-radius: 0 8px 8px 0;
    padding: 6px 12px;
    margin: 14px 0 6px;
    white-space: normal;
  }
  .note {
    background: #fff;
    border: 1px dashed #c8d6e5;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.83rem;
    color: var(--soft);
    margin: 24px 0;
  }
  .rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
  }
  .rel-grid a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(11, 37, 69, 0.06);
    transition:
      transform 0.15s,
      border-color 0.15s;
  }
  .rel-grid a::after {
    content: "→";
    color: var(--gold);
    font-weight: 900;
  }
  .rel-grid a:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
  }
  .cta-band {
    background: linear-gradient(135deg, #0b2545, #1e3a5f);
    border-radius: 16px;
    padding: 26px 28px;
    margin-top: 38px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .cta-band p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
  }
  .cta-band strong {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 4px;
  }
  .cta-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .cta-btns a {
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
  }
  .cta-btns .b-gold {
    background: var(--gold);
    color: #0b2545;
  }
  .cta-btns .b-gold:hover {
    background: var(--gold-lt);
  }
  .cta-btns .b-line {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
  }
  .cta-btns .b-line:hover {
    background: rgba(255, 255, 255, 0.12);
  }
  .nav-bottom {
    margin-top: 30px;
    font-size: 0.88rem;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
  }
  .nav-bottom a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
  }
  .nav-bottom a:hover {
    text-decoration: underline;
  }
  .site-foot {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 30px 22px;
    margin-top: 50px;
  }
  .foot-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.8rem;
  }
  .foot-inner a {
    color: var(--gold);
    text-decoration: none;
  }
  .foot-inner a:hover {
    text-decoration: underline;
  }
  .foot-brand {
    font-weight: 900;
    color: #fff;
    font-size: 0.9rem;
  }
  @media (max-width: 640px) {
    .hero {
      padding: 36px 18px 32px;
    }
    main {
      padding: 26px 16px 50px;
    }
    .body-card {
      padding: 20px 16px;
    }
  }
}
