A cyclic amide derivative having the formula wherein R.sup.1 is ##STR104## wherein R.sup.5 is hydrogen, a lower alkyl, a lower alkoxy, a halogen, an amino or nitro and l is an integer of 1 to 4;p n is an integer of 1 to 10 and Z is ##STR105## wherein R.sup.2 is an aryl selected from the group consisting of phenyl and naphthyl, cycloalkyl selected from the group consisting of cyclopropyl, cyclobutyl, cyclopentyl, cyclohexyl and cycloheptyl, a pyridyl group, a 1,3-dioxolan-2-yl group, a furyl group, a thienyl group or a tetrahydrofuryl group;
- R.sup.4 is naphthyl, cycloalkyl selected from the group consisting of cyclopropyl, cyclobutyl, cyclopentyl, cyclohexyl and cycloheptyl, a pyridyl group, a 1,3-dioxolan-2-yl group, a furyl group, a thienyl group or a tetrahydrofuryl group;
- m is an integer of 1 to 6;
- p is an integer of 1 to 6;
- R.sup.3 is a hydrogen or a lower alkyl;
- or a pharmaceutically acceptable salt thereof.