/* TRANS 施工範囲マップ */

/* 各部位の「施工実例を見る」は隠して、下のボタン1つにまとめる */
.tpm-on .tps-parts-grid .tps-part-photo-wrap,
.tpm-on .tps-full-card .tps-photo-bar-wrap { display: none !important; }

.tpm-onebar { margin: 18px 0 6px; }
.tps-simulator .tpm-onebar .tps-photo-trigger-bar { max-width: 520px; margin: 0 auto; padding: 10px 14px; }
.tps-simulator .tpm-onebar .tps-photo-thumb-box { width: 64px; height: 44px; }
.tps-simulator .tpm-onebar .tps-photo-trigger-main { font-size: 15px; }
.tps-simulator .tpm-onebar .tps-photo-trigger-bar[disabled] { opacity: .45; cursor: default; transform: none; box-shadow: none; }

/* 図の窓 */
.tpm-dialog { max-width: 960px !important; }
.tpm-body { overflow-y: auto; background: #000; padding: 18px 18px 6px; }
.tpm-figs { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tpm-figs.tpm-two { grid-template-columns: 1fr 1fr; }
@media (max-width: 680px) {
  .tpm-figs.tpm-two { grid-template-columns: 1fr; }
  .tpm-body { padding: 12px 10px 4px; }
}
.tpm-fig { margin: 0; }
.tpm-fig svg { display: block; width: 100%; height: auto; max-height: 50vh; }
.tpm-fig figcaption { margin-top: 4px; text-align: center; font-size: 11px; letter-spacing: .2em; color: #8a7a4a; }

.tpm-hl { animation: tpm-fade .45s ease-out backwards; transition: opacity .25s ease; }
.tpm-hl.tpm-dim { opacity: .12; }
@keyframes tpm-fade { from { opacity: 0; } to { opacity: 1; } }

.tpm-legend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 6px; }
.tpm-chip { --c: #ff453a; display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border: 1px solid var(--c); border-radius: 999px; color: #fff; font: inherit; font-size: 13px; line-height: 1.4; background: rgba(255,255,255,.04); cursor: pointer; transition: opacity .2s ease, background .2s ease; }
.tpm-chip::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--c); border-radius: 2px; box-shadow: 0 0 6px var(--c); }
.tpm-chip:hover, .tpm-chip.tpm-active { background: rgba(255,255,255,.12); }
.tpm-chip.tpm-dim { opacity: .4; }
.tpm-chip.tpm-static { cursor: default; }

.tpm-sub { font-size: 12px; color: #9a9a9a; text-align: center; margin: 2px 0 10px; line-height: 1.6; }
.tpm-real { margin: 16px 0 10px; border-top: 1px solid rgba(201,168,76,.25); padding-top: 12px; }
.tpm-real + .tpm-real { margin-top: 8px; }
.tpm-real h5 { margin: 0 0 8px; font-size: 13px; color: #c9a84c; letter-spacing: .08em; }
.tpm-real img { display: block; width: 100%; height: auto; border-radius: 6px; }
