/* ==========================================================================
   monoken（モノ研）- メインスタイルシート
   モバイルファースト / 白ベース + 青系アクセント
   参考: mybest, rentry, the360.life のUI/UXパターン
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #333;
  background: #f5f5f5;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

/* --- Layout --- */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 3px solid #2563eb;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 900;
  color: #2563eb;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-sub {
  font-size: 0.62rem;
  color: #94a3b8;
  display: none;
}

/* ハンバーガーメニュー（モバイル） */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #334155;
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* ハンバーガー → × アニメーション */
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
  background: #334155;
}
.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
  background: #334155;
}

/* ナビゲーション（モバイル: ドロワー） */
.global-nav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 99;
}

.global-nav.open {
  opacity: 1;
  visibility: visible;
}

.global-nav ul {
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.global-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.global-nav a:hover {
  background: #eff6ff;
  color: #2563eb;
  text-decoration: none;
}

.global-nav li:last-child a {
  border-bottom: none;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.78rem;
  color: #888;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li::after {
  content: "›";
  margin-left: 6px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: #64748b;
}

.breadcrumb a:hover {
  color: #2563eb;
  text-decoration: none;
}

/* --- Hero (トップページ) --- */
.hero {
  position: relative;
  text-align: center;
  padding: 52px 24px 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.15) 100%),
    url("/assets/images/ui/hero-bg.jpg") center/cover no-repeat;
  border-radius: 16px;
  margin: 16px 0 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.08);
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

.hero h1 .accent {
  color: #2563eb;
}

.hero p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  font-weight: 500;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

/* --- Category Grid --- */
.home-categories {
  padding: 24px 0;
}

.section-heading {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
  color: #1e293b;
}

.home-categories h2,
.home-latest h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
  color: #1e293b;
}

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

.category-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  transition: all 0.2s;
  text-decoration: none;
}

.category-card:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}

.category-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.category-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

.category-card p {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-top: 2px;
}

/* --- Article Grid (Home / Category) --- */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.article-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  transition: all 0.2s;
  text-decoration: none;
  align-items: center;
}

.article-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.article-card-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #2563eb;
  text-align: center;
  line-height: 1.2;
}

.article-card-body {
  flex: 1;
  min-width: 0;
}

.article-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: #94a3b8;
}

.article-card-meta .tag {
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 3px;
  color: #64748b;
}

.home-latest {
  padding: 24px 0 40px;
}

/* --- Article Page --- */
.article-page {
  padding: 16px 0 40px;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.5;
  color: #1e293b;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.article-reviews {
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
}

.article-description {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.9;
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  border-left: 4px solid #2563eb;
}

/* --- YouTube Embed --- */
.youtube-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- TOC --- */
.toc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.toc h2 {
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc h2::before {
  content: "📋";
  font-size: 1rem;
}

.toc ol {
  list-style: none;
  padding-left: 0;
  counter-reset: toc-counter;
}

.toc li {
  counter-increment: toc-counter;
  margin-bottom: 0;
  border-bottom: 1px solid #f8fafc;
}

.toc li:last-child {
  border-bottom: none;
}

.toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  font-size: 0.85rem;
  color: #334155;
  border-radius: 4px;
  transition: background 0.2s;
}

.toc a:hover {
  background: #eff6ff;
  color: #2563eb;
  text-decoration: none;
}

.toc a::before {
  content: counter(toc-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  flex-shrink: 0;
}

/* --- Product Card --- */
.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ランキングバッジ */
.product-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  background: #2563eb;
  color: #fff;
}

/* Top3 特別バッジ */
.product-card.rank-1 {
  border-color: #fbbf24;
  border-width: 2px;
}

.product-card.rank-1 .product-rank {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  font-size: 0.95rem;
  padding: 6px 16px;
}

.product-card.rank-2 {
  border-color: #d1d5db;
  border-width: 2px;
}

.product-card.rank-2 .product-rank {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

.product-card.rank-3 {
  border-color: #d97706;
  border-width: 2px;
}

.product-card.rank-3 .product-rank {
  background: linear-gradient(135deg, #d97706, #92400e);
}

.product-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.5;
}

.product-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.product-image {
  flex-shrink: 0;
  width: 140px;
}

.product-image a {
  display: block;
  transition: opacity 0.2s;
}

.product-image a:hover {
  opacity: 0.85;
}

.product-image img {
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  object-fit: contain;
}

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.product-image-placeholder:hover {
  opacity: 0.85;
  text-decoration: none;
}

.placeholder-text {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.4;
}

.product-info {
  flex: 1;
}

.product-maker {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 500;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: #dc2626;
  margin-bottom: 6px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.star {
  color: #f59e0b;
}

.star-empty {
  color: #e2e8f0;
}

.star-half {
  color: #f59e0b;
  opacity: 0.6;
}

.rating-value {
  font-weight: 800;
  color: #1e293b;
  font-size: 0.9rem;
}

.review-count {
  color: #94a3b8;
  font-size: 0.72rem;
}

/* --- Satisfaction Chart --- */
.satisfaction-chart {
  margin-bottom: 18px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
}

.satisfaction-chart h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.satisfaction-chart h3::before {
  content: "📊";
  font-size: 0.9rem;
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.chart-label {
  font-size: 0.73rem;
  color: #64748b;
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 500;
}

.chart-track {
  flex: 1;
  height: 14px;
  background: #e2e8f0;
  border-radius: 7px;
  overflow: hidden;
}

.chart-fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  border-radius: 7px;
  transition: width 0.8s ease;
}

.chart-value {
  font-size: 0.73rem;
  font-weight: 800;
  color: #1e293b;
  width: 36px;
  flex-shrink: 0;
}

/* --- Merit / Demerit --- */
.merit-demerit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.merits, .demerits {
  padding: 14px 16px;
  border-radius: 10px;
}

.merits {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.demerits {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.merits h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.merits h3::before {
  content: "○";
  font-weight: 900;
}

.demerits h3 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.demerits h3::before {
  content: "△";
  font-weight: 900;
}

.merits ul, .demerits ul {
  list-style: none;
  padding-left: 0;
}

.merits li, .demerits li {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 3px;
  padding-left: 16px;
  position: relative;
}

.merits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.demerits li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

.merits li {
  color: #166534;
}

.demerits li {
  color: #991b1b;
}

.product-summary {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.9;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #cbd5e1;
}

/* --- Affiliate Buttons --- */
.affiliate-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.2s;
  flex: 1;
  min-width: 140px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-amazon {
  background: linear-gradient(135deg, #ff9900, #e88b00);
  color: #fff;
}

.btn-rakuten {
  background: linear-gradient(135deg, #bf0000, #a80000);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

/* --- Category Page --- */
.category-page {
  padding: 16px 0 40px;
}

.category-page h1 {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 8px;
}

.category-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 24px;
}

/* --- VS Compare --- */
.vs-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.vs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.vs-table th,
.vs-table td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.vs-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}

.vs-table td:first-child {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
  text-align: left;
  width: 100px;
}

.vs-col-a { color: #2563eb; }
.vs-col-b { color: #dc2626; }

.vs-chart-section {
  margin-bottom: 24px;
}

.vs-chart-section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
}

.vs-chart-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.vs-chart-label {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  font-weight: 600;
  color: #475569;
}

.vs-chart-val-a,
.vs-chart-val-b {
  flex-shrink: 0;
  width: 36px;
  font-weight: 700;
}

.vs-chart-val-a { text-align: right; color: #2563eb; }
.vs-chart-val-b { text-align: left; color: #dc2626; }

.vs-chart-bar-a,
.vs-chart-bar-b {
  flex: 1;
  height: 12px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}

.vs-chart-bar-a {
  direction: rtl;
}

.vs-chart-bar-a .chart-fill {
  background: linear-gradient(90deg, #93c5fd, #2563eb);
}

.vs-chart-bar-b .chart-fill {
  background: linear-gradient(90deg, #fca5a5, #dc2626);
}

.vs-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.vs-product-detail {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
}

.vs-product-detail h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .vs-details {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Related Articles --- */
.related-articles {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #e2e8f0;
}

.related-articles h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
}

.related-articles ul {
  list-style: none;
  padding-left: 0;
}

.related-articles li {
  margin-bottom: 6px;
}

.related-articles a {
  display: block;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #334155;
  transition: all 0.2s;
}

.related-articles a:hover {
  background: #eff6ff;
  color: #2563eb;
  text-decoration: none;
}

/* --- Error Page --- */
.error-page {
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.error-page p {
  color: #64748b;
  margin-bottom: 24px;
}

.error-suggestions {
  margin-top: 40px;
  text-align: left;
}

.error-suggestions h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-suggestions ul {
  list-style: disc;
  padding-left: 20px;
}

.error-suggestions li {
  margin-bottom: 8px;
}

/* --- Footer --- */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 36px 0 24px;
  margin-top: 40px;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-affiliate-notice {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.7;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

.footer-copyright {
  font-size: 0.72rem;
  color: #475569;
}

/* --- Static Pages (about, privacy, disclosure) --- */
.static-page {
  padding: 24px 0 40px;
}

.static-page h1 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
}

.static-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  margin: 24px 0 8px;
  padding-left: 12px;
  border-left: 4px solid #2563eb;
}

.static-page p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
}

.static-page ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.static-page li {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 4px;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* ==========================================================================
   Desktop (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .site-header .container {
    height: 60px;
  }

  .logo-sub {
    display: block;
  }

  /* デスクトップ: ハンバーガー非表示、ナビを横並び */
  .menu-toggle {
    display: none;
  }

  .global-nav {
    position: static;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  .global-nav ul {
    display: flex;
    gap: 2px;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .global-nav a {
    display: block;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    border-radius: 6px;
    border-bottom: none;
  }

  .global-nav a:hover {
    background: #eff6ff;
    color: #2563eb;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

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

  .article-title {
    font-size: 1.6rem;
  }

  .product-image {
    width: 180px;
  }

  .product-card {
    padding: 24px;
  }

  .merit-demerit {
    grid-template-columns: 1fr 1fr;
  }

  .affiliate-links .btn {
    flex: 0;
    min-width: 180px;
  }
}

/* ==========================================================================
   Large Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  .container {
    max-width: 900px;
  }
}
