A ditch across the ridge
According to JAANUS, it separates two peaks linked by a ridge and hinders passage from one to the other.
The horikiri (堀切) is a dry moat dug across a ridge to cut it. It isolates the castle from the neighbouring high ground and forces an attacker advancing along the crest to descend into the trench and then climb the far side under the fire of the defenders. Typical of mountain castles (yamajiro) built mainly between the 14th and 17th centuries, it occurs singly or in series, sometimes two, three or four lines deep. It is not an architectural work in the strict sense but a piece of civil engineering: the spoil was used to raise earthen banks (dorui). Many horikiri survive where no building remains, as at Yōgaisan, Hirabayashi, Akakina or Obama (Nihonmatsu) in the catalogue. A wooden bridge, which could be destroyed, carried the path across.

According to JAANUS, it separates two peaks linked by a ridge and hinders passage from one to the other.
Nakai Hitoshi notes that one is often sufficient, but that two, three or four in succession are sometimes found.
The Gifu panel states that the path crossed the trench on a wooden bridge that could be brought down.
The spoil from the trench was used to raise earthen banks (dorui), according to Nippon.com.
The JAANUS dictionary (Columbia University) defines the horikiri as a dry moat, karabori, dug to separate two peaks linked by a ridge and to hinder passage between them. It notes that numerous examples are found around medieval mountain castles, and that a path sometimes runs along the bottom of the trench (horiuchimichi). The name is written with the characters for ditch (堀) and for cutting (切). An interpretive panel from Gifu Prefecture, published by the Japan National Tourism Organization, describes on site a V-shaped notch in the ridge, an artificial fortification placed across the path that climbed to the castle. In the typology of dry moats presented by Nippon.com, the horikiri is distinguished from the tate-bori, vertical moats dug along the line of the slope to forbid any lateral movement, and from their variants in grooves.
According to Nakai Hitoshi, a specialist in castles, horikiri protected the rear of castles built on hillsides against attacks from neighbouring ridges. The Japanese text presents them as a line of separation, most often with a single ditch but sometimes two, three or four in series. The Gifu panel adds a practical detail: the ditch was crossed by a wooden bridge that could be made to collapse in order to delay the invader. The advantage is twofold. The attacker loses the benefit of walking on level ground along the crest, while the defender dominates him from the inner edge. Nakai nevertheless points out that in a mountain castle, more than the ditch or the earthen bank, it is the cut slope (kirigishi) that forces the enemy to climb: the horikiri is one element of a system, not an isolated defence.
Nippon.com emphasises that building a yamajiro is more a matter of civil engineering than architecture: the mountain is dug to create levelled terraces (kuruwa), the ridges are cut with tools in the manner of a large knife, and the spoil from these excavations forms the earthen banks (dorui). The same magazine notes, in a general article on defensive structures, that dry moats took varied profiles: V-shaped (yagen-bori), flat-bottomed and square (hako-bori), U-shaped (kenuki-bori), or with ridges left at the bottom (shōji-bori), the last type being illustrated by Yamanaka Castle in Shizuoka Prefecture. The article does not tie these profiles to the horikiri alone; the principle is what matters most. For the Kanayama site (Ota, Gunma), a field study by a schoolgirl, published by the Gunma Museum of Natural History, records a large horikiri about 90 m long and 5 m deep. It draws on documents from the Ota Board of Education, which calls for caution.
Nakai Hitoshi estimates that thirty to forty thousand castles were raised in Japan between the early 14th and the early 17th century, with a marked boom during the Sengoku period (1467–1568). These castles were mostly mountain refuges, associated with a residence at the foot of the high ground. The figure of the stone castle with a keep came later: the author dates its beginning to Azuchi, whose construction by Oda Nobunaga started in 1576. The horikiri belongs to the first world, that of earthworks, but it coexists with stone: at Obama (Nihonmatsu), which the catalogue entry dates to 1471, a stone wall attributed to the time of Gamō Ujisato stands alongside horikiri, and at Yōgaisan some stone walls date from the 1590s. For Kanayama, the school report cited above dates the construction of the horikiri to around 1495, a generation after the castle's foundation in 1469; the information is second-hand.
Yōgaisan Castle (Kōfu, Yamanashi), perched at about 780 m, retains stepped platforms, masugata entrances, transverse (horikiri) and vertical (tatebori) ditches, earthen banks and stone walls, some dated to the 1590s, with no buildings at all. At Hirabayashi (Murakami, Niigata), a yamajiro linked to the nearby Yōgaisan and to a lowland residence has two horikiri on the east slope of the summit enclosure. At Akakina (Amami, Kagoshima), a gusuku whose plan is close to the mountain castles of Kyūshū combines horikiri and tatebori on a ridge about 300 m long. At Obama (Nihonmatsu, Fukushima), some horikiri have been partly converted into roads, and a stone wall guards the entrance to the honmaru. These catalogue entries describe surviving terrain features, not reconstructions.
The beginning of the period in which thirty to forty thousand Japanese castles were built, according to Nakai Hitoshi's estimate.
The Sengoku period (Warring States), marked by a boom in the construction of mountain fortresses.
Date proposed in a school report for the horikiri at Kanayama Castle (Ota), founded in 1469; second-hand information.
The start of Oda Nobunaga's construction of Azuchi, the first building close to the archetype of the stone castle with a keep.
It is a dry moat dug across a ridge, often behind a mountain castle, to isolate the position from the neighbouring heights. It protected the castle against attacks from the adjacent ridges and could be crossed by a wooden bridge that the defenders would destroy.
The horikiri cuts across the ridge, blocking progress along the crest. The tate-bori is a vertical dry moat dug into the steep slope to eliminate any horizontal approach to the castle, according to Nippon.com's article on defensive structures.
Because these castles were first and foremost earthworks: the ridge was cut and earthen banks were raised with the spoil, and the enclosure carried only two or three small buildings on posts set into the ground. Ditches cut into the terrain have lasted far longer than these lightweight structures.
This entry is an editorial summary cross-referencing the sources below.