/* ============================================================
   Petal - ペットホテル・預かり検索サイト
   Main Stylesheet
============================================================ */

/* --- Variables --- */
:root {
  --og:       #E8820C;
  --og-lt:    #FFF3E0;
  --og-dk:    #C4680A;
  --text:     #1a1a1a;
  --sub:      #777;
  --mute:     #bbb;
  --bg:       #f4f4f4;
  --white:    #fff;
  --border:   #e8e8e8;
  --border-lt:#f0f0f0;
  --sh-sm:    0 1px 4px rgba(0,0,0,.07);
  --sh-md:    0 3px 10px rgba(0,0,0,.10);
  --sh-lg:    0 6px 24px rgba(0,0,0,.12);
  --sh-og:    0 4px 16px rgba(232,130,12,.22);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --ease: all .18s ease;
}

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, 'Hiragino Kaku Gothic ProN',
               'Yu Gothic UI', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Header --- */
.site-header {
  background: var(--og);
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(196,104,10,.3);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-logo img { height: 34px; width: auto; }
.logo-fallback {
  display: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.site-nav a {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  transition: color .15s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--white); }
.site-nav a svg { display: none; }

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  gap: 5px;
  border-radius: 4px;
}
.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Breadcrumb --- */
.bc-wrap { position: relative; }
.bc-wrap::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}
.bc {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 3px 0;
}
.bc::-webkit-scrollbar { display: none; }
.bc li { display: flex; align-items: center; }
.bc a { color: var(--og); }
.bc a:hover { text-decoration: underline; }
.bc-sep { margin: 0 5px; color: #bbb; font-weight: 400; }
.bc-desktop { margin-bottom: 18px; }
.bc-mobile {
  display: none;
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid var(--border-lt);
}
.bc-mobile .bc-wrap::after { background: linear-gradient(to right, transparent, #fff); }

/* --- Layout --- */
.main-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(155deg, #FFF8F0 0%, #FFE8C4 55%, #FFD49A 100%);
  padding: 44px 24px 38px;
  text-align: center;
  border-bottom: 1px solid #FFCF8A;
}
.hero-inner { max-width: 560px; margin: 0 auto; }
.hero-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 16px;
}
.hero-logo-fb { font-size: 56px; margin-bottom: 12px; }
.hero-h1 {
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.hero-h1 small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--sub);
  margin-top: 6px;
  letter-spacing: .03em;
}
.hero-count {
  font-size: 13px;
  color: var(--sub);
}
.hero-count strong {
  color: var(--og);
  font-size: 16px;
  font-weight: 500;
}

/* --- Section --- */
.section { margin-bottom: 44px; }
.section-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .04em;
  color: #333;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--og);
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- CTA grid --- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cta-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px 20px 22px;
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--ease);
}
.cta-card:hover {
  border-color: var(--og);
  box-shadow: var(--sh-og);
  transform: translateY(-3px);
}
.cta-icon { font-size: 34px; line-height: 1; }
.cta-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--og);
  letter-spacing: .02em;
}
.cta-desc {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.6;
  font-weight: 300;
}
.cta-btn {
  display: inline-block;
  background: var(--og);
  color: var(--white);
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: .04em;
  transition: background .15s;
}
.cta-card:hover .cta-btn { background: var(--og-dk); }

/* --- Nav chips --- */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.nav-chip {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--sh-sm);
  font-size: 13px;
  border: 1px solid transparent;
  transition: var(--ease);
  cursor: pointer;
}
.nav-chip:hover {
  border-color: var(--og);
  color: var(--og);
  box-shadow: 0 2px 8px rgba(232,130,12,.15);
  transform: translateY(-1px);
}
.nav-chip-name { font-weight: 500; }
.nav-chip-cnt {
  font-size: 11px;
  color: var(--mute);
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 6px;
}
.nav-chip--off { color: #ccc; pointer-events: none; background: #f9f9f9; }

/* --- Prefecture grid --- */
.pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 7px;
}
.pref-chip {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--sh-sm);
  font-size: 13px;
  border: 1px solid transparent;
  transition: var(--ease);
}
.pref-chip:hover {
  border-color: var(--og);
  color: var(--og);
  transform: translateY(-1px);
}
.pref-name { font-weight: 500; }
.pref-cnt {
  font-size: 11px;
  color: var(--mute);
  font-weight: 600;
}
.pref-chip--off {
  color: #ccc;
  pointer-events: none;
  background: #f9f9f9;
}
.pref-chip--off .pref-cnt { color: #e0e0e0; }

/* --- Hotel cards --- */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hotel-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-lt);
  transition: var(--ease);
  position: relative;
  z-index: 1;
}
.hotel-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-2px);
  border-color: var(--border);
}
.hotel-thumb {
  width: 100%;
  height: 140px;
  background: var(--og-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.hotel-thumb img { width: 100%; height: 140px; object-fit: cover; }
.hotel-thumb-icon { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:var(--og); opacity:.35; }
.hotel-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hotel-name { font-size: 14px; font-weight: 500; line-height: 1.4; }
.hotel-addr { font-size: 12px; color: var(--sub); }
.hotel-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hotel-rating { color: var(--og); font-weight: 700; font-size: 13px; }
.hotel-review { color: var(--mute); font-size: 12px; }
.hotel-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.hotel-tag {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  background: var(--og-lt);
  color: var(--og);
  font-weight: 600;
}
.hotel-price { font-size: 12px; color: #555; }
.hotel-price strong { color: var(--og); font-size: 14px; font-weight: 700; }
.hotel-dist { font-size: 11px; color: var(--mute); }

/* --- Legacy compatibility --- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}
.area-link {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--sh-sm);
  font-size: 13px;
  border: 1px solid transparent;
  transition: var(--ease);
}
.area-link:hover { border-color: var(--og); color: var(--og); }
.area-link.empty { color: #ccc; pointer-events: none; background: #f9f9f9; }
.area-link .cnt { font-size: 11px; color: var(--mute); font-weight: 400; }
h2 {
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .04em;
}
h2::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 16px;
  background: var(--og);
  border-radius: 2px;
  flex-shrink: 0;
}
h3 { font-size: 13px; font-weight: 500; margin: 16px 0 8px; color: #555; letter-spacing: .02em; }
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 3px; letter-spacing: .01em; }
.page-sub { font-size: 13px; color: var(--sub); font-weight: 300; margin-bottom: 6px; }
.separator {
  background: var(--og-lt);
  border-left: 3px solid var(--og);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin: 16px 0;
  font-size: 13px;
  color: #a05000;
}
.empty-msg { text-align: center; padding: 60px 20px; color: var(--mute); font-size: 14px; position: relative; }
.distance { font-size: 11px; color: var(--mute); }
.rating { color: var(--og); font-weight: 700; }
.review-cnt { color: var(--mute); font-size: 12px; }
.tag {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  background: var(--og-lt);
  color: var(--og);
  font-weight: 600;
}

/* --- Footer --- */
.site-footer {
  background: var(--og-dk);
  color: rgba(255,255,255,.65);
  font-size: 12px;
}
.footer-pref-top {
  padding: 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-pref-top-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.footer-pref-heading {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.footer-pref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-pref-chip {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.22);
  transition: all .15s;
  white-space: nowrap;
}
.footer-pref-chip:hover { background: rgba(255,255,255,.28); }
.footer-pref-chip--off {
  color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  pointer-events: none;
}
.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 32px; width: auto; }
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
}
.footer-col-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  transition: color .15s;
}
.footer-col-links a:hover { color: #fff; }
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-brand { color: rgba(255,255,255,.5); font-size: 12px; }
.footer-credit { color: rgba(255,255,255,.3); font-size: 11px; }
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- Page Banner (inner pages) --- */
.page-banner {
  background: var(--og-dk);
  padding: 36px 24px 32px;
}
.page-banner-inner { max-width: 1120px; margin: 0 auto; }
.page-banner-label {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.page-banner-h1 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 6px;
}
.page-banner-count { font-size: 13px; color: rgba(255,255,255,.75); }
.page-banner-count strong { color: #fff; font-weight: 700; }

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 32px 0 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--ease);
}
.pagination a:hover { border-color: var(--og); color: var(--og); }
.pagination .pg-current {
  background: var(--og); color: var(--white);
  border-color: var(--og); font-weight: 700;
}
.pagination .pg-disabled { color: var(--mute); pointer-events: none; background: #f9f9f9; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .main-content { padding: 20px 16px 40px; }
  .hero { padding: 30px 16px 26px; }
  .hero-h1 { font-size: 20px; }
  .hero-logo { height: 68px; }
  .cta-grid { grid-template-columns: 1fr; }
  .hotel-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 19px; }
}
@media (max-width: 860px) {
  .bc-desktop { display: none; }
  .bc-mobile { display: block; }
  .site-header { height: 52px; padding: 0 16px; }
  .site-logo img { height: 32px; }
  .hamburger { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: var(--og-dk);
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    z-index: 99;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a svg { display: block; flex-shrink: 0; opacity: .75; }
}

/* ============================================================
   PET DECORATIONS
   prefers-reduced-motion: アニメーション全停止
   ============================================================ */
/* タッチデバイスはホバー肉球を非表示（タップ時の遷移遅延を防ぐ） */
@media (hover: none), (pointer: coarse) {
  .hotel-card::after,
  .area-link::after,
  .nav-chip::after,
  .idx-pref-row-btn::before { display: none !important; }
  .hotel-card,
  .area-link,
  .nav-chip,
  .idx-pref-row-btn,
  .ap-filter-btn { transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .walking-dog, .walking-dog-inner, .dog-leg-a, .dog-leg-b,
  .dog-tail, .dog-ear, .hero-paw { animation: none !important; }
  .walking-dog, .hero-paw { opacity: 0 !important; }
}

/* ─ ① 関東エリアブロックを歩く犬 ─ */
@keyframes dog-walk-x {
  from { transform: translateX(1100px); }
  to   { transform: translateX(-280px); }
}
@keyframes dog-walk-diagonal {
  from { transform: translate(1200px, -80px); }
  to   { transform: translate(-300px, 160px); }
}
@keyframes dog-jump {
  0%,  75%, 100% { transform: translateY(0); }
  78%  { transform: translateY(-10px); }
  82%  { transform: translateY(-30px); }
  86%  { transform: translateY(-38px); }
  90%  { transform: translateY(-30px); }
  94%  { transform: translateY(-10px); }
  97%  { transform: translateY(0); }
}
@keyframes leg-a {
  from { transform: translateY(0);  }
  to   { transform: translateY(-5px); }
}
@keyframes leg-b {
  from { transform: translateY(-5px); }
  to   { transform: translateY(0);  }
}
@keyframes dog-tail-wag {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(14deg); }
  75% { transform: rotate(-8deg); }
}
@keyframes dog-ear-flap {
  0%, 82%, 100% { transform: rotate(0deg); }
  86% { transform: rotate(-14deg); }
  93% { transform: rotate(6deg); }
  97% { transform: rotate(-4deg); }
}
.walking-dog-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 round 16px);
  pointer-events: none;
  z-index: 3;
}
.walking-dog {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 260px;
  height: 120px;
  opacity: 0.24;
  pointer-events: none;
  color: #0a0400;
  animation: dog-walk-x 38s linear infinite;
}
.walking-dog.diagonal {
  bottom: auto;
  top: 20px;
  animation: dog-walk-diagonal 48s linear infinite;
}
.walking-dog-inner {
  width: 100%; height: 100%;
  animation: dog-jump 38s ease-in-out infinite;
}
.dog-leg-a {
  animation: leg-a 0.42s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: top center;
}
.dog-leg-b {
  animation: leg-b 0.42s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: top center;
}
.dog-tail {
  transform-box: fill-box;
  transform-origin: 80% 90%;
  animation: dog-tail-wag 0.9s ease-in-out infinite;
}
.dog-ear {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: dog-ear-flap 2.8s ease-in-out infinite;
}

/* ─ ② ホバーでぴょこっと肉球 ─ */
.hotel-card::after,
.area-link::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8820C'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0;
  transform: translateY(6px) scale(0.5);
  transition: opacity .18s, transform .22s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  z-index: 10;
}
/* hotel-card は overflow:hidden なので内側右上に表示 */
.hotel-card::after {
  top: 8px; right: 10px;
}
/* area-link 右上にぴょこっと */
.area-link { position: relative; }
.area-link::after {
  top: 6px; right: 8px;
}
.hotel-card:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.area-link:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* nav-chip（路線一覧）と idx-pref-row-btn（TOPページ）に肉球 */
.nav-chip { position: relative; overflow: hidden; }
.nav-chip::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8820C'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0;
  transform: translateY(4px) scale(0.5);
  transition: opacity .18s, transform .22s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  z-index: 10;
}
/* idx-pref-row-btn は ::after が › に使われているので ::before でボタン右上から飛び出す */
.idx-pref-row-btn { position: relative; }
.idx-pref-row-btn::before {
  content: '';
  position: absolute;
  top: -8px; right: -4px;
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E8820C'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0;
  transform: translateY(4px) scale(0.4);
  transition: opacity .18s, transform .22s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  z-index: 10;
}
.nav-chip:hover::after,
.idx-pref-row-btn:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─ ③ ホテル一覧グリッド 足跡トレイル (JS駆動) ─ */
.paw-step-deco {
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c4600a'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─ ④ 空エリアのすかし ─ */
.empty-msg::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c4600a'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.065;
  pointer-events: none;
}

/* ─ ⑥ ヒーロー 肉球パーティクル ─ */
@keyframes paw-float {
  0%   { transform: translateY(0) rotate(var(--r,0deg));         opacity: 0;   }
  15%  {                                                          opacity: 0.7; }
  85%  {                                                          opacity: 0.4; }
  100% { transform: translateY(-90px) rotate(calc(var(--r,0deg) + 22deg)); opacity: 0;   }
}
.hero-paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-paw {
  position: absolute;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0;
  animation: paw-float var(--dur,6s) ease-in-out infinite;
  animation-delay: var(--delay,0s);
}

/* ─ バナー右端 肉球装飾 (全ナビ・一覧ページ共通) ─ */
.ap-banner,
.pa-banner,
.pl-banner,
.fp-banner,
.hd-banner {
  position: relative;
  overflow: hidden;
}
.ap-banner::after,
.pa-banner::after,
.pl-banner::after,
.fp-banner::after,
.hd-banner::after {
  content: '';
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='4.5' cy='7' r='1.8'/%3E%3Ccircle cx='9.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='14.5' cy='4.2' r='1.8'/%3E%3Ccircle cx='19.5' cy='7' r='1.8'/%3E%3Cpath d='M12 9.5c-4.8 0-7.5 2.8-7.5 5.8 0 2.2 1.2 3.4 2.8 4.3 1.1.6 2.7 1.4 4.7 1.4s3.6-.8 4.7-1.4c1.6-.9 2.8-2.1 2.8-4.3 0-3-2.7-5.8-7.5-5.8z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.10;
  pointer-events: none;
}
.ap-banner-inner,
.pa-banner-inner,
.pl-banner-inner,
.fp-banner-inner,
.hd-banner-inner { position: relative; z-index: 1; }

/* ─ バナーイントロ文 ─ */
.ap-banner-intro {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}
.ap-intro-toggle { display: none; }
@media (max-width: 768px) {
  .ap-intro-wrap {
    position: relative;
    overflow: hidden;
    max-height: 3.4em;
    transition: max-height .3s ease;
  }
  .ap-intro-wrap.open { max-height: 20em; }
  .ap-intro-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, var(--og-dk));
    transition: opacity .2s;
  }
  .ap-intro-wrap.open .ap-intro-fade { opacity: 0; pointer-events: none; }
  .ap-intro-toggle {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    color: rgba(255,255,255,.7);
    border-bottom: 1px solid rgba(255,255,255,.4);
    cursor: pointer;
    background: none;
    border-top: none; border-left: none; border-right: none;
    padding: 0;
  }
}

/* ===== スクロールトップ + 歩く犬 ===== */
#stt-wrap {
  position: fixed;
  bottom: 44px;
  right: 10px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
#stt-wrap.stt-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.stt-dog {
  width: 90px;
  height: 70px;
  margin-bottom: -10px;
  position: relative;
  z-index: 1;
}
#stt-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--og);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  color: #fff;
  transition: background .15s, transform .15s;
}
#stt-btn:hover { background: var(--og-dk); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .stt-dog-inner { animation: none; }
}

/* ===== Step Form ===== */
.sf-progress{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.sf-dot{width:8px;height:8px;border-radius:50%;background:var(--border);transition:.2s;flex-shrink:0}
.sf-dot.active{background:var(--og);width:10px;height:10px}
.sf-dot.done{background:var(--og);opacity:.4}
.sf-label{font-size:12px;color:var(--mute);margin-bottom:18px}
.sf-pane{display:none}
.sf-pane.active{display:block;animation:sfin .18s ease}
@keyframes sfin{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.sf-nav{display:flex;gap:10px;margin-top:18px;align-items:center}
.sf-back{background:#fff;border:1px solid var(--border);color:#555;border-radius:8px;padding:9px 16px;font-size:14px;cursor:pointer;transition:.15s}
.sf-back:hover{border-color:var(--og);color:var(--og)}
.sf-next{background:var(--og);color:#fff;border:none;border-radius:8px;padding:9px 22px;font-size:14px;font-weight:700;cursor:pointer;transition:.15s}
.sf-next:hover{background:var(--og-dk)}
