/* === Column Layout (記事本文のみ。ヘッダー・フッターはstyle.cssを使用) === */
.column-container { max-width: 740px; margin: 0 auto; padding: 0 20px; }
.column-container--wide { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* === Breadcrumb === */
.column-breadcrumb { font-size: 13px; color: #666; padding: 16px 0; }
.column-breadcrumb a { color: #666; }
.column-breadcrumb a:hover { color: #222; }

/* === Article Header === */
.column-article-header { margin-bottom: 32px; }
.column-hero-image { width: 100%; border: 1px solid #eee; margin-bottom: 20px; }
.column-article-header h1 { font-size: 26px; line-height: 1.5; margin-bottom: 12px; }
.column-article-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: #666; }
.column-category-badge { background: #222; color: #fff; padding: 2px 10px; font-size: 12px; }

/* === Section Headings === */
.column-section { margin-bottom: 40px; }
.column-section h2 { font-size: 20px; padding-bottom: 8px; border-bottom: 2px solid #222; margin-bottom: 20px; }

/* === Info Table === */
.column-info-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.column-info-table th { background: #f5f5f5; padding: 10px 14px; text-align: left; font-size: 14px; font-weight: 600; width: 30%; border: 1px solid #ddd; }
.column-info-table td { padding: 10px 14px; font-size: 14px; border: 1px solid #ddd; }
.column-info-table td a { color: #222; text-decoration: underline; }

/* === Target Users === */
.column-target-list { list-style: none; padding: 0; }
.column-target-list li { padding: 10px 0 10px 24px; border-bottom: 1px solid #eee; font-size: 15px; position: relative; }
.column-target-list li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: #222; border-radius: 50%; }

/* === Summary === */
.column-summary { padding: 0; margin-bottom: 32px; font-size: 15px; line-height: 1.8; color: #333; }
.column-summary p { margin: 0 0 1em; }
.column-summary p:last-child { margin-bottom: 0; }

/* === Feature Cards === */
.column-features-grid { display: flex; flex-direction: column; gap: 16px; }
.column-feature-card { padding: 0; }
.column-feature-card h3 { font-size: 15px; margin-bottom: 8px; }
.column-feature-card p { font-size: 14px; color: #555; line-height: 1.7; }

/* === Tech Specs === */
.column-tech-table { width: 100%; border-collapse: collapse; }
.column-tech-table th { background: #f5f5f5; padding: 10px 14px; text-align: left; font-size: 14px; font-weight: 600; width: 30%; border: 1px solid #ddd; }
.column-tech-table td { padding: 10px 14px; font-size: 14px; border: 1px solid #ddd; }

/* === Mobile Screenshot === */
.column-mobile-screenshot { text-align: center; margin: 24px 0; }
.column-mobile-screenshot img { max-width: 375px; border: 1px solid #eee; }
.column-mobile-screenshot figcaption { font-size: 13px; color: #666; margin-top: 8px; }

/* === Comparison Table === */
.column-comparison-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.column-comparison-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.column-comparison-table th { background: #f5f5f5; padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 600; border: 1px solid #ddd; white-space: nowrap; }
.column-comparison-table td { padding: 10px 14px; font-size: 13px; border: 1px solid #ddd; }
.column-comparison-table td a { text-decoration: underline; }

/* === License Notes === */
.column-license { background: #f9f9f9; padding: 20px; border-left: 3px solid #222; font-size: 14px; line-height: 1.7; }

/* === CTA Box === */
.column-cta-box { border: 2px solid #222; padding: 32px; text-align: center; margin-bottom: 40px; }
.column-cta-box p { margin-bottom: 16px; font-size: 15px; }
.column-cta-box p a { text-decoration: underline; }
.column-btn-primary { display: inline-block; background: #222; color: #fff; padding: 12px 32px; font-size: 14px; border: none; cursor: pointer; }
.column-btn-primary:hover { background: #444; color: #fff; }

/* === Portal Links === */
.column-portal-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.column-portal-link { display: block; border: 1px solid #222; padding: 14px; text-align: center; font-size: 14px; }
.column-portal-link:hover { background: #222; color: #fff; }

/* === Index Page === */
.column-index-title { font-size: 20px; font-weight: 600; margin: 32px 0 24px; }

.column-articles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
.column-article-card { border: 1px solid #ccc; }
.column-article-card-thumb { aspect-ratio: 16/10; overflow: hidden; display: block; }
.column-article-card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.2s; }
.column-article-card-thumb:hover img { opacity: 0.8; }
.column-article-card-body { padding: 16px; }
.column-article-card-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 12px; color: #666; }
.column-article-card-title { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.column-article-card-title a { color: #222; }
.column-article-card-title a:hover { text-decoration: underline; }
.column-article-card-excerpt { font-size: 13px; color: #555; line-height: 1.6; }
.column-no-articles { text-align: center; padding: 60px 0; color: #666; }
.column-new-badge { display: inline-block; background: #e74c3c; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 2px; letter-spacing: 0.5px; }

/* === Table of Contents === */
.column-toc { background: #f8f8f8; padding: 24px 32px; margin-bottom: 32px; }
.column-toc h2 { font-size: 16px; margin-bottom: 12px; }
.column-toc ol { padding-left: 20px; margin: 0; }
.column-toc li { font-size: 14px; line-height: 2; }
.column-toc a { color: #222; text-decoration: none; }
.column-toc a:hover { text-decoration: underline; }

/* === Compare Article === */
.compare-item-card { border: 1px solid #ddd; padding: 24px; margin-bottom: 24px; }
.compare-item-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.compare-rank { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #222; color: #fff; font-size: 14px; font-weight: 700; border-radius: 50%; flex-shrink: 0; }
.compare-item-header h3 { font-size: 16px; margin: 0; line-height: 1.4; }
.compare-item-body { display: flex; flex-direction: column; gap: 16px; }
.compare-item-thumb { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.compare-item-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.compare-item-info { flex: 1; }
.compare-item-desc { font-size: 14px; line-height: 1.7; color: #444; margin-bottom: 12px; }
.compare-item-desc p { margin: 0 0 0.8em; }
.compare-item-desc p:last-child { margin-bottom: 0; }
.compare-column-link, .compare-detail-link { display: inline-block; font-size: 13px; margin-top: 8px; margin-right: 16px; color: #222; text-decoration: underline; }
.compare-column-link:hover, .compare-detail-link:hover { color: #666; }

/* === Portal Banner (Index) === */
.column-portal-banner { text-align: center; margin: 40px 0; }
.column-portal-banner-link { display: inline-block; border: 1px solid #222; padding: 14px 40px; font-size: 14px; color: #222; }
.column-portal-banner-link:hover { background: #222; color: #fff; }

/* === PC Top Bar (sticky above header) === */
.column-topbar { background: #222; text-align: center; padding: 5px 0; position: sticky; top: 0; z-index: 200; }
.column-topbar a { color: #fff; font-size: 13px; letter-spacing: 0.5px; }
.column-topbar a:hover { text-decoration: underline; }

/* === SP Sticky Banner === */
.column-portal-sticky { display: none; }

/* === Responsive === */
@media (max-width: 768px) {
  .column-article-header h1 { font-size: 20px; }
  .column-section h2 { font-size: 18px; }
  .column-articles-grid { grid-template-columns: 1fr; }
  .column-info-table th { width: 35%; }
  .compare-item-thumb { max-width: 100%; }
  .column-topbar { display: none; }
  .column-portal-banner { display: none; }
  .column-portal-sticky { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: #222; text-align: center; padding: 14px 0; }
  .column-portal-sticky a { color: #fff; font-size: 14px; font-weight: 600; }
}
