It takes a lot more than legislation, but Japan's modern culture is in large part the product of its education system. It has a strong focus on teaching exactly that sort of prosocial behaviour.
Are they teaching 'lifestyle' - how specifically? Does the US not teach it? And do you have any evidence that homogeniety has something to do with it?
Often "homogeneity" is a dog whistle for blaming minorities.