The yen has weakened about 6% against the dollar in the past three months, the most in a basket of major currencies tracked.