:root{--sg-navy:#0b2741;--sg-blue:#0875ee;--sg-orange:#f08a24;--sg-ink:#17324a;--sg-muted:#60758a;--sg-line:#dbe6ef;--sg-bg:#f4f7fa;--sg-white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.sell-guide-page{margin:0;background:var(--sg-bg);color:var(--sg-ink);font-family:"Yu Gothic UI","Meiryo",system-ui,sans-serif;line-height:1.75}a{color:inherit}.sg-header{background:#fff;border-bottom:1px solid var(--sg-line);position:sticky;top:0;z-index:30}.sg-header-inner{width:min(1080px,94%);margin:auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px}.sg-brand{text-decoration:none;font-weight:950;color:var(--sg-navy);font-size:17px}.sg-nav{display:flex;align-items:center;gap:16px;font-size:12px;font-weight:850}.sg-nav a{text-decoration:none;color:#3d5870}.sg-nav .sg-nav-cta{background:var(--sg-orange);color:#fff;padding:9px 13px;border-radius:9px}.sg-shell{width:min(1060px,94%);margin:auto;padding:24px 0 80px}.sg-breadcrumb{font-size:12px;color:#6e8295;margin:2px 0 18px}.sg-breadcrumb a{color:#166dc8}.sg-hero{background:linear-gradient(135deg,#0a2844,#104b77);color:#fff;border-radius:24px;padding:42px 40px;box-shadow:0 18px 45px rgba(14,43,70,.15)}.sg-kicker{font-size:11px;letter-spacing:.14em;font-weight:950;color:#afd8ff}.sg-hero h1{font-size:clamp(30px,5vw,50px);line-height:1.22;margin:10px 0 14px;letter-spacing:.01em}.sg-hero p{max-width:780px;margin:0;color:#e4f0fa;font-size:15px}.sg-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:24px}.sg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 17px;border-radius:11px;text-decoration:none;font-weight:950;font-size:13px;line-height:1.5}.sg-btn-primary{background:var(--sg-orange);color:#fff}.sg-btn-secondary{background:#fff;color:var(--sg-navy)}.sg-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0 28px}.sg-trust>div{background:#fff;border:1px solid var(--sg-line);border-radius:14px;padding:14px}.sg-trust b{display:block;font-size:13px;color:#173c5a}.sg-trust small{display:block;margin-top:3px;color:#687f92;font-size:11px}.sg-section{margin-top:30px}.sg-section-head{margin-bottom:14px}.sg-section-head h2{margin:0 0 5px;font-size:27px;line-height:1.35;color:#102d47}.sg-section-head p{margin:0;color:var(--sg-muted);font-size:13px}.sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sg-card{background:#fff;border:1px solid var(--sg-line);border-radius:18px;padding:23px;box-shadow:0 8px 24px rgba(15,45,75,.04)}.sg-card h2,.sg-card h3{margin:0 0 9px;line-height:1.4;color:#123551}.sg-card h3{font-size:18px}.sg-card p{margin:0;color:#48647b;font-size:13px}.sg-card ul,.sg-card ol{margin:12px 0 0;padding-left:21px;color:#36536b;font-size:13px}.sg-card li+li{margin-top:7px}.sg-steps{counter-reset:sgstep;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sg-step{position:relative;background:#fff;border:1px solid var(--sg-line);border-radius:17px;padding:18px 16px}.sg-step:before{counter-increment:sgstep;content:counter(sgstep);display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e9f4ff;color:#086bcf;font-size:12px;font-weight:950;margin-bottom:10px}.sg-step b{display:block;font-size:14px}.sg-step span{display:block;color:#647c90;font-size:11px;margin-top:5px;line-height:1.65}.sg-table-wrap{overflow:auto;background:#fff;border:1px solid var(--sg-line);border-radius:18px}.sg-table{width:100%;border-collapse:collapse;min-width:690px}.sg-table th,.sg-table td{padding:14px 16px;border-bottom:1px solid #e8eef4;text-align:left;font-size:13px;vertical-align:top}.sg-table th{background:#eef5fb;color:#25465f;font-size:12px;font-weight:950}.sg-table td:first-child{font-weight:900;color:#173752}.sg-tool{background:#fff;border:1px solid var(--sg-line);border-radius:22px;padding:27px;box-shadow:0 10px 30px rgba(15,45,75,.06)}.sg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.sg-tool label{font-size:12px;font-weight:900;color:#38566e}.sg-tool select{display:block;width:100%;height:48px;margin-top:6px;border:1px solid #cbd9e5;border-radius:10px;background:#fff;padding:0 12px;color:#17324a;font-size:14px}.sg-tool button{width:100%;height:52px;margin-top:17px;border:0;border-radius:11px;background:linear-gradient(135deg,#0875ee,#1592ff);color:#fff;font-size:14px;font-weight:950;cursor:pointer}.sg-result{display:none;margin-top:17px;border-radius:15px;padding:18px;background:#eef7ff;border:1px solid #bddbf7}.sg-result.show{display:block}.sg-result b{display:block;font-size:18px;color:#0d456f}.sg-result p{margin:6px 0 0;color:#3e617d;font-size:13px}.sg-affiliate{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#fff8ef,#fff);border:1px solid #f2c58f;border-radius:20px;padding:23px;margin-top:16px}.sg-affiliate.secondary{background:#fff;border-color:#d8e4ed}.sg-affiliate-copy{min-width:0}.sg-affiliate small{display:inline-block;color:#8d5a1b;font-weight:950;font-size:10px;margin-bottom:3px}.sg-affiliate b{display:block;font-size:18px;color:#503515}.sg-affiliate.secondary b{color:#173c58}.sg-affiliate p{margin:5px 0 0;color:#6c5b49;font-size:12px}.sg-affiliate.secondary p{color:#60788d}.sg-affiliate a{flex:0 0 41%;max-width:420px;text-decoration:none;background:var(--sg-orange);color:#fff;border-radius:11px;padding:13px 16px;text-align:center;font-size:12px;font-weight:950;line-height:1.5;overflow-wrap:anywhere}.sg-affiliate.secondary a{background:#174b70}.sg-disclosure{margin-top:8px;color:#7b6a59;font-size:10px}.sg-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.sg-related a{background:#fff;border:1px solid var(--sg-line);border-radius:15px;padding:17px;text-decoration:none}.sg-related b{display:block;color:#173a57}.sg-related span{display:block;margin-top:5px;color:#0875ee;font-size:11px;font-weight:900}.sg-faq{background:#fff;border:1px solid var(--sg-line);border-radius:18px;padding:8px 22px}.sg-faq details{padding:15px 0;border-bottom:1px solid #e6edf3}.sg-faq details:last-child{border-bottom:0}.sg-faq summary{font-weight:900;cursor:pointer;color:#173a56}.sg-faq p{color:#4e697f;font-size:13px;margin:8px 0 0}.sg-note{margin-top:24px;padding:16px 18px;border-radius:13px;background:#fff7ed;border:1px solid #fed7aa;color:#7c4a1d;font-size:11px}.sg-footer{margin-top:44px;padding-top:24px;border-top:1px solid var(--sg-line);display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#6b8092;font-size:11px}.sg-footer a{color:#1d6bb5}.affiliate-pr-badge{display:inline-block!important;margin:0 8px 6px 0!important;pointer-events:none!important;cursor:default!important}
/* 売却ページの収益CTAは全体テーマに隠されないよう専用レイヤーで必ず表示する */
body.sell-guide-page .sg-affiliate>a.affiliate-slot-link,body.sell-guide-page .sg-affiliate a[data-affiliate-role]{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;clip:auto!important;clip-path:none!important;width:auto!important;min-height:50px!important;height:auto!important;max-height:none!important;overflow:visible!important;align-items:center!important;justify-content:center!important;pointer-events:auto!important;z-index:2!important}
@media(max-width:900px){.sg-steps{grid-template-columns:repeat(2,1fr)}.sg-trust{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.sg-header-inner{min-height:60px}.sg-nav a:not(.sg-nav-cta){display:none}.sg-shell{width:min(94%,720px);padding-bottom:88px}.sg-hero{padding:31px 22px;border-radius:18px}.sg-hero p{font-size:13px}.sg-trust{grid-template-columns:1fr 1fr}.sg-grid,.sg-form-grid,.sg-related{grid-template-columns:1fr}.sg-steps{grid-template-columns:1fr}.sg-affiliate{display:block;padding:19px}.sg-affiliate a{display:block;max-width:none;width:100%;margin-top:13px}.sg-section-head h2{font-size:23px}.sg-card,.sg-tool{padding:20px}body.sell-guide-page .sg-affiliate>a.affiliate-slot-link,body.sell-guide-page .sg-affiliate a[data-affiliate-role]{display:flex!important;width:100%!important;max-width:none!important;margin-top:15px!important;font-size:14px!important;padding:15px 18px!important;border-radius:12px!important}}
