Heart/Mach both take place following the novel, "Kamen Rider Drive: ~Mach Saga~", which takes place two years following the conclusion of the Kamen Rider Drive TV series.
However, Shinnosuke cannot immediately deal with this new information when the evil Kamen Rider Dark Drive also comes from the future, causing enough mayhem that leads to Shinnosuke being framed ...