In the Tokugawa period Hakone-machi was an important town on the Tokaido , the only highway through this mountainous area between the imperial court in Kyoto and the shogunal capital in Edo .
There are now seven highways from Kyoto to Tokyo .