/* ==========================================================
   ミサキの転職ノート — オウンドメディア共通CSS
   Brand Identity: Navy × Teal × Warm Cream
   ========================================================== */

:root {
  /* 共通カラー */
  --bg: #FAFAFA;
  --bg-white: #FFFFFF;
  --text: #1a1a2e;
  --text-light: #4a5568;
  --text-muted: #94a3b8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* ブランドカラー（ロゴ準拠） */
  --accent: #263657;
  --accent-light: #eef2f8;
  --accent-dark: #1c2841;

  /* ブランド ティール（ロゴ「ノート」色） */
  --brand-teal: #287d77;
  --brand-teal-light: #e6f4f2;
  --brand-teal-dark: #1e635e;

  /* ブランド クリーム（ロゴのノートアイコン） */
  --brand-cream: #f7ead0;
  --brand-cream-light: #fdf8f0;

  /* CTA（LP連動 — 暖色レッド） */
  --cta: #c0392b;
  --cta-hover: #a93226;

  /* LP連動 追加カラー */
  --gold: #d4a020;
  --warning-red: #c0392b;
  --point-teal: #287d77;

  /* タイポ */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  /* サイドバー幅 */
  --sidebar-width: 280px;
  --content-gap: 40px;
}

/* ── リセット ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.site-logo {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}
.decision-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.decision-card h2 { color: var(--accent); font-size: 1.1rem; margin-bottom: 10px; }
.decision-card p { color: var(--text-light); font-size: .9rem; }
.media-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.media-hero-copy { min-width: 0; }
.media-hero-image { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 36px rgba(38, 54, 87, .12); }
.media-note {
  background: var(--brand-cream-light);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 10px 10px 0;
  padding: 24px;
  margin: 32px 0 56px;
}
.site-logo span { color: var(--brand-teal); }
.article-card-thumb--base,
.article-eyecatch--base {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(40, 125, 119, .92), rgba(38, 54, 87, .94)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .28), transparent 32%);
}
.article-body .fade-in,
.article-cta.fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@media (max-width: 768px) {
  .decision-grid { grid-template-columns: 1fr; }
  .media-hero { grid-template-columns: 1fr; }
}

.media-hero.media-hero--hub {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  min-height: min(560px, 72dvh);
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(circle at 84% 26%, rgba(40, 125, 119, .12), transparent 28%),
    linear-gradient(135deg, var(--brand-cream-light) 0%, #fff 62%, var(--brand-teal-light) 100%);
}
.media-hero--hub .media-hero-copy {
  position: relative;
  z-index: 2;
}
.media-hero-eyebrow {
  width: fit-content;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.media-hero-title-line { display: block; }
.media-hero--hub .media-hero-title-line:first-child { color: var(--accent); }
.media-hero--hub .media-hero-title-line:last-child { color: var(--brand-teal); }
.media-hero--hub .media-hero-desc { margin: 0; }
.media-hero-visual {
  align-self: end;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.media-hero--hub .media-hero-image {
  width: min(100%, 480px);
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
.featured-article-grid { margin-bottom: 56px; }

@media (max-width: 768px) {
  .media-hero.media-hero--hub {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 0;
  }
  .media-hero--hub .media-hero-copy { padding-bottom: 8px; }
  .media-hero--hub .media-hero-desc br { display: none; }
  .media-hero-visual { margin-top: 8px; }
  .media-hero--hub .media-hero-image { width: min(100%, 390px); }
}

/* ── レイアウト ── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}
.container--narrow {
  max-width: 780px;
}

/* ── サイドバーレイアウト ── */
.content-wrapper {
  display: flex;
  gap: var(--content-gap);
  align-items: flex-start;
}
.content-main {
  flex: 1;
  min-width: 0;
}
.content-sidebar {
  flex: 0 0 var(--sidebar-width);
  width: var(--sidebar-width);
  position: sticky;
  top: 72px;
}
@media (max-width: 768px) {
  .content-wrapper { flex-direction: column; align-items: stretch; }
  .content-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }
}

/* サイドバーウィジェット */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-teal);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar-widget-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--brand-teal);
  border-radius: 2px;
}

/* サイドバー プロフィール */
.sidebar-profile {
  text-align: center;
}
.sidebar-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 3px solid var(--brand-teal);
  box-shadow: 0 2px 8px rgba(40, 125, 119, 0.15);
}
.sidebar-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-profile-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.sidebar-profile-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.sidebar-profile-sns {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.sidebar-profile-sns a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.2s;
}
.sidebar-profile-sns a:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.sidebar-profile-sns svg {
  width: 14px;
  height: 14px;
}

/* サイドバー 記事リスト */
.sidebar-post-list {
  list-style: none;
  counter-reset: ranking;
}
.sidebar-post-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
  align-items: center;
  counter-increment: ranking;
  position: relative;
}
.sidebar-post-item:last-child { border-bottom: none; }
/* ランキング番号（サムネイルの左に独立配置） */
.sidebar-post-item::before {
  content: counter(ranking);
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.sidebar-post-item:nth-child(1)::before {
  background: var(--gold);
}
.sidebar-post-item:nth-child(2)::before {
  background: #8a8a8a;
}
.sidebar-post-item:nth-child(3)::before {
  background: #b87333;
}
.sidebar-post-thumb {
  flex: 0 0 60px;
  width: 60px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
}
.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-post-info {
  flex: 1;
  min-width: 0;
}
.sidebar-post-info a {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-post-info a:hover {
  color: var(--accent);
  text-decoration: none;
}
.sidebar-post-tag {
  font-size: 0.58rem;
  color: var(--brand-teal);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 2px;
  background: var(--brand-teal-light);
  padding: 0 6px;
  border-radius: 6px;
}

/* サイドバー CTA */
.sidebar-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--brand-cream-light), var(--brand-cream));
  border: 2px solid var(--cta);
}
.sidebar-cta .sidebar-widget-title {
  color: var(--cta);
  border-bottom-color: rgba(192, 57, 43, 0.2);
}
.sidebar-cta-text {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.sidebar-cta .cta-button {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
}

/* サイドバー LPバナー（画像版） */
.sidebar-lp-banner-img {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 12px;
}
.sidebar-lp-banner-img a {
  display: block;
}
.sidebar-lp-banner-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.sidebar-lp-banner-img img:hover {
  transform: scale(1.02);
}

/* サイドバー LPバナー（HTML版・レガシー） */
.sidebar-lp-banner {
  padding: 0 !important;
  overflow: hidden;
  border: 2px solid var(--brand-teal);
  background: linear-gradient(135deg, var(--brand-navy), #1a2a45);
}
.sidebar-banner-link {
  display: block;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
}
.sidebar-banner-link:hover {
  opacity: 0.92;
  text-decoration: none;
}
.sidebar-banner-visual {
  background: linear-gradient(135deg, var(--brand-teal), #1fa08a);
  padding: 16px 0 8px;
  text-align: center;
}
.sidebar-banner-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.8);
  object-fit: cover;
}
.sidebar-banner-body {
  padding: 14px 16px 16px;
  text-align: center;
}
.sidebar-banner-label {
  font-size: 0.65rem;
  color: var(--brand-cream);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.sidebar-banner-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}
.sidebar-banner-btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.2s;
}
.sidebar-banner-link:hover .sidebar-banner-btn {
  background: var(--cta-hover);
}

/* トップページのarticle-gridをcontent-main内で調整 */
.content-main .article-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .content-main .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .content-main .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   プログレスバー
   ══════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-teal));
  width: 0%;
  z-index: 200;
  transition: width 0.1s linear;
}

/* ══════════════════════════════════════
   Back to Top
   ══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--brand-teal);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(40, 125, 119, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 150;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand-teal-dark);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ══════════════════════════════════════
   ヘッダー
   ══════════════════════════════════════ */
.site-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--brand-teal);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(38, 54, 87, 0.1);
  border-bottom-color: var(--brand-teal);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
}
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.site-logo:hover { text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.site-nav { display: flex; gap: 24px; font-size: 0.875rem; }
.site-nav a {
  color: var(--text-light);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-teal);
  transition: width 0.3s;
}
.site-nav a:hover {
  color: var(--brand-teal);
  text-decoration: none;
}
.site-nav a:hover::after {
  width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 6px;
  transition: all 0.3s;
}
.hamburger span:nth-child(1) { top: 8px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.is-open span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* モバイルメニュー */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s;
}
.mobile-nav-inner {
  position: absolute;
  right: 0;
  top: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-white);
  padding: 72px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.mobile-nav.is-open .mobile-nav-inner {
  transform: translateX(0);
}
.mobile-nav-inner a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-inner a:hover {
  text-decoration: none;
  color: var(--accent);
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: block; }
}

/* ══════════════════════════════════════
   パンくず（強化版）
   ══════════════════════════════════════ */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 8px;
  font-size: 0.7rem;
  color: var(--border);
}
.breadcrumb-current {
  color: var(--brand-teal);
  font-weight: 600;
}

/* ── PR表記 ── */
.pr-notice {
  background: var(--border-light);
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-radius: 4px;
  margin-bottom: 24px;
}

/* ══════════════════════════════════════
   記事メタ
   ══════════════════════════════════════ */
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-tag {
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(40, 125, 119, 0.2);
}
.reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.reading-time svg {
  width: 14px;
  height: 14px;
}

.article-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.article-views svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}
.article-card-tag + .article-views {
  font-size: 0.7rem;
}

/* ── 記事タイトル ── */
.article-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  font-family: var(--font-serif);
}
@media (max-width: 768px) {
  .article-title { font-size: 1.4rem; }
}

/* ── アイキャッチ画像 ── */
.article-eyecatch {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.article-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1200 / 630;
  object-fit: contain;
}
.article-figure { margin: 28px 0; }
.article-figure img { width: 100%; height: auto; border-radius: 10px; }
/* The evidence-heavy motivation article needs its prose to lead; these rules are inert for every other article. */
body[data-article-slug="office-job-motivation"] .article-eyecatch,
body[data-article-slug="office-job-motivation"] .article-figure {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
body[data-article-slug="office-job-motivation"] .article-eyecatch {
  margin-bottom: 40px;
  box-shadow: none;
  border: 1px solid rgba(22, 74, 74, .12);
}
body[data-article-slug="office-job-motivation"] .article-eyecatch img,
body[data-article-slug="office-job-motivation"] .article-figure img {
  filter: saturate(.82) contrast(.96);
}
body[data-article-slug="office-job-motivation"] .article-figure { margin-top: 40px; margin-bottom: 40px; }
.article-table-wrap { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; }
.article-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .92rem; }
.article-table-wrap th, .article-table-wrap td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.article-table-wrap th { background: var(--brand-cream-light); color: var(--accent); font-weight: 700; }
.article-note { font-size: .82rem; color: var(--text-light); }
@media (max-width: 768px) {
  .article-eyecatch {
    border-radius: 8px;
    margin-bottom: 24px;
  }
}

/* ══════════════════════════════════════
   目次（強化版）
   ══════════════════════════════════════ */
.article-toc {
  background: var(--brand-cream-light);
  border: 1px solid var(--brand-cream);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
  position: relative;
}
.article-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.article-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-toc-title::before {
  content: '\1F4D6';
  font-size: 1.1em;
}
.toc-toggle {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 40px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s;
}
.toc-toggle:hover {
  background: var(--brand-teal-light);
  color: var(--brand-teal-dark);
}
.toc-toggle:focus-visible {
  outline: 3px solid rgba(40, 125, 119, .28);
  outline-offset: 2px;
}
.article-toc-body {
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.article-toc-body.is-collapsed {
  max-height: 0 !important;
}
.article-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin-top: 16px;
}
.article-toc li {
  counter-increment: toc;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.article-toc li::before {
  content: counter(toc) ". ";
  color: var(--brand-teal);
  font-weight: 700;
}
.article-toc li a {
  display: inline-block;
  padding: 3px 0;
  color: var(--text);
  transition: color 0.2s;
}
.article-toc li a:hover {
  color: var(--accent);
  text-decoration: none;
}
.toc-sub { padding-left: 20px; margin-top: 4px; }
.toc-sub li { font-size: 0.85rem; }
.toc-sub li::before { content: "- "; color: var(--text-muted); font-weight: 400; }

@media (max-width: 768px) {
  .article-toc {
    padding: 14px 16px;
    margin-bottom: 32px;
  }
  .article-toc-title { font-size: 0.9rem; }
  .toc-toggle {
    min-height: 44px;
    flex: 0 0 auto;
    font-size: 0.8rem;
  }
  .article-toc ol { margin-top: 12px; }
  .article-toc li {
    margin-bottom: 8px;
    line-height: 1.65;
  }
  .article-toc li a { padding: 5px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .article-toc-body { transition: none; }
}

/* ══════════════════════════════════════
   記事本文
   ══════════════════════════════════════ */
.article-body {
  margin-bottom: 48px;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.95;
}
.article-body h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 56px 0 22px;
  padding: 13px 16px;
  background: var(--accent-light);
  color: var(--text);
  border: 0;
  border-bottom: 2px solid var(--accent);
  font-family: var(--font-sans);
  position: relative;
}
.article-body h3 {
  font-size: clamp(1.18rem, 1.6vw, 1.32rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 42px 0 20px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.article-body h4 {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 32px 0 14px;
  color: var(--brand-teal-dark);
}
.article-body p { margin-bottom: 20px; }
.article-body ul {
  margin: 0 0 20px 0;
  list-style: none;
  padding-left: 0;
}
.article-body ul > li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.article-body ul > li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--point-teal);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.article-body ol {
  margin: 0 0 20px 0;
  list-style: none;
  padding-left: 0;
  counter-reset: ol-counter;
}
.article-body ol > li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  line-height: 1.8;
  counter-increment: ol-counter;
}
.article-body ol > li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body mark {
  color: inherit;
  font-weight: inherit;
  padding: 0 .08em;
  background: linear-gradient(transparent 42%, #fff0a8 42%, #fff0a8 88%, transparent 88%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.article-body blockquote {
  background: var(--border-light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-light);
}

/* ── ポイントボックス ── */
.point-box {
  background: var(--brand-teal-light);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin: 24px 0;
}
.point-box-title {
  font-weight: 700;
  color: var(--point-teal);
  margin-bottom: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.point-box-title::before {
  content: "\1F4A1";
  font-size: 1.1em;
}

.warning-box {
  background: #FEF2F2;
  border-left: 4px solid var(--warning-red);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.warning-box-title {
  font-weight: 700;
  color: var(--warning-red);
  margin-bottom: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.warning-box-title::before {
  content: "\26A0\FE0F";
  font-size: 1.1em;
}

/* ── キャラコメント（ミサキの声） ── */
.chara-comment {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 32px 0;
  padding: 24px 20px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.chara-comment--accent {
  border-color: var(--accent);
  background: linear-gradient(135deg, #f8faff, var(--bg-white));
}
.chara-comment--warm {
  border-color: #d4a880;
  background: linear-gradient(135deg, #fdf8f4, var(--bg-white));
}
.chara-comment--alert {
  border-color: var(--warning-red);
  background: linear-gradient(135deg, #fef8f8, var(--bg-white));
}
.chara-comment-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 14px;
  border-radius: 12px;
  color: #fff;
  white-space: nowrap;
  background: var(--accent);
}
.chara-comment--warm .chara-comment-label { background: #d4a880; }
.chara-comment--alert .chara-comment-label { background: var(--warning-red); }
.chara-comment-img {
  flex: 0 0 56px;
  width: 56px;
}
.chara-comment-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}
.chara-comment-body {
  flex: 1;
  padding-top: 4px;
}
.chara-comment-name {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.chara-comment--warm .chara-comment-name { color: #8b5e3c; }
.chara-comment--alert .chara-comment-name { color: var(--warning-red); }
.chara-comment-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}
.chara-comment-text strong { color: var(--accent-dark); }
@media (max-width: 480px) {
  .chara-comment-img { flex: 0 0 48px; width: 48px; }
  .chara-comment { padding: 20px 16px; gap: 12px; }
}

/* ── 比較テーブル ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.comparison-table th {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--accent);
}
.comparison-table tr:nth-child(even) { background: var(--border-light); }

/* ══════════════════════════════════════
   CTA（脈動アニメーション付き）
   ══════════════════════════════════════ */
.article-cta {
  background: linear-gradient(135deg, var(--brand-cream-light), var(--brand-cream));
  border: 2px solid var(--cta);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin: 48px 0;
}
.article-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.article-cta-preview {
  flex: 0 0 160px;
  width: 160px;
  position: relative;
  height: 200px;
}
.article-cta-preview .manga-card {
  position: absolute;
  width: 110px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.article-cta-preview .manga-card img {
  width: 100%;
  height: auto;
  display: block;
}
.article-cta-preview .manga-card:nth-child(1) {
  top: 16px;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
}
.article-cta-preview .manga-card:nth-child(2) {
  top: 6px;
  left: 22px;
  transform: rotate(-1deg);
  z-index: 2;
}
.article-cta-preview .manga-card:nth-child(3) {
  top: 0;
  left: 44px;
  transform: rotate(4deg);
  z-index: 3;
}
.article-cta:hover .manga-card:nth-child(1) {
  transform: rotate(-10deg) translateX(-8px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.article-cta:hover .manga-card:nth-child(2) {
  transform: rotate(0deg) translateY(-6px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.article-cta:hover .manga-card:nth-child(3) {
  transform: rotate(8deg) translateX(8px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.article-cta-content {
  flex: 1;
  text-align: center;
}
.article-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.article-cta-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .article-cta-inner { flex-direction: column; gap: 16px; }
  .article-cta-preview { flex: none; width: 140px; height: 170px; margin: 0 auto; }
  .article-cta-preview .manga-card { width: 90px; }
}
.cta-button {
  display: inline-block;
  background: var(--cta);
  color: white;
  padding: 14px 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  animation: cta-pulse 2s ease-in-out infinite;
}
.cta-button:hover {
  background: var(--cta-hover);
  text-decoration: none;
  animation: none;
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}
/* アフィリエイトCTA（記事内インライン） */
.affiliate-cta {
  text-align: center;
  margin: 16px 0 32px;
}
.cta-button--inline {
  padding: 12px 32px;
  font-size: 0.9rem;
  animation: none;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); }
}

/* ══════════════════════════════════════
   前の記事・次の記事ナビ
   ══════════════════════════════════════ */
.post-nav {
  display: flex;
  gap: 16px;
  margin: 48px 0 0;
}
.post-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-nav-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
  text-decoration: none;
}
.post-nav-item--next { flex-direction: row-reverse; text-align: right; }
.post-nav-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.post-nav-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.post-nav-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .post-nav { flex-direction: column; }
}

/* ── 関連記事 ── */
.related-articles {
  margin: 48px 0;
}
.related-articles-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.related-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
  text-decoration: none;
}
.related-card-body { flex: 1; }
.related-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}
.related-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   フッター（3カラム強化版）
   ══════════════════════════════════════ */
.site-footer {
  background: var(--accent-dark);
  color: #e8e8e8;
  padding: 48px 0 24px;
  margin-top: 60px;
  font-size: 0.85rem;
}
.site-footer .container {
  max-width: 1100px;
}
.site-footer a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.site-footer a:hover { color: var(--brand-cream); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.footer-nav-list {
  list-style: none;
}
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list a { font-size: 0.8rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}
.footer-sns {
  display: flex;
  gap: 12px;
}
.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.2s;
}
.footer-sns a:hover {
  border-color: var(--brand-teal);
  background: rgba(40, 125, 119, 0.2);
}
.footer-sns svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.6);
}
.footer-sns a:hover svg {
  fill: #fff;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ══════════════════════════════════════
   カードグリッド（メディアトップ用）
   ══════════════════════════════════════ */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (min-width: 768px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}
.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  border-top: 3px solid transparent;
}
.article-card:hover {
  box-shadow: 0 8px 24px rgba(38, 54, 87, 0.12);
  transform: translateY(-4px);
  text-decoration: none;
  border-top-color: var(--brand-teal);
}
.article-card-thumb {
  aspect-ratio: 1200/630;
  background: var(--border-light);
  overflow: hidden;
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}
.article-card-body { padding: 16px; }
.article-card-tag {
  font-size: 0.65rem;
  color: var(--brand-teal);
  font-weight: 600;
  margin-bottom: 6px;
  background: var(--brand-teal-light);
  display: inline-block;
  padding: 1px 8px;
  border-radius: 8px;
}
.article-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
}
.article-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── タグフィルター ── */
.tag-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.tag-filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tag-filter-btn:hover,
.tag-filter-btn.active {
  background: var(--brand-teal);
  color: white;
  border-color: var(--brand-teal);
}

/* ══════════════════════════════════════
   フェードインアニメーション
   ══════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   メディアトップ ヒーロー
   ══════════════════════════════════════ */
.media-hero {
  text-align: center;
  min-height: 520px;
  padding: 48px 64px;
  background: linear-gradient(180deg, var(--brand-cream-light) 0%, var(--bg) 100%);
  margin: 0 -64px;
}
.media-hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--accent);
}
.media-hero-title span {
  color: var(--brand-teal);
}
.media-hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .container { padding-right: 40px; padding-left: 40px; }
  .media-hero { margin-right: -40px; margin-left: -40px; padding: 42px 40px; }
  .media-hero-title { font-size: 2.25rem; }
  .media-hero-desc { font-size: 1rem; }
}
@media (max-width: 480px) {
  .container { padding-right: 20px; padding-left: 20px; }
  .media-hero { margin-right: -20px; margin-left: -20px; padding: 36px 20px; }
}

/* Site-base reading contract: visible body copy stays within the shared reading token. */
p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   人気記事スライダー
   ══════════════════════════════════════ */
.latest-slider-section {
  margin: 0 0 40px;
}
.latest-slider-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-teal);
}
.article-grid-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-teal);
}
.latest-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.latest-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.latest-slider-track::-webkit-scrollbar { display: none; }

.latest-slider-card {
  flex: 0 0 calc(33.333% - 11px);
  scroll-snap-align: start;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.latest-slider-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.latest-slider-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.latest-slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-slider-info {
  padding: 12px 14px 14px;
}
.latest-slider-tag {
  display: inline-block;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.latest-slider-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-slider-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.latest-slider-btn:hover {
  background: var(--accent-light);
}
.latest-slider-btn svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .latest-slider-card {
    flex: 0 0 calc(50% - 8px);
  }
}
@media (max-width: 768px) {
  .latest-slider-card {
    flex: 0 0 85%;
  }
  .latest-slider-btn {
    display: none;
  }
}

/* ══════════════════════════════════════
   ページネーション
   ══════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0 16px;
  flex-wrap: wrap;
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-white);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
  font-family: var(--font-sans);
}
.pagination-btn:hover {
  background: var(--brand-teal-light);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  text-decoration: none;
}
.pagination-btn.is-active {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #fff;
  pointer-events: none;
}
.pagination-btn:disabled,
.pagination-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.pagination-btn svg {
  width: 16px;
  height: 16px;
}
.pagination-info {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .pagination {
    gap: 6px;
  }
  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
    padding: 0 8px;
  }
}

/* ── 記事下CTA ── */
.cta-box {
  margin: 32px 0;
  padding: 28px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f4f0 100%);
  border: 1px solid var(--accent);
}
.cta-box--accent {
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f4f0 100%);
}
.cta-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.cta-box p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 16px;
}
.cta-buttons {
  text-align: center;
}
.cta-buttons .btn--accent {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cta-buttons .btn--accent:hover {
  opacity: 0.85;
}

/* ── 関連記事カード ── */
.related-articles { margin-top: 48px; }
.related-articles h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.related-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.related-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card-body {
  padding: 12px;
}
.related-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 6px;
}
.related-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .related-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .related-card {
    display: flex;
    flex-direction: row;
  }
  .related-card-thumb {
    flex: 0 0 120px;
    aspect-ratio: auto;
    height: 80px;
  }
  .related-card-body {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* 記事著者ボックス（2026-08-19 追加。EQUAL DESIGNコラムと要素構成を揃える） */
.article-author {
  margin: 56px 0 0;
  max-width: 720px;
  padding: 28px 30px 30px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.article-author-label {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.article-author-body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.article-author-avatar {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff url('/tenshoku/shared/assets/misaki-avatar-source.png') no-repeat;
  background-size: 211px;
  background-position: -19px -47px;
}
.article-author-detail { display: grid; gap: 10px; }
.article-author-detail strong { font-size: 17px; font-weight: 700; color: var(--text); }
.article-author-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-author-credentials li {
  font-size: 11px;
  line-height: 1;
  padding: 6px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 4px;
}
.article-author-detail p { font-size: 14px; line-height: 1.85; color: var(--text-light); margin: 0; }
.article-author-links { margin-top: 4px; }
.article-author-links a {
  font-size: 13px;
  color: var(--brand-teal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
@media (max-width: 600px) {
  .article-author { padding: 22px 18px 24px; }
  .article-author-body { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .article-author-avatar { width: 56px; height: 56px; background-size: 164px; background-position: -15px -37px; }
}

/* 記事を選ぶための検索とカテゴリ */
.media-hub { --finder-control-height: 44px; --finder-gap: 12px; }
.article-finder-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; min-height: var(--finder-control-height); color: var(--brand-teal-dark); font-weight: 700; border-bottom: 1px solid currentColor; }
#article-search { scroll-margin-top: 88px; }
.article-finder { margin-top: 24px; padding: 24px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; }
.article-finder label { display: block; font-weight: 700; margin-bottom: 8px; }
.article-finder input { width: 100%; min-height: var(--finder-control-height); padding: 10px 12px; border: 1px solid var(--text-light); border-radius: 8px; font: inherit; background: var(--bg-white); color: var(--text); }
.article-category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.article-category-filter button, #article-reset { min-height: var(--finder-control-height); padding: 8px 14px; border: 1px solid var(--border); border-radius: 24px; background: var(--bg-white); color: var(--text-light); font: inherit; cursor: pointer; }
.article-category-filter button[aria-pressed="true"] { background: var(--brand-teal-dark); border-color: var(--brand-teal-dark); color: white; }
#article-result-count { font-size: .875rem; color: var(--text-light); }
.media-hub #article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-hub .article-card-title { font-size: 1rem; line-height: 1.75; }
.media-hub .article-card-date { color: var(--text-light); }
.media-hub .article-card-tag { font-size: .75rem; }
.article-finder [hidden], #article-empty[hidden] { display: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 4px; }
@media (max-width: 767px) {
  .media-hub #article-grid { grid-template-columns: 1fr; }
  .article-finder { padding: 16px; }
}
