Another example of the epoxy resin is an epoxy resin obtained by the reaction of the compound (1) having at least two of any one of amino group, carboxyl group, phenolic hydroxyl group and thiol group with bisepoxide, or the reaction of the compound (1), which is a tetracarboxylic dianhydride, with bisepoxide.