* =========================================
   記事内の通常画像
========================================= */

.entry-content .wp-block-image {
  text-align: center !important;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-image figure img {
  max-width: 70% !important;
  max-height: 500px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* =========================================
   店舗ロゴ画像
========================================= */

.store-logo-figure {
  width: 70% !important;
  max-width: 70% !important;
  height: 280px !important;
  padding: 16px !important;
  margin: 12px auto 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.store-logo-figure img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 220px !important;
  object-fit: contain !important;
}

/* =========================================
   PSA記事内の画像
========================================= */

.psa-article .article-image,
.psa-article figure.article-image {
  background: #f8f8f6 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  padding: 10px !important;
  text-align: center !important;
  margin: 1.5em auto !important;
}

.psa-article .article-image img,
.psa-article figure.article-image img {
  max-width: 100% !important;
  max-height: 400px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* =========================================
   Newspackの記事一覧サムネイル
========================================= */

.wp-block-newspack-blocks-homepage-articles .post-thumbnail {
  margin: 0 !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
}

.wp-block-newspack-blocks-homepage-articles .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* =========================================
   Cocoonの記事一覧サムネイル
========================================= */

.entry-content .new-entry-cards .entry-card-thumb {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
}

.entry-content .new-entry-cards .entry-card-thumb-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* =========================================
   StoreLabの商品画像
========================================= */

.entry-content .storelab-box .storelab-image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 160px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

@media (min-width: 769px) {
  .entry-content .storelab-box .storelab-inner > .storelab-image {
    width: 160px !important;
    flex: 0 0 160px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }
}

@media (max-width: 768px) {
  .entry-content .storelab-box .storelab-inner > .storelab-image {
    width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;
  }

  .entry-content .storelab-box .storelab-image img {
    max-width: 140px !important;
    max-height: 140px !important;
  }
}

nav.toc,
.psa-article .toc {
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: auto !important;
}