@charset "utf-8";
/*--京user/chart.css--*/
html{
    width: 100%;
    height: 100%;
}

body{
    background-color: #fff;
}

#container{
    height: 100%;
}

.contents{
    padding: 0;
    height: 100%;
}

.chart_selector{
    height: 3rem;/*42px*/
    margin-bottom: 1.5rem;
}

    .chart_selector ul{
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        height: 100%;
    }

        .chart_selector ul li{
            width: 50%;
            height: 100%;
        }

            .chart_selector ul li label{
                margin: 0;
                width: 100%;
                height: 100%;
                cursor: pointer;
                transition: .3s all ease;
            }

            .chart_selector ul li label:hover{
                filter: brightness(1.1);
            }

                .chart_selector ul li label input[type="radio"]{
                    display: none;
                }

                .chart_selector ul li label .lbl{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 100%;
                    height: 100%;
                    font-size: 1.2rem;
                    background: #eee;
                    color: #555;
                    position: relative;
                }

                    .chart_selector ul li label .lbl:after{
                        content: "";
                        display: block;
                        width: 0;
                        height: 0;
                        border-style: solid;
                        border-right: 1rem solid transparent;
                        border-left: 1rem solid transparent;
                        border-top: 1rem solid #3d844a;
                        border-bottom: 0;
                        position: absolute;
                        left: calc(50% - 1rem);
                        bottom: -1rem;
                        opacity: 0;
                    }


                .chart_selector ul li label input[type="radio"]:checked + .lbl{
                    background: #3d844a;
                    color: #fff;
                }

                    .chart_selector ul li label input[type="radio"]:checked + .lbl:after{
                        opacity: 1;
                    }

.display_chart{
    position: relative;
    width: 800px;
    height: calc(400px - 4.5rem);
}



/*1200px以下*/
@media screen and (min-width:1px) and (max-width:1200px){}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
    .chart_selector ul li label .lbl{
        font-size: 1.1rem;
    }
    
    .display_chart{
        width: 98vw;
        height: calc(50vw - 6.5rem);
    }
    
}

/* ##########SP横向き########## */
@media screen and (min-width:1px) and (max-width:768px) {

}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
    .chart_selector ul li label .lbl{
        font-size: 1rem;
    }
    
    .chart_selector ul li label .lbl:after {
        border-right: 0.75rem solid transparent;
        border-left: 0.75rem solid transparent;
        border-top: 0.75rem solid #3d844a;
        left: calc(50% - 0.75rem);
        bottom: -0.7rem;
    }
    
    .display_chart{
        height: calc(90vw - 4.5rem);
    }
    .display_chart p{
        font-size: 0.8em;
        line-height: 1.2;
        margin-bottom: 0;
    }
}

/* ##########印刷用########## */
@media print{}