*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

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

/* Header */
.site-header {
    border-bottom: 1px solid #eee;
    padding: 16px 24px;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.main-navigation a {
    font-size: 14px;
    transition: opacity 0.2s;
}

.main-navigation a:hover {
    opacity: 0.7;
}

/* Footer */
.site-footer {
    border-top: 1px solid #eee;
    padding: 24px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Genre Cards (Top Page) */
.genre-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.genre-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.genre-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.genre-card__link {
    display: block;
}

.genre-card__thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.genre-card__body {
    padding: 16px;
}

.genre-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.genre-card__excerpt {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Post Cards */
.post-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.post-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-card__link {
    display: block;
}

.post-card__thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-card__body {
    padding: 12px 16px;
}

.post-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
}

.post-card__date {
    font-size: 13px;
    color: #999;
}

/* Genre Page */
.genre-content {
    margin-bottom: 48px;
}

.genre-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px;
}

.genre-description {
    font-size: 16px;
    line-height: 1.8;
}

.genre-posts__heading {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #333;
}

/* Page */
.page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px;
}

.page-body {
    line-height: 1.8;
}

/* LP Mode */
body.lp-fullscreen {
    margin: 0;
    padding: 0;
}

body.lp-fullscreen .lp-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

body.lp-mode:not(.lp-fullscreen) .lp-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header__inner {
        flex-direction: column;
        gap: 12px;
    }

    .genre-cards {
        grid-template-columns: 1fr;
    }

    .post-cards {
        grid-template-columns: 1fr;
    }

    .site-main {
        padding: 24px 16px;
    }
}
