/* ジム紹介記事の店カードの画像（2026-11-01）
   これまでは追加CSS（カスタマイザー）で 616x347 の枠に object-fit: cover で切り抜いていた。
   元の画像の形に合わせ、元の大きさより大きく引き伸ばさない。縦長は高さで止める。
   追加CSSは後から読まれるので、.post_content を付けて優先させる。 */
.post_content .main-image {
  width: fit-content;
  max-width: min(616px, 100%);
  height: auto;
  aspect-ratio: auto;
  margin: 0 auto;
}
.post_content .main-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: 0 auto;
}
/* ASP のバナー（店カードの画像の代わり）。表示の幅は div の style（タグの width）で決める */
.post_content .main-image--ad {
  border-radius: 0;
  box-shadow: none;
}
