Hi elaine3848,
First where are you based out of? Looks like either Kyoto or Osaka?
I would say (if it was me) I would get the JR West Pass
http://www.japan-guide.com/e/e2361_kansai_hokuriku.htmlIt covers most of were you want to go and you can pay the difference in your travels. I revised you schedule to cover most of your travel with the 7 day pass.
D7 Osaka - Kanazawa
D8 Kenrokuen, Omicho Market, Kanazawa Castle, Nija-dera
D9 Takayama - Shinhotaka Ropeway (Day Trip) Or skip Takayama and spend extra day in Kanazawa or Matsumoto
D10 Kanazawa - Matsumoto
D11 Matsumoto - Osaka
D12 Osaka - Hiroshima - Miyajima
D13 Miyajima - Himeji
I did cut a day off Takayama by making it a day trip.
You could also buy 2 of the JR West passes (please check Hyperdia to see if this would pay out) and/or keep your schedule as is).
You could also do a JR 14 day pass, but it does not look like it would pay off. Feel free to look at cost on Hyperdia.com
I would also switch around a few things:
D1 KLIA - KIX Airport / Washington Hotel
D2 Osaka
D3 Osaka
D4 Kyoto / Eastern Kyoto
D5 Western Kyoto - Arashiyama
D6 Central Kyoto
D7 Kyoto - Kanazawa
D8 Kenrokuen, Omicho Market, Kanazawa Castle, Nija-dera
D9 Takayama - Shinhotaka Ropeway (Day Trip) Or skip Takayama and spend extra day in Kanazawa or Matsumoto
D10 Kanazawa - Matsumoto
D11 Matsumoto - Osaka
D12 Osaka - Hiroshima - Miyajima
D13 Miyajima - Himeji
D14 - Himeji - Mt Koya
D15 Mt Koya - Wakayama
D16 Free day
D17 Wakayama - KIX - KLIA
Please ignore this if you do not wish to change anything around. They are just suggestions.
Hope this helps. Have fun!