I want to learn about homotopy theory on number fields, and I heard that the theory of motives made it possible, so I want to know what is a good textbook for motive theory.

To be honest, I don’t know algebraic geometry (I only read Hartshorne). So please tell me what is needed to get some knowledge about Algebraic Geometry (SGA? Or other book?).

and alsoreferences for general algebraic geometry beyond Hartshorne's book, I think the question is too broad for MO. If you actually intend to ask only about motives, anyway, have you made a google search? A search within past MO questions (e.g. mathoverflow.net/questions/11932/references-for-artin-motives)? What does/does not satisfy you about that material? $\endgroup$ – Qfwfq Jul 23 '18 at 8:34Une Introduction aux Motifs(SMF 2004). $\endgroup$ – TKe Jul 23 '18 at 8:53Lectures on the Theory of Pure Motivesby Murre, Nagel, Peters. It does not address homotopy theory however. $\endgroup$ – François Brunault Jul 23 '18 at 11:28