Powerful typhoon slams into Japan