TOKYO - A moderate earthquake with a preliminary magnitude of 5.7 hit northeastern Japan on Monday, said the Japan Meteorological Agency.