PROBLEM TO BE SOLVED: To provide TGR5 modulators for the treatment and/or prevention of various diseases.SOLUTION: The invention relates to compounds of the formula A, or salts, solvates, hydrates, or prodrugs thereof. The compounds of the formula A are TGR5 modulators useful for the treatment of various diseases, including metabolic diseases, inflammatory diseases, liver diseases, autoimmune diseases, cardiac diseases, kidney diseases, cancers, and gastrointestinal diseases.【課題】様々な疾患の治療及び/又は予防のためのTGR5モジュレーターの提供。【解決手段】式Aの化合物:(A)又はその塩、溶媒和物、水和物、若しくはプロドラッグ。式Aの化合物は、代謝性疾患、炎症性疾患、肝疾患、自己免疫疾患、心臓疾患、腎臓疾患、癌、および胃腸疾患を含めた様々な疾患の治療に有用なTGR5モジュレーターである。【選択図】図1