A heparanase activity inhibitor comprising, as an active ingredient, a cyclic carboxamide derivative represented by formula (I):wherein n is an integer of 1 to 3, R1 is hydrogen or a C1-6 hydrocarbon group optionally substituted with hydroxyl, X is —CH2— or a group represented by —N(R2)—, and R2 is hydrogen or a C1-6 hydrocarbon group optionally substituted with hydroxyl,or a salt thereof.