TOKYO - Japan's Diet on Friday enacted into law a bill aimed at reforming working styles in the country despite opposition concern that the legislation would encourage long working hours.