The anime for the most part solidly followed the anime up to roughly episode 18-19. After that sequence the story bascially skips through the next arc, and then goes and does its own thing.
Manga isn't much better... Author seems to be trying to wrap things up, and ass pulls galore are sure to...