Yes it makes no sense but it's the way it is:
Wind ---> Lightning ---> Earth ---> Water ---> Fire ---> Wind
Obviously it would have made more sense to change earth with lightning so electricity defeated water and earth defeated lightning but Kishi decided to make the affinity table like this and now we're stuck with it.
In my opinion the only reason he did this was so he could give naruto the wind element and make it strong against the chidori, which to me just feels like lazy writing on his part.
The whole system has a pokemon feel to it so i never really liked it anyway *hides avatar*
Dam the animation on the next episode is gonna be awesome again, but Chouji really looks weird like that lol ( no problem because kakashi looks extra cool to make up for it )