/* ダイヨミ editorial surface: shared article components and directory. */
:root { --editorial-soft: #b8c5bd; --editorial-ink: #e9f1eb; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 6px; background: var(--green); color: #06120b; font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #9cf5c2; outline-offset: 5px; }
#main-content { scroll-margin-top: 90px; }
.editorial-home .eyebrow, .directory-page .eyebrow { display: block; color: #8fd6af; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.editorial-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 88% 30%, #19392955, transparent 52%); }
.editorial-hero .shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 42px; padding-block: 58px; }
.editorial-hero h1 { margin: 22px 0 24px; font-size: clamp(37px, 7.2vw, 72px); font-weight: 850; line-height: 1.27; letter-spacing: -.06em; }
.editorial-hero h1 em { color: var(--green); font-style: normal; }
.editorial-hero .hero-description { max-width: 580px; margin: 0; font-size: 15px; line-height: 1.95; color: #b7c5bc; }
.editorial-hero .hero-actions { gap: 12px 22px; margin-top: 26px; }
.editorial-hero .trust-row { color: #a1b4a8; margin-top: 24px; gap: 16px; font-weight: 500; }
.editorial-hero .trust-row a { text-decoration: underline; text-underline-offset: 4px; }
.count-example { align-self: center; border: 1px solid #43594c; border-radius: 18px; background: #101912; padding: 24px; box-shadow: 0 18px 55px #0004; }
.count-example > header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #2a3c30; }
.count-example > header strong { font-size: 13px; font-weight: 700; color: #d7e6dc; }
.example-label { font-size: 10px; letter-spacing: .07em; border: 1px solid #47604f; padding: 3px 8px; color: #b6cbbd; border-radius: 4px; }
.example-equation { display: flex; align-items: center; justify-content: center; gap: 17px; margin-block: 26px; }
.example-number { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.example-number strong { font-variant-numeric: tabular-nums; font-size: clamp(39px, 7vw, 49px); line-height: 1.1; letter-spacing: -.05em; font-weight: 800; }
.example-number span { color: #a9bcb0; font-size: 11px; }
.example-equation > span { color: #87a393; font-size: 29px; }
.example-remainder { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #2a3c30; padding-top: 22px; }
.example-remainder > span { color: #bccdc1; font-size: 13px; }
.example-remainder strong { color: var(--green); font-size: 62px; letter-spacing: -.07em; line-height: 1; font-variant-numeric: tabular-nums; }
.example-remainder strong small { font-size: 13px; margin-left: 6px; letter-spacing: 0; font-weight: 500; color: #b9cbbc; }
.count-example > p { margin: 19px 0 0; color: #a2b9aa; font-size: 11px; line-height: 1.8; }
.home-status-line { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-block: 18px; color: #97a99d; font-size: 12px; border-bottom: 1px solid var(--line); }
.home-status-line strong { color: #d7e4dc; }
.home-status-line a { margin-left: auto; color: #b6e7c9; text-decoration: underline; text-underline-offset: 4px; }
.editorial-section { padding-block: 48px; scroll-margin-top: 94px; min-width: 0; }
.editorial-section + .editorial-section { border-top: 1px solid var(--line); }
.editorial-section h2 { margin: 8px 0 14px; font-size: clamp(25px, 4vw, 37px); line-height: 1.45; letter-spacing: -.035em; }
.editorial-section h3 { font-size: 18px; line-height: 1.55; }
.editorial-section p { color: var(--editorial-soft); line-height: 1.9; }
.editorial-section .section-intro { max-width: 730px; margin: 0 0 27px; font-size: 14px; }
.editorial-section-heading { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.editorial-section-heading h2 { margin-bottom: 0; }
.editorial-section-heading .text-link { color: #a6eac0; font-size: 13px; }
.reading-steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; list-style: none; padding: 0; margin: 28px 0 0; }
.reading-steps li { padding: 25px; background: #101613; }
.reading-steps .step-index { display: block; font-variant-numeric: tabular-nums; font-size: 11px; letter-spacing: .13em; color: #72ca96; }
.reading-steps h3 { margin: 15px 0 10px; font-size: 18px; }
.reading-steps p { margin: 0 0 14px; font-size: 13px; }
.reading-steps a { display: inline-flex; align-items: center; min-height: 44px; color: #b9ebcb; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.feature-group-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.feature-group { border: 1px solid #304337; border-radius: 12px; padding: 25px; background: linear-gradient(145deg, #16231a, #101613 75%); min-width: 0; }
.feature-group > span { font-size: 11px; color: #a6bcae; }
.feature-group h3 { margin: 10px 0; font-size: 22px; }
.feature-group > p { margin: 0 0 14px; font-size: 13px; }
.feature-group ul { list-style: none; padding: 0; margin: 0; }
.feature-group li { border-top: 1px solid #2a382f; }
.feature-group li a { min-height: 50px; display: flex; align-items: center; gap: 12px; justify-content: space-between; color: #e1ece4; padding-block: 10px; font-size: 13px; line-height: 1.65; }
.feature-group li a::after { content: '↗'; color: #7acb98; flex-shrink: 0; }
.feature-group .feature-tool-link { min-height: 44px; display: inline-flex; align-items: center; color: #93d9ae; margin-top: 11px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.home-guides { background: #0c120e; border-block: 1px solid var(--line); }
.home-guide-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.home-guide-card { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; border: 1px solid #2b3a30; border-radius: 10px; padding: 21px; background: #101713; }
.home-guide-card > span { color: #79c995; font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.home-guide-card h3 { margin: 0 0 8px; font-size: 16px; color: #e5eee8; }
.home-guide-card p { margin: 0; font-size: 12px; }
.home-guide-card:hover, .static-directory-card:hover { border-color: #67937a; background: #15231a; }
.editorial-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; }
.editorial-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; color: #a9e7c0; text-decoration: underline; text-underline-offset: 4px; }
.note-box { margin-block: 24px; padding: 20px 24px; border-left: 3px solid #7cc698; background: #142019; color: #c6d4cb; line-height: 1.85; border-radius: 0 8px 8px 0; font-size: 13px; overflow-wrap: anywhere; }
.note-box p { margin-block: 8px; }
.note-box > :first-child { margin-top: 0; }
.note-box > :last-child { margin-bottom: 0; }
.note-box a { color: #a9e7c0; text-decoration: underline; text-underline-offset: 4px; }
.directory-intro { padding-block: 48px 28px; }
.directory-intro h1 { margin: 13px 0 17px; font-size: clamp(34px, 6vw, 56px); line-height: 1.3; letter-spacing: -.04em; }
.directory-intro > p { max-width: 760px; color: #b5c5ba; line-height: 1.95; font-size: 14px; }
.directory-number { color: #6fe39c; }
.directory-key { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 17px; margin-top: 24px; border-block: 1px solid var(--line); color: #adbbaf; font-size: 12px; }
.directory-key strong { color: #dce9e0; }
.directory-browser-section { padding-block: 0 46px; }
.directory-fallback-title { margin: 0 0 18px; color: #aebeb2; font-size: 13px; }
.static-directory-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.static-directory-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 9px 16px; min-height: 110px; padding: 21px; border: 1px solid #2b3b30; border-radius: 9px; background: #101713; }
.static-directory-card .directory-name { grid-column: 1 / -1; font-size: 14px; line-height: 1.7; font-weight: 700; color: #dfebe3; }
.static-directory-card small { align-self: center; color: #9ab0a0; font-size: 11px; }
.static-directory-card .directory-tool { display: inline-flex; align-items: center; justify-content: end; min-height: 44px; color: #9bdcb3; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 210px), 1fr)); gap: 14px; margin-block: 22px; }
.fact-card { min-width: 0; padding: 22px; border: 1px solid #34493b; border-radius: 10px; background: #121c16; }
.fact-card h3 { margin: 0 0 12px; font-size: 13px; color: #aec7b7; }
.fact-card p { margin: 7px 0; font-size: 13px; }
.fact-card strong { color: #dceddf; }
.fact-card > strong { display: block; font-size: clamp(24px, 4vw, 35px); line-height: 1.3; }
.fact-card small { display: block; margin-top: 10px; color: #a4b7aa; line-height: 1.65; font-size: 11px; }
.evidence-table { width: 100%; border-collapse: collapse; margin-block: 22px; background: #101713; font-size: 13px; }
.evidence-table caption { text-align: left; margin-bottom: 12px; color: #b0c8b8; font-weight: 700; }
.evidence-table th, .evidence-table td { padding: 15px; border: 1px solid #2d4033; text-align: left; vertical-align: top; line-height: 1.8; overflow-wrap: anywhere; }
.evidence-table th { background: #18271d; color: #bbd8c7; font-weight: 700; }
.evidence-table td { color: #c5d3ca; }
.evidence-table a { color: #a1e3b8; text-decoration: underline; text-underline-offset: 4px; }
.evidence-table small { display: block; margin-top: 7px; font-size: 11px; color: #9fb6a7; }
.reading-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; min-width: 0; }
.reading-layout > * { min-width: 0; }
.section-nav { display: flex; flex-wrap: wrap; gap: 3px 18px; padding: 15px 20px; border: 1px solid #304638; border-radius: 8px; background: #111d15; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: #b5d7c2; text-decoration: underline; text-underline-offset: 4px; }
.section-nav > strong, .section-nav > h2 { flex: 0 0 100%; margin: 0 0 5px; font-size: 12px; color: #d0e2d6; }
.updated-line { display: flex; flex-wrap: wrap; gap: 5px 18px; margin-block: 16px; color: #9eb5a6; font-size: 11px; line-height: 1.8; }
.case-card { margin-block: 18px; padding: 24px; border: 1px solid #34503d; border-radius: 10px; background: linear-gradient(130deg,#162a1c,#101713); }
.case-card h3 { margin: 0 0 12px; font-size: 18px; color: #e1eee5; }
.case-card p { margin-block: 10px; color: #bbcebf; line-height: 1.9; font-size: 14px; }
.case-card > :last-child { margin-bottom: 0; }
.case-card a { color: #a1e3b8; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) {
 .reading-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .feature-group-grid, .home-guide-grid, .static-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .directory-intro { padding-top: 64px; }
}
@media (min-width: 960px) {
 .editorial-hero .shell { grid-template-columns: minmax(0,1.25fr) minmax(320px,.85fr); gap: 64px; padding-block: 85px 78px; }
 .editorial-hero .hero-description { font-size: 16px; }
 .count-example { padding: 28px; }
 .editorial-section { padding-block: 70px; }
 .reading-steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .reading-steps li { padding: 24px; }
 .feature-group-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .home-guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .static-directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .reading-layout.reading-layout-sidebar { grid-template-columns: 220px minmax(0,1fr); gap: 34px; }
 .reading-layout-sidebar > .section-nav { position: sticky; top: 95px; flex-direction: column; flex-wrap: nowrap; }
}
@media (min-width: 760px) and (max-width: 959px) {
 .editorial-home .desktop-nav, .directory-page .desktop-nav { gap: 13px; font-size: 12px; }
 .editorial-home .header-inner, .directory-page .header-inner { gap: 12px; }
 .editorial-home .header-cta, .directory-page .header-cta { display: none; }
}
@media (max-width: 479px) {
 .editorial-hero .shell { padding-top: 42px; gap: 32px; }
 .editorial-hero h1 { font-size: 38px; }
 .editorial-hero .hero-actions .primary-button { width: 100%; }
 .home-status-line a { margin-left: 0; }
 .feature-group { padding: 21px; }
 .evidence-table th, .evidence-table td { padding: 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .editorial-home *, .directory-page * { transition: none !important; } }

/* Editorial machine-page components. */
.machine-lead { max-width: 820px; color: #c1d0c6; font-size: 15px; line-height: 1.95; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 18px; margin-block: 20px; }
.case-grid > .case-card { margin: 0; }
.source-list { padding-left: 22px; color: #aec3b6; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.source-list li { padding-block: 9px; }
.source-list a { color: #a4e7bd; text-decoration: underline; text-underline-offset: 4px; }
.check-list { padding-left: 22px; color: #c0d1c5; font-size: 14px; line-height: 1.9; }
.check-list li { padding-block: 5px; }
.check-list li::marker { color: #73d297; }
.editorial-section .field-hint, .fact-card .field-hint, .case-card .field-hint { color: #a0b7a9; font-size: 12px; line-height: 1.8; }

.fact-card > .benefit-text {font-size:clamp(18px,2.2vw,22px);line-height:1.6;overflow-wrap:anywhere;word-break:normal;}
@media (prefers-reduced-motion: reduce) {html {scroll-behavior:auto;} * {animation:none!important;transition:none!important;}}
