/* 用心マップ（/youjin/）だけの見た目。住まいハザードの style.css・page.css の上に重ねる（2026-11-06） */
body.yj{--yj-y:#ffc800;--yj-y2:#fff4c2;--yj-r:#e2283a;--yj-r2:#b81d2d;--yj-ink:#141822;--blue:#141822;--blue-d:#000;--blue-l:#fff4c2}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.yj-bar{background:var(--yj-y);border-bottom:1px solid rgba(0,0,0,.08)}
.yj-bar .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:60px}
.yj-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--yj-ink)!important;min-width:0}
.yj-brand img{border-radius:8px;flex:0 0 auto}
.yj-brand span{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.yj-brand b{font-size:1.18rem;font-weight:900;letter-spacing:.04em}
.yj-brand small{font-size:.74rem;font-weight:700;color:#3b3f47;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yj-bar .fz button[aria-pressed=true]{background:var(--yj-ink);color:#fff;border-color:var(--yj-ink)}
.yj-nav{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.yj-nav .wrap{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
.yj-nav .wrap::-webkit-scrollbar{display:none}
.yj-nav a{flex:0 0 auto;display:flex;align-items:center;min-height:46px;padding:0 14px;font-weight:800;font-size:.95rem;color:var(--yj-ink)!important;text-decoration:none;border-bottom:3px solid transparent}
.yj-nav a:hover,.yj-nav a[aria-current=page]{border-bottom-color:var(--yj-r)}

/* トップ */
.yj-hero{background:var(--yj-y);padding:28px 0 32px;border-bottom:1px solid rgba(0,0,0,.06)}
.yj-kick{display:inline-block;margin:0 0 10px;padding:3px 10px;border-radius:999px;background:var(--yj-ink);color:#fff;font-size:.8rem;font-weight:800;letter-spacing:.04em}
.yj-hero h1{margin:0;font-size:clamp(1.7rem,6.4vw,2.6rem);line-height:1.3;font-weight:900;letter-spacing:.01em;color:var(--yj-ink)}
.yj-hero h1 em{font-style:normal;background:linear-gradient(transparent 62%,#fff 62%)}
.yj-sub{margin:12px 0 18px;font-size:1.02rem;line-height:1.7;color:#2a2e36;max-width:40em}
.yj-search{max-width:640px}
.yj-search .sfield .ic{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#6b6f78;pointer-events:none;width:22px;height:22px}
.yj-search input{border-color:var(--yj-ink)}
.yj-search input:focus{border-color:var(--yj-r);box-shadow:0 0 0 4px rgba(226,40,58,.18)}
.yj-search .yj-btn{flex:1 1 100%;height:3.4rem;border:0;border-radius:var(--r);background:var(--yj-r);color:#fff;font-weight:900;font-size:1.08rem;cursor:pointer}
.yj-search .yj-btn:hover{background:var(--yj-r2)}
@media(min-width:640px){.yj-search .yj-btn{flex:0 0 auto;min-width:8em}}
.yj-search .sugg{top:calc(3.4rem + 6px)}
.yj-search .sugg li.on,.yj-search .sugg li:hover{background:var(--yj-y2)}
.yj-msg{flex:1 1 100%;margin:4px 0 0;font-size:.92rem;font-weight:700;color:var(--yj-r2);min-height:1em}
.yj-loc{display:inline-flex;align-items:center;gap:6px;margin-top:6px;min-height:44px;padding:0 14px;border:1.5px solid var(--yj-ink);border-radius:10px;background:#fff;color:var(--yj-ink);font-weight:800;font-size:.95rem;cursor:pointer}
.yj-loc .ic{width:18px;height:18px}

/* 本文 */
.yj-page h1{font-weight:900}
.yj-sec{margin:28px 0 0}
.yj-sec h2{margin:0 0 10px;font-size:1.28rem;line-height:1.4;font-weight:900;padding-left:12px;border-left:5px solid var(--yj-y)}
.yj-top .yj-sec h2{margin-top:0}
.yj-sec h3{font-size:1rem;margin:14px 0 6px;font-weight:800;color:var(--sub)}
.yj-lead{margin:0 0 10px;color:var(--sub);line-height:1.7}
.yj-page .summ b,.yj-page .summ a{color:var(--yj-ink)}
.yj-page .summ li::marker{color:var(--yj-r)}
.yj-page .cta .p{background:var(--yj-r)!important;border-color:var(--yj-r)!important;color:#fff!important}
.yj-hs{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.yj-hs li{display:flex;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid var(--line)}
.yj-hs li>div{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.yj-hs b{font-weight:800;line-height:1.45}
.yj-hs b a{color:var(--yj-ink)}
.yj-hs small{color:var(--sub);font-size:.88rem}
.yj-hs li>a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border:1.5px solid var(--line);border-radius:8px;font-weight:800;font-size:.88rem;color:var(--yj-ink)!important;text-decoration:none}
.yj-rk{flex:0 0 auto;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--yj-ink);color:#fff;font-weight:900;font-size:.95rem}
.yj-hs li:nth-child(1) .yj-rk{background:var(--yj-r)}
.yj-bars{list-style:none;margin:0;padding:0}
.yj-bars li{display:grid;grid-template-columns:9.5em 1fr 3.2em;align-items:center;gap:10px;padding:8px 0}
.yj-bars span{font-weight:700;font-size:.95rem}
.yj-bars b{text-align:right;font-weight:900}
.yj-meter{height:12px;border-radius:999px;background:var(--bg2);overflow:hidden}
.yj-meter i{display:block;height:100%;background:var(--yj-y);border-right:2px solid #d9a800}
.yj-mon{margin:16px 0 0;padding:14px;border:1px solid var(--line);border-radius:12px}
.yj-mon svg{display:block;width:100%;height:auto}
.yj-mon figcaption{margin-top:6px;font-size:.9rem;color:var(--sub)}
.tblw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.yj-tbl{width:100%;border-collapse:collapse;font-size:.95rem}
.yj-tbl th,.yj-tbl td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}
.yj-tbl thead th{font-size:.82rem;color:var(--sub);font-weight:800;background:var(--bg2)}
.yj-tbl tbody th{font-weight:800}
.yj-tbl tbody th a{color:var(--yj-ink)}
.yj-tbl td{text-align:right}
.yj-tbl td.r{text-align:center;font-weight:900;width:3em}
.yj-chips{display:flex;flex-wrap:wrap;gap:8px}
.yj-chips a{display:inline-flex;align-items:baseline;gap:6px;min-height:42px;align-items:center;padding:0 14px;border:1.5px solid var(--line);border-radius:999px;color:var(--yj-ink)!important;text-decoration:none;font-weight:700;font-size:.95rem;background:#fff}
.yj-chips a:hover{border-color:var(--yj-ink)}
.yj-chips small{color:var(--sub);font-weight:600;font-size:.8rem}
.yj-reg h2,.yj-reg h3{margin:18px 0 8px}
.yj-more{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0}
.yj-more a{font-weight:800;color:var(--yj-ink)}
.yj-go{display:flex;align-items:center;gap:10px;margin:16px 0 0;padding:14px 16px;min-height:56px;border-radius:12px;background:var(--yj-ink);color:#fff!important;text-decoration:none;font-weight:800}
.yj-go span{flex:1 1 auto}
.yj-go .ic{width:20px;height:20px}
.yj-band{padding:20px;border-radius:14px;background:var(--yj-y2)}
.yj-band h2{border-left-color:var(--yj-r)}
.yj-band p{margin:0;line-height:1.7}
.yj-tabs{display:flex;gap:8px;margin:14px 0 0;flex-wrap:wrap}
.yj-tabs a{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border-radius:999px;background:var(--bg2);color:var(--yj-ink)!important;text-decoration:none;font-weight:800;font-size:.92rem}
.yj-faq{border-bottom:1px solid var(--line)}
.yj-faq summary{padding:14px 2px;font-weight:800;cursor:pointer;min-height:48px}
.yj-faq p{margin:0 0 14px;line-height:1.75;color:var(--ink)}
.yj-4{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 0;padding:0}
@media(min-width:720px){.yj-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.yj-4 li{display:flex;flex-direction:column;gap:2px;padding:12px;border-radius:12px;background:var(--yj-y2)}
.yj-4 b{font-size:1.2rem;font-weight:900;color:var(--yj-r2)}
.yj-4 span{font-size:.9rem;font-weight:700}
.yj-sonae .pc-note{color:var(--yj-r2)}
body.yj .pc-tier{background:var(--yj-y2);color:var(--yj-ink)}
body.yj .shop-tabs a{color:var(--yj-ink)}
.yj-foot .copy a{color:inherit}
.yj-pin{width:20px;height:20px}
body.yj h1,body.yj h2,body.yj h3,body.yj .yj-hero h1{font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Noto Sans CJK JP","Yu Gothic UI",Meiryo,sans-serif}
.yj-hero h1{font-size:clamp(1.5rem,6vw,2.6rem);text-wrap:balance}
.yj-search button.yj-btn[type=submit]{background:var(--yj-r);color:#fff}
.yj-search button.yj-btn[type=submit]:hover{background:var(--yj-r2)}
.yj-nav{top:0}
body.yj .yj-search button.yj-btn[type=submit]{background:var(--yj-r)!important;color:#fff!important}
body.yj .yj-search button.yj-btn[type=submit]:hover{background:var(--yj-r2)!important}
@media(max-width:520px){.yj-tbl th,.yj-tbl td{padding:9px 6px;font-size:.9rem}.yj-tbl thead th{white-space:normal;line-height:1.3}}
body.yj .more-shop .pc-pr{position:static;margin-left:auto}
body.yj .yj-search button.yj-btn[type=submit]{border:0!important;box-shadow:none}
/* 広告の帯（横スクロール） */
.yj-strip{margin:26px 0 0;padding:14px 0 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.yj-sh{display:flex;align-items:center;gap:8px;margin:0;font-size:1.02rem}
.yj-sh b{font-weight:900}
.yj-sh .pc-pr{position:static;margin-left:auto;display:inline-block;padding:1px 6px;border:1px solid var(--line);border-radius:6px;font-size:.72rem;font-weight:700;color:var(--sub)}
.yj-sl{margin:2px 0 0;font-size:.9rem;color:var(--sub)}
/* トップの検索を小さく */
.yj-hero-s{padding:18px 0 20px}
.yj-hero-s h1{font-size:clamp(1.35rem,5.4vw,2rem);margin-bottom:12px}
.yj-search-s{flex-wrap:nowrap}
.yj-search-s input{height:3rem;font-size:1rem}
body.yj .yj-search-s button.yj-btn[type=submit]{flex:0 0 auto;min-width:5.5em;height:3rem;font-size:1rem;padding:0 14px}
.yj-search-s .sugg{top:calc(3rem + 6px)}
.yj-search-s .yj-msg{position:absolute;top:calc(3rem + 4px);left:0}
.yj-loc-s{min-height:38px;margin-top:10px;border:0;background:transparent;padding:0;text-decoration:underline;text-underline-offset:3px}
/* 記事（/youjin/guide/） */
.yj-guide h1{font-size:clamp(1.45rem,5.6vw,2.1rem);line-height:1.4;margin-bottom:6px}
.yj-guide h2{margin:34px 0 12px;font-size:1.3rem;line-height:1.45;font-weight:900;padding-left:12px;border-left:5px solid var(--yj-y)}
.yj-guide p{line-height:1.85}
.yj-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;font-size:.82rem;color:var(--sub)}
.yj-meta .pc-pr{position:static;display:inline-block;padding:0 6px;border:1px solid var(--line);border-radius:6px;font-size:.72rem;font-weight:700}
.yj-lead2{font-size:1.02rem;color:var(--ink)}
.yj-ans{margin:16px 0 8px;padding:16px 18px;border-radius:14px;background:var(--yj-y2);border:1.5px solid #f0d266}
.yj-ans-h{margin:0 0 6px;font-weight:900;font-size:.95rem;color:var(--yj-r2)}
.yj-ans ul{margin:0;padding-left:1.2em}
.yj-ans li{margin:6px 0;line-height:1.7}
.yj-kpi{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0 4px}
.yj-kpi div{display:flex;flex-direction:column;gap:4px;padding:14px 10px;border:1px solid var(--line);border-radius:12px;text-align:center}
.yj-kpi b{font-size:clamp(1.05rem,4.6vw,1.6rem);font-weight:900;color:var(--yj-ink);line-height:1.2}
.yj-kpi span{font-size:.78rem;color:var(--sub);line-height:1.4}
.yj-figbox{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}
.yj-figt{margin:0 0 10px;font-weight:900;font-size:1rem}
.yj-figc{margin:10px 0 0;font-size:.82rem;color:var(--sub);line-height:1.6}
.yj-figs{margin:12px 0 6px;font-size:.88rem;font-weight:800}
.yj-fig{display:block;width:100%;height:auto}
.yj-stack svg{display:block;width:100%;height:40px;border-radius:8px;overflow:hidden}
.yj-stack ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;padding:0;font-size:.85rem}
.yj-stack li{display:flex;align-items:center;gap:6px}
.yj-stack i{display:inline-block;width:12px;height:12px;border-radius:3px}
.yj-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.yj-steps div{position:relative;padding:14px 10px;border-radius:12px;background:var(--bg2);text-align:center}
.yj-steps div:last-child{background:var(--yj-y2);outline:2px solid var(--yj-r)}
.yj-steps b{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:var(--yj-ink);color:#fff;font-weight:900}
.yj-steps p{margin:8px 0 0;font-size:.88rem;line-height:1.5;font-weight:700}
.yj-steps-v{list-style:none;counter-reset:s;margin:12px 0;padding:0}
.yj-steps-v li{counter-increment:s;position:relative;padding:12px 12px 12px 52px;margin:0 0 8px;border:1px solid var(--line);border-radius:12px}
.yj-steps-v li::before{content:counter(s);position:absolute;left:12px;top:12px;width:28px;height:28px;border-radius:50%;background:var(--yj-r);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center}
.yj-steps-v b{font-size:1.02rem}
.yj-steps-v p{margin:4px 0 0;color:var(--sub);font-size:.92rem}
.yj-check{list-style:none;margin:12px 0;padding:0}
.yj-check li{position:relative;padding:10px 0 10px 32px;border-bottom:1px solid var(--line);line-height:1.7}
.yj-check li::before{content:"";position:absolute;left:4px;top:15px;width:16px;height:16px;border-radius:4px;border:2px solid var(--yj-r)}
.yj-cmp td{text-align:left;white-space:normal;min-width:7em}
.yj-cmp th{white-space:normal}
.yj-rel{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.yj-rel a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:10px 4px;border-bottom:1px solid var(--line);font-weight:800;color:var(--yj-ink)!important;text-decoration:none;line-height:1.5}
.yj-rel .ic{flex:0 0 auto;width:18px;height:18px}
.yj-src{margin:0;padding-left:1.2em;font-size:.88rem}
.yj-src li{margin:6px 0;line-height:1.6}
.yj-src small{margin-left:6px;color:var(--sub)}
.yj-glist{display:grid;gap:10px}
@media(min-width:720px){.yj-glist{grid-template-columns:1fr 1fr}}
.yj-gi{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:var(--yj-ink)!important}
.yj-gi b{font-size:1.04rem;line-height:1.5}
.yj-gi small{color:var(--sub);line-height:1.6}
.yj-guide .shop-row{margin-top:8px}
.yj-hb{list-style:none;margin:0;padding:0}
.yj-hb li{display:grid;grid-template-columns:minmax(5.5em,30%) 1fr auto;align-items:center;gap:8px;padding:5px 0}
.yj-hb span{font-size:.9rem;font-weight:700;line-height:1.35}
.yj-hb div{height:16px;border-radius:4px;background:var(--bg2);overflow:hidden}
.yj-hb i{display:block;height:100%;background:#f2b705;border-radius:4px}
.yj-hb i.hi{background:var(--yj-r)}
.yj-hb b{text-align:right;font-weight:900;font-size:.95rem}
.yj-sbar{display:flex;height:40px;border-radius:8px;overflow:hidden}
.yj-sbar span{display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:900;white-space:nowrap}
.yj-kpi b{font-size:clamp(1rem,4.2vw,1.5rem)}
