To find a therapeutic agent and/or a preventive agent for diabetes mellitus or the like having excellent activity and safety. A compound represented by the following general formula (I), or a pharmacologically acceptable salt thereof. In the formula, X represents =C(R5)- or =N-; Y represents -O- or -NH-; L represents a bond or a substitutable C1-C3 alkylene group; M represents a substitutable C3-C10 cycloalkyl group, a substitutable C6-C10 aryl group, or a substitutable heterocyclic group; R 1 represents a C1-C6 alkyl group, a C3-C10 cycloalkyl group, a C1-C6 haloalkyl group, a C1-C6 alkenyl group, a C1-C6 alkynyl group, a C1-C6 aliphatic acyl group, a C1-C6 alkoxy C1-C6 alkyl group, or a C6-C10 aryl group; and R 2 , R 3 , R 4 , and R 5 may be the same or different and each represent a hydrogen atom, a halogen atom, a C1-C3 alkyl group, a C1-C3 haloalkyl group, a C1-C3 alkoxy group, or a nitro group. In this connection, the alkyl group moieties of R 1 and R 2 may be bonded to each other to form a 5- to 6-membered heterocyclic ring containing one oxygen atom.