/* prompts.ai-pick.tech - 引き算デザイン (黒/白/朱赤) */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --c-bg: #ffffff;
  --c-text: #1a1a1a;
  --c-muted: #6b6b6b;
  --c-line: #e8e6e0;
  --c-accent: #c0392b;
  --c-accent-soft: #faeeec;
  --c-cream: #faf8f3;
  --c-code-bg: #1f1d1a;
  --c-code-text: #f5f3ee;
  --c-coding: #2d6cdf;
  --c-writing: #c0392b;
  --c-analysis: #6b46c1;
  --c-translation: #0f8b6c;
  --c-image: #d97706;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 720px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--c-line);
  padding: 16px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { font-size: 18px; font-weight: 700; color: var(--c-text); letter-spacing: -0.01em; }
.logo .dot { color: var(--c-accent); }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.main-nav a { color: var(--c-text); font-weight: 500; }
.main-nav a.muted { color: var(--c-muted); font-weight: 400; }
.main-nav a:hover { color: var(--c-accent); text-decoration: none; }

/* Hero */
.hero { padding: 56px 0 40px; border-bottom: 1px solid var(--c-line); background: var(--c-cream); }
.hero h1 { font-size: 32px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero .lead { font-size: 17px; margin: 0 0 8px; }
.hero .sub { font-size: 14px; color: var(--c-muted); margin: 0; }

/* Section */
.section { padding: 48px 0; }
.section-alt { background: var(--c-cream); }
.section h2 { font-size: 22px; font-weight: 700; margin: 0 0 24px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cat-card {
  display: block;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  color: var(--c-text);
  transition: border-color 0.15s, transform 0.15s;
}
.cat-card:hover { border-color: var(--c-accent); transform: translateY(-2px); text-decoration: none; }
.cat-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.cat-card p { margin: 0 0 12px; font-size: 13px; color: var(--c-muted); line-height: 1.6; }
.cat-count { font-size: 12px; color: var(--c-accent); font-weight: 600; }

/* Prompt list */
.prompt-list { list-style: none; padding: 0; margin: 0; }
.prompt-item {
  border-bottom: 1px solid var(--c-line);
  padding: 16px 0;
}
.prompt-item:first-child { border-top: 1px solid var(--c-line); }
.prompt-item a { font-weight: 600; font-size: 16px; color: var(--c-text); }
.prompt-item a:hover { color: var(--c-accent); }
.prompt-when { margin: 6px 0 0; font-size: 13px; color: var(--c-muted); }

/* Cat badge */
.cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
  letter-spacing: 0.02em;
  color: #fff;
}
.cat-coding { background: var(--c-coding); }
.cat-writing { background: var(--c-writing); }
.cat-analysis { background: var(--c-analysis); }
.cat-translation { background: var(--c-translation); }
.cat-image { background: var(--c-image); }

/* Colored cat-card overrides (badges are unaffected because their .cat-card scope doesn't apply) */
.cat-card.cat-coding,
.cat-card.cat-writing,
.cat-card.cat-analysis,
.cat-card.cat-translation,
.cat-card.cat-image {
  color: #fff;
  border-color: transparent;
}
.cat-card.cat-coding h3,
.cat-card.cat-writing h3,
.cat-card.cat-analysis h3,
.cat-card.cat-translation h3,
.cat-card.cat-image h3 { color: #fff; }
.cat-card.cat-coding p,
.cat-card.cat-writing p,
.cat-card.cat-analysis p,
.cat-card.cat-translation p,
.cat-card.cat-image p { color: rgba(255,255,255,0.95); }
.cat-card.cat-coding .cat-count,
.cat-card.cat-writing .cat-count,
.cat-card.cat-analysis .cat-count,
.cat-card.cat-translation .cat-count,
.cat-card.cat-image .cat-count {
  color: #fff;
  background: rgba(0,0,0,0.18);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
}
.cat-card.cat-coding:hover,
.cat-card.cat-writing:hover,
.cat-card.cat-analysis:hover,
.cat-card.cat-translation:hover,
.cat-card.cat-image:hover {
  border-color: rgba(255,255,255,0.4);
}

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--c-muted); margin: 24px 0 12px; }
.breadcrumb a { color: var(--c-muted); }

/* Article */
.article { padding: 24px 0 64px; }
.article h1 { font-size: 26px; font-weight: 700; margin: 12px 0 24px; line-height: 1.4; letter-spacing: -0.01em; }
.article h2 { font-size: 19px; font-weight: 700; margin: 36px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--c-line); }
.article-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-muted); margin: 16px 0 0; }

.article-when p { font-size: 15px; line-height: 1.85; }

/* Copyable prompt block */
.copy-wrap { position: relative; margin: 12px 0; }
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--c-accent);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1;
}
.copy-btn:hover { background: #a52a1f; }
.copy-btn.copied { background: var(--c-translation); }
pre {
  background: var(--c-code-bg);
  color: var(--c-code-text);
  padding: 44px 16px 16px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}
pre code { font-family: inherit; }

/* Points */
.article-points ol { padding-left: 22px; }
.article-points li { margin-bottom: 10px; line-height: 1.7; }

/* CTA */
.article-cta {
  margin-top: 40px;
  padding: 20px;
  background: var(--c-accent-soft);
  border-left: 3px solid var(--c-accent);
  border-radius: 4px;
  font-size: 14px;
}
.article-cta p { margin: 0; }

/* Affiliate block (Phase B 2026-05-21) */
.affiliate-wrap {
  margin: 32px 0 16px;
}
.affiliate-zone {
  padding: 14px 18px;
  background: #fafaf7;
  border: 1px solid #e5e5dc;
  border-radius: 6px;
}
.affiliate-zone .ad-zone-label {
  font-size: 12px;
  color: #888;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.affiliate-zone .ad-disclosure {
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
  margin-left: 4px;
}
.affiliate-zone .affiliate-link {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px dotted #888;
  line-height: 1.7;
}
.affiliate-zone .affiliate-link:hover {
  color: #000;
  border-bottom-style: solid;
}
.amazon-banner { text-align: center; }
.amazon-banner .amazon-banner-pc { display: none; }
.amazon-banner .amazon-banner-sp { display: inline-block; }
.amazon-banner img { max-width: 100%; height: auto; border: none; }
@media (min-width: 768px) {
  .amazon-banner .amazon-banner-pc { display: inline-block; }
  .amazon-banner .amazon-banner-sp { display: none; }
}
.vpn-banner { text-align: center; margin: 12px 0; }
.vpn-banner .vpn-banner-pc { display: none; }
.vpn-banner .vpn-banner-sp { display: inline-block; }
.vpn-banner img { max-width: 100%; height: auto; border: none; }
@media (min-width: 768px) {
  .vpn-banner .vpn-banner-pc { display: inline-block; }
  .vpn-banner .vpn-banner-sp { display: none; }
}
.vpn-banner-square { text-align: center; margin: 12px 0; }
.vpn-banner-square img { max-width: 100%; height: auto; border: none; }

/* FAQ list (added 2026-05-25) */
.article-faq dl.faq-list { margin: 0; padding: 0; }
.article-faq dl.faq-list dt {
  font-weight: 700;
  margin: 18px 0 6px;
  font-size: 15px;
  color: var(--c-text);
  padding-left: 20px;
  position: relative;
}
.article-faq dl.faq-list dt::before {
  content: 'Q.';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}
.article-faq dl.faq-list dd {
  margin: 0 0 10px 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  position: relative;
}
.article-faq dl.faq-list dd::before {
  content: 'A.';
  position: absolute;
  left: 0;
  color: var(--c-translation);
  font-weight: 700;
}

/* AEO: TL;DR conclusion */
.article-tldr {
  margin: 16px 0 24px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff7e6 0%, #fef3d8 100%);
  border-left: 4px solid #d97706;
  border-radius: 6px;
}
.article-tldr-label {
  font-size: 11px;
  font-weight: 700;
  color: #92400e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.article-tldr-body { margin: 0; font-size: 15px; line-height: 1.7; color: var(--c-text); }
.article-tldr-body strong { font-weight: 600; }

/* About / generic content */
.section h2 + p, .section h2 + ol, .section h2 + ul { margin-top: 0; }
.section ol, .section ul { padding-left: 22px; }

.link-parent { display: inline-block; margin-top: 8px; font-size: 14px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: 32px 0;
  background: var(--c-cream);
  margin-top: 64px;
  text-align: center;
}
.footer-back { margin: 0 0 12px; font-size: 14px; }
.footer-meta { margin: 4px 0; font-size: 12px; color: var(--c-muted); }

/* Mobile */
@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .hero { padding: 36px 0 28px; }
  .section { padding: 32px 0; }
  .article h1 { font-size: 22px; }
  .main-nav { gap: 14px; font-size: 13px; }
}
