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

.table-container .table {
    width: 100%;
    table-layout: fixed;
}

.table-container th:first-child,
.table-container td:first-child {
  white-space: nowrap;
  width: 1%;
  padding: 12px 20px;
}

.table-container thead {
    background: #faf9f4;
}

.table-container thead th {
    text-align: center !important;
}

.table-container th {
    font-weight: bold;
    font-size: 14px;
    padding: 12px 8px;
    white-space: nowrap;
}

.table-container td {
    border: 1px solid #999570;
    font-size: 14px;
    text-align: right;
    padding: 12px 8px;
    word-break: break-word;
}

.table-container tr th {
    text-align: left;
    border: 1px solid #999570;
}


.check-container input[type="checkbox"] {
    display: inline-block !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
}

.irp_comment {
    text-align: right;
    font-size: 14px;
}

#fychart #desc {
    font-size: 14px;
    margin: 2em 0;
}

#fychart h2.title,
#fychart h3.h3Tit {
    font-size: 18px;
}

/* #fychart h3.h3Tit {
    margin-top: 1em;
} */

#fychart .graph-inner-left-btns .__btn {
    background-color: #fff;
    color: #222;
}

#fychart .graph-inner-left-btns .__btn.is-active {
    background-color: #846e17;
    color: #fff;
}

#fychart .graph-inner-left-btns .__btn svg {
    fill: #222;
}

#fychart .graph-inner-left-btns .__btn.is-active svg {
    fill: #fff;
}

#fychart input[type="checkbox"] {
    accent-color: #846e17;
}

#fychart a.mod-tab-gold-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

#fychart p.note {
    font-size: 11px;
    line-height: 2;
    margin-bottom: 1rem;
    font-weight: bold;
}

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

  #fychart label {
    font-size: 11px;
    letter-spacing: -.1em;
  }

  #fychart h2.title {
    font-size: 18px;
    margin-top: 20px;
  }

  .table-container {
    width: 100%;
  }

  .table-container .table-scroll {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .table-container .table-scroll table {
    width: max-content;
    min-width: 900px;
    border-collapse: collapse;
  }

  .table-container .table-scroll th,
  .table-container .table-scroll td {
    font-size: 12px;
    padding: 8px;
    white-space: nowrap;
  }

  .table-container .table-scroll tbody th {
    min-width: 160px;
  }

  .table-container .annotation.spOnly {
    display: block;
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
    font-size: 12px;
    color: #666;
  }

  .table-container .annotation.spOnly .number::before {
    content: "※";
  }

  .table-container .annotation.spOnly span:last-child::before {
    content: "Scroll horizontally to view the table.";
  }



}

.graph-period-row {
  display: flex;
  align-items: center;
  margin: 40px 0 -20px 0;
}

.graph-period-row .mod-fieldset {
  display: flex;
  align-items: center;
  gap: 16px;
  border: none;
  margin: 0;
  padding: 0;
}



/* ==============================
   セグメントDL行：右寄せ・余白を詰める
   ============================== */
.graph-inner._segment-row {
  justify-content: flex-end;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* SP */
@media screen and (max-width: 768px) {
  /* ラジオボタン：文字サイズを通常サイズに戻す */
  .graph-period-row .mod-radio {
    font-size: 14px;
  }
  .graph-period-row .mod-radio-text {
    font-size: 14px;
  }

  /* ラジオボタン行：横並び・横幅100% */
  #period-fieldset {
    width: 100%;
    flex-direction: row;
  }

  /* セグメントDL行：横幅いっぱい */
  .graph-inner._segment-row {
    justify-content: stretch;
  }
  /* _segment-row専用：graph-inner-rightを100%に（他のgraph-inner-rightに影響しない） */
  .graph-inner._segment-row .graph-inner-right {
    width: 100%;
  }
  .graph-inner._segment-row .mod-select._year {
    width: 100%;
  }
  .graph-inner._segment-row .mod-select._year select {
    width: 100%;
  }
}


