The present invention relates to novel azoles, novel anti-viral active ingredients of general formula 1A and 1B, a pharmaceutical composition, an anti-viral drug and a method for preventing and treating viral diseases, particularly those caused by hepatitis C viruses (HCV). In the general formula 1A and 1B, in which the continuous lines accompanied by dotted lines (