/* ===================================================
   現役人事ワーママの転職ノート - Main CSS
   Inspired by: SWELL/SANGO (Japan top blog themes)
   2025 Design Trends: Minimal, Card-based, Mobile-first
   =================================================== */

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

:root {
  /* カラーパレット（変更なし） */
  --navy: #1a2d5e;
  --blue: #2d4a8a;
  --mid: #4e7ec5;
  --light: #c8dbf0;
  --pale: #eaf3fb;
  --bg: #f5f7fc;
  --white: #ffffff;
  --text: #2d3a50;
  --muted: #7a8aaa;
  --border: rgba(200,219,240,0.7);
  --radius: 12px;
  --shadow-sm: 0 1px 8px rgba(26,45,94,0.06);
  --shadow: 0 4px 20px rgba(26,45,94,0.08);
  --shadow-lg: 0 8px 32px rgba(26,45,94,0.14);
  /* カテゴリカラー */
  --c-jinji: #3a72c0;
  --c-telework: #2a8fa8;
  --c-money: #4060b0;
  --c-diary: #7058c0;
  --c-books: #3a70a8;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mid); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.5em; line-height: 1; }
.logo-title { font-size: 1.0em; font-weight: 700; color: var(--navy); line-height: 1.3; }
.logo-sub { font-size: 0.61em; color: var(--muted); margin-top: 1px; }
.site-nav { display: flex; gap: 1px; align-items: center; }
.site-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.84em;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--pale); color: var(--blue); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--light);
  border-radius: 6px;
  font-size: 1.1em;
  cursor: pointer;
  padding: 5px 9px;
  color: var(--blue);
  line-height: 1;
}

/* ========== HERO ========== */
.hero {
  background: #c5d9e8;
  padding: 52px 24px 44px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    130deg,
    rgba(255,255,255,0) 0px,
    rgba(255,255,255,0) 40px,
    rgba(255,255,255,0.22) 40px,
    rgba(255,255,255,0.22) 42px
  );
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
}
.hero-text { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.75);
  color: var(--navy);
  font-size: 0.76em;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  border: 1.5px solid rgba(255,255,255,0.95);
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: 1.85em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.44;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hero h1 span {
  background: linear-gradient(transparent 60%, rgba(255,255,255,0.5) 60%);
  padding: 0 2px;
}
.hero-desc {
  color: #2c4060;
  font-size: 0.92em;
  margin-bottom: 22px;
  line-height: 1.85;
}
.hero-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.hero-tag {
  background: rgba(255,255,255,0.82);
  color: var(--navy);
  border: 1.5px solid rgba(255,255,255,0.98);
  padding: 3px 12px;
  border-radius: 30px;
  font-size: 0.77em;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(26,45,94,0.08);
}

/* ヒーロー右側：信頼性ボックス */
.hero-stats {
  background: rgba(255,255,255,0.88);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(26,45,94,0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.98);
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200,219,240,0.5);
}
.hero-stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-item:first-child { padding-top: 0; }
.hero-stat-icon { font-size: 1.6em; line-height: 1; flex-shrink: 0; }
.hero-stat-text { }
.hero-stat-num { font-size: 1.3em; font-weight: 700; color: var(--navy); line-height: 1; }
.hero-stat-label { font-size: 0.72em; color: var(--muted); margin-top: 2px; }
.hero-illust { display: none; } /* 旧SVGを非表示 */

/* ========== CONTAINER ========== */
.container { max-width: 1120px; margin: 0 auto; padding: 48px 24px 80px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }

/* ========== SECTION HEADER ========== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light);
}
.section-title {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--navy);
}
.see-all {
  font-size: 0.8em;
  color: var(--mid);
  font-weight: 600;
  padding: 4px 12px;
  border: 1.5px solid var(--light);
  border-radius: 20px;
  transition: all 0.15s;
}
.see-all:hover { background: var(--pale); text-decoration: none; color: var(--blue); }

/* ========== POST CARDS ========== */
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.2,0,0.2,1), box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card:hover .post-card-img { filter: brightness(1.05); }

/* カード サムネイル */
.post-card-img {
  height: 155px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 14px;
  transition: filter 0.2s;
}

/* 装飾：右上の大きな円 */
.post-card-img::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

/* 装飾：斜めライン */
.post-card-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0) 0px,
    rgba(255,255,255,0) 12px,
    rgba(255,255,255,0.035) 12px,
    rgba(255,255,255,0.035) 13px
  );
  pointer-events: none;
}

/* カテゴリ別グラデーション */
.post-card-img.cat-jinji    { background: linear-gradient(145deg, #1e4a9e 0%, #3a6cc8 60%, #5888d8 100%); }
.post-card-img.cat-telework { background: linear-gradient(145deg, #0e5e80 0%, #2a88a8 60%, #48a8c4 100%); }
.post-card-img.cat-money    { background: linear-gradient(145deg, #1a3080 0%, #3050a8 60%, #4868c0 100%); }
.post-card-img.cat-diary    { background: linear-gradient(145deg, #482090 0%, #6848b8 60%, #8868cc 100%); }
.post-card-img.cat-books    { background: linear-gradient(145deg, #1a4878 0%, #2e6898 60%, #4888b4 100%); }
.post-card-img.cat-trend    { background: linear-gradient(145deg, #b91c1c 0%, #dc2626 60%, #f87171 100%); }

/* カード内：カテゴリタグ（左下） */
.card-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.96);
  font-size: 0.69em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
  width: fit-content;
  letter-spacing: 0.02em;
}

.post-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.post-category {
  display: none; /* カード内のcategory span は非表示（サムネイルに移動） */
}
.post-card h2 {
  font-size: 0.89em;
  line-height: 1.62;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
}
.post-card h2 a { color: inherit; }
.post-card h2 a:hover { color: var(--mid); text-decoration: none; }
.post-meta {
  font-size: 0.72em;
  color: var(--muted);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.post-card.wide { flex-direction: row; min-height: 108px; }
.post-card.wide .post-card-img { width: 140px; height: auto; min-height: 108px; flex-shrink: 0; padding: 10px 12px; }
.post-card.wide .post-card-body { padding: 12px 14px 14px; }
.post-card.wide h2 { font-size: 0.88em; }

/* ========== SIDEBAR ========== */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.widget-title {
  font-size: 0.84em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light);
}
.profile-widget {
  background: linear-gradient(160deg, var(--pale) 0%, #f8fbff 100%);
  text-align: center;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light), #ddeaf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  margin: 0 auto 10px;
  border: 3px solid var(--white);
  box-shadow: 0 3px 12px rgba(45,74,138,0.14);
}
.profile-name { font-weight: 700; font-size: 1.05em; color: var(--navy); margin-bottom: 5px; }
.profile-bio { font-size: 0.79em; color: var(--muted); line-height: 1.7; }
.profile-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--blue);
  color: white !important;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.79em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: background 0.15s;
}
.profile-btn:hover { background: var(--navy); text-decoration: none !important; }
.category-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.category-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.84em;
  color: var(--text);
  transition: all 0.15s;
  font-weight: 500;
}
.category-list li a:hover { background: var(--pale); color: var(--blue); padding-left: 14px; text-decoration: none; }

/* ========== 著者ボックス ========== */
.author-box {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--pale);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 22px;
  border: 1px solid var(--light);
}
.author-avatar-sm {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light), #ddeaf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  flex-shrink: 0;
}
.author-info { flex: 1; }
.author-name-sm { font-size: 0.77em; color: var(--muted); margin-bottom: 3px; }
.author-name-sm strong { color: var(--navy); font-weight: 700; }
.author-desc-sm { font-size: 0.79em; color: var(--muted); line-height: 1.65; margin: 0; }

/* ========== この記事でわかること ========== */
.article-wakaru {
  background: var(--pale);
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 18px;
}
.article-wakaru strong { display: block; color: var(--navy); font-size: 0.88em; font-weight: 700; margin-bottom: 8px; }
.article-wakaru ul { margin: 0; padding-left: 16px; }
.article-wakaru li { font-size: 0.84em; color: var(--blue); margin-bottom: 4px; line-height: 1.65; }

/* ========== 目次 ========== */
.article-toc {
  background: #f8faff;
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 28px;
}
.toc-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.86em;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--light);
}
.article-toc ol { margin: 0; padding-left: 17px; }
.article-toc li { font-size: 0.83em; margin-bottom: 5px; line-height: 1.65; }
.article-toc li a { color: var(--mid); }
.article-toc li a:hover { color: var(--blue); }

/* ========== 記事ページ ========== */
.article-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}
.article-header { margin-bottom: 22px; }
.article-category {
  display: inline-block;
  font-size: 0.74em;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: var(--pale);
  color: var(--blue);
  border: 1px solid var(--light);
  letter-spacing: 0.02em;
}
.article-title {
  font-size: 1.65em;
  line-height: 1.46;
  margin-bottom: 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.article-meta { font-size: 0.79em; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.affiliate-note {
  background: #f0f7ff;
  border-left: 3px solid var(--light);
  padding: 7px 12px;
  font-size: 0.78em;
  color: #5a88c0;
  border-radius: 0 5px 5px 0;
  margin: 14px 0 24px;
}

/* ========== 本カード ========== */
.book-card {
  background: linear-gradient(135deg, #fef8ff, #fff5fb);
  border: 1.5px solid #e8c0d8;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 4px 0 20px;
}
.book-card-title {
  font-size: 1.05em;
  font-weight: 700;
  color: #c04870;
  display: block;
  margin-bottom: 3px;
  line-height: 1.4;
}
.book-card-author {
  font-size: 0.8em;
  color: #999;
  display: block;
  margin-bottom: 8px;
}
.book-card-links { display: flex; gap: 8px; flex-wrap: wrap; }
.book-btn-rakuten {
  display: inline-block;
  background: #c04870;
  color: white !important;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.77em;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s;
}
.book-btn-rakuten:hover { background: #a03858; text-decoration: none !important; }
.book-btn-amazon {
  display: inline-block;
  background: #ff9900;
  color: white !important;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.77em;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s;
}
.book-btn-amazon:hover { background: #e68800; text-decoration: none !important; }

/* ========== 記事本文 ========== */
.article-body { line-height: 2.0; color: var(--text); }
.article-body h2 {
  font-size: 1.18em;
  margin: 40px 0 15px;
  padding: 10px 16px 10px 18px;
  background: linear-gradient(135deg, #fef0f4 0%, #fdf5f8 100%);
  border-left: 4px solid #e8608a;
  border-radius: 0 8px 8px 0;
  color: #2d1a2e;
  font-weight: 700;
  line-height: 1.5;
}
.article-body h3 {
  font-size: 1.03em;
  margin: 26px 0 10px;
  color: #c04870;
  padding-bottom: 5px;
  border-bottom: 2px dashed #f0b8cc;
  font-weight: 700;
  line-height: 1.5;
}
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; }
.article-body li { margin-bottom: 6px; line-height: 1.95; }
.article-body a { color: var(--mid); border-bottom: 1px dotted var(--light); font-weight: 500; }
.article-body a:hover { color: var(--blue); border-bottom-color: var(--mid); text-decoration: none; }
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--light);
  padding: 12px 16px;
  margin: 20px 0;
  background: var(--pale);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}
.info-box {
  background: linear-gradient(135deg, var(--pale), #f5f9ff);
  border: 1.5px solid var(--light);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
  line-height: 1.85;
}
.info-box strong { color: var(--navy); }
.info-box a { color: var(--mid); font-weight: 600; }

/* ========== ページヘッダー ========== */
.page-header {
  background: linear-gradient(135deg, #c5d9e8 0%, #d8eaf5 100%);
  padding: 44px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(130deg, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 38px, rgba(255,255,255,0.2) 38px, rgba(255,255,255,0.2) 40px);
  pointer-events: none;
}
.page-header h1 { font-size: 1.5em; color: var(--navy); font-weight: 700; margin-bottom: 6px; position: relative; }
.page-header p { color: var(--muted); font-size: 0.88em; position: relative; }

/* ========== プロフィールページ ========== */
.about-hero {
  background: linear-gradient(135deg, #c5d9e8 0%, #d8eaf5 100%);
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(130deg, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 38px, rgba(255,255,255,0.2) 38px, rgba(255,255,255,0.2) 40px);
  pointer-events: none;
}
.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light), #ddeaf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  margin: 0 auto 14px;
  box-shadow: 0 6px 24px rgba(45,74,138,0.18);
  border: 4px solid rgba(255,255,255,0.92);
  position: relative;
}
.about-content { max-width: 680px; margin: 0 auto; padding: 44px 24px 80px; }
.about-content h2 {
  font-size: 1.1em;
  color: var(--blue);
  margin: 32px 0 12px;
  padding: 9px 15px;
  background: var(--pale);
  border-left: 4px solid var(--mid);
  border-radius: 0 8px 8px 0;
  font-weight: 700;
}
.about-content p { margin-bottom: 16px; line-height: 1.95; font-size: 0.97em; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.stat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.stat-number { font-size: 1.7em; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 0.73em; color: var(--muted); }

/* ========== フッター ========== */
.site-footer { background: var(--navy); color: #94a3b8; padding: 44px 24px 24px; }
.footer-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 1.05em; color: white; font-weight: 700; margin-bottom: 8px; }
.footer-desc { font-size: 0.82em; line-height: 1.8; margin-bottom: 16px; }
.footer-nav { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.footer-nav a { color: #94a3b8; font-size: 0.81em; transition: color 0.15s; }
.footer-nav a:hover { color: white; text-decoration: none; }
.footer-copy { font-size: 0.73em; color: #64748b; margin-top: 12px; }

/* ========== RESPONSIVE: Tablet (900px) ========== */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .article-layout {
    display: flex !important;
    flex-direction: column !important;
    padding: 28px 18px 60px;
    gap: 28px;
  }
  .article-layout article { order: 1; }
  .article-layout aside.sidebar { order: 2; }
  .sidebar { position: static; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; } /* タブレットではstatsを非表示 */
}

/* ========== RESPONSIVE: Mobile (768px) ========== */
@media (max-width: 768px) {
  /* ヘッダー */
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(26,45,94,0.09);
    z-index: 999;
  }
  .site-nav.open { display: flex; }
  .site-nav a { color: var(--text); padding: 10px 12px; font-size: 0.91em; border-radius: 6px; }
  .site-nav a:hover { padding-left: 16px; }
  .nav-toggle { display: block; }
  .logo-sub { display: none; }

  /* ヒーロー */
  .hero { padding: 34px 18px 30px; }
  .hero-inner { gap: 20px; }
  .hero h1 { font-size: 1.42em; }
  .hero-desc { font-size: 0.88em; }
  .hero-tags { gap: 6px; }
  .hero-stats { display: none; }

  /* カード */
  .posts-grid { grid-template-columns: 1fr; gap: 12px; }
  .post-card.wide { flex-direction: column; }
  .post-card.wide .post-card-img { width: 100%; height: 128px; }
  .post-card-img { height: 140px; }
  .container { padding: 28px 16px 56px; }

  /* 記事本文 - 読みやすさ最優先 */
  .article-layout { padding: 22px 16px 52px; }
  .article-title { font-size: 1.28em; line-height: 1.52; }
  .article-body { font-size: 1.01em; line-height: 2.06; }
  .article-body p { margin-bottom: 22px; }
  .article-body h2 { font-size: 1.08em; padding: 9px 13px; margin: 34px 0 13px; }
  .article-body h3 { font-size: 1.0em; margin: 22px 0 9px; }
  .article-body li { line-height: 1.95; margin-bottom: 7px; }
  .article-toc, .article-wakaru { padding: 12px 14px; }
  .article-toc li { font-size: 0.86em; }
  .article-wakaru li { font-size: 0.86em; }
  .author-box { padding: 11px 13px; gap: 10px; flex-wrap: wrap; }

  /* プロフィール */
  .about-hero { padding: 40px 18px 36px; }
  .about-content { padding: 28px 16px 52px; }
  .profile-stats { gap: 8px; }
  .stat-card { padding: 12px 8px; }
  .stat-number { font-size: 1.45em; }
}

/* ===== Xフォローボタン ===== */
.x-follow-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff !important;
  padding: 11px 18px;
  border-radius: 24px;
  font-size: 0.88em;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
  justify-content: center;
  margin-top: 4px;
}
.x-follow-btn:hover { background: #222; }
.x-cta-box {
  background: linear-gradient(135deg,#f0f7ff,#e8f0fe);
  border: 1.5px solid #c5d8f8;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 32px 0;
  text-align: center;
}
.x-cta-box p { font-size: 0.9em; color: #444; margin-bottom: 12px; line-height: 1.7; }
