* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ヘッダー関連のスタイル */
.site-header {
    background-color: #8abdff;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    height: 100%;
}

.site-logo {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-right: 40px;
    text-decoration: none;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.global-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 0;
}

/* メインコンテンツ */
.site-content {
    flex: 1;
    margin-top: 70px;
    padding: 0 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ヒーローボックス */
.hero-box {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 48px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hero-box h1 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #333;
    font-weight: bold;
}

.hero-box p {
    color: #666;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #8abdff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* マンガグリッド */
.manga-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.manga-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.manga-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.manga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.manga-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.manga-card h3 {
    font-size: 14px;
    padding: 12px;
    margin: 0;
}

.manga-card .author {
    font-size: 12px;
    color: #666;
    padding: 0 12px 12px;
}

.manga-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* レスポンシブ対応 */
@media screen and (max-width: 800px) {
    .manga-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .manga-grid {
        padding: 12px;
    }

    .hero-box {
        padding: 20px;
        margin: 10px;
    }

    .hero-box h1 {
        font-size: 24px;
    }

    .manga-card img {
        height: 150px;
    }

    .menu-toggle {
        display: block;
    }

    .global-nav {
        display: none;
    }

    .global-nav.active {
        display: block;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background: #8abdff;
    }

    .global-nav ul {
        flex-direction: column;
        padding: 0;
    }

    .global-nav ul li {
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .global-nav ul li a {
        display: block;
        padding: 12px 20px;
    }
    .site-footer {
      background: #f5f5f5;
      padding: 24px 16px;
      text-align: center;
      width: 100%;
      margin-top: auto;
    }
    }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8abdff;
}

.copyright {
    color: #888;
    font-size: 12px;
    margin: 0;
}

@media screen and (max-width: 800px) {
    .footer-links {
        gap: 16px;
        padding: 0 12px;
    }
    
    .site-footer {
        padding: 16px;
    }
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

@media screen and (max-width: 800px) {
    .menu-toggle {
        display: block;
    }

    .global-nav {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background: #8abdff;
    }

    .global-nav.active {
        display: block;
    }

    .global-nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .global-nav ul li {
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .global-nav ul li a {
        display: block;
        padding: 12px 20px;
    }
}

}
