@charset "UTF-8";/*!
Theme: Smooth
Author: Hatena Blog Team
Responsive: yes
*//*!
 * Bootstrap Reboot v4.2.1 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
 */*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):hover,a:not([href]):not([tabindex]):focus{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}html,body{background:#f9fafb;font-family:helvetica,Segoe UI,游ゴシック体,YuGothic,游ゴシック Medium,Yu Gothic Medium,游ゴシック,Yu Gothic,メイリオ,Meiryo,sans-serif;color:#293030}html{line-height:1}body{font-size:17px;line-height:1.6}img{vertical-align:baseline}a{color:#293030}a:hover{color:#586767;transition:all .3s}.date{margin:0 0 .7em;font-size:.9rem}.date a{color:#6f8383}.date a:hover{color:#a5b3b3}.date-last-updated{color:#6f8383;font-size:.9rem}#globalheader-container{position:sticky;top:0;background:#f9fafb}#container{word-wrap:break-word}#blog-title{max-width:1280px;margin:auto;padding:4% 5%;text-align:center}#title{font-size:150%;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-weight:400}@media(min-width:768px){#title{font-size:215%}}#blog-description{font-size:90%;font-weight:400}#content-inner{width:100%;display:flex;flex-direction:column}@media(min-width:768px){#content-inner{flex-direction:row;margin:auto;padding:0 20px}}@media(min-width:1200px){#content-inner{width:1200px}}#wrapper{flex:0 0 100%;max-width:100%}@media(min-width:768px){#wrapper{flex:0 0 75%;max-width:75%}}@media(min-width:1020px){#main{padding:0 3% 0 0}}.header-image-enable #blog-title,.header-image-only #blog-title{padding:0 0 1.5em}@media(min-width:1200px){.header-image-enable #blog-title,.header-image-only #blog-title{width:1160px}}.header-image-enable #blog-title #blog-title-inner,.header-image-only #blog-title #blog-title-inner{display:flex;align-items:center;justify-content:center;height:50vw;max-height:200px}@media(min-width:1200px){.header-image-enable #blog-title #blog-title-inner,.header-image-only #blog-title #blog-title-inner{background-size:100%}}.header-image-enable #blog-title-content,.header-image-only #blog-title-content{margin:0 .5em}.breadcrumb{font-size:.9rem}.categories{margin-bottom:2em}.categories a{display:inline-block;background:#e9f0f2;margin:0 .3em 0 0;padding:0 10px;font-size:12px}.pager{text-align:center;margin:3em .8em}@media(min-width:1020px){.pager{margin:0}}.pager a{display:inline-block;width:100%;background:#eff1f5;padding:.7em 1.2em;border:none;font-weight:400;font-size:.9rem;color:#293030}.pager a:hover{background-color:#e9ecf1;text-decoration:none}.pager .pager-next,.pager .pager-prev{width:100%;padding:.5em 0}.pager .pager-prev+.pager-next{margin-left:1em;padding-left:1em}@media(min-width:768px){.pager .pager-prev+.pager-next{margin-left:1.5em;padding-left:1.5em}}.pager.permalink{display:flex;justify-content:center;align-items:center;text-align:center}.hatena-urllist{padding-left:0;list-style:none}.hatena-urllist li{border-top:1px dotted #cfd8d8;padding-top:10px;padding-bottom:10px}.hatena-urllist .archive-module-year,.hatena-urllist .archive-module-month{line-height:2}.hatena-urllist .urllist-date-link a{color:#6f8383}.hatena-urllist .urllist-category-link{display:inline-block;background:#e9f0f2;margin:.5em .3em 0 0;padding:3px 10px;font-size:12px;line-height:1.3}.hatena-urllist .urllist-category-link:hover{background:#d9e5e9;text-decoration:none;transition:background .3s}.hatena-urllist .urllist-entry-body{margin-top:10px}.hatena-module{margin-bottom:3em;padding-left:20px;padding-right:20px;font-size:.85rem}.hatena-module:last-child{margin-bottom:0}.hatena-module-title{margin-bottom:12px;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-size:20px}.hatena-module-body{font-size:15px}.hatena-module-body .urllist-title-link{font-size:100%}.hatena-module-body .archive-module-button{display:inline-block;width:15px;height:15px}.hatena-module-body .archive-module-hide-button,.hatena-module-body .archive-module-show-button{position:absolute;overflow:hidden;width:15px;height:15px;text-indent:-15px}.hatena-module-body .archive-module-hide-button:after,.hatena-module-body .archive-module-show-button:after{content:"";top:50%;display:inline-block;position:absolute;width:8px;height:8px;margin-top:-.1em;border-top:1px solid #6f8383;border-right:1px solid #6f8383}.hatena-module-body .archive-module-hide-button{transform:rotate(135deg);margin-top:.2em}.hatena-module-body .archive-module-show-button{transform:rotate(45deg);margin-top:.2em}@media(min-width:481px){.search-result-form{margin:0 1em}}.search-result+p{background:#fff;border:1px solid #f0f1f1;margin:0 0 3em;padding:8% 0;font-weight:700;text-align:center}.search-form,.search-result-form{position:relative;width:100%;background:#fff;margin:auto;border:1px solid #eee;box-sizing:border-box}.search-form:hover,.search-result-form:hover{border-color:#ddd}.search-module-input,.search-result-form .search-result-input{width:90%;height:30px;padding:5px;background:#fff;border:none;outline:none}.search-module-input::-webkit-input-placeholder,.search-result-form .search-result-input::-webkit-input-placeholder,.search-module-input::-placeholder,.search-result-form .search-result-input::-placeholder{color:#9faba9}.search-module-button,.search-result-form .search-result-button{width:20px;height:20px;background:transparent url(https://cdn.blog.st-hatena.com/images/theme/search@2x.png?version=f55d41c1f1e9d553c20fd41f441dc0) no-repeat right center;background-size:20px 20px;border:none;outline:none;text-indent:-9999px;position:absolute;top:5px;right:5px;opacity:.5;cursor:pointer}.search-module-button:hover,.search-result-form .search-result-button:hover{opacity:.85}#top-box{margin:0 auto;padding:0 10px}@media(min-width:768px){#top-box{padding:0 20px}}@media(min-width:1200px){#top-box{max-width:1200px}}.entry{background:#fff;border:1px solid #f0f1f1;margin-bottom:2em;padding:8% 5%}@media(min-width:768px){.entry{padding:8% 9% 5%}}.entry-header{position:relative;margin-bottom:1.5em}@media(min-width:481px){.entry-header{margin-bottom:3em}}.entry-header-menu{position:absolute;top:0;right:0;margin-bottom:1em}.entry-header-menu a{background:#f9fafb;border:1px solid #cfd8d8;padding:5px 10px;font-size:.9rem}.entry-header-menu a:hover{background:#f3f5f7;text-decoration:none}.entry-title{margin-bottom:.5em;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;font-size:130%;font-weight:400;line-height:1.5}@media(min-width:768px){.entry-title{font-size:190%}}.entry-content{line-height:1.85}.entry-content a{color:#119e4d}.entry-content a:hover{color:#0c7037}.entry-content a.keyword{-webkit-text-decoration:underline dotted #cfd8d8;text-decoration:underline dotted #cfd8d8}.entry-content a.keyword:hover{color:#586767;-webkit-text-decoration:underline dotted #ffffff;text-decoration:underline dotted #ffffff}.entry-content img,.entry-content video{max-width:100%;height:auto}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{margin:1.5em 0 .8em;line-height:1.3}.entry-content h1{padding-bottom:15px;font-size:190%;border-bottom:1px solid #cfd8d8}.entry-content h2{font-size:165%}.entry-content h3{padding-bottom:10px;font-size:140%;border-bottom:1px solid #cfd8d8}.entry-content h4{font-size:130%}.entry-content h5{padding-bottom:10px;font-size:120%;border-bottom:1px solid #cfd8d8}.entry-content h6{font-size:100%}.entry-content ul,.entry-content ol,.entry-content dd{margin:0 0 1em 1.5em;padding:0;line-height:1.7}.entry-content ul li ul,.entry-content ol li ul,.entry-content dd li ul,.entry-content ul li ol,.entry-content ol li ol,.entry-content dd li ol{margin-bottom:0}.entry-content dl{margin-top:2em}.entry-content dl dt{margin-bottom:.8em}.entry-content p{margin:0 0 .7em}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.entry-content .footnote-number{scroll-margin-top:56px}.entry-content blockquote{position:relative;padding:9px 15px 9px 40px;border:1px solid #f0f1f1}@media(min-width:1020px){.entry-content blockquote{padding:20px 20px 20px 60px}}.entry-content blockquote:before{display:inline-block;position:absolute;top:10px;left:10px;vertical-align:middle;content:"“";font-size:40px;font-family:Times New Roman,游明朝体,YuMincho,游明朝,Yu Mincho,serif;color:#6f8383;line-height:1}@media(min-width:1020px){.entry-content blockquote:before{left:15px;font-size:70px}}.entry-content blockquote p{margin-bottom:0}.entry-content blockquote cite{display:block;margin-top:.5rem;text-align:right;font-size:85%;line-height:1.3}.entry-content table{border-collapse:collapse;border-spacing:0;border-bottom:1em;margin-bottom:1em;width:100%;overflow:auto;display:block}.entry-content table th,.entry-content table td{border:1px solid #f0f1f1;padding:5px 10px}.entry-content table th{background:#f9fafb}.entry-content pre,.entry-content code{font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content pre{background:#293030;border:none;white-space:pre-wrap;text-overflow:ellipsis ellipsis;font-size:100%;font-size:.9rem;padding:10px;color:#ccc}@media(min-width:768px){.entry-content pre{font-size:.85rem;padding:15px}}.entry-content pre>code{margin:0;padding:0;white-space:pre;border:none;background-color:transparent;font-family:Monaco,Consolas,Courier New,Courier,monospace,sans-serif}.entry-content code{font-size:90%;margin:0 .1em;padding:0 5px;border-radius:3px}.entry-content .table-of-contents{background:#f9fafb;margin-left:0;padding:15px 10px 15px 35px;font-size:16px}@media(min-width:768px){.entry-content .table-of-contents{padding:20px 20px 20px 50px}}.entry-footer{margin-top:1em}.entry-footer-modules .hatena-module{padding:0}.entry-footer-section{margin-bottom:8px;color:#6f8383;font-size:.9rem}.entry-footer-section a{color:#6f8383}.entry-footer-ad{margin-left:-9%;margin-right:-9%}.comment-box{margin:0 -5%;padding:5% 5% 0;border-top:1px solid #f0f1f1}@media(min-width:768px){.comment-box{margin:0 -11%;padding:20px 11% 0}}.comment-box .leave-comment-title{background:#f9fafb;border:1px solid #cfd8d8;padding:.5rem 1rem;font-size:.9rem}.comment-box .leave-comment-title:hover{background:#f3f5f7}.comment-box .comment{list-style:none;padding-left:0}.comment-box .comment a{color:#119e4d}.comment-box .comment a:hover{color:#0c7037}.comment-box .comment .comment-user-id{font-size:14px;font-weight:700}.comment-box .comment .entry-comment{padding:20px 0 0;border-top:1px solid #f0f1ff;color:#6f8383}.comment-box .comment .entry-comment:first-child{padding-top:0;border-top:none}.comment-box .comment .entry-comment .comment-content{word-wrap:break-word}.comment-box .comment .entry-comment .comment-content p{font-size:14px}.comment-box .comment .entry-comment time{font-size:12px}.comment-box .comment .read-more-comments{font-size:14px}@media(min-width:1020px){.comment-box .comment .read-more-comments{margin-right:25px}}.comment-box .comment .read-more-comments a{position:relative;display:inline-block}.comment-box .comment .read-more-comments a:after{content:"";top:20%;left:-20px;display:inline-block;position:absolute;width:8px;height:8px;border-top:1px solid #119e4d;border-right:1px solid #119e4d;transform:rotate(135deg);margin-top:1px}#box2{flex:0 0 100%;max-width:100%;background:#fff3;padding:1em 0}@media(min-width:768px){#box2{flex:0 0 25%;max-width:25%}}#box2 .hatena-urllist>li:last-child{border-bottom:1px dotted #cfd8d8}.hatena-module-profile .profile-icon-link{display:inline;float:left;margin-right:.7em}.hatena-module-profile .profile-icon-link .profile-icon{border-radius:400px}@media(min-width:1020px){.hatena-module-profile .profile-icon-link{display:block;float:none;margin-right:0}}.hatena-module-profile .id{display:block}.hatena-module-profile .id a{color:#119e4d;font-weight:700}.hatena-module-profile .id a:hover{color:#0c7037}.hatena-module-profile .profile-description p{font-size:80%}.archive-module-calendar .calendar-day a{color:#119e4d;font-weight:700}.archive-module-calendar .calendar-day a:hover{color:#0c7037}.hatena-module-recent-comments .user-id span{font-size:12px;opacity:.7}#footer{background:#fff;margin-top:2em;padding-top:2rem;padding-bottom:2rem;text-align:center;font-size:.9rem;color:#6f8383}#footer a{color:#6f8383}#footer p{margin:.5em auto}.archive-header-category{margin-bottom:.3em}.page-archive .archive-heading{margin:.5em .7em 1.3em;line-height:1.5}@media(min-width:1020px){.page-archive .archive-heading{margin:.5em 0 1.3em}}.page-archive .archive-entry{background:#fff;border:1px solid #f0f1f1;margin-bottom:30px;padding:9% 6% 6%}@media(min-width:768px){.page-archive .archive-entry{padding:6%}}@media(min-width:768px){.page-archive .archive-entry .entry-title{font-size:150%}}

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */

    /********************************************** css **************************************************  */
    /* -----次の記事と前の記事ボタンを削除------ */
    /* カテゴリーの時にも次へが消えるのでとりあえず戻す
    .pager-prev {
        display: none;
    }

    .pager-next {
        display: none;
    }
*/
    :target {
        scroll-margin-top: 20vh;
    }

    /* ----多分よく使うであろうクラス----- */
    .hidden {
        display: none;
    }

    body.dark strong {
        color: #ff7588;
    }

    summary::marker {
        /* 特に色を考えずに入れる ▽ 部分 */
        color: #ff6600;
    }

    /* ------ 計算式に当てるよう------ */
    .formula {
        width: 100%;
        overflow-x: auto;
        /* 横スクロールを許可 */
        white-space: nowrap;
        /* 自動改行を防ぐ */
        -webkit-overflow-scrolling: touch;
        /* iOSでのスクロールを滑らかに */
        padding: 10px 10px;
        font-size: 0.8em;
        font-weight: bold;
    }

    /* スケジュールの優先式のclassformulaの中で使ってる"結婚時"の文字
    ダークモードでも同じ色にしてる
    */
    .marrige-color-type {
        color: indianred;
        font-weight: bold;
    }

    /* ----------SVEscheduleタブ関連------------- */
    .Tabs-group {
        width: 90%;
        margin: auto;
        margin-bottom: 5em;
    }

    @media screen and (max-width:480px) {
        .Tabs-group {
            width: 95%;
        }

        .scheduleTabs-content table {
            font-size: 0.8em;
        }
    }

    .schedule-border {
        border: 3px solid yellowgreen;
        border-radius: 7.5px;
        margin: 1em;
        text-align: center;
    }

    body.dark .schedule-border {
        border: 1px solid #a0d8ef;
        border-radius: 7.5px;
        margin: 1em;
    }

    @media screen and (max-width:480px) {
        .schedule-border {
            margin: initial;
            font-size: 0.8em;
            padding: 0.5em;
        }
    }

    /* タブボタンの並び */
    .scheduleTabs {
        display: flex;
        overflow-x: auto;
        /* gap: 0;  ← gap を消す */
    }

    /* タブボタン */
    .scheduleTabs-button {
        padding: 6px 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        background: #f4f4f4;
        cursor: pointer;
        border-radius: 6px 6px 0 0;
        transition: background 0.2s;
        margin: 0;
        /* 念のため margin もゼロに */
        touch-action: manipulation;
        /* スマホでのダブルクリックズーム判定を除去 */
    }

    :root {
        --avtive-scheduleTabs-button-bg: #202545;
        --avtive-scheduleTabs-button-color: #7588ff;
    }

    .scheduleTabs-marrige-color {

        --avtive-scheduleTabs-button-bg: #452029;
        --avtive-scheduleTabs-button-color: #ff7598;
    }

    body.dark .scheduleTabs-button {
        background: var(--avtive-scheduleTabs-button-bg);
        color: var(--avtive-scheduleTabs-button-color);
    }

    body.dark .scheduleTabs-button.active {
        background: var(--avtive-scheduleTabs-button-color);
        color: var(--avtive-scheduleTabs-button-bg);
    }

    /* 隣り合うボタンの境界線が太く見えないように調整 */
    .scheduleTabs-button+.scheduleTabs-button {
        border-left: none;
    }

    .scheduleTabs-button:hover {
        background: #e8e8e8;
    }

    .scheduleTabs-button.active {
        background: blanchedalmond;
        border-bottom: 1px solid white;
        font-weight: bold;
    }

    /* コンテンツ領域 */
    .scheduleTabs-content {
        display: none;
        padding: 16px;
        border: 1px solid #ccc;
        border-radius: 0 6px 6px 6px;
        background: white;
    }

    body.dark .scheduleTabs-content {
        background: #182933;
    }

    .scheduleTabs-content.active {
        display: block;
    }

    @media screen and (max-width:480px) {
        .scheduletable {
            font-size: 0.7em;
        }
    }


    @media screen and (max-width:480px) {

        /* -------------SVE好みのtableタグclass---------- */
        .sortableTable {
            font-size: 0.7em;
        }
    }


    /* ----- 映画の好みで使った---------- */
    .ml-fontsize {
        font-size: 13px;
    }

    .ml-flexdir {
        display: flex;
        flex-direction: row;
        gap: 25px;
    }

    .ml-maxwidt {
        max-width: 55%;
    }

    @media screen and (max-width:480px) {
        .ml-fontsize {
            font-size: 10px;
        }

        .ml-flexdir {
            display: initial;
        }

        .ml-maxwidt {
            max-width: initial;
        }
    }

    .ml-like {
        background-color: #ffcc66;
    }

    .ml-love {
        background-color: #ff9999;
    }

    body.dark .ml-love {
        background-color: #2e2045;
    }

    body.dark .ml-like {
        background-color: #452037;
    }

    .ml-border {
        border: 1px dotted black;
        border-radius: 7.5;
    }

    /* ----- サイドバーで使った---------- */

    .notList {
        list-style: none;
    }

    .icon {
        cursor: pointer;
    }

    .sidebar {
        border-top: 1px dotted #cfd8d8;
    }

    /* ダークテーマブログのスタイル側のもの */
    /* なるべく上から順になってるとは思うけど... */
    /* ダークテーマ */
    body.dark {
        background-color: #4D4C61;
        color: #a0d8ef;
    }

    /* archiveはアーカイブページ */
    body.dark {

        .archive-entries,
        .archive-entry,
        .page-archive,
        #blog-title-content,
        .entry-content,
        .hatenablog-entry,
        .entry {
            background-color: #203744;
            color: #a0d8ef;
            border: initial;
        }
    }


    body.dark #blog-description {
        background-color: #203744;
        border-left: 5px solid #203744;
    }


    body.dark #box2 {
        background-color: #203744;
        color: #a0d8ef !important;
    }

    body.dark #footer {
        background-color: initial;
    }

    body.dark .categories a {
        background: #4D4C61;
    }

    body.dark .comment-box .leave-comment-title {
        background: #000;
    }

    /*背景色つきの見出し */
    h2 {
        background-color: #e3f2fd;
        /* やさしい水色 */
        padding: 0.5em;
        border-left: 5px solid #2196F3;
        /* 明るめのブルー */
        color: #1565C0;
        /* 深めの青 */
    }

    h3 {
        background-color: #f0f9f4;
        padding: 0.5em;
        border-left: 5px solid #4CAF50;
        color: #2e7d32;
    }

    /* タグ系 */
    body.dark h1 {
        background-color: #203744;
    }

    body.dark h1 a {
        border-bottom: none !important;
    }

    body.dark h2 {
        background-color: #221733;
        color: #b44c97;
        border-left: 5px solid #b44c97;
        border-bottom: 1px solid #cfd8d8;
        /* h3だけ下線が自動的に引かれるから揃える */
    }

    body.dark h3 {
        background-color: #173322;
        color: #46b373;
        border-left: 5px solid #46b373;

    }

    /*     h3{
        background-color: #172033;
        color:#4c97b4;
        border-left: 5px solid #4c97b4;
        閉まってるけど、いい感じに緩みもあるデザインなのでどこかで使いたい 
    } */

    body.dark h4 {
        color: #a0d8ef;
    }

    body.dark h5 {
        color: #a0d8ef;
    }


    body.dark details>summary {
        background-color: #203744;
    }

    .detaiclass {
        border: 3px solid whitesmoke;
        border-radius: 10px;
        background-color: #ffffff;
    }

    body.dark .detaiclass {
        border: 3px solid gray;
        border-radius: 10px;
        background-color: initial;
    }

    body.dark table {
        background-color: #203744;
    }

    body.dark tr>th {
        background-color: #3c6780;
    }

    body.dark th {
        border-color: #b44c97;
        border-style: solid;
        border-width: 1px;
    }

    body.dark td {
        border-color: #b44c97;
        border-style: solid;
        border-width: 1px;
    }

    body.dark input {
        color: #a0d8ef;
    }

    body.dark .pager a {
        background: #203744;
    }

    body.dark .search-module-input {
        background: #203744;
    }

    /* 通常のハイパーリンクのスタイル */
    a[href^="http"]:link {
        color: blue;
        /* 通常時 */
    }

    a[href^="http"]:visited {
        color: purple;
        /* 訪問済み */
    }

    /* ページ内リンクのスタイル */
    a[href^="#"]:link {
        color: green;
        /* 通常時 */
    }

    a[href^="#"]:visited {
        color: darkgreen;
        /* 訪問済み */
    }




    body.dark a[href^="http"]:link {
        color: #ff6bd5;
    }

    body.dark a[href^="http"]:visited {
        color: #ff6bd5;
        /* ダーク時の訪問済みカラー */
    }


    body.dark a[href^="#"]:link {
        color: #ccb429;
    }

    body.dark a[href^="#"]:visited {
        color: #ccb429;
        /* ダーク時の訪問済みカラー 緑青色#47885e 蒲葡#7a4171 */
    }

    .love-sve {
        background-color: #ff9999;
        border-radius: 8px;
    }

    body.dark .love-sve {
        background-color: #b30000;
        color: black;
    }

    .like-sve {
        background-color: #ffcc66;
        border-radius: 8px;
    }

    body.dark .like-sve {
        background-color: #e6b85c;
        color: black;
    }

    .heartev-sve {
        background-color: #ff7f7f;
        border-radius: 7.5px;
    }

    body.dark .heartev-sve {
        background-color: #ff7f7f;
        border-radius: 7.5px;
        color: #000;
    }

    /* コメントボタン用*/

    /*codeブロックの背景変え
div>pre>codeでdivとclassボタンにクラスを使うこと
<div class="code-container">
  <button class="copy-btn">コピー</button>
*/

    .code-container {
        padding: 10px;
        border-radius: 5px;
    }

    .code-container pre {
        padding: 10px;
        border-radius: 5px;
    }

    .code-container.highlighted pre {
        background-color: #e66;
        /* コピー時に背景色変更 */
    }

    /*---menuボタン--- */
    @media screen and (max-width:480px) {
        .tweet-btn {
            position: fixed;
            bottom: 24px;
            /* 画面下からの距離 */
            right: 24px;
            /* 画面右からの距離 */
            z-index: 9999;
            /* 最前面に表示 */
            background-color: rgba(0, 0, 0, 0.3);
            color: white;
            border: none;
            border-radius: 9999px;
            /* 丸いボタン */
            padding: 14px 24px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .tweet-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
        }
    }

    /* コピーボタンのスタイル */
    /*
<p id="Copy1">コピーしたいテキスト</p> 
別にPじゃなくて、li,ulでも使える。
<button class="copy-btn" onclick="copyText('copy1')">コピー</button>
 */

    .copy-btn {
        background-color: #3eb489;
        /* ミントグリーン */
        color: #ffffff;
        /* テキストカラーを白に設定 */
        padding: 8px 15px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
    }

    .copy-btn:hover {
        background-color: #3367D6;
        /* ホバー時に少し濃い青に変更 */
    }

    body.dark .copy-btn {
        background-color: #ff75ca;
        color: #000;
    }

    body.dark .copy-btn:hover {
        background-color: #75ffaa;
        /* ホバー時に少し濃い青に変更 */
    }

    .copy-btn-block {
        background-color: gray;
        color: #000000;
        /* テキストカラーを白に設定 */
        padding: 8px 15px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
    }

    .copy-btn-block:hover {
        background-color: #ffffff;
        /* ホバー時に少し濃い青に変更 */
    }

    /*コピー時に背景色を変更する*/
    .copy-highlight {
        background-color: yellow;
        border: 2.5px solid red;
        transition: background-color 1.5s ease;
    }

    body.dark .copy-highlight {
        background-color: #c375ff;
        border: 2.5px solid #75ffaa;
    }

    .copy-highlight-code {
        background-color: lightgray;
        transition: background-color 1.5s ease;
    }

    .leave-comment-title {
        display: inline-block;
        padding: 10px 20px;
        background-color: #CEE6C1;
        color: white;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

    .leave-comment-title:hover {
        background-color: #45a049;
    }

    /* endコメントボタン用 サカつくリネームページで使ってる*/
    .chatpop {
        margin-bottom: 35px;
        background-color: #ebf6f7;
        padding: 15px;
        border-radius: 15px;
        z-index: 10;
        display: inline-block;
        position: relative;
        display: flex;
        align-items: flex-start;
    }

    .chatpop::after {
        content: "";
        position: absolute;
        z-index: 20;
        top: -20px;
        /* 下ではなく上に配置 */
        right: 25px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0px 30px 30px;
        /* 下ではなく上に三角形を作る */
        border-color: transparent transparent #ebf6f7 transparent;
        transform: rotate(25deg);
        /* ここで傾ける */
    }

    body.dark .chatpop {
        background-color: #005e66;
    }

    body.dark .chatpop::after {
        border-color: transparent transparent #005e66 transparent;
    }

    a.keyword {
        pointer-events: none;
        text-decoration: none !important;
        border: none !important;
        color: inherit !important;
    }

    /*ラベンダー背景*/
    .note {
        background: #E6E6FA;
    }

    body.dark .note {
        background: #00004d;
    }

    .ivory {
        background: #fffff0;
    }

    body.dark .ivory {
        background: #808000;
    }

    .aliceblue {
        background: #f0f8ff;
    }

    #f0f8ff

    /*余談用*/
    .digression {
        background: #F0F0F0;
        color: #111111;
    }

    /*----newマーク------*/
    .new-mark {
        display: inline-block;
        background: #000;
        color: white;
        font-size: 12px;
        font-weight: bold;
        padding: 2px 6px;
        border-radius: 8px;
        animation: blink 1.2s infinite alternate;
        margin-left: 6px;
    }

    @keyframes blink {
        from {
            background: #bf7fff;
        }

        to {
            background: #ff7f7f;
        }
    }

    /*-------------------------------------------------------ここまでnewマーク------*/
    /*----------------------------------------------------------ここまでモータル----*/
    /* --- モーダル背景 --- */
    .modal-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10000;
    }

    /* --- モーダル本体 --- */
    .modal {
        background: whitesmoke;
        border-radius: 16px;
        width: 80%;
        max-width: 340px;
        max-height: 65vh;
        display: flex;
        flex-direction: column;
        /* ← ヘッダーと本文を縦に分ける */
        overflow: hidden;
        /* ← 中身のはみ出しを防ぐ */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        animation: fadeInUp 0.25s ease-out;
    }

    body.dark .modal {
        background: #203744;

    }

    body.dark .modal-header {
        background-color: #4d4c61;
        color: #78cdff;
    }

    body.dark .modal a {
        color: #78cdff;
        border: #c68eff solid 2px;
    }

    body.dark .modal summary {
        color: #78cdff;
    }

    body.dark .modal details {
        border: #c68eff solid 2px;
    }

    body.dark .modal a:hover {
        background-color: #2e2045;
    }

    body.dark .modal summary:hover {
        background-color: #2e2045;
    }
    
        body.dark input {
        background-color: #374045;
    }

    /* --- ヘッダー（固定部分） --- */
    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #1d9bf0;
        color: white;
        padding: 12px 16px;
        font-weight: bold;
        position: sticky;
        top: 0;
    }

    .close-btn {
        background: none;
        border: none;
        color: #cac7ff;
        font-size: 20px;
        cursor: pointer;
        display: block;
        /* margin-top: 16px; */
        text-align: center;
        color: #cac7ff;
        text-decoration: none;
        border: #cac7ff 2px solid;
        border-radius: 9.42px;
    }



    /* --- 本文（スクロール部分） --- */
    .modal-body {
        padding: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* --- モーダルの中身 --- */
    .modal a {
        display: block;
        text-decoration: none;
        color: #1d9bf0;
        padding: 10px;
        border-bottom: 1px solid #eee;
        border: #38b48b solid 2px;
        border-radius: 7.5px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        /* 追加 */
        font-size: 16px;
    }

    .modal a:last-child {
        border-bottom: none;
    }

    .modal a:hover {
        background-color: #e6e6fa;
    }

    .modal summary {
        /* display: block; */
        text-decoration: none;
        color: #1d9bf0;
        padding: 10px;
        border-bottom: 1px solid #eee;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        font-size: 16px;
    }

    .modal summary:last-child {
        border-bottom: none;
    }

    .modal summary:hover {
        background-color: #e6e6fa;
    }

    .modal details {
        border: #38b48b solid 2px;
        border-radius: 7.5px;
        font-size: 16px;
    }

    /* 画像を入れる場合も自然に収まるように */
    .modal img {
        max-width: 100%;
        border-radius: 12px;
        margin-bottom: 10px;
    }


    /* --- フェードアニメーション --- */
    @keyframes fadeInUp {
        from {
            transform: translateY(20px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* --- 固定ボタン --- */
    .fab {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #1d9bf0;
        opacity: 0.7;
        color: white;
        font-size: 18px;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }

    body.dark .fab {
        background-color: #452029;
        color: #ff7598;
    }

    /*--------------------------------------------------------------ここまでモータル----*/




    /*追記格納用はてなの仕様上無理やりdivで全体をくくってからする*/
    .readmore-toggle {
        display: none;
    }

    .readmore-label {
        cursor: pointer;
        color: #007acc;
        display: inline-block;
        margin-top: 10px;
    }

    .readmore-label::before {
        content: "▶";
        display: inline-block;
        margin-right: 5px;
        transition: transform 0.2s ease;
    }

    .readmore-toggle:checked+.readmore-label::before {
        content: "▼";
    }

    .readmore-content {
        display: none;
    }

    .readmore-toggle:checked+.readmore-label+.readmore-content {
        display: block;
    }



    /*---真ん中で開くようになる---*/
    details {
        scroll-margin-top: 50vh;
        /* 中央に来るように調整 */
    }


    /*番号付きの設定 1.1 1.2など*/
    ol {
        counter-reset: parent-counter;
        list-style-type: none;
        /* デフォルトの番号を非表示に */
    }

    ol>li {
        counter-increment: parent-counter;
    }

    ol>li:before {
        content: counter(parent-counter) ". ";
        font-weight: bold;
        /* 番号を太字に */
    }

    ol>li>ol {
        counter-reset: child-counter;
    }

    ol>li>ol>li {
        counter-increment: child-counter;
    }

    ol>li>ol>li:before {
        content: counter(parent-counter) "." counter(child-counter) " ";
    }

    /*------------------------------------------------------------------はてなブログテーマ書き込み-----*/
    /* カテゴリーmodule */
    /*関連記事とbox2各タイトル */
    .hatena-module-title {
        font-family: メイリオ;
    }