Provided is a compound or a pharmaceutically acceptable salt thereof represented by general formula (I) which has an excellent blood glucose-lowering effect and protective effect on β cells or the pancreas, and also provided is a pharmaceutical composition having an excellent therapeutic and/or prophylactic effect against type 1 diabetes mellitus, type 2 diabetes mellitus, and other such diseases in which blood glucose rises in response to sugar metabolism anomalies.