* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #fafafa; color: #2C3538; line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: opacity 0.15s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; }

/* Layout */
.ts-container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top-bar { background: #3a3a3a; color: rgba(255,255,255,0.7); font-size: 12px; padding: 6px 0; letter-spacing: 0.5px; }
.top-bar .ts-container { text-align: right; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #e8e8e8; padding: 16px 0; }
.site-header .ts-container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 26px; font-weight: 700; color: #2C3538; letter-spacing: -0.5px; }
.logo span { color: #4673c7; }
.btn-location { background: #3a3a3a; color: #fff !important; padding: 12px 26px; border-radius: 50px; font-size: 15px; font-weight: 500; letter-spacing: 0.3px; }
.btn-location:hover { background: #555; opacity: 1; }

/* Breadcrumb */
.ts-breadcrumb { background: #3a3a3a; padding: 10px 0; font-size: 14px; color: rgba(255,255,255,0.6); }
.ts-breadcrumb a { color: #93b8f0; }
.ts-breadcrumb a:hover { color: #fff; opacity: 1; }

/* Stripe BG */
.stripe-bg { background-color: #fce4ec; background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(70,115,199,0.12) 5px, rgba(70,115,199,0.12) 10px); }

/* Card */
.card-box { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: 28px; margin-bottom: 28px; }

/* Shop Card */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 768px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-card { display: block; background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.shop-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); opacity: 1; }
.shop-card-header { background: #3a3a3a; color: #fff; padding: 14px 18px; }
.shop-card-header h3 { margin: 0; font-size: 16px; font-weight: 700; }
.shop-card-header .area { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.shop-card-body { padding: 18px; display: flex; gap: 16px; }
.shop-card-body img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.shop-card-info { flex: 1; min-width: 0; }
.shop-card-info .tel { font-weight: 700; color: #4673c7; font-size: 17px; margin-bottom: 6px; }
.shop-card-info .addr { font-size: 14px; color: #999; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card-info .hours { font-size: 14px; color: #999; margin-bottom: 8px; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 13px; padding: 4px 12px; border-radius: 20px; display: inline-block; font-weight: 500; }
.tag-on { background: #fce4ec; color: #c62828; }
.tag-off { background: #f5f5f5; color: #bbb; text-decoration: line-through; }

/* City tags */
.city-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.city-tag { display: inline-block; padding: 8px 16px; border: 1px solid #e0e0e0; border-radius: 24px; font-size: 15px; color: #555; background: #fff; font-weight: 500; transition: all 0.15s; }
.city-tag:hover { background: #fce4ec; border-color: #f8bbd0; color: #c62828; opacity: 1; }
.city-tag .cnt { font-size: 13px; color: #bbb; margin-left: 3px; font-weight: 400; }
.city-tag.disabled { color: #ccc; border-color: #eee; pointer-events: none; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 768px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { text-align: center; background: #fafafa; border-radius: 10px; padding: 20px 14px; border: 1px solid #f0f0f0; }
.stat-num { font-size: 28px; font-weight: 700; color: #c62828; }
.stat-label { font-size: 13px; color: #999; margin-top: 4px; letter-spacing: 0.3px; }

/* Buttons */
.btn-dark { background: #3a3a3a; color: #fff !important; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 500; display: inline-block; }
.btn-dark:hover { background: #555; opacity: 1; }
.search-btn { background: #4673c7; color: #fff; border: none; padding: 12px 32px; border-radius: 8px; font-size: 16px; font-weight: 500; cursor: pointer; }
.search-btn:hover { background: #3a62b0; }

/* Region cards */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .region-grid { grid-template-columns: 1fr; } }
.region-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); padding: 24px; }
.region-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px 0; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.pref-link { display: inline-flex; justify-content: space-between; width: 48%; padding: 6px 10px; font-size: 15px; border-radius: 6px; }
.pref-link:hover { background: #fce4ec; opacity: 1; }
.pref-count { color: #bbb; font-size: 14px; }

/* Section title */
.sec-title { font-size: 20px; font-weight: 700; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; margin-bottom: 18px; color: #2C3538; }

/* Column category badge */
.col-badge { font-size: 13px; background: #fce4ec; color: #c62828; padding: 3px 10px; border-radius: 4px; display: inline-block; }

/* Spinner animation */
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { background: #3a3a3a; color: rgba(255,255,255,0.6); padding: 40px 0; margin-top: 52px; }
.site-footer a { color: rgba(255,255,255,0.6); font-weight: 400; font-size: 15px; }
.site-footer a:hover { color: #fff; opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
  .ts-container { padding: 0 16px; }
  body { font-size: 15px; }
  .logo { font-size: 22px; }
  .btn-location { font-size: 13px; padding: 8px 16px; }
}
