* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    sans-serif;
  background: #ffffff;
  color: #111;
  line-height: 1.7;
}

.mono {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 24px;
}

/* トップバー */
.topbar {
  border-bottom: 1px solid #eee;
  background: #fafafa;
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
}

/* ヘッダー */
.header {
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 14px;
  letter-spacing: 0.05em;
}

.nav a {
  margin-left: 28px;
  font-size: 13px;
  text-decoration: none;
  color: #666;
}

.nav a:hover {
  color: #000;
}

/* ヒーロー */
.hero {
  padding: 72px 0 48px;
}

.hero h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: #777;
  margin: 10px 0 24px;
}

.meta {
  margin-top: 18px;
  font-size: 12px;
  color: #888;
  display: flex;
  gap: 18px;
}

/* 検索 */
.search-box input {
  width: 100%;
  max-width: 480px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  border-radius: 6px;
}

/* セクション */
.section {
  margin-top: 72px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section h2 {
  font-size: 18px;
  font-weight: 600;
}

/* カード */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid #e5e7eb;
  padding: 18px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  background: #fff;
  transition: 0.2s;
}

.card:hover {
  border-color: #111;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.card-title {
  font-weight: 600;
  font-size: 15px;
}

.card-tag {
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid #ddd;
  color: #666;
}

.card-desc {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-meta {
  font-size: 11px;
  color: #999;
}

/* リスト */
.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #eee;
  padding: 16px;
  text-decoration: none;
  color: #111;
}

.list-item:hover {
  background: #fafafa;
}

.list-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.list-item p {
  font-size: 13px;
  color: #777;
}

/* タグ */
.tag {
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid #111;
}

/* フッター */
.footer {
  border-top: 1px solid #eee;
  margin-top: 80px;
}

.footer-inner {
  height: 60px;
  display: flex;
  align-items: center;
}

.breadcrumb {
  font-size: 12px;
  margin-top: 30px;
  color: #777;
}

.breadcrumb a {
  text-decoration: none;
  color: #777;
}

.tool-hero {
  margin-top: 20px;
}

.tool-hero h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

.tool-desc {
  color: #666;
  margin-bottom: 20px;
}

.official-link {
  display: inline-block;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #111;
  padding: 10px 16px;
  color: #111;
  transition: 0.2s;
}

.official-link:hover {
  background: #111;
  color: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.info-item {
  border: 1px solid #eee;
  padding: 14px;
}

.label {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.feature-list {
  padding-left: 18px;
}

.feature-list li {
  margin-bottom: 8px;
}

/* トップページ専用スタイル */

/* メインヒーロー */
.hero-main {
  text-align: center;
  padding: 80px 0 60px;
  border-bottom: 1px solid #eee;
}

.hero-main-title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-main-subtitle {
  font-size: 20px;
  color: #666;
  margin-bottom: 20px;
}

.hero-main-desc {
  font-size: 15px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* 統計表示 */
.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* セクションヘッダー（中央） */
.section-header-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-header-center h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: #777;
}

/* カテゴリグリッド */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.category-card {
  border: 1px solid #e5e7eb;
  padding: 32px 24px;
  text-decoration: none;
  color: #111;
  text-align: center;
  transition: 0.2s;
  background: #fff;
}

.category-card:hover {
  border-color: #111;
  transform: translateY(-2px);
}

.category-icon {
  width: 64px;
  height: 64px;
  border: 2px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 14px;
  font-weight: 600;
}

.category-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 16px;
}

.category-count {
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
}

.category-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tool-badge {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  color: #666;
  background: #fafafa;
}

/* おすすめツールグリッド */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.featured-card {
  border: 1px solid #e5e7eb;
  padding: 24px;
  text-decoration: none;
  color: #111;
  transition: 0.2s;
  background: #fff;
}

.featured-card:hover {
  border-color: #111;
  transform: translateY(-2px);
}

.featured-header {
  margin-bottom: 16px;
}

.featured-badge {
  font-size: 10px;
  padding: 4px 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
}

.featured-badge.recommended {
  background: #111;
  color: #fff;
}

.featured-badge.quality {
  border: 1px solid #111;
  color: #111;
}

.featured-badge.creative {
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #666;
}

.featured-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.featured-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.featured-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.featured-tag {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  color: #666;
}

.featured-price {
  font-size: 11px;
  color: #999;
}

/* CTAボックス */
.cta-box {
  text-align: center;
  border: 2px solid #111;
  padding: 48px 32px;
  background: #fafafa;
}

.cta-box h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: 0.2s;
}

.cta-button:hover {
  background: #333;
}

/* ツールリスト */
.tool-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e5e7eb;
  padding: 20px;
  text-decoration: none;
  color: #111;
  transition: 0.2s;
  background: #fff;
}

.tool-list-item:hover {
  border-color: #111;
  background: #fafafa;
}

.tool-list-left h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tool-list-left p {
  font-size: 13px;
  color: #777;
}

.tool-list-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tool-list-tag {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  color: #666;
  white-space: nowrap;
}

.tool-list-price {
  font-size: 11px;
  color: #999;
  white-space: nowrap;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 32px;
  }

  .stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 24px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .tool-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tool-list-right {
    width: 100%;
    justify-content: flex-start;
  }
}

/* 比較記事用スタイル */

/* 比較表 */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e5e7eb;
  padding: 14px;
  text-align: left;
}

.comparison-table thead th {
  background: #fafafa;
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background: #fafafa;
}

.comparison-table td:first-child {
  font-weight: 500;
}

/* 用途別カード */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.use-case-card {
  border: 1px solid #e5e7eb;
  padding: 20px;
  background: #fff;
}

.use-case-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.recommended {
  font-size: 14px;
  color: #111;
  margin-bottom: 8px;
}

.recommended strong {
  color: #000;
  font-weight: 700;
}

.reason {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* 料金カード */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.pricing-card {
  border: 2px solid #e5e7eb;
  padding: 24px;
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.price {
  text-align: center;
  margin-bottom: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.price-amount {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-plan {
  display: block;
  font-size: 12px;
  color: #777;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-features li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  color: #666;
}

.pricing-features li:before {
  content: "✓ ";
  color: #111;
  font-weight: 600;
  margin-right: 8px;
}

/* 結論ボックス */
.conclusion-box {
  border: 2px solid #111;
  padding: 32px;
  background: #fafafa;
  margin-top: 24px;
}

.conclusion-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 24px;
}

.conclusion-box h3:first-child {
  margin-top: 0;
}

.conclusion-box p {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

/* インラインCTAボタン */
.cta-inline {
  margin-top: 20px;
}

.cta-button-small {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}

.cta-button-small:hover {
  background: #111;
  color: #fff;
}

/* 記事内見出し */
article h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

article h3:first-of-type {
  margin-top: 20px;
}