//ミスってるけどくすった状態で編集するな。
let kanat;
let kanat2;
let spanel;
function repeat(){
if(document.contains(kanat2[1])){
kanat = document.getElementById("kanaText");
kanat.insertBefore(spanel, kanat.firstChild);
kanat2 = document.getElementsByClassName("entered");
kanat2[1].style.marginLeft = "15px";
}
setTimeout(repeat,2);
}
function repeat_first(){
kanat = document.getElementById("kanaText");
if(document.contains(kanat)){
spanel = document.createElement("span");
spanel.textContent = "・";
spanel.style.color = "black";
kanat2 = document.getElementsByClassName("entered");
repeat();
}else{
setTimeout(repeat_first,2);
}
}
repeat_first();