/* 占い店舗検索専用CSS
   既存テンプレートへの影響を避けるため .shop-content 配下に限定しています。 */

.shop-content {
  --shop-border: #e6e2dc;
  --shop-bg-soft: #f7f5f2;
  --shop-text: #292724;
  --shop-muted: #6f6a63;
  --shop-accent: #6c4f7d;
  --shop-radius: 12px;
  color: var(--shop-text);
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  line-height: 1.75;
}

.shop-content *,
.shop-content *::before,
.shop-content *::after {
  box-sizing: border-box;
}

.shop-content a {
  color: var(--shop-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shop-page-header {
  margin-bottom: 28px;
}

.shop-page-header--compact {
  margin-bottom: 22px;
}

.shop-page-header__eyebrow {
  margin: 0 0 4px;
  color: var(--shop-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.shop-page-header__title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.35;
}

.shop-page-header__lead {
  margin: 10px 0 0;
  color: var(--shop-muted);
}

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-bottom: 20px;
  color: var(--shop-muted);
  font-size: 0.88rem;
}

.shop-search-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.shop-search-method {
  display: block;
  padding: 20px;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
}

.shop-search-method:hover {
  border-color: var(--shop-accent);
}

.shop-search-method__title,
.shop-search-method__text {
  display: block;
}

.shop-search-method__title {
  margin-bottom: 5px;
  font-size: 1.12rem;
  font-weight: 700;
}

.shop-search-method__text {
  color: var(--shop-muted);
  font-size: 0.94rem;
}

.shop-section {
  margin-top: 30px;
}

.shop-section__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.shop-section__heading h2,
.shop-detail-section h2,
.shop-map-guide h2 {
  margin: 0;
  font-size: 1.3rem;
}

.shop-prefecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-prefecture-grid a,
.shop-city-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--shop-border);
  border-radius: 9px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.shop-prefecture-grid a:hover,
.shop-city-list a:hover {
  border-color: var(--shop-accent);
}

.shop-prefecture-grid small,
.shop-city-list small {
  color: var(--shop-muted);
  white-space: nowrap;
}

.shop-city-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-map-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 22px;
  border-radius: var(--shop-radius);
  background: var(--shop-bg-soft);
}

.shop-map-guide p {
  margin: 5px 0 0;
  color: var(--shop-muted);
}

.shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid var(--shop-accent);
  border-radius: 8px;
  background: var(--shop-accent);
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}

.shop-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.shop-card {
  padding: 18px;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  background: #fff;
}

.shop-card__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.shop-card__address,
.shop-card__price,
.shop-card__link {
  margin: 6px 0 0;
}

.shop-card__address,
.shop-card__price {
  color: var(--shop-muted);
  font-size: 0.93rem;
}

.shop-detail-table {
  margin: 0;
  border-top: 1px solid var(--shop-border);
}

.shop-detail-table > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border-bottom: 1px solid var(--shop-border);
}

.shop-detail-table dt,
.shop-detail-table dd {
  margin: 0;
  padding: 14px 16px;
}

.shop-detail-table dt {
  background: var(--shop-bg-soft);
  font-weight: 700;
}

.shop-detail-section {
  margin-top: 30px;
}

.shop-detail-section p {
  margin: 10px 0 0;
}

.shop-detail-action {
  margin-top: 28px;
}

.shop-map-search {
  margin-top: 16px;
}

.shop-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  background: var(--shop-bg-soft);
}

.shop-filter label {
  font-weight: 700;
}

.shop-filter select {
  min-width: 190px;
  min-height: 44px;
  padding: 8px 34px 8px 11px;
  border: 1px solid #cfc9c0;
  border-radius: 7px;
  background: #fff;
  font: inherit;
}

.shop-map,
.shop-detail-map {
  width: 100%;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  overflow: hidden;
  background: #eee;
}

.shop-map {
  height: 560px;
}

.shop-detail-map {
  height: 390px;
  margin-top: 12px;
}

.shop-map-status {
  margin: 8px 0 10px;
  color: var(--shop-muted);
  font-size: 0.92rem;
}

.shop-map-note {
  margin: 8px 0 0;
  color: var(--shop-muted);
  font-size: 0.84rem;
}

.shop-empty {
  padding: 18px;
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  background: var(--shop-bg-soft);
  color: var(--shop-muted);
}

@media (max-width: 800px) {
  .shop-prefecture-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-city-list,
  .shop-card-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shop-content {
    padding: 18px 12px 36px;
  }

  .shop-search-methods,
  .shop-prefecture-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-map-guide,
  .shop-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-filter select,
  .shop-filter .shop-button,
  .shop-map-guide .shop-button {
    width: 100%;
  }

  .shop-detail-table > div {
    grid-template-columns: 1fr;
  }

  .shop-detail-table dt {
    padding-bottom: 6px;
  }

  .shop-detail-table dd {
    padding-top: 6px;
  }

  .shop-map {
    height: 430px;
  }

  .shop-detail-map {
    height: 320px;
  }
}

@media (max-width: 390px) {
  .shop-prefecture-grid {
    grid-template-columns: 1fr;
  }
}
