<p>To provide a novel compound which inhibits GSK3 and is useful for the treatment of diseases associated with GSK. Provided is a compound represented by genera formula (1) or a salt thereof. (In the formula, R1, R2, R3, R4, X1 and X2 are as defined in the description.)</p>