A polymer having a polyamide structural unit, a polyamide-imide structural unit, or a polyimide structural unit, the polymer being selected from the group consisting of a polyamide, a polyamide-imide, a polyimide, a polyimide precursor, a polybenzoxazole, and a polybenzoxazole precursor, comprising a reaction product of a diamine and at least one of a tetracarboxylic dianhydride, a dicarboxylic acid, and a dicarboxylic halide;
- the diamine comprising at least one of a diamine shown by the following general formula (1) and a diamine shown by the following general formula (2);
- the tetracarboxylic dianhydride comprising phthalic anhydride structures, shown by the following general formula (3);
- and
- the dicarboxylic acid and the dicarboxylic halide each comprising benzoic acid structures, shown by the following general formula (4):
- wherein Z in the general formula (3), when “j” is 1, represents a cyclic structure having 3 to 20 carbon atoms selected from an alicyclic structure, an alicyclic structure having an aromatic ring linked therewith, an alicyclic structure having a heteroatom contained or inserted therein, and an alicyclic structure having an aromatic ring linked therewith and a heteroatom contained or inserted therein, and, Z in the general formula (3), when “j” is 0, and Z in the general formula (4) each represents any one of cyclic structures shown by the following general formulae (I);
- where the dotted line represents a bond;
- “A” represents a hydroxy group or a halogen atom;
- “j” represents 0 or 1;
- when “j” is 0, each cyclic structure Z is directly linked to the phthalic anhydride structures in the general formula (3) or the benzoic acid structures in the general formula (4);
- and when “j” is 1, X2 represents a divalent linking group, and X1 represents any one of the following general formulae (5), (6), (7), (9), and (10),
- where the dotted line represents a bond.