@charset "UTF-8";

:root {
    --text: #2a302c;
    --muted: #68716c;
    --line: #d6ddd8;
    --accent: #426e64;
    --surface: #ffffff;
    --light: #eaf1ed;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--surface);
    font: 18px/1.75 Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
}

.site-top {
    border-bottom: 1px solid var(--line);
}

.top-line,
.navigation,
.homepage,
.article-container,
.bottom-inner {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
}

.top-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 29px 0 19px;
}

.identity {
    color: var(--text);
    font: 700 29px/1.2 Georgia, serif;
    letter-spacing: .045em;
    text-decoration: none;
}

.identity-note {
    color: var(--muted);
    font: 12px/1.5 system-ui, sans-serif;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 0 0 20px;
}

.navigation a,
.navigation span {
    font: 600 13px/1.5 system-ui, sans-serif;
    text-decoration: none;
}

.navigation a:hover,
.navigation span {
    color: var(--accent);
}

.overline {
    color: var(--accent);
    font: 700 12px/1.5 system-ui, sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.opening {
    max-width: 800px;
    padding: 80px 0 66px;
}

.opening h1 {
    margin: 16px 0 26px;
    font-size: clamp(48px, 7vw, 84px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -.04em;
}

.opening > p:last-child {
    max-width: 670px;
    font-size: 21px;
    line-height: 1.65;
    margin: 0;
}

.contents {
    border-top: 3px solid var(--accent);
    padding: 26px 0 110px;
}

.contents-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 30px;
    padding-bottom: 26px;
}

.contents-heading span {
    color: var(--accent);
    font: 700 12px system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.contents-heading h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
}

.index-entry {
    display: grid;
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 30px;
    border-top: 1px solid var(--line);
    padding: 29px 0 31px;
}

.entry-number {
    color: var(--accent);
    font: 700 13px/1.7 system-ui, sans-serif;
}

.entry-main h2 {
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.25;
    font-weight: 400;
    margin: 0 0 10px;
}

.entry-main h2 a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.entry-main h2 a:hover {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.entry-main p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.article-container {
    padding-bottom: 105px;
}

.article-head {
    max-width: 800px;
    padding: 65px 0 38px;
    border-bottom: 1px solid var(--line);
}

.article-head h1 {
    font-size: clamp(37px, 5vw, 58px);
    line-height: 1.18;
    letter-spacing: -.025em;
    font-weight: 400;
    margin: 16px 0 0;
}

.article-body {
    max-width: 800px;
    padding-top: 42px;
    overflow-wrap: break-word;
}

.article-body p {
    margin: 0 0 23px;
}

.article-body h2,
.article-body h3 {
    font-size: 29px;
    line-height: 1.3;
    font-weight: 400;
    margin: 42px 0 17px;
}

.article-body figure {
    margin: 32px 0;
}

.article-body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.site-bottom {
    background: var(--light);
    border-top: 1px solid var(--line);
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 0;
    color: var(--muted);
    font: 13px system-ui, sans-serif;
}

@media (max-width: 700px) {
    .top-line {
        display: block;
    }

    .identity-note {
        display: block;
        margin-top: 10px;
    }

    .opening {
        padding: 54px 0 45px;
    }

    .contents-heading {
        display: block;
    }

    .contents-heading h2 {
        margin-top: 12px;
    }

    .index-entry {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 14px;
    }

    .bottom-inner {
        display: block;
    }

    .bottom-inner span {
        display: block;
        margin-bottom: 8px;
    }
}
