This compound is represented by formula (1). (In the formula, R1 and R2 each independently represent a hydrogen atom or a methyl group, Y1 and Y2 each independently represent an alkylene group having 1 to 9 carbon atoms, and n1 and n2 each independently represent an integer of 0 to 3.)