The subject of the present invention is to provide novel compounds with 5-HT5A receptor modulating effects. The solution of the present invention is a compound represented by general formula (I) or a pharmaceutically acceptable salt thereof. [In the formula, the definitions of R1 to R7, A, and L follow the description in the specification]本發明的課題係提供具有5-HT5A受體調節作用的新穎化合物。本發明的解決手段係由通式(I)所表示之化合物或其藥學上容許的鹽。[式中,關於R1~R7、A、及L的定義係遵循說明書中的記載]