<<<<<<< HEAD
/* blog styling */
.blog-image {
  width: 100%;
=======
/* ブログ画像表示用CSS */

/* レスポンシブ画像の基本設定 */
.blog-featured-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-featured-image:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ブログ詳細ページの画像 */
.blog-detail-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* ブログ一覧のサムネイル画像 */
.blog-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.blog-thumbnail:hover {
  transform: scale(1.05);
}

/* カードレイアウト用の画像コンテナ */
.blog-card-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* プレースホルダー画像 */
.blog-image-placeholder {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  border-radius: 8px;
  min-height: 200px;
}

.blog-image-placeholder svg {
  opacity: 0.5;
}

/* 遅延読み込み用のスタイル */
.blog-image-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-image-lazy.loaded {
  opacity: 1;
}

/* エラー時のフォールバック */
.blog-image-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #ef4444;
  border: 1px dashed #fca5a5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .blog-detail-image {
    max-width: 100%;
    border-radius: 8px;
  }
  
  .blog-thumbnail {
    height: 160px;
  }
  
  .blog-card-image-container {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .blog-thumbnail {
    height: 140px;
  }
  
  .blog-image-placeholder {
    min-height: 140px;
  }
}

/* アスペクト比維持 */
.blog-image-aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.blog-image-aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.blog-image-aspect-1-1 {
  aspect-ratio: 1 / 1;
}

/* 画像の角丸とシャドウ効果 */
.blog-image-rounded {
  border-radius: 12px;
}

.blog-image-shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.blog-image-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.blog-image-shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ホバー効果 */
.blog-image-hover-scale:hover {
  transform: scale(1.05);
}

.blog-image-hover-shadow:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 読み込み中のアニメーション */
.blog-image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 画像キャプション */
.blog-image-caption {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* 画像ズーム機能 */
.blog-image-zoom {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.blog-image-zoom:hover {
  transform: scale(1.1);
}

/* フルスクリーン表示用 */
.blog-image-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.blog-image-fullscreen img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

/* ホームページのブログカード用スタイル */
.card-image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-radius: 8px 8px 0 0;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-image:hover {
  transform: scale(1.05);
}

.blog-placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.blog-placeholder-image i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

/* カードレイアウトの調整 */
.content-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .card-image-container {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .card-image-container {
    height: 140px;
  }
>>>>>>> 83cc31ddfcafa4b833e398e2ca9934075cc2ee59
}