TOKYO - A revised Japanese traffic law took effect Friday, introducing prison terms and fines for cyclists who use their mobile phone or ride while under the influence of alcohol.