PROBLEM TO BE SOLVED: To provide an amide compound and an antifungal agent that express excellent antifungal action, and can reduce production cost, and an antifungal method using the antifungal agent.SOLUTION: An antifungal agent comprises, as its active ingredient, an amide compound represented by the general formula (2) (where B represents an optionally substituted saturated or unsaturated heterocyclic 5-6 membered ring; C represents an optionally substituted saturated or unsaturated heterocyclic 5-6 membered ring; and Yrepresents an alkylene group having 6-13 carbon atoms).