:root {
  --bg:            oklch(11% 0.012 30);
  --bg2:           oklch(14% 0.012 30);
  --bg3:           oklch(17% 0.014 30);
  --surface:       oklch(15% 0.013 30);
  --surface-hover: oklch(19% 0.015 30);
  --border:        oklch(25% 0.015 30);
  --text:          oklch(88% 0.008 60);
  --text-muted:    oklch(55% 0.008 60);
  --text-faint:    oklch(38% 0.008 60);
  --accent:        oklch(64% 0.13 350);
  --accent-dim:    oklch(64% 0.13 350 / 0.15);
  --accent-hover:  oklch(70% 0.14 350);
  --gold:          oklch(72% 0.1 75);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -30%, oklch(20% 0.04 350) 0%, transparent 48%),
    linear-gradient(180deg, oklch(14% 0.012 30) 0%, oklch(11% 0.012 30) 28%, oklch(11% 0.012 30) 100%);
  color: var(--text);
}
a {
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: oklch(11% 0.012 30 / 0.84);
  backdrop-filter: blur(2px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}
.logo-sub {
  margin-left: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-family: "Raleway", sans-serif;
  font-weight: 300;
}
.search-bar {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
}
.nav-links {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 54px;
}
.hero {
  text-align: center;
  padding: 34px 0 14px;
}
.hero-subtitle {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
}
.hero-title {
  margin: 0 0 12px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 10px;
  justify-content: center;
}
.filter-chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-chip:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.filter-chip.is-active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.work-count {
  margin: 8px 0 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}
.features-section {
  margin: 24px 0 32px;
}
.features-title {
  margin: 0 0 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
  letter-spacing: 0.05em;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-thumb-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.feature-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.feature-thumb-wrap:hover .feature-thumb {
  transform: scale(1.03);
}
.feature-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--text);
  line-height: 1.5;
}
.feature-link {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s;
  align-self: center;
}
.feature-link:hover {
  background: var(--accent-hover);
}
.works-title {
  margin: 0 0 4px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  text-align: center;
}
.work-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.work-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.work-card:hover {
  border-color: var(--accent);
}
.work-thumb-wrap {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.work-thumb-wrap:hover .work-thumb {
  transform: scale(1.03);
}
.work-thumb-fallback {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.8rem;
}
.work-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.work-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}
.maker-badge {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: "Zen Maru Gothic", sans-serif;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--accent-dim);
  transition: background 0.15s, color 0.15s;
  display: inline-block;
}
.maker-badge:hover {
  background: var(--accent);
  color: white;
}
.maker-badge.is-active {
  background: var(--accent);
  color: white;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.item-tag {
  padding: 3px 10px;
  border-radius: 12px;
  border: none;
  background: var(--accent-dim);
  color: var(--text);
  font-size: 0.72rem;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  transition: background 0.15s;
}
.item-tag:hover {
  background: var(--accent);
  color: white;
}
.item-tag.is-active {
  background: var(--accent);
  color: white;
}
.buy-button {
  display: block;
  margin-top: auto;
  padding: 10px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s;
}
.buy-button:hover {
  background: var(--accent-hover);
}
.empty-text {
  color: var(--text-faint);
  text-align: center;
  padding: 40px 0;
}
.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.footer-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.7;
  margin: 0;
}
/* Swiper カルーセル */
.swiper {
  width: 100%;
  padding-bottom: 40px !important;
}
.swiper-slide {
  height: auto;
}
.swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--accent) !important;
}
@media (min-width: 700px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1240px) {
  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .search-bar {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 14px 12px 42px;
  }
  .hero-title {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
}
