This invention designates that the preventive remedy medicine of hypersensitivity intestinal syndrome is offered as purpose. Chemical compound and the formula which possess TGR5 receptor operation activity[In formula, as for ring A the aromatic ring which is possible to be displacement,Ring B shows 5 or 9 membered-rings which possess the substituent 1 or more. ]So the condensed ring chemical compound or the preventive remedy medicine is displayed of the hypersensitivity intestinal syndrome which contains those salts as the active ingredient.本発明は、過敏性腸症候群の予防・治療剤を提供することを目的とする。TGR5受容体作動活性を有する化合物、式[式中、環Aは置換されていてもよい芳香環を、環B’は1個以上の置換基を有する5ないし9員環を示す。]で表される縮合環化合物又はそれらの塩を有効成分として含有する過敏性腸症候群の予防・治療剤。