/* 共通（lib-wps.mjs の BASE_CSS）*/

body.show-now [data-rv]:not([data-rv~="now"]){display:none!important}
body.show-a [data-rv]:not([data-rv~="a"]){display:none!important}
#dz-b .wpx .ph{display:inline-block}
.ic-chip{display:inline-block;flex:none;margin:0 8px 0 0;padding:2px 9px;border-radius:6px;color:#fff;font-size:12px;font-weight:900;line-height:1.6;white-space:nowrap;vertical-align:1px}
.ic-chip--night{background:#B3261E}.ic-chip--care{background:#B45309}
#dz-b .wpx{color:#1E2B50;font-family:"Noto Sans JP",system-ui,sans-serif}
#dz-b .wpx-in{max-width:1080px;margin:0 auto;padding:0 20px}
#dz-b,.ic{text-wrap:pretty} /* 磨き 43周目（11/28）＝狭い幅で文の終わりの1字だけが次の行に落ちるのを避ける（対応していないブラウザは今までどおり） */
#dz-b .wpx{line-break:strict;word-break:auto-phrase} /* 磨き 51周目（11/28）＝幅 1000 で本文とカードの短い文が語の途中で折れていた（サ／ーバー・深刻／度・3か／月・PHP／8.3 以上）＝行頭に長音と小さい字を置かない・文節の切れ目で折る（対応していないブラウザは今までどおり） */
#dz-b .wpx-crumb{margin:0;padding:4px 0 0;font-size:13px;color:#5B6370;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .wpx-crumb a{display:inline-flex;align-items:center;min-height:44px;color:#1E2B50;text-decoration:underline}
#dz-b .wpx-hero{background:#FBF3E4;padding:0 0 44px}
#dz-b .wpx-hero__g{display:grid;grid-template-columns:minmax(0,56fr) minmax(0,44fr);gap:36px;align-items:center;padding-top:22px}
#dz-b .wpx-k{display:inline-block;padding:3px 14px;border-radius:999px;background:#F4A93B;border:2px solid #1E2B50;font-size:14px;font-weight:900;line-height:1.5}
#dz-b .wpx-hero h1{margin:14px 0 12px;font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:clamp(28px,3.4vw,44px);line-height:1.4;color:#1E2B50;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .wpx-hero__ld{margin:0;font-size:clamp(17px,1.5vw,20px);font-weight:700;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .wpx-hero__ph{position:relative;border:2px solid #1E2B50;border-radius:24px;overflow:hidden;box-shadow:0 4px 0 #F6D7A7;aspect-ratio:3/2;background:#e9e2d3}
#dz-b .wpx-hero__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
#dz-b .wpx-hero--ph .wpx-hero__g{position:relative;min-height:400px;margin-top:6px;padding:40px 44px;border:6px solid #FFFDF8;border-radius:40px;overflow:hidden;box-shadow:0 18px 40px rgba(30,43,80,.14);background:#FBF3E4}
#dz-b .wpx-hero--ph .wpx-hero__bg{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%;display:block}
#dz-b .wpx-hero--ph .wpx-hero__bg--zoom{background-repeat:no-repeat;background-size:cover;background-position:50% 30%}
@media(min-width:921px){#dz-b .wpx-hero--ph .wpx-hero__bg--zoom{background-size:112% auto;background-position:130px 30%}}
#dz-b .wpx-hero--ph .wpx-hero__g::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(250,244,232,1) 0%,rgba(250,244,232,1) 24%,rgba(250,244,232,.94) 50%,rgba(250,244,232,.2) 76%,rgba(250,244,232,0) 100%)}
#dz-b .wpx-hero--ph .wpx-hero__g>*:not(.wpx-hero__bg){position:relative;z-index:2}
#dz-b .wpx-sec{padding:52px 0}
#dz-b .wpx-sec--alt{background:#FFFDF8}
#dz-b .wpx-sec--cream{background:#FBF3E4}
#dz-b .wpx-h2{margin:0 0 18px;padding:0;border:0;font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:clamp(23px,2.5vw,30px);line-height:1.45;color:#1E2B50;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .wpx-h2 small{display:inline-block;margin-left:10px;padding:2px 12px;border-radius:999px;background:#1E2B50;color:#fff;font-family:"Noto Sans JP",sans-serif;font-size:14px;font-weight:700;vertical-align:4px}
#dz-b .wpx-h2 .no{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:12px;border-radius:50%;background:#F4A93B;border:2px solid #1E2B50;font-size:22px;vertical-align:-4px}
/* 2026-11-26 磨き22周目：スマホで見出しが折れたとき、2行目と札（5分 など）が番号の丸の下へ落ちた（php-2026 の 1）＝番号を左に固定し、折れた行は題の字の頭にそろえる（字は同じ） */
@media(max-width:600px){#dz-b .wpx-h2:has(> .no){position:relative;padding-left:56px;min-height:44px}#dz-b .wpx-h2:has(> .no) > .no{position:absolute;left:0;top:-5px;margin-right:0}#dz-b .wpx-h2:has(> .no) small{margin-left:8px}}
#dz-b .wpx p{margin:0 0 14px;font-size:17px;line-height:1.95;color:#1E2B50}
#dz-b .wpx .wpx-note{font-size:13px;line-height:1.7;color:#5B6370}
#dz-b .wpx-box{background:#fff;border:2px solid #1E2B50;border-radius:20px;padding:22px 24px;box-shadow:0 4px 0 #F6D7A7}
#dz-b .wpx-btn{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;background:#F4A93B;border:2px solid #1E2B50;color:#1E2B50;font-weight:900;font-size:16px;text-decoration:none;box-shadow:0 3px 0 #1E2B50}
#dz-b .wpx-btn::after{content:" →";white-space:pre}
#dz-b .wpx-btn--sub{background:#fff}
@media(max-width:600px){#dz-b .wpx .wpx-none{font-size:15px!important;padding:24px 12px!important}}
#dz-b .wpx .wpx-none{max-width:760px;margin:60px auto!important;padding:28px 24px;background:#fff;border:2px dashed #1E2B50;border-radius:20px;text-align:center;font-size:17px;line-height:1.9;color:#1E2B50}
@media(max-width:920px){
 #dz-b .wpx-hero__g{grid-template-columns:minmax(0,1fr);gap:20px}
 #dz-b .wpx-hero--ph .wpx-hero__g{min-height:0;margin-top:0;padding:0;border:0;border-radius:0;overflow:visible;box-shadow:none;background:transparent}
 #dz-b .wpx-hero--ph .wpx-hero__bg{position:static;width:100%;height:190px;border:2px solid #1E2B50;border-radius:20px;box-shadow:0 4px 0 #F6D7A7}
 #dz-b .wpx-hero--ph .wpx-hero__g::before{display:none}
 #dz-b .wpx-sec{padding:38px 0}
 #dz-b .wpx p{font-size:16px}
 #dz-b .wpx-box{padding:18px 16px}
 #dz-b .wpx-in{padding:0 16px}
}
/* ---- 画面下のバーと説明の窓 ---- */
.rgh-bar{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#14213a;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:8px 10px;box-shadow:0 -4px 16px rgba(0,0,0,.25);font:14px/1.5 "Noto Sans JP",system-ui,sans-serif}
.rgh-bar button{min-height:44px;padding:0 14px;border-radius:8px;border:1px solid #fff;background:transparent;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.rgh-bar button.cur{background:#fff;color:#14213a}.rgh-bar span{color:#fff;font-size:12px}
.rgh-info{display:none;position:fixed;inset:0;z-index:100000;background:rgba(10,20,40,.6);overflow:auto;padding:24px 12px}.rgh-info.open{display:block}
.rgh-card{max-width:760px;margin:0 auto;background:#fff;border-radius:12px;padding:24px 22px;color:#1d2433;font:15px/1.9 "Noto Sans JP",system-ui,sans-serif}
.rgh-card h2{margin:0 0 8px;font-size:20px;color:#1B2A4A}.rgh-card h3{margin:20px 0 6px;font-size:16px;color:#1B2A4A}.rgh-card .do{margin:0 0 12px;padding:10px 12px;background:#FFF3CD;border-radius:8px;font-weight:700}
.rgh-card .close{display:block;width:100%;min-height:48px;margin:12px 0;border:0;border-radius:8px;background:#1B2A4A;color:#fff;font-size:15px;font-weight:700;cursor:pointer}
@media(max-width:600px){.rgh-bar span{display:none}.rgh-bar button{padding:0 8px;font-size:12px}}

/* このページ */

#dz-b .co-lead p{max-width:820px;text-wrap:pretty}
#dz-b .co-toc{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,.82fr) minmax(0,1.18fr) minmax(0,1.4fr) minmax(0,.9fr);gap:10px}
#dz-b .co-toc a{display:flex;align-items:center;gap:8px;min-height:60px;padding:6px 12px;background:#fff;border:2px solid #1E2B50;border-radius:14px;color:#1E2B50;font-weight:900;font-size:15px;line-height:1.4;text-decoration:none;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .co-toc b{flex:none;width:28px;height:28px;border-radius:50%;background:#F4A93B;border:2px solid #1E2B50;font-size:14px;line-height:24px;text-align:center}
#dz-b .co-tb{margin:0 0 14px;background:#fff;border:2px solid #1E2B50;border-radius:18px;overflow:hidden;box-shadow:0 4px 0 #F6D7A7}
#dz-b .co-tb--in{box-shadow:none;border-width:1px;border-radius:12px}
#dz-b .co-tb table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.7;color:#1E2B50}
#dz-b .co-tb th,#dz-b .co-tb td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px dashed #E5D5B8}
#dz-b .co-tb tr:last-child td{border-bottom:0}
#dz-b .co-tb thead th{background:#1E2B50;color:#fff;font-weight:700;font-size:14px;border-bottom:0}
#dz-b .co-tb td:last-child{font-weight:700}
#dz-b .co-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:18px}
#dz-b .co-two p{margin:0}
#dz-b .co-three,#dz-b .co-step{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:12px}
#dz-b .co-three{grid-template-columns:repeat(3,minmax(0,1fr))}
#dz-b .co-step{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#dz-b .co-three li,#dz-b .co-step li{display:flex;align-items:center;gap:14px;padding:16px 18px;background:#fff;border:2px solid #1E2B50;border-radius:16px;font-size:16px;font-weight:700;line-height:1.65}
#dz-b .co-three i,#dz-b .co-step i,#dz-b .co-flow i{flex:none;width:36px;height:36px;border-radius:50%;background:#1E2B50;color:#fff;font-style:normal;font-weight:900;line-height:36px;text-align:center}
#dz-b .co-fork{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
#dz-b .co-fork li{display:flex;flex-direction:column;gap:6px;padding:18px 20px;background:#fff;border:2px solid #1E2B50;border-top-width:12px;border-radius:18px}
#dz-b .co-fork small{font-size:13px;color:#4B5563}
#dz-b .co-fork b{font-size:17px;line-height:1.6}
#dz-b .co-fork em{font-style:normal;font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:24px;line-height:1.3}
#dz-b .co-fork span{font-size:15px;font-weight:700;line-height:1.7}
#dz-b .co-fork .ok{border-top-color:#2E7D4F}#dz-b .co-fork .ok em{color:#2E7D4F}
#dz-b .co-fork .warn{border-top-color:#D97706}#dz-b .co-fork .warn em{color:#B45309}
#dz-b .co-more{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin:0;font-weight:700}
#dz-b .co-rd{padding:9px 0;color:#1E2B50;font-weight:700;text-decoration:underline;text-decoration-color:#F4A93B;text-decoration-thickness:2px;text-underline-offset:4px}
#dz-b .co-more--alt{display:block}
#dz-b .co-more--alt{line-height:2.1}
#dz-b .co-more--alt a{padding:9px 0}
#dz-b .co-more--alt a,#dz-b .co-more--alt a .ph{color:#1E2B50;text-decoration:underline;text-decoration-color:#F4A93B;text-decoration-thickness:2px;text-underline-offset:4px}
#dz-b .co-cases{display:grid;gap:16px}
#dz-b .co-cases h3{margin:0 0 10px;padding:0;border:0;font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:20px;line-height:1.5;color:#1E2B50;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .co-cases p:last-child{margin-bottom:0}
#dz-b .co-flow{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#dz-b .co-flow li{display:flex;flex-direction:column;gap:8px;padding:18px 18px 16px;background:#fff;border:2px solid #1E2B50;border-radius:18px;box-shadow:0 4px 0 #F6D7A7}
#dz-b .co-flow b{font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:20px;line-height:1.4}
#dz-b .co-flow span{font-size:15px;line-height:1.75}
#dz-b .co-ask{background:#1E2B50;text-align:center}
#dz-b .co-ask .wpx-h2,#dz-b .co-ask p{color:#fff}
#dz-b .co-ask__b{margin:18px 0 0!important}
#dz-b .co-src{margin:0;padding-left:1.3em;font-size:15px;line-height:1.9;color:#1E2B50;list-style:disc}
#dz-b .co-src li{list-style:disc}#dz-b .co-src li+li{margin-top:6px} /* 磨き 25周目（11/27）＝点が出ておらず、2件の切れ目が分からなかった */
@media(max-width:920px){
 #dz-b .co-toc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #dz-b .co-two,#dz-b .co-three,#dz-b .co-step,#dz-b .co-fork{grid-template-columns:minmax(0,1fr)}
 #dz-b .co-flow{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #dz-b .co-tb table{font-size:14.5px}
 #dz-b .co-tb th,#dz-b .co-tb td{padding:10px 10px}
 #dz-b .co-tb--in th:last-child,#dz-b .co-tb--in td:last-child{width:42%;word-break:keep-all;overflow-wrap:anywhere}
 #dz-b .co-flow b{font-size:18px}
}
/* 磨き 42周目（11/28）＝狭い幅で目次の「とき」の1字が落ちた */
@media(max-width:430px){#dz-b .co-toc a{font-size:14px;padding:6px 8px;gap:6px}}
/* 2026-11-24 03：スマホの幅では1つ目の表（日・番号・版の3列）が狭く、日付と番号が言葉の途中で折れた＝行ごとの札にして「見出し：値」を縦に並べる */
@media(max-width:560px){
 #dz-b .co-tb--stk thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 #dz-b .co-tb--stk table,#dz-b .co-tb--stk tbody,#dz-b .co-tb--stk tr,#dz-b .co-tb--stk td{display:block}
 #dz-b .co-tb--stk tr{padding:10px 14px;border-bottom:1px dashed #E5D5B8}
 #dz-b .co-tb--stk tr:last-child{border-bottom:0}
 #dz-b .co-tb--stk td{display:flex;gap:10px;padding:3px 0;border:0;font-size:15.5px;white-space:nowrap}
 #dz-b .co-tb--stk td:before{content:attr(data-l);flex:none;width:7.5em;font-weight:400;font-size:13px;color:#4B5563;line-height:1.9}
}
