An object of the present invention is to provide an antifungal agent which has excellent antifungal effects and is superior in terms of its physical properties, safety and metabolic stability. According to the present invention, there is disclosed a compound or a pharmaceutically acceptable salt thereof, the compound being selected from the group consisting of3-(3-(4-(pyridin-2-yloxymethyl)-benzyl)-isoxazol-5-yl)-pyridin-2-ylamine3-(3-(4-(Pyridin-2-ylmethoxy)-benzyl)-isoxazol-5-yl)-pyridin-2-ylamine3-(3-(4-pyridin-2-yloxymethyl)-benzyl)-isoxazol-5-yl)-pyridine-2,6-diamine3-(3-(6-benzyloxy-pyridin-3-ylmethyl)-isoxazol-5-yl)-pyridin-2,6-diamine and3-(1-(4-(pyridin-2-yloxymethyl)-benzyl)-1H-pyrazol-4-yl)-pyridin-2-ylamine.