Japan saw a widening goods trade deficit in November as the cost of oil imports surged while smartphone-related exports to Asia plummeted, government data showed Wednesday.

The country logged a deficit of ¥737.3 billion with the rest of the world, the second straight month of red ink following a revised ¥450.1 billion deficit in October.

Imports rose 12.5 percent from a year earlier to ¥7.66 trillion. Unrefined oil made the largest contribution, surging on the back of an earlier rise in global market valuations.