:root {
  --primary: #a5d6a7;
  --primary-dark: #66bb6a;
  --bg: #f5faf5;
  --text: #2e4a32;
  --muted: #6b7f6e;
  --card: #fff;
  --border: #dce8dd;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Meiryo, "Hiragino Sans", sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--primary-dark); }
img { max-width: 100%; display: block; height: auto; }
.header-tabs { background: #fff; box-shadow: 0 2px 12px rgba(102,187,106,0.1); }
.header-top { max-width: 1080px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.logo-tab { font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); cursor: pointer; border: none; background: none; font: inherit; }
.tab-row { display: flex; gap: 0; border-top: 1px solid var(--border); max-width: 1080px; margin: 0 auto; overflow-x: auto; }
.tab-row button { flex: 1; min-width: 100px; padding: 0.9rem; border: none; background: #fafcfa; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tab-row button.active { background: #fff; color: var(--primary-dark); border-bottom-color: var(--primary-dark); font-weight: 600; }
html { scroll-behavior: smooth; }
.block { scroll-margin-top: 100px; padding: 2rem 1.25rem; max-width: 1080px; margin: 0 auto; }
.block h2 { color: var(--primary-dark); margin-bottom: 1rem; font-size: 1.35rem; }
.detail-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
@media (max-width: 700px) { .detail-card { grid-template-columns: 1fr; } }
.detail-card img { height: 240px; width: 100%; object-fit: cover; border-radius: 8px; }
.tab-row a { flex: 1; min-width: 100px; padding: 0.9rem; text-align: center; background: #fafcfa; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; font-size: 0.95rem; }
.tab-row a:hover { color: var(--primary-dark); }
.hero-strip { background: linear-gradient(135deg, #e8f5e9 0%, #fff 60%); padding: 3rem 1.25rem; text-align: center; }
.hero-strip h1 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.hero-strip p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.category-chips { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; padding: 1.5rem 1.25rem; }
.chip { padding: 0.4rem 1rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); font-size: 0.9rem; cursor: pointer; }
.chip.active { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.masonry { columns: 3; column-gap: 1.25rem; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem 2rem; }
@media (max-width: 800px) { .masonry { columns: 2; } }
@media (max-width: 500px) { .masonry { columns: 1; } }
.masonry .item { break-inside: avoid; margin-bottom: 1.25rem; background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; }
.masonry .item img { width: 100%; object-fit: cover; }
.masonry .item.tall img { height: 280px; }
.masonry .item.short img { height: 180px; }
.masonry .item .pad { padding: 0.85rem; }
.masonry .price { color: var(--primary-dark); font-weight: 700; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 2rem 1.25rem; }
.prose h1 { color: var(--primary-dark); margin-bottom: 1rem; }
.prose p { color: var(--muted); margin-bottom: 0.75rem; }
.detail-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding: 2rem 1.25rem; max-width: 1080px; margin: 0 auto; }
@media (max-width: 700px) { .detail-split { grid-template-columns: 1fr; } }
.detail-split img { border-radius: 10px; height: 360px; width: 100%; object-fit: cover; }
.footer-bar { text-align: center; padding: 2rem; background: #fff; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--muted); }
.footer-bar button { background: none; border: none; color: var(--primary-dark); cursor: pointer; margin: 0 0.5rem; font: inherit; }
