/* チームメンバー表示 - フロントエンドスタイル */

.team-members-display {
    margin: 2rem 0;
    padding: 0;
}

.team-members-grid {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.team-member-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.tm-member-photo-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.tm-member-photo {
    width: var(--photo-size, 200px);
    height: var(--photo-size, 200px);
    object-fit: cover;
    border: 4px solid #e5e7eb;
    transition: all 0.3s ease;
}

.tm-member-photo:hover {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.tm-photo-circle {
    border-radius: 50%;
}

.tm-photo-square {
    border-radius: 12px;
}

.tm-member-photo-placeholder {
    width: var(--photo-size, 200px);
    height: var(--photo-size, 200px);
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
    border: 4px solid #e5e7eb;
}

.tm-member-photo-placeholder.tm-photo-circle {
    border-radius: 50%;
}

.tm-member-photo-placeholder.tm-photo-square {
    border-radius: 12px;
}

.tm-member-content {
    padding: 0;
}

.tm-member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.tm-member-role {
    font-size: 1.125rem;
    font-weight: 500;
    color: #3b82f6;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-member-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .team-members-grid {
        gap: 1.5rem;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .tm-member-name {
        font-size: 1.25rem;
    }
    
    .tm-member-role {
        font-size: 1rem;
    }
    
    .tm-member-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-members-display {
        --photo-size: 150px;
    }
    
    .team-member-card {
        padding: 1rem;
    }
    
    .tm-member-photo-placeholder {
        font-size: 2rem;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    .team-member-card {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }
    
    .team-member-card:hover {
        border-color: #60a5fa;
    }
    
    .tm-member-name {
        color: #f9fafb;
    }
    
    .tm-member-role {
        color: #60a5fa;
    }
    
    .tm-member-description {
        color: #d1d5db;
    }
    
    .tm-member-photo-placeholder {
        background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
        border-color: #4b5563;
        color: #9ca3af;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-member-card {
    animation: fadeInUp 0.6s ease-out;
}

.team-member-card:nth-child(2) {
    animation-delay: 0.1s;
}

.team-member-card:nth-child(3) {
    animation-delay: 0.2s;
}

.team-member-card:nth-child(4) {
    animation-delay: 0.3s;
}

.team-member-card:nth-child(5) {
    animation-delay: 0.4s;
}

.team-member-card:nth-child(6) {
    animation-delay: 0.5s;
}