/* =========================================================
   ◎ 子犬詳細ページ（PC共通スタイル）
========================================================= */

/* ▼ 外側背景 */
body.single .site-main.puppies-single {
  background: linear-gradient(180deg, #7a6244 0%, #5e4a32 40%, #483829 100%);
}

/* ▼ 全体文字 */
.site-main.puppies-single {
  color: #222;
  font-size: 22px;
  line-height: 2.1;
  font-weight: 500;
}

/* ▼ 記事カード */
.site-main.puppies-single .puppy-article {
  max-width: 1100px;
  margin: 14px auto 80px;
  padding: 20px 60px 70px;
  background: #f7f7f7;
  box-shadow: 0 18px 34px rgba(0,0,0,0.28);
  border-radius: 12px;
}

/* ▼ タイトル */
.site-main.puppies-single .puppy-header {
  width: 100%;
  text-align: center;
  margin: 0 auto 20px;
}

.site-main.puppies-single .puppy-title {
  background: linear-gradient(180deg, #8b7355, #6a553d);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  padding: 18px 40px;
  border-radius: 10px;
  display: inline-block;
  margin: 0 auto 25px;
  text-align: center;
}

/* ▼ メイン画像 */
.site-main.puppies-single .puppy-gallery {
  max-width: 980px;
  margin: 0 auto 40px;
  text-align: center;
}

.site-main.puppies-single .puppy-gallery-main img {
  width: 100%;
  border-radius: 14px;
}

/* ▼ サムネ（PC 基本） */
.site-main.puppies-single .puppy-gallery-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

/* PCでは中央寄せ */
@media (min-width: 769px) {
  .site-main.puppies-single .puppy-gallery-thumbs {
    justify-content: center;
  }
}

.site-main.puppies-single .puppy-gallery-thumbs img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 4px solid transparent;
  transition: 0.2s;
}

/* =========================================================
   ◎ 子犬詳細テキスト部分
========================================================= */

/* ▼ 見出し（「子犬の詳細情報」「その他備考」など） */
.site-main.puppies-single h2 {
  font-size: 26px;
  font-weight: 800;
  color: #222;
  padding-left: 16px;
  border-left: 5px solid #77654b;
  margin: 40px 0 20px;
}

/* ▼ 詳細テーブル（dl 全体） */
.site-main.puppies-single .puppy-detail-list {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  margin-bottom: 40px;
}

/* ▼ 各行 */
.site-main.puppies-single .puppy-detail-row {
  display: flex;
  padding: 22px 0;
  border-bottom: 1px solid #e2e2e2;
}

/* ▼ 左側ラベル（dt） */
.site-main.puppies-single .puppy-detail-row dt {
  width: 250px;
  font-size: 20px;
  font-weight: 800;
}

/* ▼ 右側テキスト（dd） */
.site-main.puppies-single .puppy-detail-row dd {
  flex: 1;
  font-size: 20px;
  font-weight: 600;
}

/* ▼ その他備考ボックス */
.site-main.puppies-single .puppy-note-inner {
  background: #f1f1f1;
  padding: 34px 40px;
  border-radius: 12px;
  font-size: 20px;
  line-height: 2;
  border: 1px solid #ccc;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* ▼ 戻りボタン（一覧 or 見学予約） */
.site-main.puppies-single .news-back,
.site-main.puppies-single .puppy-back {
  text-align: center;
  margin-top: 60px;
}

.site-main.puppies-single .news-back a,
.site-main.puppies-single .puppy-back a {
  display: inline-block;
  background: linear-gradient(#ffbb4d, #ff9900);
  color: #111;
  font-size: 22px;
  padding: 18px 60px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid #e08804;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: 0.2s ease;
  text-decoration: none;
}

.site-main.puppies-single .news-back a:hover,
.site-main.puppies-single .puppy-back a:hover {
  transform: translateY(-4px);
}

/* =========================================================
   ◎ YouTube動画（共通）
========================================================= */

.puppy-video {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  padding-top: 56.25%;  /* 16:9 */
}

.puppy-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* =========================================================
   ◎ サムネを横スクロール可能にする（PC / スマホ共通）
========================================================= */

.site-main.puppies-single .puppy-gallery-thumbs {
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

.site-main.puppies-single .puppy-gallery-thumbs img {
  flex-shrink: 0;
}

/* =========================================================
   ◎ 親コンテナ側の横スクロール禁止をできるだけ解除
========================================================= */

html,
body,
.entry-content,
.p-post__content,
.post-content,
.article,
.site-main,
.site-main.puppies-single,
.puppy-article,
.puppy-gallery {
  overflow-x: visible !important;
}

/* =========================================================
   ◎ スマホ調整
========================================================= */

@media (max-width: 768px) {

  .site-main.puppies-single {
    font-size: 20px;
  }

  .site-main.puppies-single .puppy-article {
    padding: 20px 16px 40px;
    margin: 10px auto 50px;
  }

  .site-main.puppies-single .puppy-detail-row {
    flex-direction: column;
    gap: 6px;
  }

  .site-main.puppies-single .puppy-detail-row dt {
    width: 100%;
    font-size: 18px;
  }

  .site-main.puppies-single .puppy-detail-row dd {
    font-size: 18px;
  }

  .site-main.puppies-single .puppy-note-inner {
    padding: 24px 18px;
    font-size: 18px;
  }

  .site-main.puppies-single .news-back a,
  .site-main.puppies-single .puppy-back a {
    width: 90%;
    font-size: 20px;
    padding: 16px 10px;
  }
}
