/* ============================================
   TAKUBOX Blog - Common Styles
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', -apple-system, sans-serif;
  color: #333;
  background: #fff;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}
a { color: #4A90D9; }
a:hover { opacity: 0.7; }

/* Header */
.blog-header {
  background: #000;
  padding: 16px 0;
}
.blog-header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-header-logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: invert(1);
}
.blog-header-nav {
  display: flex;
  gap: 24px;
}
.blog-header-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.blog-header-nav a:hover { color: #fff; opacity: 1; }

/* Article */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 40px 100px;
}

/* Meta */
.article-meta {
  margin-bottom: 32px;
}
.article-category {
  display: inline-block;
  background: #4A90D9;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 8px;
}
.article-date {
  font-size: 13px;
  color: #999;
}

/* Title */
.article-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
  margin-bottom: 24px;
}

/* Lead */
.article-lead {
  font-size: 16px;
  color: #555;
  line-height: 2;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

/* TOC */
.toc {
  background: #f8f8f8;
  padding: 28px 32px;
  margin-bottom: 48px;
  border-radius: 4px;
}
.toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
}
.toc li {
  font-size: 14px;
  line-height: 2;
  color: #555;
}
.toc a {
  text-decoration: none;
  color: #555;
}
.toc a:hover {
  color: #4A90D9;
  opacity: 1;
}

/* Body */
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 56px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 36px 0 12px;
}
.article-body p {
  font-size: 15px;
  line-height: 2.2;
  color: #444;
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  font-size: 15px;
  line-height: 2.2;
  color: #444;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body strong {
  color: #222;
}

/* Checklist */
.checklist {
  background: #FFF9F0;
  border: 1px solid #F5A623;
  border-radius: 4px;
  padding: 28px 32px;
  margin: 24px 0 32px;
}
.checklist-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}
.checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  font-size: 15px;
  line-height: 2;
  color: #444;
  padding-left: 24px;
  position: relative;
}
.checklist li::before {
  content: "\25A1";
  position: absolute;
  left: 0;
  color: #F5A623;
}

/* Point box */
.point-box {
  background: #f0f6ff;
  border-left: 4px solid #4A90D9;
  padding: 24px 28px;
  margin: 24px 0 32px;
}
.point-box p {
  font-size: 15px;
  line-height: 2;
  color: #333;
  margin: 0;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 14px;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: center;
}
.comparison-table thead th {
  background: #f5f5f5;
  font-weight: 500;
  color: #333;
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #333;
}
.comparison-table .check { color: #27AE60; font-weight: 700; }
.comparison-table .cross { color: #E84040; }
.comparison-table .triangle { color: #F5A623; }

/* CTA */
.article-cta {
  background: #111;
  color: #fff;
  padding: 40px;
  margin: 56px 0 32px;
  text-align: center;
  border-radius: 4px;
}
.article-cta h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.article-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  line-height: 1.8;
}
.article-cta-btn {
  display: inline-block;
  padding: 12px 48px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.article-cta-btn:hover {
  background: #fff;
  color: #111;
  opacity: 1;
}

/* Related */
.article-related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}
.article-related h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}
.article-related ul {
  list-style: none;
  padding: 0;
}
.article-related li {
  margin-bottom: 8px;
}
.article-related a {
  font-size: 14px;
  text-decoration: none;
}

/* Footer */
.blog-footer {
  text-align: center;
  padding: 40px;
  font-size: 12px;
  color: #999;
  border-top: 1px solid #eee;
}
.blog-footer a {
  color: #999;
  text-decoration: none;
  margin: 0 12px;
}

@media (max-width: 768px) {
  .article { padding: 32px 24px 80px; }
  .article-title { font-size: 22px; }
  .blog-header-inner { padding: 0 24px; }
  .blog-header-nav { gap: 16px; }
  .blog-header-nav a { font-size: 12px; }
  .article-cta { padding: 32px 24px; }
  .comparison-table { font-size: 12px; }
  .comparison-table th,
  .comparison-table td { padding: 8px 10px; }
}
