The gate layers 98 and 100, control gate layers 108, floating gate layers 104, the first and second selection lines SL1 and SL2, and word lines WL1 to WL8 are insulated from one another with an insulating layer 112 of insulating materials, such as a silicon dioxide and a BPSG or a PSG.