A thin film structure including a conductive thin film provided on a
substrate and configured to be displaced in response to an applied
acceleration, a pair of electrode pads formed on the substrate such that
the pair of electrode pads are disposed on respective sides of the thin
film, and a nonconductive film covering a top surface of the thin film
and the side of the thin film facing the electrode pads. A top surface of
the conductive thin film being higher than top surfaces of the electrode
pads.