@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: SotoPick（ソトピック）専用カスタムデザイン子テーマ（キャンプ・車中泊ギアの公式スペック比較＆個別型番分析）
Theme URI: https://wp-cocoon.com/
Author: SotoPick編集部
Author URI: https://sotopick.com/
Template: cocoon-master
Version: 1.0.0
*/

:root {
  --sp-bg: #f6f4ee;
  --sp-surface: #ffffff;
  --sp-surface-warm: #f9f7f1;
  --sp-ink: #1f2421;
  --sp-ink-sub: #4d5751;
  --sp-ink-muted: #707a74;
  --sp-primary: #2f4f3e;
  --sp-primary-dark: #1f362a;
  --sp-primary-soft: #eef4f0;
  --sp-accent: #b45309;
  --sp-accent-hover: #92400e;
  --sp-rakuten: #be123c;
  --sp-rakuten-hover: #9f1239;
  --sp-border: #e5e2d9;
  --sp-border-strong: #d3cec2;
  --sp-radius: 10px;
  --sp-shadow: 0 2px 12px rgba(31, 36, 33, 0.05);
}

html, body {
  background-color: var(--sp-bg) !important;
  color: var(--sp-ink) !important;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Header: Field-Editorial Forest Top Bar */
.header-container,
#header-container {
  background: #ffffff !important;
  border-top: 4px solid var(--sp-primary) !important;
  border-bottom: 1px solid var(--sp-border) !important;
  box-shadow: 0 1px 8px rgba(31, 36, 33, 0.04) !important;
}

#header-container-in {
  max-width: 1220px !important;
  margin: 0 auto !important;
  padding: 10px 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.header, #header, #header-in, .logo-header {
  background: transparent !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.logo-header img,
.site-name-image {
  max-height: 46px !important;
  width: auto !important;
  display: block !important;
}

.tagline { display: none !important; }

.navi, #navi {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
}

#navi-in { width: auto !important; }
#navi .navi-in > ul.menu-mobile { display: none !important; }

#navi .navi-in > ul.menu-header {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
}

#navi .navi-in > ul > li {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
}

#navi .navi-in > ul > li > a {
  color: var(--sp-ink) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 10px !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.4 !important;
  border-radius: 6px !important;
  transition: background 0.18s, color 0.18s !important;
  white-space: nowrap !important;
}

#navi .navi-in > ul > li > a:hover {
  background: var(--sp-primary-soft) !important;
  color: var(--sp-primary) !important;
}

/* Hide unneeded Cocoon clutter */
.home.page .toc,
.home.page #toc,
.sns-follow,
.sns-share,
.widget_recent_comments,
.author-info {
  display: none !important;
}

/* Main Content Wrapper */
.main, #main {
  background: var(--sp-surface);
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  border: 1px solid var(--sp-border);
  padding: 36px 40px;
}

.home.page .main,
.home.page #main {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.home.page .entry-header,
.home.page .article-header {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home.page .article-footer,
.home.page .date-tags {
  display: none !important;
}

/* PR Notice */
.sp-pr-notice {
  background: var(--sp-surface-warm);
  border-left: 3px solid var(--sp-ink-muted);
  border-top: 1px solid var(--sp-border);
  border-right: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
  color: var(--sp-ink-sub);
  font-size: 12.5px;
  padding: 9px 14px;
  border-radius: 6px;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Editorial Outdoor Magazine Typography */
.article h1,
.entry-title {
  font-size: 1.72rem;
  line-height: 1.42;
  color: var(--sp-ink);
  font-weight: 800;
  margin-bottom: 16px;
}

.article h2 {
  background: var(--sp-primary-soft) !important;
  color: var(--sp-ink) !important;
  padding: 13px 18px;
  border-left: 5px solid var(--sp-primary);
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #d5e3da;
  border-radius: 4px;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2.35em 0 1.15em;
  line-height: 1.45;
  box-shadow: none;
}

.article h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--sp-ink);
  padding: 4px 0 6px 12px;
  border-left: 4px solid var(--sp-accent);
  border-bottom: 1px dashed var(--sp-border-strong);
  margin: 1.85em 0 0.85em;
  line-height: 1.45;
}

.article p {
  margin-bottom: 1.3em;
  font-size: 15.5px;
}

/* Hero Banner (Homepage) */
.sp-hero {
  background: linear-gradient(135deg, #243e30 0%, #2f4f3e 55%, #3c604c 100%);
  color: #f6f4ee;
  border-radius: 14px;
  padding: 36px 40px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(31, 54, 42, 0.16);
}

.sp-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fde68a;
  background: rgba(180, 83, 9, 0.34);
  border: 1px solid rgba(253, 230, 138, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sp-hero-title {
  font-size: 1.8rem !important;
  line-height: 1.38 !important;
  color: #ffffff !important;
  margin: 0 0 14px !important;
  font-weight: 800 !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

.sp-hero-desc {
  font-size: 14.2px;
  line-height: 1.75;
  color: #e2ebe5;
  margin: 0 0 20px;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sp-hero-btn-primary {
  display: inline-block;
  background: var(--sp-accent);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.18s;
}
.sp-hero-btn-primary:hover { background: var(--sp-accent-hover); }

.sp-hero-btn-ghost {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none !important;
}
.sp-hero-btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }

.sp-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Home Sections */
.sp-home-section {
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 24px;
  box-shadow: var(--sp-shadow);
}

.sp-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--sp-primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
  gap: 12px;
}

.sp-sec-title {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--sp-ink) !important;
}

.sp-sec-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sp-ink-muted);
}

/* Summary / Key Points Box */
.sp-summary-box {
  background: var(--sp-surface-warm);
  border: 1px solid var(--sp-border-strong);
  border-left: 5px solid var(--sp-primary);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 22px 0 26px;
}

.sp-summary-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--sp-primary);
  margin-bottom: 10px;
}

.sp-summary-box ul {
  margin: 0;
  padding-left: 1.3em;
}

.sp-summary-box li {
  margin-bottom: 6px;
  font-size: 14.5px;
  line-height: 1.7;
}

/* Safety Warning Box (CO poisoning / temperature caution) */
.sp-safety-box {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 5px solid #b45309;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0 24px;
  font-size: 14px;
  color: #451a03;
}
.sp-safety-title {
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

/* Responsive Spec Table */
.sp-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 24px;
  border: 1px solid var(--sp-border);
  border-radius: 8px;
}

.sp-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
  min-width: 560px;
  background: #ffffff;
}

.sp-spec-table th {
  background: var(--sp-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 11px 13px;
  text-align: left;
  border: 1px solid #243f31;
}

.sp-spec-table td {
  padding: 10px 13px;
  border: 1px solid var(--sp-border);
  vertical-align: top;
  line-height: 1.6;
}

.sp-spec-table th:first-child,
.sp-spec-table td:first-child {
  min-width: 152px;
  word-break: keep-all;
}

#sp-spec-matrix .sp-spec-table th:first-child,
#sp-spec-matrix .sp-spec-table td:first-child {
  min-width: 176px;
  white-space: nowrap;
}

.sp-spec-table tbody tr:nth-child(even) {
  background: var(--sp-surface-warm);
}

/* Gear Card (Supports BOTH Creators API Official Image + Text Fallback + Amazon & Rakuten Parallel Buttons) */
.sp-gear-card {
  background: #ffffff;
  border: 1px solid var(--sp-border-strong);
  border-top: 4px solid var(--sp-primary);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 24px 0 28px;
  box-shadow: 0 3px 14px rgba(31, 36, 33, 0.06);
}

.sp-gear-card.sp-gear-alt {
  border-top-color: var(--sp-accent);
  background: #fffdf9;
}

.sp-gear-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sp-gear-thumb {
  flex: 0 0 156px;
  width: 156px;
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.sp-gear-thumb img {
  max-width: 100%;
  max-height: 156px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.sp-gear-body {
  flex: 1 1 auto;
  min-width: 0;
}

.sp-gear-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.sp-gear-badge {
  display: inline-block;
  background: var(--sp-primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  line-height: 1.4;
}

.sp-gear-alt .sp-gear-badge {
  background: var(--sp-accent);
}

.sp-gear-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-ink-sub);
}

.sp-gear-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--sp-ink);
  line-height: 1.42;
  margin-bottom: 8px;
}

.sp-gear-desc {
  font-size: 14px;
  color: var(--sp-ink-sub);
  line-height: 1.7;
  margin: 0 0 14px !important;
}

.sp-gear-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 7px;
  text-decoration: none !important;
  color: #ffffff !important;
  flex: 1 1 200px;
  text-align: center;
  transition: opacity 0.16s, transform 0.12s;
}
.sp-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.sp-btn-amazon { background: var(--sp-accent); }
.sp-btn-rakuten { background: var(--sp-rakuten); }
.sp-btn-direct { background: var(--sp-primary); }

.sp-gear-note {
  font-size: 11.5px !important;
  color: var(--sp-ink-muted);
  margin: 0 !important;
  line-height: 1.5;
}

/* Companion Field Kit Box */
.sp-kit-wrap {
  background: var(--sp-surface-warm);
  border: 1px solid var(--sp-border-strong);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0;
}

.sp-kit-head {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--sp-primary);
  margin-bottom: 6px;
}

.sp-kit-lead {
  font-size: 13.5px !important;
  color: var(--sp-ink-sub);
  margin-bottom: 16px !important;
}

.sp-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sp-kit-item {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sp-kit-step {
  font-size: 11px;
  font-weight: 800;
  color: var(--sp-accent);
  margin-bottom: 4px;
}

.sp-kit-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--sp-ink);
  line-height: 1.4;
  margin-bottom: 6px;
}

.sp-kit-desc {
  font-size: 12.5px !important;
  color: var(--sp-ink-sub);
  line-height: 1.55;
  margin: 0 0 12px !important;
}

.sp-kit-links {
  display: flex;
  gap: 6px;
}

.sp-k-amz, .sp-k-rak {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 6px;
  border-radius: 5px;
  color: #ffffff !important;
  text-decoration: none !important;
}
.sp-k-amz { background: var(--sp-accent); }
.sp-k-rak { background: var(--sp-rakuten); }

/* Category & Latest Post Grids (Homepage) */
.sp-cat-grid,
.sp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sp-cat-card {
  display: block;
  background: var(--sp-surface-warm);
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none !important;
  color: var(--sp-ink) !important;
  transition: border-color 0.18s, transform 0.15s;
}
.sp-cat-card:hover {
  border-color: var(--sp-primary);
  transform: translateY(-2px);
}

.sp-cat-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.sp-cat-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--sp-primary);
  background: var(--sp-primary-soft);
  padding: 2px 8px;
  border-radius: 4px;
}

.sp-cat-status {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--sp-accent);
}

.sp-cat-name {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sp-cat-desc {
  font-size: 12.8px !important;
  color: var(--sp-ink-sub);
  margin: 0 !important;
  line-height: 1.6;
}

.sp-post-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--sp-ink) !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.sp-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 36, 33, 0.08);
}

.sp-post-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e5e2d9;
  overflow: hidden;
}

.sp-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-post-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(31, 54, 42, 0.9);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.sp-post-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sp-post-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 8px;
}

.sp-post-date {
  font-size: 12px;
  color: var(--sp-ink-muted);
}

/* Sidebar Navigation */
.sp-side-nav {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  padding: 18px;
}

.sp-side-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--sp-primary);
  border-bottom: 2px solid var(--sp-primary-soft);
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.sp-side-links a {
  display: block;
  padding: 7px 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sp-ink) !important;
  text-decoration: none !important;
  border-radius: 6px;
}
.sp-side-links a:hover {
  background: var(--sp-primary-soft);
  color: var(--sp-primary) !important;
}

/* Article Footer Editorial Notice */
.sp-notice-box {
  background: var(--sp-surface-warm);
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--sp-ink-sub);
  line-height: 1.65;
}

.sp-notice-title {
  font-weight: 800;
  color: var(--sp-ink);
  margin-bottom: 6px;
}

/* Dark Forest Footer with Crisp Light Logo Pill */
.footer, #footer {
  background: var(--sp-primary-dark) !important;
  color: #e2ebe5 !important;
  margin-top: 40px;
  padding-bottom: 42px;
}

.footer a, #footer a {
  color: #d5e6dc !important;
}

.footer .logo-footer img,
#footer .logo-footer img {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  max-height: 44px;
  width: auto;
}

.go-to-top-button {
  right: 16px !important;
  bottom: 16px !important;
}

/* Mobile Responsive (390px) */
@media screen and (max-width: 834px) {
  #header-container-in {
    padding: 8px 14px !important;
  }
  .main, #main {
    padding: 20px 16px;
  }
  .sp-hero {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 18px;
  }
  .sp-hero-title {
    font-size: 1.38rem !important;
  }
  .sp-home-section {
    padding: 20px 16px;
  }
  .sp-sec-header {
    flex-direction: column;
    gap: 4px;
  }
  .sp-cat-grid,
  .sp-post-grid,
  .sp-kit-grid {
    grid-template-columns: 1fr;
  }
  .sp-gear-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .sp-gear-thumb {
    width: 100%;
    flex: none;
    max-width: 220px;
    margin: 0 auto;
  }
  .sp-gear-card {
    padding: 16px;
  }
  .sp-btn {
    flex: 1 1 100%;
  }
}
