In a tenth aspect of the invention, when a semiconductor device is fabricated including a capacitor having a dielectric film formed between first and second electrodes, an X ray absorption film is formed above the second electrode to absorb X rays when a resist pattern is produced with X rays.