A calculation unit calculates a magnitude of acceleration in at least one of three separate directions and calculates a synthesized value indicating the magnitudes of the accelerations in the three directions based on the calculated magnitude of the acceleration and the acceleration in the direction separate from at least one of the directions.