In particular, since etching of a bottom resist layer is normally performed by reactive ion etching (RIE) using oxygen, the intermediate layer must be made of a material having resistance to O2 RIE, i.e., inorganic materials such as silicon, silicon oxide or aluminum.