/* --- dashboardのCSSスタイル --- */
:root {
    --color-main: #00196E;
    --color-primary-cta: #F5A000;
    --color-secondary-cta: #004196;
    --color-text: #333333;
    --color-subtext: #555555;
    --color-white: #ffffff;
    --color-bg-light: #f7f9fc;
    --color-bg-nri: #DCE6F0;
    --color-border: #e0e0e0;
}
body { font-family: sans-serif; margin: 0; background-color: var(--color-bg-light); }
header { background-color: var(--color-main); color: white; padding: 15px 40px; }
.container { max-width: 1400px; margin: 30px auto; padding: 0 20px; }
.controls { display: flex; border-bottom: 2px solid var(--color-border); margin-bottom: 20px; }
.mode-btn { padding: 12px 24px; cursor: pointer; background: transparent; border: none; font-weight: bold; color: var(--color-subtext); position: relative; }
.mode-btn.active { color: var(--color-main); }
.mode-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background-color: var(--color-main); }
.content-card { background: white; border-radius: 8px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); min-height: 400px; }
#list-output { display: none; width: 100%; }
/* ピボットテーブル用スタイル調整 */
.pvtAttr { background: var(--color-bg-nri) !important; color: var(--color-main) !important; border-radius: 4px; padding: 4px 8px !important; }
/* DataTablesの404エラー（画像不足）対策 */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background-image: none !important;
}



.pvtUi {
    color: #333
  }
  
  table.pvtTable {
    font-size: 8pt;
    text-align: left;
    border-collapse: collapse
  }
  
  table.pvtTable tbody tr th,
  table.pvtTable thead tr th {
    background-color: #e6EEEE;
    border: 1px solid #CDCDCD;
    font-size: 8pt;
    padding: 5px
  }
  
  table.pvtTable .pvtColLabel {
    text-align: center
  }
  
  table.pvtTable .pvtTotalLabel {
    text-align: right
  }
  
  table.pvtTable tbody tr td {
    color: #3D3D3D;
    padding: 5px;
    background-color: #FFF;
    border: 1px solid #CDCDCD;
    vertical-align: top;
    text-align: right
  }
  
  .pvtGrandTotal,
  .pvtTotal {
    font-weight: 700
  }
  
  .pvtVals {
    text-align: center;
    white-space: nowrap
  }
  
  .pvtColOrder,
  .pvtRowOrder {
    cursor: pointer;
    width: 15px;
    margin-left: 5px;
    display: inline-block
  }
  
  .pvtAggregator {
    margin-bottom: 5px
  }
  
  .pvtAxisContainer,
  .pvtVals {
    border: 1px solid gray;
    background: #EEE;
    padding: 5px;
    min-width: 20px;
    min-height: 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none
  }
  
  .pvtAxisContainer li {
    padding: 8px 6px;
    list-style-type: none;
    cursor: move
  }
  
  .pvtAxisContainer li.pvtPlaceholder {
    -webkit-border-radius: 5px;
    padding: 3px 15px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px dashed #aaa
  }
  
  .pvtAxisContainer li span.pvtAttr {
    -webkit-text-size-adjust: 100%;
    background: #F3F3F3;
    border: 1px solid #DEDEDE;
    padding: 2px 5px;
    white-space: nowrap;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px
  }
  
  .pvtTriangle {
    cursor: pointer;
    color: grey
  }
  
  .pvtHorizList li {
    display: inline
  }
  
  .pvtVertList {
    vertical-align: top
  }
  
  .pvtFilteredAttribute {
    font-style: italic
  }
  
  .pvtFilterBox {
    z-index: 100;
    width: 300px;
    border: 1px solid gray;
    background-color: #fff;
    position: absolute;
    text-align: center
  }
  
  .pvtFilterBox h4 {
    margin: 15px
  }
  
  .pvtFilterBox p {
    margin: 10px auto
  }
  
  .pvtFilterBox label {
    font-weight: 400
  }
  
  .pvtFilterBox input[type=checkbox] {
    margin-right: 10px;
    margin-left: 10px
  }
  
  .pvtFilterBox input[type=text] {
    width: 230px
  }
  
  .pvtFilterBox .count {
    color: gray;
    font-weight: 400;
    margin-left: 3px
  }
  
  .pvtCheckContainer {
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
    overflow-y: scroll;
    width: 100%;
    max-height: 250px;
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3
  }
  
  .pvtCheckContainer p {
    margin: 5px
  }
  
  .pvtRendererArea {
    padding: 5px
  }