:root {
    --bg: #fff9fb;
    --card: #fff;
    --text: #222222;
    --muted: #5f5f5f;
    --line: #eedce2;
    --sidebar: 290px;
    --content-max: 1120px;
    --accent: #f888a8;
    --accent-soft: #fff0f5;
    --accent-mid: #f8cfdb
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.75
}

body.menu-open {
    overflow: hidden
}

img {
    display: block;
    width: 100%;
    height: auto
}

a {
    color: inherit;
    text-decoration: none
}

.site-shell {
    min-height: 100vh
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    border-right: 1px solid var(--line);
    background: #fff;
    z-index: 30
}

.sidebar-inner {
    height: 100%;
    padding: 40px 34px 30px;
    display: flex;
    flex-direction: column
}

.brand-logo {
    display: block;
    width: 100%;
    max-width: 205px;
    line-height: 0
}

.brand-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

.brand-copy {
    margin: 16px 0 42px;
    color: #555;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.side-nav a {
    position: relative;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #222222;
    transition: color .2s ease, transform .2s ease
}

.side-nav a:hover,
.side-nav a.active {
    color: #222222
}

.side-nav a:hover {
    transform: translateX(2px)
}

.side-nav a.active:before {
    content: "";
    position: absolute;
    left: -34px;
    top: 50%;
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
    transform: translateY(-50%)
}

.side-profile {
    margin-top: auto;
    padding-top: 34px;
    border-top: 1px solid var(--line)
}

.side-label {
    margin: 0 0 8px !important;
    color: #222 !important;
    font-size: 10px !important;
    font-weight: 800;
    letter-spacing: .14em
}

.side-profile p {
    margin: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.75
}

.side-copy {
    margin: 28px 0 0;
    color: #777;
    font-size: 10px
}

.main-content {
    margin-left: var(--sidebar);
    padding: 0 clamp(36px, 5vw, 76px);
    min-height: 100vh
}

.main-content>* {
    width: min(100%, var(--content-max));
    margin-left: auto;
    margin-right: auto
}

.hero {
    padding: 88px 0 66px
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    color: var(--accent)
}

.hero h1 {
    margin: 0;
    color: #222222;
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.18;
    letter-spacing: -.04em
}

.lead {
    margin: 22px 0 0;
    color: #555;
    font-size: 15px;
    max-width: 720px
}

.posts-section {
    padding: 0 0 92px
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 13px
}

.section-head h2 {
    margin: 0;
    color: #222222;
    font-size: 25px
}

.section-head p {
    margin: 0;
    color: #555;
    font-size: 12px
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px
}

.post-card {
    min-width: 0
}

.thumb {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: var(--accent-soft);
    aspect-ratio: 16/10;
    border: 1px solid var(--line)
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease
}

.post-card:hover .thumb img {
    transform: scale(1.025)
}

.card-body {
    padding: 15px 2px 0
}

.meta {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #666;
    font-size: 10px;
    letter-spacing: .05em
}

.meta span {
    font-weight: 900;
    color: var(--accent)
}

.post-card h3 {
    color: #222222;
    font-size: 19px;
    line-height: 1.55;
    margin: 8px 0 7px;
    letter-spacing: -.015em
}

.post-card h3 a:hover {
    color: var(--accent);
    text-decoration: none
}

.post-card p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.85
}

.more {
    display: inline-block;
    margin-top: 12px;
    color: #222222;
    font-size: 11px;
    font-weight: 900
}

.more:hover {
    color: var(--accent)
}

.about {
    border-top: 1px solid var(--line);
    padding: 66px 0 80px;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 46px
}

.about h2 {
    margin: 0;
    color: #222222;
    font-size: 28px
}

.about>p {
    margin: 0;
    color: #555;
    font-size: 14px
}

.article-main {
    padding-top: 74px;
    padding-bottom: 100px
}

.article {
    max-width: 860px
}

.article-header {
    margin-bottom: 32px
}

.article-header .meta {
    margin-bottom: 15px
}

.article-header h1 {
    color: #222222;
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.32;
    letter-spacing: -.035em;
    margin: 0
}

.article-hero {
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 46px;
    aspect-ratio: 16/9;
    border: 1px solid var(--line);
    background: var(--accent-soft)
}

.article-hero img {
    height: auto;
    object-fit: cover
}

.article-content {
    font-size: 16px
}

.article-content h2 {
    margin: 46px 0 15px;
    color: #222222;
    font-size: 25px
}

.article-content p {
    margin: 0 0 22px;
    color: #333
}

.article-content ul {
    margin: 0 0 24px;
    padding-left: 2.4em
}

.article-content li {
    margin: 6px 0;
    color: #333
}

.article-content .note {
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    border-radius: 12px;
    padding: 21px 23px;
    color: #444;
    margin: 27px 0
}

.back {
    display: inline-block;
    margin-top: 48px;
    color: #222222;
    font-size: 12px;
    font-weight: 900;
    border-bottom: 1px solid #222222
}

.back:hover {
    color: var(--accent);
    border-color: var(--accent)
}

.menu-button,
.menu-overlay {
    display: none
}

@media(max-width:900px) {
    :root {
        --sidebar: 250px
    }

    .sidebar-inner {
        padding-left: 28px;
        padding-right: 28px
    }

    .brand-logo {
        max-width: 185px
    }

    .side-nav a.active:before {
        left: -28px;
        width: 16px
    }

    .main-content {
        padding-left: 30px;
        padding-right: 30px
    }

    .post-grid {
        gap: 34px 20px
    }
}

@media(max-width:720px) {
    .sidebar {
        width: min(84vw, 320px);
        transform: translateX(-100%);
        transition: transform .25s ease;
        box-shadow: 18px 0 40px rgba(34, 34, 34, .08)
    }

    .sidebar-inner {
        padding: 34px 28px
    }

    .brand-logo {
        max-width: 190px
    }

    .main-content {
        margin-left: 0;
        padding: 0 18px
    }

    .menu-button {
        display: flex;
        position: fixed;
        top: 14px;
        right: 14px;
        z-index: 50;
        width: 46px;
        height: 46px;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        padding: 0;
        cursor: pointer;
        box-shadow: 0 5px 18px rgba(248, 136, 168, .12)
    }

    .menu-button span {
        display: block;
        width: 18px;
        height: 2px;
        background: #222222;
        transition: transform .25s ease
    }

    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(34, 34, 34, .28);
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        transition: .25s
    }

    .menu-open .sidebar {
        transform: translateX(0)
    }

    .menu-open .menu-overlay {
        opacity: 1;
        visibility: visible
    }

    .menu-open .menu-button span:first-child {
        transform: translateY(4px) rotate(45deg)
    }

    .menu-open .menu-button span:last-child {
        transform: translateY(-4px) rotate(-45deg)
    }

    .hero {
        padding: 72px 0 48px
    }

    .hero h1 {
        font-size: 28px
    }

    .lead {
        font-size: 14px
    }

    .posts-section {
        padding-bottom: 66px
    }

    .section-head {
        margin-bottom: 20px
    }

    .post-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .thumb {
        border-radius: 10px
    }

    .post-card h3 {
        font-size: 19px
    }

    .post-card p {
        font-size: 13px
    }

    .about {
        padding: 52px 0 62px;
        grid-template-columns: 1fr;
        gap: 20px
    }

    .article-main {
        padding-top: 72px;
        padding-bottom: 74px
    }

    .article-header h1 {
        font-size: 28px
    }

    .article-hero {
        margin-bottom: 32px;
        border-radius: 11px
    }

    .article-content {
        font-size: 15px
    }

    .article-content h2 {
        font-size: 22px;
        margin-top: 36px
    }
}



.sidebar-line-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding: 14px 16px;
    background: #06c755;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition: opacity .2s ease, transform .2s ease;
}

.sidebar-line-button:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.side-copy {
    margin: 16px 0 0;
    color: #aaa;
    font-size: 10px;
}