A package having a recessed section, a sensor element arranged in the recessed section and having a piezoelectric material, a lid joined to the package and sealing the recessed section of the package are provided. The package has a first hollow portion which a part of the sensor element fits with, on an inner bottom surface of the recessed section. The lid has a second hollow portion which a part of the sensor element fits with.