/* テーマだけの追加（2026-11-09 骨組み）。見本と同じ見た目は site.css・sub.css・kf.css（組み立てで見本から写す） */
body{margin:0;background:#fff;color:#2A2A2A;font-family:"BIZ UDPGothic","Hiragino Sans","Yu Gothic",sans-serif;line-height:1.9;letter-spacing:.04em}
/* 本文へ移動（キーボードで最初に出る） */
.kf-skip{position:absolute;left:-9999px;top:0;z-index:1000;padding:8px 16px;background:#3E2723;color:#fff}
.kf-skip:focus{left:8px;top:8px}
.kf-main{display:block;background:#fff}
.kf-list{padding-left:1.2em}
/* ヘッダー：今いるページ（見本の aria-current と同じ下線） */
.k-nav a[aria-current="page"],.k-nav .current-menu-item>a{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
/* メニューを囲む nav は並びに数えない（見本は ul がじかに並ぶ。nav があると隙間が増えて≡がはみ出す） */
.msreal-header__right>nav{display:contents}
.k-burger{cursor:pointer;line-height:1}
.k-burger[aria-expanded="true"]{opacity:.6}
/* スマホのメニュー（≡を押すと右から出る）2026-11-09 */
.kf-drawer{position:fixed;inset:0;z-index:999;background:rgba(30,20,15,.45)}
.kf-drawer[hidden]{display:none}
html.kf-drawer-open{overflow:hidden}
.kf-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(360px,88vw);overflow:auto;background:#FBF8F2;box-shadow:-8px 0 24px rgba(0,0,0,.18);padding:12px 18px 28px;box-sizing:border-box;animation:kf-in .2s ease-out}
@keyframes kf-in{from{transform:translateX(24px);opacity:.4}to{transform:none;opacity:1}}
.kf-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:4px 0 10px;border-bottom:1px solid #E3D7C0}
.kf-drawer__title{font-family:var(--wp--preset--font-family--mincho);font-weight:800;color:var(--wp--preset--color--ai)}
.kf-drawer__close{display:flex;flex-direction:column;align-items:center;width:52px;height:48px;border:0;background:none;color:var(--wp--preset--color--ai);font-size:24px;line-height:1;cursor:pointer}
.kf-drawer__close small{font-size:10.5px;margin-top:2px}
.kf-drawer__nav{margin:6px 0 0;padding:0;list-style:none}
.kf-drawer__nav li{border-bottom:1px dashed #E3D7C0}
.kf-drawer__nav a{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:4px 6px;color:var(--wp--preset--color--ai);font-size:16px;font-weight:700;text-decoration:none}
.kf-drawer__nav a::after{content:"›";color:#A1673A;font-size:22px}
.kf-drawer__nav a[aria-current="page"]{color:#A1673A}
.kf-drawer__cta{display:grid;gap:10px;margin-top:20px}
.kf-drawer__cta a{display:flex;flex-direction:column;justify-content:center;min-height:56px;padding:8px 16px;border-radius:12px;text-decoration:none;font-weight:700;line-height:1.4}
.kf-drawer__cta small{font-size:11.5px;font-weight:500;opacity:.9}
.kf-drawer__soudan{background:#A1673A;color:#fff;font-size:16px}
.kf-drawer__tel{background:#fff;border:2px solid #3E2723;color:#3E2723;font-size:14px}
.kf-drawer__tel b{font-size:19px;letter-spacing:.04em}
.kf-drawer__line{flex-direction:row !important;align-items:center;justify-content:flex-start !important;gap:12px;background:#06C755;color:#fff;font-size:16px}
.kf-line-ico{flex:none;display:block;padding:6px;background:#fff;border-radius:10px;line-height:0}
.kf-line-ico img{display:block;width:40px;height:40px}
/* フッター（2026-11-09 手順3）。色と文字は見本の msreal-footer（site.css） */
.kf-foot{padding:56px 24px 28px}
.kf-foot__in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr);gap:48px;max-width:1120px;margin:0 auto}
.kf-foot .k-logo{color:#F3EEE4}
.kf-foot__lead{margin:16px 0 0 !important;font-size:13.5px;line-height:1.9;opacity:.9}
.kf-foot__cta{display:grid;gap:10px;margin-top:18px;max-width:340px}
.kf-foot__cta a{display:flex;align-items:center;min-height:52px;padding:6px 16px;border-radius:12px;font-weight:700;text-decoration:none !important;box-sizing:border-box}
.kf-foot__soudan{justify-content:center;background:#A1673A;color:#fff !important;font-size:15px}
.kf-foot__soudan:hover{background:#8A5530}
.kf-foot__tel{flex-direction:column;align-items:flex-start !important;justify-content:center;border:1px solid rgba(243,238,228,.5);color:#F3EEE4 !important;line-height:1.3}
.kf-foot__tel small{font-size:11px;font-weight:500;opacity:.8}
.kf-foot__tel b{font-size:20px;letter-spacing:.04em}
.kf-foot__line{gap:12px;background:#06C755;color:#fff !important;font-size:15px}
.kf-foot__line:hover{background:#05B34C}
.kf-foot__line .kf-line-ico{padding:5px}
.kf-foot__line .kf-line-ico img{width:40px;height:40px}
.kf-foot__hours{margin-top:8px !important;font-size:12px;opacity:.8}
.kf-foot__links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-content:start}
.kf-foot__head{margin-bottom:10px !important;padding-bottom:6px;border-bottom:1px solid rgba(243,238,228,.25);font-family:var(--wp--preset--font-family--mincho);font-size:15px;font-weight:700;letter-spacing:.08em}
.kf-foot__col ul{margin:0;padding:0;list-style:none;display:grid;gap:2px}
.kf-foot__col a{display:inline-block;padding:5px 0;font-size:13.5px}
.kf-foot__bottom{max-width:1120px;margin:40px auto 0;padding-top:20px;border-top:1px solid rgba(243,238,228,.2);display:grid;gap:8px}
.kf-foot__follow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.kf-foot__follow-head{font-size:12.5px;font-weight:700;letter-spacing:.08em;opacity:.85}
.kf-foot__sns{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none;font-size:13px}
.kf-foot__sns a{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:2px 0}
.kf-foot__sns a:hover .kf-sns-id{text-decoration:underline;text-underline-offset:3px}
/* ロゴのまわりに決まりの余白（Instagram：glyph の半分以上）。ロゴは加工せず大きさだけ */
.kf-sns-ico{display:block;padding:11px;line-height:0}
.kf-foot__sns a{gap:0}
.kf-sns-ico img{display:block;width:22px;height:22px;object-fit:contain}
.kf-sns-name{font-weight:700}
.kf-foot__co,.kf-foot__copy{font-size:12px;opacity:.8}
@media (max-width:899px){
  .kf-foot{padding:44px 16px 24px}
  .kf-foot__in{grid-template-columns:minmax(0,1fr);gap:32px}
  .kf-foot__cta{max-width:none}
  .kf-foot__links{grid-template-columns:minmax(0,1fr)}
  .kf-foot__col a{padding:9px 0;font-size:14.5px}
}
/* いつも出ている相談の入口（2026-11-09 手順4）：スマホ下の LINE＋電話／PC右の 電話＋LINE（QR） */
.kf-spbar{display:none}
@media (max-width:1279px){
  /* 5つ並び（白地・アイコン＋短い文字）。LINE は緑、電話はテラコッタ、メニューはアイコンだけ大きく */
  .kf-spbar{position:fixed;left:0;right:0;bottom:0;z-index:900;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid #E3D7C0;box-shadow:0 -4px 14px rgba(62,39,35,.10);padding-bottom:env(safe-area-inset-bottom,0px)}
  .kf-spbar__item{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:66px;padding:4px 2px 6px;border:0;border-left:1px solid #EFE6D6;background:none;color:#5B4A40;font:inherit;text-decoration:none;cursor:pointer}
  .kf-spbar__item:first-child{border-left:0}
  .kf-spbar__ico{display:flex;align-items:center;justify-content:center;width:40px;height:40px}
  .kf-spbar__ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .kf-spbar__ico svg .fill{fill:currentColor;stroke:none}
  .kf-spbar__ico img{display:block;width:40px;height:40px}
  .kf-spbar__txt{font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;letter-spacing:0;font-feature-settings:"palt"}
  /* 2段の文字（マンション／一覧）。バーの高さを増やさないよう、アイコンの枠を34pxに（LINE の公式アイコンは40pxのまま枠からはみ出させる） */
  .kf-spbar__ico{height:34px}
  .kf-spbar__ico img{margin:-3px 0}
  .kf-spbar__txt.is-2{font-size:11px;line-height:1.1;text-align:center}
  @media (max-width:359px){.kf-spbar__txt{font-size:11px}.kf-spbar__txt.is-2{font-size:10.5px}}
  .kf-spbar__item.is-line{color:#06A04A}
  .kf-spbar__item.is-tel{color:#A1673A}
  .kf-spbar__item.is-soudan{color:#3E2723}
  .kf-spbar__item.is-menu{color:#3E2723}
  .kf-spbar__item.is-menu svg{width:32px;height:32px}
  .kf-spbar__item:active{background:#FBF8F2}
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
  html.kf-drawer-open .kf-spbar,html.kf-typing .kf-spbar{display:none}
}
/* PC：右下のカード（2026-11-09 案E。右の付箋の代わり） */
.kf-side{display:none}
@media (min-width:1280px){
  .kf-side:not([hidden]){display:block;position:fixed;right:20px;bottom:20px;z-index:900;animation:kf-up .25s ease-out}
  @keyframes kf-up{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}
  .kf-side__card{position:relative;width:268px;box-sizing:border-box;padding:18px 16px 16px;border-radius:16px;background:#FBF8F2;border:1px solid #E3D7C0;box-shadow:0 12px 30px rgba(62,39,35,.22);display:grid;gap:8px}
  .kf-side__head{margin:0 24px 4px 2px;font-family:var(--wp--preset--font-family--mincho);font-size:15px;font-weight:800;line-height:1.5;color:#3E2723}
  .kf-side__fold{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;border-radius:50%;background:none;color:#8A7A6E;font-size:20px;line-height:1;cursor:pointer}
  .kf-side__fold:hover{background:#EFE6D6;color:#3E2723}
  .kf-side__card a,.kf-side__card .kf-side__line{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;min-height:50px;padding:6px 14px;border-radius:10px;border:0;font:inherit;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;text-align:left}
  .kf-side__card small{font-size:11px;font-weight:500;opacity:.9}
  .kf-side__soudan{background:#A1673A;color:#fff;font-size:15px}
  .kf-side__soudan:hover{background:#8A5530}
  .kf-side__tel{background:#fff;border:1.5px solid #3E2723 !important;color:#3E2723}
  .kf-side__tel b{font-size:20px;letter-spacing:.04em}
  .kf-side__tel:hover{background:#F3EEE4}
  .kf-side__card .kf-side__line{flex-direction:row;align-items:center;gap:10px;background:#06C755;color:#fff;font-size:15px}
  .kf-side__card .kf-side__line small{margin-left:auto}
  .kf-side__card .kf-side__line:hover{background:#05B34C}
  .kf-side__line .kf-line-ico{padding:3px;border-radius:7px}
  .kf-side__line .kf-line-ico img{width:28px;height:28px}
  /* 新しい記事・Instagram（カードの下） */
  .kf-side__news{margin-top:4px;padding-top:10px;border-top:1px dashed #E3D7C0}
  .kf-side__sub{margin:0 0 4px;font-size:11.5px;font-weight:700;color:#8A5530;letter-spacing:.06em}
  .kf-side__sub.is-notice{display:inline-block;padding:0 8px;border-radius:999px;background:#3E2723;color:#fff}
  .kf-side__notice,.kf-side__post{margin:0 0 8px;font-size:12.5px;font-weight:700;line-height:1.5;color:#3E2723}
  .kf-side__post{margin-bottom:0}
  .kf-side__card .kf-side__news a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0;padding:2px;border-radius:6px;color:#3E2723;text-decoration:none;font-weight:700}
  .kf-side__card .kf-side__news a:hover{background:#F3EEE4;text-decoration:underline}
  .kf-side__card a.kf-side__ig{flex-direction:row;align-items:center;justify-content:flex-start;gap:0;min-height:0;margin-top:2px;padding:0 4px 0 0;color:#3E2723;font-size:13px}
  .kf-side__ig small{display:block;font-size:11px !important;font-weight:500;opacity:.8}
  .kf-side__igico{display:block;padding:10px;line-height:0}  /* Instagram の決まり：glyph（20px）のまわりに半分の余白 */
  .kf-side__igico img{display:block;width:20px;height:20px}
  .kf-side__ig:hover span:last-child{text-decoration:underline}
  /* 画面の高さが880px 未満のPCは、カードが高くなりすぎないよう お知らせ・更新情報の欄を隠す（お知らせはトップの帯とスマホのメニューにも出る） */
  @media (max-height:879px){.kf-side__news{display:none}}
  /* たたんだとき：小さな丸い札だけ */
  .kf-side__open{display:none}
  .kf-side.is-folded .kf-side__card{display:none}
  .kf-side.is-folded .kf-side__open{display:flex;align-items:center;gap:8px;padding:6px 16px 6px 8px;border:1px solid #E3D7C0;border-radius:999px;background:#FBF8F2;color:#3E2723;font:inherit;font-size:13.5px;font-weight:700;box-shadow:0 8px 20px rgba(62,39,35,.18);cursor:pointer}
  .kf-side.is-folded .kf-side__open:hover{background:#fff}
  .kf-side__open .kf-line-ico{padding:2px;border-radius:6px;background:#fff}
  .kf-side__open .kf-line-ico img{width:24px;height:24px}
  .kf-side__short{display:none}
}
/* 中身の右の余白が狭いとき（inc/kf-fixed.php の size()）：たたんだ札を小さく */
@media (min-width:1280px){
  .kf-side.is-short .kf-side__long{display:none}
  .kf-side.is-short .kf-side__short{display:inline}
  .kf-side.is-short:not([hidden]){right:12px;bottom:14px}
  /* 丸いボタン：LINE の公式アイコンは使わず、相談の吹き出しと「相談」の2文字 */
  .kf-side.is-round.is-folded .kf-side__open{flex-direction:column;justify-content:center;gap:0;width:64px;height:64px;padding:0;border-radius:50%;font-size:11px;line-height:1.1}
  .kf-side.is-round .kf-side__open .kf-line-ico,.kf-side.is-round .kf-side__short{display:none}
  .kf-side__bubble{display:none}
  .kf-side.is-round .kf-side__bubble{display:block;width:24px;height:24px;fill:none;stroke:#A1673A;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .kf-side__roundtxt{display:none}
  .kf-side.is-round .kf-side__roundtxt{display:block;margin-top:2px}
}
.kf-qr{border:0;border-radius:14px;padding:30px 36px 24px;text-align:center;box-shadow:0 10px 36px rgba(0,0,0,.3);max-width:340px}
.kf-qr::backdrop{background:rgba(0,0,0,.5)}
.kf-qr__close{position:absolute;top:6px;right:8px;width:40px;height:40px;border:0;background:none;font-size:24px;color:#888;cursor:pointer}
.kf-qr__close:hover{color:#333}
.kf-qr__title{margin:0 0 4px;font-size:18px;font-weight:700;color:#06A04A}
.kf-qr__lead{margin:0 0 12px;font-size:13px;color:#555}
.kf-qr__img{display:block;width:200px;height:200px;margin:0 auto}
.kf-qr__or{margin:12px 0 0;font-size:12.5px;color:#555}
/* お知らせの帯（トップの上・スマホのメニューの上）2026-11-09 */
.kf-notice{background:#FFF4E0;border-bottom:1px solid #EBD9B8}
.kf-notice a,.kf-notice p{display:flex;align-items:center;gap:10px;max-width:1120px;margin:0 auto;padding:10px 24px;box-sizing:border-box;color:#3E2723;font-size:14px;font-weight:700;line-height:1.6;text-decoration:none}
.kf-notice a:hover .kf-notice__text{text-decoration:underline}
.kf-notice__tag{flex:none;padding:1px 10px;border-radius:999px;background:#3E2723;color:#fff;font-size:12px}
.kf-notice__text{flex:1;min-width:0}
.kf-notice__go{flex:none;color:#A1673A;font-size:20px}
.kf-notice.is-drawer{margin:10px 0 0;border:1px solid #EBD9B8;border-radius:10px}
.kf-notice.is-drawer a,.kf-notice.is-drawer p{padding:10px 12px;font-size:13.5px;align-items:flex-start}
@media (max-width:899px){.kf-notice.is-top a,.kf-notice.is-top p{padding:10px 16px;font-size:13.5px;align-items:flex-start}}
/* 更新情報の一覧（日付・種類・文） */
.kf-upd{margin:0;padding:0;list-style:none}
.kf-upd li{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;padding:8px 0;border-bottom:1px dashed #E3D7C0}
.kf-upd li:last-child{border-bottom:0}
.kf-upd time{font-size:12px;color:#6B5E55}
.kf-upd__kind{justify-self:start;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;color:#fff;background:#8A5530}
.kf-upd__kind.is-bld{background:#3D6E8C}.kf-upd__kind.is-souba{background:#5E7F44}
.kf-upd a{grid-column:1/-1;color:#3E2723;font-weight:700;font-size:14px;line-height:1.55;text-decoration:none}
.kf-upd a:hover{text-decoration:underline}
.kf-upd.is-card li{padding:4px 0 6px}
.kf-upd.is-card a{font-size:12.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* 記事のページ（2026-11-09 手順5）：パンくず・目次・書いた人・次に読む */
.kiji__crumb ol{display:flex;flex-wrap:wrap;gap:2px 0;margin:0;padding:0;list-style:none}
.kiji__crumb li+li::before{content:"›";margin:0 .5em;color:#B5A493}
.kiji__crumb [aria-current]{color:#6B5E55}
.kf-toc2{margin:1.6em 0;padding:14px 18px;border:1px solid #E3D7C0;border-radius:12px;background:#FBF8F2}
.kf-toc2 summary{cursor:pointer;font-family:var(--wp--preset--font-family--mincho);font-weight:800;color:#3E2723;font-size:16px}
.kf-toc2 summary span{font-family:inherit;font-size:13px;font-weight:500;color:#6B5E55}
.kf-toc2 ol{margin:10px 0 0;padding-left:1.4em;display:grid;gap:4px}
.kf-toc2 a{color:#3E2723;font-weight:700;font-size:14.5px;text-decoration:none;line-height:1.6}
.kf-toc2 a:hover{color:#A1673A;text-decoration:underline}
.kiji__in h2[id]{scroll-margin-top:16px}
.kf-author{display:flex;gap:16px;align-items:flex-start;margin:3em 0 0;padding:18px 20px;border:1px solid #E3D7C0;border-radius:14px;background:#FBF8F2}
.kf-author__face{flex:none;width:72px;height:72px;border-radius:50%;overflow:hidden;background:#E9E1D2}
.kf-author__face img{display:block;width:100%;height:100%;object-fit:cover}
.kf-author p{margin:0}
.kf-author__pre{font-size:12px;font-weight:700;color:#8A5530;letter-spacing:.06em}
.kf-author__name{font-family:var(--wp--preset--font-family--mincho);font-size:19px;font-weight:800;color:#3E2723}
.kf-author__name span{margin-left:.8em;font-family:var(--wp--preset--font-family--sans);font-size:12.5px;font-weight:500;color:#6B5E55}
.kf-author__txt{margin-top:4px !important;font-size:14px;line-height:1.8}
.kf-author__more{margin-top:4px !important;font-size:13.5px}
.kf-author__more a{color:#8A5530;font-weight:700}
.kf-next2{margin:2.4em 0 0}
.kf-next2__title{margin:0 0 10px !important;font-size:20px !important}
.kf-next2 ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.kf-next2 a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border:1px solid #E3D7C0;border-radius:12px;background:#fff;color:#3E2723;font-weight:700;line-height:1.6;text-decoration:none}
.kf-next2 a span{flex:none;color:#A1673A;font-size:20px}
.kf-next2 a:hover{border-color:#A1673A;background:#FBF8F2}
/* 一覧のページ（カテゴリ・検索。2026-11-09 手順7） */
.kf-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.kf-list__pre{margin:1.2em 0 0;font-size:13px;font-weight:700;color:#8A5530;letter-spacing:.1em}
.kf-list__lead{color:#444}
.kf-list__hub a{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:#FBF8F2;border:1px solid #E3D7C0;color:#3E2723;font-weight:700;text-decoration:none}
.kf-list__hub a:hover{border-color:#A1673A}
.kf-cards2{margin:1.6em 0 0;padding:0;list-style:none;display:grid;gap:12px}
.kf-card2 a{display:grid;gap:4px;padding:16px 20px;border:1px solid #E3D7C0;border-radius:14px;background:#fff;color:inherit;text-decoration:none}
.kf-card2 a:hover{border-color:#A1673A;background:#FBF8F2}
.kf-card2__date{font-size:12px;color:#6B5E55}
.kf-card2__title{font-family:var(--wp--preset--font-family--mincho);font-size:18px;line-height:1.55;color:#3E2723}
.kf-card2__ex{font-size:13.5px;line-height:1.8;color:#555}
.kf-card2__more{justify-self:end;font-size:13px;font-weight:700;color:#A1673A}
.kf-pager ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:2em 0 0;padding:0;list-style:none}
.kf-pager a,.kf-pager span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 12px;border:1px solid #E3D7C0;border-radius:10px;color:#3E2723;text-decoration:none;font-weight:700}
.kf-pager .current{background:#3E2723;color:#fff;border-color:#3E2723}
.kf-search{display:flex;gap:8px;margin:1em 0 0}
.kf-search input{flex:1;min-width:0;padding:12px 14px;border:2px solid #D9C9AE;border-radius:10px;font:inherit;font-size:16px}
.kf-search input:focus{outline:none;border-color:#A1673A}
.kf-search button{flex:none;padding:0 22px;border:0;border-radius:10px;background:#A1673A;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.kf-list__none{margin-top:1.4em}
/* マンション・町・駅・相場のページ（子テーマのテンプレート）の外枠。SWELL の l-container の代わり。見本 proto_from_live.ps1 と同じ */
main.ks-main{display:block;background:#fff}
main.ks-main>.ks{max-width:1120px;margin:0 auto;padding:0 24px 40px;box-sizing:border-box}
@media (max-width:760px){main.ks-main>.ks{padding:0 16px 40px}}

/* 本文にじかに置いた表（古い記事 377・353 など。wp-block-table で包まれていない）：スマホで横にはみ出さないよう、表の中だけ横に動かせるように（2026-11-10 本番の試し表示で見つけた） */
@media (max-width: 600px) {
	.kiji__in > table { display: block; max-width: 100%; overflow-x: auto; }
}
/* ページの上へ戻るボタン（2026-11-16 悠一さん A案）：小さな丸・半透明。スマホは下のバー（71px）のすぐ上、PC は位置を JS でカードの上に合わせる */
.kf-totop{position:fixed;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:890;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #E3D7C0;border-radius:50%;background:rgba(255,255,255,.9);color:#3E2723;box-shadow:0 4px 12px rgba(62,39,35,.16);cursor:pointer;animation:kf-totop-in .2s ease-out}
.kf-totop[hidden]{display:none}
.kf-totop svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.kf-totop:hover{background:#fff;border-color:#A1673A;color:#A1673A}
.kf-totop:focus-visible{outline:3px solid #A1673A;outline-offset:2px}
@keyframes kf-totop-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
html.kf-drawer-open .kf-totop,html.kf-typing .kf-totop,html.kms-lock .kf-totop{display:none}
@media (min-width:1280px){.kf-totop{right:20px;bottom:20px}}
@media (prefers-reduced-motion:reduce){.kf-totop{animation:none}}
