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

:root {
  --primary: #1a9ad5;
  --primary-dark: #0d7bb5;
  --primary-light: #e6f4fb;
  --accent-red: #e24b4a;
  --accent-red-light: #fcebeb;
  --accent-amber: #ef9f27;
  --accent-amber-light: #faeeda;
  --accent-green: #639922;
  --accent-green-light: #eaf3de;
  --accent-purple: #7f77dd;
  --accent-purple-light: #eeedfe;
  --text-primary: #2c2c2a;
  --text-secondary: #5f5e5a;
  --text-tertiary: #888780;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f8f6;
  --bg-tertiary: #f1efe8;
  --border: #e0ded8;
  --border-light: #eeece6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  background: var(--bg-secondary);
  line-height: 1.7;
  font-size: 15px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
  height: 56px;
}

.site-logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.site-logo small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
  margin-left: 8px;
}

.site-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-bottom-color: #fff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 48px 20px;
  text-align: center;
  color: #fff;
}

.hero-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.35);
  color: #fff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.section-title.red {
  border-bottom-color: var(--accent-red);
}

.section-title.sale {
  border-bottom-color: #ff6b35;
  color: #ff6b35;
}

.section-title.amber {
  border-bottom-color: var(--accent-amber);
}

.articles-grid-3x3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-more {
  font-size: 13px;
  color: var(--primary);
}

/* ===== ARTICLE FILTER ===== */
.article-card[data-area] {
  transition: opacity 0.2s, transform 0.15s;
}

.article-card.hidden-by-filter {
  display: none;
}

/* ===== ARTICLE CARDS ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.article-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb .placeholder {
  font-size: 40px;
  color: var(--text-tertiary);
  opacity: 0.4;
}

.article-body {
  padding: 14px 16px;
}

.article-meta {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 6px;
}

.article-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

/* ===== SHOP CARDS ===== */
.shops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.shop-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.shop-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.shop-icon {
  min-width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.shop-info h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.shop-location {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.shop-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.tag.blue { background: var(--primary-light); color: var(--primary-dark); }
.tag.amber { background: var(--accent-amber-light); color: #854f0b; }
.tag.green { background: var(--accent-green-light); color: #3b6d11; }
.tag.red { background: var(--accent-red-light); color: #a32d2d; }
.tag.purple { background: var(--accent-purple-light); color: #534ab7; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* ===== ARTICLE DETAIL PAGE ===== */
.article-detail {
  max-width: 740px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-detail .article-header {
  margin-bottom: 24px;
}

.article-detail .article-date {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.article-detail h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-detail .article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-primary);
}

.article-detail .article-content p {
  margin-bottom: 1.5em;
}

.wakust-cta {
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin: 32px 0;
}

.wakust-cta p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px !important;
}

.wakust-cta .btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.wakust-cta .btn:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ===== SHOPS LIST PAGE ===== */
.shops-page {
  padding: 40px 0;
}

.shops-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-primary);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .shops-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 16px 20px;
    gap: 12px;
  }

  .hero-title {
    font-size: 20px;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 18px;
  }
}
