/*
追記 by はてな 2021/12/13
*/
.page-archive #content::before {
    content: "　　　　" !important;
}
.archive-module-calendar-highlight {
font-weight: bold;
color: #003399;
text-decoration: underline;
}

#sbisidebar a{
text-decoration: underline!important;
}

.footer{
padding: 16px!important;
}

.footer-inner{
margin: 4px auto!important;
}

#sbifooter{
max-width: 1080px;
background: #fff;
color: #000;
margin: 20px auto;
/*display: flex;*/
}
#sbifooter a{
color: #000;
text-decoration: none;
}

#sbifooter a:hover {
text-decoration: underline;

}

#sbifooter h3{
    font-size:13px;
    margin-top: 5px;
   }

#sbifooter .share{
    padding: 0;
    margin: 0;
}

#sbifooter  .share dl{
margin-top: 5px;
margin-bottom: 5px
}

#sbifooter  dt{
font-weight: bold;
white-space: nowrap;
}

#sbifooter  .share dt,#sbifooter  .share dd{
    margin-top:3px;
    margin-left:10px;
}

#sbifooter  dt,#sbifooter  dd{
display: table-cell;
font-size: 13px;
text-align: left;
vertical-align: top;
}

#sbifooter  dd span{
display: inline-block;
letter-spacing: normal;
padding-left: 7px
}

#sbifooter  dd span::before{
content: "|";
padding-left: 4px;
padding-right:4px;
}

.footer-sub-menu{
max-width: 1080px!important;
margin: 4px auto!important;
}

.footer-copyright{
margin: 4px auto!important;
max-width: 1080px!important;
}

@media only screen and (max-width: 992px){
#sbifooter  dt,#sbifooter  dd{
display: block;
}
}

@media only screen and (max-width: 992px){
#sbifooter h3{
margin-left: 10px;
}
}

@media only screen and (max-width: 992px){
#sbifooter  .share dt{
margin-left: 13px;
}
}

@media only screen and (max-width: 992px){
#sbifooter  dd span{
display: block;
}
}

/*目次に太いライン*/
.entry-content .table-of-contents {
    position: relative;
    margin: 0;
    padding: 1em 1.2em 1em;
    background: #fff;
    font-size: 100%;
    border-top: solid 40px #13b5bc;
    border-right: solid 3px #13b5bc;
    border-bottom: solid 3px #13b5bc;
    border-left: solid 3px #13b5bc;
    border-radius: 4px;
}
.entry-content .table-of-contents::before {
    content: "目次";
    position: absolute;
    top: -33px;
    left: 20px;
    margin: 0 0 .8rem;
    padding: 0 0 .4rem;
    color: #fff;
    border: none;
    font-size: 120%;
}
.entry-content .table-of-contents li {
    margin: .2em 0 1em 1em;
    line-height: 1.6em;
}
.entry-content .table-of-contents li ul {
    margin: 0 0 1em .5em;
    padding: 0;
}
.entry-content .table-of-contents li ul li {
    margin: .2em 0 0 1em;
    
}
.table-of-contents li a {
    line-height: 1.6em;
}
.entry-content .table-of-contents a {
    color: #454545;
    text-decoration: underline;
}
.navbar-list>li{
margin: 0 25px!important;
}
.area-search-btn{
width: 205px!important;
}

@media only screen and (min-width: 993px) {
    .navbar.is-fixed .navbar-inner {
        display: block !important;
        height: 140px !important;
    }
    }
    
@media only screen and (min-width: 993px) {
    .navbar.is-fixed .navbar-logo {
     padding-top: 15px !important;
    }
    }
    
@media only screen and (min-width: 1120px) {
    .navbar.is-fixed .navbar-list {
     padding-top: 15px !important;
    }
}

@media only screen and (min-width: 993px) {
    .area-search-btn {
        border-radius: 2px !important;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
}

/* フローティングバーのスタイル */
.floating-share-bar {
    position: fixed;
    left: 20px;        /* 左端からの距離 */
    top: 50%;          /* 縦位置：中央 */
    transform: translateY(-50%);
    z-index: 9999;     /* 最前面に表示 */
    display: flex;
    flex-direction: column;
    gap: 12px;         /* ボタンの間隔 */
}
 
/* ボタン共通設定 */
.fs-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%; /* 丸いボタン */
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
    border: none;       /* buttonタグ用リセット */
    cursor: pointer;    /* buttonタグ用 */
    padding: 0;         /* buttonタグ用リセット */
}
.fs-btn:hover {
    transform: translateX(5px); /* ホバーで少し右に動く */
    opacity: 0.9;
}
 
/* Font Awesomeアイコンのサイズ調整 */
.fs-btn i {
    color: #fff;
    font-size: 20px;   /* アイコンの大きさ */
}
 
/* 各色設定 */
.fs-copy { background-color: #6c757d; } /* 信頼感のあるニュートラルグレー */
.fs-x { background-color: #000; }
.fs-fb { background-color: #1877f2; }
.fs-line { background-color: #06c755; }
 
/* コピー成功時のスタイル変化 */
.fs-btn.copied-success {
    background-color: #28a745 !important; /* 成功時の緑色 */
}
 
/* ======================================================
   ハイブリッド・シェアボタン制御 (2026年最適化版)
   - PC: 自作フローティングのみ表示 / デフォルトを隠す
   - SP: デフォルトのみ表示 / 自作フローティングを隠す
   ====================================================== */

/* 1. PC（1025px以上）の設定 */
@media (min-width: 1025px) {
    /* はてなブログ標準のボタンをPCでは非表示にする */
    .social-buttons, 
    .entry-social-footer, 
    .hatena-social-buttons {
        display: none !important;
    }
    
    /* 自作フローティングバーを表示 */
    .floating-share-bar {
        display: flex !important;
    }
}

/* 2. スマホ・タブレット（1024px以下）の設定 */
@media (max-width: 1024px) {
    /* はてなブログ標準のボタンをスマホで強制表示 */
    .social-buttons, 
    .entry-social-footer, 
    .hatena-social-buttons {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 自作フローティングバーをスマホでは隠す */
    .floating-share-bar {
        display: none !important;
    }
}

/* ======================================================
   スマホ専用AIコピーリンクのスタイル
   ====================================================== */

/* PCでは非表示 */
@media (min-width: 1025px) {
    .mobile-ai-support {
        display: none !important;
    }
}

/* スマホでのみ表示・装飾 */
@media (max-width: 1024px) {
    .mobile-ai-support {
        display: block !important;
        text-align: center;
        margin: 5px 0 25px 0; /* 上の余白を詰め、下の余白を広げる */
        padding: 10px;
        background-color: #f8f9fa;
        border-radius: 8px;
    }
}
    .mobile-ai-support a {
        color: #666;
        text-decoration: underline;
        font-size: 13px;
        font-weight: bold;
        display: inline-block;
        padding: 5px 10px;
    }
    /* タップ時の反応（2026年UX基準） */
    .mobile-ai-support a:active {
        color: #28a745;
        transform: scale(0.98);
    }
}