Two strong earthquakes rattled northern Japan on Thursday, but neither caused any apparent damage or a tsunami.