A compound having a 7-membered nitrogen-containing ring skeleton represented by the formula (I), which is useful for the prevention or treatment of diseases, in which chymase is involved and a pharmaceutical containing the same for the prevention or treatment of a disease, in which chymase is involved.一種在預防或治療凝乳酶(chymase)相關病態上有用之化合物及含有其之凝乳酶相關疾病的預防或治療藥,該化合物具有式(I)所示之含氮7員環骨架。