/* 段落の部品（星・割引・インタビュー・ひとこと） */
p.is-style-wtc-stars{color:#e8a92c;font-size:1.25em;letter-spacing:.05em;margin:0 0 .4em}p.is-style-wtc-stars strong{color:var(--wtc-ink);font-size:.8em;margin-left:8px}
p.is-style-wtc-off{background:repeating-linear-gradient(-45deg,#fff1ec 0 8px,#fff 8px 16px);border:2px dashed #e8833a;border-radius:var(--wtc-r);text-align:center;padding:10px}p.is-style-wtc-off strong{color:#d0602a;font-size:1.15em}
/* インタビュー（段落のスタイル「問い」「答え」） */
p.is-style-wtc-iq{font-weight:700;color:var(--wtc-accent);margin-top:1.4em}p.is-style-wtc-iq::before{content:"― "}
p.is-style-wtc-ia>strong:first-child{display:inline-block;margin-right:10px;color:var(--wtc-sub)}
/* ひとこと */
p.is-style-wtc-hito{display:inline-block;font-size:.86em;background:var(--wtc-accent-2);color:#fff;border-radius:999px;padding:2px 14px}
/* ---------- 見出し（Arkhe の見出しの飾りを消してから付ける） ---------- */
:is(h2,h3,h4)[class*="is-style-wtc-h"]{background:none;border:0;padding:0;position:relative}
:is(h2,h3,h4)[class*="is-style-wtc-h"]::before,:is(h2,h3,h4)[class*="is-style-wtc-h"]::after{content:none}
/* 子テーマの記事の h2（下に線）を、スタイルを付けた見出しでは消す */
.wtc .p-entry__content>h2[class*="is-style-wtc-h"]:not(.is-style-wtc-h-line),.editor-styles-wrapper .is-root-container>h2.wp-block-heading[class*="is-style-wtc-h"]:not(.is-style-wtc-h-line){border-bottom:0!important;padding-bottom:0!important}
.wtc .p-entry__content>h2.is-style-wtc-h-band,.editor-styles-wrapper .is-root-container>h2.is-style-wtc-h-band{padding-bottom:10px!important}
.wtc .p-entry__content>h2.is-style-wtc-h-bar,.editor-styles-wrapper .is-root-container>h2.is-style-wtc-h-bar{padding-bottom:4px!important}
h2.is-style-wtc-h-line{border-bottom:2px solid var(--wtc-accent)!important;padding:0 0 8px!important}
h2.is-style-wtc-h-band{background:var(--wtc-accent)!important;color:var(--wtc-on-accent)!important;padding:10px 16px!important;border-radius:6px}
h2.is-style-wtc-h-bar{border-left:6px solid var(--wtc-accent)!important;padding:4px 0 4px 14px!important}
h2.is-style-wtc-h-num>strong:first-child{display:inline-block;color:var(--wtc-accent-2);font-size:1.3em;margin-right:12px;font-weight:300}
h2.is-style-wtc-h-center{text-align:center}h2.is-style-wtc-h-center::after{content:""!important;display:block;width:44px;height:3px;background:var(--wtc-accent);margin:10px auto 0}
h3.is-style-wtc-h3-dot{padding-left:18px!important}h3.is-style-wtc-h3-dot::before{content:""!important;position:absolute;left:0;top:.62em;width:9px;height:9px;border-radius:50%;background:var(--wtc-accent)}
h3.is-style-wtc-h3-dash{border-bottom:2px dotted var(--wtc-accent-3)!important;padding-bottom:6px!important}
h3.is-style-wtc-h3-face{background:var(--wtc-accent-soft)!important;padding:6px 14px!important;border-radius:6px}
h4.is-style-wtc-h4{color:var(--wtc-accent)}h4.is-style-wtc-h4::before{content:"■ "!important;font-size:.6em;vertical-align:.2em}
.is-style-wtc-h-tate{writing-mode:vertical-rl;letter-spacing:.2em;border-right:3px solid var(--wtc-accent)!important;padding-right:8px!important;max-height:12em;margin-left:auto!important;margin-right:auto!important}
p.is-style-wtc-en{font-size:12px;letter-spacing:.2em;color:var(--wtc-accent);font-weight:700;margin:0 0 -.4em!important}
p.is-style-wtc-lead{font-size:1.15em;line-height:1.95;font-weight:500}
p.is-style-wtc-marker strong{background:linear-gradient(transparent 60%,color-mix(in srgb,var(--wtc-accent-2) 45%,transparent) 60%)}
p.is-style-wtc-small{font-size:12px;color:var(--wtc-sub)}
p.is-style-wtc-concept{font-size:1.7em;font-weight:700;line-height:1.6;text-align:center;letter-spacing:.06em;font-family:var(--wtc-font-head)}
p.is-style-wtc-sign{text-align:right;font-family:serif;font-size:1.1em}
p.is-style-wtc-disc{font-size:12px;color:var(--wtc-sub);border:1px solid var(--wtc-line);padding:8px 12px;border-radius:6px}
p.is-style-wtc-pr{display:inline-block;font-size:12px;color:var(--wtc-sub);border:1px solid var(--wtc-line);padding:0 8px;border-radius:3px}
p.is-style-wtc-back a{color:var(--wtc-sub);font-size:.92em}p.is-style-wtc-back a::before{content:"← "}
p.is-style-wtc-arrowlink a{font-weight:700;color:var(--wtc-accent);text-underline-offset:4px}p.is-style-wtc-arrowlink a::after{content:" →"}
p.is-style-wtc-btn-note{text-align:center;font-size:12px;color:var(--wtc-accent);font-weight:700;margin:0 0 4px!important}
p.is-style-wtc-btn-note::before{content:"＼ "}p.is-style-wtc-btn-note::after{content:" ／"}
p.is-style-wtc-ticker{display:flex;gap:10px;align-items:center;border:1px solid var(--wtc-line);border-radius:999px;padding:6px 16px;font-size:.92em;background:var(--wtc-card)}
p.is-style-wtc-ticker>strong:first-child{background:var(--wtc-accent);color:var(--wtc-on-accent);font-size:11px;border-radius:999px;padding:0 9px}
p.is-style-wtc-alert{--wtc-icd:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M12%203l10%2018H2z%22/%3E%3Cpath%20d=%22M12%2010v5M12%2018v.5%22/%3E%3C/svg%3E");display:flex;gap:8px;align-items:center;background:#fff3f0;border-left:4px solid #c0392b;padding:9px 14px;font-weight:700;color:#a03020}
p.is-style-wtc-alert::before{content:"";width:20px;height:20px;flex:none;background:currentColor;-webkit-mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat;mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat}
p.is-style-wtc-faqcat{font-weight:700;color:var(--wtc-accent);border-bottom:2px solid var(--wtc-accent);margin:20px 0 4px!important;padding-bottom:2px}
/* 数字 */
p.is-style-wtc-bignum{text-align:center;line-height:1.4}p.is-style-wtc-bignum strong{font-size:2.6em;color:var(--wtc-accent);margin-right:2px}
p.is-style-wtc-count{text-align:center}p.is-style-wtc-count strong{font-size:2.8em;color:var(--wtc-accent);margin:0 4px}
p.is-style-wtc-delta strong{font-size:1.25em}p.is-style-wtc-delta em{font-style:normal;color:var(--wtc-ok);font-weight:700;margin:0 4px}
p.is-style-wtc-pie{--v:50;width:140px;height:140px;margin:10px auto!important;border-radius:50%;background:conic-gradient(var(--wtc-accent) calc(var(--v)*1%),var(--wtc-line) 0);display:flex;align-items:center;justify-content:center;position:relative;font-size:1.5em;font-weight:700;color:var(--wtc-accent)}
p.is-style-wtc-pie::before{content:"";position:absolute;inset:20px;border-radius:50%;background:var(--wtc-card)}
p.is-style-wtc-pie>*,p.is-style-wtc-pie{z-index:0}p.is-style-wtc-pie{isolation:isolate}p.is-style-wtc-pie::before{z-index:-1}
/* 引用・区切り */
blockquote.is-style-wtc-quote{border:0;background:var(--wtc-accent-soft);border-radius:var(--wtc-r);padding:18px 20px 14px 52px;position:relative;margin:20px 0}
blockquote.is-style-wtc-quote::before{content:"“";position:absolute;left:14px;top:-4px;font-size:56px;color:var(--wtc-accent-3);font-family:serif;line-height:1}
blockquote.is-style-wtc-quote cite{display:block;font-size:12px;color:var(--wtc-sub);text-align:right;font-style:normal}
hr.wp-block-separator.is-style-wtc-s-dot{max-width:none!important;border:0!important;border-top:2px dotted var(--wtc-accent-3)!important;background:none!important;margin:28px 0!important}
hr.wp-block-separator.is-style-wtc-s-wave{max-width:none!important;border:0!important;height:10px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 5q5-5 10 0t10 0' fill='none' stroke='%23c9b8a6' stroke-width='2'/%3E%3C/svg%3E") repeat-x!important;opacity:1;margin:28px 0!important}
hr.wp-block-separator.is-style-wtc-s-3dots{max-width:none!important;border:0!important;background:none!important;text-align:center;margin:28px 0!important;height:auto!important}hr.wp-block-separator.is-style-wtc-s-3dots::after{content:"・・・";letter-spacing:1em;color:var(--wtc-accent-2);font-size:20px}
/* ---------- 文字の飾り（3回目。bin/parts4.py が作る）。段落のスタイル。飾りは段落の中の太字（や斜体・コード）に付く ---------- */
p.is-style-wtc-boten strong{font-weight:inherit;-webkit-text-emphasis:filled dot var(--wtc-accent);text-emphasis:filled dot var(--wtc-accent);-webkit-text-emphasis-position:over right;text-emphasis-position:over right}
p.is-style-wtc-kakko strong::before{content:"「"}p.is-style-wtc-kakko strong::after{content:"」"}
p.is-style-wtc-marker2 strong{background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--wtc-accent-2) 55%,transparent) 0 3px,transparent 3px 6px) left bottom/100% 40% no-repeat}
p.is-style-wtc-ul-wave strong{font-weight:inherit;text-decoration:underline wavy var(--wtc-accent);text-underline-offset:4px}
p.is-style-wtc-ul-dot strong{font-weight:inherit;text-decoration:underline dotted var(--wtc-accent);text-decoration-thickness:2px;text-underline-offset:4px}
p.is-style-wtc-ul-double strong{font-weight:inherit;text-decoration:underline double var(--wtc-accent);text-underline-offset:3px}
/* 丸いラベル（太字＝濃い、斜体＝淡い） */
p.is-style-wtc-pill :is(strong,em){display:inline-block;border-radius:999px;padding:0 12px;margin-right:2px;font-size:.82em;font-style:normal;font-weight:700;line-height:1.8}
p.is-style-wtc-pill strong{background:var(--wtc-accent);color:var(--wtc-on-accent)}
p.is-style-wtc-pill em{background:var(--wtc-accent-soft);color:var(--wtc-accent)}
/* キーの表示（書式「キーボード入力」）・ファイル名や場所（書式「インラインコード」）・値札（太字） */
p.is-style-wtc-key kbd{display:inline-block;font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#fafafa;color:#333;border:1px solid #bbb;border-bottom-width:3px;border-radius:5px;padding:1px 8px;margin:0 2px;box-shadow:none}
p.is-style-wtc-file code{display:inline-block;font:inherit;font-size:.82em;line-height:1.8;background:color-mix(in srgb,var(--wtc-line) 45%,var(--wtc-card));color:var(--wtc-ink);border:0;border-radius:4px;padding:0 8px}
p.is-style-wtc-file code::before{content:"";display:inline-block;width:10px;height:12px;background:var(--wtc-accent-2);border-radius:1px 4px 1px 1px;margin-right:5px;vertical-align:-1px}
p.is-style-wtc-pricetag strong{display:inline-block;background:var(--wtc-ink);color:var(--wtc-card);font-weight:400;font-size:.82em;line-height:1.8;padding:0 10px 0 18px;clip-path:polygon(9px 0,100% 0,100% 100%,9px 100%,0 50%)}
/* 読む時間・目次へ戻る・関連と参考のリンク（最初の太字が主の色のラベル、最初の斜体が灰色のラベル） */
p.is-style-wtc-readtime{--wtc-icd:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22black%22%20stroke-width=%221.8%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpath%20d=%22M12%207v5l3%202%22/%3E%3C/svg%3E");display:inline-flex;gap:6px;align-items:center;background:var(--wtc-accent-soft);border-radius:999px;padding:2px 14px;font-size:.82em}
p.is-style-wtc-readtime::before{content:"";width:14px;height:14px;flex:none;background:var(--wtc-accent);-webkit-mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat;mask:var(--wtc-ic,var(--wtc-icd)) center/contain no-repeat}
p.is-style-wtc-totoc{text-align:right}
p.is-style-wtc-totoc a{font-size:.82em;text-decoration:none}p.is-style-wtc-totoc a::before{content:"↑ "}
p.is-style-wtc-rel{display:flex;gap:8px;align-items:baseline;margin:4px 0!important}
p.is-style-wtc-rel>:is(strong,em):first-child{flex:none;white-space:nowrap;font-style:normal;font-size:11px;font-weight:700;line-height:1.7;padding:1px 8px;border-radius:3px;background:var(--wtc-accent);color:var(--wtc-on-accent)}
p.is-style-wtc-rel>em:first-child{background:var(--wtc-sub);color:#fff}
p.is-style-wtc-rel a{font-weight:700}
/* 見出し：後ろに大きな薄い番号（最初の太字が番号）・両側に線 */
h2.is-style-wtc-h-bgnum{isolation:isolate;padding:28px 0 0 6px!important}
h2.is-style-wtc-h-bgnum>strong:first-child{position:absolute;left:0;top:0;z-index:-1;font-size:2.6em;line-height:1;font-weight:700;color:color-mix(in srgb,var(--wtc-accent) 18%,var(--wtc-bg))}
:is(h2,h3).is-style-wtc-h-sides{display:flex;align-items:center;gap:14px;text-align:center}
:is(h2,h3).is-style-wtc-h-sides::before,:is(h2,h3).is-style-wtc-h-sides::after{content:""!important;flex:1;height:1px;background:var(--wtc-line)}
