/* =========================================================
   Antigravityの教科書 ブログ — 世界観「夜明けの離陸」軽量版
   （LP本体 v2.css と同系: 紙色 × 夜明けオレンジ × 空青）
   ========================================================= */

:root {
  --paper: #FBF8F3;
  --ink: #1F2933;
  --muted: #5B6672;
  --dawn: #F97316;
  --dawn-deep: #C2410C;
  --sky: #1D4ED8;
  --line: #E7E0D4;
  --card: #FFFFFF;
  --font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); }

/* ---------- ヘッダー・フッター ---------- */
.blog-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.blog-header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.blog-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.blog-cta-small {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--dawn), var(--dawn-deep));
  border-radius: 999px;
  padding: .5rem 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}

.blog-footer {
  border-top: 1px solid var(--line);
  margin-top: 72px;
  padding: 28px 20px 36px;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}
.blog-footer-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.blog-footer-links a { color: var(--muted); }

/* ---------- 一覧ページ ---------- */
.blog-main { max-width: 860px; margin: 0 auto; padding: 48px 20px 0; }
.blog-index-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  margin-bottom: .4rem;
}
.blog-index-lede { color: var(--muted); margin-bottom: 2.2rem; }
.blog-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.blog-item-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.blog-item-link:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(31, 41, 51, .08); }
.blog-item-date {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.blog-item-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.6;
  margin: .2rem 0 .3rem;
}
.blog-item-summary {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 記事ページ ---------- */
.article-main { max-width: 760px; margin: 0 auto; padding: 48px 20px 0; }
.article-date { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.article-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 4.4vw, 2.15rem);
  line-height: 1.6;
  margin: .5rem 0 1rem;
  text-wrap: balance;
}
.article-lede { color: var(--muted); margin-bottom: 2.4rem; }

.article-hero {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 2.2rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  line-height: 1.65;
  margin: 2.8rem 0 1rem;
  padding-left: 14px;
  border-left: 4px solid var(--dawn);
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 2rem 0 .7rem;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; }
.article-body li { margin-bottom: .35rem; }
.article-body strong { color: var(--dawn-deep); }

.article-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .9rem;
  color: var(--muted);
  margin: 1.4rem 0;
}

.article-faq { border-top: 1px solid var(--line); }
.article-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 4px;
  font-family: var(--font-display);
  line-height: 1.7;
}
.article-faq .faq-a { padding: 0 4px 16px; }

/* 記事内テーブル */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  line-height: 1.7;
  margin: 0 0 1.2rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
.article-body th { background: var(--card); font-family: var(--font-display); }
.table-scroll { overflow-x: auto; margin-bottom: 1.2rem; }

/* ---------- 記事末尾CTA ---------- */
.article-cta {
  margin: 3.2rem 0 0;
  background: linear-gradient(180deg, rgba(249, 115, 22, .08), rgba(249, 115, 22, .03));
  border: 1px solid rgba(249, 115, 22, .45);
  border-radius: 16px;
  padding: 26px 24px;
  text-align: center;
}
.article-cta-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.article-cta p { font-size: .92rem; color: var(--muted); margin-bottom: 1.1rem; }
.article-cta-btn {
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--dawn), var(--dawn-deep));
  border-radius: 999px;
  padding: .95rem 2.2rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(249, 115, 22, .3);
}

.article-backlink { margin-top: 2rem; font-size: .9rem; }
