A magnitude-5.0 earthquake struck near the Mexican resort town of Acapulco on the Pacific coast on Saturday afternoon, according to the country's National Seismological Service.