Provided is a drug for the treatment and/or prevention of pain or a drug for the treatment and/or prevention of sodium channel-mediated diseases. A compound represented by the formula (I) or a pharmaceutically acceptable salt thereof: Ar1, Ar2: heteroaryl group, aryl group R1, R2, R3: hydrogen atom, halogen atom, C1-C6 alkyl group, halogenated C1-C6 alkyl group, hydroxy C1-C6 alkyl group, C1-C6 alkoxy C1-C6 alkyl group or C3-C7 cycloalkyl group, cyano group R4, R5: hydrogen atom, halogen atom, C1-C6 alkyl group, halogenated C1-C6 alkyl group, hydroxyl group, hydroxy C1-C6 alkyl group, C1-C6 alkoxy C1-C6 alkyl group, C3-C7 cycloalkyl group, C1-C6 alkoxy group n: integer from 1 to 3 the heteroaryl group and aryl group may have one or two groups selected independently from a halogen atom, C1-C6 alkyl group, halogenated C1-C6 alkyl group, hydroxyl group, hydroxy C1-C6 alkyl group, C1-C6 alkoxy C1-C6 alkyl group, C3-C7 cycloalkyl group, carboxyl group, cyano group, amino group, C1-C3 alkylamino group, and di C1-C3 alkylamino group in the case of two, the two may be the same or different.