/* ===========================
   SNOOPY ACCESSORIES
   Base Styles
=========================== */

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --sky: #a8d8ea;
  --sky-light: #e8f4f8;
  --yellow: #ffd166;
  --yellow-light: #fff8e7;
  --pink: #f7c5c5;
  --pink-light: #fff0f0;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDPGothic', Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

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

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

/* ===========================
   Header / Navigation
=========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray);
  transition: all 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--sky-light);
  color: var(--black);
}

.nav-gift {
  background: var(--yellow-light) !important;
  color: var(--black) !important;
  font-weight: 600;
}

.nav-gift:hover {
  background: var(--yellow) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   Hero Section
=========================== */

.hero {
  background: linear-gradient(180deg, #fff 0%, var(--sky-light) 60%, var(--yellow-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-visual {
  width: 100%;
  background: #ede4d6;
  display: flex;
  justify-content: center;
  line-height: 0;
}

.hero-visual img {
  width: min(100%, 900px);
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero h1 span {
  color: var(--sky);
  display: block;
}

.hero-desc {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-snoopy {
  font-size: clamp(80px, 15vw, 140px);
  line-height: 1;
  margin-bottom: 32px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.10));
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   Buttons
=========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.03em;
  border: none;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sky {
  background: var(--sky);
  color: var(--black);
}

.btn-sky:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}

.btn-yellow:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-shop {
  background: #ff4500;
  color: white;
  font-size: 13px;
  padding: 10px 20px;
}

.btn-shop:hover {
  background: #e03d00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,69,0,0.3);
}

.btn-amazon {
  background: #ff9900;
  color: var(--black);
  font-size: 13px;
  padding: 10px 20px;
}

.btn-amazon:hover {
  background: #e68900;
  transform: translateY(-1px);
}

.btn-shop-black {
  background: var(--black);
  color: white;
  font-size: 13px;
  padding: 10px 20px;
}

.btn-shop-black:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ===========================
   Section Commons
=========================== */

.section {
  padding: 72px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.section-title span {
  color: var(--sky);
}

.section-desc {
  color: var(--gray);
  margin-top: 12px;
  font-size: 14px;
}

/* ===========================
   Category Cards
=========================== */

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

.category-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sky);
}

.category-card:hover .category-icon img {
  transform: scale(1.07);
}

.category-card.sky { background: var(--sky-light); }
.category-card.yellow { background: var(--yellow-light); }
.category-card.pink { background: var(--pink-light); }
.category-card.white { background: var(--gray-light); }

.category-icon {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 0;
  line-height: 0;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.category-info {
  padding: 14px 16px 18px;
}

.category-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-count {
  font-size: 12px;
  color: var(--gray);
}

/* ===========================
   Product Cards
=========================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sky);
}

.product-image {
  aspect-ratio: 1;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image.sky-bg { background: var(--sky-light); }
.product-image.yellow-bg { background: var(--yellow-light); }
.product-image.pink-bg { background: var(--pink-light); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.product-badge.new { background: var(--sky); }
.product-badge.sale { background: #ff6b6b; color: white; }
.product-badge.pair { background: var(--pink); }

.product-body {
  padding: 16px 18px 20px;
}

.product-brand {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.product-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

.product-reward {
  font-size: 11px;
  color: #e03d00;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-shops {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===========================
   Feature Banner
=========================== */

.feature-banner {
  background: linear-gradient(135deg, var(--black) 0%, #2d3748 100%);
  color: white;
  border-radius: var(--radius);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-banner-text h2 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.feature-banner-text h2 span {
  color: var(--yellow);
}

.feature-banner-text p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-banner-visual {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-banner-visual img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  drop-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===========================
   Ranking Section
=========================== */

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all 0.2s;
}

.ranking-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--sky);
}

.ranking-num {
  font-size: 28px;
  font-weight: 900;
  min-width: 48px;
  text-align: center;
  color: var(--border);
}

.ranking-item:nth-child(1) .ranking-num { color: #FFD700; }
.ranking-item:nth-child(2) .ranking-num { color: #C0C0C0; }
.ranking-item:nth-child(3) .ranking-num { color: #CD7F32; }

.ranking-icon {
  min-width: 72px;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.ranking-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ranking-info {
  flex: 1;
}

.ranking-brand {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.ranking-name {
  font-size: 14px;
  font-weight: 700;
  margin: 3px 0 6px;
}

.ranking-price {
  font-size: 16px;
  font-weight: 800;
}

.ranking-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===========================
   Gift Guide Cards
=========================== */

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gift-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.gift-card-header {
  padding: 28px 24px;
  text-align: center;
}

.gift-card-header.sky { background: var(--sky-light); }
.gift-card-header.yellow { background: var(--yellow-light); }
.gift-card-header.pink { background: var(--pink-light); }

.gift-icon { font-size: 48px; margin-bottom: 10px; }

.gift-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.gift-subtitle {
  font-size: 12px;
  color: var(--gray);
}

.gift-card-body {
  padding: 20px 24px;
  background: var(--white);
}

.gift-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.gift-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.gift-items li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gift-item-price {
  font-weight: 700;
  color: var(--black);
  font-size: 13px;
}

/* ===========================
   Info Section
=========================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.info-card-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===========================
   Page Hero (inner pages)
=========================== */

.page-hero {
  padding: 56px 20px 48px;
  text-align: center;
}

.page-hero.sky { background: var(--sky-light); }
.page-hero.yellow { background: var(--yellow-light); }
.page-hero.pink { background: var(--pink-light); }

.page-hero-icon { font-size: 64px; margin-bottom: 16px; }

.page-hero h1 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--gray);
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   Filter Bar
=========================== */

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--black);
  background: var(--black);
  color: white;
}

/* ===========================
   Breadcrumb
=========================== */

.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 12px;
  color: var(--gray);
  display: flex;
  gap: 6px;
  align-items: center;
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--black);
}

.breadcrumb-sep { opacity: 0.4; }

/* ===========================
   Footer
=========================== */

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 56px 20px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer-about {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
  line-height: 1.7;
}

/* ===========================
   Affiliate Disclosure
=========================== */

.disclosure-bar {
  background: var(--yellow-light);
  border-bottom: 1px solid var(--yellow);
  padding: 8px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--gray);
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .feature-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
  }

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

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 16px;
  }

  .hamburger {
    display: flex;
  }

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

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ranking-item {
    flex-wrap: wrap;
  }

  .ranking-cta {
    width: 100%;
    flex-direction: row;
  }

  .hero {
    padding: 56px 20px;
  }

  .section {
    padding: 52px 20px;
  }

  .feature-banner {
    padding: 28px 20px;
  }

  .feature-banner-visual {
    display: none;
  }
}

/* ===========================
   Utility
=========================== */

.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.bg-light { background: var(--gray-light); }
.bg-sky { background: var(--sky-light); }
.bg-yellow { background: var(--yellow-light); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
