@charset "UTF-8";
/* ============================================================
   QUANZ モダナイゼーション SEO記事 専用CSS — v4
   v3 → v4 の変更点:
     - FAQ セクションのデザインを刷新（フラット / Q・A円アイコン / +×開閉）
     - .anecdote-placeholder クラスを廃止（今後の記事でも使わない）
   既存の構造とトークンは維持。.qz-mod 配下にスコープ。
   ============================================================ */

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

.qz-mod {
  --navy-900: #08182b;
  --navy-800: #0a2540;
  --navy-700: #143a5e;
  --navy-600: #1A3870;
  --navy-100: #e6ecf3;
  --navy-50:  #f3f6fa;
  --ink:      #1a2332;
  --ink-soft: #4a5868;
  --ink-mute: #7a8694;
  --line:     #e3e6eb;
  --line-soft:#eef0f4;
  --bg:       #ffffff;
  --bg-soft:  #f7f5f2;
  --bg-warm:  #fbf8f4;
  --coral:    #d94e3e;
  --amber:    #d99852;
  --gold:     #FFC857;
  --orange:   #FF6B1A;
  --orange-light:#FF8C3A;
  --orange-dark: #B8470F;
  --green:    #2d8659;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.015em;
  font-feature-settings: "palt" 1;
}

.qz-mod a { color: var(--navy-700); text-decoration: none; }
.qz-mod a:hover { text-decoration: underline; }
.qz-mod img { display: block; max-width: 100%; height: auto; }
.qz-mod button { font-family: inherit; cursor: pointer; }

/* ===== ヘッダー ===== */
.qz-mod .site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.qz-mod .site-header__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.qz-mod .site-logo { display: inline-flex; align-items: center; }
.qz-mod .site-logo img { height: 32px; width: auto; display: block; }
.qz-mod .site-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.qz-mod .site-nav a { color: var(--ink-soft); }
.qz-mod .site-nav a:hover { color: var(--navy-700); text-decoration: none; }
.qz-mod .site-nav a.is-active { color: var(--navy-700); font-weight: 700; }
.qz-mod .header-cta {
  background: linear-gradient(180deg, #FF8C3A 0%, #FF6B1A 100%);
  color: #fff;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 0 var(--orange-dark);
}
.qz-mod .header-cta:hover { text-decoration: none; transform: translateY(-1px); }

/* ===== カテゴリヘッダー ===== */
.qz-mod .cat-hero {
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(255,200,87,0.08), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 56px 32px 64px;
  position: relative; overflow: hidden;
}
.qz-mod .cat-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; opacity: 0.7;
}
.qz-mod .cat-hero__inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.qz-mod .cat-hero__crumb { font-size: 12.5px; color: rgba(255,255,255,0.65); margin-bottom: 18px; font-family: var(--font-en); letter-spacing: 0.02em; }
.qz-mod .cat-hero__crumb a { color: rgba(255,255,255,0.85); }
.qz-mod .cat-hero__crumb span { margin: 0 8px; color: rgba(255,255,255,0.4); }
.qz-mod .cat-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.qz-mod .cat-hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.qz-mod .cat-hero__title { font-size: 36px; font-weight: 800; line-height: 1.35; margin-bottom: 14px; letter-spacing: 0.005em; }
.qz-mod .cat-hero__lead { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 720px; line-height: 1.85; }

/* ===== 記事レイアウト ===== */
.qz-mod .article-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: 48px 32px 96px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 56px;
}
.qz-mod .article-main { min-width: 0; }
.qz-mod .article-side { min-width: 0; }
.qz-mod .article-head { margin-bottom: 36px; }
.qz-mod .article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.qz-mod .tag-chip {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  background: var(--navy-50); color: var(--navy-700);
  border: 1px solid var(--navy-100);
  letter-spacing: 0.02em;
}
.qz-mod .tag-chip--pillar { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }
.qz-mod .article-title { font-size: 32px; font-weight: 800; line-height: 1.5; letter-spacing: 0.005em; color: var(--navy-900); margin-bottom: 20px; }
.qz-mod .article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-mute); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.qz-mod .article-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.qz-mod .article-meta__item--author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); font-weight: 500; }
.qz-mod .article-meta__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  overflow: hidden;
}
.qz-mod .article-meta__avatar img { width: 100%; height: 100%; object-fit: cover; }
.qz-mod .article-meta__updated { color: var(--coral); font-weight: 600; }

/* ===== 本文タイポ ===== */
.qz-mod .article-body { font-size: 16px; line-height: 1.95; color: var(--ink); }
.qz-mod .article-body p { margin-bottom: 22px; }
.qz-mod .article-body strong {
  font-weight: 700; color: var(--navy-900);
  background: linear-gradient(transparent 70%, rgba(255,200,87,0.55) 70%);
  padding: 0 1px;
}
.qz-mod .article-body em { font-style: normal; color: var(--coral); font-weight: 600; }
.qz-mod .article-body h2 {
  font-size: 26px; font-weight: 800; line-height: 1.5; color: var(--navy-900);
  margin: 64px 0 24px; padding: 18px 0 14px 22px;
  border-left: 5px solid var(--navy-600);
  background: linear-gradient(90deg, var(--navy-50) 0%, transparent 80%);
  letter-spacing: 0.005em; position: relative;
}
.qz-mod .article-body h2::after {
  content: ""; position: absolute; left: -5px; top: 0;
  width: 5px; height: 24px; background: var(--gold);
}
.qz-mod .article-body h3 {
  font-size: 20px; font-weight: 700; line-height: 1.55; color: var(--navy-900);
  margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line);
  position: relative;
}
.qz-mod .article-body h3::before {
  content: ""; display: inline-block; width: 10px; height: 10px;
  background: var(--coral); margin-right: 10px; border-radius: 2px;
  vertical-align: 2px;
}
.qz-mod .article-body h4 { font-size: 16.5px; font-weight: 700; color: var(--navy-700); margin: 28px 0 12px; }
.qz-mod .article-body ul,
.qz-mod .article-body ol { margin: 0 0 24px 0; padding-left: 0; }
.qz-mod .article-body ul li,
.qz-mod .article-body ol li { list-style: none; position: relative; padding: 6px 0 6px 28px; line-height: 1.85; }
.qz-mod .article-body ul li::before {
  content: ""; position: absolute; left: 6px; top: 18px;
  width: 7px; height: 7px; background: var(--navy-600); border-radius: 50%;
}
.qz-mod .article-body ol { counter-reset: olist; }
.qz-mod .article-body ol > li { counter-increment: olist; padding-left: 36px; }
.qz-mod .article-body ol > li::before {
  content: counter(olist);
  position: absolute; left: 0; top: 6px;
  width: 24px; height: 24px;
  background: var(--navy-600); color: #fff;
  border-radius: 50%;
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.qz-mod .article-body blockquote {
  background: var(--bg-warm); border-left: 4px solid var(--amber);
  padding: 20px 24px; margin: 28px 0;
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.85;
  border-radius: 0 4px 4px 0;
}
.qz-mod .article-body blockquote p:last-child { margin-bottom: 0; }
.qz-mod .article-body table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0; font-size: 14.5px;
  border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
}
.qz-mod .article-body th {
  background: var(--navy-600); color: #fff;
  font-weight: 700; padding: 12px 16px; text-align: left;
  font-size: 13.5px; letter-spacing: 0.02em;
}
.qz-mod .article-body td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.75; }
.qz-mod .article-body tr:nth-child(even) td { background: var(--navy-50); }
.qz-mod .article-body td strong { background: none; color: var(--navy-900); }

/* ===== 目次 ===== */
.qz-mod .toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 0 auto 40px;
  max-width: 92%;
}
.qz-mod .toc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.qz-mod .toc__title { font-size: 14px; font-weight: 700; color: var(--navy-700); display: inline-flex; align-items: center; gap: 8px; }
.qz-mod .toc__title::before { content: ""; width: 14px; height: 2px; background: var(--coral); }
.qz-mod .toc ol { list-style: none; counter-reset: toc; padding-left: 0; }
.qz-mod .toc > ol > li {
  counter-increment: toc;
  font-size: 14px; padding: 7px 0 7px 30px;
  position: relative; line-height: 1.7;
  border-bottom: 1px dashed var(--line-soft);
}
.qz-mod .toc > ol > li:last-child { border-bottom: none; }
.qz-mod .toc > ol > li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 7px;
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  color: var(--coral); letter-spacing: 0.02em;
}
.qz-mod .toc a { color: var(--ink); }
.qz-mod .toc a:hover { color: var(--navy-700); text-decoration: underline; }

/* ===== v3.5 追加：目次サブリスト（H3）と「もっと見る」 ===== */
.qz-mod .toc__sublist {
  list-style: none;
  margin: 6px 0 0 0;
  padding-left: 18px;
}
.qz-mod .toc__sublist li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.65;
  border-bottom: none;
}
.qz-mod .toc__sublist li::before {
  content: "—";
  position: absolute; left: 0; top: 4px;
  color: var(--ink-mute);
  font-family: var(--font-en);
}
.qz-mod .toc__sublist a { color: var(--ink-soft); }
.qz-mod .toc__sublist a:hover { color: var(--navy-700); text-decoration: underline; }

.qz-mod .toc__more {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.qz-mod .toc__more > summary.toc__more-summary {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  font-size: 13px; font-weight: 700;
  color: var(--navy-700);
  padding: 7px 16px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  list-style: none;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
}
.qz-mod .toc__more > summary.toc__more-summary::-webkit-details-marker { display: none; }
.qz-mod .toc__more > summary.toc__more-summary::marker { content: ""; }
.qz-mod .toc__more > summary.toc__more-summary:hover {
  background: var(--navy-100);
  border-color: var(--navy-600);
}
.qz-mod .toc__more > summary.toc__more-summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.qz-mod .toc__more[open] > summary.toc__more-summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.qz-mod .toc__more-label-closed { display: inline; }
.qz-mod .toc__more-label-open   { display: none; }
.qz-mod .toc__more[open] .toc__more-label-closed { display: none; }
.qz-mod .toc__more[open] .toc__more-label-open   { display: inline; }
.qz-mod .toc__list--continued {
  list-style: none;
  counter-reset: toc-cont;
  margin-top: 12px;
  padding-left: 0;
}
.qz-mod .toc__list--continued > li {
  counter-increment: toc-cont;
  font-size: 14px;
  padding: 7px 0 7px 30px;
  position: relative;
  line-height: 1.7;
  border-bottom: 1px dashed var(--line-soft);
}
.qz-mod .toc__list--continued > li:last-child { border-bottom: none; }
.qz-mod .toc__list--continued > li::before {
  /* start 属性のオフセットを反映 */
  content: counter(toc-cont, decimal-leading-zero);
  position: absolute; left: 0; top: 7px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  color: var(--coral); letter-spacing: 0.02em;
}
/* start 属性に応じてカウンタを補正 */
.qz-mod .toc__list--continued[start="4"]  { counter-reset: toc-cont 3; }
.qz-mod .toc__list--continued[start="5"]  { counter-reset: toc-cont 4; }
.qz-mod .toc__list--continued[start="6"]  { counter-reset: toc-cont 5; }
.qz-mod .toc__list--continued[start="7"]  { counter-reset: toc-cont 6; }
.qz-mod .toc__list--continued[start="8"]  { counter-reset: toc-cont 7; }

/* ===== v3.5 追加：アイキャッチ画像 ===== */
.qz-mod .article-eyecatch {
  margin: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 6px 24px rgba(8,24,43,0.10);
}
.qz-mod .article-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== 補助ブロック ===== */
.qz-mod .summary-box {
  background: var(--bg-warm);
  border-left: 4px solid var(--navy-600);
  border-radius: 4px; padding: 24px 28px;
  margin: 32px 0 40px;
}
.qz-mod .summary-box__label {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--navy-600);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 8px;
}
.qz-mod .summary-box__label::before { content: "\25A0"; color: var(--gold); font-size: 10px; }
.qz-mod .summary-box__title { font-size: 15px; font-weight: 700; color: var(--navy-900); margin-bottom: 12px; }
.qz-mod .summary-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.qz-mod .summary-box li { font-size: 14.5px; color: var(--ink); padding-left: 24px; position: relative; line-height: 1.75; }
.qz-mod .summary-box li::before { content: "\2713"; position: absolute; left: 0; top: 1px; color: var(--green); font-weight: 800; }

.qz-mod .point-box {
  border: 1px solid var(--navy-100);
  background: linear-gradient(180deg, #fff, var(--navy-50));
  border-radius: 6px; padding: 22px 26px;
  margin: 28px 0;
}
.qz-mod .point-box__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--navy-700); letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.qz-mod .point-box__label::before {
  content: "POINT";
  background: var(--coral); color: #fff;
  padding: 2px 8px; border-radius: 3px;
  font-family: var(--font-en); font-size: 10px; letter-spacing: 0.1em;
}
.qz-mod .point-box__body { font-size: 15px; color: var(--ink); line-height: 1.85; }

.qz-mod .ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.qz-mod .ba-card { border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; background: #fff; }
.qz-mod .ba-card--before { background: #faf6f4; border-color: #e8d8d2; }
.qz-mod .ba-card--after  { background: #f3f9f5; border-color: #cfe5d6; }
.qz-mod .ba-card__label { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 0.1em; margin-bottom: 10px; font-family: var(--font-en); }
.qz-mod .ba-card--before .ba-card__label { background: var(--coral); color: #fff; }
.qz-mod .ba-card--after  .ba-card__label { background: var(--green); color: #fff; }
.qz-mod .ba-card__title { font-size: 15px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.qz-mod .ba-card__text  { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

.qz-mod .lead {
  font-size: 17px; line-height: 1.95;
  background: var(--navy-50);
  padding: 24px 28px; border-radius: 8px;
  margin: 0 0 28px;
  border-left: 4px solid var(--navy-600);
  color: var(--ink);
}
.qz-mod .lead strong { background: linear-gradient(transparent 70%, rgba(255,200,87,0.55) 70%); color: var(--navy-900); }

.qz-mod .callout {
  background: #FFF6E8; border-radius: 8px;
  padding: 20px 24px; margin: 28px 0;
  border-left: 4px solid var(--gold);
  color: var(--ink); font-size: 15.5px; line-height: 1.85;
}
.qz-mod .callout strong { color: var(--orange-dark); background: none; }

/* === CTA 各種 === */
.qz-mod .quanz-cta-slim {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #0A1E3F 0%, #1A3870 100%);
  border-radius: 8px; padding: 20px 28px;
  margin: 36px 0;
  text-decoration: none; transition: transform 0.15s;
  color: #fff;
}
.qz-mod .quanz-cta-slim:hover { transform: translateY(-1px); text-decoration: none; }
.qz-mod .quanz-cta-slim__text { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.4; flex: 1; }
.qz-mod .quanz-cta-slim__text em { font-style: normal; color: var(--gold); background: none; padding: 0; }
.qz-mod .quanz-cta-slim__sub { display: block; font-size: 12.5px; font-weight: 400; color: #B8C4D9; margin-top: 4px; }
.qz-mod .quanz-cta-slim__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 100%);
  color: #fff; padding: 12px 24px;
  border-radius: 6px; font-size: 15px; font-weight: 700;
  box-shadow: 0 3px 0 var(--orange-dark);
  white-space: nowrap; flex-shrink: 0;
}

.qz-mod .quanz-cta-text {
  display: flex; align-items: center; gap: 14px;
  background: #F9FBFD; border-left: 4px solid var(--orange);
  padding: 16px 22px; margin: 28px 0;
  border-radius: 0 6px 6px 0;
  text-decoration: none; transition: background 0.15s;
  color: var(--navy-700);
}
.qz-mod .quanz-cta-text:hover { background: #F1F6FB; text-decoration: none; }
.qz-mod .quanz-cta-text__icon { color: var(--navy-700); font-size: 22px; flex-shrink: 0; }
.qz-mod .quanz-cta-text__body { flex: 1; font-size: 15px; color: var(--navy-700); line-height: 1.5; }
.qz-mod .quanz-cta-text__body strong { font-weight: 700; background: none; color: var(--navy-900); }
.qz-mod .quanz-cta-text__link {
  color: var(--orange); font-weight: 700; font-size: 15px;
  white-space: nowrap;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
}

.qz-mod .quanz-cta-box {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border: 2px solid var(--navy-600);
  border-radius: 12px; padding: 24px 28px;
  margin: 40px 0;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  color: inherit;
}
.qz-mod .quanz-cta-box:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,56,112,0.15); text-decoration: none; }
.qz-mod .quanz-cta-box__icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: var(--navy-600); color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900;
}
.qz-mod .quanz-cta-box__q { font-size: 17px; font-weight: 700; color: var(--navy-600); margin-bottom: 4px; line-height: 1.4; }
.qz-mod .quanz-cta-box__q em { font-style: normal; background: linear-gradient(transparent 60%, #FFE082 60%); padding: 0 2px; }
.qz-mod .quanz-cta-box__sub { font-size: 13px; color: #555; line-height: 1.6; }
.qz-mod .quanz-cta-box__btn {
  background: var(--orange); color: #fff;
  padding: 14px 22px; border-radius: 6px;
  font-size: 15px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 3px 0 var(--orange-dark);
}

.qz-mod .conclusion {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff; border-radius: 10px;
  padding: 36px 40px;
  margin: 56px 0 40px;
  position: relative; overflow: hidden;
}
.qz-mod .conclusion::before {
  content: "Conclusion";
  position: absolute; top: 12px; right: 22px;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,200,87,0.55);
  text-transform: uppercase;
}
.qz-mod .conclusion__title { font-size: 22px; font-weight: 800; line-height: 1.55; margin-bottom: 16px; padding-left: 16px; border-left: 4px solid var(--gold); }
.qz-mod .conclusion__text { font-size: 15.5px; line-height: 1.95; color: rgba(255,255,255,0.92); }
.qz-mod .conclusion__text p { margin-bottom: 14px; }
.qz-mod .conclusion__text p:last-child { margin-bottom: 0; }

/* ===== 著者カード ===== */
.qz-mod .author-card {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 28px 32px; background: #fff;
  margin: 48px 0 32px;
  display: grid; grid-template-columns: 96px 1fr;
  gap: 24px; align-items: start;
}
.qz-mod .author-card__label {
  grid-column: 1 / -1;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--coral);
  text-transform: uppercase;
  margin-bottom: -8px;
}
.qz-mod .author-card__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.qz-mod .author-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.qz-mod .author-card__name { font-size: 18px; font-weight: 800; color: var(--navy-900); margin-bottom: 4px; }
.qz-mod .author-card__role { font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; }
.qz-mod .author-card__bio { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* ===== 関連記事 ===== */
.qz-mod .related { margin: 56px 0 40px; }
.qz-mod .related__title {
  font-size: 20px; font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--coral);
}
.qz-mod .related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.qz-mod .related__card {
  display: block; border: 1px solid var(--line);
  border-radius: 6px; padding: 18px 20px; background: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none; color: inherit;
}
.qz-mod .related__card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,24,43,0.08); text-decoration: none; }
.qz-mod .related__chip { display: inline-block; font-size: 11px; font-weight: 600; background: var(--navy-50); color: var(--navy-700); padding: 2px 8px; border-radius: 3px; margin-bottom: 10px; }
.qz-mod .related__hd { font-size: 14.5px; font-weight: 700; line-height: 1.55; color: var(--navy-900); }

/* ===== 末尾 CTA バナー画像 ===== */
.qz-mod .end-cta-banner {
  display: block; margin: 56px 0 0;
  border-radius: 12px; overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none; line-height: 0;
}
.qz-mod .end-cta-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(8,24,43,0.18); text-decoration: none; }
.qz-mod .end-cta-banner img { width: 100%; height: auto; display: block; }

/* ===== サイドバー ===== */
.qz-mod .side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 24px; align-self: start; }
.qz-mod .side-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px 22px; }
.qz-mod .side-card__title {
  font-size: 13px; font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.qz-mod .side-card__title::before { content: ""; width: 12px; height: 2px; background: var(--coral); }
.qz-mod .side-author { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.qz-mod .side-author__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.qz-mod .side-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.qz-mod .side-author__name { font-size: 13px; font-weight: 700; color: var(--navy-900); }
.qz-mod .side-author__role { font-size: 11px; color: var(--ink-mute); margin-top: 1px; }
.qz-mod .side-author__bio { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; margin-top: 8px; }

.qz-mod .side-popular__list { list-style: none; padding: 0; margin: 0; counter-reset: pop; }
.qz-mod .side-popular__list li {
  counter-increment: pop;
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px; line-height: 1.55;
}
.qz-mod .side-popular__list li:last-child { border-bottom: none; }
.qz-mod .side-popular__list li::before {
  content: counter(pop);
  position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px;
  background: var(--navy-600); color: #fff;
  border-radius: 4px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.qz-mod .side-popular__list li:nth-child(1)::before { background: var(--coral); }
.qz-mod .side-popular__list li:nth-child(2)::before { background: var(--orange); }
.qz-mod .side-popular__list li:nth-child(3)::before { background: var(--amber); }
.qz-mod .side-popular__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.qz-mod .side-popular__list a:hover { color: var(--navy-700); text-decoration: underline; }
.qz-mod .side-popular__empty { font-size: 12px; color: var(--ink-mute); padding: 8px 0; line-height: 1.6; }

.qz-mod .side-cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: 8px;
  padding: 22px 22px 20px;
  text-decoration: none; display: block;
  transition: transform 0.15s;
}
.qz-mod .side-cta:hover { transform: translateY(-2px); text-decoration: none; }
.qz-mod .side-cta__eyebrow { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.qz-mod .side-cta__title { font-size: 16px; font-weight: 700; line-height: 1.55; margin-bottom: 14px; }
.qz-mod .side-cta__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 100%);
  color: #fff;
  padding: 10px 18px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 0 var(--orange-dark);
}

/* ============================================================
   ===== FAQ セクション v4.1（Cocoon親テーマ干渉対策）=====
   - details / summary が親テーマで display: flex 等に上書きされても
     確実に縦並び（Q行 → A行）になるよう、!important + 直接子セレクタで強制
   - 横並び崩れの再発を防ぐ
   ============================================================ */
.qz-mod .faq-section {
  margin: 64px 0 40px;
}
.qz-mod .faq-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--coral);
  margin-bottom: 12px;
}
.qz-mod .faq-section__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--coral);
}
.qz-mod .faq-section__eyebrow .jp {
  color: var(--navy-900);
  letter-spacing: 0.05em;
  font-weight: 700;
}
.qz-mod .faq-section__eyebrow .sep {
  color: var(--ink-mute);
  font-weight: 400;
  margin: 0 -4px;
}
.qz-mod .faq-section__title {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 32px;
  letter-spacing: 0.005em;
}

/* FAQ ブロック全体をブロックレイアウトに固定 */
.qz-mod .faq-block {
  display: block !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* === details.faq-item は必ず block レベル・フル幅 === */
/* （Cocoon 親テーマで details に flex 等が当たっても無効化） */
.qz-mod .faq-section details.faq-item,
.qz-mod details.faq-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--line) !important;
}
.qz-mod .faq-section details.faq-item:first-of-type,
.qz-mod details.faq-item:first-of-type {
  border-top: 1px solid var(--line) !important;
}
.qz-mod .faq-section details.faq-item[open],
.qz-mod details.faq-item[open] {
  background: transparent !important;
  box-shadow: none !important;
}

/* === Q 行（summary）— フル幅で 1 行表示、内部だけ flex === */
.qz-mod .faq-section details.faq-item > summary.faq-q,
.qz-mod details.faq-item > summary.faq-q {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 26px 56px 26px 0 !important;
  position: relative !important;
  align-items: center !important;
  gap: 18px !important;
  cursor: pointer !important;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  line-height: 1.55;
  list-style: none !important;
  border: none !important;
}
.qz-mod details.faq-item > summary.faq-q::-webkit-details-marker { display: none !important; }
.qz-mod details.faq-item > summary.faq-q::marker { content: "" !important; }

/* Q 円アイコン */
.qz-mod details.faq-item > summary.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.qz-mod details.faq-item > summary.faq-q .faq-q__txt {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  color: var(--navy-900);
}
/* 開閉アイコン（+ ⇄ ×） */
.qz-mod details.faq-item > summary.faq-q::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center center, center center;
  background-size: 18px 2px, 2px 18px;
  background-repeat: no-repeat;
  color: var(--ink-mute);
  transition: transform 0.2s ease, color 0.2s ease;
}
.qz-mod details.faq-item[open] > summary.faq-q::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--coral);
}
.qz-mod details.faq-item:hover > summary.faq-q { color: var(--navy-700); }

/* === A 行（次の行）— ブロックでフル幅、内部だけ flex === */
.qz-mod .faq-section details.faq-item > .faq-a,
.qz-mod details.faq-item > .faq-a {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 56px 26px 0 !important;
  gap: 18px !important;
  align-items: flex-start !important;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
}
.qz-mod details.faq-item > .faq-a::before {
  content: "A";
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  margin-top: -2px;
}
.qz-mod details.faq-item > .faq-a .faq-a__txt {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 4px;
}
.qz-mod details.faq-item > .faq-a strong {
  background: none;
  color: var(--navy-900);
}

/* ===== 次に読むべき記事 ===== */
.qz-mod .next-articles {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--navy-50);
  border-radius: 10px;
  border: 1px solid var(--navy-100);
}
.qz-mod .next-articles__title {
  font-size: 18px; font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--coral);
}
.qz-mod .next-articles ul { list-style: none; padding: 0; margin: 0; }
.qz-mod .next-articles ul li { font-size: 14.5px; margin-bottom: 10px; padding: 0; line-height: 1.6; }
.qz-mod .next-articles ul li::before { display: none; }
.qz-mod .next-articles ul li a { color: var(--navy-600); font-weight: 700; text-decoration: none; }
.qz-mod .next-articles ul li a:hover { text-decoration: underline; }

/* ===== カテゴリ一覧 ===== */
.qz-mod .list-wrap { max-width: 1180px; margin: 0 auto; padding: 48px 32px 96px; }
.qz-mod .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.qz-mod .article-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.qz-mod .article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(8,24,43,0.1); text-decoration: none; }
.qz-mod .article-card__thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em;
  position: relative; overflow: hidden;
}
.qz-mod .article-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px; opacity: 0.7;
}
.qz-mod .article-card__thumb span { position: relative; z-index: 1; }
.qz-mod .article-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.qz-mod .article-card__body { padding: 18px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.qz-mod .article-card__chip { align-self: flex-start; font-size: 11px; font-weight: 600; background: var(--navy-50); color: var(--navy-700); padding: 3px 10px; border-radius: 3px; }
.qz-mod .article-card__title { font-size: 16px; font-weight: 700; line-height: 1.55; color: var(--navy-900); flex: 1; }
.qz-mod .article-card__meta { font-size: 11.5px; color: var(--ink-mute); display: flex; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; margin-top: auto; }
.qz-mod .pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.qz-mod .page-link { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--ink-soft); background: #fff; text-decoration: none; }
.qz-mod .page-link.is-current { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }
.qz-mod .page-link:hover:not(.is-current) { border-color: var(--navy-600); color: var(--navy-700); text-decoration: none; }

/* ===== フッター ===== */
.qz-mod .site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 36px 32px 32px;
  font-size: 12.5px;
  text-align: center;
  border-top: 4px solid var(--coral);
}
.qz-mod .site-footer__inner { max-width: 1180px; margin: 0 auto; }
.qz-mod .site-footer a { color: rgba(255,255,255,0.85); }

/* ===== レスポンシブ ===== */
@media (max-width: 980px) {
  .qz-mod .article-wrap { grid-template-columns: 1fr; gap: 0; }
  .qz-mod .article-side { display: none; }
  .qz-mod .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .qz-mod .site-header__inner { padding: 12px 18px; gap: 12px; }
  .qz-mod .site-nav { display: none; }
  .qz-mod .site-logo img { height: 26px; }
  .qz-mod .cat-hero { padding: 44px 22px 48px; }
  .qz-mod .cat-hero__title { font-size: 26px; }
  .qz-mod .cat-hero__lead { font-size: 14.5px; }
  .qz-mod .article-wrap { padding: 32px 18px 60px; }
  .qz-mod .article-title { font-size: 24px; }
  .qz-mod .article-body { font-size: 15.5px; }
  .qz-mod .article-body h2 { font-size: 21px; margin: 44px 0 18px; padding: 14px 0 12px 16px; }
  .qz-mod .article-body h3 { font-size: 17px; margin: 32px 0 14px; }
  .qz-mod .toc { max-width: 100%; }
  .qz-mod .summary-box { padding: 20px 22px; }
  .qz-mod .ba-grid { grid-template-columns: 1fr; }
  .qz-mod .conclusion { padding: 28px 24px; }
  .qz-mod .conclusion__title { font-size: 18px; }
  .qz-mod .end-cta-banner { margin-top: 40px; }
  .qz-mod .author-card { grid-template-columns: 72px 1fr; padding: 22px 20px; gap: 16px; }
  .qz-mod .author-card__avatar { width: 72px; height: 72px; font-size: 22px; }
  .qz-mod .article-grid { grid-template-columns: 1fr; }
  .qz-mod .quanz-cta-slim { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 18px; }
  .qz-mod .quanz-cta-slim__btn { justify-content: center; padding: 14px 20px; }
  .qz-mod .quanz-cta-text { flex-direction: column; align-items: stretch; text-align: left; }
  .qz-mod .quanz-cta-text__link { align-self: flex-end; }
  .qz-mod .quanz-cta-box { flex-direction: column; align-items: stretch; text-align: center; }
  .qz-mod .quanz-cta-box__btn { justify-content: center; }

  /* FAQ モバイル */
  .qz-mod .faq-section__title { font-size: 28px; }
  .qz-mod .faq-q { font-size: 15px; padding: 22px 44px 22px 0; gap: 14px; }
  .qz-mod .faq-q::before { width: 32px; height: 32px; font-size: 13px; }
  .qz-mod .faq-q::after { width: 16px; height: 16px; background-size: 16px 2px, 2px 16px; right: 8px; }
  .qz-mod .faq-a { font-size: 14.5px; padding: 0 44px 22px 0; gap: 14px; }
  .qz-mod .faq-a::before { width: 32px; height: 32px; font-size: 13px; }

  .qz-mod .list-wrap { padding: 32px 18px 60px; }
}
