@charset "utf-8";
/* CSS Document */

.tab_content { display: block;}
#page_contents .c-txtsp {
    font-size: 0.95em;
}

/*選択されているタブのスタイルを変える*/
#xj-select-year_s { margin-bottom: 20px;}
#type > li.tab_item:last-child { border-right-style: none; }

.tabs .tab_item.active {
	background-color: #FFF6E6;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-weight: bold;
}
.tabs .tab_item.active a {font-weight: bold; }
.tabs a.r_link {
	color: #555555;
	font-size: 1.2rem;
	font-weight: bold;
	margin-top: 10px;
	display: inherit;
	margin-left: auto;
	margin-right: 10px;
	text-align: right;
}

.tab_item {
    height: 25px;
    border-right-color: #888888;
    border-right-style: solid;
    border-right-width: 1px;
    line-height: 25px;
	font-size: 1.4em; 
    text-align: center;
    color: #555555;
    display: block;
    float: left;
    transition: all 0.2s ease;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    letter-spacing: 1px;
    margin-bottom: 3px;
    cursor: pointer;
}
#main #page_contents .tab_item {font-size: 100%; width: calc(100%/4);}
#main .tab_item { width: calc(100%/6.05); }

span.cat.result {
	background-color: #1D44F6;
}
span.cat.discro {
	background-color: #0CE6F5;
}
span.cat.legal {
	background-color: #FAAC58;
}
span.cat.ir {
	background-color: #8181F7;
}
span.cat.pr {
	background-color:#44B4A4;
}
.tab_content ul li { line-height:25px; padding-bottom:0.5em; overflow: hidden;}
.tab_content ul li .c-txtsp span.cat,.tab_content ul li .c-txtsp span.date,.tab_content ul li .c-txtsp span.sptxt { display: block;}
.tab_content ul li .c-txtsp span.cat, .tab_content ul li .c-txtsp span.date {float:left;}
.tab_content ul li .c-txtsp span.sptxt { margin-left:250px; }

.xj_chart_header_first{background: #e9e9e9;}
.glaph .xj_chart_table td{width: 15%; vertical-align: middle;}
.xj_chart_table tbody > tr > .xj_chart_header:nth-of-type(1){text-align: left;}
.non_titl .xj_chart_table tbody > tr > .xj_chart_header:nth-of-type(1),.non_titl .xj_chart_header_first{ display: none;}
.xj_chart_header { text-align: center; background-color: #E9E9E9;} 
#highlight .glaph div img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
    max-width: 100%;
    height: auto;
    width: auto;
}

/*************
  library
**********************/
.yearselect { float:right; margin-top:-45px;}
.liblist h4 { font-weight:bold; margin-bottom:0.5em;}

@media screen and (max-width:900px){
	#highlight .glaph div {
    width: calc(50% - 10px);
    display: block;
    height: auto;
    float: left;
    margin-right: 10px;
    margin-bottom: 40px;
    margin-left: 0;
    font-size: 1.3rem;
}
	.glaph table {
    font-size: 1.0rem;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #888888;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
}
@media screen and (max-width:870px){
	#highlight .glaph div {
    width: 100%;
	margin:0 auto 20px;
	}
	.glaph table {
    font-size: 1.1rem;
	}
}
@media screen and (max-width:750px){
.tab_content ul li { line-height:25px; padding-bottom:0.5em; overflow: hidden;}
.tab_content ul li .c-txtsp span.cat,.tab_content ul li .c-txtsp span.date { display: inline-block;}
.tab_content ul li .c-txtsp span.cat, .tab_content ul li .c-txtsp span.date {float:none;}
.tab_content ul li .c-txtsp span.sptxt { margin-left:0;width:100%; }
}
@media screen and (max-width:440px){

	.tab_item { width: calc(100%/2) !important; border-left:none; border-right:#888888 1px solid !important; margin-bottom: 0; }
	#type > li.tab_item:nth-child(odd) { border-left: #888888 1px solid; }
	#type { border-bottom:#888888 1px solid; display: block; overflow: hidden;}
}
