:root {
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #333;
    --text-sub: #666;
    --accent-color: #4a90e2;
}

body {
    font-family: 'Helvetica Neue', Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 40px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.hobby-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    animation: fadeIn 0.6s ease forwards;
}

.hobby-card:hover {
    transform: translateY(-5px);
}

.hobby-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.hobby-icon {
    font-size: 2rem;
    margin: 0;
    display: block;
}

.hobby-image {
    height: 120px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hobby-card h2 {
    margin: 0;
    font-size: 1.5rem;
    border-bottom: none;
    padding-bottom: 0;
}

.hobby-card p {
    color: var(--text-sub);
    font-size: 0.95rem;
}

.tag {
    display: inline-block;
    background: #eef2f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 5px;
    color: var(--text-main);
}

nav a {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 1rem;
}

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