In the past the best way to create an .epub was to save the document as a web page, but Calibre added a .docx filter that does a pretty good job. Try converting the .docx file directly to an .epub file. Then get
Sigil and open the file with it. Click the big green check mark to search for errors and fix them.