:root {
  color-scheme: light;
  --ink: #251a13;
  --muted: #6d5d4f;
  --line: #eadbc9;
  --paper: #fffaf2;
  --cream: #fff4e1;
  --butter: #f8d77b;
  --caramel: #b96d2a;
  --green: #3d7660;
  --blue: #315d78;
  --rose: #a94f5d;
  --shadow: 0 18px 50px rgba(80, 45, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(234, 219, 201, 0.86);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(80, 45, 21, 0.18);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(24px, 5vw, 64px);
  min-height: calc(100svh - 72px);
  padding: clamp(38px, 7vw, 92px) clamp(18px, 5vw, 72px) 32px;
  background:
    linear-gradient(110deg, rgba(255, 244, 225, 0.98), rgba(255, 250, 242, 0.9)),
    repeating-linear-gradient(135deg, rgba(185, 109, 42, 0.07) 0 1px, transparent 1px 18px);
}

.hero-inner {
  align-self: center;
  max-width: 790px;
}

.notice,
.channel-kicker,
.section-head p {
  margin: 0 0 10px;
  color: var(--caramel);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.notice {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid rgba(185, 109, 42, 0.35);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.07;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: #49382b;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.market-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-button {
  background: var(--ink);
  color: #fff;
}

.secondary-button {
  border: 1px solid rgba(37, 26, 19, 0.18);
  background: rgba(255, 250, 242, 0.8);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
  margin: 32px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(234, 219, 201, 0.9);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.75);
}

.hero-stats dt {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(234, 219, 201, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(255, 244, 225, 0.98));
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  object-position: center top;
}

.hero-panel .hero-dogs {
  width: min(62%, 320px);
  margin: 26px auto 8px;
  aspect-ratio: auto;
  border: 8px solid #fff;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(80, 45, 21, 0.18));
}

.dog-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 18px 8px;
}

.dog-labels span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--caramel);
  font-size: 12px;
  font-weight: 900;
}

.speech {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.speech strong {
  color: var(--caramel);
  font-size: 13px;
}

.speech span {
  font-size: 18px;
  font-weight: 800;
}

.channel-proof {
  padding: 0 18px 18px;
}

.channel-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

section {
  padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.band {
  background: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-grid,
.category-grid,
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.category-card,
.affiliate-grid article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.intro-grid article,
.affiliate-grid article {
  padding: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--butter);
  font-weight: 900;
}

.intro-grid h3,
.affiliate-grid h3 {
  margin: 16px 0 8px;
}

.intro-grid p,
.affiliate-grid p {
  margin: 0;
  color: var(--muted);
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  min-height: 242px;
}

.category-icon {
  font-size: 30px;
}

.category-card h3 {
  margin: 0;
  font-size: 18px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.talk-bubble {
  position: relative;
  margin: 2px 0 0;
  padding: 12px;
  border: 1px solid rgba(185, 109, 42, 0.24);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.talk-bubble::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(185, 109, 42, 0.24);
  border-left: 1px solid rgba(185, 109, 42, 0.24);
  background: #fff;
  transform: rotate(45deg);
}

.speaker {
  display: block;
  margin-bottom: 2px;
  color: var(--caramel);
  font-size: 12px;
}

.category-card button {
  align-self: end;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.products-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 20px;
  align-items: end;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
}

.search-box,
.select-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 0 12px;
}

.product-count {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  overflow: hidden;
  background: #fff;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 130px;
  background: var(--card-accent, var(--cream));
  color: rgba(37, 26, 19, 0.82);
  font-size: 44px;
  font-weight: 900;
}

.product-media.has-product-image {
  grid-template-rows: 1fr auto;
  gap: 8px;
  min-height: 174px;
  padding: 14px 14px 10px;
  background: linear-gradient(180deg, #fffdf8 0%, var(--card-accent, var(--cream)) 100%);
  font-size: 12px;
}

.product-media img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-media figcaption {
  margin: 0;
  color: rgba(37, 26, 19, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5eadb;
  color: #6d4a2b;
  font-size: 12px;
  font-weight: 900;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-point {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.product-card .talk-bubble {
  margin-top: 12px;
}

.official-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 12px;
  color: var(--caramel);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 109, 42, 0.34);
}

.official-link:hover {
  color: var(--ink);
}

.market-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.market-link {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
}

.market-link:first-child {
  background: var(--ink);
  color: #fff;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .hero,
  .products-top {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .header-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-stats,
  .intro-grid,
  .category-grid,
  .toolbar,
  .product-grid,
  .affiliate-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .product-card {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
