:root {
    --ink: #1d2530;
    --blue: #2277b3;
    --deep: #14486e;
    --accent: #f59421;
    --paper: #f7f5f0;
    --line: #ddd8ce;
    --muted: #5d6672;
    --serif: "Shippori Mincho B1", "Yu Mincho", serif;
    --sans: "Noto Sans JP", "Yu Gothic", sans-serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.9 var(--sans);
    letter-spacing: .02em
}

a {
    color: var(--blue)
}

a:focus-visible {
    outline: 3px solid #c9720a;
    outline-offset: 3px
}

.wrap {
    width: min(100% - 40px, 1000px);
    margin-inline: auto
}

.site-header {
    height: 72px;
    padding: 0 max(20px, calc((100% - 1120px)/2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #fff
}

.brand {
    text-decoration: none;
    color: var(--deep);
    font: 700 1.35rem var(--serif)
}

.brand span {
    font: 400 .75rem var(--sans);
    margin-left: 10px;
    color: var(--muted)
}

nav {
    display: flex;
    gap: 26px
}

nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: .9rem
}

nav a:hover,
nav a[aria-current=page] {
    color: var(--blue)
}

.page-hero {
    background: var(--deep);
    color: white;
    padding: 54px 0 46px
}

.eyebrow {
    margin: 0;
    color: #e9ac55;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em
}

.page-hero h1 {
    font: 600 clamp(1.8rem, 4vw, 2.5rem) var(--serif);
    letter-spacing: .08em;
    margin: 8px 0
}

.page-hero>div>p:not(.eyebrow):not(.crumb) {
    margin: 0;
    color: #d7e5f0
}

.crumb {
    font-size: .8rem;
    color: #c7d6e4;
    margin: 14px 0 0
}

.crumb a {
    color: inherit
}

.content {
    padding-block: 58px 84px;
    min-height: 380px
}

.list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px
}

.list-heading h2 {
    font: 600 1.55rem var(--serif);
    margin: 4px 0 0
}

.back-link {
    font-size: .88rem;
    text-decoration: none
}

.news-list {
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line)
}

.news-list li {
    border-bottom: 1px solid var(--line)
}

.news-item {
    padding: 20px 8px;
    display: grid;
    grid-template-columns: 120px 120px 1fr 24px;
    gap: 18px;
    align-items: center;
    color: var(--ink);
    text-decoration: none
}

.news-item:hover .title {
    color: var(--blue);
    text-decoration: underline
}

.news-item time,
.article-head time {
    color: var(--muted);
    font-size: .84rem;
    font-variant-numeric: tabular-nums
}

.tag {
    justify-self: start;
    border: 1px solid var(--blue);
    border-radius: 2px;
    padding: 0 10px;
    color: var(--blue);
    font-size: .72rem;
    line-height: 1.8
}

.title {
    font-weight: 500
}

.arrow {
    color: var(--accent-deep, var(--blue));
    font-size: 1.2rem
}

.status {
    padding: 32px 0;
    color: var(--muted)
}

.status.error {
    color: #a33
}

.detail-wrap {
    max-width: 850px
}

.article {
    border: 1px solid var(--line);
    padding: clamp(22px, 5vw, 52px);
    background: #fff
}

.article-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px
}

.article-head .tag {
    margin-left: 14px
}

.article-head h2 {
    font: 600 clamp(1.45rem, 3.4vw, 2rem)/1.6 var(--serif);
    margin: 18px 0 0
}

.article-body {
    padding-top: 28px;
    min-height: 120px;
    line-height: 2.15;
    overflow-wrap: anywhere;
    white-space: pre-wrap
}
.article-body h2{font:600 1.45rem/1.5 var(--serif);margin:1.2em 0 .5em;color:var(--deep)}
.article-body h3{font:600 1.15rem/1.5 var(--serif);margin:1em 0 .4em;color:var(--blue)}
.article-body p{margin:.65em 0}
.article-body ul,.article-body ol{padding-left:1.6em}
.article-body blockquote{margin:1em 0;padding:8px 14px;border-left:3px solid var(--accent);background:var(--paper);color:var(--muted)}
.article-body img{display:block;max-width:100%;height:auto;margin:16px 0;border-radius:4px}
.article-body a{text-decoration:underline}

.detail-actions {
    margin-top: 28px
}

.button {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--blue);
    border-radius: 3px;
    text-decoration: none
}

.button:hover {
    background: var(--blue);
    color: white
}

footer {
    background: var(--deep);
    color: #c7d6e4;
    padding: 22px 0;
    text-align: center;
    font-size: .76rem
}

[hidden] {
    display: none !important
}

@media(max-width:640px) {
    .site-header {
        height: auto;
        min-height: 68px;
        align-items: flex-start;
        padding: 14px 20px;
        gap: 8px;
        flex-direction: column
    }

    .brand span {
        font-size: .65rem
    }

    nav {
        gap: 20px
    }

    .page-hero {
        padding: 40px 0
    }

    .content {
        padding-block: 38px 60px
    }

    .list-heading {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column
    }

    .news-item {
        grid-template-columns: 1fr auto;
        gap: 7px 12px;
        padding: 17px 4px
    }

    .news-item time {
        grid-column: 1
    }

    .news-item .tag {
        grid-column: 2;
        grid-row: 1
    }

    .news-item .title {
        grid-column: 1
    }

    .news-item .arrow {
        grid-column: 2;
        grid-row: 2
    }

    .article {
        padding: 22px 18px
    }
}
