In the semiconductor device of the aforesaid structure, however, BPSG is employed in order to ensure the flatness of the interlayer dielectric film, and a film, such as SiON, which is susceptible to the inclusion of water is used in order to reduce wiring volume.