Disclosed herein are an IC card and a microcomputer which have implemented the strengthening of security and the speeding up and enhancement of signal processing for the security. Cut spacer gratings are etched into a second layer using the template mask to superimpose at least a portion of the spacer gratings of the first layer into the second layer. A gap between the light emitting diode and the first layer has a refractive index ngap that is less than nfirst\u2014layer, and the convex surface has a radius of curvature sufficiently large relative to a dimension of the first layer to eliminate total internal reflection of light entering the transparent optic from the first layer.