TOKYO - Japan logged a 776.94 billion yen ($5.4 billion) trade deficit in November, government data showed Wednesday, after record U.S.-bound shipments failed to prevent the first drop in overall exports in three months, boding ill for an economic rebound driven by external demand.