/*
Theme Name: JIN:R Child
Template: jinr
*/

/* 親テーマ読み込み前提の子テーマ用追加CSS */

/* =========================
   検索結果見出し
========================= */
.search-result-heading {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  color: #222;
}

.search-result-wrap {
  margin-bottom: 36px;
}

/* =========================
   子犬・子猫の案内文
========================= */
.pet-intro-box {
  margin: 0 0 32px;
  color: #7a7a7a;
  line-height: 2;
  font-size: 16px;
}

.pet-intro-lead {
  margin: 0 0 28px;
}

.pet-intro-box p {
  margin: 0 0 28px;
}

.pet-intro-pointbox {
  background: #f7f1e7;
  padding: 26px 32px;
  margin: 0 0 28px;
}

.pet-intro-pointbox ul {
  margin: 0;
  padding-left: 1.2em;
}

.pet-intro-pointbox li {
  margin-bottom: 10px;
}

.pet-intro-pointbox li:last-child {
  margin-bottom: 0;
}

/* =========================
   一覧カード
========================= */
.puppy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 0;
  list-style: none;
}

@media (min-width: 768px) {
  .puppy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .puppy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.puppy-card {
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.puppy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.puppy-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.puppy-card__image {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: #f6f6f8;
}

.puppy-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.puppy-card__info {
  padding: 12px 12px 14px;
}

.puppy-card__title {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.puppy-meta__row {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.5;
  color: #222;
  font-weight: 600;
}

.puppy-meta__price {
  text-align: center;
  margin-top: 10px;
}

.puppy-meta__price .puppy-meta__value {
  color: #222;
  font-weight: bold;
  font-size: 16px;
}

/* =========================
   検索ボックス3分割
========================= */
.pet-search-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .pet-search-group {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.puppy-search {
  max-width: 600px;
  margin: 20px auto;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pet-search-group .puppy-search {
  max-width: none;
  margin: 0;
  height: 100%;
}

.puppy-search__title {
  text-align: center;
  font-size: 18px;
  margin: 0 0 16px;
}

.puppy-search__field {
  margin-bottom: 12px;
}

.puppy-search__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
}

.puppy-search__select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.puppy-search__button {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #5cb4b0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.puppy-search__button:hover {
  background: #4a9e9a;
}

/* =========================
   個別ページ詳細
========================= */
.puppy-detail {
  max-width: 720px;
  margin: 0 auto 30px;
}

.puppy-detail__description {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
}

.puppy-detail__spec {
  margin-bottom: 24px;
}

.puppy-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.puppy-spec-table th {
  text-align: left;
  padding: 10px 16px;
  background: #f3f4f7;
  border: 1px solid #e9e9ee;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  width: 30%;
  white-space: nowrap;
}

.puppy-spec-table td {
  padding: 10px 16px;
  border: 1px solid #e9e9ee;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.puppy-detail__price {
  text-align: center;
  font-size: 18px;
  color: #222;
  padding: 16px;
  background: #fff8f0;
  border: 2px solid #f0e0c8;
  border-radius: 12px;
  margin-bottom: 30px;
}

.puppy-detail__price strong {
  font-size: 22px;
}

/* =========================
   ページタイトル非表示
========================= */
.entry-header,
.article-header,
.c-entry__header,
.p-entry__header,
.p-page-header,
.c-page-header,
.l-page-header,
.post-head,
.page-head,
.p-single-head,
.c-single-head,
.l-single-head {
  display: none !important;
}

.entry-title,
.post-title,
.page-title,
.c-entry__title,
.p-entry__title,
.c-page-title,
.p-page-title,
.single-title,
.archive-title {
  display: none !important;
}

main h1:first-of-type,
.l-main h1:first-of-type,
.p-main h1:first-of-type,
.c-main h1:first-of-type {
  display: none !important;
}

.entry-subtitle,
.page-subtitle,
.post-name,
.page-name,
.slug,
.p-entry__slug,
.c-entry__slug {
  display: none !important;
}