/*
 * shop-top.css — 整骨院ナビ TOPページウィジェット スタイル
 * [shop_top] ショートコードで読み込まれる
 */

/* ── 共通 ───────────────────────────────────────────────────── */
.shop-top-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #333;
  max-width: 1100px;
  margin: 0 auto;
}

.st-section {
  margin: 3rem 0;
}

.st-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #19448e;
  color: #222;
}

.st-loading {
  color: #999;
  text-align: center;
  padding: 2rem;
}

/* ── ヒーロー ───────────────────────────────────────────────── */
.st-hero {
  background: linear-gradient(135deg, #2a5fba 0%, #19448e 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.st-hero__stats {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 0 0.8rem;
}

.st-hero__stats strong {
  font-size: 1.6rem;
  font-weight: 800;
}

.st-hero__title {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}

@media (max-width: 600px) {
  .st-hero__title { font-size: 1.4rem; }
}

.st-hero__btn {
  display: inline-block;
  background: #fff;
  color: #19448e;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.st-hero__btn:hover {
  opacity: 0.85;
}

/* ── タググリッド ───────────────────────────────────────────── */
.st-tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
}

.st-tag-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.5rem;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  text-decoration: none;
  color: #444;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.st-tag-card:hover {
  border-color: #19448e;
  background: #eef2f9;
  transform: translateY(-2px);
}

.st-tag-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* ── エリアグリッド ─────────────────────────────────────────── */
.st-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.6rem;
}

.st-area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s, transform 0.15s;
}

.st-area-card:hover {
  background: #eef2f9;
  transform: translateY(-2px);
}

.st-area-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.st-area-count {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.2rem;
}

/* ── 高評価フィーチャーグリッド ─────────────────────────────── */
.st-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.st-fc {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s;
}

.st-fc:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.st-fc__image {
  display: block;
  height: 160px;
  overflow: hidden;
  background: #f0f0f0;
}

.st-fc__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-fc__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-fc__placeholder span {
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  font-weight: 800;
}

.st-fc__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.st-fc__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.st-fc__title a {
  color: #222;
  text-decoration: none;
}

.st-fc__title a:hover {
  color: #19448e;
}

.st-fc__area {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.st-fc__rating {
  font-size: 0.82rem;
  color: #555;
}

/* ── もっと見るリンク ───────────────────────────────────────── */
.st-more-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.st-more-link {
  display: inline-block;
  color: #19448e;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border: 2px solid #19448e;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}

.st-more-link:hover {
  background: #19448e;
  color: #fff;
}
