/* <system section="theme" selected="smooth"> */
@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=6810a7f5d0766c84edfe3b435c3a2e) 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-entries-sort{margin-left:1.2em}@media(min-width:768px){.page-archive .archive-entries-sort{margin-left:0}}.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%}}

/* </system> */

/* <system section="background" selected="custom"> */
body{ background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/m/moonpurr/20250907/20250907223316.png'); background-repeat: repeat; background-color:transparent; background-attachment: fixed; background-position: left top;}
/* </system> */
/* ===== 背景設定 ===== */
body {
  background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/m/moonpurr/20250907/20250907220859.png');
  background-size: cover;          /* 全画面に広げる */
  background-position: center;     /* 中央に配置 */
  background-repeat: no-repeat;    /* 繰り返さない */
  background-attachment: fixed;    /* スクロール時に固定 */
  background-color: #111;          /* 下地に黒 */
  color: #f5f5f5;                  /* 記事外の文字色を白 */
}

/* テーマ側の背景を透過させる（被り防止） */
#container, #content, .main, .main-inner, #wrapper, #main {
  background: transparent !important;
}

/* ===== 記事カード ===== */
.entry, .page-entry {
  background: rgba(255,255,255,0.95); /* 白背景で少し透ける */
  color: #111;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 16px;
  line-height: 1.85;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  margin: 1.25rem 0 2rem;
}
.entry * {
  color: #111 !important; /* 記事内は黒文字 */
}
.entry-title, .entry-title a {
  color: #111 !important;
  text-decoration: none;
}

/* 記事内リンク色 */
.entry a { color: #0645ad; }

/* 画像サイズ調整 */
.entry img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* 段落調整 */
/* ← ここにあった単独の「.」は削除（文法エラー防止） */

/* ===== サイドバー全体を読みやすく（半透明パネル＋ぼかし） ===== */
/* テーマごとの呼び名をカバー：#sidebar / .sidebar / #box2 / #sub / #column2 */
#sidebar, .sidebar, #box2, #sub, #column2 {
  background: rgba(0,0,0,0.35);          /* 濃すぎたら 0.25〜0.45 で調整 */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 0.75rem;
  border-radius: 12px;
}

/* 各モジュールをスッキリ配置 */
.hatena-module {
  margin: 0.75rem 0;
}

/* モジュール見出し（カテゴリや最新記事など）をクッキリ */
.hatena-module-title {
  color: #eafbea !important;             /* 白より少し緑がかった淡色で雰囲気維持 */
  font-weight: 700;
  margin: 0.5rem 0 0.4rem;
  padding-left: 0.6rem;
  border-left: 4px solid #2ecc71;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* 本文・リストの可読性アップ */
.hatena-module ul { margin: 0.4rem 0; padding-left: 1.1rem; }
.hatena-module li { margin: 0.25rem 0; line-height: 1.6; }
.hatena-module, .hatena-module p, .hatena-module li, .hatena-module span {
  color: #f0f0f0;                         /* 地の文字は淡いグレー */
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

/* サイドバー内のリンク色（本文カードと差別化） */
#sidebar a, .sidebar a, #box2 a, #sub a, #column2 a {
  color: #cfe6ff;                         /* 淡い水色 */
  text-decoration: none;
}
#sidebar a:hover, .sidebar a:hover, #box2 a:hover, #sub a:hover, #column2 a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 小さすぎる説明テキストなどの視認性を底上げ */
.hatena-module .hatena-module-body,
.hatena-module .profile-description,
.hatena-module .archive-module {
  font-size: 0.96rem;
}

/* もしサムネ画像等がハミ出す場合 */
.hatena-module img { max-width: 100%; height: auto; display: block; }

/* ===== 記事本文の最後のリンクだけ緑にする ===== */
.entry .entry-content p:last-of-type a:last-of-type,
.entry .entry-body p:last-of-type a:last-of-type,
.entry .entry-text p:last-of-type a:last-of-type,
.entry .article-body p:last-of-type a:last-of-type {
  color: #2ecc71 !important;   /* 緑色 */
  font-weight: 700;
}

.entry .entry-content p:last-of-type a:last-of-type:hover,
.entry .entry-body p:last-of-type a:last-of-type:hover,
.entry .entry-text p:last-of-type a:last-of-type:hover,
.entry .article-body p:last-of-type a:last-of-type:hover {
  color: #27ae60 !important;   /* hover時に濃い緑 */
}

/* 記事本文内の最後のリンクだけ緑にする */
.entry a:last-of-type {
  color: #2ecc71 !important;
  font-weight: 700;
}
.entry a:last-of-type:hover {
  color: #27ae60 !important;
}

/* 記事本文の最後の段落内にあるリンクだけ緑 */
.entry .entry-content p:last-of-type a,
.entry .entry-body p:last-of-type a,
.entry .entry-text p:last-of-type a,
.entry .article-body p:last-of-type a {
  color: #2ecc71 !important;
  font-weight: 700;
}

.entry .entry-content p:last-of-type a:hover,
.entry .entry-body p:last-of-type a:hover,
.entry .entry-text p:last-of-type a:hover,
.entry .article-body p:last-of-type a:hover {
  color: #27ae60 !important;
}

/* 念のためタイトルは常に黒に固定 */
.entry-title, .entry-title a {
  color: #111 !important;
}

/***** タイトルが緑化する問題の最終修正パッチ *****/

/* 0) どこかに残っている a:last-of-type の緑指定をリセット */
.entry a:last-of-type,
.entry :is(p,div,section,article,blockquote,ul,ol,li):last-of-type a:last-of-type {
  color: inherit !important;
}

/* 1) 記事タイトルは常に黒（高い特異性＋!important） */
#container #content .entry .entry-title a,
#content .entry .entry-title a,
.entry .entry-title a,
.entry h1.entry-title a,
h1.entry-title a {
  color: #111 !important;
}
#container #content .entry .entry-title a:link,
#container #content .entry .entry-title a:visited {
  color: #111 !important;
}

/* 2) 本文の最後リンクだけ緑（“classを付ける方式”が最も確実） */
/* 記事編集で最後のリンクに class="last-link" を付けてください */
.entry a.last-link {
  color: #2ecc71 !important;
  font-weight: 700;
}

/* タイトルは必ず黒 */
.entry-title, 
.entry-title a {
  color: #111 !important;
}

/* 本文末尾の段落内にあるリンクだけ緑 */
.entry .entry-content p:last-of-type a,
.entry .entry-body p:last-of-type a {
  color: #2ecc71 !important;
  font-weight: 700;
}
.entry .entry-content p:last-of-type a:hover,
.entry .entry-body p:last-of-type a:hover {
  color: #27ae60 !important;
}

/***** 記事末リンク=緑／タイトル=黒 を強制的に両立させる最終パッチ *****/

/* 0) どこかに残っている「記事全体の最後のリンク=緑」をリセット */
.entry a:last-of-type { color: initial !important; }

/* 1) タイトルは常に黒（特異性を高く＋!important） */
#container #content .entry .entry-title,
#container #content .entry .entry-title a,
#content .entry .entry-title,
#content .entry .entry-title a,
.entry .entry-title,
.entry .entry-title a,
h1.entry-title,
h1.entry-title a {
  color: #111 !important;
}

/* 2) 記事本文内の通常リンク色を明示（過去の黒固定を上書き） */
#content .entry a { color: #0645ad !important; }

/* 3) 本文“内”の最後の要素の、最後のリンクだけ緑 */
.entry :is(.entry-content, .entry-body, .article-body, .entry-text):has(a)
  :is(p, div, section, article, blockquote, ul, ol, li):has(a):last-of-type
  a:last-of-type {
    color: #2ecc71 !important;
    font-weight: 700;
}
.entry :is(.entry-content, .entry-body, .article-body, .entry-text):has(a)
  :is(p, div, section, article, blockquote, ul, ol, li):has(a):last-of-type
  a:last-of-type:hover {
    color: #27ae60 !important;
}

/* サイドバーの「読者になる」ボタン */
.subscribe-button,
.hatena-follow-button {
  background: #2ecc71 !important;   /* 緑背景 */
  color: #fff !important;           /* 白文字 */
  border: none !important;
  padding: 0.5em 1em;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  text-decoration: none !important;

  /* 影で立体感を演出 */
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: all 0.25s ease;
}

/* ホバー時にさらに浮き上がる */
.subscribe-button:hover,
.hatena-follow-button:hover {
  background: #27ae60 !important;
  color: #fff !important;
  transform: translateY(-2px);                /* 少し上に浮く */
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);     /* 影を強める */
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* ===== ブログタイトル「夜見」の見やすさ強化 ===== */
#blog-title {
  display: inline-block;
  background: rgba(0,0,0,0.55);  /* 背景パネルを濃くする */
  padding: 0.4em 1em;
  border-radius: 8px;
}
#blog-title a {
  color: #e8ffe8 !important;   /* 白より少し緑がかった淡色 */
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.85), /* 下に濃い影 */
    0 0 8px rgba(46, 204, 113, 0.6); /* 緑の光をうっすら追加 */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

/* 夜見の文字を強調 */
#blog-title {
  display: inline-block;
  background: rgba(0,0,0,0.75);   /* 背景パネルを濃く */
  padding: 0.5em 1.2em;
  border-radius: 10px;
}
#blog-title a {
  color: #f5f5f5 !important;      /* 白寄りの明るい色 */
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  /* 縁取り効果：文字が背景に沈まないように */
  text-shadow:
    -1px -1px 2px rgba(0,0,0,0.9),
     1px -1px 2px rgba(0,0,0,0.9),
    -1px  1px 2px rgba(0,0,0,0.9),
     1px  1px 2px rgba(0,0,0,0.9);
}

/* ===== ブログタイトル「夜見」を青で強調 ===== */
#blog-title {
  display: inline-block;
  background: rgba(0,0,0,0.75);   /* 背景パネルを濃くして文字を浮かせる */
  padding: 0.5em 1.2em;
  border-radius: 10px;
}
#blog-title a {
  color: #3fa9f5 !important;      /* 明るめの青 */
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  /* 黒の縁取り＋光沢感 */
  text-shadow:
    -1px -1px 2px rgba(0,0,0,0.95),
     1px -1px 2px rgba(0,0,0,0.95),
    -1px  1px 2px rgba(0,0,0,0.95),
     1px  1px 2px rgba(0,0,0,0.95),
     0 0 8px rgba(0,0,0,0.9),
     0 0 12px rgba(0,0,0,0.9);
}

/***** 背景画像がプレビューで出ない時の“強制表示”パッチ *****/

/* 0) テーマの塗りつぶしを透過させる */
html, body, #container, #content, .main, .main-inner, #wrapper, #main {
  background: transparent !important;
}

/* 1) 最背面に背景レイヤーを固定配置（プレビューでも効く） */
body { position: relative; }

/* プレビュー環境用のクラスが付いていても効くようにセレクタを重ねる */
body::before,
body.is-preview::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;          /* 画面の一番下 */
  pointer-events: none;

  background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/m/moonpurr/20250907/20250907220859.png') !important;
  background-size: cover;       /* 全面表示 */
  background-position: center;
  background-repeat: no-repeat;
  /* background-attachment: fixed;  プレビューでカクつくなら無効 */
}

/* 2) もし暗くて本文が読みにくい場合は薄い暗幕を追加（任意） */
body::after,
body.is-preview::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(0,0,0,0.15); /* 0.10〜0.30で調整 */
}

/***** 背景をプレビューでも絶対に表示させる最終パッチ *****/

/* 0) 既存の塗りつぶしを透過化（被り防止） */
html, body, #container, #content, .main, .main-inner, #wrapper, #main {
  background: transparent !important;
}

/* 1) 背景は html::before に固定配置（最背面） */
html { position: relative; }
html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;              /* 背景用の最下層 */
  pointer-events: none;

  background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/m/moonpurr/20250907/20250907220859.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
}

/* 2) コンテンツを前面に（背景に負けない） */
#container, #content, #header, #footer, #globalheader, #blog-title, .main, .main-inner {
  position: relative;
  z-index: 1;              /* 背景より前面に */
  background: transparent !important;
}

/* 3) 読みやすさのための暗幕（必要なら濃さを0.10〜0.30で調整） */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;              /* 背景と同じ層でOK */
  pointer-events: none;
  background: rgba(0,0,0,0.15);
}

/* ===== blog title 最終版 ===== */
#blog-title {
  display: inline-block;
  background: rgba(0,0,0,0.75);
  padding: 0.5em 1.2em;
  border-radius: 10px;
}
#blog-title a {
  color: #3fa9f5 !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-shadow:
    -1px -1px 2px rgba(0,0,0,0.95),
     1px -1px 2px rgba(0,0,0,0.95),
    -1px  1px 2px rgba(0,0,0,0.95),
     1px  1px 2px rgba(0,0,0,0.95),
     0 0 12px rgba(63,169,245,0.6);
}

/* ← 一番下の pink 強制は削除（周囲設定を壊すため）
html,body{ background:pink !important; }
*/

/* ================================
   追加：本文だけ“満月の夜空”
   ================================ */
.entry .entry-content,
.entry .entry-body,
.entry .article-body {
  background: transparent !important; /* 本文に塗られた白を無効化 */
}
.entry .entry-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;       /* 角丸に沿って背景を切る：不要なら削除 */
  border-radius: 10px;    /* 角丸：不要なら削除 */
  color: #fff !important; /* 本文は白文字 */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}
.entry .entry-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("https://cdn-ak.f.st-hatena.com/images/fotolife/m/moonpurr/20250909/20250909224453.png"); /* ←満月夜空 */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;  /* モバイル安定 */
  filter: brightness(0.6);
}
/* 本文内の要素だけ白に（タイトル等は触らない） */
.entry .entry-content :where(
  p, li, blockquote, pre, code, kbd, samp, mark, strong, em, small, sup, sub,
  h2, h3, h4, h5, h6, figure, figcaption, table, th, td, dt, dd, a, span
) {
  color: #fff !important;
}
.entry .entry-content a { color: #cfe6ff !important; text-decoration: underline; }
/* 見出しは月明かり */
.entry .entry-content :where(h2,h3,h4,h5,h6) {
  color: #ffdd88 !important;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}
/* PCのみパララックス風（任意） */
@media (min-width: 1024px) {
  .entry .entry-content::before { background-attachment: fixed; }
}
/* スマホでも同じ背景を反映 */
body {
  background-image: url('https://cdn-ak.f.st-hatena.com/images/fotolife/m/moonpurr/20250907/20250907220859.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #111;
}
/* ===== タイトル下の一言（キャッチフレーズ）を必ず読めるように ===== */
#blog-description, .blog-description, .site-description, 
.header-description, .title-description, .subtitle, .description {
  display: inline-block !important;
  color: #fff !important;                   /* 文字を白に固定 */
  text-shadow: 0 2px 8px rgba(0,0,0,.7) !important;
  background: rgba(0,0,0,.45) !important;   /* 半透明の帯で可読性UP */
  padding: .25em .6em !important;
  border-radius: .5em !important;
  line-height: 1.6 !important;
}

#blog-description a, .blog-description a, .site-description a,
.header-description a, .title-description a, .subtitle a, .description a {
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
}

/* （任意）位置が詰まっていたら少し余白を追加 */
#blog-description, .blog-description, .site-description {
  margin-top: .4rem !important;
}
/* ===== プロフィール文（自己紹介）の文字を見やすく ===== */
.profile-description, .hatena-profile-description, .user-profile, 
#profile, #profile-description {
  color: #fff !important;                      /* 白文字に固定 */
  text-shadow: 0 2px 8px rgba(0,0,0,.7) !important;
  background: rgba(0,0,0,.45) !important;      /* 半透明の帯 */
  padding: .5em .8em !important;
  border-radius: .5em !important;
  line-height: 1.7 !important;
}

/* プロフィール文の中のリンクも白に */
.profile-description a, .hatena-profile-description a, 
.user-profile a, #profile-description a {
  color: #fff !important;
  text-decoration: underline;
}
