Never been to Japan, but AFAIK they used to have trash cans but got rid of them due to a sarin gas terrorist attack in 1995.
The main exception is when a building has a managed trash facility, which is a room that people leave their bags in instead of on the curb.
I always assumed sewer access and the occasional rat-stronghold in poorly maintaned buildings was the issue.