An analysis device for analyzing components contained in an object, comprising: a light emitting unit that irradiates the object with light containing wavelengths in the infrared region; a transmissive spectral filter; a light detector having a plurality of light receiving elements; and an analysis unit, wherein the spectral filter includes: a substrate having light transmissivity, being silicon oxide, and being disposed on a light path of the light after being reflected by the object or the light after passing through the object; a plurality of raised portions formed with a metal material including gold (Au) in a rectangular column shape, on one surface of the substrate; and a metal oxide film formed using a metal oxide material having a higher refractive index than the metal material and including titanium oxide (TiO 2), so as to cover the plurality of raised portions and the one surface of the substrate, the plurality of raised portions are disposed in a matrix such that the metal oxide film existing between adjacent raised portions serves as a diffraction grating and the raised portions serve as a sub wavelength grating and function as a waveguide, whereby light that is incident on the raised portions from the metal oxide film side propagates inside the raised portions as an evanescent wave and either passes through the raised portions and the substrate or is reflected by the substrate after passing through the raised portions 22b, according to the wavelength of the light, at least one of a grating pitch (p) of the diffraction grating, a height (h) of the raised portions, and a thickness (t) of the metal oxide film is set to a different value for each portion of the spectral filter, such that a wavelength of light that passes through the spectral filter changes for each of the portions, the grating pitch of the diffraction grating is distance from the lateral face on one side of one raised portion to the lateral face on the same side of an adjacent raised portion, the light detector is disposed such that each of the plurality of light receiving elements receives light that passes through the spectral filter, and the analysis unit acquires a spectrum of the object from output signals respectively output by the plurality of light receiving elements. a light emitting unit that irradiates the object with light containing wavelengths in the infrared region; a transmissive spectral filter; a light detector having a plurality of light receiving elements; and an analysis unit, a substrate having light transmissivity, being silicon oxide, and being disposed on a light path of the light after being reflected by the object or the light after passing through the object; a plurality of raised portions formed with a metal material including gold (Au) in a rectangular column shape, on one surface of the substrate; and a metal oxide film formed using a metal oxide material having a higher refractive index than the metal material and including titanium oxide (TiO 2), so as to cover the plurality of raised portions and the one surface of the substrate, the plurality of raised portions are disposed in a matrix such that the metal oxide film existing between adjacent raised portions serves as a diffraction grating and the raised portions serve as a sub wavelength grating and function as a waveguide, whereby light that is incident on the raised portions from the metal oxide film side propagates inside the raised portions as an evanescent wave and either passes through the raised portions and the substrate or is reflected by the substrate after passing through the raised portions 22b, according to the wavelength of the light, at least one of a grating pitch (p) of the diffraction grating, a height (h) of the raised portions, and a thickness (t) of the metal oxide film is set to a different value for each portion of the spectral filter, such that a wavelength of light that passes through the spectral filter changes for each of the portions, the grating pitch of the diffraction grating is distance from the lateral face on one side of one raised portion to the lateral face on the same side of an adjacent raised portion, the light detector is disposed such that each of the plurality of light receiving elements receives light that passes through the spectral filter, and the analysis unit acquires a spectrum of the object from output signals respectively output by the plurality of light receiving elements.