/* ============================================
   MAMEHICO リンクカード
   ============================================ */

.mh-linkcard {
  display: flex;
  align-items: stretch;
  background: #78691F;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  margin: 40px 0;
  transition: filter 0.2s ease;
  max-width: 100%;
  min-height: 0;
}
/* カード全体はリンクではないのでhover不要 */

/* サムネイル（左側 60%） */
.mh-linkcard-thumb {
  flex: 0 0 40%;
  overflow: hidden;
  padding: 28px;
  padding-right: 0;
}
.mh-linkcard-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  margin: 0;
}

/* テキスト部分（右側） */
.mh-linkcard-body {
  flex: 1;
  padding: 36px 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

/* タイトルボタン（リンク） */
.mh-linkcard-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  background: #b3614e;
  color: #fff;
  font-size: var(--mh-fs-normal, 15px);
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.05em;
  line-height: 1;
  align-self: flex-start;
  text-decoration: none;
  transition: filter 0.2s ease;
  box-sizing: border-box;
}
.mh-linkcard-title:hover {
  filter: brightness(1.15);
  color: #fff;
}
.mh-linkcard-title:visited {
  color: #fff;
}

/* 説明文 */
.mh-linkcard-desc {
  font-size: var(--mh-fs-normal, 15px);
  color: #fff;
  line-height: 1.8;
  font-weight: 400;
}

/* single.php 内でのスタイル上書き防止 */
.mh-single-body .mh-linkcard {
  color: #fff;
}
.mh-single-body .mh-linkcard-title,
.mh-single-body .mh-linkcard-title:visited {
  color: #fff;
  border-bottom: none;
  font-weight: 600;
}
.mh-single-body .mh-linkcard-title:hover {
  border-bottom: none;
}
.mh-single-wrap .mh-single-body .mh-linkcard .mh-linkcard-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  border-radius: 8px;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 600px) {
  .mh-linkcard {
    flex-direction: column;
    min-height: 0;
  }
  .mh-linkcard-thumb {
    flex: none;
    width: 100%;
    padding: 20px;
    padding-bottom: 0;
  }
  .mh-linkcard-thumb img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .mh-linkcard-body {
    padding: 24px 20px 28px;
    gap: 14px;
  }
  .mh-linkcard-title {
    font-size: var(--mh-fs-normal, 15px);
    padding: 12px 20px;
  }
  .mh-linkcard-desc {
    font-size: var(--mh-fs-normal, 15px);
    line-height: 1.7;
  }
}
