Just thought i'd give some advice and recommendations here real quick.
If you're planning on going to himeji castle i suggest just getting the combination ticket with the garden included at the start. You cannot pay the difference after you purchase a single ticket for either. Tea ceremony in the garden was a nice cultural experience although my partner and I had ZERO idea of what we were meant to be doing even with the lainated manual they give you on paying the entry free for the tea ceremony (I think from memory it was about 500 yen)
On walking from the station to the castle. it is definitely doable as my partner and I did it in Japanese summer (v. HOT and HUMID)
just a last side note, on the way back from the garden towards to station we found a great little second hand clothing store with womens and mens kimonos/yukatas for the cheapest we saw the whole time travelling around japan. on firt look... it looks super run down and fairly dodgy. if you see a bag of cat food and a small tv playing japanese drama. you have the right place. the old man that runs the shop wasn't there at the time that we were looking to purchase but soon enough came riding on a bicycle down the road to greet us and help us as best he could. with little english he communicated just great. If we weren't so pressed for time and luggage space I wouldv't spent more time looking at other yukatas. To be completely honest, this old man made my day at himeji. his shop is on the right hand side of the road as you walk back to the station. My partner didn't have change for a 10000 yen note and the shop keeper promptly took the note (we invested a great deal of trust in him at the time haha!) and got on his bicycle to ride to a convenience store down the road to get change (sure enough he returned otherwise this wouldv't been a very different review).
If there's anything I could recommend it would be to have a look at this little gem of a shop. (don't judge a book by its cover)