@charset "utf-8";
a {
    color: black;
}
.white-index a {
    color: white;
    text-decoration: none;
}

ul li a {
    /*線の基点とするためrelativeを指定*/
	position: relative;
    text-decoration: none;
}
li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 8px;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 2px;
    background:#000000;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);/*X方向0、Y方向1*/
    transform-origin: center top;/*上部中央基点*/
}

/*現在地とhoverの設定*/
.li.current a::after,
li a:hover::after {
    transform: scale(1, 1);/*X方向にスケール拡大*/
}