/*
 * 「色を試す・見積りを比べる」デザイン（ブロック rise-biz/dx-*）。
 * .dx の中だけに効く。ヘッダーなどサイト全体の見た目は、最後の body.rise-dx-chrome の部分（Rise Demo Pack の反映中だけ）。
 */
:root { --dx-display: "Dela Gothic One", "Noto Sans JP", sans-serif; --dx-body: "Noto Sans JP", sans-serif; --dx-dw: 400; }

[class*="wp-block-rise-biz-dx-"] { margin-block: 0 !important; scroll-margin-top: 72px; }
.rise-front-page .rise-content > [class*="wp-block-rise-biz-dx-"], .rise-layout-one .rise-content > [class*="wp-block-rise-biz-dx-"] { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
body.rise-dx-page .rise-site-content { overflow-x: clip; }
body.rise-dx-page .rise-wrap, body.rise-dx-page .rise-main, body.rise-dx-page .rise-content { padding-block: 0 !important; margin-block: 0 !important; }
body.rise-dx-page .rise-site-content, body.rise-dx-page .rise-entry, body.rise-dx-page .rise-footer { margin-block: 0 !important; padding-bottom: 0; }
body.rise-dx-page .rise-entry__title, body.rise-dx-page .rise-page-title { display: none; }

.dx { --te: #0a7c74; --dk: #063f3c; --ye: #ffcf33; --ink: #17302e; --sub: #5a6b69; --pa: #f6f5f0; --line: #d8dcd8; --wrap: 1220px; background: var(--pa); color: var(--ink); font-family: var(--dx-body); font-size: 17px; line-height: 1.75; font-feature-settings: "palt"; }
.dx, .dx * { box-sizing: border-box; }
/* テーマの本文の飾り（見出しの線・リストの印など）を消す */
.dx :is(h1, h2, h3, p, ul, ol, li, dl, dt, dd, figure, figcaption) { margin: 0; padding: 0; border: 0; background: none; list-style: none; letter-spacing: normal; }
.dx :is(h1, h2, h3, li)::before, .dx :is(h1, h2, h3, li)::after { content: none !important; display: none !important; }
.dx :is(h1, h2, h3) { color: inherit; }
.dx a { color: inherit; text-decoration: none; }
.dx img { max-width: 100%; }
.dx .dg, .dx h1, .dx h2 { font-family: var(--dx-display); font-weight: var(--dx-dw); }

.dx .dg, .dx h2 { font-family: var(--dx-display);font-weight: var(--dx-dw) }
.dx .wrap { width:min(100% - 80px,var(--wrap));margin-inline:auto;position:relative }
.dx .btn { display:inline-flex;align-items:center;justify-content:center;background:var(--ye);color:var(--ink);font-weight:900;border-radius:5px;padding:15px 28px;font-size:18px;line-height:1.3;white-space:nowrap;box-shadow:0 0 0 2px var(--ink),4px 4px 0 2px var(--ink) }
.dx .btn.w { background:#fff }
.dx .btn.t { background:var(--te);color:#fff }
.dx .ph { position:relative;aspect-ratio:3/2;overflow:hidden;background:#ccc }
.dx .ph img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover }
.dx .ph .aft { clip-path:inset(0 0 0 50%) }
.dx .bar { position:absolute;left:50%;top:0;bottom:0;width:5px;margin-left:-2.5px;background:#fff }
.dx .chiplabel { display:flex;justify-content:space-between;align-items:center;padding:11px 3px 13px }
.dx .chiplabel b { font:var(--dx-dw) 23px/1.2 var(--dx-display) }
.dx .chiplabel small { font-size:12.5px;color:var(--sub);font-weight:700 }
.dx .stripe { display:flex;height:26px }
.dx .stripe i { flex:1 }
.dx section { padding:82px 0;position:relative }
.dx .ey { display:inline-block;background:var(--ink);color:#fff;font-size:14px;font-weight:900;letter-spacing:.1em;padding:3px 12px;margin-bottom:12px }
.dx h2 { font-size:46px;line-height:1.35 }
.dx h2 em { font-style:normal;color:var(--te) }
.dx .intro { margin-top:10px;font-size:18px;font-weight:500;max-width:800px }
.dx .simg { display:grid;grid-template-columns:1fr 470px;gap:34px;margin-top:36px;align-items:start }
.dx .simph { background:#fff;padding:14px;box-shadow:0 8px 22px rgba(23,48,46,.14) }
.dx .pl h3 { font-size:19px;font-weight:900;margin:0 0 7px }
.dx .pl h3 em { font-style:normal;color:var(--te);margin-left:8px }
.dx .chipset { display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:20px }
.dx .ch { background:#fff;box-shadow:0 2px 6px rgba(23,48,46,.2);font-size:11px;font-weight:700;line-height:1.25;text-align:center }
.dx .ch i { display:block;height:50px }
.dx .ch span { display:block;padding:4px 1px 5px;white-space:nowrap;overflow:hidden }
.dx .ch.on { outline:4px solid var(--ink);outline-offset:1px;position:relative;z-index:1 }
.dx .pl .btn { width:100%;font-size:19px }
.dx .cmp { background:var(--dk);color:#fff }
.dx .cmp h2 em { color:var(--ye) }
.dx .cmpg { display:grid;grid-template-columns:1fr 300px;gap:6px;align-items:end;margin-top:30px }
.dx .paper { background:#fff;color:var(--ink);padding:26px 30px 30px;position:relative;box-shadow:0 12px 26px rgba(0,0,0,.3) }
.dx .paper .tt { display:flex;justify-content:space-between;align-items:baseline;border-bottom:4px double var(--ink);padding-bottom:9px }
.dx .paper .tt b { font:var(--dx-dw) 27px/1.3 var(--dx-display) }
.dx .paper .tt small { font-size:13.5px;font-weight:700;color:var(--sub) }
.dx .r { display:grid;grid-template-columns:38px 1fr 330px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line) }
.dx .r>b { font:var(--dx-dw) 22px var(--dx-display);color:var(--te) }
.dx .r h3 { font-size:18.5px;font-weight:900;line-height:1.35 }
.dx .r small { display:block;font-size:13.5px;color:var(--sub);line-height:1.4 }
.dx .r .o { display:flex;gap:8px;align-items:center;font-weight:700;font-size:15.5px;line-height:1.35 }
.dx .r .o svg { flex:none }
.dx .big { position:absolute;right:-26px;bottom:-78px;width:126px;height:126px;border:5px solid #c8352a;color:#c8352a;border-radius:50%;display:grid;place-items:center;text-align:center;font:var(--dx-dw) 21px/1.25 var(--dx-display);transform:rotate(-13deg);background:#fff }
.dx .wm { width:400px;margin:0 0 -82px -40px;display:block }
.dx .acts2 { display:flex;gap:18px;margin-top:30px }
.dx .plans { display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px }
.dx .pn { background:#fff;box-shadow:0 8px 20px rgba(23,48,46,.14);padding-bottom:18px }
.dx .pn .top { color:#fff;padding:18px 22px 20px }
.dx .pn .top small { font-weight:700;font-size:13px;opacity:.9 }
.dx .pn .top h3 { font:var(--dx-dw) 28px/1.3 var(--dx-display) }
.dx .pn .pr { font:var(--dx-dw) 44px/1.2 var(--dx-display);margin-top:8px;white-space:nowrap }
.dx .pn .pr span { font-size:18px;margin-left:3px }
.dx .pn dl { display:flex;justify-content:space-between;margin:12px 22px 0;padding-bottom:9px;border-bottom:1px solid var(--line);font-size:15px }
.dx .pn dt { color:var(--sub) }
.dx .pn dd { font-weight:900 }
.dx .pn p { margin:9px 22px 0;font-size:14.5px;color:var(--sub) }
.dx .inc { display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px }
.dx .inc div { background:#fff;border-left:8px solid var(--te);padding:13px 20px;font-size:15.5px;line-height:1.6 }
.dx .inc b { display:block;font-weight:900;font-size:17px }
.dx .inc .a { border-color:#a23a2a }
.dx .wk { background:#fff }
.dx .cards { display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px }
.dx .cd { background:var(--pa);box-shadow:0 8px 20px rgba(23,48,46,.14) }
.dx .cd .pic { display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#fff }
.dx .cd .pic div { position:relative;aspect-ratio:1/1;overflow:hidden }
.dx .cd .pic img { width:100%;height:100%;object-fit:cover;display:block }
.dx .cd .pic span { position:absolute;left:0;top:0;background:var(--ink);color:#fff;font-size:12.5px;font-weight:900;padding:2px 10px }
.dx .cd .pic div+div span { background:var(--te) }
.dx .cd .col { height:18px }
.dx .cd .bd { padding:13px 20px 19px }
.dx .cd small { color:var(--sub);font-weight:700;font-size:13.5px }
.dx .cd h3 { font-size:22px;font-weight:900;line-height:1.35 }
.dx .cd .mn { font:var(--dx-dw) 36px/1.25 var(--dx-display);margin-top:2px }
.dx .cd .mn span { font-size:16px;margin-left:2px }
.dx .cd .mn u { text-decoration:none;font:700 12px var(--dx-body);color:var(--sub);margin-left:5px }
.dx .cd dl { font-size:14.5px;margin-top:5px;line-height:1.6 }
.dx .cd dl div { display:grid;grid-template-columns:50px 1fr }
.dx .cd dt { color:var(--sub) }
.dx .cd dd { font-weight:700 }
.dx .craft { display:grid;grid-template-columns:1.2fr 1fr;min-height:480px;background:var(--ye) }
.dx .craft .im { position:relative }
.dx .craft .im img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover }
.dx .craft .tx { padding:60px max(40px,calc((100vw - var(--wrap))/2)) 60px 60px;display:flex;flex-direction:column;justify-content:center }
.dx .craft h2 { font-size:52px }
.dx .craft h2 em { color:#a23a2a }
.dx .craft p { margin-top:14px;font-size:18px;font-weight:500 }
.dx .evg { display:grid;grid-template-columns:300px 1fr;gap:20px;margin-top:36px }
.dx .scr { background:var(--ye);box-shadow:0 8px 20px rgba(23,48,46,.14);padding:22px 24px;display:flex;flex-direction:column;justify-content:center }
.dx .scr b { font:var(--dx-dw) 90px/1 var(--dx-display) }
.dx .scr u { text-decoration:none;font-size:27px;letter-spacing:.06em;line-height:1.3;color:#a23a2a }
.dx .scr p { font-size:15px;font-weight:700;margin-top:4px;line-height:1.5 }
.dx .scr small { font-weight:500;font-size:12.5px;display:block }
.dx .pfs { display:grid;grid-template-columns:repeat(3,1fr);gap:14px }
.dx .pf { background:#fff;box-shadow:0 4px 12px rgba(23,48,46,.14) }
.dx .pf i { display:block;height:34px }
.dx .pf>div { padding:10px 16px 14px }
.dx .pf small { font-size:13px;font-weight:900;color:var(--sub) }
.dx .pf h3 { font-size:21px;font-weight:900;line-height:1.3 }
.dx .pf p { font-size:13.5px;color:var(--sub);line-height:1.4;margin-top:2px }
.dx .flow { display:grid;grid-template-columns:repeat(6,1fr);margin-top:34px;box-shadow:0 8px 20px rgba(23,48,46,.14);background:#fff }
.dx .fl>i { display:grid;place-items:center;font:var(--dx-dw) 34px var(--dx-display);color:#fff;height:88px;font-style:normal }
.dx .fl h3 { font-size:19px;font-weight:900;padding:10px 13px 0 }
.dx .fl p { font-size:13.5px;color:var(--sub);padding:0 13px 13px;line-height:1.45 }
.dx .qa { margin-top:28px;border-top:3px solid var(--ink) }
.dx .qa div { padding:15px 2px;border-bottom:1px solid var(--line) }
.dx .qa b { display:block;font-weight:900;font-size:19px }
.dx .qa p { color:var(--sub);font-size:16px }
.dx .end { background:var(--te);color:#fff }
.dx .end .wrap { display:grid;grid-template-columns:1fr 420px;gap:40px;align-items:center }
.dx .end h2 { font-size:58px }
.dx .end h2 em { color:var(--ye) }
.dx .pc { margin-top:16px;display:inline-block;background:#fff;color:var(--ink);font-weight:900;padding:7px 18px }
.dx .box { background:#fff;color:var(--ink);padding:26px;text-align:center;box-shadow:0 12px 24px rgba(0,0,0,.25) }
.dx .box .btn { width:calc(100% - 8px);font-size:20px;padding:18px }
.dx .box .t { white-space:nowrap;font:var(--dx-dw) 31px/1.2 var(--dx-display);margin-top:18px }
.dx .box small { font-size:13.5px;color:var(--sub) }
.dx .m { display:inline-grid;place-items:center;flex:none;width:21px;height:21px;border-radius:50%;background:#c8352a;color:#fff;font:700 12.5px/1 var(--dx-body);font-style:normal;margin-right:6px;vertical-align:1px }
.dx .estg { display:grid;grid-template-columns:790px 1fr;gap:36px;margin-top:32px;align-items:start }
.dx .est { background:#fff;padding:26px 30px 24px;box-shadow:0 10px 26px rgba(23,48,46,.17);transform:rotate(-.5deg) }
.dx .esth { display:flex;justify-content:space-between;align-items:center;border-bottom:4px double var(--ink);padding-bottom:7px }
.dx .esth b { font:var(--dx-dw) 27px var(--dx-display);letter-spacing:.1em }
.dx .sm { border:2px solid #c8352a;color:#c8352a;font-size:12.5px;font-weight:900;padding:1px 9px }
.dx .esta { display:flex;justify-content:space-between;font-size:14px;font-weight:700;padding:9px 0 }
.dx .er { display:grid;grid-template-columns:1fr 64px 66px 86px;gap:6px;padding:6px 3px;border-bottom:1px solid var(--line);font-size:14.5px;line-height:1.35;align-items:center }
.dx .er span+span { text-align:right }
.dx .eh { background:var(--ink);color:#fff;font-weight:700;font-size:13px;padding:4px 6px }
.dx .etot { margin:9px 0 0 auto;width:310px;font-size:15px }
.dx .etot div { display:flex;justify-content:space-between;padding:3px 3px }
.dx .etot .g { border-top:3px double var(--ink);margin-top:3px;font-weight:900;padding-top:6px }
.dx .etot .g b { font:var(--dx-dw) 25px var(--dx-display) }
.dx .ecnd { font-size:13.5px;margin-top:11px;background:var(--pa);padding:8px 11px;line-height:1.55 }
.dx .pts { list-style:none;display:grid;gap:13px }
.dx .pts li { display:flex;background:#fff;padding:16px 16px;box-shadow:0 4px 12px rgba(23,48,46,.1) }
.dx .pts h3 { font-size:19.5px;font-weight:900;line-height:1.35 }
.dx .pts p { font-size:14.5px;color:var(--sub);line-height:1.55;margin-top:3px }
.dx .pts .m { width:27px;height:27px;font-size:15px;margin-right:11px }
.dx .chk { background:var(--ye) }
.dx .chk h2 { font-size:58px;line-height:1.3 }
.dx .chk h2 em { color:#a23a2a }
.dx .chkg { display:grid;grid-template-columns:1fr 450px;gap:60px;align-items:center }
.dx .tri { list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px }
.dx .tri li { background:#fff;font-weight:900;font-size:16.5px;line-height:1.4;padding:13px 15px 15px }
.dx .tri b { display:block;font:var(--dx-dw) 26px/1.2 var(--dx-display);color:var(--te) }
.dx .prm { display:flex;flex-wrap:wrap;gap:8px;margin-top:16px }
.dx .prm span { background:var(--ink);color:#fff;font-weight:700;font-size:14.5px;padding:4px 12px }
.dx .fm { background:#fff;padding:26px 28px;box-shadow:8px 8px 0 var(--ink);border:3px solid var(--ink) }
.dx .fm h3 { font:var(--dx-dw) 25px/1.3 var(--dx-display) }
.dx .up { margin-top:13px;border:2px dashed #9aa6a4;height:128px;padding:15px 16px;position:relative;overflow:hidden }
.dx .up i { display:block;height:7px;background:#dfe3e0;margin-bottom:10px }
.dx .up i:nth-child(2) { width:72% }
.dx .up i:nth-child(4) { width:84% }
.dx .up b { position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.72);font-weight:900;color:var(--te);font-size:18.5px }
.dx .fm label { display:block;font-size:13.5px;font-weight:700;margin-top:11px }
.dx .f { height:42px;border:1px solid #a7b0ae;margin-top:3px }
.dx .fm small { display:block;text-align:center;font-size:12.5px;color:var(--sub);margin-top:13px }
.dx .exm { display:inline-block;background:var(--ink);color:#fff;font-size:12.5px;font-weight:700;padding:1px 9px;margin-left:8px;vertical-align:2px }
.dx .vs { display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px }
.dx .v { background:#fff;box-shadow:0 6px 16px rgba(23,48,46,.12);display:flex;flex-direction:column }
.dx .vt { background:var(--te);color:#fff;padding:13px 20px 15px }
.dx .vt small { font-weight:700;font-size:13.5px }
.dx .vt b { display:block;font-size:20.5px;font-weight:900;line-height:1.4 }
.dx .v p { padding:15px 20px 4px;font-size:15.5px;line-height:1.7 }
.dx .v>span { margin-top:auto;padding:4px 20px 15px;font-weight:700;font-size:14px;color:var(--sub) }
.dx .rep { background:#fff;padding-bottom:0;overflow:hidden }
.dx .repg { display:grid;grid-template-columns:360px 1fr;gap:36px;align-items:end }
.dx .repg img { width:430px;margin:0 0 0 -50px;display:block;grid-row:span 2 }
.dx .repg h2 { font-size:42px }
.dx .rm { margin-top:12px }
.dx .sg { font-weight:900;margin-top:7px }
.dx .pm { list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:7px 16px;margin-top:13px }
.dx .pm li { display:flex;gap:7px;align-items:center;font-weight:900;font-size:16.5px }
.dx .ar { background:var(--pa);padding:15px 24px 19px;margin-bottom:28px }
.dx .ar h3 { font-size:20px;font-weight:900 }
.dx .ar p { font-size:15px }
.dx .tw { display:flex;flex-wrap:wrap;gap:6px;margin-top:7px }
.dx .tw span { background:var(--te);color:#fff;font-size:14px;font-weight:700;padding:2px 11px }
.dx .dif { background:var(--ye) }
.dx .dif h2 em { color:#a23a2a }
.dx .dft { background:#fff;margin-top:30px;box-shadow:8px 8px 0 var(--ink);border:3px solid var(--ink) }
.dx .dr { display:grid;grid-template-columns:190px 1fr 1fr 250px;border-bottom:1px solid var(--line);align-items:stretch }
.dx .dr:last-child { border-bottom:0 }
.dx .dr>* { padding:14px 18px;line-height:1.5;font-size:16px }
.dx .dr>b { font-weight:900;font-size:18.5px;align-self:center }
.dx .dh>* { padding:9px 18px;font-size:14px;font-weight:900;background:var(--ink);color:#fff }
.dx .dh .lo { background:#1f3552 }
.dx .dh .hi { background:#a23a2a }
.dx .dr .lo { background:#eef2f6 }
.dx .dr .hi { background:#faeeeb }
.dx .dh .lo { background:#1f3552 }
.dx .dh .hi { background:#a23a2a }
.dx .cf { font-weight:700;color:var(--sub);font-size:14.5px!important }
.dx .dh .cf { color:#fff }
.dx .dcta { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px }
.dx .dcta p { font-size:22px;font-weight:900 }
.dx .rp { transform:rotate(-1.6deg);background:#fff;padding:12px 12px 8px;box-shadow:0 10px 26px rgba(23,48,46,.2);grid-row:span 2;align-self:start;width:360px }
.dx .repg .rp img { width:100%;margin:0;display:block;aspect-ratio:4/5;object-fit:cover }
.dx .rp figcaption { text-align:center;font-weight:900;font-size:15.5px;padding:8px 0 3px }
.dx .repg { align-items:start }
.dx .ar { margin-bottom:0 }
@media(max-width:760px) {
.dx .wrap { width:calc(100% - 36px) }
.dx .chiplabel b { font-size:19px }
.dx .chiplabel small { font-size:11px }
.dx section { padding:54px 0 }
.dx h2 { font-size:31px }
.dx .intro { font-size:15.5px }
.dx .simg { grid-template-columns:1fr;margin-top:20px;gap:22px }
.dx .simph { padding:9px }
.dx .ch i { height:auto;aspect-ratio:1 }
.dx .ch { font-size:9.5px }
.dx .cmpg { grid-template-columns:1fr;margin-top:20px }
.dx .paper { padding:18px 16px 22px }
.dx .paper .tt { display:block }
.dx .paper .tt b { font-size:21px;display:block }
.dx .r { grid-template-columns:30px 1fr;gap:3px 7px;padding:11px 0 }
.dx .r h3 { font-size:17px }
.dx .r .o { grid-column:2;margin-top:4px;font-size:14.5px }
.dx .big { display:none }
.dx .wm { display:none }
.dx .acts2 { flex-direction:column;gap:16px }
.dx .acts2 .btn { width:calc(100% - 8px);white-space:normal }
.dx .plans, .dx .inc, .dx .cards, .dx .craft, .dx .evg, .dx .end .wrap { grid-template-columns:1fr }
.dx .plans { margin-top:22px }
.dx .cards { margin-top:22px }
.dx .craft .im { aspect-ratio:3/2 }
.dx .craft .tx { padding:38px 18px }
.dx .craft h2 { font-size:34px }
.dx .craft p { font-size:16px }
.dx .pfs { grid-template-columns:1fr 1fr }
.dx .pf h3 { font-size:16.5px }
.dx .flow { grid-template-columns:1fr 1fr 1fr }
.dx .fl>i { height:58px;font-size:24px }
.dx .fl h3 { font-size:15.5px;padding:8px 8px 0 }
.dx .fl p { font-size:11.5px;padding:0 8px 10px }
.dx .qa b { font-size:17px }
.dx .end h2 { font-size:36px }
.dx .end .wrap>* { min-width:0 }
.dx .box { padding:20px 16px }
.dx .box .t { font-size:25px }
.dx .end { padding-bottom:64px }
.dx .estg, .dx .chkg, .dx .vs { grid-template-columns:1fr }
.dx .estg { gap:20px;margin-top:20px }
.dx .est { padding:15px 11px;transform:none }
.dx .esth b { font-size:21px }
.dx .esta { font-size:11.5px }
.dx .er { grid-template-columns:1fr 42px 44px 62px;gap:3px;font-size:11px }
.dx .eh { font-size:10.5px }
.dx .etot { width:100%;font-size:13.5px }
.dx .etot .g b { font-size:21px }
.dx .ecnd { font-size:12px }
.dx .m { width:17px;height:17px;font-size:10.5px;margin-right:3px }
.dx .pts { gap:9px }
.dx .pts .m { width:24px;height:24px;font-size:13px }
.dx .pts h3 { font-size:17.5px }
.dx .chkg { gap:26px }
.dx .chk h2 { font-size:38px }
.dx .tri { gap:7px }
.dx .tri li { font-size:13px;padding:9px }
.dx .prm span { font-size:13px }
.dx .fm { padding:20px 17px;box-shadow:5px 5px 0 var(--ink) }
.dx .fm h3 { font-size:21px }
.dx .vs { margin-top:20px;gap:15px }
.dx .repg { grid-template-columns:1fr;gap:18px }
.dx .repg img { width:68%;margin:0 auto -18px;grid-row:auto }
.dx .repg h2 { font-size:29px }
.dx .pm { grid-template-columns:1fr }
.dx .pm li { font-size:15.5px }
.dx .ar { margin-bottom:52px }
.dx .dft { margin-top:20px;box-shadow:5px 5px 0 var(--ink) }
.dx .dh { display:none }
.dx .dr { grid-template-columns:1fr 1fr;border-bottom:3px solid var(--ink) }
.dx .dr>b { grid-column:1/-1;padding:10px 12px 8px;font-size:17px }
.dx .dr .lo, .dx .dr .hi { font-size:13.5px;padding:9px 11px }
.dx .dr .lo::before { content:"下がる要因";display:block;font-weight:900;color:#1f3552;font-size:12px }
.dx .dr .hi::before { content:"上がる要因";display:block;font-weight:900;color:#a23a2a;font-size:12px }
.dx .cf { grid-column:1/-1;padding:8px 12px!important;font-size:13px!important }
.dx .cf::before { content:"確認：";font-weight:900 }
.dx .dcta { display:block;margin-top:22px }
.dx .dcta p { font-size:17px;margin-bottom:12px }
.dx .dcta .btn { width:calc(100% - 8px) }
.dx .rp { width:80%;margin:0 auto 6px;grid-row:auto }
.dx .repg .rp img { width:100% }
}

/* ---------- トップの見出し：PC は 1440px の配置を画面幅に合わせて縮める ---------- */
.dx .hero { --u: calc(min(100vw, 1440px) / 1440); position: relative; overflow: hidden; background: var(--te); color: #fff; }
.dx .hero-in { position: relative; width: calc(var(--u) * 1440); height: calc(var(--u) * 770); margin-inline: auto; }
.dx .tag { position: absolute; left: calc(var(--u) * 64); top: calc(var(--u) * 44); padding-bottom: 2px; border-bottom: 3px solid var(--ye); font-size: max(13px, calc(var(--u) * 17)); font-weight: 900; letter-spacing: .04em; }
.dx h1 { position: absolute; left: calc(var(--u) * 62); top: calc(var(--u) * 96); z-index: 3; font-size: calc(var(--u) * var(--dx-hero-pc, 76)); line-height: 1.3; white-space: nowrap; }
.dx h1 em { color: var(--ye); font-style: normal; }
.dx .lead { position: absolute; left: calc(var(--u) * 64); top: calc(var(--u) * 408); z-index: 3; width: calc(var(--u) * 510); font-size: max(13px, calc(var(--u) * 18)); font-weight: 500; }
.dx .acts { position: absolute; left: calc(var(--u) * 64); top: calc(var(--u) * 548); z-index: 5; display: flex; gap: calc(var(--u) * 16); }
.dx .acts .btn { padding: calc(var(--u) * 15) calc(var(--u) * 28); font-size: max(13px, calc(var(--u) * 18)); }
.dx .mini { position: absolute; left: calc(var(--u) * 64); top: calc(var(--u) * 640); z-index: 3; display: flex; gap: calc(var(--u) * 10); }
.dx .mini div { width: calc(var(--u) * 136); background: #fff; color: var(--ink); line-height: 1.2; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.dx .mini i { display: block; height: calc(var(--u) * 24); }
.dx .mini b { display: block; padding: calc(var(--u) * 7) calc(var(--u) * 9) 2px; font-family: var(--dx-display); font-size: calc(var(--u) * 22); font-weight: var(--dx-dw); line-height: 1.1; }
.dx .mini small { display: block; padding: 0 calc(var(--u) * 9) calc(var(--u) * 8); color: var(--sub); font-size: max(10px, calc(var(--u) * 11.5)); font-weight: 700; }
.dx .cardc { position: absolute; left: calc(var(--u) * 668); top: calc(var(--u) * 36); z-index: 2; width: calc(var(--u) * 610); padding: calc(var(--u) * 14); background: #fff; color: var(--ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .28); transform: rotate(-2.2deg); }
.dx .cardc .chiplabel { display: none; }
.dx .chiplabel { display: flex; justify-content: space-between; align-items: center; padding: 11px 3px 13px; }
.dx .chiplabel b { font-family: var(--dx-display); font-size: 23px; font-weight: var(--dx-dw); line-height: 1.2; }
.dx .chiplabel small { color: var(--sub); font-size: 12.5px; font-weight: 700; }
/* スライダー */
.dx [data-dx-slider] { --pos: 50%; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.dx [data-dx-slider] img { pointer-events: none; -webkit-user-drag: none; }
.dx [data-dx-slider]:focus-visible { outline: 3px solid var(--ye); outline-offset: 3px; }
.dx .ph .aft { clip-path: inset(0 0 0 var(--pos, 50%)); }
.dx .ph canvas.aft { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dx .ph .bar, .dx .ph .knob { left: var(--pos, 50%); }
.dx .ph .bar { pointer-events: none; }
/* 色見本 */
.dx button.ch { display: block; width: 100%; padding: 0; border: 0; color: var(--ink); font-family: inherit; cursor: pointer; }
.dx button.ch:hover { transform: translateY(-2px); }
.dx button.ch:focus-visible { outline: 3px solid var(--te); outline-offset: 2px; }
.dx a.chiplabel { color: var(--ink); }
.dx button.btn { border: 0; font-family: inherit; cursor: pointer; }
.dx .btn[hidden], .dx .dx-print { display: none; }
.dx .knob { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 70px; height: 70px; margin: -35px 0 0 -35px; background: var(--ye); border: 3px solid var(--ink); border-radius: 6px; color: var(--ink); font-size: 12.5px; font-weight: 900; line-height: 1.25; text-align: center; transform: rotate(45deg); }
.dx .knob span { display: block; transform: rotate(-45deg); }
.dx .hero .knob { width: calc(var(--u) * 70); height: calc(var(--u) * 70); margin: calc(var(--u) * -35) 0 0 calc(var(--u) * -35); font-size: max(9px, calc(var(--u) * 12.5)); }
.dx .sheet { position: absolute; left: calc(var(--u) * 1046); top: calc(var(--u) * 286); z-index: 4; width: calc(var(--u) * 360); padding: calc(var(--u) * 20) calc(var(--u) * 22) calc(var(--u) * 22); background: #fff; color: var(--ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .3); transform: rotate(3deg); }
.dx .sheet h3 { padding-bottom: calc(var(--u) * 7); border-bottom: 3px double var(--ink); font-family: var(--dx-display); font-size: calc(var(--u) * 21); font-weight: var(--dx-dw); line-height: 1.3; }
.dx .sheet ul { margin-top: calc(var(--u) * 6); }
.dx .sheet li { display: flex; align-items: center; gap: calc(var(--u) * 9); padding: calc(var(--u) * 7) 0; border-bottom: 1px solid var(--line); font-size: max(11px, calc(var(--u) * 15.5)); font-weight: 700; line-height: 1.3; }
.dx .sheet li svg { flex: none; width: calc(var(--u) * 21); height: calc(var(--u) * 21); }
.dx .sheet li.more { margin: 0; border: 0; color: var(--sub); font-weight: 500; font-size: max(11px, calc(var(--u) * 15.5)); text-align: left; }
.dx .stamp { position: absolute; right: calc(var(--u) * 16); bottom: calc(var(--u) * 10); display: grid; place-items: center; width: calc(var(--u) * 86); height: calc(var(--u) * 86); border: calc(var(--u) * 4) solid #c8352a; border-radius: 50%; background: rgba(255, 255, 255, .55); color: #c8352a; font-family: var(--dx-display); font-size: calc(var(--u) * 16); line-height: 1.2; text-align: center; transform: rotate(-14deg); }
.dx .crouch { position: absolute; left: calc(var(--u) * 560); bottom: calc(var(--u) * -6); z-index: 3; width: calc(var(--u) * 400); height: auto; }
.dx .note { position: absolute; left: calc(var(--u) * 880); top: calc(var(--u) * 616); z-index: 5; padding: calc(var(--u) * 8) calc(var(--u) * 13); background: var(--ye); color: var(--ink); font-size: max(11px, calc(var(--u) * 15.5)); font-weight: 900; line-height: 1.4; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transform: rotate(-2deg); }
.dx .more { margin-top: 14px; font-size: 15px; font-weight: 700; text-align: center; }
.dx .more a { color: var(--te); text-decoration: underline; }
.dx .pl .btn { width: calc(100% - 8px); }
.dx a.ch { display: block; color: var(--ink); }
.dx .acts2 .btn { white-space: normal; text-align: center; }
.dx .s-est { padding-top: 112px; }
.dx .s-voice { background: var(--pa); }
.dx .s-faq { padding-top: 0; }
.dx .rep { padding-bottom: 82px; }
.dx .estg.solo { grid-template-columns: minmax(0, 790px); }
.dx .evg.solo { grid-template-columns: 1fr; }
.dx .scr { color: var(--ink); }
.dx .cd h3 a { text-decoration: underline; }
.dx .box .t { display: block; color: var(--ink); }
.dx .box small { display: block; }
.dx .wm { height: auto; }
.dx .repg > div:first-of-type { min-width: 0; }

/* ---------- PC の小さな幅（固定の列幅が入らない時は縦に並べる） ---------- */
@media (max-width: 1200px) {
	.dx .simg { grid-template-columns: minmax(0, 1fr) 400px; }
	.dx .cmpg { grid-template-columns: 1fr; }
	.dx .wm { display: none; }
	.dx .big { right: 10px; bottom: -40px; }
	.dx .estg { grid-template-columns: 1fr; }
	.dx .est { transform: none; }
	.dx .pts { grid-template-columns: 1fr 1fr; }
	.dx .r { grid-template-columns: 38px 1fr 280px; }
	.dx .dr { grid-template-columns: 150px 1fr 1fr 190px; }
	.dx .evg { grid-template-columns: 240px 1fr; }
	.dx .pfs { grid-template-columns: 1fr 1fr; }
	.dx .end .wrap { grid-template-columns: 1fr 360px; }
	.dx .end h2 { font-size: 46px; }
}

/* ---------- タブレット：トップの見出しも縦に並べる ---------- */
@media (max-width: 1000px) {
	.dx .hero { --u: 1px; }
	.dx .hero-in { display: flex; flex-direction: column; width: auto; height: auto; padding: 22px 18px 0; }
	.dx :is(.tag, h1, .lead, .acts, .mini, .cardc, .sheet, .crouch, .note) { position: static; }
	.dx .tag { align-self: flex-start; font-size: 14px; }
	.dx h1 { margin-top: 10px; font-size: clamp(38px, 6.4vw, 56px); }
	.dx .lead { width: auto; margin-top: 10px; font-size: 15.5px; }
	.dx .cardc { width: 100%; margin-top: 20px; padding: 9px 9px 0; transform: rotate(-1deg); }
	.dx .cardc .chiplabel { display: flex; gap: 8px; }
	.dx .chiplabel b { font-size: 19px; white-space: nowrap; }
	.dx .chiplabel small { font-size: 11px; text-align: right; }
	.dx .hero .knob { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 10px; }
	.dx .acts { order: 3; gap: 14px; margin-top: 22px; }
	.dx .acts .btn { padding: 15px 28px; font-size: 18px; }
	.dx .mini { order: 4; gap: 7px; margin: 24px -18px 0; padding: 0 18px 22px; }
	.dx .mini div { flex: 1; width: auto; }
	.dx .mini i { height: 22px; }
	.dx .mini b { padding: 7px 9px 2px; font-size: 19px; }
	.dx .mini small { padding: 0 9px 8px; font-size: 11px; }
	.dx .sheet, .dx .crouch, .dx .note { display: none; }
	.dx .simg { grid-template-columns: 1fr; }
	/* 色を選びながら結果が見えるよう、写真を上に固定する */
	.dx .simg[data-dx-colors] .simph { position: sticky; top: 62px; z-index: 3; }
	.dx .plans { grid-template-columns: 1fr; }
	.dx .cards { grid-template-columns: 1fr 1fr; }
	.dx .vs { grid-template-columns: 1fr 1fr; }
	.dx .flow { grid-template-columns: repeat(3, 1fr); }
	.dx .end .wrap { grid-template-columns: 1fr; }
	.dx .repg { grid-template-columns: 280px 1fr; gap: 24px; }
	.dx .rp { width: 100%; }
	.dx .craft .tx { padding: 40px 30px; }
	.dx .craft h2 { font-size: 40px; }
}
@media (max-width: 760px) {
	.dx .acts { flex-direction: column; }
	.dx .mini b { font-size: 16px; white-space: nowrap; }
	.dx .mini small { font-size: 10.5px; }
	.dx .acts .btn { width: calc(100% - 8px); }
	.dx .cardc { transform: none; }
	.dx .cards, .dx .vs { grid-template-columns: 1fr; }
	.dx .pts { grid-template-columns: 1fr; }
	.dx .r { grid-template-columns: 30px 1fr; }
	.dx .dr { grid-template-columns: 1fr 1fr; }
	.dx .dr .lo::before, .dx .dr .hi::before { content: attr(data-label); }
	.dx .s-est { padding-top: 54px; }
	.dx .rep { padding-bottom: 54px; }
	.dx .repg { grid-template-columns: 1fr; }
	.dx .rp { width: 80%; }
	.dx h1 { font-size: min(43px, var(--dx-hero-sp, 11vw)); }
	.dx .evg { grid-template-columns: 1fr; }
	.dx .pfs { grid-template-columns: 1fr 1fr; }
	.dx .end h2 { font-size: 36px; }
}

/* ---------- 下層ページの部品（どのサイトでも .dx の中だけに効く） ---------- */
.dx .phd { padding: 58px 0 50px; background: var(--dk); color: #fff; }
.dx .phd .ey { background: var(--ye); color: var(--ink); }
.dx .phd h1 { position: static; width: auto; white-space: normal; margin: 0; color: #fff; font-size: 54px; line-height: 1.3; text-shadow: none; }
.dx .phd h1 em { font-style: normal; color: var(--ye); }
.dx .phd .intro { margin-top: 12px; color: #e5efed; }
.dx .dxmore { margin-top: 34px; text-align: center; }
.dx .dxmore .btn { min-width: 300px; max-width: 100%; }
.dx .repg > div .dxmore { text-align: left; }
.dx .pmt { margin-top: 18px; font-size: 20px; font-weight: 900; }
.dx a.cd { display: block; transition: transform .15s ease, box-shadow .15s ease; }
.dx a.cd:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(23, 48, 46, .22); }
.dx a.cd:focus-visible { outline: 3px solid var(--te); outline-offset: 3px; }
.dx .cd .mn { white-space: nowrap; }
.rise-biz-card--dx .dx .cd .mn { font-size: 22px; }
@media (min-width: 761px) and (max-width: 1240px) { .dx .cd .mn { font-size: 26px; } }
.dx .cd .pic .one { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.dx .cd .mn.tx { font-size: 26px; }
.dx .cd .go { display: inline-block; margin-top: 10px; color: var(--te); font-size: 15px; font-weight: 900; }
.dx .cd .go::after { content: " →"; }
.dx a.cd:hover .go { text-decoration: underline; }

/* 対応地域の地図・会社概要 */
.dx .dxarea { background: #fff; }
.dx .dxarea .rise-biz-areamap { margin-top: 30px; }
.dx .dxarea .rise-biz-areamap__heading { color: var(--ink); font-size: 24px; font-weight: 900; line-height: 1.4; }
.dx .dxarea .rise-biz-areamap__body ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dx .dxarea .rise-biz-areamap__body li { padding: 3px 12px; background: var(--pa); font-weight: 700; }
.dx .dxco .rise-biz-company { margin-top: 26px; border-top: 2px solid var(--ink); background: #fff; }
.dx .dxco .rise-biz-company__row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.dx .dxco .rise-biz-company dt { padding: 14px 18px; background: var(--pa); font-weight: 900; }
.dx .dxco .rise-biz-company dd { padding: 14px 18px; overflow-wrap: anywhere; }
.dx .dxco .rise-biz-company a { color: var(--te); text-decoration: underline; }

/* 施工事例の詳細 */
.dx .wkd { background: #fff; padding-top: 54px; }
.dx .wkdg { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.dx .wkdph { position: relative; }
.dx .wkdph .lb { position: absolute; left: 0; top: 0; z-index: 3; padding: 3px 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; pointer-events: none; }
.dx .wkdph .lba { left: auto; right: 0; background: var(--te); }
.dx .wkds { padding: 22px 24px 26px; background: var(--pa); box-shadow: 0 8px 20px rgba(23, 48, 46, .14); }
.dx .wkds .mn { font: var(--dx-dw) 42px/1.25 var(--dx-display); }
.dx .wkds .mn.tx { font-size: 28px; }
.dx .wkds .mn span { margin-left: 2px; font-size: 18px; }
.dx .wkds .mn u { margin-left: 6px; color: var(--sub); font: 700 13px var(--dx-body); text-decoration: none; }
.dx .wkds dl { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.dx .wkds dl div { display: grid; grid-template-columns: 56px 1fr; padding: 6px 0; border-top: 1px solid var(--line); }
.dx .wkds dt { color: var(--sub); }
.dx .wkds dd { font-weight: 700; }
.dx .wkds .col { height: 18px; margin-top: 8px; }
.dx .wkds .btn { width: 100%; margin-top: 18px; }
.dx .wkdb { display: grid; gap: 34px; max-width: 900px; margin-top: 46px; }
.dx .wkdt h2 { margin-bottom: 10px; font-size: 28px; }
.dx .wkdt p { margin-bottom: .8em; font-size: 16.5px; line-height: 1.9; }
.dx .wkdt .nm { color: var(--sub); font-weight: 700; }
.dx .wkdc { padding: 20px 24px; background: var(--pa); }
.dx .wkdx div { display: grid; grid-template-columns: 200px 1fr; padding: 10px 0; border-top: 1px solid var(--line); }
.dx .wkdx dt { color: var(--sub); font-weight: 700; }
.dx .wkdg2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dx .wkdg2 img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dx .wkd .rise-biz-section--next { margin: 46px 0 0; }
.dx .wkd .rise-biz-section--next h2 { margin-bottom: 14px; font-size: 28px; }
.dx .wkd .rise-biz-next { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dx .wk > .wrap > h2 { margin-bottom: 4px; font-size: 36px; }
@media (max-width: 1000px) {
	.dx .phd { padding: 40px 0 36px; }
	.dx .phd h1 { font-size: 40px; }
	.dx .wkdg { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.dx .wrap { width: calc(100% - 36px); }
	.dx section { padding-block: 54px; }
	.dx h2 { font-size: 32px; }
	.dx .dxmore .btn { width: 100%; min-width: 0; }
	.dx .cards > *, .dx .plans > * { min-width: 0; }
	.dx .cd .mn { font-size: min(36px, 8.6vw); }
	.dx .pn .pr { font-size: min(44px, 10.5vw); }
	.dx .estg .pts { margin-left: 0; padding-left: 0; }
	.dx .phd h1 { font-size: 34px; }
	.dx .phd .intro { font-size: 16px; }
	.dx .dxco .rise-biz-company__row, .dx .wkdx div { grid-template-columns: 1fr; }
	.dx .dxco .rise-biz-company dt { padding: 8px 12px; }
	.dx .dxco .rise-biz-company dd { padding: 10px 12px; }
	.dx .wkds { padding: 18px 16px 20px; }
	.dx .wkds .mn { font-size: 34px; }
	.dx .wkdg2, .dx .wkd .rise-biz-next { grid-template-columns: 1fr; }
}

/* ---------- 見積り比べシートの印刷 ---------- */
#dx-print-root { display: none; }
@media print {
	@page { size: A4; margin: 12mm; }
	html.dx-printing, html.dx-printing body { background: #fff !important; margin: 0 !important; padding: 0 !important; }
	html.dx-printing body > *:not(#dx-print-root) { display: none !important; }
	html.dx-printing #dx-print-root { display: block; color: #000; font-family: "Noto Sans JP", sans-serif; font-size: 10pt; line-height: 1.5; }
	#dx-print-root h1 { margin: 0 0 2mm; padding: 0 0 2mm; border: 0; border-bottom: 2px double #000; background: none; color: #000; font-size: 17pt; font-weight: 900; }
	#dx-print-root h1::before, #dx-print-root h1::after { content: none; }
	#dx-print-root p { margin: 0 0 3mm; }
	#dx-print-root table { width: 100%; border-collapse: collapse; table-layout: fixed; }
	#dx-print-root th, #dx-print-root td { padding: 2mm; border: 1px solid #000; text-align: left; vertical-align: top; font-weight: 400; }
	#dx-print-root thead th { background: #e8ecea; font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	#dx-print-root tbody tr { height: 26mm; break-inside: avoid; }
	#dx-print-root tbody th b { display: block; font-weight: 700; }
	#dx-print-root small { display: block; color: #333; font-size: 8pt; }
	#dx-print-root .dx-print__foot { margin: 3mm 0 0; font-size: 9pt; }
	#dx-print-root .dx-print__demo { margin: 1mm 0 0; font-size: 8pt; }
}

/* ---------- サイト全体（Rise Demo Pack の反映中だけ） ---------- */
body.rise-dx-chrome { background: #f6f5f0; color: #17302e; font-family: var(--dx-body); }
body.rise-dx-chrome .rise-biz-demo-bar { padding: 6px 16px; background: #063f3c; }
body.rise-dx-chrome .rise-biz-demo-bar p { line-height: 1.5; }
body.rise-dx-chrome .rise-header { background: #fff; box-shadow: none; }
body.rise-dx-chrome .rise-logo__img { max-height: 54px; width: auto; }
body.rise-dx-chrome .rise-header__tagline { color: #5a6b69; font-size: 12px; font-weight: 700; }
body.rise-dx-chrome .rise-gnav a { color: #17302e; font-size: 15px; font-weight: 700; }
body.rise-dx-chrome .rise-biz-btn--header-tel .rise-biz-btn__tel { color: #17302e; font-family: var(--dx-display); font-size: 23px; font-weight: var(--dx-dw); line-height: 1.15; }
body.rise-dx-chrome .rise-biz-btn--header-tel .rise-icon { display: none; }
body.rise-dx-chrome .rise-biz-btn--contact { border: 0; border-radius: 5px; background: #ffcf33; color: #17302e !important; font-weight: 900; box-shadow: 0 0 0 2px #17302e, 4px 4px 0 2px #17302e; }
body.rise-dx-chrome .rise-biz-spbar__contact { background: #ffcf33 !important; color: #17302e !important; border-color: #17302e !important; font-weight: 900; }
body.rise-dx-chrome .rise-biz-spbar__tel { background: #fff !important; color: #17302e !important; border-color: #17302e !important; font-weight: 900; }
@media (max-width: 1100px) {
	body.rise-dx-chrome .rise-header__brand { flex: none; }
	body.rise-dx-chrome .rise-logo__img { max-height: 44px; }
	body.rise-dx-chrome .rise-header__tagline { display: none; }
	body.rise-dx-chrome .rise-gnav a { padding-inline: 5px; font-size: 13px; }
}
body.rise-dx-chrome .rise-footer { background: #063f3c; color: #fff; }
body.rise-dx-chrome .rise-footer a { color: #fff; }
@media (max-width: 760px) {
	body.rise-dx-chrome .rise-biz-demo-bar p { font-size: 11.5px; }
}

/* ---------- 下層ページ（Rise Demo Pack の反映中だけ） ---------- */
body.rise-dx-chrome { --rise-font: var(--dx-body); }
body.rise-dx-chrome :is(button, input, select, textarea) { font-family: inherit; }
body.rise-dx-chrome .rise-gnav .current-menu-item > a { color: #0a7c74; box-shadow: inset 0 -3px 0 #0a7c74; }
body.rise-dx-chrome .rise-footer .current-menu-item > a { text-decoration: underline; }
body.rise-dx-chrome .rise-breadcrumb { display: none; }
body.rise-dx-page .rise-header { margin-bottom: 0; }
body.rise-dx-page .rise-entry__header { display: none; }

/* 工事の詳細 */
body.rise-dx-chrome .dxsv { width: min(100% - 80px, 900px); margin-inline: auto; padding: 44px 0 56px; }
body.rise-dx-chrome .dxsv .rise-biz-single__main { margin: 0 0 28px; }
body.rise-dx-chrome .dxsv .rise-biz-single__main-img { display: block; width: 100%; height: auto; }
.dx .wk + .dxmore { margin-top: 14px; }
.dx .dxmore + .dxmore { margin-top: 14px; }

/* 検索結果・404・一覧 */
.dx .dxls { padding: 56px 0 72px; }
.dx .dxls .rise-search { max-width: 640px; margin: 0 auto 36px; border: 2px solid var(--ink); border-radius: 5px; background: #fff; }
.dx .dxls__empty { margin: 0; color: var(--sub); text-align: center; }
.dx .dxls__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.dx .dxrs { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dx .dxr { display: flex; gap: 20px; align-items: center; padding: 16px; background: #fff; box-shadow: 0 4px 12px rgba(23, 48, 46, .12); color: var(--ink); text-decoration: none; }
.dx .dxr:hover { box-shadow: 0 10px 22px rgba(23, 48, 46, .2); }
.dx .dxr .th { flex: none; width: 170px; aspect-ratio: 16 / 10; overflow: hidden; }
.dx .dxr .th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dx .dxr .tx { display: grid; gap: 4px; min-width: 0; }
.dx .dxr .ty { justify-self: start; padding: 1px 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.dx .dxr .nm { font-size: 19px; font-weight: 900; line-height: 1.5; }
.dx .dxr small { color: var(--sub); font-size: 14px; line-height: 1.6; }

/* プライバシーポリシーなどの文章のページ */
body.rise-dx-page .rise-content > .rise-dx-doc { width: min(100%, 820px); margin: 0 auto; padding: 48px 0 72px; }
body.rise-dx-page .rise-dx-doc h2 { margin: 36px 0 12px; font-size: 22px; }
body.rise-dx-page .rise-dx-doc > :first-child { margin-top: 0; }

/* このデザインのブロックの間に置く、ほかのブロック（料金表・工事の一覧・フォーム・シミュレーターなど） */
body.rise-dx-page .rise-content > [class*="wp-block-rise-biz-"]:not([class*="wp-block-rise-biz-dx-"]) { width: min(100vw - 80px, 1220px); max-width: none; margin: 0 0 0 calc(50% - min(50vw - 40px, 610px)) !important; padding: 56px 0; }
body.rise-dx-page .rise-content > .wp-block-rise-biz-dx-head + [class*="wp-block-rise-biz-"] { padding-top: 26px; }
.dx .dxh { padding: 56px 0 0; }
body.rise-dx-page .rise-content > :first-child:not([class*="wp-block-rise-biz-dx-"]) { padding-top: 40px; }

/* 下層ページの見出し（工事の詳細・コラムなど、このデザインのブロックがないページ） */
body.rise-dx-chrome:not(.rise-dx-page) .rise-entry__title, body.rise-dx-chrome .rise-page-title { color: #17302e; font-family: var(--dx-display); font-size: clamp(30px, 5vw, 46px); font-weight: var(--dx-dw); line-height: 1.35; }
body.rise-dx-chrome .rise-content h2:not(.dx *) { padding: 0 0 8px; border: 0; border-bottom: 4px solid #0a7c74; background: none; color: #17302e; font-family: var(--dx-display); font-weight: var(--dx-dw); }
body.rise-dx-chrome .rise-content h2:not(.dx *)::before, body.rise-dx-chrome .rise-content h2:not(.dx *)::after { content: none; }
body.rise-dx-chrome .rise-biz-head__title { padding: 0; border: 0; }
body.rise-dx-chrome .rise-biz-head__title { font-family: var(--dx-display) !important; font-weight: var(--dx-dw) !important; font-size: 34px !important; }
body.rise-dx-chrome .rise-biz-section__title, body.rise-dx-chrome .rise-biz-single__type { font-weight: 900; }
body.rise-dx-chrome .rise-biz-single__type { border-radius: 0; background: #17302e; color: #fff; }

/* ボタン */
body.rise-dx-chrome .rise-biz-btn { border-radius: 5px; font-weight: 900; }
body.rise-dx-chrome .rise-content .rise-biz-btn:not(.rise-biz-btn--outline):not(.rise-biz-btn--ghost), body.rise-dx-chrome .rise-biz-contact-form button[type="submit"] { border: 0; background: #ffcf33; color: #17302e !important; box-shadow: 0 0 0 2px #17302e, 4px 4px 0 2px #17302e; }

/* カード（工事の一覧・料金） */
body.rise-dx-chrome .rise-biz-card__link, body.rise-dx-chrome .rise-biz-price { border: 0; border-radius: 0; background: #fff; box-shadow: 0 8px 20px rgba(23, 48, 46, .14); }
body.rise-dx-chrome .rise-biz-card__link:hover { box-shadow: 0 14px 28px rgba(23, 48, 46, .22); }
body.rise-dx-chrome .rise-biz-card__title { color: #17302e; font-weight: 900; }
body.rise-dx-chrome .rise-biz-tag { border-radius: 0; background: #e9f3f1; color: #0a7c74; font-weight: 700; }
body.rise-dx-chrome .rise-biz-price__head { background: #063f3c; color: #fff; }
body.rise-dx-chrome .rise-biz-price__name { color: #fff !important; font-weight: 900; }
body.rise-dx-chrome .rise-biz-price__value { color: #ffcf33; }
body.rise-dx-chrome .rise-biz-price__unit, body.rise-dx-chrome .rise-biz-price__tax { color: #e5efed; }
body.rise-dx-chrome .rise-biz-price__amount { font-family: var(--dx-display); font-weight: var(--dx-dw); }
body.rise-dx-chrome .rise-biz-card--dx > .dx { height: 100%; background: none; }
body.rise-dx-chrome .rise-biz-card--dx .cd { height: 100%; }
body.rise-dx-chrome .rise-biz-next__link { border-radius: 0; background: #fff; box-shadow: 0 4px 12px rgba(23, 48, 46, .12); color: #17302e; font-weight: 700; }
body.rise-dx-chrome .rise-biz-next__icon { color: #0a7c74; }

/* 会社概要など */
body.rise-dx-chrome .rise-biz-company { border-top: 2px solid #17302e; }
body.rise-dx-chrome .rise-biz-company dt { background: #f6f5f0; font-weight: 900; }
body.rise-dx-chrome .rise-biz-compare figcaption { font-weight: 900; }

/* 色を試す・お問い合わせ */
body.rise-dx-chrome .rise-biz-sim { border-radius: 0; }
body.rise-dx-chrome .rise-biz-sim__tab { font-weight: 900; }
body.rise-dx-chrome .rise-biz-contact-form { max-width: 820px; margin-inline: auto; padding: 30px 34px; background: #fff; box-shadow: 0 8px 20px rgba(23, 48, 46, .14); }
body.rise-dx-chrome .rise-biz-contact-form :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border: 2px solid #d8dcd8; border-radius: 3px; }
body.rise-dx-chrome .rise-biz-contact-form :is(input, select, textarea):focus { border-color: #0a7c74; outline: 2px solid #0a7c74; outline-offset: 0; }
body.rise-dx-chrome .rise-biz-contact-form label { font-weight: 700; }

/* フッター：メニューが読めるように */
body.rise-dx-chrome .rise-footer :is(p, small, li, span, nav, h2, h3) { color: inherit; }
body.rise-dx-chrome .rise-footer__menu a, body.rise-dx-chrome .rise-footer nav a { font-weight: 700; }

@media (max-width: 760px) {
	body.rise-dx-page .rise-content > [class*="wp-block-rise-biz-"]:not([class*="wp-block-rise-biz-dx-"]) { width: calc(100vw - 36px); margin-left: calc(50% - 50vw + 18px) !important; padding: 36px 0; }
	.dx .dxh { padding-top: 40px; }
	body.rise-dx-chrome .dxsv { width: calc(100% - 36px); padding: 28px 0 40px; }
	.dx .dxls { padding: 36px 0 48px; }
	.dx .dxls__btns .btn { width: 100%; }
	.dx .dxr { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
	.dx .dxr .th { width: 100%; }
	.dx .dxr .nm { font-size: 17px; }
	body.rise-dx-page .rise-content > .rise-dx-doc { padding: 28px 0 44px; }
	body.rise-dx-chrome .rise-biz-contact-form { padding: 20px 14px; }
	body.rise-dx-chrome .rise-biz-head__title { font-size: 26px !important; }
}
