:root {
    --paper: #f4ede0;
    --paper-shade: #e8dfcb;
    --ink: #1a1a1a;
    --ink-soft: #3a3a3a;
    --line: rgba(26, 26, 26, 0.15);
    --line-strong: rgba(26, 26, 26, 0.4);
    --sho-blue: #1e4a8c;
    --red-accent: #c0392b;
    --bg-block: rgba(26, 26, 26, 0.04);
}

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

html, body {
    background: #ddd6c4;
    font-family: "Zen Kaku Gothic Antique", "Hiragino Sans", system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.7;
}

/* Wireframe banner (top of every page) */
.wf-banner {
    background: var(--ink);
    color: var(--paper);
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-align: center;
}
.wf-banner strong {
    color: #fff;
    font-weight: 700;
}
.wf-banner .sub {
    opacity: 0.7;
    margin-left: 12px;
    font-size: 11px;
}

/* Container */
.container {
    max-width: 960px;
    margin: 0 auto;
    background: var(--paper);
    background-image: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.025) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    border: 1px solid var(--line);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-height: calc(100vh - 40px);
    padding: 0;
}

/* Header / Navigation */
.site-nav {
    background: var(--ink);
    color: var(--paper);
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-nav .logo {
    font-family: "Kaisei Tokumin", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--paper);
    text-decoration: none;
}
.site-nav .logo:hover {
    opacity: 0.7;
}
.site-nav .nav-right {
    display: flex;
    gap: 24px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    align-items: center;
}
.site-nav .nav-right a {
    color: var(--paper);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}
.site-nav .nav-right a:hover,
.site-nav .nav-right a.is-active {
    border-bottom-color: var(--paper);
}
.site-nav .nav-right .lang {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Main content area */
.main {
    padding: 40px 56px 48px;
}

/* Page tag */
.page-tag {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 3px double var(--ink);
    padding-bottom: 16px;
}
.page-tag .no {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--red-accent);
}
.page-tag .name {
    font-family: "Kaisei Tokumin", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.page-tag .name small {
    font-size: 11px;
    color: var(--ink-soft);
    opacity: 0.7;
    font-weight: 500;
}

/* Wireframe blocks */
.stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.wf-block {
    border: 1.5px dashed var(--line-strong);
    background: var(--bg-block);
    padding: 18px 20px;
    position: relative;
}
.wf-block.solid {
    border-style: solid;
}
.wf-block .role {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
    font-weight: 700;
}
.wf-block .title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--ink);
    margin-bottom: 4px;
}
.wf-block .inside {
    font-size: 12px;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* Main visual */
.wf-mainvisual {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(30, 74, 140, 0.05);
}
.wf-mainvisual .title {
    font-size: 16px;
    margin-top: 6px;
}
.wf-mainvisual .inside {
    margin-top: 6px;
}

/* Filter tabs */
.wf-tabs {
    background: var(--paper-shade);
}

/* Posts list (mock) */
.wf-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.wf-posts .row {
    border: 1px dashed var(--line-strong);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--ink-soft);
    gap: 12px;
}
.wf-posts .row .l {
    flex: 1;
}
.wf-posts .row .l .badge {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 0.15em;
    padding: 2px 8px;
    border: 1px solid var(--ink-soft);
    color: var(--ink);
    margin-right: 8px;
    display: inline-block;
}
.wf-posts .row .l .ttl {
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}
.wf-posts .row .r {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    opacity: 0.7;
}
.wf-more {
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
}
.wf-more a {
    color: var(--sho-blue);
    text-decoration: none;
    border-bottom: 1px solid var(--sho-blue);
    padding-bottom: 2px;
    letter-spacing: 0.05em;
}

/* Footer */
.site-footer {
    background: var(--paper-shade);
    border-top: 1px solid var(--line);
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    font-size: 11px;
    color: var(--ink-soft);
}
.site-footer strong {
    color: var(--ink);
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: 700;
}

/* About — section layout */
.about-section {
    margin-top: 6px;
}

body {
    padding: 0 0 40px;
}

@media (max-width: 720px) {
    .main {
        padding: 28px 20px 36px;
    }
    .site-nav {
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .site-nav .nav-right {
        gap: 16px;
    }
    .site-footer {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .page-tag .name {
        font-size: 18px;
    }
}
