<p>Disclosed are: a compound represented by the general formula (I); and others. (I) wherein A<sup>1</sup> and A<sup>2</sup> independently represent a nitrogen atom or a methine group which may be substituted; the ring B represents a 5- to 7-membered aliphatic ring or a spiro or bicyclo ring formed by the aliphatic ring and a 3- to 7-membered aliphatic ring which is different from the aforementioned aliphatic ring; R<sup>1</sup> represents a hydrogen atom, a C1-C6 alkyl group which may be substituted or an aryl, aralkyl or heteroaryl group which may be substituted; R<sup>2</sup> represents an aryl, aralkyl or heteroaryl group which may be substituted; and X represents a group represented by the formula =NH or =O. The compound has an excellent cell proliferation inhibition activity relying on a Wee1 kinase inhibition activity and an additive/synergistic effect with other anti-cancer agent, and is therefore useful in the medical field.</p>