/* ─── ペット同伴の案内（pet.html） ───
   2026-09-27追加。ページの枠は exhibitors.css（.shops-*）を共用し、ここには本文の部品だけを置く。
   角は2px以下、ピル型は押せるもの（目次・戻るボタン）だけ（出店者一覧と同じ方針） */

/* exhibitors.css の「PCで左に固定の欄＋右に本文」の2列の組み方は、このページでは使わない */
@media (min-width: 1100px) {
  .pet-page .shops-main {
    display: block;
    max-width: 760px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

.pet-back-top {
  font-size: 13px;
  margin-bottom: 18px;
}

.pet-back-top a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.pet-back-top a:hover,
.pet-back-top a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.pet-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  margin-bottom: 20px;
}

.pet-lead {
  font-size: clamp(14px, 3.6vw, 15px);
  color: var(--cream);
  line-height: 2;
  letter-spacing: 0.03em;
}

/* このページの中の3つの見出しへ */
.pet-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 6px;
}

.pet-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pet-toc a:hover,
.pet-toc a:focus-visible { background: color-mix(in srgb, var(--gold) 12%, transparent); }

/* ── 各章 ── */
.pet-section {
  scroll-margin-top: 16px;
  padding-top: 34px;
}

.pet-h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(19px, 5vw, 23px);
  color: var(--white);
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}

html[data-theme="light"] .pet-h2 { color: var(--cream); }

.pet-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.pet-list > li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--cream);
  line-height: 1.9;
}

.pet-list > li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.8em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.pet-list strong {
  font-weight: 700;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 26%, transparent) 62%);
}

/* 駐車場の表 */
.pet-parking,
.pet-okng {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.pet-parking > div,
.pet-okng > div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 10px;
  padding: 9px 12px;
  background: var(--shop-paper);
  border: 1px solid var(--shop-line);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.7;
}

.pet-parking dt,
.pet-okng dt {
  font-weight: 700;
  color: var(--gold);
}

.pet-okng > div.is-ok { border-left: 3px solid #4CAE6E; }
.pet-okng > div.is-ng { border-left: 3px solid var(--red); }
.pet-okng > div.is-ok dt { color: #2E8A4E; }
.pet-okng > div.is-ng dt { color: var(--red); }

/* 臨時駐車場を使うときの手順 */
.pet-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.pet-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 12px;
  background: var(--shop-paper);
  border: 1px solid var(--shop-line);
  border-radius: 2px;
  font-size: 13px;
  line-height: 1.7;
}

.pet-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}

.pet-note {
  font-size: 12px;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-top: 12px;
}

/* ご来場前に確認してほしい章は、枠で囲って「約束ごと」として目立たせる */
.pet-section.is-rules {
  margin-top: 34px;
  padding: 20px 18px 20px;
  background: var(--shop-paper);
  border: 1px solid var(--shop-line);
  border-top: 4px solid var(--red);
  border-radius: 2px;
}

.pet-rules-lead {
  font-size: 13px;
  color: var(--cream-dim);
  line-height: 1.8;
  margin: -4px 0 14px;
}

/* 花火の注意だけは赤で強調 */
.pet-list > li.is-alert {
  padding: 10px 12px 10px 30px;
  background: color-mix(in srgb, var(--red) 8%, transparent);
  border-radius: 2px;
}

.pet-list > li.is-alert::before {
  left: 13px;
  top: calc(10px + 0.8em);
  background: var(--red);
}

.pet-page .shops-map { margin-top: 40px; }

/* 戻るボタン（押せるものなのでピル型） */
.pet-back {
  margin-top: 36px;
  text-align: center;
}

.pet-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--red);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.pet-back-btn:hover { background: var(--red-lt); }

.pet-back-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
