/* ========================================
   RE:kaden（リカデン）
   中古家電専門サイト
   ======================================== */

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

:root {
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --light-gray: #F3F4F6;
  --gray: #9CA3AF;
  --dark-gray: #4B5563;
  --black: #111827;
  --red: #DC2626;        /* アクセント：価格・CTA */
  --red-dark: #B91C1C;
  --red-light: #FEE2E2;
  --green: #059669;      /* 「在庫あり」等のポジティブ */
  --yellow: #F59E0B;     /* 「SALE」バッジ */
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-jp);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}

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

/* ========================================
   Header / Nav
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}
.logo .accent {
  color: var(--red);
}
.logo-sub {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.1em;
  font-family: var(--font-jp);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
}
.nav-links a:hover {
  color: var(--red);
}
.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease;
}
.nav-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  padding: 64px 20px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--black);
}
.hero h1 .red-text {
  color: var(--red);
}
.hero p {
  font-size: 18px;
  color: var(--dark-gray);
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all .15s ease;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  padding: 12px 34px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all .15s ease;
  cursor: pointer;
  font-family: inherit;
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ========================================
   Feature Strip（安心の4点）
   ======================================== */
.feature-strip {
  background: var(--black);
  color: var(--white);
  padding: 24px 20px;
}
.feature-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.feature-item .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
}

/* ========================================
   Section Base
   ======================================== */
section {
  padding: 80px 20px;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--dark-gray);
  max-width: 640px;
  margin: 0 auto;
}

/* ========================================
   Category Grid（取扱カテゴリ）
   ======================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.category-card-lg {
  padding: 48px 28px;
}
.category-card-lg .emoji {
  font-size: 64px;
}
.category-card-lg h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.category-card-lg .item-list {
  font-size: 14px;
  line-height: 2;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all .2s ease;
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.category-card .emoji {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.category-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.category-card .item-list {
  font-size: 13px;
  color: var(--dark-gray);
  line-height: 1.8;
}

/* ========================================
   Maintenance Section
   ======================================== */
.maintenance {
  background: var(--off-white);
}
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.check-card {
  background: var(--white);
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
}
.check-card .num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.check-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.check-card p {
  color: var(--dark-gray);
  font-size: 14px;
}

/* ========================================
   Shop CTA
   ======================================== */
.shop-cta {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 72px 20px;
}
.shop-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}
.shop-cta p {
  font-size: 17px;
  margin-bottom: 32px;
  opacity: 0.95;
}
.shop-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.shop-links a {
  background: var(--white);
  color: var(--black);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: all .15s ease;
}
.shop-links a:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

/* ========================================
   Guide Page
   ======================================== */
.guide-section {
  max-width: 800px;
  margin: 0 auto;
}
.guide-step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.guide-step:last-child {
  border-bottom: none;
}
.guide-step .step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
}
.guide-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.guide-step p {
  color: var(--dark-gray);
}

/* ========================================
   Category Detail Page（詳細）
   ======================================== */
.category-detail {
  max-width: 900px;
  margin: 0 auto;
}
.category-detail h3 {
  font-size: 22px;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
}
.category-detail ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.category-detail ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--dark-gray);
  font-size: 15px;
}
.category-detail ul li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
  top: 14px;
}

/* ========================================
   Info Box
   ======================================== */
.info-box {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 4px;
  margin: 24px 0;
}
.info-box strong {
  color: var(--red);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 20px 32px;
}
.footer-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 12px;
}
.footer-brand p {
  color: #9CA3AF;
  font-size: 13px;
  line-height: 1.8;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  color: var(--white);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: #9CA3AF;
  font-size: 13px;
  transition: color .15s ease;
}
.footer-col ul a:hover {
  color: var(--red);
}
.footer-bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6B7280;
  font-size: 12px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .feature-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .feature-item {
    font-size: 12px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .category-card-lg {
    padding: 32px 24px;
  }
  .category-card-lg .emoji {
    font-size: 48px;
  }
  .maintenance-grid {
    grid-template-columns: 1fr;
  }
  .category-detail ul {
    grid-template-columns: 1fr;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  section {
    padding: 56px 20px;
  }
  .guide-step {
    flex-direction: column;
    gap: 12px;
  }
}
