* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
   font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-top: 90px;
}

/* Hero Section */
.hero-section {
    padding: 3rem 2rem 1rem;
    min-height: auto;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Collage Section */
.collage-section {
    max-width: 1200px;
    margin: 1rem auto 2rem;
    padding: 0 2rem;
}

.collage-section img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.collage-section img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Members Section */
.members-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* カテゴリ見出し */
.category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e3c72;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
}

.category-title:first-child {
    margin-top: 0;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.member-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-height: 200px;
    max-width: 340px;
}

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

.member-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    overflow: hidden;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.member-avatar .initial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.member-avatar.no-image .initial {
    opacity: 1;
}

.member-avatar:not(.no-image) .initial {
    opacity: 0;
}

.member-name {
    font-size: 1.7rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.member-position {
    color: #1e3c72;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .collage-section {
        padding: 0 1rem;
    }

    .category-title {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
}

/* ===== フッター ===== */
.footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

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

.copyright {
    font-size: 0.85em;
    opacity: 0.8;
    line-height: 1.6;
}