A copolymer comprising a repeating structural unit represented by the general formula (3) in an amount of from 5 to 95 mol % and having a weight average molecular weight of from 10,000 to 1,000,000:
- wherein X represents an electron-withdrawing group;
- B represents an electron-donative group;
- and Z represents a group represented by the following formula (2-1) or (2-2) or a monovalent condensed ring hydrocarbon group:
- wherein D represents an electron-donative group or single bond;
- R26 and R27 each represent a hydrogen atom, alkyl group or aryl group;
- and q represents an integer of from 1 or 2.