At least 26 people were injured after an earthquake measuring 6.7 on the Richter scale struck Japan's northwestern region.