// スクリーンショット .screenshot { background: $screenshot-background; max-height: 300px; max-width: 600px; img { object-fit: contain; } }