/* ai-fukugyo.shop — AI副業まとめ
 * ChatGPT/Claude/Gemini 等を使って稼ぐ実体験ガイド
 * カラー: ディープブルー(AI技術) + パープルアクセント(AI×創造) + クリーム背景
 */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1a2540;
  background: #fbf9f4;
  -webkit-font-smoothing: antialiased;
}
.num, time, .price, .stat-value {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-feature-settings: 'tnum';
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1e40af; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Color Tokens ===== */
:root {
  --blue-900: #172554;
  --blue-700: #1e40af;
  --blue-500: #3b6bdb;
  --blue-100: #dde6f8;
  --purple-600: #a855f7;
  --purple-400: #c084fc;
  --purple-50: #f5edff;
  --cream: #fbf9f4;
  --cream-card: #ffffff;
  --accent: #f59e0b;
  --accent-soft: #fef3c7;
  --ink: #1a2540;
  --ink-soft: #4d5a72;
  --border: #e2e0d6;
  --danger: #b85c2c;
}

/* ===== Affiliate Disclosure Strip ===== */
.affi-strip {
  background: var(--purple-50);
  border-bottom: 1px solid #d9c6f1;
  font-size: 13px;
  color: #5a3d8a;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.5;
}
.affi-strip a { color: #5a3d8a; text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  background: var(--cream-card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.site-header-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  font-weight: 700; font-size: 18px;
  color: var(--blue-900);
}
.logo small { font-weight: 400; font-size: 11px; color: var(--ink-soft); display: block; margin-top: 2px; }
.nav-main { display: flex; gap: 22px; }
.nav-main a {
  color: var(--ink); font-size: 14px; font-weight: 500;
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.nav-main a:hover { color: var(--blue-700); border-bottom-color: var(--purple-600); text-decoration: none; }
.nav-toggle { display: none; }

/* ===== Container & Layout ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ===== Hero (Top) ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--purple-50) 60%, var(--cream) 100%);
  padding: 60px 20px 50px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--blue-900); line-height: 1.4; margin-bottom: 12px;
}
.hero p { color: var(--ink-soft); font-size: 16px; max-width: 640px; margin: 0 auto; }
.hero .badge {
  display: inline-block; background: var(--purple-600); color: #fff;
  padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 500;
  margin-bottom: 14px;
}

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 14px 0; }
.breadcrumb a { color: var(--blue-700); }
.breadcrumb .sep { margin: 0 6px; color: #b8b4a4; }

/* ===== Section ===== */
section { padding: 40px 0; }
.section-title { font-size: 22px; color: var(--blue-900); margin-bottom: 20px; border-left: 4px solid var(--purple-600); padding-left: 12px; }
.section-sub { color: var(--ink-soft); margin-bottom: 24px; font-size: 14px; }

/* ===== Cards ===== */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(23,37,84,0.08); }
.card h3 { font-size: 16px; margin-bottom: 8px; color: var(--blue-900); }
.card p { font-size: 14px; color: var(--ink-soft); }
.card .tag { display: inline-block; font-size: 11px; background: var(--blue-100); color: var(--blue-900); padding: 2px 8px; border-radius: 10px; margin-bottom: 8px; }
.card .tag.purple { background: var(--purple-50); color: #5a3d8a; }

/* ===== Article Cards ===== */
.article-list { display: flex; flex-direction: column; gap: 16px; }
.article-item {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
}
.article-item h3 { font-size: 17px; margin-bottom: 6px; }
.article-item h3 a { color: var(--blue-900); }
.article-item .meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.article-item p { font-size: 14px; color: var(--ink-soft); }

/* ===== Data Table / Comparison ===== */
.data-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  background: var(--cream-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  font-size: 14px;
}
.data-table th, .data-table td {
  padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border);
}
.data-table th { background: var(--blue-100); color: var(--blue-900); font-weight: 600; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ===== Stat Box ===== */
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 20px 0; }
.stat-box { background: var(--cream-card); border: 1px solid var(--border); border-left: 4px solid var(--purple-600); border-radius: 6px; padding: 16px; }
.stat-label { font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }
.stat-value { font-size: 22px; color: var(--blue-900); font-weight: 700; }
.stat-note { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }

/* ===== Article Body ===== */
.article-body { background: var(--cream-card); padding: 30px 36px; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 30px; }
.article-body h1 { font-size: 26px; line-height: 1.5; color: var(--blue-900); margin-bottom: 12px; }
.article-body .article-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.article-body h2 { font-size: 20px; color: var(--blue-900); margin: 32px 0 14px; padding-left: 10px; border-left: 4px solid var(--purple-600); }
.article-body h3 { font-size: 17px; color: var(--blue-900); margin: 24px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body ul li, .article-body ol li { margin-bottom: 6px; }
.article-body strong { color: var(--blue-900); }
.article-body blockquote {
  border-left: 4px solid var(--purple-600);
  background: var(--purple-50);
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 0 6px 6px 0;
  color: #4c2a78;
  font-size: 14px;
}

/* ===== Callout / Note ===== */
.callout {
  background: var(--accent-soft);
  border: 1px solid #f5d57a;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
}
.callout strong { display: block; margin-bottom: 4px; color: #6a4d12; }

.callout-warn {
  background: #fbeae3;
  border: 1px solid #e8b9a0;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: #5c2c12;
}

.callout-tech {
  background: var(--blue-100);
  border: 1px solid #b9c7e4;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--blue-900);
}
.callout-tech strong { display: block; margin-bottom: 4px; }

/* ===== CTA Button ===== */
.btn {
  display: inline-block;
  background: var(--blue-700);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--blue-900); text-decoration: none; }
.btn-purple { background: var(--purple-600); color: #fff; }
.btn-purple:hover { background: #8b3fd1; }
.btn-accent { background: var(--accent); color: #4a2e00; }
.btn-accent:hover { background: #d98906; }

/* ===== Newsletter Box (dummy) ===== */
.newsletter {
  background: linear-gradient(135deg, var(--blue-900), #2a1758);
  color: #f5edff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin: 30px 0;
}
.newsletter h2 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.newsletter p { color: #d4c2f2; font-size: 14px; margin-bottom: 16px; }
.newsletter form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.newsletter input[type=email] {
  flex: 1; padding: 10px 14px; border: none; border-radius: 6px; font-size: 14px;
}

/* ===== FAQ ===== */
.faq details {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 12px 16px;
}
.faq summary { font-weight: 600; cursor: pointer; color: var(--blue-900); }
.faq details[open] summary { margin-bottom: 8px; }
.faq details p { font-size: 14px; color: var(--ink-soft); }

/* ===== Affiliate Disclosure End ===== */
.affi-end {
  margin-top: 36px;
  padding: 16px 18px;
  background: #efece1;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===== Tool Badge (AI tool indicators) ===== */
.tool-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tool-badge {
  display: inline-block; font-size: 12px; font-weight: 500;
  padding: 4px 10px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-900);
  border: 1px solid #c8d3eb;
}
.tool-badge.purple { background: var(--purple-50); color: #5a3d8a; border-color: #d9c6f1; }
.tool-badge.accent { background: var(--accent-soft); color: #6a4d12; border-color: #f5d57a; }

/* ===== Footer ===== */
.site-footer {
  background: var(--blue-900);
  color: #c9d3ec;
  padding: 40px 20px 20px;
  margin-top: 60px;
}
.site-footer-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; font-size: 13px; }
.site-footer a { color: #c9d3ec; }
.site-footer a:hover { color: #fff; }
.copyright { max-width: 1100px; margin: 30px auto 0; padding-top: 16px; border-top: 1px solid #2a3a6e; font-size: 12px; color: #8a9bc4; text-align: center; }

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .nav-main { display: none; }
  .site-header-inner { padding: 12px 16px; }
  .hero { padding: 40px 16px 36px; }
  .article-body { padding: 22px 18px; }
  .article-body h1 { font-size: 22px; }
  .article-body h2 { font-size: 18px; }
  .newsletter form { flex-direction: column; }
}

/* ===== AFFI INJECT (2026-05-19) ===== */
/* affiliate cards inside article body — ai-fukugyo blue/purple */
.affi-card {
  margin: 22px 0;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, #f5edff 0%, #fdf8ff 100%);
  border-left: 4px solid var(--blue-700);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(23,37,84,.06);
}
.affi-card p { margin: 0; line-height: 1.6; }
.affi-card a {
  color: var(--blue-700);
  font-weight: 700;
  border-bottom: 2px solid var(--purple-400);
  padding-bottom: 1px;
}
.affi-card a:hover { color: var(--purple-600); text-decoration: none; border-bottom-color: var(--blue-700); }
.affi-card-note {
  margin-top: 6px !important;
  font-size: 12px;
  color: var(--ink-soft);
}

/* related products grid at article end */
.related-products {
  margin: 40px 0 28px;
  padding: 26px 22px;
  background: var(--cream-card);
  border: 1px solid var(--blue-100);
  border-radius: 10px;
}
.related-products h2 {
  font-size: 20px;
  color: var(--blue-900);
  border-bottom: 2px solid var(--purple-400);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.related-products-note { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--blue-100);
  border-radius: 8px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.prod-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168,85,247,.12);
  border-color: var(--purple-400);
}
.prod-card-hint {
  font-size: 11px;
  color: var(--purple-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.prod-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  flex-grow: 1;
}
.affi-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--blue-700) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
}
.affi-btn:hover { filter: brightness(1.08); text-decoration: none; }

/* sticky CTA footer bar */
.sticky-affi {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(23,37,84,.96) 0%, rgba(30,64,175,.96) 100%);
  color: #fff;
  box-shadow: 0 -3px 12px rgba(23,37,84,.25);
  font-size: 14px;
  backdrop-filter: blur(6px);
}
.sticky-affi-label { font-weight: 700; letter-spacing: .3px; }
.sticky-affi-btn {
  background: var(--purple-600);
  color: #fff !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}
.sticky-affi-btn:hover { background: #c084fc; text-decoration: none; }
@media (max-width: 520px) {
  .sticky-affi { font-size: 12px; padding: 8px 10px; gap: 10px; }
  .sticky-affi-btn { padding: 6px 12px; font-size: 12px; }
}
/* leave space at body bottom so sticky bar doesn't cover content */
body { padding-bottom: 60px; }
/* ===== AFFI INJECT END ===== */

/* ===== SELFBACK INJECT (2026-05-19) ===== */
.sb-pk-box {
  margin: 36px 0 24px;
  padding: 22px 24px 18px;
  background: linear-gradient(135deg, #f5edff 0%, #dde6f8 100%);
  border: 1px solid #c4b0e8;
  border-left: 4px solid #a855f7;
  border-radius: 8px;
}
.sb-pk-title {
  margin: 0 0 8px;
  font-size: 17px;
  color: #4c1d95;
  font-weight: 700;
  line-height: 1.5;
}
.sb-pk-intro {
  margin: 0 0 14px;
  font-size: 14px;
  color: #44307a;
  line-height: 1.7;
}
.sb-pk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-pk-item {
  background: #fff;
  border: 1px solid #c4b0e8;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.sb-pk-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #5b21b6;
  background: #ede9fe;
  border-radius: 10px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.sb-pk-item a {
  font-weight: 700;
  color: #1e40af;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sb-pk-item a:hover { color: #172554; }
.sb-pk-note {
  width: 100%;
  font-size: 12px;
  color: #5a4d80;
  margin-top: 2px;
}
.sb-pk-caution {
  margin: 12px 0 0;
  font-size: 11px;
  color: #6b5d92;
  line-height: 1.55;
}

.sb-pk-hex { display: block; margin: 14px auto; width: 220px; height: 220px; }
.sb-pk-rating {
  display: inline-block;
  font-size: 14px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-right: 6px;
}
.sb-pk-rating-label {
  font-size: 12px;
  color: #5b21b6;
  font-weight: 700;
}
.sb-pk-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  background: #fff;
  border: 1px solid #e2e0d6;
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}
.sb-pk-compare th,
.sb-pk-compare td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e0d6;
}
.sb-pk-compare th {
  background: #ede9fe;
  color: #5b21b6;
  font-weight: 700;
}
.sb-pk-compare tr:last-child td { border-bottom: none; }
/* ===== /SELFBACK INJECT (2026-05-19) ===== */


/* ===== MOSHIMO READY (2026-05-19) ===== */
dl.kv-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 12px 0 20px;
  padding: 16px 20px;
  background: #fafaf6;
  border-radius: 8px;
  border: 1px solid #ece8db;
  font-size: 14px;
  line-height: 1.7;
}
dl.kv-list dt { font-weight: 700; color: #444; white-space: nowrap; }
dl.kv-list dd { margin: 0; color: #333; }
.footer-credit { font-size: 12px; color: #777; text-align: center; margin: 8px 0 4px; line-height: 1.6; }
.footer-credit code { background: #f2f0e7; padding: 1px 6px; border-radius: 4px; font-size: 11.5px; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; }
.hero-badges .badge { background: rgba(255,255,255,0.85); border: 1px solid #e3ddcd; padding: 3px 10px; border-radius: 16px; color: #6a5212; font-weight: 600; }
.hero-operator { font-size: 12px; color: #777; margin-top: 8px; }
.hero-operator strong { color: #4a3e1f; }
/* ===== /MOSHIMO READY ===== */
