/*年次テーブル*/
#irp-cmtable-21101-A th:nth-child(2) {display:none}

/*四半期テーブル*/
.irp-qtable tr:first-child th:first-child {display:none}

/*凡例調整*/
.irp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.irp-legend-checkbox {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
}

.irp-legend-symbol {
  display: inline-block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.irp-legend-name {
  display: inline-block;
}
/* Highchartsが自動生成する元の凡例シンボルを非表示 */
.highcharts-legend-item .highcharts-point,
.highcharts-legend-item .highcharts-graph {
  display: none;
}

.highcharts-legend-item {
  span {
    overflow: visible!important;
  }
}

.p-ir_financial_highlights_annual {
  .highcharts-legend {
    pointer-events: none!important;
    opacity: 0!important;
    position: absolute!important;
  }
}

/* ページ「おもな経営指標」 /ir/financial-indicators/index.html のグラフ「自己資本当期純利益率」、「売上高営業利益率」、「総資産経常利益率」、「1株当たり純資産」の凡例「通期」を非表示 */
#irp-chart-chart-21305, 
#irp-chart-chart-21301, 
#irp-chart-chart-21304, 
#irp-chart-chart-21204,
/* ページ「キャッシュ・フロー」のグラフの凡例を非表示 */
#irp-chart-chart-21401, /* 営業活動によるキャッシュ・フロー */
#irp-chart-chart-21402, /* 投資活動によるキャッシュ・フロー */
#irp-chart-chart-21403, /* 財務活動によるキャッシュ・フロー */
#irp-chart-chart-21404  /* 現金及び現金同等物期末残高 体 */
{
  .highcharts-legend {
    pointer-events: none!important;
    opacity: 0!important;
    position: absolute!important;
  }
}

/* ページ「おもな経営指標」 の行ヘッダ */
#irp-cmtable-21305-A,
#irp-cmtable-21301-A,
#irp-cmtable-21304-A,
#irp-cmtable-21204-A,
/* ページ「キャッシュ・フロー」の行ヘッダ */
#irp-cmtable-21401-A, /* 営業活動によるキャッシュ・フロー */
#irp-cmtable-21402-A, /* 投資活動によるキャッシュ・フロー */
#irp-cmtable-21403-A, /* 財務活動によるキャッシュ・フロー */
#irp-cmtable-21404-A  /* 現金及び現金同等物期末残高 体 */
{
  /* 行ヘッダの表示/非表示 */
  .irp-cmtable-col-0 {
    display: table-cell;
  }
  .irp-cmtable-col-1 {
    display: none;
  }
}

/*配当*/
#irp-chart-graph-ex2haito2 .custom-legend-item {display: inline-flex;align-items: center;gap: 6px;line-height: 1;cursor: pointer;}
#irp-chart-graph-ex2haito2 .custom-legend-checkbox {width: 14px;height: 14px;margin: 0;flex: 0 0 auto;cursor: pointer;}
#irp-chart-graph-ex2haito2 .custom-legend-symbol {flex: 0 0 auto;}
#irp-chart-graph-ex2haito2 .custom-legend-text {white-space: nowrap;}
/* 棒グラフの凡例シンボル */
#irp-chart-graph-ex2haito2 .custom-legend-column {display: inline-block;width: 14px;height: 14px;flex: 0 0 auto;}
/* 折れ線の凡例シンボル */
#irp-chart-graph-ex2haito2 .custom-legend-line {position: relative;display: inline-block;width: 0;height: 0;flex: 0 0 20px;overflow: visible;}
/* 折れ線中央の丸 */
#irp-chart-graph-ex2haito2 .custom-legend-line-dot {position: absolute;top: 50%;left: 50%;width: 10px;height: 10px;border: 1px solid;border-radius: 50%;transform: translate(-50%, -50%);box-sizing: border-box;}

/* 凡例のチェックボックス */
#irp-chart-graph-ex2haito2 .custom-legend-checkbox {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin: 0 8px 0 0;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid #185798;
  border-radius: 6px;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  cursor: pointer;
  vertical-align: middle;
}

/* チェックマーク */
#irp-chart-graph-ex2haito2 .custom-legend-checkbox:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23185798' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* キーボード操作時 */
#irp-chart-graph-ex2haito2 .custom-legend-checkbox:focus-visible {
  outline: 3px solid rgba(24, 87, 152, 0.25);
  outline-offset: 2px;
}

/* 凡例全体の位置調整 */
#irp-chart-graph-ex2haito2 .custom-legend-item {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* グラフの色を表すシンボルとの間隔 */
#irp-chart-graph-ex2haito2 .custom-legend-line,
#irp-chart-graph-ex2haito2 .custom-legend-column {
  flex-shrink: 0;
  margin-right: 6px;
}

#irp-chart-graph-ex2haito2 .custom-legend-text {
  line-height: 1.4;
  font-size: 14px;
  font-weight: 600;
}

.irp-qtable, irp-cmtable {margin-bottom: 10px;}
.irp_comment {text-align: right;margin: 2em 0;}
#irp-highlight-table-hilighty09, #irp-highlight-table-hilightq01, #irp-highlight-table-hilightq02, #irp-highlight-table-hilightq03, #irp-highlight-table-hilightq04, #irp-highlight-table-hilightq05, #irp-highlight-table-hilightq06, #irp-highlight-table-hilightq07, #irp-highlight-table-hilightq08, #irp-highlight-table-indi01, #irp-highlight-table-indi02, #irp-highlight-table-indi03, #irp-highlight-table-indi04, #irp-highlight-table-cf01, #irp-highlight-table-cf02, #irp-highlight-table-cf03, #irp-highlight-table-cf04, #irp-highlight-table-hilightq01, #irp-highlight-table-hilightq02, #irp-highlight-table-hilightq03, #irp-highlight-table-hilightq04, #irp-highlight-table-hilightq05, #irp-highlight-table-hilightq06, #irp-highlight-table-hilightq07, #irp-highlight-table-hilightq08 {margin-top: 10px;}

/*四半期凡例調整*/
.chart .irp-legend-item {display: inline-flex;align-items: center;gap: 6px;white-space: nowrap;vertical-align: middle;}
.chart .irp-legend-checkbox {appearance: none;-webkit-appearance: none;position: relative;flex: none;width: 22px;height: 22px;margin: 0 3px 0 0;border: 1px solid #004098;border-radius: 5px;background: #fff;cursor: pointer;min-height: 0;}
.chart .irp-legend-checkbox:checked::after {  content: "";position: absolute;top:50%;left: 50%;transform: translate(-50%, -50%);width: 14px;height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23185798' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;}
.chart .irp-legend-checkbox:focus-visible {outline: 2px solid #004098;outline-offset: 2px;}
.chart .irp-legend-symbols {display: inline-flex;align-items: center;gap: 4px;}
.chart .irp-legend-symbol {display: inline-block;flex: none;width: 10px;height: 10px;}
.chart .irp-legend-name {color: #222;font-size: 17px;font-weight: 700;line-height: 1;}