A magnitude 4.8 earthquake hit Ishikawa Prefecture at 5:31 p.m. on Thursday, according to the Japan Meteorological Agency.