Take another look at the sentence:
She didn't care is a main clause. If she ever returned to Japan is a subordinate clause. A subordinate clause is an incomplete thought which you must attach to a main clause. When a subordinate clause follows a main clause, you generally need no punctuation between the two.