:root {
  --ink: #222222;
  --muted: #666666;
  --line: #e5e5e5;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --accent: #ff6b00;
  --accent-hover: #e85f00;
  --link: #222222;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-track {
    transition: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.search-box {
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.12);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero carousel — desktop: 半幅×2枚並び（originalprint.jp風） */
.hero-shell {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 20px;
}

.hero-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hero-track {
  display: flex;
  gap: 0;
  transition: transform 0.45s ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero-track {
    gap: 12px;
  }

  .hero-slide {
    /* 50% 幅 − gap の半分 */
    flex: 0 0 calc(50% - 6px);
    min-height: 320px;
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ddd;
  color: #444;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  font-size: 1.25rem;
  line-height: 1;
}

.hero-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-nav.prev {
  left: 10px;
}

.hero-nav.next {
  right: 10px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #ccc;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent);
  width: 22px;
}

.cat-tile {
  background: var(--bg-soft);
  border-radius: 12px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-thumb {
  aspect-ratio: 1;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
}

.rank-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.theme-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-chevron {
  transition: transform 0.2s ease;
}

.corp-banner {
  background: linear-gradient(105deg, #1a1a1a 0%, #333 55%, #ff6b00 160%);
}
