/* === VOA - 無駄のない美しさ === */

:root {
    --black: #111;
    --gray: #555;
    --light: #e5e5e5;
    --bg: #fff;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--black);
    background: var(--bg);
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--light);
}

header a:first-child {
    font-weight: 700;
    letter-spacing: 0.05em;
}

header a:last-child {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Main Content */
main h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

main>p:first-of-type {
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Article List */
h2 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 1rem;
}

.articles {
    list-style: none;
}

.articles li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light);
}

.articles li:first-child {
    border-top: 1px solid var(--light);
}

.articles time {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.articles a {
    font-weight: 500;
}

/* Article Page */
.back {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

article time {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

article h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
}

article h2 {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: var(--black);
    margin: 2.5rem 0 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid var(--black);
}

article h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

article p {
    margin-bottom: 1rem;
}

article strong {
    font-weight: 600;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--light);
}

th {
    font-weight: 600;
    background: var(--black);
    color: var(--bg);
}

tr:last-child td {
    border-bottom: none;
}

/* Stat Box */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin: 1.5rem 0;
    border: 1px solid var(--light);
}

.stats dt {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.stats dd {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light);
    font-size: 0.75rem;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 1.5rem 1rem;
    }

    main h1,
    article h1 {
        font-size: 1.25rem;
    }

    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.5rem;
    }
}