/* しょーてぃシークレット（secret.sho-t.net）の見た目（2026-11-11 本人「適当に無料のCocoonで作ったデザインだから、ダサすぎる。いい感じに直してほしい」）
   Cocoon のCSSは外し、記事の中で使っている部品だけをここで作り直した。会員サイト（members-site/theme/assets/style.css）と
   しょーてぃブログ（www.sho-t.net）にそろえた：薄いオレンジの頭の帯＋しょーてぃのアイコン・オレンジ #f4993d・文字 #333・游ゴシック。
   本文 17px・行間 1.95・本文の幅 760px。外の読み込みはしない。
   この部品の一覧＝記事の中の Cocoon の部品（吹き出し・白い箱・ラベルの箱・タブの箱・ステップ・ボタン・開け閉め・目次・マーカー・ブログカード）と
   WordPress の部品（見出し・リスト・画像・動画・Xの埋め込み・引用・区切り線・色の付いた段落）。
   入れ方＝secret_theme.mjs（Cocoon のCSSの読み込みを外して、これを読み込ませる）。 */
:root {
  --bg: #FFFFFF;
  --head: #FFF9F5;
  --surface2: #FBF6F1;
  --ink: #333333;
  --ink2: #5F5A55;
  --ink3: #8F8780;
  --line: #EDE5DC;
  --main: #F4993D;
  --accent: #E8771C;
  --accent-ink: #C0560B;
  --accent-soft: #FFF3E8;
  --link: #0066C0;
  --balloon: #E2F6FF;
  --body: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-weight: 500; font-size: 16px; line-height: 1.85;
  letter-spacing: .02em; -webkit-font-smoothing: antialiased; line-break: strict; overflow-wrap: anywhere; word-break: normal; }
a { color: var(--link); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 50; background: #fff; padding: 6px 12px; }
.display-none { display: none !important; }

/* ---- 頭の帯（会員サイトと同じ：薄いオレンジの帯にアイコンと名前・下にオレンジの線） ---- */
.st-top { background: var(--head); border-bottom: 4px solid var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.st-top-in { max-width: 808px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; }
.st-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin: 0; color: var(--accent-ink); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: .04em; line-height: 1.3; }
.st-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-brand-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #F3DCC6; background: #fff; }

/* ---- 本文の枠 ---- */
#content { max-width: 808px; margin: 0 auto; padding: 40px 24px 96px; }
#content-in, #main { display: block; width: auto; max-width: none; margin: 0; padding: 0; float: none; background: none; border: 0; }
/* トップ：名前の下の空の一覧は出さない（何を置くかは本人が決める） */
.front-top-page #list, .home #list { display: none; }
.front-top-page #content { padding: 0; }

/* 記事の頭（題名・日付・アイキャッチ） */
.article-header { margin: 0 0 32px; }
.entry-title, .archive-title { margin: 0; font-size: 27px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; text-wrap: pretty; }
.archive-title .fas { display: none; }
.date-tags { margin: 10px 0 0; font-size: 13px; color: var(--ink3); letter-spacing: .04em; }
.date-tags > span { display: inline-flex; align-items: center; gap: 5px; margin-right: 14px; }
.date-tags .far, .date-tags .fas { display: none; }
.date-tags .post-date::before { content: "公開 "; }
.date-tags .post-update::before { content: "更新 "; }
.eye-catch-wrap { margin: 24px 0 0; }
.eye-catch { margin: 0; }
.eye-catch img { display: block; width: 100%; border-radius: var(--radius); }

/* ---- 本文 ---- */
.entry-content { font-size: 17px; line-height: 1.95; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content h2 { position: relative; margin: 56px 0 24px; padding: .7em 1em; background: var(--accent); color: #fff; font-size: 20px; font-weight: 700; line-height: 1.5; border-radius: 2px; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: -5px; width: 100%; height: calc(100% + 6px); box-sizing: content-box; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); pointer-events: none; }
.entry-content h3 { position: relative; margin: 44px 0 20px; padding: 0 .3em .5em; font-size: 19.5px; font-weight: 700; line-height: 1.55; }
.entry-content h3::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--main) 0%, var(--main) 29.3%, rgba(150, 150, 150, .2) 29.3%, rgba(150, 150, 150, .2) 100%); }
.entry-content h4 { margin: 34px 0 14px; padding: 0 0 0 14px; border-left: 3px solid var(--main); font-size: 18px; font-weight: 700; line-height: 1.6; }
.entry-content h5, .entry-content h6 { margin: 28px 0 10px; font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--accent-ink); }
.entry-content h2 a, .entry-content h2 span { color: inherit; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.entry-content li { margin: 6px 0; }
.entry-content li > ul, .entry-content li > ol { margin: 6px 0 0; }
.entry-content ul li::marker { color: var(--main); }
.entry-content ol li::marker { color: var(--accent-ink); font-weight: 700; }
.entry-content hr, .entry-content .wp-block-separator { height: 0; border: 0; border-top: 1px solid var(--line); margin: 40px auto; opacity: 1; }
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) { max-width: 120px; border-top-width: 2px; }
.entry-content code { font-size: .9em; background: var(--surface2); padding: 2px 6px; border-radius: 5px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15.5px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--surface2); }

/* 文字の飾り（Cocoon の太字赤・マーカー・文字の大きさ） */
.entry-content .bold { font-weight: 700; }
.entry-content .red { color: #e60033; }
.entry-content .bold-red { font-weight: 700; color: #e60033; }
.entry-content .blue { color: #0095d9; }
.entry-content .bold-blue { font-weight: 700; color: #0095d9; }
.entry-content .marker, .entry-content .marker-under { background: linear-gradient(transparent 60%, #FFEE99 60%); }
.entry-content .marker-red, .entry-content .marker-under-red { background: linear-gradient(transparent 60%, #FFD0D1 60%); }
.entry-content .marker-blue, .entry-content .marker-under-blue { background: linear-gradient(transparent 60%, #A8DAFB 60%); }
.entry-content .strike { text-decoration: line-through; }
.entry-content .fz-12px { font-size: 12px; } .entry-content .fz-13px { font-size: 13px; } .entry-content .fz-14px { font-size: 14px; }
.entry-content .fz-15px { font-size: 15px; } .entry-content .fz-16px { font-size: 16px; } .entry-content .fz-18px { font-size: 18px; }
.entry-content .fz-20px { font-size: 20px; } .entry-content .fz-22px { font-size: 22px; } .entry-content .fz-24px { font-size: 24px; }
.entry-content .fz-28px { font-size: 28px; line-height: 1.6; } .entry-content .fz-32px { font-size: 32px; line-height: 1.5; } .entry-content .fz-36px { font-size: 36px; line-height: 1.4; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .has-text-align-right { text-align: right; }
.entry-content p.has-background, .entry-content div.has-background:not(.blank-box):not(.timeline-box):not(.label-box) { padding: 16px 20px; border-radius: 8px; }

/* 画像・図 */
.entry-content figure { margin: 0 0 1.6em; }
.entry-content .wp-block-image { margin: 0 0 1.6em; }
.entry-content .wp-block-image img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.entry-content .wp-block-image.aligncenter, .entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content .wp-block-image.aligncenter img, .entry-content img.aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-image.is-resized img { width: auto; }
.entry-content .wp-block-image img.has-border-color { border-style: solid; }
.entry-content figcaption, .entry-content .wp-element-caption { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink2); text-align: center; }
.entry-content svg { max-width: 100%; }
.entry-content i { color: #6C9FCE; }

/* 動画（YouTube）は本文の幅いっぱい・16:9 */
.entry-content .wp-block-embed { margin: 0 0 1.8em; }
.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-block-embed__wrapper::before { content: none !important; }
.entry-content .video-container { width: 100%; }
.entry-content .video-container .video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.entry-content .wp-embed-aspect-4-3 .video-container .video { aspect-ratio: 4 / 3; }
.entry-content .video-container iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.entry-content iframe { max-width: 100%; }
/* Xの埋め込み（読み込み前の形も読みやすく） */
.entry-content .wp-block-embed-twitter .wp-block-embed__wrapper { display: flex; justify-content: center; }
.entry-content blockquote.twitter-tweet { width: 100%; max-width: 550px; margin: 0 auto; padding: 16px 20px; border: 1px solid #CFD9DE; border-radius: 12px; background: #fff; font-size: 15.5px; }
.entry-content blockquote.twitter-tweet p { margin: 0 0 .6em; }
.entry-content .twitter-tweet-rendered { margin-left: auto !important; margin-right: auto !important; }

/* 引用 */
.entry-content blockquote:not(.twitter-tweet) { margin: 0 0 1.6em; padding: 18px 22px; border-radius: 8px; background: var(--surface2); border-left: 4px solid #E9D9C8; color: var(--ink); }
.entry-content blockquote:not(.twitter-tweet) > :last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ink3); font-style: normal; }

/* ---- 枠の色（Cocoon の色の名前 → 線とラベルの色） ---- */
.has-red-border-color { --bc: #e60033; } .has-pink-border-color { --bc: #e95295; } .has-purple-border-color { --bc: #884898; }
.has-deep-border-color { --bc: #55295b; } .has-indigo-border-color { --bc: #1e50a2; } .has-blue-border-color { --bc: #0095d9; }
.has-light-blue-border-color { --bc: #2ca9e1; } .has-cyan-border-color { --bc: #00a3af; } .has-teal-border-color { --bc: #007b43; }
.has-green-border-color { --bc: #3eb370; } .has-light-green-border-color { --bc: #8bc34a; --bc-ink: #333; } .has-lime-border-color { --bc: #c3d825; --bc-ink: #333; }
.has-yellow-border-color { --bc: #ffd900; --bc-ink: #333; } .has-amber-border-color { --bc: #ffc107; --bc-ink: #333; } .has-orange-border-color { --bc: #f39800; }
.has-deep-orange-border-color { --bc: #ea5506; } .has-brown-border-color { --bc: #954e2a; } .has-grey-border-color { --bc: #949495; }
.has-black-border-color, .has-cocoon-black-border-color { --bc: #333; } .has-key-color-border-color { --bc: #19448e; }
.has-watery-blue-border-color { --bc: #B9DDF2; --bc-ink: #333; } .has-watery-green-border-color { --bc: #BFE6D8; --bc-ink: #333; }
.has-watery-red-border-color { --bc: #F4C9C9; --bc-ink: #333; } .has-watery-yellow-border-color { --bc: #F2DE7A; --bc-ink: #333; }
.has-ex-a-border-color, .has-ex-b-border-color, .has-ex-c-border-color, .has-ex-d-border-color, .has-ex-e-border-color, .has-ex-f-border-color { --bc-ink: #333; }

/* 白い箱（blank-box） */
.entry-content .blank-box { position: relative; margin: 0 0 1.8em; padding: 20px 22px; border: 2px solid var(--bc, #E6DCD1); border-radius: var(--radius); background-color: #fff; }
.entry-content .blank-box.has-background { background-color: var(--surface2); }
.entry-content .blank-box > :last-child, .entry-content .label-box-content > :last-child, .entry-content .toggle-content > :last-child { margin-bottom: 0; }
/* 薄い色の箱は、線を背景より少しだけ濃く */
.entry-content .blank-box.has-watery-blue-border-color { border-color: #CFE8F6 !important; }
/* タブの付いた箱（bb-tab：左上に「ポイント」などの札） */
.entry-content .blank-box.bb-tab { margin-top: 2.4em; border-top-left-radius: 0; }
.entry-content .bb-tab .bb-label { position: absolute; left: -2px; bottom: 100%; display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; border-radius: 8px 8px 0 0;
  background: var(--bc, var(--main)); color: var(--bc-ink, #fff); font-size: 13.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.entry-content .bb-tab .bb-label .fa { display: none; }
.entry-content .bb-point .bb-label::after { content: "ポイント"; }
.entry-content .bb-check .bb-label::after { content: "チェック"; }
.entry-content .bb-memo .bb-label::after { content: "メモ"; }
.entry-content .bb-tips .bb-label::after { content: "コツ"; }
.entry-content .bb-hint .bb-label::after { content: "ヒント"; }
.entry-content .bb-alert .bb-label::after { content: "注意"; }
.entry-content .bb-attention .bb-label::after { content: "注意"; }
.entry-content .bb-good .bb-label::after { content: "よい例"; }
.entry-content .bb-bad .bb-label::after { content: "悪い例"; }
.entry-content .bb-comment .bb-label::after { content: "コメント"; }
.entry-content .bb-pickup .bb-label::after { content: "ピックアップ"; }

/* ラベルの付いた箱（label-box：上の線に札が乗る） */
.entry-content .label-box { position: relative; margin: 2.2em 0 1.8em; padding: 26px 22px 18px; border: 2px solid var(--bc, var(--main)); border-radius: var(--radius); background: #fff; }
.entry-content .label-box .box-label { position: absolute; top: 0; left: 16px; transform: translateY(-50%); max-width: calc(100% - 32px); padding: 2px 16px; border-radius: 999px;
  background: var(--bc, var(--main)); color: var(--bc-ink, #fff); font-size: 15px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.entry-content .label-box .box-label span, .entry-content .label-box .box-label strong { font-size: inherit !important; color: inherit; }
.entry-content .label-box-content { position: relative; }

/* 開け閉め（toggle-box） */
.entry-content .toggle-wrap { margin: 0 0 1.8em; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.entry-content .toggle-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.entry-content .toggle-button { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface2); font-weight: 700; cursor: pointer; line-height: 1.6; }
.entry-content .toggle-button::before { content: ""; flex: none; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--accent); transition: transform 160ms; }
.entry-content .toggle-checkbox:checked + .toggle-button::before { transform: rotate(90deg); }
.entry-content .toggle-checkbox:focus-visible + .toggle-button { outline: 2px solid var(--accent); outline-offset: -2px; }
.entry-content .toggle-content { display: none; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.entry-content .toggle-checkbox:checked ~ .toggle-content { display: block; }

/* 目次（toc） */
.entry-content .toc { margin: 0 0 2em; padding: 18px 24px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface2); font-size: 15.5px; line-height: 1.8; }
.entry-content .toc-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.entry-content .toc-title { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 17px; cursor: pointer; letter-spacing: .1em; }
.entry-content .toc-title::after { content: "閉じる"; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 500; color: var(--ink2); letter-spacing: .04em; }
.entry-content .toc-checkbox:not(:checked) + .toc-title::after { content: "開く"; }
.entry-content .toc-checkbox:not(:checked) ~ .toc-content { display: none; }
.entry-content .toc-content { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #E3D6C8; }
.entry-content .toc ol, .entry-content .toc ul { margin: 0; padding-left: 1.5em; }
.entry-content .toc li { margin: 4px 0; }
.entry-content .toc li li { font-size: 14.5px; }
.entry-content .toc a { color: var(--ink); text-decoration: none; }
.entry-content .toc a:hover { color: var(--accent-ink); text-decoration: underline; }

/* ステップ（timeline） */
.entry-content .timeline-box { margin: 0 0 1.8em; padding: 22px 24px 8px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.entry-content .timeline-box.has-background { border-color: transparent; }
.entry-content .timeline-title { margin: 0 0 14px; font-weight: 700; font-size: 18px; text-align: center; line-height: 1.6; }
.entry-content ul.timeline { list-style: none; margin: 0; padding: 0; }
.entry-content .timeline-item { position: relative; margin: 0; padding: 0 0 20px 30px; }
.entry-content .timeline-item::marker { content: none; }
.entry-content .timeline-item::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -8px; width: 2px; background: #F3DCC6; }
.entry-content .timeline-item:last-child::before { display: none; }
.entry-content .timeline-item::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--main); box-shadow: 0 0 0 3px #fff; }
.entry-content .timeline-item-label { display: inline-block; margin: 0 0 4px; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13.5px; font-weight: 700; line-height: 1.8; }
.entry-content .timeline-item-label strong { font-weight: 700; }
.entry-content .timeline-item-title { font-weight: 700; font-size: 17px; line-height: 1.6; }
.entry-content .timeline-item-snippet { margin-top: 4px; font-size: 16px; line-height: 1.85; }
.entry-content .timeline-item-snippet > :last-child { margin-bottom: 0; }
.entry-content .timeline-item-snippet img { border-radius: 6px; }

/* 吹き出し（しょーてぃ＝左・水色。聞き手＝右・薄いオレンジ） */
.entry-content .speech-wrap { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 1.8em; }
.entry-content .speech-wrap.sbp-r { flex-direction: row-reverse; }
.entry-content .speech-person { flex: none; width: 76px; text-align: center; line-height: 1.3; }
.entry-content .speech-icon { margin: 0; }
.entry-content .speech-icon img { display: block; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid #E6E6E6; }
.entry-content .speech-name { margin-top: 4px; font-size: 11.5px; letter-spacing: 0; color: var(--ink2); word-break: keep-all; }
.entry-content .speech-balloon { position: relative; flex: 1; min-width: 0; padding: 16px 20px; border-radius: 8px; background: var(--balloon); font-size: 16.5px; line-height: 1.85; }
.entry-content .speech-balloon::before { content: ""; position: absolute; left: -11px; top: 24px; border-style: solid; border-width: 8px 12px 8px 0; border-color: transparent var(--balloon) transparent transparent; }
.entry-content .sbp-r .speech-balloon { background: var(--accent-soft); }
.entry-content .sbp-r .speech-balloon::before { left: auto; right: -11px; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--accent-soft); }
.entry-content .speech-balloon > :last-child { margin-bottom: 0; }
.entry-content .speech-balloon p { margin: 0 0 .8em; }

/* ボタン（Cocoon のボタン。色の指定に関わらず、しょーてぃのオレンジのボタンにそろえる） */
.entry-content .button-block, .entry-content .wp-block-buttons { margin: 1.6em 0 2em; text-align: center; }
.entry-content .btn, .entry-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 54px; padding: 12px 32px;
  border: 0 !important; border-radius: 999px; background: var(--accent) !important; color: #fff !important; font-weight: 700; font-size: 16.5px; line-height: 1.5;
  text-decoration: none; text-align: center; box-shadow: 0 3px 0 #C25E10; transition: transform 120ms, box-shadow 120ms; }
.entry-content .btn:hover, .entry-content .wp-block-button__link:hover { filter: brightness(1.04); }
.entry-content .btn:active, .entry-content .wp-block-button__link:active { transform: translateY(2px); box-shadow: 0 1px 0 #C25E10; }
.entry-content .btn-l { width: min(100%, 520px); font-size: 17px; }

/* ブログカード（外のページへのリンクの札） */
.entry-content .blogcard-wrap { display: block; margin: 0 0 1.8em; color: var(--ink); text-decoration: none; }
.entry-content .blogcard { display: flex; gap: 16px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); transition: box-shadow 160ms; }
.entry-content .blogcard-wrap:hover .blogcard { box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
.entry-content .wp-block-embed .blogcard-wrap { width: 100%; margin: 0; }
.entry-content .blogcard-label { display: none; }
.entry-content .blogcard-thumbnail { flex: none; width: 160px; margin: 0; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--surface2); overflow: hidden; }
.entry-content .blogcard-thumbnail img { display: block; width: 100%; height: auto; border-radius: 6px; }
.entry-content .blogcard-content { flex: 1; min-width: 0; }
.entry-content .blogcard-title { font-weight: 700; font-size: 15.5px; line-height: 1.6; color: var(--link); overflow-wrap: anywhere; word-break: break-all; }
.entry-content .blogcard-snippet { margin-top: 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.entry-content .blogcard-footer { display: flex; justify-content: flex-end; margin-top: 8px; font-size: 12px; color: var(--ink3); }
.entry-content .blogcard-site { display: inline-flex; align-items: center; gap: 6px; }
.entry-content .blogcard-favicon-image { width: 16px; height: 16px; }

/* ---- 見つからないページ・一覧 ---- */
.error404 #main article { text-align: center; padding: 24px 0; }
.error404 .entry-title { font-size: 26px; color: var(--accent-ink); letter-spacing: .1em; }
.error404 .not-found { display: block; width: 100%; max-width: 420px; margin: 24px auto; border-radius: var(--radius); }
.error404 #main p { margin: 0; color: var(--ink2); }
.posts-not-found { margin: 24px 0 0; padding: 24px; border-radius: var(--radius); background: var(--surface2); text-align: center; color: var(--ink2); }
.posts-not-found h2 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.posts-not-found p { margin: 0; }

/* ---- 上に戻るボタン（下までスクロールした時だけ出る） ---- */
.go-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; }
.go-to-top-button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 18px;
  cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 200ms, transform 200ms; }
.go-to-top-button .fas { display: none; }
.go-to-top-button::before { content: ""; width: 11px; height: 11px; margin-top: 5px; border-top: 3px solid #fff; border-left: 3px solid #fff; transform: rotate(45deg); }
.go-to-top-visible .go-to-top-button { opacity: .92; pointer-events: auto; transform: none; }

/* ---- プロンプトのページ（brain-prompt-*・gen_prompts_static.mjs で作る物。中身とコピーの仕組みはそのまま） ---- */
body.st-prompts { background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.95; }
.st-prompts main { max-width: 808px; margin: 0 auto; padding: 40px 24px 96px; font-size: 17px; }
.st-prompts main h1 { margin: 0 0 20px; font-size: 26px; line-height: 1.5; }
.st-prompts main ol { padding-left: 1.5em; }
.st-prompts main li { margin: 8px 0; }
.st-prompts main ol li::marker { color: var(--accent-ink); font-weight: 700; }
.st-prompts main a { color: var(--link); }
.st-prompts main .small { color: var(--ink3); font-size: 14px; }
.st-prompts main .box { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface2); }
.st-prompts main button { min-height: 50px; padding: 10px 30px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; box-shadow: 0 3px 0 #C25E10; cursor: pointer; }
.st-prompts main button:active { transform: translateY(2px); box-shadow: 0 1px 0 #C25E10; }
.st-prompts main textarea { display: block; margin-top: 14px; padding: 12px 14px; border: 1px solid #E3D6C8; border-radius: 8px; background: #fff; color: var(--ink); font-family: ui-monospace, Consolas, "Yu Gothic", monospace; font-size: 13.5px; line-height: 1.7; }

/* ---- スマホ ---- */
@media (max-width: 760px) {
  .st-top-in { height: 56px; padding: 0 16px; }
  .st-brand { font-size: 17px; gap: 8px; }
  .st-brand-ico { width: 34px; height: 34px; }
  #content { padding: 24px 16px 72px; }
  .article-header { margin-bottom: 24px; }
  .entry-title, .archive-title { font-size: 22px; }
  .entry-content { font-size: 16.5px; line-height: 1.9; }
  .entry-content h2 { margin-top: 44px; font-size: 18px; padding: .65em .85em; }
  .entry-content h3 { margin-top: 36px; font-size: 17.5px; }
  .entry-content h4 { font-size: 16.5px; }
  .entry-content .fz-28px { font-size: 22px; } .entry-content .fz-32px { font-size: 24px; } .entry-content .fz-36px { font-size: 26px; }
  .entry-content .blank-box { padding: 16px 16px; }
  .entry-content .label-box { padding: 24px 16px 14px; }
  .entry-content .label-box .box-label { left: 12px; max-width: calc(100% - 24px); font-size: 14px; }
  .entry-content .toc { padding: 16px 16px 14px; }
  .entry-content .timeline-box { padding: 18px 16px 4px; }
  .entry-content .toggle-button { padding: 12px 14px; }
  .entry-content .toggle-content { padding: 16px 14px 18px; }
  .entry-content .speech-wrap { gap: 10px; }
  .entry-content .speech-person { width: 58px; }
  .entry-content .speech-icon img { width: 54px; height: 54px; }
  .entry-content .speech-name { font-size: 10.5px; }
  .entry-content .speech-balloon { padding: 12px 14px; font-size: 15.5px; }
  .entry-content .speech-balloon::before { top: 18px; }
  .entry-content .btn, .entry-content .btn-l { width: 100%; padding: 12px 20px; font-size: 16px; }
  .entry-content .blogcard { gap: 12px; padding: 12px; }
  .entry-content .blogcard-thumbnail { width: 96px; }
  .entry-content .blogcard-snippet { -webkit-line-clamp: 2; }
  .entry-content > .wp-block-embed-youtube { margin-left: -16px; margin-right: -16px; }
  .entry-content > .wp-block-embed-youtube .video-container .video { border-radius: 0; }
  .st-prompts main { padding: 24px 16px 72px; font-size: 16.5px; }
  .st-prompts main h1 { font-size: 22px; }
  .go-to-top { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
