/* =============================================================================
   Grayin Pet Directory - main.css
   ==========================================================================
   Reset, tokens, layout, components, page-specific
   ========================================================================== */

/* ------------------- Tokens ------------------- */
:root {
  --gp-color-brand: #ff8a4c;
  --gp-color-brand-dark: #e0723a;
  --gp-color-brand-light: #ffe9d9;
  --gp-color-accent: #38a16a;
  --gp-color-text: #2a2a2a;
  --gp-color-text-muted: #6b6b6b;
  --gp-color-text-subtle: #8a8a8a;
  --gp-color-bg: #fffaf6;
  --gp-color-bg-card: #ffffff;
  --gp-color-bg-soft: #fff4e9;
  --gp-color-border: #ece4dc;
  --gp-color-border-strong: #d6cdc4;
  --gp-color-link: #c14a13;
  --gp-color-link-hover: #8d3508;
  --gp-color-star: #f5a623;

  --gp-radius-sm: 6px;
  --gp-radius-md: 10px;
  --gp-radius-lg: 16px;

  --gp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --gp-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
  --gp-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  --gp-font-base: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI",
                  "Meiryo UI", "Segoe UI", system-ui, sans-serif;
  --gp-font-heading: var(--gp-font-base);

  --gp-container-max: 1120px;
  --gp-container-px: 20px;
}

/* ------------------- Reset / Base ------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gp-color-bg);
  color: var(--gp-color-text);
  font-family: var(--gp-font-base);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, iframe { max-width: 100%; height: auto; display: block; }
a {
  color: var(--gp-color-link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--gp-color-link-hover); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--gp-font-heading); line-height: 1.35; margin: 0 0 0.6em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }

/* Accessibility */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%);
  clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.gp-skip-link {
  position: absolute; top: -100px; left: 0; padding: 10px 14px;
  background: #000; color: #fff; z-index: 100; border-radius: 0 0 6px 0;
}
.gp-skip-link:focus { top: 0; }

/* ------------------- Container ------------------- */
.gp-container {
  max-width: var(--gp-container-max);
  margin: 0 auto;
  padding: 0 var(--gp-container-px);
}

/* ------------------- Header ------------------- */
.gp-site-header {
  background: #fff;
  border-bottom: 1px solid var(--gp-color-border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--gp-shadow-sm);
}
.gp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.gp-site-brand { display: flex; flex-direction: column; line-height: 1.2; }
.gp-site-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 700; color: var(--gp-color-text);
  text-decoration: none;
}
.gp-site-title:hover { color: var(--gp-color-brand); text-decoration: none; }
.gp-logo-icon { font-size: 1.4rem; }
.gp-site-tagline {
  font-size: 0.78rem; color: var(--gp-color-text-muted);
  margin: 2px 0 0; padding-left: 28px;
}

.gp-primary-nav { display: flex; align-items: center; }
.gp-nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; width: 40px; height: 40px;
}
.gp-burger, .gp-burger::before, .gp-burger::after {
  display: block; width: 22px; height: 2px; background: var(--gp-color-text);
  position: relative; transition: transform 0.2s;
}
.gp-burger::before, .gp-burger::after { content: ''; position: absolute; left: 0; }
.gp-burger::before { top: -7px; }
.gp-burger::after  { top: 7px; }

.gp-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 6px;
}
.gp-menu > li > a {
  display: inline-block; padding: 8px 14px; border-radius: 8px;
  color: var(--gp-color-text); font-weight: 500; text-decoration: none;
}
.gp-menu > li > a:hover { background: var(--gp-color-bg-soft); color: var(--gp-color-brand-dark); }

@media (max-width: 768px) {
  .gp-nav-toggle { display: inline-block; }
  .gp-menu-wrap {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gp-color-border);
    box-shadow: var(--gp-shadow-md); padding: 12px 20px;
  }
  .gp-menu-wrap.is-open { display: block; }
  .gp-menu { flex-direction: column; gap: 0; }
  .gp-menu > li > a { padding: 12px 8px; display: block; }
}

/* ------------------- Main / Footer ------------------- */
.gp-main { padding: 24px 0 48px; min-height: 50vh; }

.gp-site-footer {
  background: #2a2018; color: #f7f2ec;
  margin-top: 64px; padding: 40px 0 16px;
}
.gp-site-footer a { color: #ffd4af; }
.gp-site-footer a:hover { color: #fff; }
.gp-footer-cols {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.gp-footer-title { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.gp-footer-desc { font-size: 0.9rem; color: #d8cfc4; }
.gp-footer-region-list, .gp-footer-menu { list-style: none; padding: 0; margin: 0; }
.gp-footer-region-list li, .gp-footer-menu li { padding: 4px 0; font-size: 0.9rem; }
.gp-footer-bottom {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid #4a3d33;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: #b0a496;
}
.gp-footer-bottom p { margin: 0; }
@media (max-width: 768px) {
  .gp-footer-cols { grid-template-columns: 1fr; }
}

/* ------------------- Breadcrumbs ------------------- */
.gp-breadcrumbs {
  font-size: 0.85rem; color: var(--gp-color-text-muted);
  margin-bottom: 12px;
}
.gp-breadcrumbs a { color: var(--gp-color-text-muted); }
.gp-breadcrumbs a:hover { color: var(--gp-color-link); }
.gp-breadcrumbs span { margin: 0 4px; }
.gp-breadcrumbs [aria-current="page"] { color: var(--gp-color-text); font-weight: 600; }

/* ------------------- Front Page Hero ------------------- */
.gp-hero {
  background: linear-gradient(135deg, var(--gp-color-brand-light) 0%, var(--gp-color-bg-soft) 100%);
  padding: 48px 0 56px;
  text-align: center;
}
.gp-hero-title {
  font-size: 2.2rem; margin: 0 0 12px; line-height: 1.3;
}
.gp-hero-num { color: var(--gp-color-brand); font-size: 2.6rem; }
.gp-hero-sub { display: inline-block; font-size: 1.4rem; font-weight: 600; }
.gp-hero-tagline {
  font-size: 1rem; color: var(--gp-color-text-muted); margin-bottom: 28px;
}
.gp-hero-search {
  display: flex; max-width: 600px; margin: 0 auto;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--gp-shadow-md);
}
.gp-hero-search input[type="search"] {
  flex: 1; padding: 16px 20px; border: none; outline: none; font-size: 1rem;
}
.gp-hero-search-btn {
  padding: 0 28px; background: var(--gp-color-brand); color: #fff;
  border: none; cursor: pointer; font-weight: 600;
  transition: background 0.15s;
}
.gp-hero-search-btn:hover { background: var(--gp-color-brand-dark); }

@media (max-width: 600px) {
  .gp-hero-title { font-size: 1.6rem; }
  .gp-hero-num { font-size: 1.9rem; }
  .gp-hero-sub { font-size: 1.1rem; }
}

/* ------------------- Section / Heading ------------------- */
.gp-section-heading {
  font-size: 1.4rem; margin: 36px 0 20px;
  padding-bottom: 8px; border-bottom: 2px solid var(--gp-color-brand);
  display: inline-block;
}
.gp-front-region-sections, .gp-front-featured { padding: 28px 0; }

/* ------------------- Region Block ------------------- */
.gp-region-block { margin-bottom: 28px; }
.gp-region-title {
  font-size: 1.15rem; margin: 0 0 12px; color: var(--gp-color-brand-dark);
  display: inline-block; padding: 4px 12px;
  background: var(--gp-color-brand-light); border-radius: 6px;
}
.gp-region-pref-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.gp-pref-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--gp-color-bg-card);
  border: 1px solid var(--gp-color-border); border-radius: 8px;
  color: var(--gp-color-text); text-decoration: none;
  transition: all 0.15s;
}
.gp-pref-link:hover {
  border-color: var(--gp-color-brand); background: var(--gp-color-bg-soft);
  color: var(--gp-color-brand-dark); text-decoration: none;
  transform: translateY(-1px);
}
.gp-pref-link-name { font-weight: 500; }
.gp-pref-link-count {
  font-size: 0.8rem; color: var(--gp-color-text-muted);
  background: var(--gp-color-bg-soft); padding: 2px 8px; border-radius: 10px;
}

/* ------------------- Facility Card Grid ------------------- */
.gp-facility-grid-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.gp-facility-card {
  background: var(--gp-color-bg-card); border: 1px solid var(--gp-color-border);
  border-radius: var(--gp-radius-md); padding: 16px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.gp-facility-card:hover {
  box-shadow: var(--gp-shadow-md); transform: translateY(-2px);
  border-color: var(--gp-color-brand-light);
}
.gp-facility-card-link {
  color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 6px;
}
.gp-facility-card-link:hover { text-decoration: none; }
.gp-facility-card-pref {
  display: inline-block; font-size: 0.78rem; color: var(--gp-color-brand-dark);
  font-weight: 500;
}
.gp-facility-card-title {
  font-size: 1.05rem; margin: 0; color: var(--gp-color-link);
  font-weight: 600; line-height: 1.4;
}
.gp-facility-card:hover .gp-facility-card-title { color: var(--gp-color-link-hover); }
.gp-facility-card-rating { font-size: 0.9rem; }
.gp-facility-card-addr, .gp-facility-card-phone {
  margin: 0; font-size: 0.85rem; color: var(--gp-color-text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gp-facility-card-cta {
  margin-top: 12px; display: inline-block; text-align: center;
  padding: 8px 12px; background: var(--gp-color-accent); color: #fff;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
}
.gp-facility-card-cta:hover { background: #2d8855; color: #fff; text-decoration: none; }

/* ------------------- Star Rating ------------------- */
.gp-rating {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--gp-color-star); font-size: 0.95rem;
}
.gp-rating-num { color: var(--gp-color-text); font-weight: 600; }
.gp-rating-count { color: var(--gp-color-text-muted); font-size: 0.8rem; }

/* ------------------- Archive Hero ------------------- */
.gp-archive-hero {
  background: var(--gp-color-bg-soft); padding: 32px 0;
  border-bottom: 1px solid var(--gp-color-border);
}
.gp-archive-title { font-size: 1.6rem; margin: 0 0 8px; }
.gp-archive-count { font-size: 1rem; color: var(--gp-color-text-muted); font-weight: 500; margin-left: 4px; }
.gp-archive-tagline { color: var(--gp-color-text-muted); margin: 0; font-size: 0.95rem; }
.gp-archive-meta { color: var(--gp-color-text-muted); margin: 0; }
.gp-archive-desc { margin-top: 12px; }
.gp-archive-body { padding: 28px 0; }
.gp-pref-name { color: var(--gp-color-brand-dark); }

.gp-archive-intro { padding: 20px 0 0; }
.gp-intro-block {
  background: var(--gp-color-bg-card); border-left: 4px solid var(--gp-color-brand);
  padding: 16px 20px; border-radius: var(--gp-radius-sm);
}
.gp-intro-heading {
  font-size: 1.1rem; margin: 0 0 12px; color: var(--gp-color-brand-dark);
}
.gp-intro-points {
  margin: 0; padding-left: 20px;
}
.gp-intro-points li { padding: 4px 0; font-size: 0.95rem; }

/* ------------------- Pagination ------------------- */
.gp-pagination { margin: 32px 0; text-align: center; }
.gp-pagination .page-numbers {
  display: inline-block; padding: 8px 14px; margin: 0 2px;
  background: var(--gp-color-bg-card); border: 1px solid var(--gp-color-border);
  border-radius: 6px; color: var(--gp-color-text); text-decoration: none;
}
.gp-pagination .page-numbers.current {
  background: var(--gp-color-brand); color: #fff; border-color: var(--gp-color-brand);
}
.gp-pagination .page-numbers:hover {
  background: var(--gp-color-bg-soft); text-decoration: none;
}

/* ------------------- Single Facility Hero ------------------- */
.gp-facility-hero {
  background: linear-gradient(135deg, #fff 0%, var(--gp-color-bg-soft) 100%);
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--gp-color-border);
}
.gp-facility-hero-inner { margin-top: 8px; }
.gp-facility-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.gp-pref-badge, .gp-type-badge {
  display: inline-block; padding: 4px 12px; border-radius: 16px;
  font-size: 0.85rem; font-weight: 500;
}
.gp-pref-badge {
  background: var(--gp-color-brand); color: #fff; text-decoration: none;
}
.gp-pref-badge:hover { background: var(--gp-color-brand-dark); color: #fff; text-decoration: none; }
.gp-type-badge {
  background: var(--gp-color-bg-card); color: var(--gp-color-text-muted);
  border: 1px solid var(--gp-color-border);
}
.gp-facility-title {
  font-size: 1.8rem; margin: 0 0 12px; color: var(--gp-color-text);
}
.gp-facility-rating-row { font-size: 1.05rem; }

/* ------------------- Single Facility Body Grid ------------------- */
.gp-facility-body { padding: 28px 0; }
.gp-facility-grid {
  display: grid; gap: 24px;
  grid-template-columns: minmax(0, 1fr) 320px;
}
@media (max-width: 900px) {
  .gp-facility-grid { grid-template-columns: 1fr; }
}

/* ------------------- Info Card ------------------- */
.gp-info-card, .gp-hours-card, .gp-map-card, .gp-content-card {
  background: var(--gp-color-bg-card); border: 1px solid var(--gp-color-border);
  border-radius: var(--gp-radius-md); padding: 20px 24px; margin-bottom: 20px;
  box-shadow: var(--gp-shadow-sm);
}
.gp-info-title {
  font-size: 1.1rem; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--gp-color-brand-light);
}
.gp-info-list { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px 12px; }
.gp-info-list dt { font-weight: 600; color: var(--gp-color-text-muted); font-size: 0.9rem; }
.gp-info-list dd { margin: 0; }

.gp-phone-link {
  font-size: 1.1rem; font-weight: 700; color: var(--gp-color-accent);
}
.gp-phone-link:hover { color: #2d8855; text-decoration: underline; }
.gp-external-link {
  display: inline-flex; align-items: center; gap: 4px; word-break: break-all;
}

/* ------------------- Hours Card ------------------- */
.gp-hours-list { list-style: none; padding: 0; margin: 0 0 8px; }
.gp-hours-list li {
  padding: 6px 0; border-bottom: 1px dotted var(--gp-color-border);
  font-size: 0.95rem;
}
.gp-hours-list li:last-child { border-bottom: none; }
.gp-hours-note { color: var(--gp-color-text-subtle); }

/* ------------------- Map Card ------------------- */
.gp-map-embed { border-radius: var(--gp-radius-sm); overflow: hidden; }

/* ------------------- Sidebar CTA ------------------- */
.gp-facility-sidebar > div { margin-bottom: 16px; }
.gp-cta-card {
  background: linear-gradient(135deg, var(--gp-color-accent) 0%, #2a8a55 100%);
  border-radius: var(--gp-radius-md); padding: 20px; text-align: center;
  box-shadow: var(--gp-shadow-md);
}
.gp-cta-title {
  color: rgba(255,255,255,0.9); font-size: 0.85rem; margin: 0 0 8px;
}
.gp-cta-button {
  display: block; padding: 14px 16px; background: #fff;
  color: var(--gp-color-accent); border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s;
}
.gp-cta-button:hover { transform: scale(1.02); color: #2d8855; text-decoration: none; }
.gp-cta-phone { font-size: 1.2rem; }

/* ------------------- Related ------------------- */
.gp-related-card {
  background: var(--gp-color-bg-card); border: 1px solid var(--gp-color-border);
  border-radius: var(--gp-radius-md); padding: 18px 20px;
}
.gp-related-title {
  font-size: 1rem; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--gp-color-border);
}
.gp-related-list { list-style: none; padding: 0; margin: 0 0 12px; }
.gp-related-list li { padding: 8px 0; border-bottom: 1px dotted var(--gp-color-border); }
.gp-related-list li:last-child { border-bottom: none; }
.gp-related-list a {
  display: flex; justify-content: space-between; gap: 8px;
  color: var(--gp-color-text); text-decoration: none;
}
.gp-related-list a:hover { color: var(--gp-color-link); text-decoration: none; }
.gp-rel-name { flex: 1; }
.gp-rel-rating { color: var(--gp-color-star); font-size: 0.85rem; white-space: nowrap; }
.gp-related-more { margin: 8px 0 0; font-size: 0.9rem; text-align: right; }

/* ------------------- Attribution / Powered by ------------------- */
.gp-attribution { color: var(--gp-color-text-subtle); margin-top: 20px; text-align: center; }

/* ------------------- 404 / Search ------------------- */
.gp-404, .gp-search-page { padding: 32px 0; }
.gp-404-title { font-size: 1.8rem; }
.gp-404-desc { color: var(--gp-color-text-muted); }
.gp-404-actions { display: flex; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.gp-button {
  display: inline-block; padding: 12px 22px; background: var(--gp-color-brand);
  color: #fff; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.gp-button:hover { background: var(--gp-color-brand-dark); color: #fff; text-decoration: none; }
.gp-button-secondary {
  background: transparent; color: var(--gp-color-brand);
  border: 2px solid var(--gp-color-brand);
}
.gp-button-secondary:hover { background: var(--gp-color-brand); color: #fff; }

.gp-search-header { margin-bottom: 20px; }
.gp-search-title { font-size: 1.5rem; margin: 0 0 4px; }
.gp-search-meta { color: var(--gp-color-text-muted); margin: 0; }
.gp-empty { padding: 40px 0; text-align: center; color: var(--gp-color-text-muted); }

.gp-search-form {
  display: flex; max-width: 500px; gap: 8px;
}
.gp-search-form input[type="search"] {
  flex: 1; padding: 10px 14px; border: 1px solid var(--gp-color-border);
  border-radius: 6px;
}
.gp-search-submit {
  padding: 0 18px; background: var(--gp-color-brand); color: #fff;
  border: none; border-radius: 6px; font-weight: 600; cursor: pointer;
}

/* ------------------- Default Page ------------------- */
.gp-default-page, .gp-article { padding: 20px 0; }
.gp-article-title { font-size: 1.8rem; }
.gp-article-content > * { max-width: 800px; }
.gp-article-content img { margin: 16px 0; border-radius: var(--gp-radius-sm); }

/* =============================================================================
   v1.2 ADDITIONS: SVG icons, paw pattern bg, region colors, animations
   ========================================================================== */

/* SVG Icons - 共通 */
.gp-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1em; height: 1em; line-height: 1;
  vertical-align: -0.15em;
}
.gp-icon svg { width: 100%; height: 100%; }
.gp-icon-phone { color: var(--gp-color-accent); }
.gp-icon-map-pin { color: var(--gp-color-brand); }
.gp-icon-star { color: var(--gp-color-star); }
.gp-icon-external { color: var(--gp-color-text-muted); width: 0.9em; }
.gp-icon-paw { color: var(--gp-color-brand); font-size: 1.5em; }
.gp-icon-search { color: var(--gp-color-text-muted); }
.gp-icon-shield-check { color: var(--gp-color-accent); }

/* ロゴアイコン特別表示 */
.gp-logo-icon {
  display: inline-flex; width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gp-color-brand-light), var(--gp-color-bg-soft));
  border-radius: 50%; align-items: center; justify-content: center;
  font-size: 18px;
}

/* ------------------- 肉球パターン背景 ------------------- */
.gp-hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 138, 76, 0.15) 0, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(56, 161, 106, 0.10) 0, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 234, 217, 0.4) 0, transparent 50%);
}
.gp-hero { position: relative; overflow: hidden; }
.gp-hero::before {
  content: ''; position: absolute; top: -10%; left: -5%;
  width: 200px; height: 200px; opacity: 0.06; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0723a'><circle cx='6' cy='9' r='2.5'/><circle cx='18' cy='9' r='2.5'/><circle cx='9.5' cy='5' r='2'/><circle cx='14.5' cy='5' r='2'/><path d='M12 11c-3 0-5 2-5 5 0 1.5 1 2.5 2.5 2.5h5c1.5 0 2.5-1 2.5-2.5 0-3-2-5-5-5z'/></svg>");
  background-repeat: no-repeat; background-size: contain;
  transform: rotate(-20deg);
}
.gp-hero::after {
  content: ''; position: absolute; bottom: -15%; right: -5%;
  width: 240px; height: 240px; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2338a16a'><circle cx='6' cy='9' r='2.5'/><circle cx='18' cy='9' r='2.5'/><circle cx='9.5' cy='5' r='2'/><circle cx='14.5' cy='5' r='2'/><path d='M12 11c-3 0-5 2-5 5 0 1.5 1 2.5 2.5 2.5h5c1.5 0 2.5-1 2.5-2.5 0-3-2-5-5-5z'/></svg>");
  background-repeat: no-repeat; background-size: contain;
  transform: rotate(15deg);
}

/* Hero拡張 */
.gp-hero-inner { position: relative; z-index: 1; }
.gp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: rgba(255,255,255,0.85);
  border-radius: 20px; font-size: 0.85rem; color: var(--gp-color-text-muted);
  margin-bottom: 16px; box-shadow: var(--gp-shadow-sm);
}
.gp-hero-search { position: relative; }
.gp-hero-search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--gp-color-text-subtle);
  font-size: 1.2em;
}
.gp-hero-search input[type="search"] { padding-left: 48px; }

.gp-hero-stats {
  display: flex; justify-content: center; gap: 24px; margin: 28px 0 0;
  padding: 0; list-style: none; flex-wrap: wrap;
}
.gp-hero-stats li {
  background: rgba(255,255,255,0.8); border-radius: 12px;
  padding: 12px 20px; box-shadow: var(--gp-shadow-sm);
  display: flex; flex-direction: column; align-items: center; min-width: 140px;
}
.gp-hero-stats strong {
  font-size: 1.3rem; color: var(--gp-color-brand-dark); font-weight: 700;
}
.gp-hero-stats span { font-size: 0.8rem; color: var(--gp-color-text-muted); margin-top: 2px; }

/* ------------------- 地方カラースキーム ------------------- */
.gp-region-block {
  position: relative; padding-left: 14px; margin-bottom: 32px;
}
.gp-region-block::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--gp-region-color, var(--gp-color-brand));
  border-radius: 2px;
}
.gp-region-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.15rem; margin: 0 0 14px; color: var(--gp-color-text);
  padding: 0; background: transparent; border-radius: 0;
}
.gp-region-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gp-region-color, var(--gp-color-brand));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-region-color, var(--gp-color-brand)) 20%, transparent);
}
.gp-pref-link:hover {
  border-color: var(--gp-region-color, var(--gp-color-brand));
  background: color-mix(in srgb, var(--gp-region-color, var(--gp-color-brand)) 8%, white);
  color: var(--gp-color-text);
}
.gp-pref-link:hover .gp-pref-link-name { color: var(--gp-region-color, var(--gp-color-brand-dark)); }

/* ------------------- カード ホバー強化 ------------------- */
.gp-facility-card {
  position: relative; overflow: hidden;
}
.gp-facility-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 40px; height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8a4c' opacity='0.08'><circle cx='6' cy='9' r='2.5'/><circle cx='18' cy='9' r='2.5'/><circle cx='9.5' cy='5' r='2'/><circle cx='14.5' cy='5' r='2'/><path d='M12 11c-3 0-5 2-5 5 0 1.5 1 2.5 2.5 2.5h5c1.5 0 2.5-1 2.5-2.5 0-3-2-5-5-5z'/></svg>");
  background-repeat: no-repeat; background-size: contain;
  transform: rotate(15deg); transition: opacity 0.2s;
}
.gp-facility-card:hover::after { opacity: 0.5; }
.gp-facility-card-addr, .gp-facility-card-phone {
  display: flex; align-items: center; gap: 4px;
}

/* CTAカード SVGアイコン対応 */
.gp-cta-button .gp-icon { font-size: 1.4em; margin-right: 4px; }

/* infoリスト dt アイコン */
.gp-info-list dt {
  display: inline-flex; align-items: center; gap: 4px;
}

/* ------------------- フェードイン アニメーション ------------------- */
@media (prefers-reduced-motion: no-preference) {
  .gp-facility-card, .gp-region-block, .gp-info-card, .gp-hours-card, .gp-map-card {
    animation: gp-fade-up 0.4s ease-out backwards;
  }
  @keyframes gp-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .gp-pref-link, .gp-facility-card {
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

/* ------------------- セクション見出し 強化 ------------------- */
.gp-section-heading {
  position: relative; padding-bottom: 12px;
  border-bottom: none;
}
.gp-section-heading::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gp-color-brand) 0%, var(--gp-color-accent) 100%);
  border-radius: 2px;
}

/* =============================================================================
   v1.4: facility_feature - フィルタUI / バッジ / ピル
   ========================================================================== */
.gp-feature-badges {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.gp-feature-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--feat-color, #888) 12%, white);
  color: var(--feat-color, #555);
  border: 1px solid color-mix(in srgb, var(--feat-color, #888) 30%, white);
  border-radius: 16px;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.gp-feature-badge:hover {
  background: var(--feat-color, #888); color: white;
  text-decoration: none; transform: translateY(-1px);
}
.gp-feature-badge .gp-icon { font-size: 0.9em; }

/* カード内ミニピル */
.gp-facility-card-feats {
  display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px;
}
.gp-feat-pill {
  display: inline-block; padding: 2px 8px;
  background: color-mix(in srgb, var(--feat-color, #888) 14%, white);
  color: var(--feat-color, #555);
  border-radius: 10px;
  font-size: 0.72rem; font-weight: 600;
}

/* フィルタフォーム */
.gp-filter-form {
  margin-top: 16px; padding: 0;
}
.gp-filter-form fieldset { border: 0; padding: 0; margin: 0; }
.gp-filter-legend {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.95rem;
  color: var(--gp-color-text); margin-bottom: 10px; padding: 0;
}
.gp-filter-options {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.gp-filter-option {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  background: var(--gp-color-bg-card);
  border: 2px solid var(--gp-color-border);
  border-radius: 22px;
  font-size: 0.88rem; cursor: pointer; user-select: none;
  transition: all 0.15s;
}
.gp-filter-option input[type="checkbox"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.gp-filter-option:hover {
  border-color: var(--feat-color, var(--gp-color-brand));
}
.gp-filter-option.is-active {
  background: var(--feat-color, var(--gp-color-brand));
  border-color: var(--feat-color, var(--gp-color-brand));
  color: white;
}
.gp-filter-option.is-active .gp-filter-count {
  background: rgba(255,255,255,0.25); color: white;
}
.gp-filter-count {
  display: inline-block; padding: 1px 7px;
  background: var(--gp-color-bg-soft); border-radius: 10px;
  font-size: 0.75rem; color: var(--gp-color-text-muted);
}
.gp-filter-actions {
  display: flex; gap: 10px; align-items: center;
}
