A novel compound that has the effect of promoting insulin secretion from pancreatic ss cells and is useful as a prophylactic and/or therapeutic agent for disorders stemming from hyperglycemia, such as diabetes. A compound represented by general formula (1), a salt thereof, or a solvate of said compound or salt. In the formula, A or B represents a nitrogen atom and the other represents a nitrogen atom or CR8 X represents an oxygen atom, a sulfur atom, -(CH2)n-N(R11)-, or -(CH2)n-CH(R12) - Z represents a nitrogen atom if Y represents an oxygen atom or a sulfur atom Z represents an oxygen atom or a sulfur atom if Y represents a nitrogen atom and R1 through R7 represent hydrogen atoms or other substituents.本發明提供一種具有促進自胰臟β細胞之胰島素分泌之作用,有用於作為由高血糖引起之疾病,例如糖尿病之預防及/或治療劑的新穎化合物。本發明係關於下述通式(1)所表示之化合物或其鹽、或其溶劑合物:[式中,A及B中之一者表示氮原子,另一者表示氮原子或CR8,X表示氧原子、硫原子、-(CH2)n-N(R11)-或-(CH2)n-CH(R12)-,Y為氧原子或硫原子時,Z表示氮原子,Y為氮原子時,Z表示氧原子或硫原子,R1~R7表示氫原子、其他取代基]。