[Object] To provide a compound which has activity to inhibit production and/or secretion of β-amyloid protein, and is useful for prevention and/or treatment of various diseases associated with abnormal production and/or secretion of β-amyloid protein.[Means for Solution]A compound represented by the general formula (I):[wherein, R1 represents a C1-C6 alkyl group which may have 1 to 6 halogen atoms as substituent groups, a C2-C6 alkenyl group which may have 1 to 6 halogen atoms as substituent groups, or a C3-C7 cycloalkyl group which may have 1 to 6 halogen atoms as substituent groups R2 represents a 6-membered nitrogen-containing monocyclic aromatic heterocyclic group having 1 to 3 substituent groups, or a 9- or 10-membered nitrogen-containing bicyclic heterocyclic group having 1 to 4 substituent groups Z1, Z2 and Z3 each independently represent a hydrogen atom, a halogen atom or a cyano group and n represents 0, 1 or 2], salts thereof, or solvates thereof.