A hydrocarbon resin as claimed in claim 1 or 2, wherein component (A) is at least one cyclic hydrocarbon having a vinylidene group and having the general formula: ##STR6## wherein R19 to R22 are independently hydrogen or a methyl group, R23 is hydrogen or an alkyl group having 1 to 6 carbon atoms, and m is an integer of 0 to 3, R23 may be the same or different in the case of m=2 or 3, R24 is a sat