7.1 magnitude quake hits Japan