TOKYO - Core consumer prices in Japan gained 4.0 percent in December from a year earlier, the highest level since 1981 and twice the pace envisaged by the Bank of Japan, as higher food and energy prices increasingly squeeze household budgets, government data showed Friday.