:root {
    --navy: #071b35;
    --navy2: #0b2d50;
    --orange: #f48659;
    --ink: #10223a;
    --muted: #65788d;
    --line: #dce5ea;
    --soft: #f2f6f8;
    --mist: #e8f1f4;
    --peach: #fff1e9;
    --white: #fff;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

h1, h2, h3, p {
    margin: 0
}

.wrap {
    width: min(calc(100% - 48px), var(--max));
    margin: auto
}

.site-header {
    position: fixed;
    z-index: 30;
    inset: 0 0 auto;
    height: 70px;
    color: #fff;
    background: rgba(7, 27, 53, .97);
    box-shadow: 0 1px rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px)
}

.nav {
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: space-between
}

.brand {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .06em
}

.brand i {
    color: var(--orange);
    font-style: normal
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #c2d0dc;
    font-size: 11px;
    font-weight: 750
}

.nav-links a:hover {
    color: #fff
}

.nav-cta {
    padding: 10px 16px;
    border-radius: 5px;
    color: #fff !important;
    background: var(--orange)
}

.article-hero {
    margin-top: 70px;
    padding: 42px 0 55px;
    border-bottom: 1px solid var(--line);
    background: #fff
}

.breadcrumb {
    margin-bottom: 30px;
    color: #8796a5;
    font-size: 11px
}

.breadcrumb span {
    margin: 0 9px;
    color: #bbc5cd
}

.category {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase
}

.category img {
    width: 15px;
    height: 13px;
    object-fit: contain
}

.article-hero h1 {
    max-width: 1200px;
    margin-top: 19px;
    color: var(--navy);
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 760;
    line-height: 1.28;
    letter-spacing: -.045em;
}

.article-summary {
    max-width: 850px;
    margin-top: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9
}

.article-meta {
    display: flex;
    gap: 28px;
    margin-top: 27px;
    color: #7c8c9b;
    font-size: 12px
}

.article-meta strong {
    margin-right: 7px;
    color: var(--navy);
    font-weight: 780
}

.content-shell {
    display: grid;
    grid-template-columns:minmax(0, 790px) minmax(270px, 310px);
    gap: 70px;
    align-items: start;
    padding: 72px 0 90px
}

.article-body {
    min-width: 0
}

.lead {
    padding: 27px 30px;
    border-left: 3px solid var(--orange);
    background: var(--soft);
    color: #40576d;
    font-size: 16px;
    font-weight: 650;
    line-height: 2
}

.cover {
    margin: 42px 0 53px
}

.cover img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    background: #f3f6f8
}

.cover figcaption {
    margin-top: 10px;
    color: #8a98a5;
    font-size: 11px
}

.prose h2 {
    margin: 62px 0 20px;
    padding-top: 5px;
    color: var(--navy);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 760;
    line-height: 1.45;
    letter-spacing: -.025em
}

.prose h2:first-of-type {
    margin-top: 0
}

.prose h3 {
    margin: 38px 0 13px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.55
}

.prose p {
    margin-top: 18px;
    color: #4f6478;
    font-size: 15px;
    line-height: 2
}

.prose ul, .prose ol {
    margin: 23px 0;
    padding-left: 24px;
    color: #4f6478;
    font-size: 15px
}

.prose li {
    margin: 9px 0;
    padding-left: 5px
}

.prose li::marker {
    color: var(--orange)
}

.quote {
    margin: 40px 0;
    padding: 31px 34px;
    border-radius: 10px;
    color: #fff;
    background: var(--navy)
}

.quote strong {
    display: block;
    color: var(--orange);
    font-size: 11px;
    letter-spacing: .11em
}

.quote p {
    margin-top: 10px;
    color: #d0dae3;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.75
}

.note {
    margin: 34px 0;
    padding: 25px 28px;
    border-radius: 10px;
    background: var(--peach)
}

.note strong {
    display: block;
    color: var(--orange);
    font-size: 12px
}

.note p {
    margin-top: 6px;
    color: #596d80;
    font-size: 14px
}

.article-image {
    margin: 40px 0
}

.article-image img {
    width: 100%;
    border-radius: 12px
}

.article-image figcaption {
    margin-top: 10px;
    color: #8a98a5;
    font-size: 11px
}

.simple-table {
    width: 100%;
    margin: 34px 0;
    border-collapse: collapse;
    font-size: 13px
}

.simple-table th, .simple-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left
}

.simple-table th {
    color: var(--navy);
    background: var(--soft);
    font-weight: 800
}

.simple-table td {
    color: #5d7082
}

.sidebar {
    position: sticky;
    top: 94px
}

.side-block {
    margin-bottom: 22px;
    padding: 27px 26px;
    border-radius: 12px;
    background: var(--soft)
}

.side-label {
    color: var(--orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em
}

.side-title {
    margin-top: 6px;
    color: var(--navy);
    font-size: 18px
}

.toc {
    margin: 20px 0 0;
    padding: 0;
    list-style: none
}

.toc li {
    border-top: 1px solid var(--line)
}

.toc a {
    display: grid;
    grid-template-columns:25px 1fr;
    gap: 6px;
    padding: 13px 0;
    color: #5f7285;
    font-size: 12px;
    line-height: 1.6
}

.toc a span {
    color: var(--orange);
    font-size: 10px;
    font-weight: 900
}

.toc a:hover {
    color: var(--navy);
    padding-left: 4px
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px
}

.tag {
    padding: 7px 11px;
    border-radius: 999px;
    color: #ad5837;
    background: #fff0e8;
    font-size: 10px;
    font-weight: 800
}

.related {
    margin-top: 14px
}

.related a {
    display: block;
    padding: 15px 0;
    border-top: 1px solid var(--line)
}

.related small {
    color: var(--orange);
    font-size: 9px;
    font-weight: 850
}

.related strong {
    display: block;
    margin-top: 5px;
    color: var(--navy);
    font-size: 13px;
    line-height: 1.65
}

.related a:hover strong {
    color: #d96535
}

.conversion {
    padding: 28px 26px;
    color: #fff;
    background: linear-gradient(145deg, #071b35, #0c355d)
}

.conversion .side-label {
    color: #ff9a70
}

.conversion h3 {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.5
}

.conversion p {
    margin-top: 10px;
    color: #aec0ce;
    font-size: 12px;
    line-height: 1.8
}

.conversion a {
    display: flex;
    min-height: 44px;
    margin-top: 20px;
    padding: 0 15px;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    background: var(--orange);
    font-size: 12px;
    font-weight: 850
}

.article-end {
    padding: 0 0 90px
}

.end-inner {
    padding-top: 30px;
    border-top: 1px solid var(--line)
}

.share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.share-label {
    color: #6c7e8f;
    font-size: 14px
}

.share-label strong {
    margin-right: 11px;
    color: var(--navy)
}

.share-icons {
    display: flex;
    gap: 9px
}

.share-icons a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    transition: .2s
}

.share-icons a:hover {
    border-color: var(--orange);
    transform: translateY(-2px)
}

.share-icons img {
    width: 15px;
    height: 15px;
    object-fit: contain
}

.keywords {
    display: flex;
    gap: 12px;
    margin-top: 23px;
    color: #7b8b99;
    font-size: 14px
}

.keywords strong {
    color: var(--navy)
}

.pager {
    display: grid;
    grid-template-columns:1fr 1fr;
    margin-top: 38px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.pager a {
    padding: 25px 28px
}

.pager a + a {
    border-left: 1px solid var(--line);
    text-align: right
}

.pager small {
    color: var(--orange);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .11em
}

.pager strong {
    display: block;
    margin-top: 6px;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.6
}

.pager a:hover {
    background: var(--soft)
}

.footer {
    padding: 35px 0 22px;
    color: #92a6b6;
    background: #06152b
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer-links {
    display: flex;
    gap: 22px;
    font-size: 10px
}

.copyright {
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 9px
}

@media (max-width: 940px) {
    .content-shell {
        grid-template-columns:1fr;
        gap: 55px
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns:1fr 1fr;
        gap: 20px
    }

    .side-block {
        margin: 0
    }

    .conversion {
        grid-column: 1/-1
    }

    .article-hero h1 {
        font-size: clamp(34px, 6vw, 50px)
    }
}

@media (max-width: 680px) {
    .wrap {
        width: calc(100% - 32px)
    }

    .site-header, .nav {
        height: 64px
    }

    .nav-links a:not(.nav-cta) {
        display: none
    }

    .article-hero {
        margin-top: 64px;
        padding: 32px 0 42px
    }

    .breadcrumb {
        margin-bottom: 23px
    }

    .article-hero h1 {
        font-size: 32px
    }

    .article-summary {
        font-size: 14px
    }

    .article-meta {
        gap: 12px;
        flex-wrap: wrap
    }

    .content-shell {
        padding: 52px 0 65px
    }

    .lead {
        padding: 22px;
        font-size: 14px
    }

    .cover {
        margin: 32px 0 42px
    }

    .prose h2 {
        margin-top: 48px;
        font-size: 26px
    }

    .prose h3 {
        font-size: 18px
    }

    .prose p, .prose ul, .prose ol {
        font-size: 14px
    }

    .quote {
        padding: 25px 23px
    }

    .quote p {
        font-size: 16px
    }

    .simple-table {
        display: block;
        overflow-x: auto
    }

    .sidebar {
        grid-template-columns:1fr
    }

    .conversion {
        grid-column: auto
    }

    .share-row {
        align-items: flex-start;
        flex-direction: column
    }

    .pager {
        grid-template-columns:1fr
    }

    .pager a + a {
        border-top: 1px solid var(--line);
        border-left: 0;
        text-align: left
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px
    }

    .footer-links {
        flex-wrap: wrap
    }
}

/* Simplified editorial template */
.article-hero h1 {
    max-width: none;
    width: 100%;
    font-size: clamp(24px, 2.7vw, 36px)
}

.article-summary {
    max-width: 980px
}

.cover {
    margin-top: 0
}

.side-title {
    margin-top: 0
}

.conversion h3 {
    margin-top: 0
}

.share-group {
    display: flex;
    align-items: center;
    gap: 14px
}

.share-label strong {
    margin: 0
}

.share-icons {
    gap: 7px
}

.share-icons a {
    width: 36px;
    height: 36px
}

.download-button {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    gap: 9px;
    border-radius: 5px;
    color: #fff;
    background: var(--navy);
    font-size: 14px;
    font-weight: 800;
    transition: .2s
}

.download-button:hover {
    background: var(--navy2);
    transform: translateY(-2px)
}

.download-button img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.pager {
    gap: 32px;
    border-bottom: 0
}

.pager a {
    display: flex;
    padding: 22px 0;
    align-items: center;
    gap: 15px;
    border: 0
}

.pager a + a {
    justify-content: flex-end;
    border: 0;
    text-align: right
}

.pager a > span {
    color: var(--orange);
    font-size: 19px
}

.pager small {
    color: #8a98a5;
    font-size: 14px;
    letter-spacing: .08em
}

.pager strong {
    margin-top: 3px;
    font-size: 14px
}

.pager a:hover {
    padding-inline: 7px;
    background: transparent
}

@media (max-width: 680px) {
    .article-hero h1 {
        font-size: 31px
    }

    .share-row {
        width: 100%
    }

    .share-group {
        width: 100%;
        justify-content: space-between
    }

    .download-button {
        width: 100%;
        justify-content: center
    }

    .pager {
        gap: 0
    }

    .pager a, .pager a + a {
        padding: 20px 0
    }

    .pager a + a {
        border-top: 1px solid var(--line)
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

