@charset "UTF-8";
/* CSS Document */

/*=========================================================
 *
 *	css file for "www.aaaaaaa.com"
 *	file name : base.css
 *
=========================================================*/

/* デフォルトのスタイル（画面幅が600px未満の場合） */
.chart-boxs {
    width: 100%;
    height: 400px;
    position: relative;
}

/* 大画面でグラフが横つぶれにならないように設定　画面幅が600px以上の時に左右の余白を50pxに設定 */
@media (min-width: 600px) {
    .chart-boxs {
        width: calc(100% - 100px); /* 親要素の幅から左右の余白（50px + 50px）を差し引く */
        margin-right: 50px;
        margin-left: 50px;
    }
}

#scoreChart {
    width: 100%;
    height: 100%; /* 高さを100%にして親要素に合わせる */
}


#radarChart {

    /*background-color: #ff0000;*/
    width: 400px;
    height: 400px;
    
    background: url('./bg_graph_egogram.png') 0px 0px no-repeat;
    /*background-size: cover;*/
    
    margin: 0;
    padding: 0;
    
    /*min-width: 500px;
    min-height: 500px;*/
    
    background-size: contain; /* 要素のサイズに合わせて画像を縮小 */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    background-position: center; /* 要素内で画像を中央に配置 */

}

div.chart-box {

    /*aspect-ratio: 2 / 1;*/
    
    /*max-width: 800px;
    max-height: 400px;*/
    
    background: url('./bg_graph_egogram.png') 0px 0px no-repeat;
    background-size: contain; /* 要素のサイズに合わせて画像を縮小 */
    background-repeat: no-repeat; /* 繰り返しを防ぐ */
    background-position: center; /* 要素内で画像を中央に配置 */
    
    border: 1px solid #ff0000;

}


div.container {
    /*border: 1px solid #ccc;*/
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
}



/*--------- table   --------- */

div.table-container {
    /*padding-top 100px !important;
    background-color: #ff0000;*/
    width: 100%;
    /*border: 1px solid #ccc;*/
}

div.chart-wrapper {
    /*border: 1px solid #ccc;*/
}

table#list_data {
    /*background-color: #ff0000;*/
    /*padding-top: 100px !important;*/
    margin-top: 80px;
    margin-left: 20px;
    width: 100%;
    max-width: 370px;
    
}

table#list_data tr {
}

table#list_data tr td {
    padding: 10px 10px;
}

table#list_data tr td.ctr {
    text-align: center;
}





/*---------------------------------------------------------------*/
/*tb*/
/*---------------------------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1100px) {

    table#list_data {
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
        width: 56%;
        max-width: none;
    }

    table#list_data tr {}
    table#list_data tr td {}


}
/*---------------------------------------------------------------*/
/*sp*/
/*---------------------------------------------------------------*/

@media screen and (max-width: 768px) {

    table#list_data {
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
        width: 96%;
        max-width: none;        
    }

    table#list_data tr {}
    table#list_data tr td {}
    


    /*div.chart-box {
        min-height: 400px;
    }

    canvas#scoreChart {
        min-height: 400px;    
    }*/

    /*canvas#scoreChart {
        height: 360px !important;
        border: 1px solid #ff0000;
    }*/
    

}

/*--------- clearfix   --------- */

div.lrbox:after,
div.wrap_col_2:after,
div.wrap_col_3:after,
div.wrap_col_4:after,
ul.grid_2:after,
ul.grid_3:after,
ul.grid_4:after
{ 
display:block; clear:both; height:0; visibility:hidden; content:"."; 
}




