.post-wrap { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.post-breadcrumbs { font-size: 13px; color: var(--ink-mute); margin-bottom: 16px; font-weight: 600; }
.post-breadcrumbs a { color: var(--brand-600); }
.post-breadcrumbs a:hover { text-decoration: underline; }
.post-breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }

.post-header { margin-bottom: 36px; }
.post-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--ink);
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 600;
}
.post-meta .author {
  display: flex; align-items: center; gap: 8px;
}
.post-meta .author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  overflow: hidden;
}
.post-meta .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-meta .author-name { color: var(--ink-soft); font-weight: 700; }
.post-meta .sep { opacity: 0.5; }

.post-featured {
  aspect-ratio: 16/9;
  background: var(--brand-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.post-featured img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-body {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
}
.post-body h2 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--brand);
  display: inline-block;
}
.post-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 12px;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  line-height: 1.4;
}
.post-body p { margin: 0 0 22px; color: var(--ink-soft); }
.post-body a {
  color: var(--brand-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--brand); }
.post-body strong { color: var(--ink); font-weight: 700; }
.post-body img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; }
.post-body ul, .post-body ol { margin: 0 0 24px; padding-left: 28px; color: var(--ink-soft); }
.post-body li { margin-bottom: 8px; line-height: 1.85; }
.post-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--brand-50);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  color: var(--ink-soft);
  font-style: normal;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body code {
  background: var(--brand-50);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-num);
  font-size: 0.92em;
  color: var(--brand-600);
}
.post-body pre {
  background: var(--ink);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
}
.post-body pre code { background: transparent; padding: 0; color: inherit; }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.post-body th, .post-body td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; font-size: 15px; }
.post-body th { background: var(--brand-50); font-weight: 800; color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   MEDIA TEMPLATE BLOCKS — Wannaポータル メディア記事専用ビルディングブロック
   ライターは Google Docs → Claude API 経由で以下の class 付き HTML を出力。
   各 class は意味的に独立しており、組み合わせて記事を構成する。
   ═══════════════════════════════════════════════════════════════ */

/* ─────── A: 写真 + 一言コメント引用 + 解説本文 ─────── */
.media-photo-quote {
  margin: 36px 0;
  padding: 0;
}
.media-photo-quote img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 0 0 16px;
  display: block;
  box-shadow: var(--shadow);
}
.media-photo-quote blockquote {
  position: relative;
  margin: -28px 24px 0;
  padding: 18px 24px 18px 50px;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(42,26,13,0.10);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
  z-index: 1;
}
.media-photo-quote blockquote::before {
  content: "“";
  position: absolute;
  left: 14px; top: 4px;
  font-family: 'Inter', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}
.media-photo-quote blockquote p { margin: 0; color: var(--ink); }
.media-photo-quote figcaption {
  margin-top: 10px;
  text-align: right;
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 600;
}

/* ─────── B: 画像連続（2枚並び）─────── */
.media-image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}
.media-image-row img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
  display: block;
}
.media-image-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.media-image-row figcaption {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 4px;
  font-weight: 600;
}

/* ─────── C: 見出し + 本文（基本セクション）─────── */
.media-section {
  margin: 44px 0 0;
}
.media-section + .media-section { margin-top: 36px; }

/* ─────── D: 箇条書きまとめ（チェックリスト）─────── */
.media-checklist {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  list-style: none;
}
.media-checklist li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-top: 1px dashed var(--brand-100);
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 500;
}
.media-checklist li:first-child { border-top: none; padding-top: 4px; }
.media-checklist li:last-child { padding-bottom: 4px; }
.media-checklist li::before {
  content: "✓";
  position: absolute;
  left: 4px; top: 12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
}
.media-checklist li:first-child::before { top: 4px; }
.media-checklist li strong { color: var(--ink); font-weight: 800; }

/* ─────── F: ハイライト見出し ─────── */
.media-highlight {
  position: relative;
  margin: 56px 0 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow);
}
.media-highlight::before {
  content: "✨";
  position: absolute;
  top: -10px; left: 24px;
  font-size: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.media-highlight h2,
.media-highlight .h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  font-size: 22px !important;
  line-height: 1.5 !important;
  color: #fff !important;
  font-weight: 900;
  letter-spacing: -0.005em;
  display: block;
}

/* ─────── G: 締めの一文（記事末尾の余韻）─────── */
.media-closing {
  margin: 56px auto 24px;
  padding: 32px 24px 0;
  text-align: center;
  border-top: 1px dashed var(--border-strong);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 500;
  max-width: 560px;
}
.media-closing::before {
  content: "🐾";
  display: block;
  font-size: 24px;
  margin: 0 auto 12px;
  font-style: normal;
}

/* ─────── J: ステップ解説（番号付きの流れ）─────── */
.media-steps {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  counter-reset: media-step;
  position: relative;
}
.media-steps li {
  position: relative;
  padding: 0 0 28px 56px;
  border: none;
  margin: 0;
  counter-increment: media-step;
}
.media-steps li::before {
  content: counter(media-step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  z-index: 1;
}
.media-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px; top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--brand-100);
}
.media-steps li h4,
.media-steps li .step-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.5;
  padding: 0; border: none;
}
.media-steps li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ─────── K: 注意喚起ボックス（callout）─────── */
.media-callout {
  margin: 28px 0;
  padding: 18px 22px 18px 58px;
  border-radius: var(--radius);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  font-weight: 500;
  position: relative;
}
.media-callout::before {
  content: "💡";
  position: absolute;
  left: 18px; top: 16px;
  font-size: 22px;
  line-height: 1;
}
.media-callout strong { color: var(--ink); font-weight: 800; }
.media-callout p { margin: 0 0 6px; color: var(--ink); }
.media-callout p:last-child { margin-bottom: 0; }
.media-callout--warn {
  background: #fff5f3;
  border-color: #f4c2bc;
  color: #6e2519;
}
.media-callout--warn::before { content: "⚠️"; }
.media-callout--warn strong, .media-callout--warn p { color: #6e2519; }
.media-callout--info {
  background: #eef5fc;
  border-color: #c8dcf0;
  color: #1a3f64;
}
.media-callout--info::before { content: "ℹ️"; }
.media-callout--info strong, .media-callout--info p { color: #1a3f64; }
.media-callout--tip {
  background: #ecf8f1;
  border-color: #b8e0c9;
  color: #1d4f33;
}
.media-callout--tip::before { content: "🐾"; }
.media-callout--tip strong, .media-callout--tip p { color: #1d4f33; }
.media-callout--vet {
  background: #fff5f3;
  border-color: #f4c2bc;
  color: #6e2519;
}
.media-callout--vet::before { content: "🏥"; }
.media-callout--vet strong, .media-callout--vet p { color: #6e2519; }

/* ─────── M: 出典付き引用（外部情報の引用）─────── */
.media-cite {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(22, 123, 194, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  font-weight: 500;
}
.media-cite p { margin: 0 0 10px; color: var(--ink); }
.media-cite p:last-child { margin-bottom: 0; }
.media-cite cite {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-mute);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.media-cite cite::before { content: "— "; }
.media-cite cite a {
  color: var(--accent-600);
  text-decoration: underline;
}

.post-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-tags a {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--brand-100);
  color: var(--brand-600);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.15s;
}
.post-tags a:hover { background: var(--brand-400); color: #fff; }

.post-cta {
  margin-top: 48px;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
}
.post-cta h3 { font-size: 22px; font-weight: 900; margin: 0 0 10px; color: #fff; }
.post-cta p { margin: 0 0 20px; color: rgba(255,255,255,0.95); font-size: 15px; }
.post-cta .btn-line { background: #fff; color: var(--line-green); }
.post-cta .btn-line .line-icon { background: var(--line-green); color: #fff; }

@media (max-width: 720px) {
  .post-wrap { padding: 40px 20px 64px; }
  .post-title { font-size: 26px; }
  .post-body { font-size: 15px; }
  .post-body h2 { font-size: 22px; margin: 36px 0 12px; }
  .post-body h3 { font-size: 18px; margin: 28px 0 10px; }
  .post-featured { border-radius: var(--radius); margin-bottom: 28px; }

  /* media-* blocks responsive */
  .media-photo-quote blockquote { margin: -22px 12px 0; padding: 14px 18px 14px 42px; font-size: 14px; }
  .media-photo-quote blockquote::before { font-size: 36px; left: 10px; }
  .media-image-row { grid-template-columns: 1fr; gap: 8px; }
  .media-image-row.cols-3 { grid-template-columns: 1fr 1fr; }
  .media-checklist { padding: 18px 20px; }
  .media-checklist li { font-size: 14px; padding-left: 32px; }
  .media-highlight { padding: 22px 24px; margin: 40px 0 20px; }
  .media-highlight h2, .media-highlight .h2 { font-size: 18px !important; }
  .media-steps li { padding-left: 50px; padding-bottom: 24px; }
  .media-steps li::before { width: 36px; height: 36px; font-size: 12px; }
  .media-steps li:not(:last-child)::after { left: 17px; }
  .media-steps li h4, .media-steps li .step-title { font-size: 15px; }
  .media-callout { padding: 14px 18px 14px 50px; font-size: 13px; }
  .media-callout::before { left: 14px; top: 14px; font-size: 18px; }
  .media-cite { padding: 16px 20px; font-size: 14px; }
  .media-closing { padding-top: 24px; font-size: 14px; }
}
