The present invention provides a compound having excellent regulating action on blood lipid level that is represented by the following general formula (I) or a pharmacologically acceptable salt thereof, wherein, in one embodiment, A represents a 5-membered nitrogen-containing aromatic heterocyclyl group; R1 represents COOH; each R2 represents an alkyl; each R3 represents an optionally substituted phenyl, an optionally substituted phenylalkyl; m represents 0, 1, 2, or 3; n represents 0 or 1; each of R4, R5, R6, and R7 represents H, an alkyl; and B represents an optionally substituted naphthyl, an optionally substituted aromatic heterocyclyl, or a group represented by the following formula (II) wherein each of B1 and B2 represents an optionally substituted phenyl or an optionally substituted aromatic heterocyclyl.