/* <system section="theme" selected="6802418398435013379"> */
@charset "UTF-8";
/*
  Theme: CodeFocus
  Author: guitarrapc_tech
  Responsive: yes
  Description:
    * このテーマの特徴
    技術記事の執筆しやすさを追求したシングルカラムのテーマです。

    本テーマ導入時は、必ずこちらの記事を読んでください。導入方法、JavaScriptのカスタマイズが書かれています。
    https://codefocus.hatenablog.jp/entry/2025/05/17/015533

    * 特徴
    記事の読みやすさを最優先に、余計な装飾を省いたデザインで文章に集中できます。
    レスポンシブデザインで、モバイル・タブレット・PCすべての画面サイズで最適表示されます。
    コードブロックは見やすい配色で、コピー・折り返し機能も提供しておりプログラミングコードを扱う技術ブログに最適です。
    JavaScriptカスタマイズで、目次機能（ページ内目次・固定目次ボタン）、コードブロック機能（コピー・折り返し機能を含む）、ダークテーマ機能を追加して長文記事も快適に読めます。

    * カスタマイズ
    デザインCSSを用いたカスタマイズ方法
    https://codefocus.hatenablog.jp/entry/2025/05/20/221750

    * ソースコード
    GitHubで公開しています。(MITライセンス)
    https://github.com/guitarrapc/hatenablog-theme-codefocus

    * 変更履歴:
    - 2025/06/10: v1.5.3 ページャー(次の記事/前の記事)の矢印アイコンが改行されるケースを防止。最初の記事で次の記事が左寄せになるのを修正。
    - 2025/06/10: v1.5.2 ページャー(次の記事/前の記事)の矢印アイコンが表示できていなかったのを修正。
    - 2025/06/09: v1.5.1 目次の縦青線の軸がズレていたのを修正、フロート目次の表示/非表示のトランジションが機能していないのを修正。
    - 2025/05/30: v1.5.0 テーマ導入だけではダークテーマは有効にならないように変更。ダークテーマ向けJavaScriptを追加すると有効になります。
    - 2025/05/30: v1.4.2 ul,ol,ddの左パディングをわずかに広げる調整。
    - 2025/05/27: v1.4.1 スマホ表示におけるフッターの最新記事のサムネイルとタイトルの配置、コメントのアイコン/名前の配置を調整。
    - 2025/05/27: v1.4.0 タグクラウドをJSベースに変更、ダークモードボタン機能を追加、コードブロックの折り返し機能を追加。
    - 2025/05/25: v1.3.0 横1200px以上の解像度モニターでは850px表示まで拡大します。
    - 2025/05/25: v1.2.0 アーカイブページのサムネイルサイズと配置の調整。
    - 2025/05/24: v1.1.0 コンテンツの幅を広げる調整。
    - 2025/05/23: v1.0.0 イニシャルリリース。
  Released under the MIT License.
*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
/* 目次のスタイル */
ul.table-of-contents {
  position: relative;
  background-color: var(--background);
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  /* 目次内の縦線（Zenn風） */
  /* トップレベルの項目（h1とその他の見出し） */
}
ul.table-of-contents::before {
  content: "";
  position: absolute;
  top: 1.1em;
  bottom: 0.8em;
  left: 1.46em;
  width: 3px;
  background-color: var(--toc-border-bg);
  z-index: 0;
}
ul.table-of-contents > li {
  margin: 0.8em 0;
  padding-left: 1.2em;
  position: relative;
  transition: all 0.2s ease;
  /* 目次内の標準リストマーカーをすべて消す */
  list-style: none;
  /* h1項目の青丸マーカー */
  /* すべてのトップレベル見出しのリンクスタイル基本設定 */
  /* h1見出しのリンクスタイル基本設定 */
  /* 子リスト（h2）のスタイル */
}
ul.table-of-contents > li::before {
  content: "";
  position: absolute;
  left: 0em;
  top: 0.25em;
  width: 8px;
  height: 8px;
  background-color: var(--toc-marker);
  border: 2px solid var(--background);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.2s ease;
}
ul.table-of-contents > li:hover::before {
  background-color: var(--link-hover);
}
ul.table-of-contents > li a {
  padding-left: 0em;
  margin: 0.2em 0;
  text-decoration: none;
  color: var(--text-low-priority);
  line-height: 1.4;
}
ul.table-of-contents > li > a {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
}
ul.table-of-contents > li > a:visited {
  color: var(--text-low-priority);
}
ul.table-of-contents > li > a:hover {
  color: var(--text-body);
  transform: translateX(3px);
  text-decoration: none;
  background-color: var(--bg-toc-hover);
  border-radius: 15px;
  padding-right: 5px;
}
ul.table-of-contents > li > ul {
  display: block;
  padding: 0;
  margin: 0.3em 0;
  /* h2階層の項目 */
}
ul.table-of-contents > li > ul li {
  margin: 0.5em 0;
  position: relative;
  /* 目次内の標準リストマーカーをすべて消す */
  list-style: none;
  /* h2の青丸マーカー */
  /* h2見出しのリンクスタイル基本設定 */
  /* h3以降を非表示 */
}
ul.table-of-contents > li > ul li::before {
  content: "";
  position: absolute;
  left: -1.08em;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background-color: var(--toc-marker);
  border: 2px solid var(--background);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.2s ease;
}
ul.table-of-contents > li > ul li:hover::before {
  background-color: var(--link-hover);
}
ul.table-of-contents > li > ul li a {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: normal;
  font-size: 0.95rem;
}
ul.table-of-contents > li > ul li a:visited {
  color: var(--text-low-priority);
}
ul.table-of-contents > li > ul li a:hover {
  color: var(--text-body);
  transform: translateX(3px);
  text-decoration: none;
  background-color: var(--bg-toc-hover);
  border-radius: 15px;
  padding-right: 5px;
}
ul.table-of-contents > li > ul li > ul {
  display: none;
}
:root {
  --background: #fff;
  --bg-light: #f5f5f5;
  --bg-code: #1a2638;
  --bg-code-selection: rgba(170, 170, 170, 0.2509803922);
  --bg-code-light: #1a2737;
  --bg-span: rgba(33, 90, 160, 0.0705882353);
  --bg-toc-hover: rgba(20, 135, 189, 0.05);
  --bg-archive-category: #222a20;
  --bg-archive-category-hover: rgb(69.1486486486, 85.4189189189, 65.0810810811);
  --bg-btn-hover: #f5f5f5;
  --text-body: #08131a;
  --text-low-priority: #747474;
  --text-light: #999;
  --text-header: #333;
  --text-archive-category: #FFFFFF;
  --text-header-visited: rgb(127.5, 127.5, 127.5);
  --text-code-tooltip: #c9d1d9;
  --link: #0f83fd;
  --link-hover: rgb(2.0041322314, 118.2438016529, 240.4958677686);
  --link-bg: rgba(20, 135, 189, 0.1);
  --border: #ddd;
  --border-light: #d6e3ed;
  --border-bq: #8f9faa;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --toc-border-bg: #e6f2ff;
  --toc-marker: #bfdcff;
  --table-th-bg: #edf2f7;
  --table-border: #d6e3ed;
  --code-copy-bg: rgba(225, 225, 225, 0.75);
  --code-copy-success-bg: #4aaa50;
  --code-copy-failed-bg: #c44336;
  --codeblock-language-colors-text: #fff;
  --codeblock-language-colors-keyword: #ff8fa3;
  --codeblock-language-colors-function: #38c7ff;
  --codeblock-language-colors-punctuation: #939bc1;
  --codeblock-language-colors-number: #ffc56d;
  --codeblock-language-colors-comment: #94a1b3;
}
html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Helvetica Neue", "Helvetica", "Meiryo", sans-serif, "Segoe UI Emoji";
  color: var(--text-body);
  background-color: var(--background);
  line-height: 1.9;
  word-break: break-word;
  word-wrap: break-word;
  line-break: strict;
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
}
a {
  color: var(--link);
}
a:hover {
  color: var(--link-hover);
  text-underline-offset: 0.15em;
}
a:visited {
  color: inherit;
}
a.keyword {
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
  color: var(--text-body);
}
/* フォント (ここでページすべての見出しサイズを揃える) */
h1,
h2,
h3,
h4,
h5,
h6 {
  display: block;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  color: var(--text-header);
  line-height: 1.3;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--text-header);
  text-decoration: none;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--text-header);
}
h1 {
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  h1 {
    font-size: 1.7rem;
  }
}
h2 {
  font-size: 1.4rem;
}
@media (min-width: 992px) {
  h2 {
    font-size: 1.5rem;
  }
}
h3 {
  font-size: 1.2rem;
}
@media (min-width: 992px) {
  h3 {
    font-size: 1.3rem;
  }
}
h4 {
  font-size: 1.1rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.9rem;
}
table {
  border-spacing: 2px;
  border-color: var(--table-border);
}
/* container */
#container,
#footer {
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  #container,
  #footer {
    max-width: 700px;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (min-width: 992px) {
  #container,
  #footer {
    max-width: 790px;
  }
}
@media (min-width: 1200px) {
  #container,
  #footer {
    max-width: 850px;
  }
}
/* シングルカラムレイアウト - センター配置 */
#content-inner {
  flex-direction: column;
  align-items: center;
  display: flex;
}
#wrapper {
  margin: 0 auto;
  width: 100%;
  /* メインコンテンツをcontainer-innerと同じ幅にする */
}
#wrapper .main-inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#box2 {
  width: 100%;
  margin: 0 auto;
}
#box2-inner {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: top;
  margin: 0 auto;
}
@media (min-width: 768px) {
  #box2-inner {
    flex-direction: row;
    justify-content: left;
    margin: 0;
  }
}
@media (min-width: 992px) {
  #box2-inner {
    margin: 0;
  }
}
/* ヘッダ - センター揃え */
#blog-title {
  margin: 2em 0;
  text-align: center;
}
@media (min-width: 768px) {
  #blog-title {
    margin: 3em 0;
    text-align: center;
    /* すべての画面サイズでセンター揃え */
  }
}
#title {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Helvetica Neue", "Helvetica", "Meiryo", sans-serif, "Segoe UI Emoji";
  font-size: 1.5rem;
}
@media (min-width: 992px) {
  #title {
    font-size: 1.7rem;
  }
}
#title a {
  color: var(--text-body);
}
#blog-description {
  font-weight: normal;
  font-size: 0.8rem;
  margin: 1em 0 0;
}
/* ヘッダ画像を設定したとき - 非表示に設定 */
.header-image-enable #blog-title,
.header-image-only #blog-title {
  margin: 2em 0;
}
.header-image-enable #blog-title-inner,
.header-image-only #blog-title-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header-image-enable #blog-title-content,
.header-image-only #blog-title-content {
  margin-left: 10px;
  margin-right: 10px;
}
/* タイトル下HTML */
#top-editarea {
  margin-bottom: 1em;
}
/* パンくず（カテゴリー、記事ページで表示されます） */
.breadcrumb {
  font-size: 0.9rem;
}
/* entry */
.entry {
  position: relative;
  margin-bottom: 3em;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  /* テキストは左揃えのまま維持 */
  text-align: left;
}
.entry-header {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  margin-bottom: 1em;
  /* タイトルを含むヘッダー全体に適用 */
  /* 装飾線なし - 仕様通り */
}
@media (min-width: 992px) {
  .entry-header {
    padding: 0 0 0.5em 0;
    /* 下パディングを調整 */
  }
}
.entry-title {
  order: 1;
  margin: 0;
  font-size: 1.5rem;
  text-align: left;
  width: 100%;
}
@media (min-width: 992px) {
  .entry-title {
    font-size: 1.7rem;
  }
}
.date {
  order: 2;
  margin: 0.7em 0 0.4em;
  padding-bottom: 2em;
  font-size: 0.8rem;
  text-align: left;
  color: var(--text-low-priority);
  /* 日付を目立たせる */
}
.date a {
  text-decoration: none;
  color: var(--text-low-priority);
}
.date a:hover {
  text-decoration: underline;
}
.date a::before {
  content: "Posted on ";
  font-size: 0.9em;
}
.date .entry-date {
  margin-right: 1.2em;
  display: inline-block;
  position: relative;
}
.date .entry-date::after {
  content: "•";
  position: absolute;
  right: -0.8em;
  top: 0;
  color: #ccc;
}
.date .date-last-updated {
  color: var(--text-low-priority);
  display: inline-block;
}
.date .date-last-updated::before {
  font-size: 0.9em;
}
/* カテゴリ */
.entry-categories {
  order: 3;
  font-size: 0.9rem;
  text-align: left;
  padding-left: 0;
}
.entry-categories a {
  background-color: transparent;
  padding-right: 8px;
  display: inline-block;
  text-decoration: none;
  color: var(--text-body);
  border: 1px solid var(--border);
  border-radius: 15px;
  /* カテゴリの前にハッシュ記号を追加 */
}
.entry-categories a::before {
  content: "#";
  margin-left: 0.7em;
  margin-right: 3px;
  color: var(--link);
  font-weight: normal;
  font-size: 0.95em;
}
.entry-categories a:hover {
  background-color: var(--bg-btn-hover);
}
/* 「編集する」ボタン */
.entry-header-menu {
  position: absolute;
  top: 60px;
  right: 0;
}
.entry-header-menu a {
  padding: 0.3em 0.6em;
  border: solid 1px var(--border);
  border-radius: 16px;
  text-decoration: none;
}
.entry-header-menu a:hover {
  text-decoration: none;
  background-color: var(--bg-btn-hover);
}
/* 記事内の書式 */
.entry-content {
  /* タイトルと合わせて本文の配置を調整（タイトルより右に5pxインデント、右側にも5px余白） */
  display: block;
  padding: 0 0 5px 0;
  margin: 0;
  line-height: 1.9;
  /* 段落スタイルを追加 */
  /* リンクのスタイルを改善 */
}
.entry-content h1 + p,
.entry-content h2 + p,
.entry-content h3 + p,
.entry-content h4 + p,
.entry-content h5 + p,
.entry-content h6 + p {
  margin-top: 0.3em;
}
.entry-content p + p {
  margin-top: 1.5em;
}
.entry-content p {
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  line-height: 1.8;
}
.entry-content a {
  text-decoration: none;
  transition: color 0.2s ease;
}
.entry-content a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.entry-content img,
.entry-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
  outline: 0;
  text-align: left;
}
.entry-content h1 {
  position: relative;
  margin-top: 2em;
  margin-bottom: 1.1em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--border-light);
}
.entry-content h2 {
  position: relative;
  margin-top: 2em;
  margin-bottom: 0.8em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--border-light);
}
.entry-content h3 {
  position: relative;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.entry-content ul,
.entry-content ol,
.entry-content dd {
  margin: 0 auto 1em;
  padding-left: 1.2em;
  max-width: 100%;
}
.entry-content ul li,
.entry-content ol li,
.entry-content dd li {
  margin-bottom: 0.5em;
}
.entry-content ul li ul,
.entry-content ul li ol,
.entry-content ol li ul,
.entry-content ol li ol,
.entry-content dd li ul,
.entry-content dd li ol {
  margin-top: 0.5em;
  margin-bottom: 0;
}
.entry-content table {
  margin: 1.2rem auto;
  width: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: normal;
  display: block;
  overflow: auto;
}
.entry-content table th {
  background: var(--table-th-bg);
  font-weight: 700;
  color: var(--text-body);
}
.entry-content table th,
.entry-content table td {
  padding: 0.5rem;
  border: 1px solid var(--table-border);
  text-align: left;
}
.entry-content blockquote {
  font-size: 0.95em;
  margin: 1.4rem 0;
  border-left: 3px solid var(--border-bq);
  padding: 2px 0 2px 0.7em;
  color: var(--text-low-priority);
}
.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: "Monaco", "Consolas", "Courier New", Courier, monospace, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.entry-content pre {
  background: var(--bg-code);
  border: none;
  white-space: pre;
  overflow-x: auto;
  text-overflow: initial;
  line-height: 1.7;
  font-size: 0.85rem;
  padding: 15px;
  border-radius: 5px;
  margin: 1.5em auto;
  max-width: 100%;
  box-shadow: inset 0 0 5px var(--shadow-light);
  color: var(--codeblock-language-colors-text);
}
.entry-content pre > code {
  margin: 0;
  padding: 1.1em;
  white-space: inherit;
  border: none;
  background-color: transparent;
}
.entry-content code {
  padding: 0.2em 0.4em;
  background: var(--bg-span);
  font-size: 0.85rem;
  border-radius: 4px;
  vertical-align: 0.08em;
}
.entry-content .synStatement,
.entry-content .synType,
.entry-content .token.atrule,
.entry-content .token.attr-value,
.entry-content .token.deleted,
.entry-content .token.important,
.entry-content .token.keyword,
.entry-content .token.selector {
  color: var(--codeblock-language-colors-keyword);
}
.entry-content .synIdentifier,
.entry-content .token.function,
.entry-content .token.property,
.entry-content .token.tag {
  color: var(--codeblock-language-colors-function);
}
.entry-content .synSpecial,
.entry-content .token.punctuation {
  color: var(--codeblock-language-colors-punctuation);
}
.entry-content .synConstant,
.entry-content .language-css .token.string,
.entry-content .style .token.string,
.entry-content .token.attr-name,
.entry-content .token.boolean,
.entry-content .token.entity,
.entry-content .token.number,
.entry-content .token.operator,
.entry-content .token.string,
.entry-content .token.url {
  color: var(--codeblock-language-colors-number);
}
.entry-content .synComment,
.entry-content .token.cdata,
.entry-content .token.comment,
.entry-content .token.doctype,
.entry-content .token.prolog {
  color: var(--codeblock-language-colors-comment);
}
.entry-content hr {
  border-top: 2px solid var(--border-light);
  margin: 2.5em auto;
}
/* 記事下 */
.entry-footer {
  /* コメント */
}
.entry-footer .social-buttons {
  margin-bottom: 1em;
}
.entry-footer .entry-footer-section {
  color: var(--text-light);
  font-size: 0.9rem;
}
.entry-footer .entry-footer-section a {
  color: var(--text-light);
  text-decoration: none;
}
.entry-footer .customized-footer {
  margin: 1em 0;
  padding: 0 10px 0 10px;
}
.entry-footer .customized-footer .hatena-module-related-entries {
  margin-top: 30px;
  margin-bottom: 30px;
}
.entry-footer .customized-footer .hatena-module-related-entries .urllist-entry-body,
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-entry-body {
  display: none;
}
.entry-footer .customized-footer .hatena-module-related-entries .hatena-module-title {
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: bold;
}
.entry-footer .customized-footer .hatena-module-related-entries .hatena-module-body .related-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 0;
}
@media (min-width: 768px) {
  .entry-footer .customized-footer .hatena-module-related-entries .hatena-module-body .related-entries {
    grid-template-columns: 1fr 1fr;
  }
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item {
  margin-bottom: 10px;
  list-style-type: none;
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "thumbnail title" "thumbnail date";
  gap: 5px 12px;
  border-radius: 4px;
  background-color: var(--background);
  transition: all 0.2s ease;
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item-inner .urllist-image img {
  max-height: 80px;
  width: 100%;
  border-radius: 4px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item-inner .urllist-image-link {
  grid-area: thumbnail;
  align-self: start;
  width: 80px;
  height: 80px;
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item-inner .urllist-title-link {
  grid-area: title;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.4;
  align-self: end;
  text-decoration: none;
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item-inner .urllist-date-link {
  grid-area: date;
  margin: 0;
  padding: 0;
  align-self: start;
  line-height: 1.2;
}
.entry-footer .customized-footer .hatena-module-related-entries .related-entries-item-inner .urllist-date-link a {
  font-size: 0.85em;
  color: var(--text-low-priority);
}
.entry-footer .customized-footer .hatena-module-related-entries .urllist-date-link + .urllist-title-link {
  order: -1;
}
.entry-footer .comment-box {
  position: relative;
  margin: 1em 0;
  border-top: 1px solid var(--border);
  padding: 0 10px 0 10px;
}
.entry-footer .comment-box .comment {
  list-style: none;
  margin: 0 0 15px 0;
  padding: 0;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .entry-footer .comment-box .comment {
    font-size: 0.9rem;
  }
}
.entry-footer .comment-box .comment::before {
  content: "Discussion";
  display: flex;
  width: 100%;
  font-weight: bold;
  font-size: 1.2em;
  padding-top: 15px;
  padding-bottom: 10px;
}
.entry-footer .comment-box .entry-comment {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "user metadata" "content content";
  gap: 5px 10px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--border);
  width: 90%;
  margin: 0;
  transition: all 0.2s ease;
}
.entry-footer .comment-box .read-more-comments {
  padding: 10px 0;
}
.entry-footer .comment-box .comment-user-name {
  grid-area: user;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.3;
}
.entry-footer .comment-box .comment-user-name .hatena-id-icon {
  align-self: center;
  padding-right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 3px;
}
.entry-footer .comment-box .comment-user-name .comment-user-id {
  color: var(--text-body);
  text-decoration: none;
}
.entry-footer .comment-box .comment-metadata {
  grid-area: metadata;
  color: var(--text-light);
  align-self: center;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}
.entry-footer .comment-box .comment-metadata a {
  color: var(--text-light);
}
.entry-footer .comment-box .comment-content {
  grid-area: content;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  color: var(--text-body);
  font-size: 0.85rem;
}
.entry-footer .comment-box .comment-content p {
  margin: 0 0 0.6em 0;
}
.entry-footer .comment-box .leave-comment-title {
  position: relative;
  display: inline-block;
  border: 1px solid var(--border);
  padding: 0 10px 0 10px;
  border-radius: 18px;
  color: var(--text-low-priority);
  font-size: 0.8rem;
}
.entry-footer .comment-box .leave-comment-title:hover {
  background-color: var(--bg-btn-hover);
  text-decoration: none;
  color: var(--text-low-priority);
}
/* Pager */
.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  padding: 2em 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pager:has(.pager-next:only-child) {
  justify-content: flex-end;
}
.pager .pager-prev,
.pager .pager-next {
  padding: 0 10px;
  margin: 0 10px;
  text-align: center;
  max-width: 40%;
}
@media (max-width: 767px) {
  .pager .pager-prev,
  .pager .pager-next {
    padding: 0 5px;
    margin: 0 5px;
  }
}
.pager .pager-prev a {
  padding-left: 5px;
  padding-right: 5px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.pager .pager-prev a::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5 L8 12 L15 19'/%3E%3C/svg%3E");
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 5px;
}
@media (max-width: 767px) {
  .pager .pager-prev a::before {
    display: none;
  }
}
.pager .pager-next a {
  padding-left: 5px;
  padding-right: 5px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.pager .pager-next a::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5 L8 12 L15 19'/%3E%3C/svg%3E");
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: rotate(180deg);
}
@media (max-width: 767px) {
  .pager .pager-next a::after {
    display: none;
  }
}
.pager a {
  padding: 0;
  text-decoration: none;
  display: block;
  position: relative;
  color: var(--text-body);
  font-weight: bold;
  overflow-wrap: break-word;
}
.pager a span {
  display: none;
}
.pager a:hover {
  text-decoration: none;
}
.pager .prev-entry a::before {
  content: "前の記事";
}
.pager .next-entry a::before {
  content: "次の記事";
}
/* サイドバーモジュール */
#box2-inner {
  /* プロフィール */
  /* 関連記事 */
  /* 最新記事 */
  /* 注目記事 */
  /* カテゴリーは_tag_cloud.scssを参照 */
  /* Search module */
  /* 最近のコメント */
  /* 執筆者リスト */
}
#box2-inner .hatena-module {
  width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  #box2-inner .hatena-module {
    width: 31%;
    margin: 0 1%;
  }
}
@media (min-width: 992px) {
  #box2-inner .hatena-module {
    width: 30%;
    margin: 0 1.5%;
  }
}
#box2-inner .hatena-module {
  box-sizing: border-box;
  margin-bottom: 3em;
}
#box2-inner .hatena-module-profile {
  text-align: left;
}
#box2-inner .hatena-module-profile .profile-icon {
  float: left;
  margin: 5px 10px 10px 0;
  display: block;
  width: 40px;
  height: 40px;
}
#box2-inner .hatena-module-profile .id {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3em;
}
#box2-inner .hatena-module-profile .id a {
  color: var(--text-body);
  text-decoration: none;
}
#box2-inner .hatena-module-profile .profile-description {
  text-align: left;
}
#box2-inner .hatena-module-profile .profile-description p {
  margin-top: 0;
}
#box2-inner .hatena-module-profile .profile-about a {
  color: var(--text-body);
  text-decoration: none;
}
#box2-inner .hatena-module-profile .profile-about a:hover {
  text-decoration: underline;
}
#box2-inner .hatena-module-related-entries .urllist-title-link,
#box2-inner .hatena-module-recent-entries .urllist-title-link,
#box2-inner .hatena-module-entries-access-ranking .urllist-title-link {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5rem;
  color: var(--text-body);
  text-decoration: none;
}
#box2-inner .hatena-module-related-entries .urllist-title-link:hover,
#box2-inner .hatena-module-recent-entries .urllist-title-link:hover,
#box2-inner .hatena-module-entries-access-ranking .urllist-title-link:hover {
  text-decoration: none;
}
#box2-inner .hatena-module-related-entries .urllist-date-link a,
#box2-inner .hatena-module-recent-entries .urllist-date-link a,
#box2-inner .hatena-module-entries-access-ranking .urllist-date-link a {
  font-size: 0.85em;
  color: var(--text-low-priority);
}
#box2-inner .related-entries-item-inner,
#box2-inner .recent-entries-item-inner,
#box2-inner .entries-access-ranking-item-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "thumbnail title title" "thumbnail date bookmark-widget-counter" "thumbnail categories categories";
  gap: 0 8px;
}
@media (min-width: 768px) {
  #box2-inner .related-entries-item-inner,
  #box2-inner .recent-entries-item-inner,
  #box2-inner .entries-access-ranking-item-inner {
    grid-template-columns: auto 0fr;
    grid-template-rows: auto auto;
    grid-template-areas: "thumbnail thumbnail" "title title" "date bookmark-widget-counter" "categories categories";
    gap: 5px 0;
  }
}
#box2-inner .related-entries-item-inner .urllist-image-link,
#box2-inner .recent-entries-item-inner .urllist-image-link,
#box2-inner .entries-access-ranking-item-inner .urllist-image-link {
  grid-area: thumbnail;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  margin-right: 10px;
  margin-bottom: 0px;
  width: 80px;
  height: 80px;
}
@media (min-width: 768px) {
  #box2-inner .related-entries-item-inner .urllist-image-link,
  #box2-inner .recent-entries-item-inner .urllist-image-link,
  #box2-inner .entries-access-ranking-item-inner .urllist-image-link {
    margin-bottom: 10px;
    width: 100%;
    height: 100px;
  }
}
@media (max-width: 767px) {
  #box2-inner .related-entries-item-inner .urllist-image-link,
  #box2-inner .recent-entries-item-inner .urllist-image-link,
  #box2-inner .entries-access-ranking-item-inner .urllist-image-link {
    margin: 0 10px 0 0;
    width: 100%;
    padding: 0;
  }
}
#box2-inner .related-entries-item-inner .urllist-image-link img,
#box2-inner .recent-entries-item-inner .urllist-image-link img,
#box2-inner .entries-access-ranking-item-inner .urllist-image-link img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  max-height: 80px;
}
@media (min-width: 768px) {
  #box2-inner .related-entries-item-inner .urllist-image-link img,
  #box2-inner .recent-entries-item-inner .urllist-image-link img,
  #box2-inner .entries-access-ranking-item-inner .urllist-image-link img {
    max-height: 100px;
  }
}
#box2-inner .related-entries-item-inner .urllist-title-link,
#box2-inner .recent-entries-item-inner .urllist-title-link,
#box2-inner .entries-access-ranking-item-inner .urllist-title-link {
  grid-area: title;
  padding: 0;
}
#box2-inner .related-entries-item-inner .urllist-date-link,
#box2-inner .recent-entries-item-inner .urllist-date-link,
#box2-inner .entries-access-ranking-item-inner .urllist-date-link {
  grid-area: date;
  padding: 0;
  color: var(--text-low-priority);
}
#box2-inner .related-entries-item-inner .urllist-categories,
#box2-inner .recent-entries-item-inner .urllist-categories,
#box2-inner .entries-access-ranking-item-inner .urllist-categories {
  grid-area: categories;
  padding: 0;
}
#box2-inner .related-entries-item-inner .urllist-categories a,
#box2-inner .recent-entries-item-inner .urllist-categories a,
#box2-inner .entries-access-ranking-item-inner .urllist-categories a {
  color: var(--text-low-priority);
}
#box2-inner .related-entries-item-inner .urllist-categories .urllist-category-link,
#box2-inner .recent-entries-item-inner .urllist-categories .urllist-category-link,
#box2-inner .entries-access-ranking-item-inner .urllist-categories .urllist-category-link {
  padding: 0;
}
#box2-inner .related-entries-item-inner .bookmark-widget-counter,
#box2-inner .recent-entries-item-inner .bookmark-widget-counter,
#box2-inner .entries-access-ranking-item-inner .bookmark-widget-counter {
  grid-area: bookmark-widget-counter;
  width: 100px;
  padding: 0;
  color: var(--text-low-priority);
  text-align: right;
  padding-right: 10px;
}
#box2-inner .related-entries-item-inner .bookmark-widget-counter a,
#box2-inner .recent-entries-item-inner .bookmark-widget-counter a,
#box2-inner .entries-access-ranking-item-inner .bookmark-widget-counter a {
  color: var(--text-low-priority);
  text-decoration: none;
}
#box2-inner .related-entries-item-inner .bookmark-widget-counter a:hover,
#box2-inner .recent-entries-item-inner .bookmark-widget-counter a:hover,
#box2-inner .entries-access-ranking-item-inner .bookmark-widget-counter a:hover {
  text-decoration: underline;
}
#box2-inner .hatena-module-search-box .search-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
#box2-inner .hatena-module-search-box .search-form:focus-within {
  box-shadow: 0 2px 5px var(--shadow-hover);
}
#box2-inner .hatena-module-search-box .search-module-input {
  flex: 1 0;
  padding: 5px;
  color: var(--text-body);
  width: 80%;
  background: none;
  border: none;
  outline: none;
  height: 20px;
}
#box2-inner .hatena-module-search-box .search-module-button {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Esearch%3C/title%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%3Crect class='a' width='20' height='20'/%3E%3C/svg%3E") no-repeat center;
  background-size: 20px 20px;
  border: none;
  outline: none;
  color: transparent;
  overflow: hidden;
  opacity: 0.5;
  cursor: pointer;
}
#box2-inner .hatena-module-search-box .search-module-button:hover {
  opacity: 0.85;
}
#box2-inner .hatena-module-recent-comments .recent-comments li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "title title" "user date";
  gap: 5px 10px;
  padding: 12px 0;
}
#box2-inner .hatena-module-recent-comments .recent-comments li .user-id {
  grid-area: user;
  display: flex;
  align-items: center;
  margin-left: 2px;
}
#box2-inner .hatena-module-recent-comments .recent-comments li .user-id span {
  font-size: 0.7rem;
  margin-left: 2px;
}
#box2-inner .hatena-module-recent-comments .recent-comments li a {
  grid-area: title;
}
#box2-inner .hatena-module-recent-comments .recent-comments li .recent-comment-time {
  grid-area: date;
  color: var(--text-low-priority);
  font-size: 0.7rem;
}
#box2-inner .hatena-module-authors-list .hatena-urllist a {
  color: var(--text-body);
  font-weight: bold;
}
#box2-inner .hatena-module-authors-list .hatena-urllist a:hover {
  text-decoration: none;
}
#box2-inner .hatena-module-authors-list .hatena-urllist .authors-user-icon {
  width: 28px;
  height: 28px;
}
/* サイドバーモジュール全般設定 */
.hatena-module {
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .hatena-module {
    font-size: 0.9rem;
  }
}
.hatena-module-title {
  margin-bottom: 0.6em;
  padding-bottom: 0.2em;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  color: var(--text-header);
  /* モジュールタイトルは中央揃え */
}
.hatena-module-title a {
  color: var(--text-body);
  text-decoration: none;
}
.hatena-module-title a:hover {
  text-decoration: none;
}
/* urllist全般のスタイル */
.hatena-urllist {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.hatena-urllist li {
  padding: 0.5em 0;
}
.hatena-urllist li:last-child {
  padding-bottom: 0;
}
.hatena-urllist li a {
  color: var(--text-body);
  text-decoration: none;
}
.hatena-urllist li a:hover {
  text-decoration: underline;
}
.hatena-urllist .urllist-category-link {
  font-size: 0.7rem;
  padding: 0.1em 0.3em;
}
.hatena-urllist .urllist-date-link a {
  color: var(--text-low-priority);
}
.hatena-urllist .urllist-entry-body {
  margin-top: 0.3em;
}
/* もっと見る全般のスタイル */
.urllist-see-more a {
  color: var(--text-body);
  text-decoration: none;
}
.urllist-see-more a:hover {
  text-decoration: underline;
}
/* About ページ */
.page-about .entry-content .profile-icon {
  float: left;
  margin: 8px 10px 10px 0;
  display: block;
  height: 40px;
}
.page-about .entry-content a {
  font-weight: bold;
  color: var(--text-body);
  text-decoration: none;
}
.page-about .entry-content dt {
  font-weight: bold;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5em;
}
.page-about .entry-content dd {
  margin-left: 0;
  margin-bottom: 2em;
}
/* Archive */
.archive-header-category {
  text-align: center;
}
.page-archive {
  /* アーカイブエントリーのスタイル */
  /* アーカイブエントリーのヘッダー */
  /* アーカイブエントリーのサムネイル */
  /* アーカイブエントリーのカテゴリ */
}
.page-archive .archive-entries {
  display: grid;
}
@media (min-width: 768px) {
  .page-archive .archive-entries {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
    row-gap: 1rem;
  }
}
@media (max-width: 767px) {
  .page-archive .archive-entries {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.page-archive .archive-entry {
  position: relative;
  display: grid;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  box-sizing: content-box;
  background-color: var(--background);
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: "thumbnail header" "thumbnail categories" "thumbnail body";
  gap: 2px auto;
  align-items: left;
}
@media (min-width: 768px) {
  .page-archive .archive-entry {
    grid-template-columns: auto 0fr;
    grid-template-areas: "thumbnail" "header" "categories" "body";
    gap: 2px auto;
  }
}
.page-archive .archive-entry-header {
  grid-area: header;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  word-wrap: break-word;
}
@media (min-width: 768px) {
  .page-archive .archive-entry-header {
    flex-basis: 100%;
  }
}
.page-archive .archive-entry-header h1 {
  font-size: 1.05rem;
  line-break: strict;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5rem;
}
.page-archive .entry-title {
  order: 1;
  margin: 0;
  padding: 0;
  text-align: left;
}
.page-archive .entry-title a {
  text-decoration: none;
  /* アーカイブページだけ訪問済みリンクの色を変える */
}
.page-archive .entry-title a:hover {
  color: var(--text-header);
}
.page-archive .entry-title a:visited {
  color: var(--text-header-visited);
}
.page-archive .archive-date {
  order: 2;
  margin: 0.5em 0 0 0;
  padding: 0;
}
.page-archive .entry-thumb-link {
  grid-area: thumbnail;
  padding: 0;
  max-width: 100%;
}
@media (min-width: 768px) {
  .page-archive .entry-thumb-link {
    margin: 0 0 10px 0;
    width: 100%;
    padding: 0;
  }
}
@media (max-width: 767px) {
  .page-archive .entry-thumb-link {
    margin: 0 10px 0 0;
    width: 100%;
    padding: 0;
  }
}
.page-archive .entry-thumb {
  height: 180px;
  width: inherit;
  background-size: contain;
  background-repeat: no-repeat;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 0;
}
@media (min-width: 768px) {
  .page-archive .entry-thumb {
    background-position: bottom center;
  }
}
@media (max-width: 767px) {
  .page-archive .entry-thumb {
    background-position: top center;
    height: 120px;
    width: 120px;
  }
}
.page-archive .categories {
  grid-area: categories;
  margin: 0;
  padding: 0;
  font-size: 0.7rem;
  color: var(--text-low-priority);
}
.page-archive .categories a {
  color: var(--text-low-priority);
  text-decoration: none;
}
.page-archive .categories a:hover {
  text-decoration: underline;
}
.page-archive .archive-entry-body {
  grid-area: body;
}
.page-archive .archive-entry-body .entry-description {
  display: none;
  margin: 0;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .page-archive .archive-entry-body .entry-description {
    font-size: 0.9rem;
  }
}
.page-archive .archive-entry-body .social-buttons {
  display: block;
  margin-top: 0.2em;
  line-height: 1em;
}
/* footer */
#footer {
  margin-top: 2em;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}
#footer a {
  color: var(--text-light);
}
#footer p {
  margin: 0.5em auto;
}
/* 目次のタイトル部分のスタイル */
.toc-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.8em 1em;
  margin: 0;
  font-weight: bold;
  color: var(--text-body);
  background-color: var(--background);
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid var(--border);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  /* 開閉アイコンのスタイル */
}
.toc-title:hover {
  border-color: #aaa;
}
.toc-title .toc-toggle-icon {
  transition: transform 0.3s ease;
  width: 12px;
  height: 12px;
  position: relative;
  /* 横線 */
  /* 縦線（開いているときは表示、閉じているときは非表示） */
}
.toc-title .toc-toggle-icon::before, .toc-title .toc-toggle-icon::after {
  content: "";
  position: absolute;
  background-color: var(--text-body);
  transition: all 0.3s ease;
}
.toc-title .toc-toggle-icon::before {
  width: 100%;
  height: 2px;
  top: 5px;
  left: 0;
}
.toc-title .toc-toggle-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 5px;
}
/* 閉じている状態のアイコン（縦線を表示） */
.toc-closed .toc-toggle-icon::after {
  transform: scaleY(1);
}
/* 開いている状態のアイコン（縦線を非表示） */
.toc-open .toc-toggle-icon::after {
  transform: scaleY(0);
}
/* 閉じているときのタイトル部分の角丸調整 */
.toc-closed .toc-title {
  border-radius: 10px;
}
/* 目次コンテンツ部分のトランジション */
.toc-content {
  transition: max-height 0.3s ease;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.toc-content::-webkit-scrollbar {
  width: 6px;
}
.toc-content::-webkit-scrollbar-track {
  background: transparent;
}
.toc-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
/* 閉じているときのスタイル */
.toc-closed .toc-content {
  max-height: 0;
  overflow: hidden;
}
/* 目次全体のマージン調整 */
ul.table-of-contents {
  margin-top: 0;
  margin-bottom: 1em;
  /* 閉じているときの角丸調整 */
}
ul.table-of-contents.toc-closed {
  border-radius: 10px;
}
/* タイトルがあるときの目次部分の角丸調整 */
.toc-container .table-of-contents {
  border-radius: 0 0 10px 10px;
}
/* 目次ボタンとフロート表示のスタイル */
/* 目次ボタン */
.toc-button {
  position: fixed;
  top: 1.1rem;
  right: 4rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--background);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.toc-button:hover {
  border-color: #aaa;
}
.toc-button .toc-button-text {
  color: var(--text-body);
  margin-right: 4px;
}
.toc-button .toc-button-icon {
  position: relative;
  display: inline-block;
  margin-top: 1px;
}
.toc-button .toc-button-icon::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.toc-button.active .toc-button-icon::before {
  transform: rotate(135deg);
}
/* フローティング目次コンテナ */
.floating-toc {
  position: fixed;
  top: 5em;
  right: 1em;
  width: 250px;
  max-width: 80vw;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 1.1em 1.3em;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  font-size: 0.9em;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  /* 目次全体のホバー効果 */
  /* ページトップへボタンのコンテナ */
  /* ページトップへボタン */
}
.floating-toc::-webkit-scrollbar {
  width: 6px;
}
.floating-toc::-webkit-scrollbar-track {
  background: transparent;
}
.floating-toc::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.floating-toc:hover {
  box-shadow: 0 5px 15px var(--shadow-hover);
}
.floating-toc.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.floating-toc .page-top-button-container {
  margin-bottom: 0.3em;
  text-align: left;
  line-height: 1.4;
}
.floating-toc .page-top-button {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text-low-priority);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: left;
}
.floating-toc .page-top-button::before {
  content: "↑";
  margin: 0 12px 0 1px;
  color: var(--text-low-priority);
}
/* 目次のリスト要素のスタイル調整 */
ul.floating-toc-list {
  position: relative;
  /* ボックスのリセット */
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  /* 目次内の縦線（Zenn風） */
  /* トップレベルの項目（h1とその他の見出し） */
}
ul.floating-toc-list::before {
  content: "";
  position: absolute;
  top: 1em;
  bottom: 0.5em;
  left: 0.3em;
  width: 3px;
  background-color: var(--toc-border-bg);
  z-index: 0;
}
ul.floating-toc-list > li {
  margin: 0.8em 0;
  padding-left: 1.2em;
  position: relative;
  transition: all 0.2s ease;
  /* 目次内の標準リストマーカーをすべて消す */
  list-style: none;
  /* h1項目の青丸マーカー */
  /* アクティブ状態の青丸マーカーのスタイル */
  /* すべてのトップレベル見出しのリンクスタイル基本設定 */
  /* h1見出しのリンクスタイル基本設定 */
  /* 子リスト（h2）のスタイル */
}
ul.floating-toc-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 8px;
  height: 8px;
  background-color: var(--toc-marker);
  border: 2px solid var(--background);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.2s ease;
}
ul.floating-toc-list > li:hover::before {
  background-color: var(--link-hover);
}
ul.floating-toc-list > li.active::before {
  background-color: var(--link-hover);
  box-shadow: 0 0 4px rgba(20, 135, 189, 0.5);
  transform: scale(1.2);
}
ul.floating-toc-list > li a {
  padding-left: 0em;
  margin: 0.2em 0;
  text-decoration: none;
  color: var(--text-low-priority);
  line-height: 1.4;
  /* アクティブ状態のリンクスタイル */
}
ul.floating-toc-list > li a.active {
  color: var(--text-body);
  font-weight: bold;
  background-color: var(--bg-toc-hover);
  border-radius: 15px;
  padding-right: 5px;
  transform: translateX(3px);
}
ul.floating-toc-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
}
ul.floating-toc-list > li > a:visited {
  color: var(--text-low-priority);
}
ul.floating-toc-list > li > a:hover {
  color: var(--text-body);
  transform: translateX(3px);
  text-decoration: none;
  background-color: var(--bg-toc-hover);
  border-radius: 15px;
  padding-right: 5px;
}
ul.floating-toc-list > li > ul {
  display: block;
  padding: 0;
  margin: 0.3em 0;
  /* h2階層の項目 */
}
ul.floating-toc-list > li > ul li {
  margin: 0.5em 0;
  position: relative;
  /* 目次内の標準リストマーカーをすべて消す */
  list-style: none;
  /* h2の青丸マーカー */
  /* アクティブ状態のh2の青丸マーカーのスタイル */
  /* h2見出しのリンクスタイル基本設定 */
  /* h3以降を非表示 */
}
ul.floating-toc-list > li > ul li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background-color: var(--toc-marker);
  border: 2px solid var(--background);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.2s ease;
}
ul.floating-toc-list > li > ul li:hover::before {
  background-color: var(--link-hover);
}
ul.floating-toc-list > li > ul li.active::before {
  background-color: var(--link-hover);
  box-shadow: 0 0 4px rgba(20, 135, 189, 0.5);
  transform: scale(1.2);
}
ul.floating-toc-list > li > ul li a {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: normal;
  font-size: 0.95rem;
  /* アクティブ状態のリンクスタイル */
}
ul.floating-toc-list > li > ul li a:visited {
  color: var(--text-low-priority);
}
ul.floating-toc-list > li > ul li a:hover {
  color: var(--text-body);
  transform: translateX(3px);
  text-decoration: none;
  background-color: var(--bg-toc-hover);
  border-radius: 15px;
  padding-right: 5px;
}
ul.floating-toc-list > li > ul li a.active {
  color: var(--text-body);
  font-weight: bold;
  background-color: var(--bg-toc-hover);
  border-radius: 15px;
  padding-right: 5px;
  transform: translateX(3px);
}
ul.floating-toc-list > li > ul li > ul {
  display: none;
}
.code-block-wrapper {
  position: relative;
  margin: 1em 0;
}
.code-block-wrapper:hover .code-button, .code-block-wrapper:hover .code-wrap-toggle, .code-block-wrapper:hover .code-copy-button {
  opacity: 0.75;
}
.code-block-wrapper pre.code {
  margin: 0;
}
.code-block-wrapper pre.code.nowrap {
  white-space: pre;
  overflow-x: auto;
  text-overflow: initial;
}
.code-block-wrapper pre.code.wrap {
  white-space: pre-wrap;
  overflow-x: visible;
}
.code-button, .code-wrap-toggle, .code-copy-button {
  position: absolute;
  top: 0rem;
  margin: 15px;
  width: 28px;
  height: 28px;
  padding: 0;
  background-color: var(--bg-code);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  border: 1px solid var(--bg-code);
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background-color 0.2s;
  /* コピー成功時とエラー時のスタイル */
}
@media (max-width: 768px) {
  .code-button, .code-wrap-toggle, .code-copy-button {
    width: 24px;
    height: 24px;
    background-size: 20px 20px;
  }
}
.code-button:hover, .code-wrap-toggle:hover, .code-copy-button:hover {
  opacity: 1;
  background-color: var(--bg-code);
}
.code-button:focus, .code-wrap-toggle:focus, .code-copy-button:focus {
  outline: none;
}
.code-button.copied, .copied.code-wrap-toggle, .copied.code-copy-button {
  opacity: 1;
}
.code-button.copy-error, .copy-error.code-wrap-toggle, .copy-error.code-copy-button {
  opacity: 1;
}
.code-copy-button {
  right: 0rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='rgba(225, 225, 225, 0.75)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath fill-rule='evenodd' d='M2 11 V3.5 A1.5 1.5 0 0 1 3.5 2 H10' /%3E%3Crect fill-rule='evenodd' x='5' y='5' width='9' height='9' rx='1.5' /%3E%3C/svg%3E");
}
.code-wrap-toggle {
  right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.75)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='7 8 3 12 7 16'/%3E%3Cpolyline points='17 8 21 12 17 16'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3C/svg%3E");
}
.code-button[title]:hover::after, [title].code-copy-button:hover::after, [title].code-wrap-toggle:hover::after {
  content: attr(title);
  position: absolute;
  top: -40px;
  right: 0;
  padding: 4px 8px;
  background-color: var(--bg-code-light);
  color: var(--text-code-tooltip);
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
}
.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.category-cloud li a {
  display: inline-block;
  padding: 0.1rem 0.3rem;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  text-decoration: none;
}
.category-cloud li a:hover {
  background-color: var(--bg-btn-hover);
  text-decoration: none;
}
.category-cloud-item {
  display: inline-block;
  margin: 0;
  padding: 0;
}
.category-cloud-item .category-size-1 {
  font-size: 85%;
}
.category-cloud-item .category-size-2 {
  font-size: 90%;
}
.category-cloud-item .category-size-3 {
  font-size: 100%;
}
.category-cloud-item .category-size-4 {
  font-size: 110%;
}
.category-cloud-item .category-size-5 {
  font-size: 120%;
}
.category-cloud-item .category-size-6 {
  font-size: 130%;
}
.category-cloud-item .category-size-7 {
  font-size: 140%;
}
.category-cloud-item .category-size-8 {
  font-size: 150%;
}
.category-cloud-item .category-size-9 {
  font-size: 160%;
}
.category-cloud-item .category-size-10 {
  font-size: 170%;
}
.theme-toggle-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.theme-toggle-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 2px 4px var(--shadow);
  background-color: var(--background);
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme-toggle-main:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-btn-hover);
}
.theme-toggle-main .current-mode-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
.theme-toggle-main .current-mode-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: var(--text-body);
}
@media (max-width: 767px) {
  .theme-toggle-main {
    width: 2.2rem;
    height: 2.2rem;
  }
  .theme-toggle-main .current-mode-icon svg {
    width: 1rem;
    height: 1rem;
  }
}
.theme-toggle-dropdown {
  display: none;
  flex-direction: column;
  background-color: var(--background);
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  min-width: 150px;
}
.theme-toggle-dropdown.show {
  display: flex;
  animation: fadeIn 0.2s ease-in-out;
}
.theme-toggle-dropdown .theme-toggle-option {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
  text-align: left;
}
.theme-toggle-dropdown .theme-toggle-option:hover {
  background-color: var(--bg-btn-hover);
}
.theme-toggle-dropdown .theme-toggle-option.active {
  background-color: var(--bg-toc-hover);
  font-weight: bold;
}
.theme-toggle-dropdown .theme-toggle-option .theme-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}
.theme-toggle-dropdown .theme-toggle-option .theme-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-body);
}
.theme-toggle-dropdown .theme-toggle-option .theme-label {
  color: var(--text-body);
  font-size: 0.9rem;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html[data-enable-dark-mode=true][data-theme=dark] {
  --background: #0d1117;
  --bg-light: #1a1d21;
  --bg-code: #161b22;
  --bg-code-selection: rgba(170, 170, 170, 0.2509803922);
  --bg-code-light: #1e232a;
  --bg-span: rgba(59, 87, 115, 0.6666666667);
  --bg-toc-hover: rgba(56, 139, 253, 0.1);
  --bg-archive-category: #1a1d21;
  --bg-archive-category-hover: rgb(59.7118644068, 66.6016949153, 75.7881355932);
  --bg-btn-hover: #1a1d21;
  --text-body: #ffffff;
  --text-low-priority: #8b949e;
  --text-light: #808080;
  --text-header: #e6edf3;
  --text-archive-category: #e6edf3;
  --text-header-visited: rgb(126.6216216216, 162.5675675676, 193.3783783784);
  --text-code-tooltip: #c9d1d9;
  --link: #58a6ff;
  --link-hover: rgb(113.5, 179.5898203593, 255);
  --link-bg: rgba(56, 139, 253, 0.1);
  --border: #30363d;
  --border-light: #21262d;
  --border-bq: #3b434b;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-light: rgba(0, 0, 0, 0.2);
  --shadow-hover: rgba(0, 0, 0, 0.4);
  --toc-border-bg: #203a5d;
  --toc-marker: #388bfd;
  --table-th-bg: #161b22;
  --table-border: #30363d;
  --code-copy-bg: rgba(33, 38, 45, 0.75);
  --code-copy-success-bg: #238636;
  --code-copy-failed-bg: #da3633;
  --codeblock-language-colors-text: #fff;
  --codeblock-language-colors-keyword: #ff8fa3;
  --codeblock-language-colors-function: #38c7ff;
  --codeblock-language-colors-punctuation: #939bc1;
  --codeblock-language-colors-number: #ffc56d;
  --codeblock-language-colors-comment: #94a1b3;
}
@media (prefers-color-scheme: dark) {
  html[data-enable-dark-mode=true]:not([data-theme=light]):not([data-theme=dark]) {
    --background: #0d1117;
    --bg-light: #1a1d21;
    --bg-code: #161b22;
    --bg-code-selection: rgba(170, 170, 170, 0.2509803922);
    --bg-code-light: #1e232a;
    --bg-span: rgba(59, 87, 115, 0.6666666667);
    --bg-toc-hover: rgba(56, 139, 253, 0.1);
    --bg-archive-category: #1a1d21;
    --bg-archive-category-hover: rgb(59.7118644068, 66.6016949153, 75.7881355932);
    --bg-btn-hover: #1a1d21;
    --text-body: #ffffff;
    --text-low-priority: #8b949e;
    --text-light: #808080;
    --text-header: #e6edf3;
    --text-archive-category: #e6edf3;
    --text-header-visited: rgb(126.6216216216, 162.5675675676, 193.3783783784);
    --text-code-tooltip: #c9d1d9;
    --link: #58a6ff;
    --link-hover: rgb(113.5, 179.5898203593, 255);
    --link-bg: rgba(56, 139, 253, 0.1);
    --border: #30363d;
    --border-light: #21262d;
    --border-bq: #3b434b;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-hover: rgba(0, 0, 0, 0.4);
    --toc-border-bg: #203a5d;
    --toc-marker: #388bfd;
    --table-th-bg: #161b22;
    --table-border: #30363d;
    --code-copy-bg: rgba(33, 38, 45, 0.75);
    --code-copy-success-bg: #238636;
    --code-copy-failed-bg: #da3633;
    --codeblock-language-colors-text: #fff;
    --codeblock-language-colors-keyword: #ff8fa3;
    --codeblock-language-colors-function: #38c7ff;
    --codeblock-language-colors-punctuation: #939bc1;
    --codeblock-language-colors-number: #ffc56d;
    --codeblock-language-colors-comment: #94a1b3;
  }
}
/* </system> */

#title a {
  font-family: 'Kaushan Script', cursive, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", 'Helvetica Neue', 'Helvetica', 'Meiryo', sans-serif, "Segoe UI Emoji";
}
