A non-transitory information storage medium storing a program causing a computer to function as a control device that controls an electric motor based on an assist ratio according to a control mode and pedaling force detected by a sensor and includes a first control mode and a second assist ratio as the control mode of the electric motor, the control device controlling, in the first control mode, the electric motor based on a first assist ratio, the control device controlling, in the second control mode, the electric motor based on a second assist ratio, the program causing the computer to:
- start to change the assist ratio, when transitioning from the first control mode to the second control mode, from the first assist ratio to the second assist ratio at a change start position between a first angular position and a second angular position, the first angular position being obtained by adding 90 degrees to an angular position of a crankshaft corresponding to an uppermost point of a trajectory of a pedal, the second angular position being an angular position obtained by adding 135 degrees to the angular position of the crankshaft corresponding to the uppermost point;
- and
- change the assist ratio such that the assist ratio reaches the second assist ratio at a change end position obtained by adding at least 45 degrees to the change start position.