Himeji station guide. How to get Himeji castle from the station

Himeji station is the gateway to Himeji castle. There are two stations in Himeji. Those are JR Himeji station and Sanyo-Himeji station. And this station is also the transfer point of the Sanyo Shinkansen and the conventional railway lines. This post shows you the structure of these stations and access to Himeji castle from the station.