@charset "utf-8";

/************ graph ************/
.graph_container {
    position: relative;
    height: 350px;
    box-shadow: 0 15px 30px rgbs(0,0,0,0.2);
}
.graph_title_line {
    margin: 0 auto;
    text-align: center;
}
.graph_line_section {
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 0 4px 4px 0;
    width: 88%;
}

/************************************************/

/*------------------------------------
  bar graph
------------------------------------*/
.bar-graph-wrap {
    position: relative;
    height: 350px;
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.bar-graph-wrap .graph {
    height: 50px;
    position: absolute;
    left: 0;
    border-radius: 0 4px 4px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 10px;
    -webkit-animation: graphAnim 2.5s forwards;
            animation: graphAnim 2.5s forwards;
}
.bar-graph-wrap .graph span {
    font-size: 14px;
    color: #ffffff;
}
@media screen and (max-width: 750px) {
.bar-graph-wrap .graph span {
    font-size: 12px;
}
}
.bar-graph-wrap .graph.blue {
    top: 15%;
    background: #03a9f4;
    width: 88%;
}
.bar-graph-wrap .graph.red {
    top: 0;
    bottom: 0;
    margin: auto;
    background: #ff3051;
    width: 65%;
}
.bar-graph-wrap .graph.green {
    bottom: 15%;
    background: #1fd26c;
    width: 27%;
}

@-webkit-keyframes graphAnim {
    0% {
        -webkit-transform: translateX(-100%);
                transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}

@keyframes graphAnim {
    0% {
        -webkit-transform: translateX(-100%);
                transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}
/*-----------------*/
/*  type vertical  */
/*-----------------*/
.bar-graph-wrap.vertical {
    height: 400px;
    margin: 0 auto;
    max-width: 900px;
}
.bar-graph-wrap.vertical .graph {
    width: 36px;
    bottom: 0;
    border-radius: 4px 4px 0 0;
    animation: graphAnim02 3s forwards;
    flex-direction: column-reverse;
}
.bar-graph-wrap.vertical .graph .name {
    font-size: 10px;
}
.bar-graph-wrap.vertical .graph {
    top: auto;
}
.bar-graph-wrap.vertical .graph.blue {
    left: 10%;
    height: 88%;
}
.bar-graph-wrap.vertical .graph.red {
    left: 20%;
    height: 65%;
}
.bar-graph-wrap.vertical .graph.green {
    left: 30%;
    height: 27%;
}
@keyframes graphAnim02 {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(0);
    }
}