A former (11) works, when supplied with wastewater containing heavy metals and hydrogen sulfide, to react heavy metals contained in wastewater with hydrogen sulfide to form sulfide salts, an acquirer (12) works, when supplied with sulfide salts and acid, to acquire hydrogen sulfide and heavy metal ions produced by reactions between sulfide salts and acid, a hydrogen sulfide supply line (13) supplies hydrogen sulfide acquired by the acquirer to the former, and a collection line (20) collects heavy metal ions.