Tanabata (七夕?, meaning "Evening of the seventh"), also known as the Star Festival, is a Japanese festival originating from the Chinese Qixi Festival. It celebrates the meeting of the deities Orihime and Hikoboshi (represented by the stars Vega and Altair respectively). According to legend, the Milky Way separates these lovers, and they are allowed to meet only once a year on the seventh day of the seventh lunar month of the lunisolar calendar. The date of Tanabata varies by region of the country, but the first festivities begin on 7 July of the Gregorian calendar. The celebration is held at various days between July and August.
The festival was introduced to Japan by the Empress Kōken in 755. It originated from "The Festival to Plead for Skills" (乞巧奠 Kikkōden?), an alternative name for Qixi, which was celebrated in China and also was adopted in the Kyoto Imperial Palace from the Heian period.
The festival gained widespread popularity amongst the general public by the early Edo period, when it became mixed with various Obon or Bon traditions (because Bon was held on 15th of the seventh month then), and developed into the modern Tanabata festival. Popular customs relating to the festival varied by region of the country, but generally, girls wished for better sewing and craftsmanship, and boys wished for better handwriting by writing wishes on strips of paper. At this time, the custom was to use dew left on taro leaves to create the ink used to write wishes. Incidentally, Bon is now held on 15 August on the solar calendar, close to its original date on the lunar calendar, making Tanabata and Bon separate events.