.profile-card {
    transition: all 0.3s ease;
}

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

.profile-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.profile-photo {
    width: 100%;
    max-width: 320px;
}

.profile-photo-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #111827;
}

.profile-photo--placeholder {
    width: 100%;
    aspect-ratio: 5 / 6;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: bold;
    background: linear-gradient(135deg, #374151, #6b7280, #9ca3af);
}

.profile-body p + p {
    margin-top: 1rem;
}

/* 互換用: 旧HTMLで使用していたクラス */
.profile-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 5 / 6;
    background: linear-gradient(135deg, #374151, #6b7280, #9ca3af);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: bold;
}

@media (min-width: 768px) {
    .profile-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .profile-photo {
        flex: 0 0 320px;
        margin-bottom: 0;
    }

    .profile-content {
        flex: 1;
    }
}
