/* <system section="theme" selected="14729835035331405072"> */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=JetBrains+Mono:wght@400;600&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap");

/* Responsive: yes */

html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none; }
a { background: transparent; }
a:active, a:hover { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
dfn { font-style: italic; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
figure { margin: 1em 0; }
hr { box-sizing: content-box; height: 0; }
pre { overflow: auto; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled], html input[disabled] { cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { border: 0; padding: 0; }
textarea { overflow: auto; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }
.clearfix:after { display: block; visibility: hidden; font-size: 0; height: 0; clear: both; content: "."; }

/* =========================================================
   Tokens
   ========================================================= */
:root {
  --bg:        #e8f7ff;
  --paper:     #ffffff;
  --cream:     #fffdf2;
  --ink:       #1f3556;
  --ink-soft:  #5a6e8f;
  --link:      #1778c9;

  --sky:       #6cc9ff;
  --sky-deep:  #1e9be8;
  --sky-dark:  #0f6fb5;
  --sky-soft:  #a9defa;
  --sky-pale:  #e0f4ff;
  --grass:      #69d36e;
  --grass-deep: #2fae4b;
  --grass-dark: #1b7a34;
  --grass-pale: #e2f8e3;
  --sun:       #ffd23f;
  --sun-deep:  #f2a900;
  --sun-pale:  #fff3c4;
  --warp:      #ff9a1f;
  --warp-pale: #ffe9cc;
  --indigo:    #7b93ff;
  --indigo-pale: #e8ecff;

  --sh-s: 0 4px 14px rgba(30, 100, 180, .14);
  --sh-m: 0 12px 30px rgba(30, 100, 180, .18);
  --sh-l: 0 20px 44px rgba(30, 100, 180, .28);

  --f-body: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  --f-en:   'Fredoka', 'Zen Maru Gothic', sans-serif;
  --f-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, Menlo, monospace;
}

/* =========================================================
   Base
   ========================================================= */
html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='%23fff' fill-opacity='.7'%3E%3Ccircle cx='52' cy='64' r='10'/%3E%3Ccircle cx='66' cy='55' r='15'/%3E%3Ccircle cx='82' cy='64' r='11'/%3E%3Crect x='52' y='64' width='30' height='10' rx='5'/%3E%3Ccircle cx='176' cy='198' r='8'/%3E%3Ccircle cx='187' cy='191' r='12'/%3E%3Ccircle cx='200' cy='198' r='9'/%3E%3Crect x='176' y='198' width='24' height='8' rx='4'/%3E%3C/g%3E%3Cpath d='M200 34l3.4 7.4 8 .9-6 5.5 1.7 7.9-7.1-4.1-7.1 4.1 1.7-7.9-6-5.5 8-.9z' fill='%23ffd23f' fill-opacity='.85'/%3E%3Cpath d='M34 170l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6-4.5-4.2 6.1-.7z' fill='%23fff' fill-opacity='.8'/%3E%3Ccircle cx='120' cy='120' r='3' fill='%23ffd23f' fill-opacity='.8'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #6fcbff 0, #aee3ff 380px, #d8f2ff 780px, #e8f7ff 1100px);
  background-repeat: repeat, no-repeat;
}
html, body { color: var(--ink); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--sky-deep); color: #fff; }
:focus-visible { outline: 3px solid var(--warp); outline-offset: 3px; border-radius: 8px; }

a { color: var(--ink); transition: color .15s ease, background .15s ease; }
a:visited { color: var(--ink); }
a:hover { color: var(--link); }

h1, h2, h3, h4, h5, h6 { font-family: var(--f-body); font-weight: 900; line-height: 1.45; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited { color: inherit; text-decoration: none; }
mark { background: linear-gradient(transparent 40%, var(--sun) 40%); color: var(--ink); padding: 0 .2em; }

/* =========================================================
   Layout
   ========================================================= */
#container { width: 100%; }
#content { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
#content-inner { position: relative; }
#container #content:after { display: block; visibility: hidden; font-size: 0; height: 0; clear: both; content: "."; }
.globalheader-off #container { padding-top: 0; }
#main { width: calc(100% - 372px); float: left; min-width: 0; }
#box2 { width: 340px; float: right; }
#box1:empty { display: none; }
#top-box { display: none; }

/* =========================================================
   Header — 青空と雲の層
   ========================================================= */
#blog-title, .blog-header {
  position: relative;
  margin: 0 0 80px;
  padding: 72px 20px 96px;
  text-align: center;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6L61 38 95 38 67 58 78 92 50 71 22 92 33 58 5 38 39 38z' fill='%23ffd23f' stroke='%23f2a900' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 8% 24% / 64px 64px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6L61 38 95 38 67 58 78 92 50 71 22 92 33 58 5 38 39 38z' fill='%23ffd23f' stroke='%23f2a900' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 92% 50% / 42px 42px,
    radial-gradient(circle at 20% 66%, rgba(255,255,255,.95) 0 24px, transparent 25px),
    radial-gradient(circle at 23.5% 58%, rgba(255,255,255,.95) 0 34px, transparent 35px),
    radial-gradient(circle at 28% 66%, rgba(255,255,255,.95) 0 26px, transparent 27px),
    radial-gradient(circle at 74% 70%, rgba(255,255,255,.95) 0 28px, transparent 29px),
    radial-gradient(circle at 78.5% 61%, rgba(255,255,255,.95) 0 40px, transparent 41px),
    radial-gradient(circle at 84% 70%, rgba(255,255,255,.95) 0 28px, transparent 29px),
    linear-gradient(180deg, #4fbfff 0%, #94dcff 55%, #f4fbff 100%);
}
#blog-title::before, .blog-header::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200' viewBox='0 0 260 200'%3E%3Cpath d='M50 30l4.4 9.6 10.4 1.2-7.8 7.2 2.2 10.2L50 52.8l-9.2 5.4 2.2-10.2-7.8-7.2 10.4-1.2z' fill='%23fff' fill-opacity='.95'/%3E%3Cpath d='M190 120l3.2 7 7.6.9-5.7 5.2 1.6 7.5-6.7-3.9-6.7 3.9 1.6-7.5-5.7-5.2 7.6-.9z' fill='%23fff3b0'/%3E%3Ccircle cx='140' cy='40' r='4' fill='%23fff3b0'/%3E%3Ccircle cx='230' cy='60' r='3' fill='%23fff'/%3E%3Ccircle cx='90' cy='160' r='3.5' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 260px 200px;
  animation: twinkle 3.6s ease-in-out infinite;
}
#blog-title::after, .blog-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -23px; height: 24px; pointer-events: none;
  background: radial-gradient(circle at 24px 0, #f4fbff 0 23px, transparent 24px) 0 0 / 48px 24px repeat-x;
}
#blog-title-inner, #blog-title-content, .blog-header-inner { position: relative; z-index: 1; }
#title, .blog-title { margin: 0; line-height: 1.3; }
#title a, .blog-title a {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(28px, 5.2vw, 54px);
  letter-spacing: .06em;
  color: #fff; text-decoration: none;
  -webkit-text-stroke: 10px #1b6fc2;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #0f4a96;
  transition: transform .3s cubic-bezier(.3, 1.8, .5, 1);
}
#title a:hover, .blog-title a:hover { color: #fff; transform: translateY(-3px) rotate(-1.5deg) scale(1.04); }
#blog-description, .blog-description {
  display: inline-block;
  margin: 22px 0 0; padding: 4px 22px 5px;
  font-size: 13px; font-weight: 700; line-height: 1.6;
  color: var(--ink);
  background: var(--sun);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--sun-deep);
}
.header-image-enable #blog-title::before { display: none; }
.header-image-enable #title { padding-top: 40px; }

/* =========================================================
   Entry card
   ========================================================= */
.entry, .archive-entry {
  --cp: var(--sky-pale);
  --cs: var(--sky);
  position: relative;
  margin: 0 0 44px;
  background: var(--paper);
  border: 3px solid var(--cs);
  border-radius: 28px;
  box-shadow: 0 8px 0 var(--cp), var(--sh-m);
  animation: rise .6s cubic-bezier(.3, 1.4, .5, 1) backwards;
}
.archive-entry:nth-of-type(5n+2) { --cp: var(--grass-pale);  --cs: var(--grass); }
.archive-entry:nth-of-type(5n+3) { --cp: var(--sun-pale);    --cs: var(--sun); }
.archive-entry:nth-of-type(5n+4) { --cp: var(--warp-pale);   --cs: var(--warp); }
.archive-entry:nth-of-type(5n+5) { --cp: var(--indigo-pale); --cs: var(--indigo); }
/* 上部のキャンディ・ストライプ */
.entry::before, .archive-entry::before {
  content: "";
  position: absolute; top: -3px; left: -3px; right: -3px; height: 30px; pointer-events: none;
  border-radius: 28px 28px 0 0;
  background: repeating-linear-gradient(135deg, var(--cs) 0 12px, var(--cp) 12px 24px) 0 0 / 100% 18px no-repeat;
}
.entry-inner { padding: 0; }

.archive-entry { padding: 38px 38px 30px; transition: transform .2s ease, box-shadow .2s ease; }
.archive-entry:hover { transform: translateY(-5px); box-shadow: 0 13px 0 var(--cp), var(--sh-l); }
.archive-entry-header { margin: 0; }
.page-archive .archive-entry .entry-thumb-link { float: right; display: block; margin: 6px 0 14px 24px; }
.page-archive .archive-entry .entry-thumb {
  float: none; margin: 0; width: 150px; height: 150px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 5px solid #fff; border-radius: 24px;
  box-shadow: 0 0 0 3px var(--cs), var(--sh-s);
  transition: transform .25s cubic-bezier(.3, 1.8, .5, 1);
}
.page-archive .archive-entry .entry-thumb-link:hover .entry-thumb { transform: rotate(4deg) scale(1.06); }

.entry-header { position: relative; box-sizing: border-box; padding: 40px 40px 6px; margin: 0 0 10px; }

/* 日付 */
.date { position: relative; display: block; font-family: var(--f-en); font-weight: 600; }
.date a {
  display: inline-block; padding: 1px 16px 2px 12px;
  font-size: 14px; line-height: 1.8; letter-spacing: .08em;
  color: var(--ink); text-decoration: none;
  background: var(--sun); border-radius: 999px; box-shadow: 0 3px 0 var(--sun-deep);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1);
}
.date a::before { content: "★"; margin-right: 6px; color: var(--warp); }
.date time { display: inline; font-size: inherit; color: inherit; }
.date time:before, .date time:after { content: none; }
.date a:hover { color: var(--ink); transform: translateY(-2px) rotate(-2deg); }

/* タイトル */
.entry-title {
  margin: 14px 0 12px;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.5; letter-spacing: .02em;
  word-wrap: break-word; overflow-wrap: anywhere;
  color: var(--ink); text-wrap: balance; }
.entry-title a {
  background: linear-gradient(transparent 68%, var(--sun-pale) 68% 94%, transparent 94%);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background .2s ease;
}
.entry-title a:hover { background: linear-gradient(transparent 68%, var(--sky-soft) 68% 94%, transparent 94%); color: var(--ink); }
.archive-entry .entry-title { font-size: clamp(18px, 2.3vw, 25px); }

/* カテゴリ・タグ */
.categories { font-size: 12px; margin: 6px 0 0; line-height: 2; }
.categories a {
  display: inline-block; margin: 2px 5px 2px 0; padding: 0 14px 1px; line-height: 1.8;
  color: #0f5a95; font-weight: 700; text-decoration: none !important;
  background: var(--sky-pale); border-radius: 999px;
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1);
}
.categories a:nth-child(4n+2) { color: var(--grass-dark); background: var(--grass-pale); }
.categories a:nth-child(4n+3) { color: #8a6000; background: var(--sun-pale); }
.categories a:nth-child(4n+4) { color: #a85200; background: var(--warp-pale); }
.categories a:before { content: "#"; padding: 0 2px 0 0; opacity: .6; }
.categories a:hover { transform: translateY(-2px) rotate(-3deg); }

.entry-description { margin: 12px 0 0; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.archive-entry-body { margin-top: 4px; }
.entry-tags-wrapper, .archive-entry-tags-wrapper { margin: .8em 0; }
.entry-tags a, .archive-entry-tag .archive-entry-tag-link {
  display: inline-flex; align-items: center; margin: 0 6px 6px 0; padding: 0 12px; line-height: 1.8;
  font-size: 12px; font-weight: 700; color: #3b4fc2; text-decoration: none;
  background: var(--indigo-pale); border-radius: 999px;
}
.entry-tags a:hover, .archive-entry-tag .archive-entry-tag-link:hover { background: var(--indigo); color: #fff; }

.entry-header-menu { position: absolute; bottom: 0; left: -64px; }
.entry-header-menu a {
  display: inline-block; padding: 3px 14px; line-height: 18px; font-size: 12px; font-weight: 700;
  color: var(--ink); background: var(--sun); border-radius: 999px; box-shadow: 0 3px 0 var(--sun-deep);
  text-decoration: none !important;
}
.entry-header-menu a:hover { background: #ffe273; }

.btn {
  display: inline-block; padding: 6px 20px; line-height: 18px; font-size: 13px; font-weight: 700;
  color: var(--ink); background: var(--sun);
  border-radius: 999px; box-shadow: 0 4px 0 var(--sun-deep); text-decoration: none !important; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 0 var(--sun-deep); }
.btn-small { padding: 2px 14px !important; font-size: 11px !important; }
.btn-large { padding: 13px 30px; font-size: 17px; line-height: normal; }

/* =========================================================
   Entry content
   ========================================================= */
.entry-content {
  padding: 10px 40px 30px; margin: 0;
  font-size: 16px; line-height: 2.05;
  border-bottom: 4px dotted var(--sky-soft);
  overflow-wrap: anywhere; line-break: strict;
}
.entry-content p { margin: 0 0 1.3em; }
.entry-content strong, .entry-content b { font-weight: 900; background: linear-gradient(transparent 62%, rgba(255, 210, 63, .7) 62%); }

.entry-content a {
  color: var(--link);
  text-decoration: underline; text-decoration-color: var(--sky-soft);
  text-decoration-thickness: .16em; text-underline-offset: .22em;
  border-radius: 6px;
}
.entry-content a:visited { color: var(--link); }
.entry-content a:hover { background: var(--sky-pale); color: var(--link); text-decoration-color: var(--sky-deep); }
.entry-content a:has(> img), .entry-content a:has(> div), .entry-content .itunes-embed a, .entry-content cite a, .entry-content a.keyword { text-decoration: none; }
.entry-content a:has(> img):hover, .entry-content a:has(> div):hover, .entry-content .itunes-embed a:hover { background: transparent; }
a.keyword { text-decoration: none; border-bottom: 2px dotted var(--sky-deep); color: inherit; }
a.keyword:hover { background: transparent; color: var(--link); }

.entry-content img { max-width: 100%; height: auto; }
.entry-content img:not(.emoji):not([class*="icon"]):not([class*="star"]):not([width="16"]):not([height="16"]) {
  border: 5px solid #fff; border-radius: 20px;
  box-shadow: 0 0 0 3px var(--sky-soft), var(--sh-s);
}
.entry-content .images-row { gap: 10px; margin: 16px 0; }
.entry-content iframe { max-width: 100%; border-radius: 20px; }

/* ブログカード(カード型リンク埋め込み) */
.entry-content iframe.embed-card, .entry-content .embed-card {
  --ec: var(--sky); --ep: var(--sky-pale);
  display: block; box-sizing: border-box; max-width: 100%; margin: 18px 3px 24px !important; overflow: hidden;
  background: #fff; border: 0; border-radius: 22px;
  outline: 3px solid var(--ec); outline-offset: 0; box-shadow: 0 6px 0 var(--ep);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.entry-content iframe.embed-card:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--ep), var(--sh-m); }
.entry-content iframe.embed-card:nth-of-type(5n+2) { --ec: var(--grass); --ep: var(--grass-pale); }
.entry-content iframe.embed-card:nth-of-type(5n+3) { --ec: var(--sun);   --ep: var(--sun-pale); }
.entry-content iframe.embed-card:nth-of-type(5n+4) { --ec: var(--warp);  --ep: var(--warp-pale); }
.entry-content iframe.embed-card:nth-of-type(5n+5) { --ec: var(--indigo); --ep: var(--indigo-pale); }
.entry-content .hatena-asin-detail, .entry-content cite.hatena-citation {
  display: block; box-sizing: border-box; margin: 18px 3px 24px; padding: 16px 18px; font-style: normal;
  background: #fff; border: 3px solid var(--grass); border-radius: 22px; box-shadow: 0 7px 0 var(--grass-pale), var(--sh-s);
}
.entry-content .hatena-asin-detail:after { content: ""; display: block; clear: both; }
.entry-content cite.hatena-citation { display: block; margin: -.4em 0 1.2em; font-size: 13px; font-style: normal; color: var(--ink-soft); }

/* リスト */
.entry-content ul, .entry-content ol { padding-left: 1.7em; margin: 0 0 1.3em; }
.entry-content li { margin: .3em 0; }
.entry-content ul > li::marker { content: "★ "; color: var(--warp); }
.entry-content ul ul > li::marker { content: "● "; color: var(--sky-deep); font-size: .8em; }
.entry-content ul ul ul > li::marker { content: "○ "; color: var(--grass-deep); }
.entry-content ol { list-style: none; counter-reset: ol; padding-left: 0; }
.entry-content ol > li { counter-increment: ol; position: relative; margin: .75em 0; padding-left: 2.8em; }
.entry-content ol > li::before {
  content: counter(ol);
  position: absolute; left: 0; top: .22em;
  display: grid; place-items: center; box-sizing: border-box; width: 1.9em; height: 1.9em;
  font-family: var(--f-en); font-size: .86em; font-weight: 700; line-height: 1; color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--sky-deep)); border-radius: 50%;
  box-shadow: 0 3px 0 var(--sky-dark);
}
.entry-content ol > li:nth-child(3n+2)::before { background: linear-gradient(135deg, #4ccb62, var(--grass-deep)); box-shadow: 0 3px 0 var(--grass-dark); }
.entry-content ol > li:nth-child(3n)::before { color: var(--ink); background: linear-gradient(135deg, #ffe066, var(--sun)); box-shadow: 0 3px 0 var(--sun-deep); }

.entry-content hr {
  height: 16px; margin: 2.6em 0; border: 0;
  background:
    radial-gradient(circle at 14px 8px, var(--sky-deep) 0 5px, transparent 5.5px),
    radial-gradient(circle at 42px 8px, var(--grass-deep) 0 5px, transparent 5.5px),
    radial-gradient(circle at 70px 8px, var(--sun-deep) 0 5px, transparent 5.5px);
  background-size: 84px 16px; background-repeat: repeat-x; background-position: center;
}

/* 見出し(本文内だけ) */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 { margin: 2.2em 0 1em; line-height: 1.5; scroll-margin-top: 20px; }
.entry-content h1 { font-size: 160%; }
.entry-content h2 { font-size: 150%; }
.entry-content h3 { font-size: 140%; }
.entry-content h4 { font-size: 125%; }
.entry-content h5 { font-size: 110%; }
.entry-content h6 { font-size: 100%; }

.entry-content h2 {
  position: relative;
  padding: .65em 5.2em .65em 3.5em;
  color: #fff;
  background: linear-gradient(135deg, #4cc0ff, #1e8de0);
  border-radius: 30px;
  box-shadow: 0 6px 0 var(--sky-dark), var(--sh-s);
  text-shadow: 0 2px 0 rgba(10, 60, 120, .35);
}
.entry-content h2::before {
  content: "★";
  position: absolute; left: .6em; top: 50%; transform: translateY(-50%) rotate(-10deg);
  display: grid; place-items: center; width: 1.8em; height: 1.8em;
  font-size: .9em; line-height: 1; color: var(--sun-deep); text-shadow: none;
  background: #fff; border-radius: 50%; box-shadow: 0 3px 0 rgba(10, 60, 120, .3);
}
.entry-content h2::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 72px; height: 36px; margin-top: -18px; pointer-events: none;
  background:
    radial-gradient(circle at 16px 24px, rgba(255,255,255,.45) 0 11px, transparent 12px),
    radial-gradient(circle at 34px 15px, rgba(255,255,255,.45) 0 16px, transparent 17px),
    radial-gradient(circle at 54px 24px, rgba(255,255,255,.45) 0 12px, transparent 13px);
}

.entry-content h3 {
  position: relative;
  padding: .6em 1em .6em 3em;
  color: var(--grass-dark);
  background: var(--grass-pale);
  border-radius: 24px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--grass);
  margin-left: 7px; margin-right: 7px;
}
.entry-content h3::before {
  content: ""; position: absolute; left: .8em; top: 50%; transform: translateY(-50%);
  width: 1.3em; height: 1.3em; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 26%, var(--grass) 28%);
  box-shadow: 0 2px 0 var(--grass-deep);
}

.entry-content h4 {
  position: relative;
  padding: .3em .4em .35em 1.2em;
  border-bottom: 4px dotted var(--sky-soft);
  color: var(--ink);
}
.entry-content h4::before {
  content: ""; position: absolute; left: 0; top: .3em; bottom: .45em; width: 9px; border-radius: 9px;
  background: linear-gradient(180deg, var(--sun), var(--warp));
}
.entry-content h5 { position: relative; padding-left: 1.5em; }
.entry-content h5::before { content: "★"; position: absolute; left: 0; top: 0; color: var(--sun-deep); }
.entry-content h6 { color: var(--sky-dark); }

/* テーブル */
.entry-content table {
  border-collapse: separate; border-spacing: 0; margin: 0 0 1.6em; max-width: 100%;
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--sky);
}
.entry-content table img { max-width: none; }
.entry-content table th, .entry-content table td { padding: 9px 18px; border-bottom: 2px dotted var(--sky-soft); border-right: 2px dotted var(--sky-soft); }
.entry-content table tr > *:last-child { border-right: 0; }
.entry-content table tr:last-child > * { border-bottom: 0; }
.entry-content table th { background: linear-gradient(135deg, #4cc0ff, #1e8de0); color: #fff; border-color: rgba(255,255,255,.35); text-shadow: 0 1px 0 rgba(10,60,120,.3); }
.entry-content table tbody tr:nth-child(even) td { background: var(--sky-pale); }

/* 引用 */
.entry-content blockquote {
  position: relative; margin: 1.9em 0 2.4em;
  padding: 24px 28px 22px 72px;
  background: var(--sun-pale); border: 3px solid var(--sun); border-radius: 26px;
  color: var(--ink); font-style: normal;
}
.entry-content blockquote:before {
  content: "“"; position: absolute; top: 6px; left: 20px;
  font-family: var(--f-en); font-size: 74px; font-weight: 700; line-height: 1; color: var(--warp);
}
.entry-content blockquote:after {
  content: ""; position: absolute; left: 48px; bottom: -14px; right: auto; top: auto;
  width: 20px; height: 20px; box-sizing: border-box;
  background: var(--sun-pale); border-right: 3px solid var(--sun); border-bottom: 3px solid var(--sun);
  transform: rotate(45deg); border-radius: 0 0 6px 0;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: .6em; text-align: right; font-size: .9em; font-style: normal; color: var(--ink-soft); }

/* コード */
.entry-content pre {
  margin: 0 0 1.7em; padding: 50px 24px 20px;
  white-space: pre; color: var(--ink);
  font-family: var(--f-mono); font-size: 14px; line-height: 1.7;
  border-radius: 22px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--grass);
  background:
    radial-gradient(circle at 26px 20px, #ff6b5e 0 6px, transparent 7px),
    radial-gradient(circle at 48px 20px, var(--sun) 0 6px, transparent 7px),
    radial-gradient(circle at 70px 20px, #4ccb62 0 6px, transparent 7px),
    linear-gradient(var(--grass-pale) 0 40px, var(--cream) 40px);
}
.entry-content pre > code { margin: 0; padding: 0; white-space: pre; border: 0; background: transparent; color: inherit; font-family: inherit; font-size: inherit; }
.entry-content code {
  margin: 0 3px; padding: 1px 9px;
  font-family: var(--f-mono); font-size: .88em; color: #0f5a95;
  background: var(--sky-pale); border-radius: 9px;
}

.entry-content em { font-style: normal; font-weight: 900; -webkit-text-emphasis: filled dot var(--warp); text-emphasis: filled dot var(--warp); text-emphasis-position: over right; }
.entry-content del, .entry-content s { color: var(--ink-soft); text-decoration: line-through wavy var(--warp); text-decoration-thickness: .1em; }
.entry-content ins { text-decoration: underline wavy var(--grass-deep); text-underline-offset: .25em; text-decoration-thickness: .1em; }
.entry-content abbr[title] { border-bottom: 2px dotted var(--sky-deep); text-decoration: none; cursor: help; }
.entry-content kbd { display: inline-block; margin: 0 2px; padding: 0 .6em; font-family: var(--f-mono); font-size: .85em; line-height: 1.6; color: var(--ink); background: #fff; border-radius: 9px; box-shadow: 0 3px 0 var(--sky-soft), 0 0 0 2px var(--sky-soft); }
.entry-content details { margin: 0 0 1.4em; background: var(--cream); border-radius: 22px; box-shadow: 0 0 0 3px var(--sun); overflow: hidden; }
.entry-content summary { padding: .6em 1.3em; font-weight: 900; cursor: pointer; background: var(--sun-pale); list-style: none; }
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::before { content: "▶"; display: inline-block; margin-right: .6em; font-size: .8em; color: var(--warp); transition: transform .2s ease; }
.entry-content details[open] > summary::before { transform: rotate(90deg); }
.entry-content details > :not(summary) { margin-left: 1.3em; margin-right: 1.3em; }
.entry-content details > :nth-child(2) { margin-top: 1em; }
.entry-content details > :last-child { margin-bottom: 1em; }
.entry-content dt { display: inline-block; margin: .8em 0 .2em; padding: 0 16px; font-weight: 900; color: #0f5a95; background: var(--sky-pale); border-radius: 999px; }
.entry-content dd { margin: 0 0 .8em 1em; padding-left: .9em; border-left: 4px dotted var(--sky-soft); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { margin-top: .7em; font-size: 13px; text-align: center; color: var(--ink-soft); }
.entry-content figcaption::before { content: "★ "; color: var(--sun-deep); }

/* =========================================================
   目次
   ========================================================= */
.table-of-contents, .entry-content .table-of-contents {
  counter-reset: toc;
  position: relative; list-style: none;
  margin: 3.6em 0 2.8em; padding: 2.7em 1.8em 1.6em;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0, var(--sky-pale) 0 60px, transparent 61px),
    radial-gradient(circle at 88% 100%, var(--sun-pale) 0 70px, transparent 71px),
    #fff;
  border: 3px solid var(--sky); border-radius: 30px;
  box-shadow: 0 9px 0 var(--sky-pale), var(--sh-s);
}
.table-of-contents::before, .entry-content .table-of-contents::before {
  content: "★ もくじ";
  position: absolute; top: -22px; left: 28px;
  padding: 3px 26px 5px;
  font-size: 17px; font-weight: 900; line-height: 1.6; letter-spacing: .2em; color: #fff;
  background: linear-gradient(135deg, #4cc0ff, #1e8de0);
  border-radius: 999px; box-shadow: 0 4px 0 var(--sky-dark);
  transform: rotate(-3deg);
}
.table-of-contents li, .entry-content .table-of-contents li { list-style: none; margin: 0; padding: 0; line-height: 1.65; font-weight: 500; color: var(--ink); }
.entry-content .table-of-contents li::marker, .table-of-contents li::marker { content: none; }

.table-of-contents > li, .entry-content .table-of-contents > li { counter-increment: toc; position: relative; margin: 0 0 .85em; padding-left: 3.4em; font-weight: 900; min-height: 2.4em; }
.table-of-contents > li::before, .entry-content .table-of-contents > li::before {
  content: counter(toc);
  position: absolute; left: -.15em; top: -.35em;
  display: grid; place-items: center; box-sizing: border-box;
  width: 2.9em; height: 2.9em; margin: 0; padding-top: .2em;
  font-family: var(--f-en); font-size: 14px; font-weight: 700; line-height: 1; color: #6a4a00;
  background: var(--sun);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: transform .25s cubic-bezier(.3, 1.8, .5, 1);
}
.table-of-contents > li:nth-child(4n+2)::before { background: #ffb347; color: #6a3200; }
.table-of-contents > li:nth-child(4n+3)::before { background: var(--sky); color: #0d4a73; }
.table-of-contents > li:nth-child(4n+4)::before { background: var(--grass); color: #0f4d22; }
.table-of-contents > li:hover::before { transform: rotate(20deg) scale(1.15); }

.table-of-contents a, .entry-content .table-of-contents a {
  display: inline-block; margin-left: -10px; padding: 1px 12px;
  color: var(--ink); text-decoration: none; background: none; border-radius: 14px;
  transition: background .15s ease, transform .2s cubic-bezier(.3, 1.8, .5, 1);
}
.table-of-contents a:hover, .entry-content .table-of-contents a:hover { color: var(--link); background: var(--sky-pale); transform: translateX(4px); }

.table-of-contents li > ul, .entry-content .table-of-contents li > ul {
  list-style: none; margin: .5em 0 .2em .1em; padding: .1em 0 .1em 1.2em;
  border-left: 3px solid var(--sky-soft); border-radius: 2px;
}
.table-of-contents li li, .entry-content .table-of-contents li li { position: relative; margin: .15em 0; padding-left: 1.5em; font-size: .95em; font-weight: 500; }
.table-of-contents li li::before, .entry-content .table-of-contents li li::before {
  content: ""; position: absolute; left: .05em; top: .55em; box-sizing: border-box;
  width: .85em; height: .85em; background: var(--sky-deep);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.table-of-contents li li:nth-child(even)::before { background: var(--grass-deep); }
.table-of-contents li li:nth-child(3n)::before { background: var(--sun-deep); }
.table-of-contents li li > ul { border-left-color: #b6ecb9; }
.table-of-contents li li li { font-size: .92em; }
.table-of-contents li li li::before { background: var(--warp); }

.entry-content h2:target, .entry-content h3:target, .entry-content h4:target,
.entry-content h5:target, .entry-content h6:target { animation: target-pop .9s cubic-bezier(.3, 1.6, .5, 1); }

/* =========================================================
   Entry footer
   ========================================================= */
.entry-footer { padding: 14px 40px 28px; margin: 0; }
.entry-footer-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; margin: 1em 0; text-align: right; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.entry-footer-section a { color: var(--ink-soft); }
.entry-footer-section a:hover { color: var(--link); }
.entry-footer .social-buttons { margin: 14px 0; }
.entry-footer .hatena-star-container { margin: 6px 0 10px; }
.entry-footer-modules { margin: 0; }

/* =========================================================
   Comments
   ========================================================= */
.comment-box { position: relative; margin: 8px 0 44px; padding: 0 10px; }
.entry .comment-box, .entry-inner .comment-box { padding: 0 40px; }
.comment-box::before {
  content: "★ みんなのコメント";
  display: inline-block; margin: 0 0 4px; padding: 4px 26px 6px;
  font-size: 15px; font-weight: 900; line-height: 1.5; letter-spacing: .1em; color: #fff;
  background: linear-gradient(135deg, #3dbd58, #1f9a3d);
  border-radius: 999px; box-shadow: 0 4px 0 var(--grass-dark); transform: rotate(-2deg);
}
.comment { margin: 0; padding: 18px 0 0; list-style: none; }

li.entry-comment {
  --bub: var(--sky-pale); --ring: var(--sky);
  position: relative; list-style: none; overflow: visible;
  margin: 30px 0 30px 104px; min-height: 64px; padding: 16px 26px 14px;
  background: var(--bub);
  border: 3px solid var(--ring); border-radius: 28px;
  box-shadow: 0 5px 0 var(--ring);
  transform-origin: 0 24px;
  animation: bubble .6s cubic-bezier(.3, 1.6, .5, 1) backwards;
  transition: transform .2s ease;
}
li.entry-comment:nth-child(3n+2) { --bub: var(--grass-pale); --ring: var(--grass); }
li.entry-comment:nth-child(3n)   { --bub: var(--sun-pale);   --ring: #ffcf4d; }
li.entry-comment:nth-child(2) { animation-delay: .08s; }
li.entry-comment:nth-child(3) { animation-delay: .16s; }
li.entry-comment:nth-child(4) { animation-delay: .24s; }
li.entry-comment:nth-child(n+5) { animation-delay: .32s; }
li.entry-comment:hover { transform: translateY(-3px); }

li.entry-comment::before, li.entry-comment::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; }
li.entry-comment::before { top: 22px; left: -25px; border-width: 12px 22px 12px 0; border-color: transparent var(--ring) transparent transparent; }
li.entry-comment::after  { top: 25px; left: -19px; border-width: 9px 19px 9px 0;  border-color: transparent var(--bub) transparent transparent; }

li.entry-comment .hatena-id-icon {
  position: absolute; top: 6px; left: -98px;
  width: 68px !important; height: 68px !important;
  box-sizing: border-box; object-fit: cover; margin: 0; padding: 0; float: none;
  background: #fff; border: 4px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ring), 0 6px 12px rgba(30, 100, 180, .3);
  animation: talk 2.8s ease-in-out infinite;
}
li.entry-comment:hover .hatena-id-icon { animation: talk-fast .45s ease-in-out infinite; }

li.entry-comment .comment-user-name {
  position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px;
  margin: 0 0 8px; padding: 0 0 6px;
  font-size: 14px; line-height: 1.6; font-weight: 900;
  border-bottom: 3px dotted var(--ring);
}
li.entry-comment .comment-user-name a { color: var(--link); text-decoration: none; }
li.entry-comment .comment-user-name a:hover { color: var(--ink); text-decoration: underline wavy; }
li.entry-comment .user-name-nickname { font-size: 15px; color: var(--ink); }
li.entry-comment .user-name-hatena-id, li.entry-comment .user-name-paren { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
li.entry-comment .comment-content { font-size: 15px; line-height: 1.9; color: var(--ink); overflow-wrap: anywhere; }
li.entry-comment .comment-content p { margin: 0 0 .6em; padding: 0; font-size: inherit; }
li.entry-comment .comment-content p:last-child { margin-bottom: 0; }
li.entry-comment .comment-metadata { margin: 8px 0 0; padding: 0; font-family: var(--f-en); font-size: 12px; font-style: normal; font-weight: 500; line-height: 1.6; color: var(--ink-soft); text-align: right; }
li.entry-comment .comment-metadata a { color: inherit; text-decoration: none; }

li.entry-comment:nth-child(even) { margin: 30px 104px 30px 0; transform-origin: 100% 24px; }
li.entry-comment:nth-child(even)::before { left: auto; right: -25px; border-width: 12px 0 12px 22px; border-color: transparent transparent transparent var(--ring); }
li.entry-comment:nth-child(even)::after  { left: auto; right: -19px; border-width: 9px 0 9px 19px;  border-color: transparent transparent transparent var(--bub); }
li.entry-comment:nth-child(even) .hatena-id-icon { left: auto; right: -98px; }

.read-more-comments { margin: 0 0 20px; text-align: center; }
.read-more-comments a { display: inline-block; padding: 4px 22px; font-weight: 700; color: #0f5a95; text-decoration: none; background: var(--sky-pale); border-radius: 999px; }
.permalink { position: relative; }

.leave-comment-title {
  position: relative; display: flex; justify-content: center; align-items: center;
  margin: 14px auto 0; max-width: 280px; padding: 13px 28px;
  font-weight: 900; font-size: 15px; letter-spacing: .08em; color: var(--ink);
  background: linear-gradient(135deg, #ffe066, var(--sun));
  border-radius: 999px; box-shadow: 0 5px 0 var(--sun-deep); cursor: pointer;
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.leave-comment-title:hover { color: var(--ink); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 0 var(--sun-deep); }
.leave-comment-title:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-deep); }

.comment-box textarea, .comment-box input[type="text"], .comment-box input[type="url"], .comment-box input[type="email"] {
  width: 100%; box-sizing: border-box; padding: 12px 18px;
  background: #fff; border: 3px solid var(--sky-soft); border-radius: 20px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.comment-box textarea:focus, .comment-box input[type="text"]:focus { border-color: var(--sky-deep); box-shadow: 0 0 0 5px var(--sky-pale); }
.comment-box input[type="submit"], .comment-box button { padding: 8px 28px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #4cc0ff, #1e8de0); border: 0; border-radius: 999px; box-shadow: 0 4px 0 var(--sky-dark); }

/* =========================================================
   Sidebar modules
   ========================================================= */
.hatena-module {
  --tc: var(--sky); --tp: var(--sky-pale); --td: #0f5a95; --tk: var(--sky-dark); --tt: #fff; --tf: var(--sky-deep);
  margin: 0 0 30px; line-height: 1.8;
  background: var(--paper); border-radius: 28px;
  border: 3px solid var(--tc);
  box-shadow: 0 8px 0 var(--tp), var(--sh-m);
  overflow: hidden;
  animation: rise .6s cubic-bezier(.3, 1.4, .5, 1) backwards;
}
.hatena-module:nth-child(5n+2) { --tc: var(--grass);  --tp: var(--grass-pale);  --td: var(--grass-dark); --tk: var(--grass-dark); --tt: #fff; --tf: var(--grass-deep); }
.hatena-module:nth-child(5n+3) { --tc: var(--sun);    --tp: var(--sun-pale);    --td: #8a6000; --tk: var(--sun-deep); --tt: #6b4200; --tf: var(--sun); }
.hatena-module:nth-child(5n+4) { --tc: var(--warp);   --tp: var(--warp-pale);   --td: #a85200; --tk: #c06a00; --tt: #fff; --tf: #ec8000; }
.hatena-module:nth-child(5n+5) { --tc: var(--indigo); --tp: var(--indigo-pale); --td: #3b4fc2; --tk: #4a5fd0; --tt: #fff; --tf: #5a73f0; }

.hatena-module-title {
  box-sizing: border-box; position: relative;
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 13px 20px 11px;
  font-size: 15px; font-weight: 900; line-height: 1.5; letter-spacing: .1em; color: var(--td);
  background: var(--tp);
  border-bottom: 4px dotted var(--tc);
}
.hatena-module-title:before { content: "★"; flex: none; font-size: 16px; color: var(--tc); text-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.hatena-module-title a { color: var(--td); text-decoration: none; }
.hatena-module-title a:hover { color: var(--td); text-decoration: underline wavy; }

.hatena-module-body { padding: 14px 20px 18px; font-size: 15px; line-height: 1.65; background: var(--paper); }
.hatena-module-body h3, .hatena-module-body h4 { margin: .6em 0 .4em; font-size: 1.05em; color: var(--td); }

.entry-footer-modules .hatena-module { margin: 0 0 14px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; animation: none; }
.entry-footer-modules .hatena-module-title { display: block; padding: 2px 0 2px 14px; margin: 0 0 8px; background: none; border: 0; border-left: 8px solid var(--tc); border-radius: 4px; font-size: 15px; }
.entry-footer-modules .hatena-module-title:before { display: none; }
.entry-footer-modules .hatena-module-body { padding: 0; background: none; font-size: inherit; }

.hatena-urllist { list-style: none; margin: 0; padding: 0; }
.hatena-urllist li { padding: 10px 8px; line-height: 1.55; border-bottom: 3px dotted var(--tp); border-radius: 14px; transition: background .15s ease, transform .2s ease; }
.hatena-urllist li:first-child { padding-top: 10px; }
.hatena-urllist li:last-child { border-bottom: 0; }
.hatena-urllist li:hover { background: var(--cream); transform: translateX(4px); }
.hatena-urllist li a { text-decoration: none; font-weight: 700; }
.hatena-urllist li a:hover { color: var(--link); }
.hatena-urllist .urllist-date-link { font-family: var(--f-en); font-size: 12px; color: var(--ink-soft); }
.hatena-urllist .urllist-date-link a { font-weight: 500; }
.hatena-urllist .urllist-title-link { font-size: 14px; line-height: 1.55; }
.hatena-urllist .archive-module-year, .hatena-urllist .archive-module-month { border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }
.hatena-urllist .archive-module-year:hover { background: none; transform: none; }
.hatena-urllist .bookmark-widget-counter { font-size: 12px; }
.urllist-with-thumbnails li .urllist-image, .hatena-urllist li .urllist-image {
  float: left; width: 72px; height: 72px; max-width: none; object-fit: cover; margin: 2px 12px 8px 0;
  border: 4px solid #fff; border-radius: 20px; box-shadow: 0 0 0 2px var(--tc), var(--sh-s);
}

.hatena-module-profile .profile-icon {
  float: left; width: 68px; height: 68px; object-fit: cover; margin: 0 14px 10px 0;
  border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--tc), var(--sh-s);
}
.hatena-module-profile .id { display: block; margin-bottom: 6px; font-weight: 900; font-size: 105%; text-transform: none; }
.hatena-module-profile .id a { text-decoration: none; }
.hatena-module-profile .profile-description { font-size: 14px; }
.hatena-module-profile .profile-description p { margin-top: 0; }

/* =========================================================
   サイドバーのボタン類(読者になる / このブログについて / もっと見る / 検索 / SNSフォロー)
   ページ送りと同じ「ぷっくりボタン」を、所属モジュールの色(--tc 淡 --tp 濃 --tk)で統一
   ========================================================= */
.hatena-follow-button-box { clear: both; display: flex; flex-wrap: nowrap; align-items: stretch; gap: 14px; margin: 16px 0 0; padding: 0 0 6px !important; height: auto !important; overflow: visible !important; }
.hatena-follow-button-box:before, .hatena-follow-button-box:after { content: none !important; display: none !important; }
.hatena-follow-button {
  position: relative; display: block; flex: 1 1 auto; box-sizing: border-box; width: auto !important; height: auto !important; min-width: 0; margin: 0; padding: .55em 1em .55em 2.5em; overflow: visible !important;
  font-family: var(--f-body); font-size: 15px; font-weight: 900; line-height: 1.5; letter-spacing: .08em; text-align: center; text-transform: none; text-decoration: none;
  color: var(--tt, #fff) !important; background-color: var(--tf, var(--sky-deep)) !important; background-image: none !important; background-position: 0 0 !important; background-size: auto !important; background-repeat: no-repeat !important;
  border: 0; border-radius: 999px; box-shadow: 0 3px 0 var(--tk, var(--sky-dark));
  cursor: pointer; transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.hatena-follow-button:before { content: "★"; position: absolute; left: .95em; top: 50%; margin-top: -.75em; font-size: 1.15em; line-height: 1.5; color: #fff; text-shadow: 0 2px 0 var(--tk, var(--sky-dark)); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.hatena-follow-button:hover, .hatena-follow-button:focus, .hatena-follow-button:visited, a.hatena-follow-button:hover span { color: var(--tt, #fff) !important; -webkit-text-fill-color: currentColor !important; }
.hatena-follow-button:hover { color: var(--tt, #fff) !important; transform: translateY(-1px); box-shadow: 0 4px 0 var(--tk, var(--sky-dark)); }
.hatena-follow-button:hover:before { transform: rotate(72deg) scale(1.25); }
.hatena-follow-button:active { transform: translateY(2px) scale(.98); box-shadow: 0 1px 0 var(--tk, var(--sky-dark)); }
.hatena-follow-button.subscribing { color: var(--td, #0f5a95) !important; background-color: var(--tp, var(--sky-pale)) !important; box-shadow: 0 0 0 3px var(--tc, var(--sky)) inset; }
.hatena-follow-button.subscribing:before { content: "✓"; color: var(--tf, var(--sky-deep)); font-family: var(--f-en); font-weight: 700; text-shadow: none; }
.hatena-follow-button.subscribing .foreground, .hatena-follow-button.subscribing .background { text-shadow: none !important; }
.hatena-follow-button.subscribing:hover { color: #d63a45 !important; background-color: #fff1f1 !important; box-shadow: 0 0 0 3px #ff9aa2 inset; transform: none; }
.hatena-follow-button.subscribing:hover:before { content: "✕"; color: #ff6b75; }
.hatena-follow-button .foreground, .hatena-follow-button .background { font-weight: 900 !important; color: inherit !important; text-shadow: 0 2px 0 var(--tk, var(--sky-dark)) !important; background: none !important; }

.subscription-count-box { position: relative; display: flex !important; align-items: center; justify-content: center; flex: none; box-sizing: border-box; margin: 0 0 3px !important; padding: 0 1em !important; white-space: nowrap; background: color-mix(in srgb, var(--tc, var(--sky)) 32%, #fff); border: 0; border-radius: 18px; box-shadow: none; }
.subscription-count-box:before { content: ""; position: absolute; left: -8px; top: 50%; width: 0; height: 0; margin-top: -7px; border: 0 solid transparent; border-width: 7px 9px 7px 0; border-right-color: color-mix(in srgb, var(--tc, var(--sky)) 32%, #fff); }
.subscription-count-box:after { content: none; }
.hatena-follow-button.subscribing + .subscription-count-box { background: var(--tp, var(--sky-pale)); }
.hatena-follow-button.subscribing + .subscription-count-box:before { border-right-color: var(--tp, var(--sky-pale)); }
.subscription-count-box i, .subscription-count-box u { display: none; }
.subscription-count-box .subscription-count { padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; font-family: var(--f-en); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--td, #0f5a95); }
.subscription-count-box .subscription-count:after { content: " 人"; font-family: var(--f-body); font-size: 12px; font-weight: 700; }

.profile-about { clear: both; margin: 14px 0 0; }
.profile-about a, .urllist-see-more-link, a.subscribe-btn {
  position: relative; display: block; box-sizing: border-box; padding: .55em 2.4em; text-align: center;
  font-size: 15px; font-weight: 900; letter-spacing: .08em; line-height: 1.5; color: var(--td, #0f5a95); text-decoration: none;
  background: #fff; border: 3px solid var(--tc, var(--sky)); border-radius: 999px; box-shadow: 0 3px 0 var(--tk, var(--sky-dark));
  transition: background-color .15s ease, transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.profile-about a:before { content: "☁"; position: absolute; left: .95em; top: 50%; margin-top: -.75em; font-size: 1.15em; line-height: 1.5; color: var(--tc, var(--sky)); }
.profile-about a:after, .urllist-see-more-link:after { content: "»"; position: absolute; right: 1.05em; top: 50%; margin-top: -.75em; font-family: var(--f-en); font-size: 1.25em; line-height: 1.5; color: var(--tc, var(--sky)); transition: transform .2s ease; }
.profile-about a:hover, .urllist-see-more-link:hover, a.subscribe-btn:hover { color: var(--td, #0f5a95); background: var(--tp, var(--sky-pale)); transform: translateY(-1px); box-shadow: 0 4px 0 var(--tk, var(--sky-dark)); }
.profile-about a:hover:after, .urllist-see-more-link:hover:after { transform: translateX(4px); }
.profile-about a:active, .urllist-see-more-link:active, a.subscribe-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--tk, var(--sky-dark)); }

/* もっと見る */
.urllist-see-more { margin: 14px 4px 4px; text-align: center; }
.urllist-see-more-link { display: block; padding: .45em 2.4em .45em 1.4em; font-size: 14px; }

/* SNSフォローボタン(X / Facebook)。インラインの黒背景を上書き */
a.subscribe-btn { display: flex !important; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; padding: .45em 1.1em; font-size: 14px; background: #fff !important; color: var(--td, #0f5a95) !important; }
a.subscribe-btn:hover { background: var(--tp, var(--sky-pale)) !important; }
a.subscribe-btn .subscribe-btn-icon { display: inline-flex; align-items: center; flex: none; }
a.subscribe-btn .subscribe-btn-icon img, a.subscribe-btn .subscribe-btn-icon svg { width: 20px; height: 20px; }
a.subscribe-twitter .subscribe-btn-icon img { filter: invert(1); }
a.subscribe-facebook .subscribe-btn-icon { width: 20px; height: 20px; background: #1877f2; border-radius: 50%; }
a.subscribe-btn .subscribe-btn-label { color: inherit; text-decoration: none; }

/* 記事下のSNSシェアボタン
   はてな標準の見た目(アイコン・外部iframeの表示)は全部消して、同じ形のぷっくりボタンに作り直す。
   ブックマーク / Facebook は本物のiframeを透明にして上に重ね、クリックだけ元のまま使う(件数表示は出ません) */
.social-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 12px; margin: 18px 0 8px; }
.social-buttons .social-button-item { position: relative; display: block; margin: 0; padding: 0; line-height: 1; }
.social-buttons .entry-share-button,
.social-buttons .social-button-item:has(.hatena-bookmark-button-frame),
.social-buttons .social-button-item:has(.fb-share-button) {
  --sc: var(--ink); --sd: #0c1a30;
  position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 42px; margin: 0; padding: 0 20px; overflow: hidden;
  font-family: var(--f-body); font-size: 14px; font-weight: 900; line-height: 1; letter-spacing: .05em; white-space: nowrap; color: #fff; text-decoration: none; text-shadow: 0 2px 0 var(--sd);
  background-color: var(--sc) !important; background-image: none !important; border: 0; border-radius: 999px; box-shadow: 0 4px 0 var(--sd);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.social-buttons .entry-share-button { width: auto; min-width: 0; }
.social-buttons .entry-share-button:hover, .social-buttons .social-button-item:has(.hatena-bookmark-button-frame):hover, .social-buttons .social-button-item:has(.fb-share-button):hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--sd); }
.social-buttons .entry-share-button:active, .social-buttons .social-button-item:has(.hatena-bookmark-button-frame):active, .social-buttons .social-button-item:has(.fb-share-button):active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sd); }
.social-buttons .entry-share-button:before, .social-buttons .social-button-item:has(.hatena-bookmark-button-frame):before, .social-buttons .social-button-item:has(.fb-share-button):before { content: ""; }
.social-buttons .entry-share-button-twitter:before { content: "X でポスト"; }
.social-buttons .entry-share-button-mastodon { --sc: #6364ff; --sd: #3f40c8; }
.social-buttons .entry-share-button-mastodon:before { content: "Mastodon"; }
.social-buttons .entry-share-button-misskey { --sc: #86b300; --sd: #5a7a00; }
.social-buttons .entry-share-button-misskey:before { content: "Misskey"; }
.social-buttons .social-button-item:has(.hatena-bookmark-button-frame) { --sc: #1fb3e8; --sd: #0079a3; width: 152px; padding: 0; }
.social-buttons .social-button-item:has(.hatena-bookmark-button-frame):before { content: "B!  ブックマーク"; }
.social-buttons .social-button-item:has(.fb-share-button) { --sc: #1877f2; --sd: #0f4fae; width: 128px; padding: 0; }
.social-buttons .social-button-item:has(.fb-share-button):before { content: "f  シェアする"; }
.social-buttons .hatena-bookmark-button-frame { position: absolute !important; left: 0; bottom: 0; width: 84px !important; height: 40px !important; margin: 0; border: 0; opacity: 0; transform-origin: 0 100%; transform: scale(1.81, 1.9); z-index: 2; cursor: pointer; }
.social-buttons .fb-share-button { position: absolute !important; left: 0; bottom: 0; display: block; width: 91px !important; height: 40px !important; margin: 0; opacity: 0; transform-origin: 0 100%; transform: scale(1.4, 1.9); z-index: 2; cursor: pointer; }

/* モジュールの開閉ボタン ▼▶ */
.archive-module-button { color: var(--tc, var(--sky)); font-size: 12px; }

/* ヘッダー右上の「読者になる」(青空の上なので黄色のぷっくりピル) */
.blog-controlls-subscribe-btn {
  display: inline-flex; align-items: center; gap: .35em; padding: .32em 1.15em .32em .95em; font-family: var(--f-body); font-size: 13px; font-weight: 900; line-height: 1.5; letter-spacing: .06em; color: #6b4200 !important; text-decoration: none; text-shadow: none;
  background: linear-gradient(180deg, #ffe97a, var(--sun)); border: 0; border-radius: 999px; box-shadow: 0 3px 0 var(--sun-deep), 0 8px 14px rgba(15, 111, 181, .18);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.blog-controlls-subscribe-btn:before { content: "★"; color: #fff; text-shadow: 0 1px 0 var(--sun-deep); font-size: 1.1em; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.blog-controlls-subscribe-btn:hover { color: #6b4200 !important; transform: translateY(-2px); box-shadow: 0 5px 0 var(--sun-deep), 0 12px 18px rgba(15, 111, 181, .22); }
.blog-controlls-subscribe-btn:hover:before { transform: rotate(72deg) scale(1.25); }
.blog-controlls-subscribe-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sun-deep); }

/* 記事フッターの「読者になる」(サイドバーのボタンの小型版) */
.entry-footer-section .entry-footer-subscribe { display: inline-block; margin-left: 0; vertical-align: middle; }
.entry-footer-section .entry-footer-subscribe a {
  display: inline-flex; align-items: center; gap: .3em; padding: .12em 1.05em .12em .85em; font-family: var(--f-body); font-size: 12.5px; font-weight: 900; line-height: 1.7; letter-spacing: .06em; color: #fff !important; text-decoration: none; text-shadow: 0 1px 0 var(--sky-dark);
  background: var(--sky-deep); border: 0; border-radius: 999px; box-shadow: 0 3px 0 var(--sky-dark);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.entry-footer-section .entry-footer-subscribe a:before { content: "★"; color: #fff; font-size: 1.05em; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.entry-footer-section .entry-footer-subscribe a:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 5px 0 var(--sky-dark); }
.entry-footer-section .entry-footer-subscribe a:hover:before { transform: rotate(72deg) scale(1.25); }
.entry-footer-section .entry-footer-subscribe a:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sky-dark); }

/* 検索ボックス(モジュールの色に追従) */
.hatena-module-search-box .search-form {
  position: relative; display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; height: 3em; padding: 0 5px 0 18px; overflow: hidden;
  background: #fff; border: 3px solid var(--tc, var(--sky)); border-radius: 999px; box-shadow: 0 3px 0 var(--tp, var(--sky-pale));
  transition: box-shadow .15s ease;
}
.hatena-module-search-box .search-form:focus-within { box-shadow: 0 0 0 5px var(--tp, var(--sky-pale)); }
.hatena-module-search-box .search-module-input { flex: 1 1 auto; display: block; box-sizing: border-box; width: auto; min-width: 0; height: 100%; margin: 0; padding: 0; font-size: 14px; font-weight: 700; color: var(--ink); background: none; border: none; outline: none; }
.hatena-module-search-box .search-module-input::placeholder { color: var(--td, #0f5a95); font-weight: 700; opacity: .5; }
.hatena-module-search-box .search-module-button {
  position: static; flex: none; display: block; box-sizing: border-box; width: 30px; height: 30px; margin: 0; padding: 0;
  text-indent: -9999px; overflow: hidden; border: 0; outline: none; opacity: 1; border-radius: 50%; cursor: pointer;
  background: var(--tc, var(--sky)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1);
}
.hatena-module-search-box .search-module-button:hover { transform: scale(1.12) rotate(-8deg); }

/* =========================================================
   Pager
   ========================================================= */
.pager { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 2.4em 6px 2em 0; }
.pager:after { content: none; }
.pager .pager-prev, .pager .pager-next { float: none; max-width: 100%; width: auto; }
.pager .pager-prev { margin-right: auto; text-align: left; }
.pager .pager-next { margin-left: auto; text-align: right; }
.pager a {
  position: relative; display: inline-block; max-width: 100%; box-sizing: border-box; padding: .4em 1.4em;
  font-weight: 900; line-height: 1.6; color: var(--ink); text-decoration: none; white-space: normal;
  background: linear-gradient(135deg, #ffe066, var(--sun));
  border-radius: 24px; box-shadow: 0 5px 0 var(--sun-deep);
  transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .2s ease;
}
.pager a:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 8px 0 var(--sun-deep); }
.pager a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--sun-deep); }
.pager .pager-prev a { color: #fff; background: linear-gradient(135deg, #4cc0ff, #1e8de0); box-shadow: 0 5px 0 var(--sky-dark); }
.pager .pager-prev a:hover { color: #fff; box-shadow: 0 8px 0 var(--sky-dark); }
.pager .pager-prev a:active { box-shadow: 0 1px 0 var(--sky-dark); }

/* =========================================================
   Footer — 草原
   ========================================================= */
#footer, .footer {
  position: relative; clear: both;
  margin-top: 130px; padding: 56px 20px 44px;
  text-align: center; font-size: 13px; line-height: 1.7; color: #0e3a1e;
  background: linear-gradient(180deg, var(--grass) 0%, #3fbd56 100%);
}
#footer::before, .footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -64px; height: 64px; pointer-events: none;
  background:
    radial-gradient(ellipse 20% 100% at 12% 100%, var(--grass) 0 98%, transparent 100%),
    radial-gradient(ellipse 26% 78% at 40% 100%, var(--grass) 0 98%, transparent 100%),
    radial-gradient(ellipse 22% 96% at 72% 100%, var(--grass) 0 98%, transparent 100%),
    radial-gradient(ellipse 18% 70% at 95% 100%, var(--grass) 0 98%, transparent 100%),
    radial-gradient(ellipse 30% 90% at 24% 100%, #52c963 0 98%, transparent 100%),
    radial-gradient(ellipse 28% 100% at 58% 100%, #52c963 0 98%, transparent 100%),
    radial-gradient(ellipse 24% 80% at 86% 100%, #52c963 0 98%, transparent 100%);
}
#footer p { margin: 0; }
#footer a, .footer a { color: #0e3a1e; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
#footer a:hover, .footer a:hover { color: #fff; }

.page-about dt { margin-bottom: 6px; font-size: 16px; font-weight: 900; border-bottom: 4px dotted var(--sky-soft); }
.page-about dd { margin: 0 0 30px; }

::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--sky-pale); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--sky), var(--grass)); border: 3px solid var(--sky-pale); border-radius: 999px; }

/* =========================================================
   Animations
   ========================================================= */
@keyframes rise   { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bubble { 0% { opacity: 0; transform: scale(.4) translateX(-14px); } 100% { opacity: 1; transform: none; } }
@keyframes talk      { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
@keyframes talk-fast { 0%, 100% { transform: translateY(0) rotate(-7deg) scale(1.04); } 50% { transform: translateY(-6px) rotate(7deg) scale(1.1); } }
@keyframes twinkle   { 0%, 100% { opacity: .95; } 50% { opacity: .45; } }
@keyframes target-pop { 0% { transform: scale(.94) rotate(-1.5deg); } 55% { transform: scale(1.03) rotate(.8deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  #content { padding: 0 20px; }
  #main, #box2 { width: 100%; float: none; }
}
@media (max-width: 767px) {
  #globalheader-container { position: static; }
  #content { padding: 0 14px; }
  #blog-title, .blog-header { margin-bottom: 60px; padding: 48px 14px 70px; background-size: 40px 40px, 28px 28px, auto, auto, auto, auto, auto, auto, auto; }
  #title a, .blog-title a { -webkit-text-stroke-width: 8px; }
  #main, #box2 { width: 100%; float: none; }
  .entry-header-menu { left: 0; top: -34px; }

  .entry, .archive-entry { border-radius: 24px; margin-bottom: 36px; }
  .entry::before, .archive-entry::before { border-radius: 21px 21px 0 0; }
  .archive-entry { padding: 34px 20px 22px; }
  .page-archive .archive-entry .entry-thumb { width: 96px; height: 96px; }
  .page-archive .archive-entry .entry-thumb-link { margin-left: 14px; }
  .entry-header { padding: 34px 20px 4px; }
  .entry-content { padding: 8px 20px 22px; font-size: 15.5px; }
  .entry-footer { padding: 12px 20px 20px; }
  .entry-content h2 { padding: .6em 1.2em .6em 3.2em; }
  .entry-content h2::after { display: none; }
  .entry-content blockquote { padding: 20px 20px 20px 54px; }
  .entry-content blockquote:before { left: 12px; font-size: 56px; }
  .table-of-contents, .entry-content .table-of-contents { margin: 3.2em 0 2.4em; padding: 2.4em 1em 1.2em; border-radius: 26px; }
  .table-of-contents > li, .entry-content .table-of-contents > li { padding-left: 3em; }
  #footer, .footer { margin-top: 100px; }
  #footer::before, .footer::before { height: 46px; top: -46px; }

  .comment-box, .entry .comment-box, .entry-inner .comment-box { padding: 0 14px; }
  li.entry-comment { margin: 26px 0 26px 74px; padding: 14px 16px 12px; }
  li.entry-comment:nth-child(even) { margin: 26px 74px 26px 0; }
  li.entry-comment .hatena-id-icon { width: 48px !important; height: 48px !important; left: -70px; top: 8px; border-width: 3px; }
  li.entry-comment:nth-child(even) .hatena-id-icon { left: auto; right: -70px; }
  li.entry-comment::before { top: 20px; left: -21px; border-width: 10px 18px 10px 0; }
  li.entry-comment::after  { top: 23px; left: -15px; border-width: 7px 15px 7px 0; }
  li.entry-comment:nth-child(even)::before { left: auto; right: -21px; border-width: 10px 0 10px 18px; }
  li.entry-comment:nth-child(even)::after  { left: auto; right: -15px; border-width: 7px 0 7px 15px; }
}
/* </system> */