Japanese feudalism traditionally left very little freedom to citizens. Your occupation depended on cast you was born in. Samurai could not just take some other job and leave. Neither could peasant. The expectations on your loyalty and obeisance were super high. I am not sure they lost all that much with capitalism, maybe even gained.