/* 新築が減る時代のリフォーム集客（2026-11-14 新設）。接頭辞 jr-。共通の style.css には手を入れない。
   読む文字は max(◯px,◯rem) で下限をpxで止める */
.jr-section{position:relative;padding:5rem 0}
.jr-section .container{max-width:82rem}
.jr-section a{text-decoration:none}
.jr-hero{padding:3rem 0 4rem}
.jr-eyebrow{display:inline-block;font-size:max(13px,.9rem);font-weight:800;color:#fff;background:var(--red);padding:.3rem .9rem;border-radius:.3rem;letter-spacing:.04em}
.jr-h1,.jr-h2{word-break:auto-phrase;text-wrap:balance}
.jr-pc{display:block}.jr-sp{display:none}
.jr-h1{margin-top:1.2rem;font-size:clamp(2rem,5vw,4rem);font-weight:900;line-height:1.3;letter-spacing:-.01em;color:#fff;font-feature-settings:"palt"}
.jr-h1 span{color:var(--red-ink,#ff8f8d)}
.jr-lead{margin-top:1.4rem;max-width:52rem;font-size:max(16px,1.1rem);line-height:2;color:var(--white-3)}
.jr-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin-top:2.4rem}
.jr-kpi{background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:1.4rem 1.5rem}
.jr-kpi .k{font-size:max(13px,.9rem);font-weight:700;color:var(--grey-4)}
.jr-kpi .n{margin-top:.5rem;font-size:clamp(2.2rem,4vw,3.4rem);font-weight:900;line-height:1.1;color:#fff;font-feature-settings:"palt";font-variant-numeric:tabular-nums}
.jr-kpi .n small{font-size:.45em;font-weight:800;margin-left:.2rem;color:var(--grey-4)}
.jr-kpi .d{margin-top:.7rem;font-size:max(14px,.95rem);line-height:1.8;color:var(--white-3)}
.jr-kpi .d b{color:var(--red-ink,#ff8f8d);font-weight:800}
.jr-note{margin-top:1rem;font-size:max(12px,.82rem);line-height:1.8;color:var(--grey-3)}
.jr-note a{color:var(--grey-4);border-bottom:1px solid rgba(255,255,255,.25)}

.jr-mast{padding-bottom:1.2rem;border-bottom:2px solid rgba(255,255,255,.85)}
.jr-no{font-size:max(13px,.9rem);font-weight:800;color:var(--red-ink,#ff8f8d);letter-spacing:.08em}
.jr-h2{margin-top:.4rem;font-size:clamp(1.6rem,3.2vw,2.6rem);font-weight:900;line-height:1.35;color:#fff;font-feature-settings:"palt"}
.jr-sub{margin-top:.8rem;max-width:50rem;font-size:max(15px,1.02rem);line-height:1.95;color:var(--grey-4)}
.jr-p{margin-top:1.4rem;max-width:52rem;font-size:max(15px,1.02rem);line-height:2;color:var(--white-3)}
.jr-p b{color:#fff;font-weight:800}
.jr-p a{color:#fff;border-bottom:1px solid rgba(255,255,255,.4)}

.jr-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem;margin-top:2rem}
.jr-chart{background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:1.2rem 1.2rem 1rem}
.jr-chart h3{font-size:max(15px,1.05rem);font-weight:800;color:#fff;line-height:1.5}
.jr-chart h3 small{display:block;font-size:max(12px,.82rem);font-weight:600;color:var(--grey-3);margin-top:.2rem}
.jr-chart svg{display:block;width:100%;height:auto;margin-top:.6rem}
.jr-chart p{margin-top:.5rem;font-size:max(13px,.88rem);line-height:1.8;color:var(--grey-4)}
.jr-chart p b{color:var(--red-ink,#ff8f8d)}
.jr-tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.jr-tbl{width:100%;border-collapse:collapse;font-size:max(14px,.95rem);line-height:1.8}
.jr-tbl th,.jr-tbl td{padding:.75rem .9rem;border-bottom:1px solid rgba(255,255,255,.1);text-align:left;vertical-align:top;color:var(--white-3)}
.jr-tbl thead th{background:var(--black-4);color:#fff;font-weight:800;white-space:nowrap}
.jr-tbl tbody th{color:#fff;font-weight:800;white-space:nowrap}
.jr-tbl td.num,.jr-tbl th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.jr-tbl .dn{color:var(--red-ink,#ff8f8d);font-weight:800}
.jr-tbl-box{margin-top:1.6rem;background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:.6rem 1rem 1rem}
.jr-tbl-box h3{padding:.8rem .9rem .2rem;font-size:max(15px,1.05rem);font-weight:800;color:#fff}
.jr-det{margin-top:1.2rem;background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:.2rem 1.1rem}
.jr-det summary{cursor:pointer;padding:.9rem 0;font-size:max(14px,.95rem);font-weight:800;color:#fff;min-height:44px;display:flex;align-items:center}
.jr-det .jr-tbl{margin-bottom:1rem}

.jr-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem;margin-top:2rem}
.jr-card{background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:1.3rem 1.3rem 1.2rem;display:flex;flex-direction:column}
.jr-card .k{font-size:max(13px,.88rem);font-weight:700;color:var(--grey-4);line-height:1.6}
.jr-card .n{margin-top:.5rem;font-size:clamp(2rem,3.2vw,2.9rem);font-weight:900;color:#fff;line-height:1.15;font-variant-numeric:tabular-nums;font-feature-settings:"palt"}
.jr-card .n i{font-style:normal;color:var(--red-ink,#ff8f8d)}
.jr-card .d{margin-top:.6rem;font-size:max(13px,.9rem);line-height:1.8;color:var(--white-3)}
.jr-card .s{margin-top:auto;padding-top:.8rem;font-size:max(12px,.8rem);line-height:1.6;color:var(--grey-3)}

.jr-split{margin-top:2rem;background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:1.5rem}
.jr-split h3{font-size:max(15px,1.05rem);font-weight:800;color:#fff;line-height:1.6}
.jr-bar{display:flex;margin-top:1rem;height:3.6rem;border-radius:.6rem;overflow:hidden;background:var(--black-4)}
.jr-bar .a{flex:0 0 .8%;min-width:6px;background:var(--red)}
.jr-bar .b{flex:1;background:repeating-linear-gradient(90deg,#3a3a3a 0 10px,#333 10px 20px)}
.jr-bar-cap{display:flex;justify-content:space-between;gap:1rem;margin-top:.7rem;font-size:max(13px,.9rem);line-height:1.7;color:var(--white-3)}
.jr-bar-cap b{color:#fff}
.jr-bar-cap .r b{color:var(--red-ink,#ff8f8d)}
.jr-bar-cap .r{text-align:right}

.jr-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem;margin-top:1.4rem}
.jr-mini{background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:1.3rem 1.4rem}
.jr-mini h3{font-size:max(15px,1.05rem);font-weight:800;color:#fff;line-height:1.6}
.jr-mini p{margin-top:.6rem;font-size:max(14px,.92rem);line-height:1.9;color:var(--white-3)}
.jr-mini p small{color:var(--grey-3);font-size:max(12px,.82rem)}
.jr-mini svg{display:block;width:100%;max-width:340px;height:auto;margin:.8rem auto 0}

.jr-say{margin-top:2rem;padding:1.3rem 1.5rem;border-left:5px solid var(--red);background:rgba(216,27,24,.1);border-radius:0 1rem 1rem 0;font-size:max(16px,1.1rem);font-weight:800;line-height:1.85;color:#fff}

.jr-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;margin-top:2rem;counter-reset:s}
.jr-step{position:relative;background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:1.1rem 1.1rem 1rem}
.jr-step::before{counter-increment:s;content:counter(s);display:inline-flex;align-items:center;justify-content:center;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--red);color:#fff;font-weight:900;font-size:.95rem}
.jr-step h3{margin-top:.6rem;font-size:max(15px,1.02rem);font-weight:800;color:#fff;line-height:1.5}
.jr-step p{margin-top:.4rem;font-size:max(13px,.88rem);line-height:1.8;color:var(--grey-4)}

.jr-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin-top:2rem}
.jr-work{background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1.2rem;padding:1.3rem 1.3rem 1.1rem;display:flex;flex-direction:column}
.jr-work .no{font-size:max(12px,.82rem);font-weight:800;color:var(--red-ink,#ff8f8d);letter-spacing:.08em}
.jr-work h3{margin-top:.3rem;font-size:max(16px,1.1rem);font-weight:900;color:#fff;line-height:1.5}
.jr-work p{margin-top:.5rem;font-size:max(14px,.92rem);line-height:1.85;color:var(--white-3)}
.jr-work .lk{margin-top:auto;padding-top:.9rem;display:flex;flex-direction:column;gap:.1rem}
.jr-work .lk a{display:inline-flex;align-items:center;min-height:44px;font-size:max(13px,.88rem);font-weight:700;color:#fff;border-bottom:1px solid rgba(255,255,255,.25);align-self:flex-start}
.jr-work .lk a:hover{border-bottom-color:var(--red)}

.jr-chips{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.6rem}
.jr-chips a{display:inline-flex;align-items:center;min-height:44px;padding:.5rem 1.1rem;border-radius:99px;border:1px solid rgba(255,255,255,.25);font-size:max(14px,.95rem);font-weight:700;color:#fff;background:var(--black-3);transition:border-color .2s,background .2s}
.jr-chips a:hover{border-color:var(--red);background:var(--black-4)}

.jr-faq{margin-top:1.6rem;display:grid;gap:.8rem}
.jr-faq details{background:var(--black-3);border:1px solid rgba(255,255,255,.1);border-radius:1rem;padding:0 1.3rem}
.jr-faq summary{cursor:pointer;list-style:none;padding:1.05rem 0;font-size:max(15px,1.05rem);font-weight:800;line-height:1.6;color:#fff;min-height:44px}
.jr-faq summary::-webkit-details-marker{display:none}
.jr-faq summary::before{content:"Q";display:inline-block;margin-right:.7rem;color:var(--red-ink,#ff8f8d);font-weight:900}
.jr-faq details p{padding:0 0 1.2rem;font-size:max(14px,.95rem);line-height:1.95;color:var(--white-3)}

.jr-src{margin-top:2.4rem;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.12)}
.jr-src h3{font-size:max(14px,.95rem);font-weight:800;color:#fff}
.jr-src ol{margin:.8rem 0 0;padding-left:1.4rem;font-size:max(13px,.88rem);line-height:1.8;color:var(--grey-4)}
.jr-src a{color:var(--grey-4);border-bottom:1px solid rgba(255,255,255,.25);overflow-wrap:anywhere;display:inline-block;padding:.35rem 0}
.jr-src p{margin-top:.8rem;font-size:max(13px,.88rem);line-height:1.8;color:var(--grey-4)}

@media (max-width:1100px){
  .jr-cards,.jr-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jr-works{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .jr-pc{display:none}.jr-sp{display:block}
  .jr-section{padding:3.4rem 0}
  .jr-hero{padding:1.5rem 0 3rem}
  .jr-kpis,.jr-charts,.jr-two,.jr-cards,.jr-steps,.jr-works{grid-template-columns:1fr}
  .jr-bar-cap{flex-direction:column}
  .jr-bar-cap .r{text-align:left}
  .jr-tbl-wrap .jr-tbl{min-width:34rem}
}

/* グラフと赤の部品。白黒が入れ替わる区画（.tone-flip）では、そのままだと赤がうすいピンクになるので、見え方が同じになる色に差し替える */
.jr-hi{fill:#d81b18}
.jr-hit{fill:#ff8f8d}
.tone-flip .jr-hi{fill:#ff8855}
.tone-flip .jr-step::before,.tone-flip .jr-bar .a{background:#ff8855}
.tone-flip .jr-say{border-left-color:#ff8855}
.tone-flip .jr-pt{border-left-color:#ff8855}
