@charset "utf-8";
/*
  Theme: Left Notes
  Author: motemen
  Responsive: yes
  Description:
    Noto Serif JP と左寄せの余白を使った、シンプルな技術ブログテーマ。
  Based on Hatena-Blog-Theme-Boilerplate (c) Hatena Blog Team, released under the MIT License.
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@400;700&display=swap");

/* ---- デザイントークン：まずここを決める ---- */
:root {
  --font-base: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --font-heading: var(--font-base);
  --font-mono: "M PLUS 1 Code", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --color-bg: #f4f5f6;
  --color-bg-sub: #e9ecef;
  --color-text: #30353b;
  --color-text-sub: #6e747c;
  --color-heading: #20252b;
  --color-link: #365e7b;
  --color-link-hover: #173d59;
  --color-border: #e6e8eb;

  --width-page: 940px;   /* PC でのコンテナ幅 */
  --width-side: 300px;   /* サイドバー幅 */
  --gap: 40px;
  --radius: 3px;
}

/* ---- ベース ---- */
html,
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.85;
}
a { color: var(--color-link); }
a:hover { color: var(--color-link-hover); }
/* はてなキーワードの自動リンク */
a.keyword {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--color-border);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.3;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
}
h1 a:hover, h2 a:hover, h3 a:hover {
  color: var(--color-link-hover);
}

/* 左に寄せた1カラム。モジュールは本文の後ろに配置する。 */
#container, #footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 764px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}
#content-inner { display: block; }
#wrapper, #main, #main-inner, #box2 { min-width: 0; }
#box2 { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--color-border); }
#box2-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px 40px; }
@media (min-width: 768px) {
  #container, #footer { max-width: 864px; padding-left: 72px; padding-right: 72px; }
}

/* ---- ブログタイトル ---- */
#blog-title {
  margin: 2em 0;
  text-align: left;
}
#title {
  margin: 0;
  font-size: 1.5rem;
}
#title a { color: var(--color-text); }
#blog-description {
  margin: 1em 0 0;
  font-size: .8rem;
  font-weight: normal;
}
@media (min-width: 768px) {
  #blog-title { margin: 64px 0 72px; text-align: left; }
  #title { font-size: 1.6rem; }
}
/* ヘッダ画像あり（画像 + 文字）。画像は #blog-title の背景に入る */
.header-image-enable #blog-title { margin: 0 0 2em; }
.header-image-enable #blog-title-inner {
  display: flex;
  align-items: center;
}
.header-image-enable #blog-title-content { margin: 0 10px; }
/* ヘッダ画像のみ（.header-image-only）は文字が出ない。高さを潰さないこと */

/* タイトル下 HTML / フッタ HTML（利用者が自由に書く領域） */
#top-editarea { margin-bottom: 1em; }
#bottom-editarea { margin-top: 2em; }

/* パンくず（記事ページ・カテゴリーページ） */
.breadcrumb { font-size: .9rem; }

/* ---- 記事 ---- */
.entry {
  position: relative;
  margin-bottom: 4em;
}
.entry-header {
  position: relative;
  margin-bottom: 2em;
  padding-bottom: 0;
  border-bottom: 0;
}
.date {
  margin-bottom: .5em;
  font-size: .9rem;
}
.date a {
  color: var(--color-text-sub);
  text-decoration: none;
}
.date a:hover { text-decoration: underline; }
.entry-title {
  margin: 0 0 .3em;
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  .entry-title { font-size: 1.6rem; }
}
.categories {
  margin: .5em 0;
  font-size: .9rem;
}
.categories a { margin-right: .5em; }
/* 「編集する」ボタン（ブログの持ち主にだけ見える） */
.entry-header-menu {
  position: absolute;
  top: 0;
  right: 0;
}

/* ---- 記事本文：書き手が使う書式をひととおり ---- */
.entry-content { overflow-wrap: break-word; }
.entry-content img,
.entry-content video,
.entry-content iframe { max-width: 100%; }
.entry-content img,
.entry-content video { height: auto; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { margin: 1.6em 0 .8em; }
/* はてな記法では本文の大見出しが h3、Markdown では h1 から始まる。どれも破綻させない */
.entry-content h1 { font-size: 1.5rem; }
.entry-content h2 { font-size: 1.4rem; }
.entry-content h3 { font-size: 1.2rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content h5 { font-size: 1rem; }
.entry-content h6 { font-size: .9rem; }
.entry-content ul,
.entry-content ol,
.entry-content dd {
  margin: 0 0 1em 1.5em;
  padding: 0;
}
.entry-content li ul,
.entry-content li ol { margin-bottom: 0; }
.entry-content dt { font-weight: 700; }
.entry-content table {
  display: block;
  width: 100%;
  overflow: auto;
  margin-bottom: 1em;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: .9rem;
}
.entry-content table th,
.entry-content table td {
  padding: 5px 10px;
  border: 1px solid var(--color-border);
}
.entry-content table th { background: var(--color-bg-sub); }
.entry-content blockquote {
  margin: 0 0 1em;
  padding: 20px;
  border: 1px solid var(--color-border);
}
.entry-content blockquote p:first-of-type { margin-top: 0; }
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content pre,
.entry-content code { font-family: var(--font-mono); }
/* シンタックスハイライト（pre.code と .synXxx）の配色は、はてなブログ側の CSS が持つ。
   暗い背景にするなら .synComment などの色も合わせて上書きする */
.entry-content pre {
  padding: 20px;
  overflow: auto;
  background: var(--color-bg-sub);
  border: none;
  font-size: .875rem;
  line-height: 1.7;
  white-space: pre;
}
.entry-content pre > code {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}
.entry-content code {
  margin: 0 2px;
  padding: 0 5px;
  background: var(--color-bg-sub);
  border-radius: var(--radius);
  font-size: 90%;
}
.entry-content hr {
  width: 100%;
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}
.entry-content .table-of-contents {
  margin: 1em 0;
  padding: 1em 1em 1em 2em;
  border: 1px solid var(--color-border);
}
.entry-content figure { margin: 1em 0; }
.entry-content figcaption {
  color: var(--color-text-sub);
  font-size: .8rem;
}
/* 脚注 */
.footnote {
  color: var(--color-text-sub);
  font-size: .85rem;
}
/* 続きを読む */
.entry-see-more { font-size: .9rem; }

/* ---- 記事フッタ ---- */
.entry-footer .social-buttons { margin-bottom: 1em; }
.entry-footer-section {
  color: var(--color-text-sub);
  font-size: .9rem;
}
.entry-footer-section a { color: var(--color-text-sub); }

/* ---- コメント ---- */
.comment-box { margin: 1em 0; }
.comment-box .comment {
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  line-height: 1.7;
}
.comment-box .entry-comment {
  position: relative;
  padding: 10px 0 10px 60px;
  border-bottom: 1px solid var(--color-border);
}
.comment-box .entry-comment:first-child { border-top: 1px solid var(--color-border); }
.comment-box .read-more-comments { padding: 10px 0; }
.comment-box .hatena-id-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px !important;
  height: 50px !important;
  border-radius: var(--radius);
}
.comment-user-name {
  margin: 0 0 .4em;
  font-weight: 700;
}
.comment-content {
  margin: 0 0 .4em;
  overflow-wrap: break-word;
  font-size: .85rem;
}
.comment-content p { margin: 0 0 .6em; }
.comment-metadata {
  margin: 0;
  color: var(--color-text-sub);
  font-size: .8rem;
}
.comment-metadata a { color: var(--color-text-sub); }
.leave-comment-title {
  padding: .6em 1em;
  border: 1px solid var(--color-border);
  font-size: .85rem;
}

/* ---- ページャ（前後の記事・次のページ） ---- */
.pager {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin: 2em 0;
}

/* ---- サイドバーモジュール ----
   モジュールは #box2 のほか、トップページの #main や記事下にも置かれる */
.hatena-module {
  box-sizing: border-box;
  margin-bottom: 3em;
  font-size: .9rem;
}
.hatena-module-title {
  margin-bottom: .6em;
  padding-bottom: .2em;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  font-weight: 700;
}
.hatena-module-title a {
  color: var(--color-text);
  text-decoration: none;
}
.hatena-module-title a:hover { text-decoration: underline; }
.hatena-module-profile .profile-icon {
  float: left;
  margin: 0 10px 10px 0;
}
.hatena-module-profile .id {
  display: block;
  margin-bottom: .5em;
  font-weight: 700;
}
.hatena-module-profile .profile-description p { margin-top: 0; }
/* リンクの一覧（最新記事・注目記事・カテゴリー・月別アーカイブなど） */
.hatena-urllist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hatena-urllist li {
  display: flow-root; /* サムネイルの float を項目ごとに切る */
  padding: .5em 0;
}
.hatena-urllist img {
  max-width: 100%;
  height: auto;
}
.hatena-urllist li:last-child { padding-bottom: 0; }
.hatena-urllist li a { text-decoration: none; }
.hatena-urllist li a:hover { text-decoration: underline; }
.hatena-urllist .urllist-category-link {
  padding: .1em .3em;
  font-size: .7rem;
}
.hatena-urllist .urllist-date-link a { color: var(--color-text-sub); }
.hatena-urllist .urllist-entry-body { margin-top: .3em; }
/* 検索 */
.hatena-module-search-box .search-form {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.hatena-module-search-box .search-module-input {
  flex: 1 0 0;
  min-width: 0;
  height: 20px;
  padding: 5px;
  color: var(--color-text);
  background: none;
  border: none;
}
/* アイコンは data URI の SVG（黒）。暗い配色では path に fill='%23fff' などを足す */
.hatena-module-search-box .search-module-button {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  overflow: hidden;
  color: transparent;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16.7,15l-3.4-3.3h-.1a5.4,5.4,0,0,0,.9-3.1,5.6,5.6,0,1,0-5.6,5.6,5.4,5.4,0,0,0,3.1-.9.1.1,0,0,0,.1.1L15,16.7a1.1,1.1,0,0,0,.8.3,1.6,1.6,0,0,0,.9-.3,1.4,1.4,0,0,0,0-1.7M8.5,12.3A3.8,3.8,0,0,1,4.8,8.5,3.8,3.8,0,0,1,8.5,4.7a3.9,3.9,0,0,1,3.8,3.8,3.8,3.8,0,0,1-3.8,3.8'/%3E%3C/svg%3E") no-repeat center / 20px 20px;
  border: none;
  opacity: .5;
  cursor: pointer;
}
.hatena-module-search-box .search-module-button:hover { opacity: .85; }

/* ---- About ページ ---- */
.page-about .entry-content dt {
  margin-bottom: .5em;
  border-bottom: 1px solid var(--color-border);
  font-weight: 700;
}
.page-about .entry-content dd {
  margin-left: 0;
  margin-bottom: 2em;
}

/* ---- 記事一覧（アーカイブ・カテゴリー・検索結果） ---- */
.archive-header-category { text-align: left; }
.page-archive .archive-entry {
  margin-bottom: 3em;
  line-height: 1.3;
}
.page-archive .entry-title { margin: .3em 0; }
.page-archive .entry-thumb {
  width: 80px;
  height: 80px;
  background-size: cover;
}
.page-archive .entry-description {
  margin: 0;
  font-size: .9rem;
}
.page-archive .social-buttons {
  display: block;
  margin-top: .3em;
}
@media (min-width: 768px) {
  .page-archive .entry-thumb { width: 120px; height: 120px; }
}

/* ---- フッタ（Powered by Hatena Blog。隠さない・動かさない） ---- */
#footer {
  margin-top: 2em;
  padding-bottom: 2rem;
  color: var(--color-text-sub);
  font-size: .8rem;
  text-align: left;
}
#footer a { color: var(--color-text-sub); }
#footer p { margin: .5em auto; }

/* 文字組みと、一覧の控えめな区切り */
#title { font-weight: 700; letter-spacing: -.035em; line-height: 1.5; }
#blog-description { margin-top: 10px; color: var(--color-text-sub); line-height: 1.7; }
.entry-content { font-size: 16px; line-height: 1.7; text-align: left; overflow-wrap: anywhere; }
.entry-content p { margin: 1.4em 0; }
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 { font-weight: 700; line-height: 1.6; }
.entry-title { font-size: 2rem; font-weight: 700; line-height: 1.6; letter-spacing: -.025em; overflow-wrap: anywhere; }
.entry-content a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.entry-content blockquote { padding: 4px 0 4px 20px; border: 0; border-left: 2px solid #d8dde2; color: #5b626b; }
.entry-content pre { max-width: 100%; box-sizing: border-box; overflow-wrap: normal; border-radius: 10px; tab-size: 4; }
.entry-content pre code { font-size: inherit; }
.entry-content img.hatena-id-icon { display: inline; margin: 0; vertical-align: baseline; }
.entry-content th { text-align: left; }
.entry-content td, .entry-content th { padding: 10px 14px; }
.page-archive .archive-entry { display: flow-root; margin: 0 0 32px; padding: 0 0 32px; border-bottom: 1px solid var(--color-border); line-height: 1.8; }
.page-archive .entry-title { margin: 6px 0 12px; font-size: 1.2rem; }
.page-archive .entry-description { font-size: .9rem; line-height: 1.9; color: #626973; overflow-wrap: anywhere; }
.page-archive .entry-thumb-link { float: right; margin: 4px 0 12px 20px; }
.page-archive .entry-thumb { float: none; width: 80px; height: 80px; border-radius: 2px; }
.page-archive .social-buttons { clear: both; }
.hatena-module-title { font-size: .8rem; font-weight: 700; padding-bottom: 8px; }
.hatena-module-body { overflow-wrap: anywhere; }
.hatena-module-profile .profile-icon { max-width: 64px; height: auto; }
.pager { font-size: .875rem; overflow-wrap: anywhere; }
.pager-prev, .pager-next { min-width: 0; flex: 1; }
.pager-next { text-align: right; }
a:focus-visible, input:focus-visible { outline: 2px solid var(--color-link); outline-offset: 4px; }
@media (min-width: 768px) {
  .entry-content { font-size: 17px; }
  .entry-header { margin-bottom: 32px; }
  .page-archive .entry-title { font-size: 1.35rem; }
  .page-archive .archive-entry { margin-bottom: 40px; padding-bottom: 40px; }
  .page-archive .entry-thumb { width: 104px; height: 104px; }
}

/* ブログの顔。SVGを同梱し、外部画像の読み込みに依存しない。 */
#blog-title-content { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; }
#blog-title-content::before { content: ""; grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 40px; height: 40px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%204%204%22%20%3E%0A%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28195%2C%20213%2C%20227%29%22%20%2F%3E%0A%3Crect%20x%3D%221%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28252%2C%20255%2C%20246%29%22%20%2F%3E%0A%3Crect%20x%3D%222%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%2819%2C%2058%2C%20137%29%22%20%2F%3E%0A%3Crect%20x%3D%223%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28157%2C%20167%2C%20185%29%22%20%2F%3E%0A%3Crect%20x%3D%220%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28129%2C%2082%2C%2038%29%22%20%2F%3E%0A%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28255%2C%20224%2C%20211%29%22%20%2F%3E%0A%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28248%2C%20199%2C%20182%29%22%20%2F%3E%0A%3Crect%20x%3D%223%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28218%2C%2046%2C%2032%29%22%20%2F%3E%0A%3Crect%20x%3D%220%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28164%2C%20172%2C%20193%29%22%20%2F%3E%0A%3Crect%20x%3D%221%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28254%2C%20196%2C%20184%29%22%20%2F%3E%0A%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28255%2C%20179%2C%20162%29%22%20%2F%3E%0A%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28225%2C%20107%2C%2093%29%22%20%2F%3E%0A%3Crect%20x%3D%220%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%28174%2C%20179%2C%20183%29%22%20%2F%3E%0A%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%2855%2C%2062%2C%2068%29%22%20%2F%3E%0A%3Crect%20x%3D%222%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%2883%2C%2032%2C%2013%29%22%20%2F%3E%0A%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22rgb%2889%2C%2090%2C%2095%29%22%20%2F%3E%0A%3C%2Fsvg%3E") center / contain no-repeat; }
#title { grid-column: 2; font-size: 1.25rem; }
#blog-description { grid-column: 2; margin-top: 6px; font-size: .75rem; }
@media (min-width: 768px) {
  #blog-title-content { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  #blog-title-content::before { width: 48px; height: 48px; }
  #title { font-size: 1.6rem; }
}

/* 本文のリンク。背景に馴染む色と、控えめな下線。 */
.entry-content a:not(.keyword) {
  color: var(--color-link);
  text-decoration-line: underline;
  text-decoration-color: #a5b5c2;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-skip-ink: auto;
}
.entry-content a:not(.keyword):hover {
  color: var(--color-link-hover);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}
.entry-title a:hover { color: var(--color-link-hover); }
.entry-content a.keyword { color: inherit; border-bottom-color: #b8bec5; }

/* 記事下の共有ボタン：40px角、同じ間隔・縦位置に揃える。 */
.entry-footer .social-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
}
.entry-footer .social-buttons .social-button-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}
.entry-footer .social-buttons .entry-share-button,
.entry-footer .social-buttons a.hatena-bookmark-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 6px;
  vertical-align: middle;
  text-decoration: none;
}
.entry-footer .social-buttons a.hatena-bookmark-button {
  background-color: #00a4de;
}
.entry-footer .social-buttons a.hatena-bookmark-button img {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}
.entry-footer .social-buttons iframe { display: block; }

/* このブログの記事下案内欄。元HTMLのインライン背景色だけを上書きする。 */
.entry-footer-html > div:has(a[href$="bit.ly/motemenwishlist"]) {
  background-color: var(--color-bg) !important;
}

/* トップ・記事一覧：本文と同じ左揃えで、余白を使って記事を並べる。 */
.page-archive .archive-entry {
  display: flow-root;
  margin: 0 0 48px;
  padding: 0;
  border-bottom: 0;
}
.page-archive .archive-date {
  margin: 0 0 8px;
  font-size: .8125rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.page-archive .entry-title {
  margin: 0 0 14px;
  font-size: 1.375rem;
  line-height: 1.6;
  letter-spacing: -.025em;
}
.page-archive .entry-title a:hover {
  text-decoration: underline;
  text-decoration-color: #a5b5c2;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.page-archive .entry-description {
  font-size: .9375rem;
  line-height: 1.7;
  color: #626973;
}
.page-archive .entry-thumb-link { margin: 4px 0 12px 20px; }
.page-archive .entry-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-position: center;
}
.page-archive .social-buttons {
  clear: none;
  margin-top: 12px;
  line-height: 1;
}
.page-archive .bookmark-widget-counter { display: inline-block; }
.page-archive .bookmark-widget-counter img {
  max-width: 100%;
  height: 13px;
  font-size: 0;
  vertical-align: middle;
}
.page-archive .pager { margin-top: 48px; }
.page-archive .pager-next { text-align: left; }
.page-archive .pager-next a {
  display: inline-block;
  padding: 10px 0;
  text-underline-offset: .22em;
  text-decoration-color: #a5b5c2;
}
@media (min-width: 768px) {
  .page-archive .archive-entry { margin-bottom: 56px; }
  .page-archive .entry-title { font-size: 1.5rem; }
  .page-archive .entry-description { font-size: 1rem; }
  .page-archive .entry-thumb-link { margin-left: 24px; }
  .page-archive .entry-thumb { width: 96px; height: 96px; }
}
/* ブックマーク数の画像も、一覧の落ち着いた配色に合わせる。 */
/* .page-archive .bookmark-widget-counter img { filter: grayscale(1); } */

/* 検索欄：テーマの書体・配色に統一 */
.hatena-module-search-box .search-form {
  min-height: 46px;
  padding: 0;
  background: #eceff1;
  border: 1px solid #cbd2d9;
  border-radius: 8px;
}
.hatena-module-search-box .search-module-input {
  box-sizing: border-box;
  height: 44px;
  padding: 10px 14px;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  border-radius: 8px 0 0 8px;
  appearance: none;
}
.hatena-module-search-box .search-module-input::placeholder {
  color: #6e747c;
  opacity: 1;
}
.hatena-module-search-box .search-module-button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 2px;
  border-radius: 6px;
  opacity: .7;
  appearance: none;
}
.hatena-module-search-box .search-module-button:hover {
  background-color: #dfe5ea;
  opacity: 1;
}
.hatena-module-search-box .search-form:focus-within {
  border-color: var(--color-link);
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}
.hatena-module-search-box .search-module-input:focus-visible,
.hatena-module-search-box .search-module-button:focus-visible {
  outline: none;
}
/* 本文画像：縦横比を保ち、大きな画像を読みやすいサイズに収める。 */
.entry-content img:not(.hatena-id-icon) {
  width: auto;
  height: auto;
  max-width: min(100%, 640px);
  max-height: 480px;
  object-fit: contain;
}
/* 段落と画像の前後に、少し広めの余白を取る。 */
.entry-content figure { margin: 1.8em 0; }
/* 全文形式のトップページでの記事間。 */
.entry { margin-bottom: 6em; }
/* 一覧形式のトップページ・アーカイブでの記事間。 */
.page-archive .archive-entry { margin-bottom: 64px; }
@media (min-width: 768px) {
  .page-archive .archive-entry { margin-bottom: 72px; }
}
