/* Scoped to the Rev2 candidate only; no shared theme or MyHome selectors. */
body.slpt2-page { background: #f7f7f7; }
body.slpt2-page #header-container,
body.slpt2-page #footer,
body.slpt2-page #sidebar,
body.slpt2-page .sidebar,
body.slpt2-page .entry-header,
body.slpt2-page .entry-title,
body.slpt2-page .date-tags,
body.slpt2-page .sns-share,
body.slpt2-page .sns-follow,
body.slpt2-page .author-info,
body.slpt2-page .author-box,
body.slpt2-page .breadcrumb,
body.slpt2-page .under-entry-content,
body.slpt2-page .footer-meta,
body.slpt2-page .toc { display: none !important; }
body.slpt2-page #content,
body.slpt2-page #content-in,
body.slpt2-page #main,
body.slpt2-page .article,
body.slpt2-page .entry-content {
    width: 100% !important; max-width: none !important; min-width: 0 !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important;
    background: transparent !important; box-shadow: none !important;
}
body.slpt2-page .slpt2 {
    --ink: #193451; --blue: #0b4f85; --line: #cbd8e5;
    color: var(--ink); background: #f7f7f7;
    font: 500 15px/1.6 system-ui, -apple-system, "Noto Sans JP", "Yu Gothic", sans-serif;
    width: 100%; min-width: 0;
}
body.slpt2-page .slpt2 *, body.slpt2-page .slpt2 *::before, body.slpt2-page .slpt2 *::after { box-sizing: border-box; }
/* Cocoon heading/p/section decoration must not leak into the component. */
body.slpt2-page .slpt2 :is(h1,h2,h3,p,ul,li,section,header,footer,form,nav,details,summary) {
    margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
    min-height: 0; height: auto; letter-spacing: normal;
}
body.slpt2-page .slpt2 :is(h1,h2,h3)::before,
body.slpt2-page .slpt2 :is(h1,h2,h3)::after { content: none !important; }
body.slpt2-page .slpt2 h1 { font-size: 28px; font-weight: 800; line-height: 1.35; }
body.slpt2-page .slpt2 h2 { font-size: 19px; font-weight: 750; line-height: 1.4; }
body.slpt2-page .slpt2 h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
body.slpt2-page .slpt2 a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
body.slpt2-page .slpt2 a:hover { text-decoration: underline; }
body.slpt2-page .slpt2 :is(a,button,input,summary,[tabindex]):focus-visible { outline: 3px solid #aa6200; outline-offset: 2px; }
body.slpt2-page .slpt2-preview { padding: 4px 12px; text-align: center; font-size: 11px; color: #705820; background: #fff5dc; }
body.slpt2-page .slpt2-header { background: white; border-bottom: 1px solid var(--line); }
body.slpt2-page .slpt2-header-inner { max-width: 1100px; margin: auto; padding: 16px 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-items: center; }
body.slpt2-page .slpt2-search { display: flex; min-width: 0; }
body.slpt2-page .slpt2-search input { margin: 0; min-width: 0; width: 100%; height: 44px; border: 1px solid #b2c7db; border-radius: 7px 0 0 7px; padding: 8px 10px; font: inherit; background: white; color: var(--ink); }
body.slpt2-page .slpt2-search button { margin: 0; width: 68px; flex: 0 0 68px; border: 0; border-radius: 0 7px 7px 0; font: inherit; font-weight: 700; background: var(--blue); color: white; cursor: pointer; }
body.slpt2-page .slpt2-nav { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); grid-column: 1/-1; gap: 4px; }
body.slpt2-page .slpt2-nav > :is(a,span) { display: flex; min-width: 0; min-height: 44px; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px; font-size: 14px; font-weight: 700; border-bottom: 2px solid transparent; text-align: center; }
body.slpt2-page .slpt2-nav [aria-current] { color: #083b66; background: #e5edf5; border-bottom-color: var(--blue); }
body.slpt2-page .slpt2-nav [aria-disabled] { color: #667382; }
body.slpt2-page .slpt2-nav small { font-size: 10px; font-weight: 500; }
body.slpt2-page .slpt2-main { max-width: 1100px; margin: auto; padding: 16px 20px 20px; }
body.slpt2-page .slpt2-section { padding: 16px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
body.slpt2-page .slpt2-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-bottom: 10px; }
body.slpt2-page .slpt2-heading > :is(a,span) { font-size: 12px; }
body.slpt2-page .slpt2-heading > a { display: inline-flex; align-items: center; min-height: 32px; }
body.slpt2-page .slpt2-heading > span { color: #596e82; }
body.slpt2-page .slpt2-note { color: #586d81; font-size: 13px; margin: 6px 0; }
body.slpt2-page .slpt2-list { list-style: none; }
body.slpt2-page .slpt2-list li + li { border-top: 1px solid #e1e9f1; }
body.slpt2-page .slpt2-list a { display: flex; align-items: center; min-height: 44px; padding: 9px 2px; font-size: 14px; }
body.slpt2-page .slpt2-news-list a { display: block; }
body.slpt2-page .slpt2-group + .slpt2-group { border-top: 1px solid #e1e9f1; }
body.slpt2-page .slpt2-group > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 2px; cursor: pointer; list-style: none; font-weight: 700; }
body.slpt2-page .slpt2-group > summary::-webkit-details-marker { display: none; }
body.slpt2-page .slpt2-group > summary::after { content: '+'; font-size: 20px; color: var(--blue); }
body.slpt2-page .slpt2-group[open] > summary::after { content: '−'; }
body.slpt2-page .slpt2-count { margin-left: auto; font-size: 12px; font-weight: 500; color: #607487; }
body.slpt2-page .slpt2-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
body.slpt2-page .slpt2-grid > a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; line-height: 1.45; font-weight: 600; }
body.slpt2-page .slpt2-group > .slpt2-grid { padding-bottom: 10px; }
body.slpt2-page .slpt2-more { margin-top: 6px; }
body.slpt2-page .slpt2-more summary { padding: 10px 2px; min-height: 44px; color: var(--blue); cursor: pointer; font-size: 13px; }
body.slpt2-page .slpt2-when-open { display: none; }
body.slpt2-page .slpt2-more[open] .slpt2-when-closed { display: none; }
body.slpt2-page .slpt2-more[open] .slpt2-when-open { display: inline; }
body.slpt2-page #slpt2-features .slpt2-features { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; padding: 3px; }
body.slpt2-page #slpt2-features .slpt2-features > a { display: flex; flex-direction: column; min-width: 0; gap: 10px; padding: 14px; background: #eef2f6; border-radius: 8px; }
body.slpt2-page #slpt2-features .slpt2-feature-kind, body.slpt2-page #slpt2-features .slpt2-feature-cta { font-size: 12px; }
body.slpt2-page #slpt2-features .slpt2-feature-summary { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
body.slpt2-page #slpt2-features .slpt2-feature-cta { margin-top: auto; }
@media (min-width: 768px) and (max-width: 1023px) { body.slpt2-page #slpt2-features .slpt2-features { grid-template-columns: repeat(2,minmax(0,1fr)); } }
body.slpt2-page .slpt2-status { font-size: 12px; color: #586d81; }
body.slpt2-page .slpt2-status summary { padding: 10px 0; cursor: pointer; }
body.slpt2-page .slpt2-status ul { padding-left: 20px; }
body.slpt2-page .slpt2-footer { padding: 12px; text-align: center; font-size: 12px; }
body.slpt2-page .slpt2-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
body.slpt2-page .slpt2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.slpt2-page .slpt2-skip { position: absolute; left: 12px; top: -200px; background: white; z-index: 100001; padding: 10px; }
body.slpt2-page .slpt2-skip:focus { position: fixed; top: 48px; }
@media (max-width: 767px) {
    body.slpt2-page .slpt2-header-inner { grid-template-columns: minmax(0,1fr); padding: 10px 12px 0; gap: 10px; }
    body.slpt2-page .slpt2 h1 { font-size: 24px; }
    body.slpt2-page .slpt2 h2 { font-size: 18px; }
    body.slpt2-page .slpt2-nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px 4px; }
    body.slpt2-page .slpt2-nav > :is(a,span) { font-size: 13px; }
    body.slpt2-page .slpt2-main { padding: 12px 10px; }
    body.slpt2-page .slpt2-section { padding: 12px; margin-bottom: 12px; border-radius: 10px; }
    body.slpt2-page .slpt2-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.slpt2-page .slpt2-grid > a { font-size: 13px; padding: 8px; }
    body.slpt2-page #slpt2-features .slpt2-features { grid-template-columns: minmax(0,1fr); }
}
body.slpt2-page .slpt2-feed-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 1px 6px; }
body.slpt2-page .slpt2-feed-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 12px; border: 1px solid #b7cde1; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 700; }
body.slpt2-page .slpt2-feed-tabs a[aria-current="page"] { background: var(--blue); color: #fff; border-color: var(--blue); }
body.slpt2-page .slpt2-site-list a { justify-content: space-between; gap: 12px; }
body.slpt2-page .slpt2-site-list a > span:first-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.slpt2-page .slpt2-site-description { color: #4f657a; font-size: 14px; font-weight: 500; }
@media (max-width: 767px) {
    body.slpt2-page .slpt2-feed-tabs a { min-height: 36px; padding-inline: 10px; font-size: 12px; }
    body.slpt2-page .slpt2-site-description { font-size: 13px; }
}

/* =========================================================
   SITE-LINK Font Readability Rev1 - CANDIDATE
   Scope: typography only. No layout/color/spacing changes.
   ========================================================= */
body.slpt2-page .slpt2-nav > :is(a,span) { font-size: 15px; }
body.slpt2-page .slpt2-heading > :is(a,span) { font-size: 13px; }
body.slpt2-page .slpt2-list a { font-size: 15px; }
body.slpt2-page .slpt2-grid > a { font-size: 15px; }
body.slpt2-page #slpt2-features .slpt2-feature-kind,
body.slpt2-page #slpt2-features .slpt2-feature-cta { font-size: 13px; }
body.slpt2-page #slpt2-features .slpt2-feature-summary { font-size: 15px; }
body.slpt2-page .slpt2-status { font-size: 13px; }
body.slpt2-page .slpt2-footer { font-size: 13px; }
body.slpt2-page .slpt2-back { font-size: 14px; }
body.slpt2-page .slpt2-feed-tabs a { font-size: 14px; }
body.slpt2-page .slpt2-site-description { font-size: 15px; }

@media (max-width: 767px) {
    body.slpt2-page .slpt2-nav > :is(a,span) { font-size: 14px; }
    body.slpt2-page .slpt2-grid > a { font-size: 14px; }
    body.slpt2-page .slpt2-feed-tabs a { font-size: 13px; }
    body.slpt2-page .slpt2-site-description { font-size: 14px; }
}

/* =========================================================
   SITE-LINK Typography Clarity Rev1 - CANDIDATE
   Scope: category/detail site-list readability only.
   Font sizes are intentionally unchanged from Font Readability Rev1.
   ========================================================= */
body.slpt2-page .slpt2-site-list a > span:first-child {
    color: #0b4f85;
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
    line-height: 1.55;
}
body.slpt2-page .slpt2-site-description {
    color: #3f5366;
    font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 400;
    line-height: 1.7;
}
body.slpt2-page .slpt2-site-list a:hover > span:first-child,
body.slpt2-page .slpt2-site-list a:focus-visible > span:first-child {
    color: #083b66;
}
