A compound represented by the general formula or a pharmaceutically acceptable salt thereof: wherein W, X, and Y each independently represent a nitrogen atom, C-H, C-F, or C-Cl, Z represents a nitrogen atom, C-H, C-F, C-Cl, C-C 1 -C 6 alkyl or C-C 1 -C 6 alkoxy group, R 1 represents a group represented by the following formula (II-1) or (II-2): wherein in the formula (II-1), Q represents a nitrogen atom, C-H, or C-F, T represents a nitrogen atom or C-H, U represents a nitrogen atom or C-H, and R 6 represents a halogen atom, a C 1 -C 6 alkyl group, a C 3 -C 6 cycloalkyl group, a cyano group, or a trifluoromethoxy group, and in the formula (II-2), V represents a sulfur atom or an oxygen atom, and R 7 represents a C 1 -C 6 alkyl group, R 2 represents a hydrogen atom, a halogen atom, a C 1 -C 6 alkyl group, a C 1 -C 6 alkoxy group, or a cyano group, R 3 represents a hydrogen atom or a C 1 -C 6 alkyl group, R 4 represents a hydrogen atom, a halogen atom, or a C 1 -C 6 alkyl group, and R 5 represents a hydrogen atom or a group represented by the following formula (III-1), (III-2), (III-3), or (III-4): wherein in the formula (III-1), R 8 and R 12 each independently represent a hydrogen atom or a deuterium atom, R 9 represents a hydrogen atom, a halogen atom, or a C 1 -C 6 alkoxy group, R 10 represents a hydrogen atom, a C 1 -C 6 alkyl group optionally substituted by a heterocycloalkyl group, or a C 1 -C 6 alkoxy group optionally substituted by a heterocycloalkyl group optionally substituted by a C 1 -C 6 alkyl group, and R 11 represents a hydrogen atom, a C 1 -C 6 alkoxy group, or a deuterium-substituted C 1 -C 6 alkoxy group, in the formula (III-2), R 13 represents a C 1 -C 6 alkyl group optionally substituted by a heterocycloalkyl group, or a heterocycloalkyl group, in the formula (III-3), R 14 represents a hydrogen atom or a C 1 -C 6 alkyl group, R 15 represents a hydrogen atom, a C 1 -C 6 alkyl group, or a C 1 -C 6 alkoxy group, and R 16 represents a hydrogen atom or a halogen atom, and in the formula (III-4), R 17 represents a C 1 -C 6 alkoxy group, and R 18 represents a C 1 -C 6 alkoxy group. W, X, and Y each independently represent a nitrogen atom, C-H, C-F, or C-Cl, Z represents a nitrogen atom, C-H, C-F, C-Cl, C-C 1 -C 6 alkyl or C-C 1 -C 6 alkoxy group, R 1 represents a group represented by the following formula (II-1) or (II-2): wherein in the formula (II-1), Q represents a nitrogen atom, C-H, or C-F, T represents a nitrogen atom or C-H, U represents a nitrogen atom or C-H, and R 6 represents a halogen atom, a C 1 -C 6 alkyl group, a C 3 -C 6 cycloalkyl group, a cyano group, or a trifluoromethoxy group, and in the formula (II-2), V represents a sulfur atom or an oxygen atom, and R 7 represents a C 1 -C 6 alkyl group, Q represents a nitrogen atom, C-H, or C-F, T represents a nitrogen atom or C-H, U represents a nitrogen atom or C-H, and R 6 represents a halogen atom, a C 1 -C 6 alkyl group, a C 3 -C 6 cycloalkyl group, a cyano group, or a trifluoromethoxy group, and in the formula (II-2), V represents a sulfur atom or an oxygen atom, and R 7 represents a C 1 -C 6 alkyl group, R 2 represents a hydrogen atom, a halogen atom, a C 1 -C 6 alkyl group, a C 1 -C 6 alkoxy group, or a cyano group, R 3 represents a hydrogen atom or a C 1 -C 6 alkyl group, R 4 represents a hydrogen atom, a halogen atom, or a C 1 -C 6 alkyl group, and R 5 represents a hydrogen atom or a group represented by the following formula (III-1), (III-2), (III-3), or (III-4): wherein in the formula (III-1), R 8 and R 12 each independently represent a hydrogen atom or a deuterium atom, R 9 represents a hydrogen atom, a halogen atom, or a C 1 -C 6 alkoxy group, R 10 represents a hydrogen atom, a C 1 -C 6 alkyl group optionally substituted by a heterocycloalkyl group, or a C 1 -C 6 alkoxy group optionally substituted by a heterocycloalkyl group optionally substituted by a C 1 -C 6 alkyl group, and R 11 represents a hydrogen atom, a C 1 -C 6 alkoxy group, or a deuterium-substituted C 1 -C 6 alkoxy group, in the formula (III-2), R 13 represents a C 1 -C 6 alkyl group optionally substituted by a heterocycloalkyl group, or a heterocycloalkyl group, in the formula (III-3), R 14 represents a hydrogen atom or a C 1 -C 6 alkyl group, R 15 represents a hydrogen atom, a C 1 -C 6 alkyl group, or a C 1 -C 6 alkoxy group, and R 16 represents a hydrogen atom or a halogen atom, and in the formula (III-4), R 17 represents a C 1 -C 6 alkoxy group, and R 18 represents a C 1 -C 6 alkoxy group. R 8 and R 12 each independently represent a hydrogen atom or a deuterium atom, R 9 represents a hydrogen atom, a halogen atom, or a C 1 -C 6 alkoxy group, R 10 represents a hydrogen atom, a C 1 -C 6 alkyl group optionally substituted by a heterocycloalkyl group, or a C 1 -C 6 alkoxy group optionally substituted by a heterocycloalkyl group optionally substituted by a C 1 -C 6 alkyl group, and R 11 represents a hydrogen atom, a C 1 -C 6 alkoxy group, or a deuterium-substituted C 1 -C 6 alkoxy group, R 14 represents a hydrogen atom or a C 1 -C 6 alkyl group, R 15 represents a hydrogen atom, a C 1 -C 6 alkyl group, or a C 1 -C 6 alkoxy group, and R 16 represents a hydrogen atom or a halogen atom, and R 17 represents a C 1 -C 6 alkoxy group, and R 18 represents a C 1 -C 6 alkoxy group.