About The JR Kobe Line is the nickname of portions of the Tokaido Main Line and the Sanyo Main Line, between Osaka Station in Osaka, Osaka Prefecture and Himeji Station in Himeji, Hyōgo Prefecture. The line, along with the JR Kyoto Line and the Biwako Line, forms a contiguous service that is the main trunk of West Japan Railway Company's Urban Network commuter rail network in the Osaka-Kobe-Kyoto Metropolitan Area. The line also offers continuous service to the Gakkentoshi Line via the JR Tōzai Line. The total line length is 87.9km (54.6mi) Service types There are 3 types of passenger services, Local services stop at all stops between Osaka and Nishi-Akashi but during the morning on weekdays will run as far as Kakogawa. Rapid services stop at some stops between Osaka and Akashi and then all stops between Akashi and Himeji. Special Rapid service only stops at some stops between Osaka and Himeji. Additional services fright services run on this line but I am unable to find any information on it, unfortunately. Rolling stock Local 207 series 321 series Special Rapid and Rapid 221 series 223-1000/2000/6000 series 225-0/100 series
Another nice route proposal for Japan, now added to the master list as linked in my signature. The distance figure in miles needs adjusting in the OP though.