Seventeen years ago, Takako Doi entered the lower house of the Japanese Parliament as a member of the Japan Socialist Party, the country's second largest political organization.