A magnitude-5.1 earthquake struck south Japan's Ehime prefecture on Monday, according to Japan Meteorological Agency (JMA).