It does come from China. Mr. Liang Sicheng, a master of ancient architecture, went to Japanese temples to study Tang-style architecture because there are no such large-scale Tang-style architectural remains in China. Many of Japan's earlier buildings are almost identical to Chinese buildings from the Tang Dynasty. Their development is relatively closed, not as open as China, and their ancient architecture has not changed as much as China. The only remaining Tang Dynasty buildings in China are the main hall of Foguang Temple and the main hall of Nanchan Temple in Shanxi. You can take a look at them. These two are relatively small in size and have been artificially restored after liberation. They are no longer the same. , but Tang Feng's shadow can still be vaguely seen.
There are many Song-style buildings in Korea. This is also due to the frequent exchanges at that time. After the Song Dynasty was destroyed by the Yuan Dynasty, the Koreans felt that China was dead, so they regarded themselves as the inheritance of Little China, and their style did not change after that.