An earthquake measuring 5.3 on the Richter scale struck Japan's Ibaraki prefecture on Monday, the weather agency said.