/* 共通 */

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 .wpx-ot,.ic .wpx-ot{max-width:860px;margin:0 auto;padding:26px 28px;background:#fff;border:2px solid #1E2B50;border-radius:22px;box-shadow:0 4px 0 #F6D7A7;text-align:left;color:#1E2B50}
#dz-b .wpx-ot__h,.ic .wpx-ot__h{margin:0 0 12px;padding:0;border:0;font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:clamp(21px,2.3vw,26px);line-height:1.5;color:#1E2B50;text-align:left;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .wpx .wpx-ot__b p,#dz-b .wpx-ot__b p,.ic .wpx-ot__b p{margin:0 0 8px;font-size:16px;line-height:1.85;color:#1E2B50;text-align:left}
#dz-b .wpx-ot__d summary,.ic .wpx-ot__d summary{display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:15px;color:#1E2B50;text-decoration:underline;cursor:pointer}
#dz-b .wpx .wpx-ot__go,#dz-b .wpx-ot__go,.ic .wpx-ot__go{margin:16px 0 0!important;text-align:left}
.ic .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}
.ic .wpx-btn::after{content:" →";white-space:pre}
.ic .wpx-ot--fold{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap}
.ic .wpx-ot--fold .wpx-ot__h{margin:0}
.ic .wpx-ot--fold .wpx-ot__b{order:3;flex:1 1 100%}
.ic .wpx-ot--fold .wpx-ot__go{margin:0!important}
@media(max-width:920px){#dz-b .wpx-ot,.ic .wpx-ot{padding:20px 16px}#dz-b .wpx .wpx-ot__b p,#dz-b .wpx-ot__b p,.ic .wpx-ot__b p{font-size:15px}}

/* このページ */

#dz-b .php-nums{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:minmax(0,30fr) minmax(0,35fr) minmax(0,35fr);gap:18px}
#dz-b .php-nums li{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:20px 22px;background:#fff;border:2px solid #1E2B50;border-radius:20px;box-shadow:0 4px 0 #F6D7A7}
#dz-b .php-nums b{font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:24px;line-height:1.1;color:#C2410C;white-space:nowrap}
#dz-b .php-nums em{font-style:normal;font-size:60px;font-variant-numeric:tabular-nums;margin-right:2px}
#dz-b .php-nums span{font-size:15px;font-weight:700;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .php-nums__d{background:#B3261E!important;color:#fff;align-items:center;text-align:center}
#dz-b .php-nums__d b{color:#fff}#dz-b .php-nums__d small{font-size:14px;font-weight:700}
#dz-b .php-toc{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#dz-b .php-toc a{display:flex;align-items:center;gap:10px;min-height:56px;padding:0 16px;background:#fff;border:2px solid #1E2B50;border-radius:14px;color:#1E2B50;font-weight:900;font-size:16px;text-decoration:none}
#dz-b .php-toc b{flex:none;width:30px;height:30px;border-radius:50%;background:#F4A93B;border:2px solid #1E2B50;font-size:15px;line-height:26px;text-align:center}
#dz-b .php-why{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
#dz-b .php-why p{margin:0}
#dz-b .php-path{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-wrap:wrap;gap:8px 0;align-items:center}
#dz-b .php-path li{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:#fff;border:2px solid #1E2B50;border-radius:10px;font-weight:700;font-size:16px;white-space:nowrap}
#dz-b .php-path li + li{margin-left:34px;position:relative}
#dz-b .php-path li + li::before{content:"→";position:absolute;left:-27px;font-weight:900;color:#1E2B50}
#dz-b .php-path .goal{background:#1E2B50;color:#fff}
#dz-b .php-fork{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#dz-b .php-fork li{display:flex;flex-direction:column;gap:6px;padding:20px 20px 18px;background:#fff;border:2px solid #1E2B50;border-top-width:12px;border-radius:18px}
#dz-b .php-fork b{font-family:"Zen Maru Gothic","Noto Sans JP",sans-serif;font-weight:900;font-size:30px;line-height:1.3}
#dz-b .php-fork span{font-size:16px;font-weight:700;line-height:1.7}
#dz-b .php-fork .ok{border-top-color:#2E7D4F}#dz-b .php-fork .ok b{color:#2E7D4F}
#dz-b .php-fork .warn{border-top-color:#D97706}#dz-b .php-fork .warn b{color:#B45309}
#dz-b .php-fork .ng{border-top-color:#B3261E}#dz-b .php-fork .ng b{color:#B3261E}
#dz-b .php-more{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin:0;font-weight:700}
#dz-b .php-check{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
#dz-b .php-check li{display:flex;align-items:center;gap:14px;padding:16px 18px;background:#fff;border:2px solid #1E2B50;border-radius:16px;font-size:17px;font-weight:700;line-height:1.6}
#dz-b .php-check 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 .php-check small{display:block;font-size:14px;font-weight:400;color:#4B5563}
#dz-b .php-after{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap}
#dz-b .php-after p{margin:0;font-weight:700}
#dz-b .php-after ul{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
#dz-b .php-after li{padding:6px 16px;border-radius:999px;background:#FFF3DC;border:2px solid #1E2B50;font-weight:700;font-size:15px;white-space:nowrap}
#dz-b .php-reads{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
#dz-b .php-reads li{padding:16px 18px;background:#fff;border:2px solid #1E2B50;border-radius:16px;font-size:16px;font-weight:700;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}
#dz-b .php-reads li a{display:block;margin:-16px -18px;padding:16px 18px;border-radius:14px;color:#1E2B50;text-decoration:underline;text-underline-offset:4px}
#dz-b .php-reads li a .ph{text-decoration:underline;text-underline-offset:4px}
#dz-b .php-reads li a::after{content:" →";white-space:pre}
#dz-b .php-ask{background:#1E2B50;text-align:center}
#dz-b .php-ask .wpx-h2,#dz-b .php-ask p{color:#fff}
#dz-b .php-ask__b{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0 0!important}
@media(max-width:920px){
 #dz-b .php-nums,#dz-b .php-why,#dz-b .php-fork,#dz-b .php-check,#dz-b .php-reads{grid-template-columns:minmax(0,1fr)}
 #dz-b .php-toc{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #dz-b .php-toc a{padding:4px 10px;gap:8px;font-size:15px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
 #dz-b .php-nums em{font-size:48px}
 #dz-b .php-path li{padding:0 12px;font-size:15px}
 #dz-b .php-path li + li{margin-left:28px}#dz-b .php-path li + li::before{left:-22px}
 #dz-b .php-fork b{font-size:26px}
 #dz-b .php-check li{font-size:16px}
}
