.machi{display:block;width:100%;height:auto;margin-top:1vw}
.machi .pen{fill:#fff;stroke:var(--ai);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.machi .line{fill:none;stroke:var(--ai);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.machi .thin{fill:none;stroke:var(--ai);stroke-width:1.6;stroke-linecap:round}
.machi .red{fill:var(--shu)}
.machi .ai{fill:var(--ai)}
.machi .kage{fill:url(#hatch);stroke:var(--ai);stroke-width:2.6;stroke-linejoin:round}
.machi .tegaki{font-family:"Zen Kurenaido","Zen Kaku Gothic New",sans-serif}
.machi .todoku{opacity:0;animation:deru .35s ease forwards}
.machi .todoku .fuchi{fill:none;stroke:#fff;stroke-width:11;stroke-linecap:round}
.machi .todoku .sen{fill:none;stroke:var(--shu);stroke-width:4.5;stroke-linecap:round;stroke-dasharray:12 10}
.machi .todoku circle{fill:var(--shu);stroke:#fff;stroke-width:3}
.machi .todoku.a{animation-delay:1.4s}.machi .todoku.b{animation-delay:1.75s}.machi .todoku.c{animation-delay:2.1s}.machi .todoku.d{animation-delay:2.45s}.machi .todoku.e{animation-delay:2.8s}
@keyframes deru{to{opacity:1}}
.machi .densha{animation:hashiru 1.4s cubic-bezier(.2,.7,.2,1) both}
@keyframes hashiru{from{transform:translateX(-420px)}to{transform:translateX(0)}}
.machi .kanban rect,.machi .kanban .tsuno{fill:var(--ai);transition:fill .15s}
.machi .kanban text{fill:#fff}
.machi .kanban .ban{fill:#fff;fill-opacity:.82}
.machi .kanban.omoi rect,.machi .kanban.omoi .tsuno{fill:var(--shu)}
.machi a:hover .kanban rect,.machi a:hover .kanban .tsuno,.machi a:focus .kanban rect,.machi a:focus .kanban .tsuno{fill:var(--shu)}
.machi a:hover .kanban.omoi rect,.machi a:hover .kanban.omoi .tsuno{fill:var(--ai)}
.machi a:hover .fuda,.machi a:focus .fuda{transform:translateY(-3px)}
.machi a:hover .sita,.machi a:focus .sita{stroke:var(--shu);stroke-width:4}
.machi a:focus{outline:none}
.machi a:focus-visible .kanban rect{fill:var(--ai);stroke:var(--shu);stroke-width:4}

.machi.kiri .densha,.machi.kiri .todoku{animation:none;opacity:1}
@media(prefers-reduced-motion:reduce){.machi .densha,.machi .todoku{animation:none;opacity:1}}
