The purpose of this study is to determine the efficacy of TAK-438, once daily (QD), compared to lansoprazole in patients with erosive esophagitis of Grade A to D as defined by the LA classification grading system.