/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent-color: #E85876;
    --accent-hover: #D24663;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header */
header {
    background: white;
    color: #333;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

header .logo-container {
    margin-bottom: 1rem;
}

header .logo {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #333;
}

header .tagline {
    font-size: 1.1rem;
    color: #666;
}

header .tagline a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

header .tagline a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Intro Section */
.intro {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.intro h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
}

/* Summaries Section */
.summaries {
    margin-bottom: 2rem;
}

.summaries h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.summary-list {
    display: grid;
    gap: 1.5rem;
}

.summary-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.summary-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.summary-card p {
    color: #666;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
}

/* Summary Article */
.summary {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.summary h1 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

/* Category Section */
.category {
    margin-bottom: 3rem;
}

.category h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--accent-color);
}

/* Contributor Section */
.contributor {
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.contributor h3 {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contributor ul {
    list-style: none;
    padding: 0;
}

.contributor li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
}

.contributor strong {
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.contributor a {
    color: var(--accent-color);
    text-decoration: none;
    word-break: break-all;
    font-size: 0.95rem;
}

.contributor a:hover {
    text-decoration: underline;
}

/* Insights Section */
.insights {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.insights h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.insights p {
    color: #555;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
}

footer p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .summary {
        padding: 1.5rem;
    }

    .summary h1 {
        font-size: 1.6rem;
    }

    .category h2 {
        font-size: 1.3rem;
    }
}
