﻿/* ブログスタイル - 華やか版 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3em 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-content h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.8s ease-out;
}

.header-content p {
    font-size: 1.1em;
    opacity: 0.95;
}

main {
    max-width: 900px;
    margin: 2em auto;
    padding: 0 1em;
}

.articles-section h2 {
    font-size: 2em;
    color: white;
    margin-bottom: 1.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.articles-section h2 i {
    margin-right: 0.5em;
}

.articles-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
}

.articles-list li {
    background: white;
    padding: 1.5em;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #667eea;
    cursor: pointer;
}

.articles-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #764ba2;
}

.articles-list i {
    color: #667eea;
    margin-right: 0.8em;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.articles-list li:hover i {
    color: #764ba2;
}

.articles-list a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.articles-list li:hover a {
    color: #667eea;
}

footer {
    text-align: center;
    padding: 2em 1em;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    margin-top: 3em;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

footer p {
    opacity: 0.9;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 1.8em;
    }

    .articles-section h2 {
        font-size: 1.5em;
    }

    .articles-list {
        grid-template-columns: 1fr;
    }
}
