/* ============================================================
   子犬お迎えガイド（/puppy-guide/ とその配下）専用スタイル
   読み込み条件は functions.php 側で制御（対象ページのみ）
   クラスは .inu-guide 名前空間に限定し、他ページへ影響させない
   ============================================================ */

.inu-guide {
  line-height: 1.9;
}

/* --- リード文 --- */
.inu-guide .g-lead {
  margin: 0 0 1.6em;
}

/* --- 見出し ---
   .post_content を重ねているのはテーマ design-plus.css の
   「.post_content h2（中央寄せ・140%）」に読み込み順と無関係に勝つため */
.post_content .inu-guide h2 {
  margin: 2.4em 0 1em;
  padding: .45em .6em .45em .8em;
  border-left: 5px solid #d36e90;
  border-bottom: 2px solid #f0d4de;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.post_content .inu-guide h3 {
  margin: 1.7em 0 .7em;
  font-size: 1.05em;
  font-weight: 700;
  color: #c25a7e;
  text-align: left;
}

.post_content .inu-guide h3::before {
  content: "🐾 ";
  font-size: .9em;
}

/* --- チェックリスト --- */
.inu-guide ul.g-list {
  margin: .8em 0 1.2em;
  padding: 0;
  list-style: none;
}

.inu-guide ul.g-list li {
  position: relative;
  padding-left: 1.5em;
  margin: .35em 0;
}

.inu-guide ul.g-list li::before {
  content: "✓";
  position: absolute;
  left: .1em;
  color: #d36e90;
  font-weight: 700;
}

/* --- 案内ボックス（やさしいピンク） --- */
.inu-guide .g-box {
  margin: 1.2em 0;
  padding: 1em 1.2em;
  background: #fdf7f9;
  border: 1px solid #f0d4de;
  border-radius: 10px;
}

.inu-guide .g-box .g-box-title,
.inu-guide .g-caution .g-box-title {
  font-weight: 700;
  color: #c25a7e;
  margin: 0 0 .5em;
}

.inu-guide .g-box > :last-child,
.inu-guide .g-caution > :last-child {
  margin-bottom: 0;
}

/* --- 注意・受診めやすボックス --- */
.inu-guide .g-caution {
  margin: 1.2em 0;
  padding: 1em 1.2em;
  background: #fdf3f2;
  border: 1px solid #f0c9c5;
  border-radius: 10px;
}

.inu-guide .g-caution .g-box-title {
  color: #b0413e;
}

.inu-guide .g-caution ul.g-list li::before {
  color: #b0413e;
}

/* --- 補足注記 --- */
.inu-guide .g-note {
  font-size: .88em;
  color: #767676;
}

/* --- 画像プレースホルダー（公開前に実画像へ差し替え） --- */
.inu-guide .g-img-ph {
  margin: 1.6em auto;
  padding: 2.4em 1em;
  border: 2px dashed #d9c3cc;
  border-radius: 10px;
  background: #faf7f8;
  color: #9a8791;
  text-align: center;
  font-size: .9em;
}

.inu-guide .g-img-ph::before {
  content: "📷 画像準備中";
  display: block;
  font-weight: 700;
  margin-bottom: .4em;
}

/* --- 本番画像 --- */
.inu-guide figure.g-img {
  margin: 1.6em auto;
  text-align: center;
}

.inu-guide figure.g-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.inu-guide figure.g-img figcaption {
  margin-top: .5em;
  font-size: .85em;
  color: #767676;
}

/* --- 目次・関連ページカード --- */
.inu-guide .g-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin: 1.2em 0 1.6em;
}

.inu-guide .g-card {
  display: block;
  padding: 1em 1.1em;
  background: #fff;
  border: 1px solid #f0d4de;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}

.inu-guide .g-card:hover {
  box-shadow: 0 3px 10px rgba(211, 110, 144, .18);
  transform: translateY(-2px);
}

.inu-guide .g-card .g-card-title {
  display: block;
  font-weight: 700;
  color: #c25a7e;
  margin-bottom: .3em;
}

.inu-guide .g-card .g-card-title::after {
  content: " →";
}

.inu-guide .g-card .g-card-desc {
  display: block;
  font-size: .88em;
  color: #666;
  line-height: 1.7;
}

/* --- LINE相談CTA --- */
.inu-guide .g-line-cta {
  margin: 2em 0 1em;
  padding: 1.4em 1.2em;
  background: #f2faf4;
  border: 1px solid #cfe8d6;
  border-radius: 10px;
  text-align: center;
}

.inu-guide .g-line-cta p {
  margin: 0 0 .8em;
}

.inu-guide .g-line-btn {
  display: inline-block;
  padding: .8em 2.2em;
  background: #06c755;
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(6, 199, 85, .3);
}

.inu-guide .g-line-btn:hover {
  opacity: .85;
}

/* --- ページヘッダー帯（ガイドページのみ：既定の黒帯をやわらかい配色に） --- */
#page_header {
  height: 100px !important;
  background: #f7efe3;
}

#page_header .headline_area {
  color: #5a4636;
  border-top-color: rgba(90, 70, 54, .12);
}

/* --- スマホ --- */
@media (max-width: 767px) {
  #page_header {
    height: 70px !important;
  }

  .post_content .inu-guide h2 {
    font-size: 1.15em;
  }

  .inu-guide .g-cards {
    grid-template-columns: 1fr;
  }

  .inu-guide .g-img-ph {
    padding: 1.8em .8em;
  }
}
