A compound represented by the following general formula or a pharmacologically acceptable salt thereof wherein A including X represents a pyrrolyl group, and X represents a carbon atom; or A including X represents a pyrazolyl group, R 1 represents a carboxy group, a carboxymethyl group, or a tetrazolyl group, each R 2 independently represents a group selected from substituent group α, each R 3 independently represents a phenyl group, a substituted phenyl group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, a 5- or 6-membered aromatic heterocyclyl group, a substituted 5- or 6-membered aromatic heterocyclyl group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, a phenyl (C 1 -C 6 alkyl) group, a substituted phenyl (C 1 -C 6 alkyl) group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, a 5- or 6-membered aromatic heterocyclyl(C 1 -C 6 alkyl) group, or a substituted 5- or 6-membered aromatic heterocyclyl(C 1 -C 6 alkyl) group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, m represents 0, 1,2, or 3, n represents 0 or 1, provided that when m is 3, n is 0, each of R 4, R 5, R 6, and R 7 independently represents a hydrogen atom, a C 1 -C 6 alkyl group, a halogeno(C 1 -C 6 alkyl) group, a hydroxy group, a C 1 -C 6 alkoxy group, or a halogeno group, B represents a naphthyl group, a substituted naphthyl group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, a 9- or 10-membered aromatic heterocyclyl group, a substituted 9- or 10-membered aromatic heterocyclyl group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, or a group represented by the following formula wherein each of B 1 and B 2 independently represents a phenyl group, a substituted phenyl group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, a 5- or 6-membered aromatic heterocyclyl group, or a substituted 5- or 6-membered aromatic heterocyclyl group wherein the substituent(s) represent 1 to 4 groups independently selected from substituent group α, and substituent group α represents the group consisting of a C 1 -C 6 alkyl group, a hydroxy(C 1 -C 6 alkyl) group, a (C 1 -C 6 alkoxy)-(C 1 -C 6 alkyl) group, a halogeno(C 1 -C 6 alkyl) group, a (C 3 -C 8 cycloalkyl)-(C 1 -C 6 alkyl) group, a C 3 -C 8 cycloalkyl group, a C 2 -C 6 alkenyl group, a C 2 -C 6 alkynyl group, a hydroxy group, a C 1 -C 6 alkoxy group, a halogeno(C 1 -C 6 alkoxy) group, a C 1 -C 6 alkylthio group, a C 1 -C 6 alkylsulfinyl group, a C 1 -C 6 alkylsulfonyl group, an amino group, a C 1 -C 6 alkylamino group, a di(C 1 -C 6 alkyl)amino group, a formylamino group, a (C 1 -C 6 alkyl)carbonylamino group, a (C 1 -C 6 alkoxy)carbonylamino group, a (C 1 -C 6 alkyl)sulfonylamino group, a formyl group, a (C 1 -C 6 alkyl)carbonyl group, a carboxy group, a (C 1 -C 6 alkoxy)carbonyl group, a carbamoyl group, a (C 1 -C 6 alkylamino)carbonyl group, a di(C 1 -C 6 alkyl)aminocarbonyl group, an aminosulfonyl group, a (C 1 -C 6 alkylamino)sulfonyl group, a di(C 1 -C 6 alkyl)aminosulfonyl group, a cyano group, a nitro group, and a halogeno group.