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

/* </system> */


/* =========================================
   ぐわぐわ団 CSS
   2026 UI / UX 整備版

   方針
   - 現在の見た目をできるだけ維持
   - 背景＋白膜による読みやすさを維持
   - PC：本文＋サイドバー
   - スマホ縦：1カラム
   - スマホ横〜タブレット横：2カラム
   - iPad縦：中央配置を安定化
   - ページャを正常化
   - タップ領域・フォーカス表示を改善
   - Smoothテーマ由来のfloat等を安全に上書き
   - 重複CSSを除去
========================================= */


/* =========================
   基本
========================= */

html{
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  background-image:
    url('https://cdn-ak.f.st-hatena.com/images/fotolife/m/make_usagi/20260104/20260104212902_120.jpg');
  background-repeat: repeat;
  background-position: left top;
  background-attachment: scroll;
  background-size: 320px 320px;
  background-color: transparent;
}

/* 背景を少し白く覆い、本文の可読性を確保 */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.62);
  pointer-events: none;
  z-index: 0;
}

/* 背景膜よりコンテンツを前へ */
#container,
#content,
#content-inner,
#wrapper,
#main,
#box1,
#box2,
#footer,
#bottom-editarea{
  position: relative;
  z-index: 1;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}


/* =========================
   コンテナ
========================= */

#container{
  padding-top: 30px;
  margin-bottom: 0;
}

#content-inner{
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px 30px !important;

  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
}


/* =========================
   メインレイアウト
========================= */

/* Smoothテーマ側のfloatを解除 */
#box1,
#box2{
  float: none !important;
}

#wrapper,
#main,
#box1{
  min-width: 0;
}

#box1{
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#box2{
  flex: 0 0 300px !important;
  width: 300px !important;
  min-width: 0 !important;

  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);

  padding: 16px;
  margin-top: 2px;
}


/* =========================
   記事カード
========================= */

.entry{
  background: rgba(255,255,255,.94) !important;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);

  padding: 26px 36px !important;
  margin-bottom: 18px;

  overflow: hidden;
}

/* 個別記事 */
.page-entry .entry{
  padding: 32px 40px !important;
}


/* =========================
   本文
========================= */

.entry-content{
  font-size: 19px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: #363636;

  overflow-wrap: break-word;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "游ゴシック体",
    YuGothic,
    "Yu Gothic M",
    "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN W3",
    "メイリオ",
    Meiryo,
    "Segoe UI",
    sans-serif;
}

.entry-content p{
  margin: 0 0 1.2em;
}

.entry-content ul,
.entry-content ol{
  margin: 0 0 1.2em 1.2em;
  padding-left: .8em;
}

.entry-content li{
  margin: .35em 0;
}


/* =========================
   見出し
========================= */

.entry-content h2{
  margin: 2em 0 .8em;
  padding-left: .7em;

  border-left: 6px solid #222;

  line-height: 1.35;
}

.entry-content h3{
  margin: 1.6em 0 .6em;

  line-height: 1.35;
  color: #222;
}


/* =========================
   記事タイトル
========================= */

.entry-title{
  overflow-wrap: anywhere;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "游ゴシック体",
    YuGothic,
    "Yu Gothic",
    "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN",
    "メイリオ",
    Meiryo,
    sans-serif !important;

  font-weight: 700;
}

.entry-title a{
  font-weight: 700;
  letter-spacing: .04em;
}

.page-entry .entry-title{
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 1.2em;
}


/* =========================
   画像
========================= */

.entry-content img{
  display: block;

  max-width: 100%;
  height: auto;

  margin: 1.4em auto;

  border-radius: 12px;
}


/* =========================
   リンク
========================= */

.entry-content a{
  overflow-wrap: anywhere;
}

/* キーボード操作時のみ分かりやすく */
a:focus-visible,
button:focus-visible,
input:focus-visible{
  outline: 3px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}


/* =========================
   引用
========================= */

blockquote{
  margin: 1.2em 0;
  padding: 1em 1.2em;

  background: #f6f7f9;
  border-left: 4px solid #ccc;
  border-radius: 8px;
}


/* =========================
   ヘッダー画像
========================= */

#blog-title{
  height: initial;
  padding-top: 30px;
  padding-bottom: 20px;
}

.header-image-only #blog-title #blog-title-inner{
  height: 100px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


/* =========================
   サイドバー
========================= */

#box2 h2,
#box2 h3,
.hatena-module-title{
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "游ゴシック体",
    YuGothic,
    "Yu Gothic",
    "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN",
    "メイリオ",
    Meiryo,
    sans-serif !important;

  font-weight: 700;
  letter-spacing: .03em;
}

/* 長いURLや文字列でサイドバーを破壊しない */
#box2,
#box2 a,
.hatena-module{
  overflow-wrap: anywhere;
}

/* 検索欄を枠内に確実に収める */
.hatena-module-search-box .search-module-input{
  box-sizing: border-box;
  max-width: 100%;
}


/* =========================
   ページャ
========================= */

/*
   「前のページ」「次のページ」を
   Smoothテーマ任せにせず明示的に配置する。
*/

.pager{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;

  gap: 12px !important;

  width: 100% !important;
  margin: 16px 0 18px !important;
  padding: 0 !important;

  clear: both !important;
}

.pager::before,
.pager::after{
  display: none !important;
  content: none !important;
}

.pager-prev,
.pager-next{
  float: none !important;

  width: auto !important;
  max-width: 48% !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pager-prev{
  margin-right: auto !important;
}

.pager-next{
  margin-left: auto !important;
}

.pager a{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 150px !important;
  min-height: 46px !important;

  padding: 10px 18px !important;
  margin: 0 !important;

  background: rgba(255,255,255,.94) !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.06) !important;

  color: inherit;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;

  transition:
    background-color .15s ease,
    box-shadow .15s ease,
    transform .15s ease;
}

.pager a:hover{
  background: #ececec !important;
  text-decoration: none !important;
}

.pager a:active{
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0,0,0,.07) !important;
}


/* =========================
   パンくず
========================= */

.breadcrumb{
  display: inline-block;

  margin: 12px 0 20px;
  padding: 6px 14px;

  max-width: 100%;

  background: rgba(255,255,255,.85);
  border-radius: 12px;

  font-size: 14px;
  line-height: 1.6;

  overflow-wrap: anywhere;
}

.breadcrumb a{
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover{
  text-decoration: underline;
}

/* 記事タイトル部分をパンくずから除外 */
.breadcrumb .breadcrumb-child:last-of-type{
  display: none !important;
}

/* 記事タイトル直前の区切りも除外 */
.breadcrumb .breadcrumb-gt:nth-last-of-type(2){
  display: none !important;
}


/* =========================
   フッター
========================= */

#bottom-editarea{
  display: block !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
}

#footer{
  width: min(1200px, calc(100% - 40px)) !important;

  margin: 18px auto 22px !important;
  padding: 14px 20px !important;

  background: rgba(255,255,255,.70) !important;

  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;

  text-align: center !important;
}

#footer,
#footer a{
  color: #777 !important;
  font-size: 13px !important;
}

#footer ul,
#footer li{
  list-style: none !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* =========================
   マーカー
========================= */

.marker-orange{
  background: linear-gradient(
    transparent 60%,
    #ffa500 60%
  );
}

.marker-yellow{
  background: linear-gradient(
    transparent 60%,
    #ffff00 60%
  );
}

.marker-lawngreen{
  background: linear-gradient(
    transparent 60%,
    #7cfc00 60%
  );
}


/* =========================================
   レスポンシブ
========================================= */


/* =========================
   iPadなど縦向きタブレット
========================= */

@media screen
  and (min-width: 768px)
  and (max-width: 1024px)
  and (orientation: portrait){

  #content-inner{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #wrapper,
  #main,
  #box1{
    float: none !important;
    min-width: 0 !important;
  }

  .entry{
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #box2{
    flex-basis: 260px !important;
    width: 260px !important;
  }
}


/* =========================
   スマホ横〜タブレット横
   2カラムを維持
========================= */

@media screen
  and (orientation: landscape)
  and (min-width: 568px)
  and (max-width: 1024px){

  #content-inner{
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;

    gap: 14px !important;

    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #wrapper{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  #box2{
    display: block !important;

    flex: 0 0 260px !important;

    width: 260px !important;
    max-width: 280px !important;
    min-width: 240px !important;
  }

  .hatena-module-search-box .search-module-input{
    padding: 8px 10px !important;
  }
}


/* =========================
   スマホ縦
   明示的に1カラム化
========================= */

@media screen
  and (max-width: 767px)
  and (orientation: portrait){

  #container{
    padding-top: 14px;
  }

  #content-inner{
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;

    gap: 14px !important;

    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #wrapper,
  #main,
  #box1,
  #box2{
    float: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;
  }

  #box1{
    flex: none !important;
  }

  #box2{
    flex: none !important;

    padding: 14px;

    margin-top: 0;
  }

  .entry{
    padding: 18px 16px !important;
  }

  .entry-content{
    font-size: 18px !important;
    line-height: 1.9 !important;
  }

  .page-entry .entry{
    padding: 20px 16px !important;
  }

  .page-entry .entry-title{
    font-size: 23px !important;
  }

  .header-image-only #blog-title #blog-title-inner{
    height: 60px;
  }

  #blog-title{
    padding-top: 15px;
    padding-bottom: 15px;
  }

  /* ページャはスマホでも左右配置 */
  .pager{
    gap: 8px !important;
  }

  .pager-prev,
  .pager-next{
    max-width: calc(50% - 4px) !important;
  }

  .pager a{
    min-width: 0 !important;
    min-height: 44px !important;

    padding: 9px 12px !important;

    font-size: 14px;
  }

  #footer{
    width: calc(100% - 16px) !important;
  }
}


/* =========================
   小型スマホ
========================= */

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

  #content-inner{
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .entry{
    padding: 16px 12px !important;
    border-radius: 14px;
  }

  .page-entry .entry{
    padding: 18px 12px !important;
  }

  .breadcrumb{
    margin-top: 8px;
    margin-bottom: 14px;

    padding: 5px 10px;

    font-size: 13px;
  }

  .pager a{
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
}


/* =========================
   動きを減らす設定の利用者
========================= */

@media (prefers-reduced-motion: reduce){

  .pager a{
    transition: none;
  }
}

/* =========================================
   サイドバー UI / UX 改善
========================================= */


/* モジュール同士の区切りを明確に */
#box2 .hatena-module{
  margin-bottom: 24px;
}

#box2 .hatena-module:last-child{
  margin-bottom: 0;
}


/* 見出しを少しだけ整理 */
#box2 .hatena-module-title{
  margin: 0 0 10px;
  padding-bottom: 7px;

  border-bottom: 1px solid rgba(0,0,0,.10);

  font-size: 16px;
  line-height: 1.4;
}


/* =========================
   サイドバー共通リンク
========================= */

/*
   リンクの上下に少し余白を追加。
   スマホでの押し間違いも減らす。
*/
#box2 .hatena-module-body a{
  line-height: 1.55;
}


/* リストの余計なインデントを整理 */
#box2 .hatena-module-body ul{
  margin-top: 0;
  margin-bottom: 0;
}

#box2 .hatena-module-body li{
  line-height: 1.5;
}


/* =========================
   検索
========================= */

.hatena-module-search-box .search-form{
  display: flex;
  width: 100%;
}

.hatena-module-search-box .search-module-input{
  width: 100% !important;
  min-width: 0;
  height: 42px;

  padding: 8px 12px !important;

  border: 1px solid #ccc;
  border-radius: 9px;

  background: #fff;

  font-size: 16px;

  transition:
    border-color .15s ease,
    box-shadow .15s ease;
}

.hatena-module-search-box .search-module-input:focus{
  border-color: #888;
  outline: none;

  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}


/* 検索ボタンが存在するテーマの場合 */
.hatena-module-search-box .search-module-button{
  min-width: 42px;
  min-height: 42px;
}


/* =========================
   最近の記事
========================= */

#box2 .hatena-module-recent-entries li{
  margin-bottom: 7px;
}

#box2 .hatena-module-recent-entries li:last-child{
  margin-bottom: 0;
}


/* =========================
   カテゴリ（話題一覧）
========================= */

#box2 .hatena-module-category li{
  margin: 0;
}

#box2 .hatena-module-category li a{
  display: block;

  padding: 5px 6px;

  border-radius: 6px;

  text-decoration: none;

  transition: background-color .12s ease;
}

#box2 .hatena-module-category li a:hover{
  background: rgba(0,0,0,.055);
  text-decoration: none;
}


/* =========================
   月別アーカイブ
========================= */

/*
   年単位の項目を少し押しやすくする。
   はてな標準の開閉機能はそのまま利用。
*/
#box2 .hatena-module-archive .archive-module-year{
  margin-top: 4px;
}


/* 年のリンク */
#box2 .hatena-module-archive .archive-module-year > a{
  display: inline-block;

  padding: 4px 5px;

  border-radius: 6px;

  font-weight: 600;
  text-decoration: none;
}

#box2 .hatena-module-archive .archive-module-year > a:hover{
  background: rgba(0,0,0,.055);
}


/* 月 */
#box2 .hatena-module-archive .archive-module-month{
  margin: 1px 0;
}

#box2 .hatena-module-archive .archive-module-month a{
  display: block;

  padding: 4px 6px;

  border-radius: 6px;

  text-decoration: none;

  transition: background-color .12s ease;
}

#box2 .hatena-module-archive .archive-module-month a:hover{
  background: rgba(0,0,0,.055);
  text-decoration: none;
}


/* =========================
   プロフィール・その他
========================= */

#box2 .hatena-module-profile .profile-description{
  line-height: 1.65;
}

#box2 img{
  max-width: 100%;
  height: auto;
}


/* =========================
   Kindle等のカスタム領域
========================= */

/*
   テーブルが300pxのサイドバーから
   はみ出さないようにする。
*/
#box2 table{
  width: 100%;
  max-width: 100%;

  table-layout: fixed;
}

#box2 td,
#box2 th{
  overflow-wrap: anywhere;
}


/* =========================
   PCのみ：リンクを軽く反応させる
========================= */

@media (hover: hover){

  #box2 a{
    transition:
      background-color .12s ease,
      opacity .12s ease;
  }
}


/* =========================
   スマホ
========================= */

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

  #box2{
    padding: 16px;
  }

  #box2 .hatena-module{
    margin-bottom: 28px;
  }

  /*
     タップ対象を少し大きく。
     本文ではなくサイドバーだけなので
     間延びしすぎない。
  */
  #box2 .hatena-module-category li a,
  #box2 .hatena-module-archive .archive-module-month a{
    padding-top: 7px;
    padding-bottom: 7px;
  }

  #box2 .hatena-module-archive .archive-module-year > a{
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .hatena-module-search-box .search-module-input{
    height: 44px;
  }
}