Further, the thickness of the isolation insulating film 102 just under the control gate 108 decreases, and hence, a thin isolation insulating film 102 lowers an isolation function. [0016] As discussed above, in the EEPROM including the memory cells based on the stacked structure of the charge-storage layer and the control gate, with the hyperfine structure of the device, there exists a problem in