/* 事例カード - フロントエンド */
.mg-casecard {
  display: flex;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  transition: box-shadow 0.2s ease;
}

.mg-casecard:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mg-casecard__thumb {
  flex-shrink: 0;
  width: 200px;
  overflow: hidden;
  background: #f3f4f6;
}

.mg-casecard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
}

.mg-casecard__body {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
}

.mg-casecard__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #111827;
  margin: 0;
}

@media (max-width: 600px) {
  .mg-casecard {
    flex-direction: column;
  }

  .mg-casecard__thumb {
    width: 100%;
    aspect-ratio: 1200 / 630;
  }
}
