@charset "euc-jp";

/*==================================================
共通　横並びのための設定
===================================*/

.gnavi{
    display: flex;
    flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
/*    margin:0 0 10px 0;*/
    margin:0 0 0 0;
    list-style: none;
}

.gnavi li a{
    display: block;
/*    padding:10px 30px;*/
    padding:10px 30px;
    text-decoration: none;
    color: #333;
 /*   color: #fff; */
}

.gnavi li{
/*    margin-bottom:20px;*/
margin-bottom:0px;
}

/*==================================================
　5-3-1 中心から外に線が伸びる（下部）
===================================*/

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
/* color:#0481A2; */
/* color:#fff; */
 color:#f00;
}

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

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


/*========= レイアウトのためのCSS ===============*/

.lead{
	padding: 50px 20px;
}



