The photocurable and thermosetting resin composition of the present invention includes (A) an actinic energy ray-curable resin having at least one structure represented by the following general formula (1), (B) a photopolymerization initiator, (C) a diluent, and (D) a thermosetting component.
In the general formula (1), R1 represents a hydrogen atom or an alkyl group of 1 to 6 carbon atoms, R2, R3 and R4 independently represent a hydrogen atom, an alkyl group of 1 to 6 carbon atoms, an aryl group, an aralkyl group, a cyano group, a fluorine atom, or a furyl group, and X represents a polybasic acid anhydride residue.