The present invention aims at providing compounds having therapeutic effects due to a DPP-IV inhibitory action, and satisfactory as pharmaceutical products.