:root {
    --bg: #071915;
    --surface: #0b211c;
    --surface-2: #102a24;
    --accent: #e8c45b;
    --accent-2: #3bc29a;
    --text: #f4f8f6;
    --muted: #afc2ba;
    --border: #29483e;
    --focus: #79e0be;
    --content: 1180px;
    --article: 780px;
    --radius: 14px;
}

* { box-sizing: border-box; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.78;
    text-rendering: optimizeLegibility;
}
a { color: #8fe6ca; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: #fff1b8; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: #fff; color: #071915; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7, 25, 21, .97); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; max-width: 1440px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 24px; }
.brand-lockup { flex: 0 0 auto; }
.custom-logo-link { display: flex; align-items: center; min-height: 52px; }
.custom-logo { width: 250px; height: auto; max-height: 56px; object-fit: contain; object-position: left center; }
.brand-text { color: var(--text); font-weight: 800; text-decoration: none; }
.primary-navigation { margin-left: auto; }
.primary-menu, .footer-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 2px; }
.primary-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; border-radius: 8px; }
.primary-menu a:hover, .primary-menu .current-menu-item a { background: var(--surface-2); color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font: inherit; }
.nav-toggle-label { font-size: 14px; font-weight: 700; }

.site-main { min-height: 60vh; }
.editorial-article { width: min(100% - 32px, var(--content)); margin: 0 auto; padding: 72px 0 96px; }
.editorial-article > h1, .editorial-article > p, .editorial-article > h2, .editorial-article > h3, .editorial-article > ul, .editorial-article > ol, .editorial-article > blockquote, .editorial-article > .table-scroll, .editorial-article > .decision-flow, .editorial-article > .source-note, .editorial-article > .faq-section { width: min(100%, var(--article)); margin-left: auto; margin-right: auto; }
h1 { max-width: 940px !important; margin-top: 0; margin-bottom: 28px; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.045em; }
.inner-article h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
h2 { margin-top: 88px; margin-bottom: 24px; padding-top: 18px; border-top: 1px solid var(--border); font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.18; letter-spacing: -.025em; }
h2::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 18px; border-radius: 4px; background: var(--accent); }
h3 { margin-top: 48px; color: var(--accent-2); font-size: 1.35rem; line-height: 1.3; }
p { margin-top: 0; margin-bottom: 24px; }
.editorial-article > p:first-of-type { color: #e0ebe6; font-size: 1.14rem; line-height: 1.72; }
strong { color: #fff8db; }
ul, ol { padding-left: 1.35rem; }
li { margin: 9px 0; }

.editorial-figure { width: min(100%, 1080px); margin: 54px auto 72px; }
.editorial-figure img { display: block; width: 100%; height: auto; aspect-ratio: var(--ratio, auto); object-fit: cover; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 18px 42px rgba(0,0,0,.2); }
.editorial-figure figcaption { width: min(100%, var(--article)); margin: 14px auto 0; color: var(--muted); font-size: .9rem; }
.hero-figure { width: min(100%, 1180px); margin-top: 42px; }

.table-scroll { margin-top: 34px; margin-bottom: 44px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 15px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { color: var(--accent); background: #102a24; }
tr:last-child td { border-bottom: 0; }
.decision-flow { counter-reset: flow; list-style: none; padding: 0; margin-top: 34px; margin-bottom: 44px; }
.decision-flow li { position: relative; margin: 0 0 12px; padding: 18px 18px 18px 62px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.decision-flow li::before { counter-increment: flow; content: counter(flow); position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #071915; font-weight: 900; }
.source-note { margin-top: 40px; padding: 24px; border-left: 4px solid var(--accent-2); background: var(--surface-2); color: var(--muted); }
.source-note p:last-child { margin-bottom: 0; }

.faq-section { margin-top: 88px; padding-top: 18px; border-top: 1px solid var(--border); }
.faq-section h2 { width: 100%; margin-top: 0; border: 0; }
.faq-section details { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.faq-section summary { min-height: 54px; padding: 15px 50px 15px 18px; cursor: pointer; color: var(--text); font-weight: 800; }
.faq-answer { padding: 0 18px 18px; color: #d8e5df; }
.faq-answer p:last-child { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--border); background: #061410; }
.footer-inner { width: min(100% - 32px, var(--content)); margin: 0 auto; padding: 64px 0 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 64px; }
.footer-name { margin-bottom: 10px; color: var(--accent); font-size: 1.15rem; font-weight: 900; }
.footer-identity p { max-width: 640px; }
.footer-menu { columns: 2; column-gap: 32px; }
.footer-menu li { break-inside: avoid; margin: 0 0 12px; }
.footer-menu a { color: var(--text); }
.footer-note { width: min(100% - 32px, var(--content)); margin: 0 auto; padding: 20px 0 34px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

@media (max-width: 1180px) {
    body.nav-open { overflow: hidden; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .primary-navigation { display: none; position: fixed; inset: 76px 0 auto; max-height: calc(100vh - 76px); overflow-y: auto; padding: 16px; border-bottom: 1px solid var(--border); background: #071915; }
    .nav-open .primary-navigation { display: block; }
    .primary-menu { display: grid; gap: 4px; }
    .primary-menu a { min-height: 48px; padding: 12px 16px; font-size: 16px; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .header-inner { padding-inline: 16px; }
    .custom-logo { width: min(220px, 64vw); }
    .editorial-article { width: min(100% - 32px, var(--content)); padding: 48px 0 64px; }
    h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
    h2 { margin-top: 62px; font-size: 1.85rem; }
    .editorial-figure { margin: 38px auto 52px; }
    .editorial-figure img { max-height: 520px; object-position: center; }
    table { font-size: .9rem; }
    th, td { padding: 12px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
}

@media (max-width: 390px) {
    .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .nav-toggle::after { content: "☰"; font-size: 24px; }
    .editorial-article { width: calc(100% - 32px); }
    .footer-menu { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
