Northern Japan hit by major quake