.cf_tool_tip .amount,.cf_period{
font-size:1.4em;
}
input[type="checkbox"] {
    /*vertical-align: sub;*/
}
.themed-background{
    background-color: powderblue!important;
}
.mangaichi {
    background-color: rgba(255, 218, 185, 0.6)!important;
}
.themed-background th{
    color: #000!important;
}

thead th{
    /*text-align:center!important;*/
    padding: 6px!important;
    vertical-align: middle!important;;
}
.term {
    width: 300px;
}
.no-gutters {
    margin:0;
    padding:0;
}

/* ツールチップ */
.custom_tooltip{
    color: #189a4e;
    display: inline-block;                        /* インライン要素化 */
    font-size:1.2em;
    /*border-bottom:dashed 1px #555;    !* 下線を引く *!*/
}
.custom_tooltip a{
    color: black;
}
.custom_tooltip:hover{
    cursor: pointer;
}

/* ツールチップ部分を隠す */
.custom_tooltip > span {
    display: none;
    text-align: left;
}

/* Tippy.js が引き継ぐため、旧tooltip表示を無効化 */
.custom_tooltip.active > span,
.custom_tooltip:hover > span {
    display: none !important;
}
.custom_tooltip.active,
.custom_tooltip:hover {
    position: relative;
    color: #333;
}
.custom_tooltip.active > i,
.custom_tooltip:hover > i {
    color: #8a6460;
}

.hover_tooltip span{
    display:none;}
.hover_tooltip:hover {
    position: relative;
    color: #333;
}
.hover_tooltip:hover > i{
    color: #8a6460;
}
/* クリック時にツールチップを表示 */
.hover_tooltip:hover > span {
    display: block;                  /* ボックス要素にする */
    position: absolute;            /* relativeからの絶対位置 */
    top: 28px;
    left: -14px;
    font-size: 13px!important;
    color: #fff;
    background-color: #8a6460;
    width: 300px;
    padding: 10px;
    border-radius:3px;
    z-index:100;
    font-weight: normal;
    line-height: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
}






/* フキダシ部分 — Tippy.js が描画するため無効化 */
.custom_tooltip > span:before,
.custom_tooltip > span.left:before {
    display: none;
}

.custom_tooltip li {
    line-height: 1.4em;
    border-bottom: dotted 1px #ccc;
    list-style: none;
    padding: 6px 0;
}
.custom_tooltip li a{
    color:#fff;
}
.custom_tooltip .table{
    background-color: inherit!important;
}
/* ツールチップここまで */

span.auto_calc {
    display: inline-block;
    text-align: center;
    padding: 3px;
    border: solid 2px #ffae5c;
    border-radius: 25px;
    width: 30px;
    height: 30px;
    background: #fff;
    color: #ffae5c;
    cursor: pointer;
}
span.auto_calc:hover {
    cursor: pointer;
    color: #fff;
    background: #ffae5c;
}
.no_bordered td, .no_bordered th{
    border: 0!important;
}
.income_mode_others .yearly{
    display:none;
}

/* ===== Tippy.js "fp" テーマ ===== */
.tippy-box[data-theme="fp"] {
    background: #f7faf8;
    color: #3d4f47;
    font-size: 13.5px;
    line-height: 1.7;
    border: 1px solid #c8ddd1;
    border-radius: 10px;
    padding: 6px 4px;
    box-shadow: 0 6px 24px rgba(100,140,120,0.15);
}
.tippy-box[data-theme="fp"] .tippy-content {
    padding: 8px 12px;
}
.tippy-box[data-theme="fp"] .tippy-arrow {
    color: #f7faf8;
}
.tippy-box[data-theme="fp"] .tippy-arrow::before {
    border-bottom-color: #c8ddd1;
}
.tippy-box[data-theme="fp"] a {
    color: #4a9a6e;
    text-decoration: underline;
}
.tippy-box[data-theme="fp"] li {
    line-height: 1.6;
    border-bottom: dotted 1px #dde8e1;
    list-style: none;
    padding: 5px 0;
}
.tippy-box[data-theme="fp"] .table {
    background-color: inherit !important;
}