There is provided a compound of the formula (I'):
##STR00001##
wherein x is a nitrogen or CRx, Rx is a hydrogen, etc., R.sup.1 is an
optionally substituted hydrocarbon group, etc., R.sup.2 is an optionally
substituted hydrocarbon group, etc., ring A is 5- to 8-membered
heterocyclic ring, etc., and each of Y.sup.1, Y.sup.2 and Y.sup.3 is an
optionally substituted carbon or a nitrogen, etc.; or a salt thereof or a
prodrug thereof, which have CRF receptor antagonistic activity and use
thereof.