@charset "UTF-8";
/*********************************************
05.歴史沿革 Css 
*********************************************/

/******* mod-history *******/
.mod-history li {
    position: relative;
    padding-bottom: 30px;
}
.mod-history li .year{
    font-size: 30px;
    text-align: center;
    display: inline-block;
    padding: 41px 15px;
    color: #fff;
    background-image: url("../img/year_bg_y.png");
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: auto;
}
.mod-history li:nth-child(2n) .year{
    background-image: url("../img/year_bg_o.png");
}
.mod-history li .year:before{
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    border-right: dashed 2px #fedd97;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    margin: auto;
}

.mod-history li .waku{
    float: left;
    background: url("../img/bg_note.jpg");
    position: relative;
    padding: 40px;
}
.mod-history li .img{
    float: right;
    text-align: center;
    padding: 4% 0;
}
.mod-history li:nth-child(even) .waku{ float: right; }
.mod-history li:nth-child(even) .img{ float: left; }

.mod-history .waku, .mod-history .img{
    width: 40%;
    margin-top: 30px;
}


/***4点枠スタイル***/
.mod-history .waku h3{
    display: block;
    font-size: 30px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.mod-history .waku:before{
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 15px 40px;
    border-color: transparent transparent transparent #faf3e0;
    position: absolute;
    right: -40px;
    top: 30%;
}
.mod-history li:nth-child(even) .waku:before{
    border-width: 0px 40px 15px 0;
    border-color: transparent #faf3e0 transparent transparent;
    position: absolute;
    right: auto;
    left: -40px;
}
.mod-history li .waku:after{
    content: "";
    display: block;
    width: 100%;
    height: 19px;
    background: url("../img/waku_shadow.png") no-repeat center bottom;
    background-size: contain;
    position: absolute;
    bottom: -17px;
    left: 0;
    z-index: -1;
}
.mod-history .waku .btn{
    text-align: center;
    width: 100%;
    margin: 10px 0;
    padding: 18px 10px;
    border-radius: 10px;
    color: #fff;
}
.mod-history .waku .btn:after{
    display: none;
}
.mod-history .waku .ico-waku-left,
.mod-history .waku .ico-waku-right{
    display: block;
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
}
.mod-history .waku .ico-waku-left{ left: -2px; }
.mod-history .waku .ico-waku-right{ right: -2px; text-align: right; }

.mod-history .waku .ico-waku-left:before,
.mod-history .waku .ico-waku-left:after,
.mod-history .waku .ico-waku-right:before,
.mod-history .waku .ico-waku-right:after{
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background-position: left top;
    background-repeat: no-repeat;
    background-image: url(../../img/sprite_waku.png);/*4点枠画像*/
    position: absolute;
}
.mod-history .waku .ico-waku-left:after{ background-position: left -40px; }

.mod-history .waku .ico-waku-right:before{ background-position: right top; }
.mod-history .waku .ico-waku-right:after{ background-position: right -40px; }

.mod-history .waku .ico-waku-left:before, .mod-history .waku .ico-waku-left:after{ left: 0; }
.mod-history .waku .ico-waku-right:before, .mod-history .waku .ico-waku-right:after{ right: 0; }
.mod-history .waku .ico-waku-left:before, .mod-history .waku .ico-waku-right:before{ top: -2px; }
.mod-history .waku .ico-waku-left:after, .mod-history .waku .ico-waku-right:after{ bottom: -2px; }


/*黄色カラー*/
.mod-history .waku.yellow .ico-waku-left:before, .mod-history .waku.yellow .ico-waku-left:after, .mod-history .waku.yellow .ico-waku-right:before, .mod-history .waku.yellow .ico-waku-right:after{ background-position: left top; }
.mod-history .waku.yellow .ico-waku-left:after{ background-position: left -40px; }
.mod-history .waku.yellow .ico-waku-right:before{ background-position: right top; }
.mod-history .waku.yellow .ico-waku-right:after{ background-position: right -40px; }
.mod-history .waku.yellow h3{ color: #c3b75e;/*見出しカラー*/ }
.mod-history .waku.yellow .btn{ background-color: #e7d070;/*ボタンカラー*/ }

/*青カラー*/
.mod-history .waku.blue .ico-waku-left:before, .mod-history .waku.blue .ico-waku-left:after, .mod-history .waku.blue .ico-waku-right:before, .mod-history .waku.blue .ico-waku-right:after{ background-position: left -240px; }
.mod-history .waku.blue .ico-waku-left:after{ background-position: left -280px; }
.mod-history .waku.blue .ico-waku-right:before{ background-position: right -240px; }
.mod-history .waku.blue .ico-waku-right:after{ background-position: right -280px; }
.mod-history .waku.blue h3{ color: #5DB7BE;/*見出しカラー*/ }
.mod-history .waku.blue .btn{ background-color: #7cc6c7;/*ボタンカラー*/ }

/*緑カラー*/
.mod-history .waku.green .ico-waku-left:before, .mod-history .waku.green .ico-waku-left:after, .mod-history .waku.green .ico-waku-right:before, .mod-history .waku.green .ico-waku-right:after{ background-position: left -320px; }
.mod-history .waku.green .ico-waku-left:after{ background-position: left -360px; }
.mod-history .waku.green .ico-waku-right:before{ background-position: right -320px; }
.mod-history .waku.green .ico-waku-right:after{ background-position: right -360px; }
.mod-history .waku.green h3{ color: #8ecd57;/*見出しカラー*/ }
.mod-history .waku.green .btn{ background-color: #9ece9e;/*ボタンカラー*/ }



/*============================================

SP用CSS

============================================*/
@media screen and (max-width: 767px){
    /*** mod-history ***/
    .mod-history li{
        padding-bottom: 60px;
    }
    .mod-history li:last-child{
        padding-bottom: 0;
    }
    .mod-history li .year{
        position: static;
        display: block;
    }
    .mod-history li .waku, .mod-history li .img,
    .mod-history li:nth-child(even) .waku, .mod-history li:nth-child(even) .img{
        float: none;
        width: 100%;
    }
    .mod-history li .waku {
        padding: 30px;
    }
    .mod-history .waku:before,
    .mod-history li:nth-child(even) .waku:before{
        display: none;
    }
    .mod-history li .waku:after {
        background-size: cover;
    }
    .mod-history li .img {
        background: #fff;
    }
    .mod-history .waku, .mod-history .img {
        margin-top: 20px;
    }
    .mod-history .waku h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
}

/*============================================

SP400pxまで用CSS

============================================*/
@media screen and (max-width: 400px){}