A topical liquid agent for a nail and/or skin for prevention or treatment of dermatophytosis comprises a film-forming agent and a compound represented by the formula:wherein R1 represents hydrogen, C1-6 alkyl, or trifluoromethyl, R2 represents hydrogen, C1-6 alkyl, halogen, —COO(C1-6 alkyl), or (CH2)1-3COOR where R represents hydrogen or C1-6 alkyl, R3 represents hydrogen, C1-6 alkyl, amino, trifluoromethyl, or OR where R represents hydrogen or C1-6 alkyl, R4 represents hydroxyl, R5 represents hydrogen, C1-6 alkyl, hydroxyl, or halogen, R6 represents hydrogen, C1-6 alkyl, trifluoromethyl, halogen, amino, —NRaRb, nitro, hydroxy-C1-6 alkyl, —CONRaRb, —COO(C1-6 alkyl), —COOH, —(CH2)1-3COOR, or ORa where R represents hydrogen or C1-6 alkyl, Ra and Rb each represent hydrogen, C1-6 alkyl, or C1-6 acyl, R7 represents hydrogen, C1-6 alkyl, —OR where R represents hydrogen or C1-6 alkyl, or halogen, R8 represents hydrogen, C1-6 alkyl, hydroxyl, amino, or nitro, or a salt thereof.