TOKYO - Japan's core consumer prices in May rose 3.7 percent from a year earlier, marking the biggest increase in more than two years, as rice and other food costs surged, government data showed Friday.