To provide compounds useful as therapeutic agents for disease involving metabotropic glutamate receptor subtype 2 and/or metabotropic glutamate receptor subtype 3.SOLUTION: The invention provides compounds represented by formula (1) or pharmaceutically acceptable salts thereof. (Rand Rare each H, halogen, cyano, Calkyl, or the like; ring A is a Caromatic carbocycle, a 4-10 membered saturated heterocycle, or a 5-10 membered aromatic heterocycle; Rand Rare each H, halogen, Calkyl, a 5- or 6-membered aromatic heterocyclic group, or the like; and ring B is a nitrogen-containing fused heterocycle.)SELECTED DRAWING: None【課題】代謝型グルタミン酸受容体サブタイプ2及び/又は代謝型グルタミン酸受容体サブタイプ3が関与する疾患の治療剤として有用な化合物の提供。【解決手段】式(1)で表される化合物又はその製薬学的に許容される塩。(R1、R2:H、ハロゲン、シアノ、C1-4アルキル等。環A:C6-10芳香族炭素環、4~10員の飽和複素環、5~10員の芳香族複素環。R3、R4:H、ハロゲン、C1-6アルキル、5又は6員の芳香族複素環基等。環B:含窒素縮合複素環)【選択図】なし