vic: I saw your post at the exact moment you posted and I only found the source now
I had to pass through the entire anime to make sure it was right (it has 3 seasons)
it's called The World God Only Knows or Kami Nomi Zo Shiru Sekai
to be more precise, season 2: episode 1/ close to time 16:40 :^)