/* figureカード「状態別買取相場」モーダル(2026-08-10)。全ルール .gm-figm- スコープ */
.gm-figm-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:42px;margin-top:10px;background:#fff;color:#1e88e5;border:1.5px solid #bcd9f7;border-radius:8px;font-size:1.1rem;font-weight:700;font-family:inherit;cursor:pointer;transition:background .15s}
.gm-figm-btn:hover{background:#f0f7ff}
.gm-figm-btn:focus-visible{outline:2px solid #1e88e5;outline-offset:2px}
.gm-figm-btn svg{flex:none}

.gm-figm-overlay{position:fixed;inset:0;background:rgba(17,24,39,.55);z-index:100000;display:none;align-items:center;justify-content:center;padding:20px}
.gm-figm-overlay.gm-figm-open{display:flex}
.gm-figm-modal{background:#fff;border-radius:14px;max-width:540px;width:100%;max-height:min(86vh,800px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 24px 60px rgba(0,0,0,.28)}
@media (prefers-reduced-motion:no-preference){
  .gm-figm-modal{animation:gmFigmPop .22s ease-out}
  @keyframes gmFigmPop{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
}
@media (max-width:767.98px){
  .gm-figm-overlay{padding:0;align-items:flex-end}
  .gm-figm-modal{border-radius:14px 14px 0 0;max-height:88vh}
}
.gm-figm-head{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:flex-start;gap:12px;padding:16px 18px 12px;border-bottom:1px solid #e5e7eb}
.gm-figm-head h2{font-size:1.25rem;font-weight:800;line-height:1.45;margin:0;flex:1;color:#333}
.gm-figm-close{flex:none;width:36px;height:36px;border-radius:50%;border:none;background:#f3f4f6;font-size:1.3rem;line-height:1;color:#555;cursor:pointer;font-family:inherit}
.gm-figm-close:hover{background:#e5e7eb}
.gm-figm-body{padding:16px 18px 20px}
.gm-figm-hero{display:flex;gap:14px;margin-bottom:6px}
.gm-figm-thumb{width:106px;min-width:106px;height:106px;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;background:#fff}
.gm-figm-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gm-figm-facts{display:flex;flex-direction:column;gap:3px;justify-content:center;min-width:0}
.gm-figm-price-label{font-size:1rem;color:#666;font-weight:600}
.gm-figm-price-label .gm-figm-st{color:#1e3a8a;font-weight:800}
.gm-figm-price{color:#c0392b;font-weight:900;font-size:2.15rem;letter-spacing:-1px;line-height:1.1}
.gm-figm-price small{font-size:1.15rem;font-weight:700}
.gm-figm-date{color:#888;font-size:1rem}
.gm-figm-tabs{display:flex;gap:8px;margin:14px 0 4px;flex-wrap:wrap}
.gm-figm-tab{flex:1;min-width:90px;min-height:46px;border-radius:9999px;border:1.5px solid #d7e6ff;background:#f0f7ff;color:#1e3a8a;font-size:1.1rem;font-weight:800;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:5px 10px;transition:background .15s,border-color .15s}
.gm-figm-tab .gm-figm-tp{font-size:.95rem;font-weight:700;color:#64748b;letter-spacing:-.3px}
.gm-figm-tab.gm-figm-active{background:#1e88e5;border-color:#1e88e5;color:#fff}
.gm-figm-tab.gm-figm-active .gm-figm-tp{color:#dbeafe}
.gm-figm-tab:focus-visible{outline:2px solid #1565c0;outline-offset:2px}
.gm-figm-sec{margin-top:16px}
.gm-figm-sec-title{font-size:1.1rem;font-weight:800;color:#374151;margin:0 0 8px;display:flex;align-items:center;gap:6px}
.gm-figm-sec-title .gm-figm-bar{display:inline-block;width:4px;height:15px;background:#1e88e5;border-radius:2px}
.gm-figm-sec-title .gm-figm-stchip{font-size:.9rem;font-weight:800;padding:1px 9px;border-radius:9999px;background:#f0f7ff;color:#1e3a8a;border:1px solid #d7e6ff}
.gm-figm-chartbox{border:1px solid #e5e7eb;border-radius:10px;padding:12px 10px 6px;background:#fdfdfd}
.gm-figm-chart{width:100%;height:auto;display:block;touch-action:pan-y}
.gm-figm-cstats{display:flex;gap:6px;flex-wrap:wrap;margin:8px 2px 2px}
.gm-figm-cstat{font-size:.95rem;font-weight:700;border-radius:9999px;padding:2px 10px;border:1px solid #d7e6ff;background:#f0f7ff;color:#1e3a8a}
.gm-figm-cstat.gm-figm-hi{background:#fff5f4;border-color:#f5cdc8;color:#c0392b}
.gm-figm-empty{border:1px dashed #d1d5db;border-radius:10px;padding:18px 14px;text-align:center;color:#777;font-size:1.05rem;background:#fafafa}
.gm-figm-rel{display:flex;flex-direction:column;gap:8px}
.gm-figm-relrow{display:flex;align-items:center;gap:10px;border:1px solid #e5e7eb;border-radius:9px;padding:8px 10px;background:#fff}
.gm-figm-relthumb{width:46px;min-width:46px;height:46px;border-radius:7px;overflow:hidden;border:1px solid #e5e7eb;background:#fff}
.gm-figm-relthumb img{width:100%;height:100%;object-fit:cover;display:block}
.gm-figm-relmain{flex:1;min-width:0}
.gm-figm-reltitle{font-size:1rem;font-weight:700;line-height:1.35;color:#333;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gm-figm-relmeta{display:flex;align-items:center;gap:6px;margin-top:2px}
.gm-figm-relstate{font-size:.85rem;font-weight:700;padding:1px 8px;border-radius:9999px;background:#f0f7ff;color:#1e3a8a;border:1px solid #d7e6ff}
.gm-figm-reldate{font-size:.9rem;color:#888}
.gm-figm-relprice{color:#c0392b;font-weight:900;font-size:1.25rem;white-space:nowrap}
.gm-figm-relprice small{font-size:.9rem;font-weight:700}
.gm-figm-cta{display:block;width:100%;margin-top:20px;background:#da1325;color:#fff !important;text-align:center;border:none;border-radius:10px;padding:14px 10px;font-size:1.25rem;font-weight:800;font-family:inherit;cursor:pointer;box-shadow:0 3px 0 #a80e1c;text-decoration:none !important}
.gm-figm-cta:active{transform:translateY(2px);box-shadow:0 1px 0 #a80e1c}
.gm-figm-ctasub{text-align:center;font-size:.95rem;color:#888;margin-top:8px}
body.gm-figm-lock{overflow:hidden}
