/* たけ丸メモ — WordPress（AFFINGER5）時代の見た目に合わせた CSS
   色・大きさは 2026-11-09 に公開中のページから測った値 */

:root {
  --text: #333;
  --link: #4682b4;
  --page-bg: #bac4c2;
  --green: #97c4b8;
  --teal: #4293a3;
  --blue: #275ee8;
  --blue-light: #688ce8;
  --bubble-left: #ddf5ff;
  --bubble-right: #f4e3f1;
  --check: #51a3c6;
  --user: #6493c9;
  --marker: #e1f5fe;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "メイリオ", meiryo, sans-serif;
  --font-head: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page-bg); color: #000; font-family: var(--font); }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--link); }

/* ヘッダー */
#site-header {
  background: url("/wp-content/uploads/2020/08/3david-travis-5bYxXawHOQg-unsplash-1.jpg") center bottom / cover,
              linear-gradient(var(--teal), var(--green));
  text-align: center;
  padding: 10px 10px 15px;
}
#site-header .descr { margin: 0 0 5px; padding-top: 5px; font-size: 13px; line-height: 1.5; color: #0012e2; }
#site-header .sitename { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.5; }
#site-header .sitename a { color: #0012e2; text-decoration: none; }

#global-nav { background: linear-gradient(var(--green), var(--teal)); border: 1px solid var(--teal); }
#global-nav ul { display: flex; justify-content: center; max-width: 1060px; margin: 0 auto; padding: 0; list-style: none; }
/* 今のサイトと同じ: 1項目 250px・右に薄い緑の縦線（最後の項目は線なし） */
#global-nav li { flex: 0 1 250px; border-right: 1px solid var(--green); }
#global-nav li:last-child { border-right: none; }
#global-nav a { display: block; color: #fff; font-size: 13px; font-weight: 700; line-height: 40px; text-align: center; text-decoration: none; }

/* 本文と横の欄 */
#content { display: flex; gap: 20px; align-items: flex-start; max-width: 1060px; margin: 20px auto; }
main { flex: 1; min-width: 0; background: #fff; border-radius: 4px; padding: 30px 50px; }
#side { width: 300px; flex-shrink: 0; }

/* 記事の上の部品（今のサイトと同じ値: パンくず 13px・カテゴリーの印 13px・日付 14px の青） */
.breadcrumb { font-size: 13px; line-height: 19.5px; color: #333; margin-bottom: 10px; }
.breadcrumb a { color: #0e65c9; text-decoration: none; }
.st-catgroup { margin: 0; padding: 5px 0 10px; font-size: 12px; line-height: 18px; }
.st-catgroup a { text-decoration: none; }
.catname { display: inline-block; margin: 5px 0 0; padding: 7px 12px; border-radius: 12px; background: #0e65c9; color: #fff; font-size: 13px; line-height: 13px; }
.post .entry-title, .archive .entry-title { margin: 0 0 10px; padding-top: 10px; font-family: var(--font-head); font-size: 19px; line-height: 36px; color: var(--text); }
.blogbox { margin: 0 0 10px; color: #333; }
.blogbox p { margin: 0; color: #0e65c9; font-size: 14px; line-height: 18px; }
.blogbox .fa { margin-right: 5px; }
.page .blogbox, article > .blogbox:last-child { margin-top: 20px; }
.eyecatch { margin-bottom: 20px; }

.entry-content { color: var(--text); font-size: 17px; line-height: 31px; overflow-wrap: anywhere; }
.entry-content p { margin: 0 0 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px; }

/* 見出し */
.entry-content h2 {
  position: relative; margin: 20px 0; padding: 15px 19px 15px 25px;
  border: 1px solid var(--blue); border-radius: 5px;
  background: linear-gradient(#fff, #f7f7f7);
  font-family: var(--font-head); font-size: 19px; line-height: 31px; color: var(--text);
}
.entry-content h2::after {
  content: ""; position: absolute; left: 9.5px; top: 9.5px; bottom: 9.5px; width: 5px; background: var(--blue);
}
.entry-content h3 {
  position: relative; margin: 20px 0; padding: 10px 20px 10px 30px;
  border-radius: 5px; background: linear-gradient(#fff, #f9f9f9);
  font-family: var(--font-head); font-size: 18px; line-height: 31px; color: var(--text);
}
.entry-content h3::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: var(--blue-light);
}
.entry-content h4 { margin: 20px 0; padding-bottom: 5px; border-bottom: 1px dotted #ccc; font-size: 17px; color: var(--text); }

/* 目次 */
#toc_container { display: table; min-width: 150px; margin: 0 auto 20px; text-align: center; padding: 10px 20px; border: 5px solid var(--blue-light); border-radius: 5px; background: #f9f9f9; font-size: 95%; }
#toc_container .toc_toggle { margin-left: 4px; font-size: 14px; font-weight: 400; }
#toc_container .toc_title { margin: 0; text-align: center; font-size: 17px; font-weight: 700; color: var(--blue-light); }
#toc_container ul { margin: 0; padding: 0; list-style: none; }
#toc_container ul ul { margin-left: 1.5em; }
#toc_container a { color: var(--blue-light); text-decoration: none; }
#toc_container .toc_number { margin-right: 4px; }

/* 会話の吹き出し（左＝たけ丸、右＝読者） */
.st-kaiwa-box { display: table; width: 100%; margin: 0 0 20px; }
.st-kaiwa-face, .st-kaiwa-face2 { display: table-cell; width: 80px; vertical-align: top; text-align: center; }
.st-kaiwa-face img, .st-kaiwa-face2 img { width: 80px; height: 80px; border: 1px solid #ccc; border-radius: 60px; object-fit: cover; }
.st-kaiwa-face-name, .st-kaiwa-face-name2 { max-width: 80px; font-size: 11.2px; line-height: 1.5; color: #616161; }
.st-kaiwa-area { display: table-cell; padding-top: 10px; vertical-align: top; text-align: left; }
.st-kaiwa-area2 { display: table-cell; padding-top: 10px; vertical-align: top; text-align: right; }
.st-kaiwa-hukidashi, .st-kaiwa-hukidashi2 {
  position: relative; display: inline-block; padding: 15px 20px; border-radius: 7px; text-align: left; font-size: 17px; line-height: 31px;
}
.st-kaiwa-hukidashi { margin-left: 20px; background: var(--bubble-left); }
.st-kaiwa-hukidashi2 { margin-right: 20px; background: var(--bubble-right); }
.st-kaiwa-hukidashi::after, .st-kaiwa-hukidashi2::after {
  content: ""; position: absolute; top: 30px; margin-top: -10px; border: 10px solid transparent;
}
.st-kaiwa-hukidashi::after { left: -10px; border-left-width: 0; border-right-color: var(--bubble-left); }
.st-kaiwa-hukidashi2::after { right: -10px; border-right-width: 0; border-left-color: var(--bubble-right); }
.st-kaiwa-hukidashi p, .st-kaiwa-hukidashi2 p { margin: 0; }

/* 囲みボックス（色・枠は本文の style 属性で個別に指定されている） */
.st-mybox { position: relative; margin: 25px 0; padding: 0 20px; border: 2px solid var(--green); border-radius: 2px; }
.st-mybox-title { position: absolute; left: 10px; top: -12px; margin: 0 0 10px; padding: 0 10px; background: inherit; font-size: 15px; font-weight: 700; line-height: 22.5px; color: #757575; }
.st-mybox-title .fa { margin-right: 4px; }
.st-in-mybox { padding: 20px 0; }
/* 見出しを枠の中に置く型（st-title-under）と、番号つきリスト（st-list-no） */
.st-mybox.st-title-under .st-mybox-title { position: relative; top: 0; left: 0; display: inline-block; margin: 20px 0; padding: 0 10px 10px; background: none; }
.st-mybox.st-title-border .st-mybox-title { border-bottom: 2px solid #757575; }
.st-mybox.st-title-under .st-in-mybox { padding: 0 0 20px; }
.st-list-no ul, .st-list-no ol { margin: 0; padding: 0; list-style: none; counter-reset: st-list-count; }
.st-list-no li { position: relative; padding: 0 0 5px 30px; font-size: 17px; line-height: 31px; counter-increment: st-list-count; }
.st-list-no li::before { content: counter(st-list-count); position: absolute; left: 0; top: 4.8px; width: 20px; height: 20px; background: #548bc9; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.st-in-mybox p { margin: 0 0 10px; }
.st-in-mybox p:last-child, .yellowbox p:last-child, .st-card-excerpt p:last-child { margin-bottom: 0; }
.yellowbox { margin: 0 0 20px; padding: 20px; border: 1px solid #fffacd; background: #ffffe0; }
.yellowbox p { margin: 0 0 20px; }

/* チェック印・人の印・注意の印 */
.checkmark2::before, .usermark2::before, .attentionmark2::before {
  font-family: FontAwesome; margin-right: 7px;
}
.checkmark2::before { content: "\f058"; color: var(--check); }
.usermark2::before { content: "\f2bd"; color: var(--user); }
.attentionmark2::before { content: "\f06a"; color: #f44336; }

/* 下線マーカー・太字 */
.bmarker-s, .rmarker-s { font-weight: 700; background: linear-gradient(transparent 70%, var(--marker) 0%); }

/* 小さな見出しの吹き出し（ココがポイント など） */
.st-minihukidashi-box { margin: 0; }
.st-minihukidashi { position: relative; display: inline-block; margin: 0; padding: 5px 20px; line-height: 30px; }
.st-minihukidashi-arrow { position: absolute; left: 30px; bottom: -10px; border: 10px solid transparent; border-bottom-width: 0; }
.st-minihukidashi-flexbox .fa { margin-right: 6px; }

/* 関連記事カード */
.st-cardlink { display: block; color: inherit; text-decoration: none; }
.st-cardbox { margin: 30px 0; padding: 15px; border: 3px solid var(--green); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.st-cardbox dl { display: flex; gap: 15px; margin: 0; }
.st-cardbox dt { flex-shrink: 0; width: 100px; margin: 0; }
.st-card-img img { width: 100px; height: 100px; object-fit: cover; }
.st-cardbox dd { margin: 0; }
.st-cardbox-t { margin: 0 0 10px; font-size: 16px; line-height: 26px; color: var(--text); }
.st-card-excerpt p { margin: 0 0 10px; font-size: 13px; line-height: 18px; color: #616161; }
.st-card-excerpt p.cardbox-more { display: inline-block; padding: 5px 10px; border: 1px solid #ccc; font-size: 12.8px; line-height: 21.76px; color: #616161; }

/* 画像・表・埋め込み */
.wp-block-image { margin: 0 0 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.has-text-align-center { text-align: center; }
.has-soft-red-color { color: #e53935; }
.wp-block-table { margin: 0; overflow-x: auto; }
.entry-content table { width: 100%; margin: 0 0 20px; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 10px; font-size: 15px; line-height: 27px; vertical-align: top; border: 1px solid #e0e0e0; }
.entry-content td p { margin: 0 0 10px; font-size: 17px; line-height: 31px; }
.wp-block-embed { margin: 0 0 20px; }
.clearfix::after { content: ""; display: block; clear: both; }

/* 横の欄 */
/* 横の欄のプロフィール（今のサイトと同じ: 上に写真の帯・重なる丸いアバター・中央の紹介文・青い丸のボタン3つ） */
.profile { margin: 0 0 10px; padding: 0 0 10px; overflow: hidden; border: 1px solid #fff; border-radius: 10px; background: #fff; text-align: center; }
.profile-card img { display: block; width: 100%; height: 143px; object-fit: cover; }
.profile .profile-avatar { position: relative; width: 100px; height: 100px; margin: -50px auto 5px; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.profile .nickname { margin: 0 20px 5px; padding-bottom: 5px; color: #333; font-size: 17.6px; font-weight: 700; }
.profile .text { margin: 0 20px 20px; color: #333; font-size: 12.8px; line-height: 1.8; text-align: center; }
.profile-sns { display: flex; justify-content: center; margin: 0 0 10px; padding: 0; list-style: none; }
.profile-sns li { padding: 0 3px; }
.profile-sns a, .sns li a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #19afe5; color: #fff; font-size: 19px; text-decoration: none; }

/* フッター（今のサイトと同じ: 青緑→薄緑のグラデーション・白い文字・白い縦線で区切ったメニュー） */
#site-footer { padding: 20px 10px; background: linear-gradient(var(--teal) 0%, var(--green) 100%); text-align: center; font-size: 12px; line-height: 18px; color: #fff; }
#site-footer ul { margin: 0 0 5px; padding: 10px 0; list-style: none; }
#site-footer li { display: inline; padding: 0; border-right: 1px solid #fff; }
#site-footer li:last-child { border-right: none; }
#site-footer a { color: #fff; text-decoration: none; }
#site-footer ul a { display: inline-block; padding: 10px; line-height: 18px; }
#site-footer .sitename { margin: 0 0 10px; font-size: 22px; line-height: 30px; font-weight: 700; }
#site-footer .descr { margin: 0 0 5px; }
#site-footer .copy { margin: 0 0 5px; }
#site-footer .copy small { font-size: 12.8px; }

/* 右下の「一番上に戻る」ボタン（今のサイトと同じ: 青い丸・白い矢印・少しスクロールすると出る） */
#page-top { position: fixed; right: 15px; bottom: 20px; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
#page-top.show { opacity: 1; visibility: visible; }
#page-top a { display: block; padding: 15px 19px; border-radius: 50%; background: #005ec9; color: #fff; font-size: 27px; line-height: 27px; text-decoration: none; opacity: .8; }
#page-top a:hover { opacity: 1; }

/* スマホでだけ出す空白（WordPress の pcnone/tabnone） */
.pcnone, .tabnone { display: none; }


/* ===== 全ページ用に足した部品（2026-11-09） ===== */

/* 横の欄のウィジェット */
/* 横の欄（今のサイトと同じ: 箱は付けず背景の灰色のまま・見出しは角の丸い帯の内側に青い縦棒） */
.widget { margin-top: 20px; padding: 0; background: none; }
.widget-title { position: relative; margin: 0 0 10px; padding: 5px 0 5px 20px; border: 1px solid var(--green); border-radius: 5px; background: linear-gradient(var(--teal), var(--green)); color: #fff; font-size: 14px; font-weight: 700; line-height: 27px; }
.widget-title::after { content: ""; position: absolute; left: 7px; top: 7px; bottom: 7px; width: 5px; background: #2059e8; }
.widget-body { margin: 0 0 10px; }
.widget-select { width: 100%; padding: 8px 5px; border: 1px solid #767676; border-radius: 0; background: #fff; color: #000; font-size: 16px; font-family: inherit; cursor: pointer; }
/* ブログ村: 白い画像が灰色の上で浮いて見えるように影を付け、押せることが分かるようにする */
.blogmura-link { display: inline-block; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: box-shadow .2s, transform .2s; }
.blogmura-link:hover { box-shadow: 0 3px 8px rgba(0,0,0,.3); transform: translateY(-1px); }
.blogmura-link img { display: block; }
.widget ul { margin: 0; padding: 0 15px; list-style: none; }
.widget li { padding: 6px 0; border-bottom: 1px dotted #ccc; font-size: 14px; }
.widget a { color: var(--text); text-decoration: none; }

/* 記事の一覧（一覧ページ・関連記事・検索結果。今のサイトと同じ: 丸い画像・カテゴリー・題名・日付とタグ・灰色の要約・点線の区切り） */
.kanren:not(.st-cardbox) { padding: 20px 0 0; }
.kanren:not(.st-cardbox) dl { color: #333; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 2px dashed #bcd4dd; }
.kanren:not(.st-cardbox) dl:last-child { border-bottom: none; }
/* 記事の中の広告（今のサイトのテーマと同じ位置：見出しの前・本文の終わり・関連記事の途中） */
.st-h-ad { margin: 0 0 20px; }
.adbox { margin: 20px 0; text-align: center; }
.kanren .st-infeed-adunit { margin: 0 0 20px; padding: 0 0 20px; border-bottom: 2px dashed #bcd4dd; }
/* 「出せる広告が無い」（unfilled）と返ってきた枠は隠す（Google の案内どおり・2026-11-15）。
   ⚠️ 届く前の枠の高さを 0 にするのは不可: Google がその枠を空きとみなして頼まなくなり、自動広告を別の場所に足した（2026-11-15 実測） */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.st-h-ad:has(ins[data-ad-status="unfilled"]), .adbox:has(ins[data-ad-status="unfilled"]),
.ad-post-bottom:has(ins[data-ad-status="unfilled"]) { margin: 0; }
.kanren .st-infeed-adunit:has(ins[data-ad-status="unfilled"]) { margin: 0; padding: 0; border: 0; }
.archive .kanren:not(.st-cardbox) dl { color: #000; }   /* 一覧ページは黒・関連記事は #333（今のサイトと同じ） */
.kanren:not(.st-cardbox) dt { float: left; width: 100px; height: 100px; }
.kanren:not(.st-cardbox) dt img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.kanren:not(.st-cardbox) dd { margin: 0; padding-left: 115px; }
.kanren:not(.st-cardbox) .st-catgroup { padding: 0; }
.kanren:not(.st-cardbox) .catname { margin: 0 0 5px; font-size: 10px; line-height: 10px; }
.kanren:not(.st-cardbox) h3, .kanren:not(.st-cardbox) .kanren-t { margin: 0 0 3px; font-family: var(--font-head); font-size: 15px; line-height: 26px; }
.kanren:not(.st-cardbox) .kanren-t { margin-bottom: 5px; line-height: 27px; }
.kanren:not(.st-cardbox) h3 a, .kanren:not(.st-cardbox) .kanren-t a { color: #333; font-size: 16px; font-weight: 700; line-height: 26px; text-decoration: none; }
.blog_info p { margin: 0 0 3px; color: #000; font-size: 13px; line-height: 20px; }
.blog_info .fa { margin-right: 3px; color: #0e65c9; }
.blog_info a { color: #4682b4; }
.st-excerpt p { margin: 0; color: #888; font-size: 13px; line-height: 23.4px; }

/* URLコピー（白い枠・右下に灰色の影） */
.st-copyurl-btn { margin: 30px 0 20px; text-align: center; }
.st-copyurl-btn a { display: inline-block; padding: 10px 15px; border: 1px solid #bdbdbd; background: #fff; box-shadow: 3px 3px 0 #ccc; color: #424242; text-decoration: none; }
.st-copyurl-btn .fa { margin-right: 5px; }
.copy-toast { position: fixed; left: 50%; bottom: 90px; z-index: 10000; transform: translateX(-50%); padding: 10px 18px; border-radius: 20px; background: rgba(0,0,0,.75); color: #fff; font-size: 14px; }

/* 共有ボタン（青い丸） */
.sns { padding: 10px 0 20px; text-align: center; }
.sns ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 0 20px; padding: 0; list-style: none; }
.sns li { margin: 5px; }
.sns .snstext { display: none; }
/* LINE で送るボタンは、マウスで操作する画面（パソコン）では出さない。
   パソコンのブラウザから LINE で送ると、必ず LINE のログイン画面になるため（スマホは LINE のアプリが開く）。2026-11-12 */
@media (hover: hover) and (pointer: fine) { .sns li.line { display: none; } }
.st-hateb { font-family: Verdana, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: 700; }

/* 書いた人の欄（緑のタブ: この記事を書いた人／最新記事） */
.st-author-box { margin: 0 0 20px; }
#st-tab-menu { margin: 0; padding: 0; list-style: none; }
#st-tab-menu li { display: inline-block; padding: 5px 10px; border-radius: 5px 5px 0 0; background: #fff; color: #4cc4a4; font-size: 14.4px; font-weight: 700; line-height: 27px; cursor: pointer; }
#st-tab-menu li.active { background: #4cc4a4; color: #fff; }
#st-tab-menu .fa { margin-right: 5px; }
#st-tab-box { margin: 0 0 20px; padding: 15px; border: 1px solid #4cc4a4; border-radius: 0 10px 10px; background: #fff; color: #333; }
#st-tab-box > div { display: none; }
#st-tab-box > div.active { display: block; }
#st-tab-box dl { margin: 0; }
#st-tab-box dl::after { content: ""; display: block; clear: both; }
#st-tab-box dt { float: left; width: 80px; }
#st-tab-box dt img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
#st-tab-box dd { margin: 0; padding-left: 100px; }
.st-author-nickname { margin: 0 0 5px; padding: 0 0 5px; color: #333; font-size: 14.4px; font-weight: 700; line-height: 21.6px; }
.st-author-description { margin: 0 0 10px; color: #333; font-size: 14.4px; line-height: 21.6px; }
.st-author-sns { margin: 0; }
.st-author-sns a { margin-right: 6px; color: #55acee; font-size: 22px; text-decoration: none; }
.st-author-sns .st-author-homepage { color: #4cc4a4; }
.st-author-date { margin: 0; color: #4cc4a4; font-size: 14.4px; line-height: 21.6px; }
.st-author-post { margin: 0 0 5px; padding: 0 0 5px; border-bottom: 1px dotted #4cc4a4; font-size: 14.4px; line-height: 21.6px; }
.st-author-post a { color: #333; }
.st-author-archive { margin: 0; padding: 10px 0 0; font-size: 14.4px; text-align: right; }
.st-author-archive a { color: #333; }
.st-author-archive .fa { margin-right: 4px; }

/* カテゴリーとタグの行 */
.tagst { margin: 0 0 20px; padding: 10px 0 0; color: #0e65c9; font-size: 13px; line-height: 27px; }
.tagst .fa { margin-right: 3px; }
.tagst a { display: inline-block; color: #4682b4; }

/* 関連記事の見出し（青い札＋下に青い線） */
h4.point { position: relative; margin: 61px 0 30px; border-bottom: 1px solid #0e65c9; font-size: 14px; line-height: 27px; }
h4.point .point-in { position: absolute; top: -37px; left: 0; padding: 5px 15px; background: #0e65c9; color: #fff; font-size: 15px; font-weight: 700; line-height: 27px; }

/* 前後の記事 */
.p-navi dl { margin: 0; }
.p-navi dt { float: left; width: 50px; color: #666; font-size: 14px; font-weight: 700; line-height: 24px; }
.p-navi dd { margin: 0 0 10px; padding-left: 55px; font-size: 15px; line-height: 25px; }
.p-navi dd a { color: #4682b4; }

/* ページ送り（1 2 Next »） */
.st-pagelink { margin: 20px 0 0; text-align: center; }
.st-pagelink .page-numbers { display: inline-block; min-width: 38px; margin: 0 2px 5px; padding: 7px 8px; border: 1px solid #ccc; color: #9e9e9e; font-size: 15px; text-align: center; text-decoration: none; }
.st-pagelink .current { color: #000; }

/* スマホのメニューボタン（今のサイトと同じ: 959px 以下で左上に青い四角・開くと画面いっぱいの薄緑） */
#site-header { position: relative; }
#s-navi { display: none; }
#s-navi .op-menu { position: absolute; top: 0; left: 0; z-index: 10001; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 48px; padding: 0; border: 0; background: #5c8fc9; color: #fff; font-size: 25px; line-height: 1; cursor: pointer; transition: left .3s; }
#s-navi .op-text { margin-top: 2px; font-size: 8px; letter-spacing: .05em; }
/* 今のサイトと同じ: 左から幅 250px のパネルが滑り出る（記事は右に見えたまま）・項目の区切りは青緑の線 */
#s-navi-panel { position: fixed; top: 0; bottom: 0; left: 0; z-index: 10000; width: 250px; overflow-y: auto; padding: 10px 0 0; background: #97c4b8; text-align: left; visibility: hidden; transform: translateX(-100%); transition: transform .3s, visibility .3s; }
#s-navi.open #s-navi-panel { visibility: visible; transform: none; }
#s-navi.open .op-menu { position: fixed; left: 250px; }
#s-navi-panel .widget-search { margin: 10px; }
#s-navi-panel ul { margin: 0; padding: 0; list-style: none; }
#s-navi-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--teal); color: #fff; font-size: 15px; text-decoration: none; }
#s-navi-panel li a .fa { margin-left: 8px; }

/* トップの新着記事スライダー（今のサイトと同じ: 白いカード・左上に青いカテゴリー・画像の右下に日付・題名は太字で中央・要約は3行で薄く消える） */
.post-slider { position: relative; max-width: 1076px; margin: 10px auto 0; padding: 10px 0 35px; }
.ps-viewport { overflow: hidden; touch-action: pan-y; }
.ps-track { display: flex; align-items: stretch; will-change: transform; }
.ps-slide { flex: 0 0 auto; box-sizing: border-box; padding: 0 8px; }
.ps-card { position: relative; height: 100%; background: #fff; }
.ps-img { position: relative; display: block; margin: 0 0 8px; aspect-ratio: 241 / 179; overflow: hidden; }
.ps-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-date { position: absolute; right: 10px; bottom: 10px; color: #fff; font-size: 12.8px; line-height: 17.92px; }
.ps-date .fa { margin-right: 4px; }
.ps-cat { position: absolute; top: 0; left: 0; margin: 0; padding: 5px; line-height: 27px; }
.ps-cat a { display: inline-block; padding: 7px 12px; border-radius: 12px; background: #0e65c9; color: #fff; font-size: 10px; line-height: 10px; text-decoration: none; }
.ps-body { padding: 0 8px 20px; }
.ps-title { margin: 0 0 10px; font-size: 14.4px; line-height: 20.16px; text-align: center; }
.ps-title a { color: #333; font-weight: 700; text-decoration: none; }
.ps-excerpt { position: relative; height: 57px; overflow: hidden; color: #616161; font-size: 12.8px; line-height: 19.2px; }
.ps-excerpt p { margin: 0; }
.ps-excerpt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 21px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.ps-arrow { position: absolute; top: 50%; z-index: 2; width: 37px; height: 37px; margin-top: -18px; padding: 0; border: 0; background: #1e75d8; color: #fff; font-size: 12px; opacity: .6; cursor: pointer; }
.ps-arrow:hover { opacity: .9; }
.ps-prev { left: 8px; }
.ps-next { right: 8px; }
.ps-dots { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0; list-style: none; text-align: center; line-height: 0; }
.ps-dots li { display: inline-block; margin: 0 5px; }
.ps-dots button { position: relative; width: 20px; height: 27px; padding: 0; border: 0; background: none; cursor: pointer; }
.ps-dots button::before { content: ""; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #000; opacity: .25; }
.ps-dots li.active button::before { opacity: .75; }

/* 横の欄の検索（今のサイトと同じ: 緑の枠・右に青いボタン） */
.widget-search { margin: 0 0 15px; }
.widget-search form { display: flex; border: 1px solid #68c4ab; border-radius: 5px; overflow: hidden; background: #fff; }
.widget-search input { flex: 1; min-width: 0; padding: 11px 25px 11px 15px; border: 0; color: #333; font-size: 14px; font-family: inherit; }
.widget-search input:focus { outline: 2px solid var(--blue-light); outline-offset: -2px; }
.widget-search button { padding: 0 15px; border: 0; background: #2e76c9; color: #fff; font-size: 14px; cursor: pointer; }
/* X の読み込みが終わるまでは、ボタンの代わりに文字のリンクを出す */
.widget-x a.twitter-follow-button { display: inline-block; padding: 4px 0; color: #1d9bf0; font-weight: 700; text-decoration: none; }
.widget-x iframe { display: block; }
.search-message { padding: 10px 0; }

/* トップのカテゴリの見出し（画像に文字を重ねた帯）と2列の並び */
.responbox50 { display: flex; gap: 20px; }
.responbox50 > .lbox, .responbox50 > .rbox { flex: 1; min-width: 0; }
.st-flexbox-link { display: block; text-decoration: none; }
.st-header-flexwrap { display: flex; align-items: center; justify-content: center; background-size: cover !important; background-position: center !important; }
.st-header-flexbox p { margin: 0; }
.st-header-flextitle { font-weight: 700; text-align: center; }
.front .st-cardbox { margin: 10px 0; }
/* トップの記事カード: 今のサイトの本文に「高さ 140px・はみ出しは隠す」が直接書かれていて、題名や要約が切れていた。
   高さは文字に合わせて伸ばし、要約は2行で「…」にする（2026-11-12 武井さんの指摘） */
.st-cardbox[style*="height"] { height: auto !important; overflow: visible !important; }
.responbox50 .st-card-excerpt p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* PC とタブレット: 左右の同じ段のカードを、高い方にそろえる（左右の列は別々の箱なので、箱をほどいて2列の格子に並べ直す） */
@media (min-width: 600px) {
  .responbox50 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; grid-auto-flow: row dense; }
  .responbox50::after { display: none; }
  .responbox50 > .lbox, .responbox50 > .rbox { display: contents; }
  .responbox50 > .lbox > * { grid-column: 1; }
  .responbox50 > .rbox > * { grid-column: 2; }
  .responbox50 > div > .st-cardlink { display: flex; }
  .responbox50 > div > .st-cardlink > .st-cardbox { flex: 1; }
}

@media (max-width: 599px) {
  .responbox50 { display: block; }
  .widget-search input { font-size: 16px; }   /* 16px 未満だと iPhone で入力時に画面が拡大される */
  .author-in { flex-direction: column; align-items: center; }
}

/* 広告枠（ADS_ENABLED の時だけ出る） */
.ad-post-bottom { margin: 30px 0; }
.ad-side { padding: 10px 0; text-align: center; }


/* 埋め込み（Google フォーム・動画など）を画面の幅に収める */
.entry-content iframe, .entry-content video, .entry-content embed { max-width: 100%; }
.entry-content iframe[src*="docs.google.com/forms"] { display: block; width: 100%; }

/* ===== スマホで押しやすく・メニューを1行に（2026-11-09） ===== */
.widget li { padding: 0; }
.widget li a { display: block; padding: 10px 0; }
.post-cats a, .post-tags a { display: inline-block; padding: 8px 2px; }
.breadcrumb a { display: inline-block; padding: 6px 0; }
.prevnext a { display: inline-block; padding: 4px 0; }

/* X の投稿の埋め込み（X の読み込みが終わるまでは投稿の文章がこの枠で見える） */
.tweet-embed { margin: 0 0 20px; }
.tweet-embed .twitter-tweet { max-width: 550px; margin: 0 auto; }
.tweet-embed blockquote.twitter-tweet { padding: 12px 16px; border: 1px solid #cfd9de; border-radius: 12px; font-size: 15px; line-height: 1.7; }
.tweet-embed > .twitter-tweet { margin-left: auto; margin-right: auto; }

/* 配布が終わった楽天のバナー画像の代わりのボタン */
.entry-content a.cta-button { display: block; max-width: 420px; margin: 10px auto; padding: 14px 20px; border-radius: 40px; background: #bf0000; color: #fff; font-weight: 700; text-align: center; text-decoration: none; box-shadow: 0 3px 0 #8c0000; }
.entry-content a.cta-button:hover { opacity: .85; }

/* ===== 全体の見直しで今のサイトと合わせた飾り（2026-11-11・今のサイトの画面から測った値） ===== */
/* 文字の飾り */
.entry-content .huto { font-weight: 700; }
.entry-content .hutoaka { color: #ff3333; font-weight: 700; }
.entry-content .rmarker-s { background: linear-gradient(transparent 70%, #ffcdd2 0%); }
.entry-content .bmarker { background-color: #e1f5fe; font-weight: 700; }
.entry-content .has-soft-red-color, .entry-content .has-inline-color.has-soft-red-color { color: #e6514c; }
/* 今のサイトでは、リンク切れ（Broken Link Checker が判定したもの）に取り消し線が付いていた */
.entry-content a.broken_link { text-decoration: line-through; }

/* 表（WordPress の表ブロック） */
.entry-content table { border-top: 1px solid #999; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { padding: 7.5px; border: 1px solid #333; }
.entry-content .wp-block-table.is-style-stripes { border-bottom: 1px solid #f0f0f0; }
.entry-content .wp-block-table.is-style-stripes td, .entry-content .wp-block-table.is-style-stripes th { border-color: transparent; }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: #f0f0f0; }

/* 目次 */
#toc_container .toc_title { display: inline-block; border-bottom: 2px solid var(--blue-light); }
#toc_container .toc_list { text-align: left; }
#toc_container .toc_list li { padding: 10px 0 10px 16px; font-size: 16px; line-height: 31px; }
#toc_container .toc_list ul li { padding-top: 0; padding-bottom: 0; }
#toc_container .toc_number { color: #ccc; font-weight: 700; }

/* 小さな見出しの吹き出し（ココがポイント） */
.st-minihukidashi-box { font-size: 16px; }
.entry-content .st-minihukidashi { padding: 10px 20px; line-height: 1.4; }
.st-minihukidashi-flexbox { display: flex; align-items: center; }

/* ===== 全体の見直し2回目（2026-11-11・全記事の全部の飾りを今のサイトと比べて合わせた） ===== */
/* 囲みボックスの見出し: 背景は透明。枠の中に見出しがある型（ここに注意 など）は白い縁取りなし（今のサイトのテーマが消していた） */
.entry-content .st-mybox-title { background: transparent; }
.entry-content .st-mybox.st-title-under .st-mybox-title { text-shadow: none !important; }
/* 太字 */
.entry-content strong, .entry-content b { font-weight: 700; }
/* 小見出し（h4） */
.entry-content h4 { padding: 10px 15px 10px 35px; border-bottom: 1px solid #6f91e8; background: #fff; font-size: 17px; line-height: 31px; }
/* 囲みボックスの中のリスト */
.st-in-mybox li { padding-bottom: 5px; }
.st-in-mybox > ul:last-child > li:last-child, .st-in-mybox > ol:last-child > li:last-child { padding-bottom: 0; }
.st-list-border li { padding-top: 10px; border-bottom: 1px dotted #ccc; }
/* 表（楽天の商品の表など、表ブロック以外）と見出しのセル */
.entry-content td { border: 0; border-bottom: 1px solid #999; border-left: 1px solid #999; }
.entry-content th { background: #fafafa; font-weight: 400; line-height: 24px; }

/* 会話の吹き出しの色は、左右ではなくアイコンで決まる（1〜5番＝たけ丸は水色・6〜8番＝初心者さんはピンク） */
.kaiwaicon1 .st-kaiwa-hukidashi2, .kaiwaicon2 .st-kaiwa-hukidashi2, .kaiwaicon3 .st-kaiwa-hukidashi2, .kaiwaicon4 .st-kaiwa-hukidashi2, .kaiwaicon5 .st-kaiwa-hukidashi2 { background: var(--bubble-left); }
.kaiwaicon1 .st-kaiwa-hukidashi2::after, .kaiwaicon2 .st-kaiwa-hukidashi2::after, .kaiwaicon3 .st-kaiwa-hukidashi2::after, .kaiwaicon4 .st-kaiwa-hukidashi2::after, .kaiwaicon5 .st-kaiwa-hukidashi2::after { border-left-color: var(--bubble-left); }
.kaiwaicon6 .st-kaiwa-hukidashi, .kaiwaicon7 .st-kaiwa-hukidashi, .kaiwaicon8 .st-kaiwa-hukidashi { background: var(--bubble-right); }
.kaiwaicon6 .st-kaiwa-hukidashi::after, .kaiwaicon7 .st-kaiwa-hukidashi::after, .kaiwaicon8 .st-kaiwa-hukidashi::after { border-right-color: var(--bubble-right); }
/* 青とピンクの下線マーカーが両方付いた文字は、今のサイトと同じく青を優先 */
.entry-content .rmarker-s.bmarker-s { background: linear-gradient(transparent 70%, var(--marker) 0%); }
/* 本文のリストも各行の下に 5px（最後の行は 0）。区切り線つきのリストは最後の行も 5px */
.entry-content li { padding-bottom: 5px; }
.entry-content li:last-child { padding-bottom: 0; }
.entry-content .st-list-border li:last-child { padding-bottom: 5px; }
.st-mybox.st-list-border .st-in-mybox li:last-child { padding-bottom: 5px; }

/* ===== 幅ごとの設定（ほかの設定に上書きされないよう、ファイルの最後に置く） ===== */
@media (max-width: 959px) {
  #content { display: block; margin: 0 auto; }
  main { padding: 20px 15px; border-radius: 0; }
  #side { width: auto; padding: 15px; }
  #global-nav a { font-size: 12px; }
  #s-navi { display: block; }
  .smanone { display: none; }   /* 今のサイトと同じく、一覧の要約は PC だけ */
  .kanren:not(.st-cardbox) .catname { font-size: 12px; line-height: 12px; }
  .widget-title { font-size: 16px; }
  .st-pagelink .page-numbers { min-width: 42px; padding: 8px 10px; }
}
/* タブレット（600〜959px）の文字の大きさ（今のサイトと同じ値） */
@media (min-width: 600px) and (max-width: 959px) {
  .post .entry-title, .archive .entry-title { font-size: 22px; line-height: 40px; }
  .entry-content { line-height: 32px; }
  .entry-content h2 { font-size: 21px; line-height: 33px; padding: 15px 21px 15px 27.3px; }
  .entry-content h3 { font-size: 21px; line-height: 33px; }
  .st-kaiwa-hukidashi, .st-kaiwa-hukidashi2 { line-height: 32px; }
  #st-tab-menu li, .tagst { line-height: 30px; }
  .kanren:not(.st-cardbox) h3 a, .kanren:not(.st-cardbox) .kanren-t a { font-size: 18px; }
  main { padding: 20px 30px; }
  #s-navi .op-menu { width: 66px; height: 58px; font-size: 30px; }
}
@media (max-width: 599px) {
  .pcnone { display: block; }
  /* スマホの文字の大きさ（今のサイトと同じ値: 本文 17px・題名 25px・大見出し 24px・小見出し 19px） */
  .post .entry-title, .archive .entry-title { font-size: 25px; line-height: 42px; }
  .entry-content { font-size: 17px; line-height: 33px; }
  .entry-content h2 { font-size: 24px; line-height: 40px; padding: 15px 24px 15px 31.2px; }
  .entry-content h3 { font-size: 19px; line-height: 40px; }
  .st-kaiwa-hukidashi, .st-kaiwa-hukidashi2 { line-height: 33px; }
  #st-tab-menu li, .tagst { line-height: 30px; }
  .kanren:not(.st-cardbox) h3 a, .kanren:not(.st-cardbox) .kanren-t a { line-height: 24px; }
  .st-card-excerpt { display: none; }
}
/* スマホ: ヘッダーとフッターのメニューを3等分にして文字を真ん中に（狭い画面では文字を少し小さくして1行に収める） */
@media (max-width: 599px) {
  #global-nav li { flex: 1 1 0; min-width: 0; }
  #global-nav a { padding: 0 3px; font-size: min(12px, 2.9vw); white-space: nowrap; }
  #site-footer { padding-bottom: 20px; }   /* 今のサイトと同じ 20px（文字は中央・ボタンは右端なので重ならない。sp_check で確認）2026-11-12 武井さんの指摘で 90px から戻した */
  #site-footer ul { display: flex; margin: 0 -10px 5px; padding: 10px 0; }   /* フッターの左右の余白の分も使って、ヘッダーと同じ幅の3等分にする */
  #site-footer li { position: relative; display: block; flex: 1 1 0; min-width: 0; border-right: none; }
  #site-footer li + li::before { content: ""; position: absolute; left: 0; top: 50%; height: 18px; margin-top: -9px; border-left: 1px solid #fff; }
  #site-footer ul a { display: block; padding: 10px 3px; font-size: min(12px, 2.9vw); white-space: nowrap; text-align: center; }
}
