* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fafafa;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 32px;
}

.updated {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 40px;
}

.lang-section {
    margin-bottom: 56px;
}

h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}

p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
}

ol {
    margin: 12px 0 12px 24px;
    font-size: 0.95rem;
    color: #444;
}

ol li {
    margin-bottom: 8px;
}

.footer-nav {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: #999;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 24px 16px 60px;
    }

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.05rem;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #ddd;
    }

    h1 {
        color: #eee;
    }

    .subtitle {
        color: #aaa;
    }

    .updated {
        color: #777;
    }

    h2 {
        color: #ddd;
        border-bottom-color: #444;
    }

    p, ol {
        color: #bbb;
    }

    .footer-nav {
        border-top-color: #444;
        color: #777;
    }

    .footer-nav a {
        color: #aaa;
    }
}
