/*
Theme Name: Cocoon Child Pet
Template: cocoon-master
Description: 犬とリクガメと私の365日 専用子テーマ（Bloggerからの移行スタイル・4キャラ会話・完全独立版。マラソンブログの要素は一切含まない）
Author: ハル
Version: 1.2.0
*/

/* =========================================================
   犬とリクガメと私の365日 — 記事本文スタイル（Blogger踏襲）
   キャラ: ハル(owner) / レオ / あんず / タル吉
   画像は本子テーマ内に自己ホスト（外部サイト参照なし）
   ========================================================= */

/* ---- 見出し h2 ---- */
.h2-style {
  background-color: #FFEB3B !important;   /* 明るい黄色 */
  color: #111111 !important;
  border-left: 10px solid #f64949;
  padding: 20px 24px !important;
  margin: 28px 0;
  font-size: 1.6em;
  font-family: 'Verdana', sans-serif;
  border-radius: 6px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  line-height: 1.5;
  font-weight: bold;
  display: block;
  width: 100%;
  scroll-margin-top: 100px;
  box-sizing: border-box;
}
.h2-style::before,
.h2-style::after { content: none; }

/* ---- リード文ボックス ---- */
.article-box {
  background-color: #f5f5f5;
  border-radius: 30px;
  padding: 20px;
  margin: 20px 0;
}

/* ---- テーブル ---- */
.no-ad-table-wrapper { overflow-x: auto; margin: 10px 0; }
.table_style {
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  margin-bottom: 10px;
  border-radius: 5px;
  width: 100%;
}
.table_style th,
.table_style td {
  border: 1px solid #dddddd;
  text-align: center;
  padding: 4px 10px;
}
.table_style th { background-color: #f2f2f2; }

/* =========================================================
   会話パート（ハル・レオ・あんず・タル吉）
   ========================================================= */
.talk-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 auto 10px auto;
}
.talk-wrap p { margin: 0; }
.talk-end { clear: both; }

/* アイコン共通 */
.owner-icon, .leo-icon, .anzu-icon, .tarukichi-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  box-shadow: 1px 1px 5px #aaa;
  border: 3px solid #fff;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* あんず（左） */
.anzu-icon      { background-image: url("images/characters/anzu.png"); float: left; margin-right: 5px; }
/* レオ（右） */
.leo-icon       { background-image: url("images/characters/leo.png"); float: right; background-size: 120%; }
/* タル吉（右） */
.tarukichi-icon { background-image: url("images/characters/tarukichi.png"); float: right; }
/* ハル＝owner（右） */
.owner-icon     { background-image: url("images/characters/haru.png"); float: right; }

/* 吹き出し（左＝緑） */
.talk-left {
  position: relative;
  background: #fff;
  border: 2px solid #aef26a;
  padding: 3%;
  border-radius: 10px;
  width: 70%;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 1px 1px 5px #aaa;
}
.talk-left:before {
  content: ""; position: absolute; left: -20px; top: 25%;
  transform: translateY(-50%); border: 10px solid transparent; border-right-color: #666;
}
.talk-left:after {
  content: ""; position: absolute; left: -16px; top: 25%;
  transform: translateY(-50%); border: 9px solid transparent; border-right-color: #fff;
}

/* 吹き出し（右＝ピンク） */
.talk-right {
  position: relative;
  background: #fff;
  border: 2px solid #fda1f1;
  padding: 3%;
  border-radius: 10px;
  width: 70%;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 1px 1px 5px #aaa;
}
.talk-right:before {
  content: ""; display: inline-block; border: 10px solid transparent; border-left-color: #666;
  position: absolute; right: -20px; top: 25%; margin-top: -9px;
}
.talk-right:after {
  content: ""; display: inline-block; border: 9px solid transparent; border-left-color: #fff;
  position: absolute; right: -16px; top: 25%; margin-top: -8px;
}

/* =========================================================
   リスト（チェックマーク）
   ========================================================= */
.clear-list {
  list-style: none;
  margin: 30px auto;
  padding: 40px;
  background-color: #fff8fa;
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}
.clear-list::before,
.clear-list::after { content: ""; display: block; height: 20px; }
.clear-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}
.clear-list li::before {
  content: "\2714";
  position: absolute; left: 0; top: 3px;
  color: #007bff; font-size: 1.2rem; font-weight: bold;
}
ul.clear-list ins.adsbygoogle,
ol.clear-list ins.adsbygoogle { display: none !important; }

/* =========================================================
   画像（figure）
   ========================================================= */
.article-box img, article figure img { max-width: 100%; height: auto; }
figure { margin: 1em 0; }
figcaption { font-size: 0.9em; color: #666; margin-top: 6px; }

/* =========================================================
   モバイル
   ========================================================= */
@media (max-width: 834px) {
  .talk-left, .talk-right, .talk-tenshi, .talk-tarukichi { width: 62%; }
  .owner-icon, .leo-icon, .anzu-icon, .tarukichi-icon { width: 72px; height: 72px; }
  .clear-list { padding: 24px 18px; }
  .h2-style { font-size: 1.35em; padding: 14px 16px !important; }
}

/* =========================================================
   吹き出し（ハル・タル吉）
   2026-09-22 追加。

   .talk-tenshi     … 旧style.cssにはあったが 2026-09-05 の差し替えで消えていた。
                       全記事でハルの吹き出しが枠なしで表示されていたため復旧する。
   .talk-tarukichi  … テンプレートが指定しているのに、CSSが一度も存在しなかった。
                       タル吉の吹き出しが同様に崩れていたため新規に定義する。

   しっぽ（三角）の向きは、テンプレートが必ず付ける
   margin-left / margin-right のインライン指定から判定する。
   ハルは常に右側、タル吉は左右可変のため、クラス1つでは向きを決められない。
   ========================================================= */
.talk-tenshi,
.talk-tarukichi {
  position: relative;
  background: #fff;
  padding: 3%;
  border-radius: 10px;
  width: 70%;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 1px 1px 5px #aaa;
}

/* ハル＝青（旧CSSの #6ecbff を踏襲） */
.talk-tenshi    { border: 2px solid #6ecbff; }
/* タル吉＝落ち着いた青。ハルと役割を見分けやすくする */
.talk-tarukichi { border: 2px solid #7aa7c7; }

/* しっぽが左を向く（アイコンが左＝margin-left が付いているとき） */
.talk-tenshi[style*="margin-left"]:before,
.talk-tarukichi[style*="margin-left"]:before {
  content: ""; position: absolute; left: -20px; top: 25%;
  transform: translateY(-50%); border: 10px solid transparent; border-right-color: #666;
}
.talk-tenshi[style*="margin-left"]:after,
.talk-tarukichi[style*="margin-left"]:after {
  content: ""; position: absolute; left: -16px; top: 25%;
  transform: translateY(-50%); border: 9px solid transparent; border-right-color: #fff;
}

/* しっぽが右を向く（アイコンが右＝margin-right が付いているとき） */
.talk-tenshi[style*="margin-right"]:before,
.talk-tarukichi[style*="margin-right"]:before {
  content: ""; position: absolute; right: -20px; top: 25%;
  transform: translateY(-50%); border: 10px solid transparent; border-left-color: #666;
}
.talk-tenshi[style*="margin-right"]:after,
.talk-tarukichi[style*="margin-right"]:after {
  content: ""; position: absolute; right: -16px; top: 25%;
  transform: translateY(-50%); border: 9px solid transparent; border-left-color: #fff;
}

/* =========================================================
   トップページ（front-page.php）2026-09-23 LP改修 Phase1
   元は固定ページ411の本文内 <style>。以後、本文にCSSを書かない
   ========================================================= */
.pet-lp {
  --pet-ink: #34413d;
  --pet-green: #5f8f78;
  --pet-green-dark: #356452;
  --pet-cream: #fffaf0;
  --pet-peach: #f6c7ad;
  --pet-yellow: #f5df8a;
  --pet-blue: #b9dbe4;
  color: var(--pet-ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.9;
}
.pet-lp * { box-sizing: border-box; }
.pet-lp a { color: inherit; text-decoration: none; }
.pet-lp img { width: 100%; height: auto; display: block; }
.pet-lp .lp-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 28px;
  background: #223b32;
  box-shadow: 0 18px 50px rgba(44, 72, 61, .18);
}
.pet-lp .lp-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .54;
}
.pet-lp .lp-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 72px 56px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.pet-lp .lp-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.pet-lp .lp-hero-heading {
  margin: 0 0 20px;
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: .02em;
}
.pet-lp .lp-lead { font-size: 1.08rem; }
.pet-lp .lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.pet-lp .lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--pet-green-dark);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pet-lp .lp-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.pet-lp .lp-button.sub { border: 1px solid rgba(255,255,255,.72); background: rgba(255,255,255,.12); color: #fff; }
.pet-lp .lp-section { padding: 68px 0 12px; }
.pet-lp .lp-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--pet-green-dark) !important;
  font-size: clamp(1.65rem, 3.4vw, 2.35rem) !important;
  text-align: center;
}
.pet-lp .lp-subtitle { max-width: 760px; margin: 0 auto 34px; text-align: center; color: #63716c; }
.pet-lp .family-grid,
.pet-lp .article-grid,
.pet-lp .need-grid { display: grid; gap: 24px; }
.pet-lp .family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pet-lp .family-card {
  overflow: hidden;
  border: 1px solid #e4ebe7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(53,100,82,.09);
}
.pet-lp .family-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.pet-lp .family-body { padding: 24px; }
.pet-lp .family-name { margin-bottom: 8px; color: var(--pet-green-dark); font-size: 1.35rem; font-weight: 900; }
.pet-lp .family-label { display: inline-block; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.pet-lp .leo .family-label { background: var(--pet-blue); }
.pet-lp .anzu .family-label { background: var(--pet-peach); }
.pet-lp .taru .family-label { background: var(--pet-yellow); }
.pet-lp .need-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pet-lp .need-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--pet-cream);
  border-left: 7px solid var(--pet-green);
}
.pet-lp .need-card h3 { margin: 0 0 10px; color: var(--pet-green-dark); font-size: 1.2rem; }
.pet-lp .need-card a { display: inline-block; margin-top: 12px; color: var(--pet-green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.pet-lp .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pet-lp .article-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4ebe7;
  box-shadow: 0 8px 24px rgba(53,100,82,.08);
  transition: transform .2s ease;
}
.pet-lp .article-card:hover { transform: translateY(-4px); }
.pet-lp .article-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.pet-lp .article-body { padding: 20px; }
.pet-lp .article-tag { color: var(--pet-green); font-size: .8rem; font-weight: 900; }
.pet-lp .article-title { margin-top: 7px; font-weight: 800; line-height: 1.55; }
.pet-lp .lp-message {
  margin-top: 64px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef7f1, #fff8e8);
  text-align: center;
}
.pet-lp .lp-message strong { color: var(--pet-green-dark); }
.pet-lp .lp-small-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 22px; }
.pet-lp .lp-small-links a { color: var(--pet-green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .pet-lp .lp-hero { min-height: 500px; }
  .pet-lp .lp-hero-copy { padding: 52px 26px; }
  .pet-lp .family-grid,
  .pet-lp .article-grid,
  .pet-lp .need-grid { grid-template-columns: 1fr; }
  .pet-lp .lp-section { padding-top: 52px; }
  .pet-lp .lp-message { padding: 30px 22px; }
}

/* Phase1 追加：トップだけの調整 */
.pet-lp { max-width: 1080px; margin: 0 auto; }
.pet-lp h1.lp-kicker {
  margin: 0 0 18px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: .88rem;
  line-height: 1.6;
  font-weight: 700;
}

/* ===== LP改修 Phase2（2026-09-23）悩みカード・テーマカード ===== */
.pet-lp #lp-needs { display: block; position: relative; top: -80px; visibility: hidden; }
.pet-lp .need-desc { margin-bottom: 14px; }
.pet-lp .need-card a.need-main {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 0;
  padding: 8px 18px; border-radius: 999px; background: var(--pet-green-dark); color: #fff;
  font-weight: 800; text-decoration: none; line-height: 1.5;
}
.pet-lp .need-card a.need-main:hover { background: var(--pet-green); }
.pet-lp .need-sub { margin-top: 10px; font-size: .9rem; color: #63716c; }
.pet-lp .need-card .need-sub a { display: inline; margin: 0; font-weight: 700; }
.pet-lp .need-grid.lp-needs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pet-lp .family-more {
  display: inline-block; margin-top: 14px; color: var(--pet-green-dark); font-weight: 800;
  text-decoration: underline; text-underline-offset: 4px;
}
.pet-lp .lp-theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pet-lp .lp-theme {
  padding: 26px 26px 22px; border: 1px solid #e4ebe7; border-radius: 24px; background: #fff;
  box-shadow: 0 10px 30px rgba(53,100,82,.08);
}
.pet-lp .lp-theme-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pet-lp .lp-theme-emoji { font-size: 1.6rem; line-height: 1; }
.pet-lp h3.lp-theme-name { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--pet-green-dark); font-size: 1.2rem; }
.pet-lp .lp-theme-n { margin-left: auto; padding: 3px 12px; border-radius: 999px; background: var(--pet-cream); color: var(--pet-green-dark); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.pet-lp .lp-theme-desc { color: #63716c; font-size: .95rem; }
.pet-lp .lp-theme-list { margin: 12px 0 8px; padding: 0; list-style: none; }
.pet-lp .lp-theme-list li { margin: 0; padding: 0; border-bottom: 1px dashed #e4ebe7; }
.pet-lp .lp-theme-list li::before { content: none; }
.pet-lp .lp-theme-list a { display: block; padding: 10px 0; font-weight: 700; line-height: 1.5; }
.pet-lp .lp-theme-list a:hover { color: var(--pet-green-dark); }
.pet-lp .lp-theme-go { display: inline-block; margin-top: 8px; color: var(--pet-green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1000px) { .pet-lp .need-grid.lp-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .pet-lp .need-grid.lp-needs, .pet-lp .lp-theme-grid { grid-template-columns: 1fr; }
  .pet-lp .lp-theme { padding: 22px 20px 18px; }
}

/* ===== LP改修 Phase3（2026-09-23）3匹の件数・犬種図鑑・新しい記事 ===== */
.pet-lp .family-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e4ebe7; font-size: .9rem; }
.pet-lp .family-n { padding: 2px 10px; border-radius: 999px; background: var(--pet-cream); color: var(--pet-green-dark); font-weight: 800; white-space: nowrap; }
.pet-lp .family-latest { color: #63716c; }
.pet-lp .family-latest a { color: var(--pet-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pet-lp .lp-breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.pet-lp .lp-breed {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4ebe7; border-radius: 22px;
  background: #fff; box-shadow: 0 8px 24px rgba(53,100,82,.08); transition: transform .2s ease;
}
.pet-lp .lp-breed:hover { transform: translateY(-4px); }
.pet-lp .lp-breed img { aspect-ratio: 4 / 3; object-fit: cover; }
.pet-lp .lp-breed-name { padding: 14px 18px 0; color: var(--pet-green-dark); font-size: 1.15rem; font-weight: 900; }
.pet-lp .lp-breed-sub { padding: 2px 18px 16px; color: #63716c; font-size: .88rem; line-height: 1.6; }
.pet-lp .lp-more { margin-top: 22px; text-align: center; }
.pet-lp .lp-more a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 22px; border: 2px solid var(--pet-green-dark);
  border-radius: 999px; color: var(--pet-green-dark); font-weight: 800;
}
.pet-lp .lp-more a:hover { background: var(--pet-green-dark); color: #fff; }
@media (max-width: 800px) {
  .pet-lp .lp-breed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pet-lp .lp-breed-name { padding: 10px 12px 0; font-size: 1rem; }
  .pet-lp .lp-breed-sub { padding: 2px 12px 12px; font-size: .8rem; }
}

/* ===== LP改修 Phase4（2026-09-23）数字バッジ・キャラ絵・広告・ハル・CTA ===== */
.pet-lp .lp-badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pet-lp .lp-badges li { margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.55); color: #fff; font-size: .88rem; font-weight: 700; }
.pet-lp .lp-badges li::before { content: none; }
.pet-lp .family-card { position: relative; }
.pet-lp img.family-avatar {
  position: absolute; top: 14px; left: 14px; width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid #fff; object-fit: cover; box-shadow: 0 4px 14px rgba(0,0,0,.18); background: #fff;
}
.pet-lp .lp-ad { margin: 48px auto 0; min-height: 280px; }
@media (min-width: 768px) { .pet-lp .lp-ad { min-height: 250px; } }
.pet-lp .lp-haru { margin-top: 64px; padding: 40px; border-radius: 28px; background: linear-gradient(135deg, #eef7f1, #fff8e8); }
.pet-lp .lp-haru-inner { display: flex; gap: 32px; align-items: flex-start; }
.pet-lp img.lp-haru-photo { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(53,100,82,.15); }
.pet-lp .lp-haru-text { flex: 1 1 auto; min-width: 0; }
.pet-lp h2.lp-haru-title { text-align: left; margin-bottom: 14px !important; }
.pet-lp .lp-haru-msg { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.7); }
.pet-lp .lp-haru-msg strong { color: var(--pet-green-dark); font-size: 1.05rem; }
.pet-lp .lp-haru-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; color: var(--pet-green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.pet-lp .lp-cast { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.pet-lp .lp-cast li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.pet-lp .lp-cast li::before { content: none; }
.pet-lp .lp-cast img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.pet-lp .lp-cast span { font-size: .88rem; line-height: 1.4; color: #63716c; }
.pet-lp .lp-cast b { display: block; color: var(--pet-green-dark); font-size: 1rem; }
.pet-lp .lp-cta { margin: 48px 0 16px; padding: 40px 28px; border-radius: 28px; background: var(--pet-green-dark); color: #fff; text-align: center; }
.pet-lp img.lp-cta-char { width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.pet-lp h2.lp-cta-title { color: #fff !important; }
.pet-lp .lp-cta-sub { opacity: .92; }
.pet-lp .lp-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.pet-lp .lp-cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.7); color: #fff; font-weight: 800; }
.pet-lp .lp-cta-btn.primary { background: #fff; color: var(--pet-green-dark); border-color: #fff; }
.pet-lp .lp-cta-btn:hover { opacity: .85; }
@media (max-width: 800px) {
  .pet-lp .lp-haru { padding: 28px 20px; }
  .pet-lp .lp-haru-inner { flex-direction: column; align-items: center; gap: 16px; }
  .pet-lp h2.lp-haru-title { text-align: center; }
  .pet-lp img.family-avatar { width: 60px; height: 60px; }
  .pet-lp .lp-cta-buttons { flex-direction: column; }
  .pet-lp .lp-cta-btn { width: 100%; }
  .pet-lp .lp-actions { flex-direction: column; }
  .pet-lp .lp-actions .lp-button { width: 100%; }
}

/* ===== LP改修 Phase4 調整（2026-09-23）見出しの折り返し・画像の比率 ===== */
.pet-lp .lp-hero-copy { max-width: 780px; }
.pet-lp .lp-hero-heading { font-size: clamp(1.7rem, 4.4vw, 2.9rem); }
.pet-lp .lp-breed-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pet-lp .lp-breed img { aspect-ratio: 1200 / 630; object-fit: cover; }
.pet-lp .article-card img { aspect-ratio: 1200 / 630; object-fit: cover; object-position: center 35%; }
@media (max-width: 800px) {
  .pet-lp .lp-breed-grid { grid-template-columns: 1fr; }
}
.pet-lp .lp-hero img { object-position: center 18%; }
@media (max-width: 480px) { .pet-lp .lp-hero-heading { font-size: 1.5rem; } }
/* Phase5：ヒーロー写真を <picture> に（img の配置指定をそのまま効かせる） */
.pet-lp .lp-hero picture { position: absolute; inset: 0; display: block; }

/* =========================================================
   サイト全体の配色 B「黄色＋緑のアクセント」（2026-09-23 ユーザー選択）
   Cocoonの既定（灰色の背景・白い帯・黒文字）がモノクロに見えたため。
   比較画像：ペット/ツール/lp/color/色の比較_*.png
   !important は Cocoon が <head> に直書きする色指定より優先させるため
   ========================================================= */
body { background: #fff8e1 !important; }
#header-container, .header-container { background: #fde9a6 !important; border-bottom: 4px solid #5f8f78; }
.site-name-text, .site-name-text-link { color: #2f5745 !important; font-weight: 800; }
.tagline { color: #5c5a36 !important; }
#footer, .footer { background: #356452 !important; }
#footer, #footer a, .footer-bottom, .copyright, .footer-bottom-logo .site-name-text { color: #fff !important; }
.mobile-footer-menu-buttons { background: #fff3c4 !important; }
