/* ============================================================
   暮らしセレクト Design System
   Cream / Sage / Terracotta / Brown
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 300;
  color: #3D2E22;
  line-height: 1.85;
  background: #FAF7F2;
  font-size: 15px;
}
@media (min-width: 600px) { body { font-size: 16px; } }

a { color: #C4714A; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  background: #FAF7F2;
  border-bottom: 1px solid #E8DDD2;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .logo {
  font-family: 'Noto Serif JP', "Hiragino Mincho ProN", serif;
  font-weight: 700;
  font-size: 20px;
  color: #6B4C3B;
}

/* ===== Container ===== */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', "Hiragino Mincho ProN", serif;
  font-weight: 700;
  color: #6B4C3B;
  line-height: 1.5;
}
h1 { font-size: 26px; margin: 0 0 24px; }
h2 { font-size: 22px; margin: 0; position: relative; }
h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #8BA888;
  margin-top: 12px;
  margin-bottom: 24px;
}
h3 { font-size: 18px; margin: 0 0 12px; }
@media (min-width: 600px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
}

.eyebrow {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #8BA888;
  text-transform: uppercase;
  margin: 40px 0 6px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 12px;
  color: #8BA888;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: #8BA888; }
.breadcrumb span { color: #6B4C3B; }

/* ===== Lead ===== */
.lead {
  background: #fff;
  padding: 18px;
  border: 1px solid #E8DDD2;
  border-radius: 12px;
  margin: 16px 0 0;
  font-size: 15px;
}

/* ===== Conclusion ===== */
.conclusion-box {
  background: #fff;
  border: 1px solid #E8DDD2;
  border-left: 4px solid #C4714A;
  padding: 20px;
  border-radius: 12px;
  margin: 0 0 24px;
}
.conclusion-box p { margin: 0; }

/* ===== Tables ===== */
.ranking-table-wrap, .summary-table-wrap, .spec-table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid #E8DDD2;
  border-radius: 12px;
  background: #fff;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #E8DDD2;
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
th {
  background: #F4EEE5;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  color: #6B4C3B;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ===== Product card ===== */
.product {
  background: #fff;
  border: 1px solid #E8DDD2;
  border-radius: 12px;
  padding: 24px;
  margin: 0 0 24px;
}
.rank-badge {
  display: inline-block;
  background: #C4714A;
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.product h3 {
  margin: 4px 0 8px;
  font-size: 18px;
  color: #6B4C3B;
}
.catch {
  color: #8BA888;
  font-style: italic;
  font-size: 14px;
  margin: 0 0 16px;
}
.prod-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 12px auto 16px;
  border-radius: 8px;
}
.product .spec-table-wrap { margin-bottom: 16px; }

/* ===== Pros/Cons ===== */
.proscons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.proscons > div {
  flex: 1;
  min-width: 240px;
  background: #FAF7F2;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #E8DDD2;
}
.proscons h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #6B4C3B;
}
.proscons ul { margin: 0; padding-left: 20px; }
.proscons li { font-size: 14px; margin: 4px 0; }

/* ===== CTA buttons ===== */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
}
.cta-buttons a {
  display: block;
  padding: 14px 16px;
  text-align: center;
  border-radius: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.05em;
}
.cta-buttons a:hover { text-decoration: none; opacity: 0.92; }
.btn-amazon { background: #FF9900; color: #000; border: 1px solid #FF9900; }
.btn-rakuten { background: #BF0000; color: #fff; border: 1px solid #BF0000; }

/* ===== もしもアフィリエイト かんたんリンク ===== */
.moshimo-link {
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 0;
  text-align: center;
  /* もしものiframe / divがそのまま入る */
}
.moshimo-link iframe {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.moshimo-link > div,
.moshimo-link .easy-link {
  margin: 0 auto !important;
  max-width: 100% !important;
}
.product .moshimo-link {
  margin-top: 20px;
  margin-bottom: 4px;
}

/* ===== Lists ===== */
.select-points, .failures {
  background: #fff;
  border: 1px solid #E8DDD2;
  border-radius: 12px;
  padding: 18px 24px 18px 36px;
  margin: 0 0 24px;
}
.select-points li, .failures li { margin: 8px 0; }

.cta-box {
  background: #fff;
  border: 1px solid #E8DDD2;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 24px 0;
}
.cta-box p { margin: 0; }

/* ===== Share box ===== */
.gx-share-box {
  margin: 32px 0;
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #E8DDD2;
}
.share-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #8BA888;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-buttons a {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.share-buttons a:hover { text-decoration: none; opacity: 0.9; }
.gx-share-x { background: #000; }
.gx-share-fb { background: #1877f2; }
.gx-share-line { background: #06c755; }

/* ===== Index ===== */
.hero {
  text-align: center;
  padding: 24px 0 8px;
}
.hero h1 {
  font-size: 28px;
  margin: 0 0 8px;
  color: #6B4C3B;
}
.hero-sub {
  color: #8BA888;
  font-size: 14px;
  letter-spacing: 0.05em;
  margin: 0;
}

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}
@media (min-width: 600px) {
  .article-list { grid-template-columns: 1fr 1fr; }
}
.article-card {
  background: #fff;
  border: 1px solid #E8DDD2;
  border-radius: 12px;
  padding: 20px;
  display: block;
  color: #3D2E22;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(107, 76, 59, 0.10);
}
.article-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #6B4C3B;
}
.article-card p {
  font-size: 13px;
  color: #6B4C3B;
  margin: 0 0 8px;
  font-weight: 300;
  line-height: 1.7;
}
.article-card .meta {
  font-size: 11px;
  color: #8BA888;
  letter-spacing: 0.05em;
}

/* ===== Footer ===== */
.site-footer {
  background: #fff;
  border-top: 1px solid #E8DDD2;
  padding: 32px 16px;
  text-align: center;
  margin-top: 48px;
}
.site-footer small {
  display: block;
  color: #8BA888;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.disclaimer {
  font-size: 11px;
  color: #8BA888;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}
