A case mold type capacitor comprising: a capacitor element having a first electrode and a second electrode; a pair of terminals each of which is connected to the first electrode and the second electrode of the capacitor element, respectively; and molding resin embedding the capacitor element in a manner that the terminals are partially exposed out of the resin, wherein the molding resin has epoxy resin that contains inorganic filler and a molecular sieve mixed in the epoxy resin, characterised in that a mixing amount of the molecular sieve with respect to 100 parts by weight of epoxy resin containing the inorganic filler is as follows: a mixing amount more than 0 part by weight and not more than 5.5 parts by weight for the molecular sieve with a pore diameter not less than 0.27 nm (2.7 A) and not more than 0.33 nm (3.3 Å); a mixing amount more than 0 part by weight and not more than 6.0 parts by weight for the molecular sieve with a pore diameter not less than 0.37 nm (3.7 Å) and not more than 0.43 nm (4.3 A); a mixing amount more than 0 part by weight and not more than 6.5 parts by weight for the molecular sieve with a pore diameter not less than 0.47 nm (4.7 Å) and not more than 0.53 nm (5.3 Å); and a mixing amount more than 0 part by weight and not more than 7.0 parts by weight for the molecular sieve with a pore diameter not less than 1 nm (10 Å) and not more than 1.5 nm (15 Å). a capacitor element having a first electrode and a second electrode; a pair of terminals each of which is connected to the first electrode and the second electrode of the capacitor element, respectively; and molding resin embedding the capacitor element in a manner that the terminals are partially exposed out of the resin, wherein the molding resin has epoxy resin that contains inorganic filler and a molecular sieve mixed in the epoxy resin, characterised in that a mixing amount of the molecular sieve with respect to 100 parts by weight of epoxy resin containing the inorganic filler is as follows: a mixing amount more than 0 part by weight and not more than 5.5 parts by weight for the molecular sieve with a pore diameter not less than 0.27 nm (2.7 A) and not more than 0.33 nm (3.3 Å); a mixing amount more than 0 part by weight and not more than 6.0 parts by weight for the molecular sieve with a pore diameter not less than 0.37 nm (3.7 Å) and not more than 0.43 nm (4.3 A); a mixing amount more than 0 part by weight and not more than 6.5 parts by weight for the molecular sieve with a pore diameter not less than 0.47 nm (4.7 Å) and not more than 0.53 nm (5.3 Å); and a mixing amount more than 0 part by weight and not more than 7.0 parts by weight for the molecular sieve with a pore diameter not less than 1 nm (10 Å) and not more than 1.5 nm (15 Å). a mixing amount more than 0 part by weight and not more than 5.5 parts by weight for the molecular sieve with a pore diameter not less than 0.27 nm (2.7 A) and not more than 0.33 nm (3.3 Å); a mixing amount more than 0 part by weight and not more than 6.0 parts by weight for the molecular sieve with a pore diameter not less than 0.37 nm (3.7 Å) and not more than 0.43 nm (4.3 A); a mixing amount more than 0 part by weight and not more than 6.5 parts by weight for the molecular sieve with a pore diameter not less than 0.47 nm (4.7 Å) and not more than 0.53 nm (5.3 Å); and a mixing amount more than 0 part by weight and not more than 7.0 parts by weight for the molecular sieve with a pore diameter not less than 1 nm (10 Å) and not more than 1.5 nm (15 Å).