Provided is a compound which is useful as an AMPK activator. A compound represented by formula: wherein X is substituted or unsubstituted monocyclic heterocyclyl or the like; ring A is substituted aryl, substituted heteroaryl, substituted cycloalkyl, substituted cycloalkenyl, or substituted heterocyclyl, wherein the ring A may further have a substituent(s) other than Y; Y is halogen, hydroxy, cyano, nitro, carboxy, substituted or unsubstituted alkyl, substituted or unsubstituted alkenyl, substituted or unsubstituted alkynyl or the like; R 4 , R 5 , R 6 and R 7 are each independently hydrogen, halogen, hydroxy, cyano, nitro, carboxy, substituted or unsubstituted alkyl, substituted or unsubstituted alkenyl, substituted or unsubstituted alkynyl, substituted or unsubstituted alkyloxy, substituted or unsubstituted alkylthio, substituted or unsubstituted alkylsulfonyl, substituted or unsubstituted acyl, substituted or unsubstituted carbamoyl, substituted or unsubstituted sulfamoyl, or substituted or unsubstituted amino; R 8 is hydrogen, halogen, hydroxy, cyano, nitro, carboxy, substituted or unsubstituted alkyl, substituted or unsubstituted alkenyl, substituted or unsubstituted alkynyl or the like; and R 9 is hydrogen, halogen, hydroxy, cyano, nitro, carboxy, substituted or unsubstituted alkyl, substituted or unsubstituted alkenyl, substituted or unsubstituted alkynyl or the like, or its pharmaceutically acceptable salt.