There is provided a CRF receptor antagonist comprising a compound of the formula (I):
wherein, ring A is a 5-membered ring represented by the formula (A′):
wherein X is a carbon and X
1
is an oxygen, a sulfur or —NR
5
—, or formula (A″):
wherein X is a nitrogen and R
6
is an optionally substituted hydrocarbyl, R
1
is an amino substituted by two optionally substituted hydrocarbyl groups, R
2
is an phenyl, Y
1
is CR
3a
or a nitrogen, y
2
is CR
3b
or a nitrogen and Y
3
is CR
3c
or a nitrogen, provided that one or less of Y
1
, Y
2
, and Y
3
is nitrogen, W is a bond, —(CH
2
)n-, and Z is a bond, —NR
4
—, etc.; or a salt thereof or a prodrug thereof.