@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* ==== TKE-LATE ==== */
/* ============================================================
   とくぶろ E「マガジン・羅針盤」テーマ v1.0 (2026-07-25)
   ここから下は追加分。丸ごと削除すれば元のデザインに戻ります。
   ============================================================ */

/* ---- トークン ---- */
:root{
  --tke-paper:#F7F2E7; --tke-ink:#26211a; --tke-sub:#5d5340; --tke-faint:#8a7f68;
  --tke-gold:#B98A2F; --tke-green:#2F6D4F; --tke-line:#E2D8C2; --tke-rule:#26211a;
}

/* ---- 地とタイポグラフィ ---- */
body, body.custom-background{ background:var(--tke-paper) !important; color:var(--tke-ink); }
.article h2, .article h3, .widget-sidebar-title, .related-entry-heading,
.entry-card-title, .top-articles-title{
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif !important; font-weight:600 !important; }

/* ---- ヘッダー ---- */
#header, .header{ background:var(--tke-paper) !important; border-bottom:1px solid var(--tke-rule); box-shadow:none !important; }
.logo-text .site-name-text, .logo .site-name-text{
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif !important; color:var(--tke-ink) !important; letter-spacing:.08em; }
.tagline{ color:var(--tke-faint) !important; letter-spacing:.14em; }
#navi, .navi-in{ background:var(--tke-paper) !important; }
#navi .navi-in > ul li a{ color:var(--tke-ink) !important; font-weight:600; border-bottom:2px solid transparent; }
#navi .navi-in > ul li a:hover{ background:transparent !important; color:var(--tke-gold) !important; border-bottom-color:var(--tke-gold); }

/* ---- 羅針盤レール(コンテンツ上部ウィジェット) ---- */
.tk-rail{ background:var(--tke-paper); border-top:1px solid var(--tke-rule); border-bottom:1px solid var(--tke-rule); margin:0 0 26px; }
.tk-rail-in{ display:flex; align-items:stretch; }
.tk-rail-cap{ flex:none; display:flex; flex-direction:column; justify-content:center; padding:12px 18px;
  border-right:1px solid var(--tke-rule); font-weight:700; font-size:12.5px; letter-spacing:.1em; color:var(--tke-ink); }
.tk-rail-cap small{ font-weight:500; color:var(--tke-faint); font-size:10.5px; letter-spacing:.05em; }
.tk-rail a{ flex:1; text-align:center; text-decoration:none; color:var(--tke-ink); padding:9px 4px 8px; border-left:1px solid var(--tke-line); }
.tk-rail a:first-of-type{ border-left:none; }
.tk-rail a:hover{ background:#F0E7D2; }
.tk-rail .n{ display:block; font-family:"Hiragino Mincho ProN",serif; font-size:19px; color:var(--tke-gold); line-height:1.2; }
.tk-rail .t{ display:block; font-size:10.5px; font-weight:700; margin-top:2px; }
@media (max-width:640px){
  .tk-rail-in{ flex-wrap:wrap; }
  .tk-rail-cap{ width:100%; border-right:none; border-bottom:1px solid var(--tke-line); flex-direction:row; gap:10px; align-items:baseline; padding:9px 14px; }
  .tk-rail a{ flex:1 1 24%; }
}

/* ---- トップページ Eコンポーネント ---- */
.tke-hero{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; padding:34px 6px 40px; align-items:center; }
.tke-kicker{ font-size:12px; letter-spacing:.3em; color:var(--tke-green); font-weight:700; margin-bottom:12px; }
.tke-hero h1, .tke-hero .tke-h{ font-family:"Hiragino Mincho ProN","Yu Mincho",serif; font-size:38px; line-height:1.4;
  margin:0 0 16px; font-weight:600; letter-spacing:.02em; color:var(--tke-ink); }
.tke-h mark{ background:linear-gradient(transparent 62%, #EAD9A8 62%); color:inherit; }
.tke-lead{ font-size:14px; line-height:2.1; color:var(--tke-sub); margin:0 0 24px; max-width:34em; }
.tke-cta{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.tke-cta .tke-go{ background:var(--tke-ink); color:var(--tke-paper) !important; padding:14px 24px; border-radius:2px;
  font-weight:700; font-size:13.5px; text-decoration:none; }
.tke-cta .tke-go:hover{ background:#3d3627; }
.tke-cta .tke-alt{ color:var(--tke-green) !important; font-weight:700; font-size:13.5px; text-decoration:none;
  border-bottom:1.5px solid var(--tke-green); padding-bottom:3px; }
.tke-feat{ border:1px solid var(--tke-rule); background:#fff; padding:10px; transform:rotate(.4deg); display:block; text-decoration:none; }
.tke-feat:hover{ transform:rotate(0deg); }
.tke-feat img{ display:block; width:100%; height:auto; border:1px solid var(--tke-line); }
.tke-feat-meta{ display:flex; justify-content:space-between; align-items:center; padding:12px 8px 6px; }
.tke-feat-meta .tag{ font-size:11px; letter-spacing:.2em; color:var(--tke-green); font-weight:700; }
.tke-feat-meta .rd{ font-size:12px; color:var(--tke-faint); }

.tke-sech{ display:flex; align-items:baseline; gap:14px; margin:34px 0 18px; }
.tke-sech h2{ font-family:"Hiragino Mincho ProN",serif; font-size:22px; margin:0; font-weight:600;
  background:transparent !important; border:none !important; padding:0 !important; color:var(--tke-ink) !important; }
.tke-sech .rule{ flex:1; height:1px; background:var(--tke-rule); opacity:.6; }
.tke-sech a{ font-size:12.5px; color:var(--tke-green) !important; font-weight:700; text-decoration:none; }

/* 新着(new_listショートコード)のマガジン化 */
.tke-mag .new-entry-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.tke-mag .a-wrap{ border-top:2px solid var(--tke-rule); padding:14px 0 0; margin:0 !important; background:transparent !important; }
.tke-mag .a-wrap:hover{ background:#F0E7D2 !important; }
.tke-mag .entry-card{ display:block; }
.tke-mag .card-thumb{ margin-bottom:10px; }
.tke-mag .card-thumb img{ border:1px solid var(--tke-line); width:100%; height:auto; }
.tke-mag .card-title{ font-size:15.5px; line-height:1.65; font-weight:600 !important; color:var(--tke-ink);
  font-family:"Hiragino Mincho ProN",serif !important; }
.tke-mag .entry-card-meta, .tke-mag .card-meta{ color:var(--tke-faint); font-size:11px; }

/* おすすめの罫線リスト */
.tke-list{ list-style:none; margin:0; padding:0; }
.tke-list li{ border-bottom:1px solid var(--tke-line); }
.tke-list a{ display:flex; gap:14px; align-items:baseline; padding:13px 6px; text-decoration:none; color:var(--tke-ink); }
.tke-list a:hover{ background:#F0E7D2; }
.tke-list .no{ font-family:"Hiragino Mincho ProN",serif; color:var(--tke-gold); font-size:17px; flex:none; }
.tke-list .tt{ font-size:14.5px; font-weight:600; line-height:1.6; }
.tke-list .ct{ margin-left:auto; flex:none; font-size:11px; letter-spacing:.18em; color:var(--tke-green); font-weight:700; }

/* ホンネ黒帯 */
.tke-honne{ background:var(--tke-ink); color:#EFE6CF; padding:32px 34px; margin:38px 0;
  display:grid; grid-template-columns:auto 1fr auto; gap:24px; align-items:center; }
.tke-honne .q{ font-family:"Hiragino Mincho ProN",serif; font-size:50px; color:var(--tke-gold); line-height:.4; }
.tke-honne blockquote{ margin:0; padding:0; border:none; background:transparent; font-family:"Hiragino Mincho ProN",serif;
  font-size:16.5px; line-height:1.9; color:#EFE6CF; }
.tke-honne .who{ font-size:11.5px; color:#b9ac8d; margin-top:6px; }
.tke-honne a{ color:var(--tke-gold) !important; font-weight:700; font-size:13px; text-decoration:none;
  border:1px solid var(--tke-gold); padding:12px 18px; border-radius:2px; white-space:nowrap; }
.tke-honne a:hover{ background:rgba(185,138,47,.15); }

/* CTA帯・プロフィール帯 */
.tke-band{ display:flex; gap:14px; margin:8px 0 34px; flex-wrap:wrap; }
.tke-band a{ flex:1 1 40%; text-align:center; text-decoration:none; font-weight:700; font-size:13.5px;
  padding:16px 12px; border-radius:2px; }
.tke-band .b1{ background:var(--tke-green); color:#fff !important; }
.tke-band .b2{ border:1.5px solid var(--tke-ink); color:var(--tke-ink) !important; }
.tke-prof{ border-top:1px solid var(--tke-rule); border-bottom:1px solid var(--tke-rule); padding:18px 6px;
  display:flex; gap:16px; align-items:center; margin:0 0 10px; }
.tke-prof .nm{ font-family:"Hiragino Mincho ProN",serif; font-size:17px; }
.tke-prof .rl{ font-size:12px; color:var(--tke-faint); }
.tke-prof a{ margin-left:auto; font-size:12.5px; font-weight:700; color:var(--tke-green) !important; text-decoration:none; }

@media (max-width:834px){
  .tke-hero{ grid-template-columns:1fr; gap:26px; padding-top:22px; }
  .tke-hero .tke-h{ font-size:28px; }
  .tke-mag .new-entry-cards{ grid-template-columns:1fr; }
  .tke-honne{ grid-template-columns:1fr; text-align:left; padding:24px 22px; }
  .tke-honne .q{ display:none; }
}

/* ---- 記事ページの誌面化 ---- */
.article h2{ background:transparent !important; border:none !important; border-bottom:2px solid var(--tke-rule) !important;
  border-radius:0 !important; color:var(--tke-ink) !important; padding:.35em .05em !important; letter-spacing:.02em; }
.article h3{ border:none !important; border-left:4px solid var(--tke-gold) !important; border-radius:0 !important;
  background:transparent !important; padding:.25em .6em !important; }
article.article, .entry-content-wrap, #main.main{ background:transparent !important; border:none !important; box-shadow:none !important; }
.entry-card-wrap, .related-entry-card-wrap{ border-radius:0 !important; }
.widget-sidebar-title{ background:transparent !important; color:var(--tke-ink) !important;
  border-bottom:2px solid var(--tke-rule) !important; border-radius:0 !important; padding:.3em .1em !important; }
.sidebar .widget{ background:transparent; }

/* ---- フッター ---- */
#footer, .footer{ background:var(--tke-ink) !important; }
#footer a, .footer a, .footer-bottom-content, .footer-meta, #footer .widget-title{ color:#EFE6CF !important; }

/* ---- 既存トップ用CSSの後始末(旧top-*が残った場合の保険) ---- */
.top-hero{ background:transparent !important; }

/* E追補: Cocoonの.bodyラッパー系への背景上書き(リテラル指定) */
html body, body.custom-background, #body, .body, #container, #content, .content{
  background:#F7F2E7 !important; background-image:none !important; }
.article-wrap, .main, #main{ background:transparent !important; }

/* E追補2: ヘッダー一行化+二トーンロゴ (2026-07-25) */
#header-container{ border-bottom:1px solid var(--tke-rule); background:var(--tke-paper) !important; }
#header, .header{ border-bottom:none !important; background:transparent !important; }
#header::after, .header::after{ content:none !important; }
/* 二トーンロゴ(元テキストはSEO/読み上げ用に保持) */
.site-name-text{ font-size:0 !important; }
.site-name-text::before{ content:"とく"; font-size:27px; color:var(--tke-ink);
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif; font-weight:700; letter-spacing:.1em; }
.site-name-text::after{ content:"ぶろ"; font-size:27px; color:var(--tke-gold);
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif; font-weight:700; letter-spacing:.1em; }
@media (min-width:835px){
  #header-container-in.hlt-center-logo{ display:flex; align-items:center; max-width:1200px; margin:0 auto;
    padding:16px 28px; width:100%; box-sizing:border-box; }
  #header{ flex:none; }
  #header-in{ display:flex !important; align-items:baseline; gap:22px; padding:0 !important; text-align:left; }
  #header-in .logo{ order:1; padding:0 !important; text-align:left; }
  #header-in .logo a{ display:inline-block; }
  #header-in .tagline{ order:2; margin:0; font-size:12px; letter-spacing:.2em; color:var(--tke-faint) !important; }
  #navi{ margin-left:auto; flex:1; background:transparent !important; }
  #navi .navi-in{ background:transparent !important; }
  #navi .navi-in > ul{ display:flex; justify-content:flex-end; gap:2px; }
  #navi .navi-in > ul > li{ height:auto; line-height:1.4; }
  #navi .navi-in > ul li a{ padding:8px 15px; font-size:14.5px; font-weight:700; height:auto;
    line-height:1.5; color:var(--tke-ink) !important; }
  #navi .navi-in > ul li a:hover{ color:var(--tke-gold) !important; background:transparent !important; }
  #navi .navi-in .item-label{ font-size:14.5px; }
}

/* E追補3: サイドバー撤去・全面1カラム誌面化 (2026-07-25) */
/* --- サイドバー撤去と主柱の全幅化 --- */
.sidebar, #sidebar{ display:none !important; }
.main, #main{ width:100% !important; max-width:none !important; margin:0 !important;
  float:none !important; padding:8px 26px 40px !important; }
#content-in, .content-in{ max-width:1160px; margin:0 auto; width:100%; }

/* --- 記事ページ: 中央760pxの読書尺 --- */
body.single .main article.article, body.page:not(.home) .main article.article{
  max-width:760px; margin:0 auto !important; }
body.home .main article.article, body.page-id-45 .main article.article{ max-width:none; }

/* 記事タイトルの誌面化 */
body.single .entry-title, body.page:not(.home) .entry-title{
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif !important; font-weight:600 !important;
  font-size:29px !important; line-height:1.55 !important; letter-spacing:.02em;
  background:none !important; border:none !important; padding:0 !important; position:static !important; }
body.single .entry-title::before, body.page .entry-title::before{ content:none !important; }
body.single .entry-title::after, body.page:not(.home) .entry-title::after{
  content:"" !important; display:block; width:64px; height:3px; background:var(--tke-gold);
  margin-top:14px; position:static !important; border-radius:0; }
.article-header .post-date, .article-header .post-update, .article-header .entry-category{
  color:var(--tke-faint) !important; letter-spacing:.14em; font-size:11.5px; }

/* 目次を誌面の枠組みに */
.toc, .toc-wrap .toc{ background:transparent !important; border:1px solid var(--tke-rule) !important;
  border-radius:0 !important; padding:18px 22px; }
.toc-title{ font-family:"Hiragino Mincho ProN",serif !important; letter-spacing:.34em; font-weight:600 !important; }
.toc a{ color:var(--tke-ink) !important; }
.toc a:hover{ color:var(--tke-gold) !important; }

/* 著者ボックス・関連記事 */
.author-box{ border:1px solid var(--tke-rule) !important; border-radius:0 !important; background:#fff !important; }
.related-entry-heading, .comment-title{ background:none !important; border:none !important;
  border-bottom:2px solid var(--tke-rule) !important; border-radius:0 !important;
  padding:.35em .05em !important; color:var(--tke-ink) !important; }
.related-entry-card-wrap{ border-top:2px solid var(--tke-rule) !important; border-left:none !important;
  border-right:none !important; border-bottom:none !important; border-radius:0 !important; }

/* --- 一覧(記事一覧・カテゴリ・検索)を誌面グリッドに --- */
#list.ect-entry-cards, .list.ect-entry-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
#list .entry-card-wrap, .list .entry-card-wrap{
  border-top:2px solid var(--tke-rule); padding:14px 0 0; margin:0 !important; background:transparent !important; }
#list .entry-card-wrap:hover, .list .entry-card-wrap:hover{ background:#F0E7D2 !important; }
#list a.entry-card, .list a.entry-card{ display:block !important; }
#list .entry-card-thumb, .list .entry-card-thumb{
  float:none !important; width:100% !important; margin:0 0 10px !important; }
#list .entry-card-thumb img, .list .entry-card-thumb img{ width:100%; height:auto; border:1px solid var(--tke-line); }
#list .entry-card-content, .list .entry-card-content{ margin-left:0 !important; padding:0 !important; min-height:0 !important; }
#list .entry-card-title, .list .entry-card-title{
  font-family:"Hiragino Mincho ProN",serif !important; font-size:15.5px !important;
  line-height:1.65 !important; font-weight:600 !important; color:var(--tke-ink); }
#list .entry-card-snippet, .list .entry-card-snippet{ font-size:12px; line-height:1.8; color:var(--tke-sub); }
#list .entry-card-meta, .list .entry-card-meta{ color:var(--tke-faint); font-size:11px; }

/* ページネーション */
.pagination .page-numbers{ border:1px solid var(--tke-rule); border-radius:0 !important;
  background:transparent !important; color:var(--tke-ink) !important; }
.pagination .page-numbers.current{ background:var(--tke-ink) !important; color:var(--tke-paper) !important; }

/* --- フッター奥付 --- */
#footer{ border-top:1px solid var(--tke-rule); }
#footer .footer-in, .footer-bottom{ text-align:center; }
.footer-bottom-logo .site-name-text::before, .footer-bottom-logo .site-name-text::after{ font-size:20px; }
#footer .navi-footer-in a{ letter-spacing:.08em; }

/* --- モバイル調整 --- */
@media (max-width:834px){
  .main, #main{ padding:4px 16px 30px !important; }
  #list.ect-entry-cards, .list.ect-entry-cards{ grid-template-columns:1fr; gap:20px; }
  body.single .entry-title, body.page:not(.home) .entry-title{ font-size:23px !important; }
}

/* E追補4: 一覧グリッドの正セレクタ修正 (2026-07-25) */
#list{ display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:28px !important;
  width:100% !important; box-sizing:border-box; }
#list .entry-card-wrap{ width:auto !important; max-width:100% !important; margin:0 !important;
  padding:14px 0 0 !important; border:none !important; border-top:2px solid var(--tke-rule) !important;
  background:transparent !important; box-sizing:border-box; border-radius:0 !important; }
#list .entry-card-wrap:hover{ background:#F0E7D2 !important; }
#list .entry-card{ display:block !important; width:100% !important; }
#list .entry-card-thumb{ width:100% !important; max-width:100% !important; margin:0 0 10px !important; float:none !important; }
#list .entry-card-thumb img{ width:100% !important; height:auto !important; border:1px solid var(--tke-line); }
#list .entry-card-content{ margin:0 !important; padding:0 !important; width:auto !important; min-height:0 !important; }
@media (max-width:834px){
  #list{ grid-template-columns:1fr !important; gap:20px !important; }
}

/* E追補5: PC表示でモバイル用メニュー複製を再度隠す(flex指定の副作用修正) */
@media (min-width:835px){
  #navi .navi-in > ul:not(.menu-pc){ display:none !important; }
}

/* E追補6: ヘッダーのスクロール固定 (2026-07-25) */
#header-container{ position:sticky !important; top:0; z-index:9000;
  background:var(--tke-paper) !important; }
body.admin-bar #header-container{ top:32px; }

/* E追補7: 全体カラーハーモニー(旧配色の残滓をEパレットへ) (2026-07-25) */
/* 本文リンク: 深緑+柔らかい下線 */
.article a:not(.tke-go):not(.tke-alt):not([class*="btn"]):not(.blogcard){
  color:var(--tke-green) !important; text-decoration:underline;
  text-decoration-color:rgba(47,109,79,.4); text-underline-offset:3px; }
.article a:hover{ text-decoration-color:var(--tke-green); }

/* 旧CTAボタン(オレンジ/コーラル系)を墨×金の誌面ボタンに */
.cta-button, .custom-cta-button{ background:var(--tke-ink) !important; background-image:none !important;
  color:var(--tke-paper) !important; border-radius:2px !important; box-shadow:none !important; }
.cta-button:hover, .custom-cta-button:hover{ background:#3d3627 !important; transform:none !important; }

/* Cocoonキーカラー(青)系のボタン・帯を深緑へ */
.has-key-color-background-color, .btn-wrap.has-key-color-background-color > a{
  background:var(--tke-green) !important; }
.btn, .btn-wrap a{ border-radius:2px !important; }

/* テーブルをインクの罫線様式に */
.article table th{ background:#EFE7D3 !important; color:var(--tke-ink) !important;
  border-color:var(--tke-line) !important; }
.article table td{ border-color:var(--tke-line) !important; }
.article table{ border-color:var(--tke-rule) !important; }

/* 引用 */
.article blockquote{ background:transparent !important; border:none !important;
  border-left:3px solid var(--tke-gold) !important; color:var(--tke-sub) !important; }

/* 情報・注意ボックスの角を誌面に合わせて直線化 */
.information-box, .question-box, .alert-box, .memo-box, .common-icon-box, .blank-box{
  border-radius:0 !important; }

/* モバイル下部ボタン帯 */
.mobile-menu-buttons{ background:var(--tke-paper) !important; border-top:1px solid var(--tke-rule); }
.mobile-menu-buttons .menu-caption, .mobile-menu-buttons .menu-icon{ color:var(--tke-ink) !important; }

/* 検索窓等の残り */
input[type="text"], input[type="search"], textarea{ border-color:var(--tke-line) !important; border-radius:2px !important; }

/* E追補8: ヘッダー内.wrap固定幅の解除(横2512px化の修正) (2026-07-25) */
@media (min-width:835px){
  #header{ width:auto !important; max-width:none !important; }
  #header-in.wrap, #header-in{ width:auto !important; max-width:none !important; }
  #navi{ width:auto !important; }
  #navi .navi-in.wrap, #navi-in{ width:auto !important; max-width:none !important; }
}

/* E追補9: ヘッダーのレガシー装飾全面無効化 (2026-07-25) */
/* ロゴ: 緑ボックス等の背景・影・枠を除去 */
#header .logo, #header .logo a, .logo-text, .site-name, .site-name-text{
  background:none !important; box-shadow:none !important; border:none !important;
  text-shadow:none !important; padding:0 !important; }
.site-name-text::before{ background:none !important; padding:0 !important; box-shadow:none !important;
  border:none !important; text-shadow:none !important; display:inline !important; }
.site-name-text::after{ background:none !important; padding:0 !important; box-shadow:none !important;
  border:none !important; text-shadow:none !important; display:inline !important;
  position:static !important; width:auto !important; height:auto !important; transform:none !important; }
#header .logo::before, #header .logo::after, .logo-text::before, .logo-text::after{
  content:none !important; }
/* タグライン: ピル背景・色化けを除去 */
#header .tagline{ background:none !important; border:none !important; border-radius:0 !important;
  box-shadow:none !important; padding:0 !important; margin:0 !important;
  color:var(--tke-faint) !important; text-shadow:none !important; opacity:1 !important;
  font-size:12px !important; letter-spacing:.2em !important; transform:none !important; position:static !important; }
#header .tagline::before, #header .tagline::after{ content:none !important; }
/* 金色の横線などヘッダー内の残留装飾 */
#header-in::before, #header-in::after, #navi::before, #navi::after,
#navi .navi-in::before, #navi .navi-in::after, #header-container::before{ content:none !important; }
#navi, #navi .navi-in, #navi ul, #navi li{ border:none !important; box-shadow:none !important; }
/* ナビ: 固定幅176px解除・右寄せ・折返し禁止 */
@media (min-width:835px){
  #navi .navi-in > ul.menu-header{ display:flex !important; justify-content:flex-end !important;
    flex-wrap:nowrap !important; width:100% !important; gap:0 !important; }
  #navi .navi-in > ul > li{ width:auto !important; min-width:0 !important; max-width:none !important;
    flex:none !important; height:auto !important; background:none !important; }
  #navi .navi-in > ul > li > a{ white-space:nowrap; width:auto !important; }
  #navi{ flex:1 1 auto !important; min-width:0; }
  #navi .caption-wrap, #navi .item-label{ background:none !important; border:none !important; }
}

/* E追補10: ロゴ擬似要素の背景を最高詳細度で除去 (2026-07-25) */
#header .logo-text .site-name-text::before, #header .logo-text .site-name-text::after,
#header .logo .site-name-text::before, #header .logo .site-name-text::after,
header#header div.logo a.site-name span.site-name-text::before,
header#header div.logo a.site-name span.site-name-text::after{
  background:none !important; background-color:transparent !important; background-image:none !important;
  padding:0 !important; margin:0 !important; box-shadow:none !important; border-radius:0 !important;
  border:none !important; outline:none !important; }

/* E追補11: Cocoon追従ナビ(緑バー)の無効化 + おすすめカード非表示 (2026-07-25) */
#navi.is-fixed, .navi.is-fixed{ position:static !important; top:auto !important; left:auto !important;
  width:auto !important; background:none !important; box-shadow:none !important; z-index:auto !important; }
#navi-in-fixed, .navi-fixed-margin{ display:none !important; margin:0 !important; }
.recommended, .recommended-in{ display:none !important; }

/* E追補12: ホンネ黒帯内の引用を可読化(記事用blockquoteスタイルの例外) (2026-07-25) */
.article .tke-honne blockquote, .tke-honne blockquote{
  background:none !important; border:none !important; box-shadow:none !important;
  color:#EFE6CF !important; padding:0 !important; margin:0 !important;
  font-family:"Hiragino Mincho ProN","Yu Mincho",serif !important; font-size:16.5px !important; line-height:1.9 !important; }
.article .tke-honne blockquote::before, .article .tke-honne blockquote::after,
.tke-honne blockquote::before, .tke-honne blockquote::after{ content:none !important; display:none !important; }
.tke-honne .who{ color:#b9ac8d !important; }
.tke-honne .q{ color:var(--tke-gold) !important; }
.tke-honne a{ color:#DFAE55 !important; border-color:#DFAE55 !important; }

/* E追補13: E部品内リンクを記事用リンク色ルールから除外 (2026-07-25) */
.article .tke-band a, .article .tk-rail a, .article .tke-list a, .article a.tke-feat,
.article .tke-cta a, .article .tke-prof a, .article .tke-sech a{
  text-decoration:none !important; }
.article .tke-band a.b1{ color:#ffffff !important; background:var(--tke-green) !important; }
.article .tke-band a.b1:hover{ background:#265a41 !important; }
.article .tke-band a.b2{ color:var(--tke-ink) !important; border:1.5px solid var(--tke-ink) !important; background:transparent !important; }
.article .tk-rail a, .article .tke-list a{ color:var(--tke-ink) !important; }
.article .tke-list a .ct{ color:var(--tke-green) !important; }
.article .tke-cta a.tke-go{ color:var(--tke-paper) !important; }
.article .tke-cta a.tke-alt{ color:var(--tke-green) !important; border-bottom:1.5px solid var(--tke-green) !important; }
.article .tke-prof a, .article .tke-sech a{ color:var(--tke-green) !important; }

/* E追補14: 詳細度ブースト(:not(#tke)=ID級)でE部品内リンクを最終確定 (2026-07-25) */
.article .tke-band a:not(#tke){ text-decoration:none !important; }
.article .tke-band a.b1:not(#tke){ color:#ffffff !important; background:var(--tke-green) !important; }
.article .tke-band a.b2:not(#tke){ color:var(--tke-ink) !important; border:1.5px solid var(--tke-ink) !important; }
.article .tk-rail a:not(#tke), .article .tke-list a:not(#tke){ color:var(--tke-ink) !important; text-decoration:none !important; }
.article .tke-list .ct:not(#tke){ color:var(--tke-green) !important; }
.article .tke-honne a:not(#tke){ color:#DFAE55 !important; text-decoration:none !important; }
.article .tke-cta a.tke-go:not(#tke){ color:var(--tke-paper) !important; text-decoration:none !important; }
.article .tke-cta a.tke-alt:not(#tke){ color:var(--tke-green) !important; text-decoration:none !important; }
.article .tke-prof a:not(#tke), .article .tke-sech a:not(#tke){ color:var(--tke-green) !important; text-decoration:none !important; }
.article a.tke-feat:not(#tke){ text-decoration:none !important; }
.article .tke-feat .tag:not(#tke){ color:var(--tke-green) !important; }
.article .tke-feat .rd:not(#tke){ color:var(--tke-faint) !important; }

/* E追補15: スクロール時の金色下線(is-fixed時のレガシー装飾)を除去 (2026-07-25) */
#navi.is-fixed:not(#tke), nav#navi.is-fixed, #navi.is-fixed .navi-in{
  border:none !important; border-bottom:none !important; box-shadow:none !important;
  background:none !important; }

/* E追補16: ヘッダー固定(sticky)の解除 — 通常スクロールに戻す (2026-07-25) */
#header-container{ position:static !important; top:auto !important; }

/* E追補17: テーマグリーンをウォーム松葉色へ全体調色 (2026-07-25) */
:root{
  --tke-green:#4E6B51;          /* 旧 #2F6D4F */
  --tke-green-deep:#3D553F;
  --tke-green-tint:#EEF2E9;
  --tke-green-line:#D6DFCE;
}
/* ホバーのリテラル更新 */
.article .tke-band a.b1:hover:not(#tke){ background:var(--tke-green-deep) !important; }
.tke-cta .tke-go:hover{ background:#3d3627 !important; }
/* 残存コンポーネントの緑を統一 */
.go-to-top-button, button.go-to-top-button{ background:var(--tke-green) !important; }
button.search-submit, .search-submit{ background:var(--tke-green) !important; border-color:var(--tke-green) !important; }
.tb-prof-btn{ background:var(--tke-green) !important; }
.comment-btn, .comment-btn.key-btn{ border-color:var(--tke-green-line) !important; color:var(--tke-green) !important; background:transparent !important; }
.post-date, .post-update{ color:var(--tke-faint) !important; }
.site-name-text, a.site-name-text-link{ color:var(--tke-ink) !important; }
/* Cocoonキーカラー継承分の再指定(追補7の上書き) */
.has-key-color-background-color, .btn-wrap.has-key-color-background-color > a{ background:var(--tke-green) !important; }

/* E追補18: アクセントを暖色ブラウン(栗色)へ変更 (2026-07-25) */
:root{
  --tke-green:#7A5230;          /* アクセント=栗色(変数名は互換のため維持) */
  --tke-green-deep:#5F3F24;
  --tke-green-tint:#F1E9DC;
  --tke-green-line:#DFCFB6;
}

/* E追補19: ロゴ「ぶろ」を栗色に(とく=黒は維持) (2026-07-25) */
#header .logo-text .site-name-text::before{ color:var(--tke-ink) !important; }
#header .logo-text .site-name-text::after{ color:var(--tke-green) !important; }
.footer-bottom-logo .site-name-text::after{ color:var(--tke-green) !important; }

/* E追補21: はじめに/自己紹介/お問い合わせ ページの緑→暖色化 (2026-07-25) */
.article [class^="prof-"], .article [class*=" prof-"],
.article [class^="contact-"], .article [class*=" contact-"],
.article [class^="hajime-"], .article [class*=" hajime-"]{
  border-color:#DFCFB6 !important; }
.prof-eyebrow, .contact-eyebrow, .hajime-eyebrow{
  color:#7A5230 !important; background:rgba(122,82,48,.08) !important; }
.prof-hero-desc, .contact-desc, .prof-intro, .contact-note, .hajime-message p{
  color:#6E6152 !important; }
.prof-summary-label, .contact-guide-label{ color:#A08A6A !important; }
.prof-summary{ border-color:#EFE7D8 !important; }
.prof-summary-item, .contact-guide-item{ border-color:#E6D9C3 !important; }
.prof-timeline-wrap, .prof-timeline-item{ border-color:#DFCFB6 !important; }
.prof-timeline-dot, .prof-timeline-line{ background:#B98A2F !important; border-color:#B98A2F !important; }
/* ページ本文の緑文字(ページ限定ルール由来)を墨に戻す */
body.page-id-55 .article p, body.page-id-62 .article p, body.page-id-69 .article p{
  color:var(--tke-ink); }
body.page-id-55 .article p.fadeup, body.page-id-62 .article p.fadeup, body.page-id-69 .article p.fadeup{
  color:inherit !important; }
/* 見出し類の緑 */
body.page-id-55 .article h2, body.page-id-62 .article h2, body.page-id-69 .article h2,
body.page-id-55 .article h3, body.page-id-62 .article h3, body.page-id-69 .article h3{
  color:var(--tke-ink) !important; }

/* E追補22: 固定ページ残存グリーンの最終掃討 (2026-07-25) */
body.page-id-55 .article li, body.page-id-62 .article li, body.page-id-69 .article li,
body.page-id-55 .article ul, body.page-id-62 .article ul, body.page-id-69 .article ul{
  color:var(--tke-ink) !important; }
.prof-tl-label, .article [class*="prof-tl"], .contact-form-note{
  background:rgba(122,82,48,.08) !important; color:#7A5230 !important; border-color:#DFCFB6 !important; }
.wpcf7 .wpcf7-form-control, .wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea{
  border-color:#DFCFB6 !important; background:#FFFDF8 !important; }
.wpcf7 input[type="submit"], .wpcf7-submit{
  background:#7A5230 !important; border-color:#7A5230 !important; color:#fff !important; }

/* E追補23: タグラインをロゴ横に確定 + 残存グリーン掃討 (2026-07-25) */
@media (min-width:835px){
  #header-in{ flex-wrap:nowrap !important; }
  #header-in .tagline{ width:auto !important; display:inline-block !important;
    white-space:nowrap !important; margin:0 0 0 18px !important; position:static !important;
    order:2; float:none !important; text-align:left !important; }
}
.hajime-number:not(#tke){ color:#7A5230 !important; background:rgba(122,82,48,.08) !important; border-color:#DFCFB6 !important; }
.prof-value-num:not(#tke){ color:#B98A2F !important; border-color:#DFCFB6 !important; }
body.page-id-55 .article small, body.page-id-62 .article small, body.page-id-69 .article small{ color:#6E6152 !important; }
input.wpcf7-form-control:not(#tke), textarea.wpcf7-form-control:not(#tke), select.wpcf7-form-control:not(#tke){
  border-color:#DFCFB6 !important; }

/* E追補24: #header-inをflex-direction:rowに(レガシーcolumn上書き) (2026-07-25) */
@media (min-width:835px){
  #header-in{ flex-direction:row !important; }
}

/* E追補25: 最後の緑2種(番号ラベル・textarea枠) (2026-07-25) */
.hajime-number-label:not(#tke){ color:#6E6152 !important; }
body.page-id-69 .article textarea:not(#tke), .wpcf7 textarea:not(#tke), textarea.wpcf7-form-control:not(#tke){
  border-color:#DFCFB6 !important; }

/* E追補26: 固定ページのヒーロー/カード/フォームを完全暖色化 (2026-07-25) */
/* ヒーローの淡緑グラデ→生成りグラデ */
.contact-hero:not(#tke), .prof-hero:not(#tke), .hajime-hero:not(#tke){
  background:linear-gradient(150deg,#FBF6EA 0%,#F1E8D5 100%) !important; }
.contact-hero::before, .contact-hero::after, .prof-hero::before, .prof-hero::after,
.hajime-hero::before, .hajime-hero::after,
.contact-hero [class*="circle"], .prof-hero [class*="circle"], [class*="hero-deco"]{
  background:rgba(185,138,47,.12) !important; }
/* 深緑文字(#1A3A2A系)→墨 */
body.page-id-55 .entry-title:not(#tke), body.page-id-62 .entry-title:not(#tke), body.page-id-69 .entry-title:not(#tke){
  color:var(--tke-ink) !important; }
body.page-id-55 .article h4:not(#tke), body.page-id-62 .article h4:not(#tke), body.page-id-69 .article h4:not(#tke),
body.page-id-69 .article label:not(#tke), body.page-id-69 .wpcf7-form-control-wrap:not(#tke),
.prof-summary-val:not(#tke), .contact-guide-item h4:not(#tke){
  color:var(--tke-ink) !important; }
/* カード面の淡緑→生成り */
.contact-guide-item:not(#tke), .prof-summary-item:not(#tke), .prof-summary:not(#tke),
.hajime-message:not(#tke), .article [class*="hajime-point"]{
  background:#F9F5EA !important; border-color:#E6D9C3 !important; }
/* 送信ボタンの緑グラデ→栗色 */
input.wpcf7-submit:not(#tke), .wpcf7 input[type="submit"]:not(#tke){
  background:#7A5230 !important; background-image:none !important; box-shadow:none !important; color:#fff !important; }
input.wpcf7-submit:hover:not(#tke){ background:#5F3F24 !important; }
/* 見出し脇の緑マーカー・アバターリング */
body.page-id-55 .article h3::before, body.page-id-62 .article h3::before, body.page-id-69 .article h3::before,
body.page-id-55 .article h2::before, body.page-id-62 .article h2::before, body.page-id-69 .article h2::before{
  background:#B98A2F !important; border-color:#B98A2F !important; }
.article [class*="avatar"]:not(#tke){ background:#F1E8D5 !important; border-color:#E6D9C3 !important; }
.prof-hero img:not(#tke){ border-color:#E6D9C3 !important; }

/* E追補27: はじめにの数字カード(hajime-number-item)のグラデ暖色化 (2026-07-25) */
.hajime-number-item:not(#tke){
  background:linear-gradient(150deg,#FBF6EA 0%,#F1E8D5 100%) !important;
  border-color:#E6D9C3 !important; }

/* E追補28: はじめにページの最終調和 (2026-07-25) */
/* 理念メッセージを墨の黒帯様式に(白文字を活かす) */
.hajime-message:not(#tke){ background:var(--tke-ink) !important; border:none !important;
  border-radius:14px !important; padding:34px 30px !important; }
.hajime-message:not(#tke) p, .hajime-message:not(#tke) span, .hajime-message:not(#tke) strong{
  color:#EFE6CF !important; }
.hajime-message .hajime-message-quote:not(#tke){ color:#DFAE55 !important;
  font-family:"Hiragino Mincho ProN",serif !important; }
.hajime-message:not(#tke) p:last-child{ color:#b9ac8d !important; }
/* チェックマーク・リスト装飾を金に */
body.page-id-55 .article li::before, body.page-id-55 .article li::marker,
body.page-id-62 .article li::before, body.page-id-62 .article li::marker,
body.page-id-69 .article li::before, body.page-id-69 .article li::marker,
.article [class*="hajime"] li::before, .article [class*="prof-"] li::before,
.article [class*="check"] li::before, .article li [class*="check"]{
  color:#B98A2F !important; }
/* 4テーマカード等のカード面を生成りに統一 */
body.page-id-55 .article div[class*="-item"]:not(.hajime-number-item):not(#tke){
  background:#FBF7EC !important; border:1px solid #E6D9C3 !important;
  box-shadow:none !important; }

/* E追補30: モバイルドロワーメニューの可読化(紙×墨) (2026-07-25) */
.menu-drawer:not(#tke){ background:#F7F2E7 !important; color:#26211a !important; }
.menu-drawer a:not(#tke){ color:#26211a !important; font-weight:700 !important;
  border-bottom:1px solid #E2D8C2 !important; padding:13px 10px !important; font-size:15px !important; }
.menu-drawer a:hover{ background:#F0E7D2 !important; }
.menu-drawer .item-label{ color:#26211a !important; }
.menu-close-button, .menu-drawer .close-button{ color:#26211a !important; }
#navi-menu-open, .navi-menu-button, .mobile-menu-buttons .menu-button > a{ color:#26211a !important; }
.mobile-menu-buttons:not(#tke){ background:#F7F2E7 !important; border-top:1px solid #E2D8C2 !important; }
.mobile-menu-buttons .menu-icon, .mobile-menu-buttons .menu-caption{ color:#26211a !important; }

/* E追補31: モバイルメニューボタン(ハンバーガー)を墨色に (2026-07-25) */
.navi-menu-icon:not(#tke), .navi-menu-icon::before, .navi-menu-icon::after,
.menu-button .navi-menu-icon, .mobile-menu-buttons .navi-menu-icon{
  background-color:#26211a !important; border-color:#26211a !important; color:#26211a !important; }
.navi-menu-caption:not(#tke), .navi-menu-button .menu-caption:not(#tke),
.navi-menu-button:not(#tke), .menu-button-in:not(#tke){
  color:#26211a !important; }
.navi-menu-button .fa, .menu-button .fa, .mobile-menu-buttons .fa{ color:#26211a !important; }

/* E追補32: 自作ハンバーガー(.tb-hamburger)の墨色化 (2026-07-25) */
.tb-hamburger:not(#tke){ background:transparent !important; color:#26211a !important;
  border:none !important; box-shadow:none !important; }
.tb-hamburger .tb-htxt:not(#tke){ color:#26211a !important; text-shadow:none !important; }
.tb-hamburger .tb-bars:not(#tke), .tb-hamburger .tb-bars::before, .tb-hamburger .tb-bars::after{
  background:#26211a !important; background-color:#26211a !important; border-color:#26211a !important; }

/* E追補33: ハンバーガー開状態は中央バー透明→正しい✕に (2026-07-25) */
#navi.tb-open .tb-hamburger .tb-bars:not(#tke),
.tb-hamburger[aria-expanded="true"] .tb-bars:not(#tke){
  background:transparent !important; background-color:transparent !important; }
#navi.tb-open .tb-hamburger .tb-bars::before, #navi.tb-open .tb-hamburger .tb-bars::after,
.tb-hamburger[aria-expanded="true"] .tb-bars::before, .tb-hamburger[aria-expanded="true"] .tb-bars::after{
  background:#26211a !important; background-color:#26211a !important; }

/* E追補34: Cocoonボックス群のE誌面化(グレー淡白→暖色で伝わる枠) (2026-07-25) */
/* タブ付きラベルボックス(基本形) */
.article .blank-box:not(#tke){ background:#FBF7EC !important; border:2px solid #D9C6AC !important;
  color:var(--tke-ink) !important; border-radius:0 !important; }
.article .blank-box .bb-label:not(#tke){ background:#7A5230 !important; color:#ffffff !important;
  font-weight:700 !important; border-radius:0 !important; padding:5px 16px !important;
  letter-spacing:.06em !important; font-size:14px !important; }
/* 注意・失敗系 = 弁柄(赤茶) */
.article .blank-box .bb-label.danger-before-label:not(#tke),
.article .blank-box.bb-red .bb-label:not(#tke){ background:#A6543A !important; }
.article .blank-box.bb-red:not(#tke){ border-color:#E0BBA8 !important; background:#FBF1EA !important; }
/* 補足・ヒント系 = 金 */
.article .blank-box .bb-label.info-before-label:not(#tke),
.article .blank-box.bb-yellow .bb-label:not(#tke){ background:#B98A2F !important; }
.article .blank-box.bb-yellow:not(#tke){ border-color:#E2CFA4 !important; background:#FBF5E4 !important; }
/* 緑系・グレー系だった変種も暖色へ */
.article .blank-box.bb-green:not(#tke){ border-color:#D9C6AC !important; background:#FBF7EC !important; }
.article .blank-box.bb-green .bb-label:not(#tke){ background:#7A5230 !important; }
.article .blank-box.bb-grey:not(#tke), .article .gray-box:not(#tke){
  background:#F6F1E6 !important; border-color:#DFD3BC !important; }
.article .blank-box.bb-grey .bb-label:not(#tke){ background:#8a7f68 !important; }
/* アイコンボックス群 */
.article .information-box:not(#tke){ background:#F8F2E3 !important; border:2px solid #D9C6AC !important; border-radius:0 !important; }
.article .information-box::before{ color:#B98A2F !important; }
.article .alert-box:not(#tke){ background:#FBF1EA !important; border:2px solid #E0BBA8 !important; border-radius:0 !important; }
.article .alert-box::before{ color:#A6543A !important; }
.article .memo-box:not(#tke){ background:#F6F1E6 !important; border:2px solid #DFD3BC !important; border-radius:0 !important; }
.article .memo-box::before{ color:#8a7f68 !important; }
.article .question-box:not(#tke){ background:#FBF7EC !important; border:2px solid #D9C6AC !important; border-radius:0 !important; }
.article .question-box::before{ color:#7A5230 !important; }
.article .common-icon-box:not(#tke){ background:#FBF7EC !important; border:2px solid #D9C6AC !important; border-radius:0 !important; }
.article .common-icon-box .common-icon-box-icon{ color:#B98A2F !important; }
/* box内文字は墨で統一 */
.article .blank-box, .article .information-box, .article .alert-box, .article .memo-box,
.article .question-box, .article .common-icon-box{ }
.article .blank-box *:not(.bb-label):not(#tke){ color:var(--tke-ink); }

/* ============================================================
   P1: 評議会レビュー対応（見やすさ改善）2026-07-25  = E追補35
   ①メタ色の可読化 ②文字用の金を分離 ③レール現在地
   ④ナビ現在地 ⑤focus-visible ⑥緑残滓の除去
   ============================================================ */
:root{
  --tke-faint:#6E6152;      /* 旧#8a7f68(3.54:1) → 5.4:1 AA合格 */
  --tke-gold-text:#8A6515;  /* 文字用の濃い金 4.76:1（罫線用--tke-goldは維持） */
}

/* ① メタ情報: 色は変数で解決済み、サイズを12px以上に */
.post-date, .post-update, .entry-category, .card-meta, .entry-card-meta,
.e-card-snippet, .card-snippet, #list .entry-card-meta, .tke-feat-meta .rd,
.article-header .post-date{ font-size:12.5px !important; color:var(--tke-faint) !important; }
#list .entry-card-title, .tke-mag .card-title{ font-size:17px !important; }
#list .entry-card-snippet{ font-size:12.5px !important; color:var(--tke-sub) !important; }
#header .tagline{ color:#7A6E5C !important; }

/* ② 文字として使う金を濃い金へ（罫線・区切りの金はそのまま） */
.tk-rail .n:not(#tke){ color:var(--tke-gold-text) !important; }
.tke-list .no:not(#tke){ color:var(--tke-gold-text) !important; }
.tke-honne .q:not(#tke){ color:#DFAE55 !important; }        /* 墨地の上なので明るい金を維持 */
.blank-box .bb-label.info-before-label:not(#tke),
.blank-box.bb-yellow .bb-label:not(#tke){ background:#8A6515 !important; }  /* 白抜き比 4.76:1 */
.hajime-number:not(#tke){ color:#7A5230 !important; }

/* ③ 羅針盤レール: 現在地ハイライト + 数字とラベルの視認性 */
.tk-rail a.tk-now:not(#tke){ background:#EFE4C8 !important; box-shadow:inset 0 -3px 0 var(--tke-gold-text); }
.tk-rail a.tk-now .n:not(#tke), .tk-rail a.tk-now .t:not(#tke){ color:#5F3F24 !important; font-weight:800 !important; }
.tk-rail .n:not(#tke){ font-size:21px !important; font-family:"Hiragino Sans","Yu Gothic",sans-serif !important; font-weight:800 !important; }
.tk-rail .t:not(#tke){ font-size:12px !important; color:var(--tke-ink) !important; }
.tk-rail-cap small{ color:var(--tke-faint) !important; font-size:11px !important; }

/* ④ グローバルナビ: 現在地に金の下線 */
@media (min-width:835px){
  #navi .navi-in > ul.menu-header > li.current-menu-item > a,
  #navi .navi-in > ul.menu-header > li.current-menu-parent > a,
  #navi .navi-in > ul.menu-header > li.current-menu-ancestor > a{
    box-shadow:inset 0 -3px 0 var(--tke-gold-text); color:#5F3F24 !important; }
}

/* ⑤ フォーカス可視化（キーボード操作の到達点を明示） */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline:2px solid #7A5230 !important; outline-offset:2px !important; }
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible{
  outline:2px solid #7A5230 !important; outline-offset:2px !important; box-shadow:none !important; }

/* ⑥ 緑残滓の除去 */
.article a:not(.tke-go):not(.tke-alt):not([class*="btn"]):not(.blogcard){
  text-decoration-color:rgba(122,82,48,.45) !important; }
.article a:hover{ text-decoration-color:#7A5230 !important; }
.article table tr:nth-child(2n+1), .article table tr:nth-child(even){ background:#FBF7EC !important; }
.article table td, .article table th{ border-color:#E2D8C2 !important; }

/* 小型リンクのタップ領域確保 */
.tke-sech a:not(#tke), .tke-prof a:not(#tke){ display:inline-block; padding:6px 4px; }

/* E追補36: P1補修（ナビ現在地の詳細度・アーカイブ見出し・検索窓の緑） 2026-07-25 */
@media (min-width:835px){
  #navi .navi-in > ul > li.current-menu-item > a:not(#tke),
  #navi .navi-in > ul > li.current-menu-parent > a:not(#tke),
  #navi .navi-in > ul > li.current-menu-ancestor > a:not(#tke),
  #navi .navi-in > ul > li.current_page_item > a:not(#tke){
    box-shadow:inset 0 -3px 0 #8A6515 !important; color:#5F3F24 !important; }
}
/* アーカイブ/検索の見出し・入力欄に残る旧緑 */
.entry-title:not(#tke), .archive-title:not(#tke), h1.entry-title:not(#tke){ color:var(--tke-ink) !important; }
.search-edit:not(#tke), input.search-edit:not(#tke), .search-box input:not(#tke){
  color:var(--tke-ink) !important; border-color:#E2D8C2 !important; }
.search-submit:not(#tke){ background:#7A5230 !important; }
/* カテゴリ・タグのラベル類 */
.cat-label:not(#tke), .cat-link:not(#tke), .archive-title .cat-label{ background:#7A5230 !important; color:#fff !important; border-color:#7A5230 !important; }
.current-cat > a:not(#tke){ color:#5F3F24 !important; font-weight:700 !important; }

/* ============================================================
   P2: 評議会レビュー対応 第2弾 2026-07-25 = E追補37
   ①パンくずを記事タイトル上へ ②記事末導線の整理
   ③ホンネboxを誌面文法に統一 ④明朝のフォールバック補強
   ============================================================ */

/* ④ 明朝フォールバック: Android等でも崩れないように系統を追加 */
.article h2, .article h3, .entry-title, .archive-title, .related-entry-heading,
.tke-hero .tke-h, .tke-sech h2, .tke-honne blockquote, .toc-title,
.logo-text .site-name-text::before, .logo-text .site-name-text::after,
.tke-list .tt, #list .entry-card-title, .tke-mag .card-title{
  font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif JP","Source Han Serif JP",
    "BIZ UDPMincho","MS PMincho",serif !important; }
/* 小サイズの見出しは可読性優先でゴシックに戻す(評議会指摘: 15.5px明朝は掠れる) */
#list .entry-card-title, .tke-mag .card-title{
  font-family:"Hiragino Sans","Yu Gothic",Meiryo,sans-serif !important; font-weight:700 !important; }

/* ① パンくず: 記事タイトルの上へ移動(order制御) */
@media (min-width:835px){
  main.main, #main{ display:flex; flex-direction:column; }
  #breadcrumb.sbp-main-bottom{ order:-1; margin:0 0 14px !important; }
}
@media (max-width:834px){
  main.main, #main{ display:flex; flex-direction:column; }
  #breadcrumb.sbp-main-bottom{ order:-1; margin:0 0 10px !important; }
}
#breadcrumb:not(#tke){ background:transparent !important; border:none !important;
  padding:0 !important; font-size:12px !important; color:var(--tke-faint) !important; }
#breadcrumb a:not(#tke){ color:var(--tke-faint) !important; text-decoration:none !important; }
#breadcrumb a:hover{ color:#7A5230 !important; text-decoration:underline !important; }
#breadcrumb .breadcrumb-item, #breadcrumb .breadcrumb-caption{ font-size:12px !important; }

/* ② 記事末の導線を整理: 関連記事は3本まで、見出しを誌面様式に */
.related-entry-card-wrap:nth-of-type(n+4){ display:none !important; }
.related-list .related-entry-card-wrap:nth-of-type(n+4){ display:none !important; }
.related-entry-heading:not(#tke){ font-size:19px !important; letter-spacing:.04em; }
/* ページャは残す(前後1本ずつは迷子防止に有効) */

/* ③ ホンネboxを誌面文法へ(インラインstyleを上書き) */
.article .honne-box:not(#tke){
  border:none !important; border-left:5px solid #7A5230 !important;
  border-top:2px solid var(--tke-ink) !important;
  border-radius:0 !important; background:#FBF7EC !important;
  padding:22px 24px !important; margin:30px 0 !important; }
.article .honne-box > div:first-child:not(#tke){
  color:#7A5230 !important; letter-spacing:.14em !important; font-size:12px !important; }
.article .honne-box > div:nth-child(2):not(#tke){
  font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif !important;
  font-weight:600 !important; font-size:20px !important; color:var(--tke-ink) !important;
  line-height:1.6 !important; padding-bottom:12px; border-bottom:1px solid var(--tke-line); }
.article .honne-box p:not(#tke), .article .honne-box li:not(#tke){ color:#4a4230 !important; }
.article .honne-box strong{ color:var(--tke-ink) !important; }

/* E追補38: カード・ボックス面を白に統一（地の紙色は維持） 2026-07-25 */
/* プロフィール/お問い合わせ/はじめに のカード類 */
.prof-summary-item:not(#tke), .contact-guide-item:not(#tke),
.prof-summary:not(#tke), .contact-guide:not(#tke),
.hajime-number-item:not(#tke),
body.page-id-55 .article div[class*="-item"]:not(#tke),
body.page-id-62 .article div[class*="-item"]:not(#tke),
body.page-id-69 .article div[class*="-item"]:not(#tke){
  background:#FFFFFF !important; background-image:none !important; border-color:#E6D9C3 !important; }

/* 記事内の各種ボックス面も白へ */
.article .blank-box:not(#tke), .article .information-box:not(#tke),
.article .question-box:not(#tke), .article .memo-box:not(#tke),
.article .common-icon-box:not(#tke), .article .honne-box:not(#tke),
.article .toc:not(#tke), .author-box:not(#tke){
  background:#FFFFFF !important; background-image:none !important; }
.article .alert-box:not(#tke){ background:#FFF9F5 !important; background-image:none !important; }

/* 一覧・トップのカードも白面に */
.tke-feat:not(#tke), #list .entry-card-wrap:not(#tke), .tke-mag .a-wrap:not(#tke){
  background:#FFFFFF !important; }
#list .entry-card-wrap:hover:not(#tke), .tke-mag .a-wrap:hover:not(#tke){ background:#FDFBF6 !important; }

/* 羅針盤レールも白面(帯として浮かせる) */
.tk-rail:not(#tke){ background:#FFFFFF !important; }
.tk-rail a:hover:not(#tke){ background:#F7F2E7 !important; }
.tk-rail a.tk-now:not(#tke){ background:#F7EFDC !important; }

/* E追補39: アイコン付きボックスの文字被り解消 2026-07-25
   アイコンは left:10px / width:44px（右端54px）。本文paddingが27pxで重なっていた */
.article .information-box:not(#tke), .article .alert-box:not(#tke),
.article .question-box:not(#tke), .article .memo-box:not(#tke),
.article .common-icon-box:not(#tke),
.information-box:not(#tke), .alert-box:not(#tke), .question-box:not(#tke), .memo-box:not(#tke){
  padding-left:74px !important; }
/* アイコンは上端寄せにして、複数行でも中央にかからないように */
.article .information-box::before, .article .alert-box::before,
.article .question-box::before, .article .memo-box::before,
.information-box::before, .alert-box::before, .question-box::before, .memo-box::before{
  top:18px !important; }
/* 内部の段落も左詰めを解除（インデント二重を防止） */
.information-box > *:not(#tke), .alert-box > *:not(#tke),
.question-box > *:not(#tke), .memo-box > *:not(#tke){ margin-left:0 !important; }
/* モバイルは余白を少し詰める */
@media (max-width:834px){
  .article .information-box:not(#tke), .article .alert-box:not(#tke),
  .article .question-box:not(#tke), .article .memo-box:not(#tke),
  .information-box:not(#tke), .alert-box:not(#tke), .question-box:not(#tke), .memo-box:not(#tke){
    padding-left:64px !important; }
}

/* E追補40: h3の旧装飾記号(◆)とアンダーラインを除去して文字被りを解消 2026-07-25 */
.article h3::before, .entry-content h3::before,
body.page-id-55 .article h3::before, body.page-id-62 .article h3::before, body.page-id-69 .article h3::before{
  content:none !important; display:none !important; }
.article h3::after, .entry-content h3::after{ content:none !important; display:none !important; }
.article h3:not(#tke), .entry-content h3:not(#tke){
  position:relative; padding-left:14px !important;
  border-left:4px solid var(--tke-gold) !important; background:none !important; }
/* h2の旧装飾記号も同様に(存在する場合) */
.article h2::before, .entry-content h2::before{ content:none !important; display:none !important; }

/* E追補41: 旧アバター画像のCSS背景指定を新アバターへ 2026-07-25 */
#custom_html-4 .textwidget::before,
.top-profile-inner::before,
[class*="prof"]::before[style*="tokusan-avatar"]{
  background-image:url("/wp-content/uploads/2026/07/tokusan-avatar-v2.png") !important;
  background-size:cover !important; background-position:center !important;
  box-shadow:none !important; }

/* E追補42: テーブルの白基調化 + アバターCSSの詳細度補強 2026-07-25 */
/* --- テーブル: 生成り面 → 白基調（罫線で見せる誌面テーブル） --- */
.article table:not(#tke), .entry-content table:not(#tke){
  background:#FFFFFF !important; border-collapse:collapse !important; }
.article table th:not(#tke), .entry-content table th:not(#tke){
  background:#FFFFFF !important; color:var(--tke-ink) !important;
  border-bottom:2px solid var(--tke-ink) !important; border-color:#E2D8C2 !important;
  font-weight:700 !important; }
.article table td:not(#tke), .entry-content table td:not(#tke){
  background:#FFFFFF !important; border-color:#E2D8C2 !important; }
/* ゼブラも白＋ごく淡い生成りで（コントラスト維持） */
.article table tr:nth-child(2n):not(#tke) td, .entry-content table tr:nth-child(2n):not(#tke) td{
  background:#FDFBF7 !important; }
.article table tr:nth-child(2n+1):not(#tke) td, .entry-content table tr:nth-child(2n+1):not(#tke) td{
  background:#FFFFFF !important; }
.wp-block-table:not(#tke), figure.wp-block-table:not(#tke){ background:transparent !important; }
.scrollable-table:not(#tke){ background:#FFFFFF !important; }

/* --- アバターCSS: 詳細度をID級に上げて確実に差し替え --- */
#custom_html-4 .textwidget::before:not(#tke),
body #custom_html-4 .textwidget::before,
body .top-profile-inner::before{
  background-image:url("/wp-content/uploads/2026/07/tokusan-avatar-v2.png") !important; }

/* E追補43: サイドバーウィジェットのアバター背景を新版へ(最高詳細度) 2026-07-25 */
html body #custom_html-4 .textwidget::before,
html body div#custom_html-4 div.textwidget::before,
html body [id^="custom_html"] .textwidget::before{
  background-image:url("/wp-content/uploads/2026/07/tokusan-avatar-v2.png") !important;
  background-size:cover !important; background-position:center !important;
  background-repeat:no-repeat !important; }

/* E追補44: 記事内インラインboxの面を白に統一（ホンネboxの金色は資産として維持） 2026-07-25 */
.article div[style*="background"]:not(.honne-box):not(#tke){ }
/* 淡色系インライン背景の保険上書き */
.article div[style*="#F1F9F4"]:not(#tke), .article div[style*="#E7F4EC"]:not(#tke),
.article div[style*="#f7f9fb"]:not(#tke), .article div[style*="#f5f8f5"]:not(#tke),
.article div[style*="#FCFAF4"]:not(#tke), .article div[style*="#F7FBF8"]:not(#tke){
  background:#FFFFFF !important; background-image:none !important; }
/* 結論box等の枠は栗色の左罫＋ベージュ枠で誌面に馴染ませる */
.article div[style*="border-left"][style*="background"]:not(.honne-box):not(#tke){
  border-color:#E2D8C2 !important; }
.article div[style*="border-left"][style*="background"]:not(.honne-box):not(#tke){
  border-left-color:#7A5230 !important; }
