I am currently interested in algebraic number theory and I wanted to learn more about it. The problem is that the course algebraic number theory at my university is for people without any background in algebraic geometry. But for me this seems not that interesting because as far as I know algebraic number theory can be done using algebraic geometry and since I know a bit about schemes, cohomology and varietes I wanted to ask if there is any reference for learning algebraic number theory which uses algebraic geometry.
Since I did not go into detail of what I know about algebraic geometry I would be glad if you could also mention prerequisites for the given reference.
You'll find that Milne has a collection of (in my opinion) excellent notes here.
He indicates which of his documents depend on one another by means of a 'required' and 'useful' column. His Abelian varieties notes require AG and ANT, and suggest the CFT notes would be useful. I believe it would be feasible to gain a deep appreciation for the ANT you care about by using the Abelian varieties notes to give yourself direction, and the CFT and ANT notes to understand the content.