/* AI KASEGU LAB. — 白地・読みもの中心のデザイン。親テーマのレイアウトCSSには依存しない */
:root {
  --bg: #fff; --surface: #f5f7fb; --ink: #0f172a; --text: #1f2937; --muted: #64748b; --line: #e2e8f0;
  --accent: #1d4ed8; --accent-dark: #1e3a8a; --accent-soft: #eaf0ff; --amber: #f59e0b;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", YuGothic, "Noto Sans JP", "Noto Sans CJK JP", Meiryo, system-ui, sans-serif;
  --font-en: Inter, "Noto Sans JP", system-ui, sans-serif;
  --wrap: 1160px; --narrow: 760px; --radius: 14px; --head-h: 68px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .18);
  /* Kadence のパレット変数も白基調に寄せる（ブロック・PMPro 画面用） */
  --global-palette1: #1d4ed8; --global-palette2: #1e3a8a; --global-palette3: #0f172a; --global-palette4: #1f2937;
  --global-palette5: #64748b; --global-palette6: #cbd5e1; --global-palette7: #f5f7fb; --global-palette8: #f8fafc; --global-palette9: #ffffff;
  --global-body-font-family: var(--font); --global-heading-font-family: var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.akl { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.85; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; margin: 0; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
ul, .crumbs ol, .toc ol, .pagination ul { margin: 0; padding: 0; list-style: none; }
html, body.akl { overflow-x: clip; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, var(--narrow)); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.eyebrow { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; border: 1.5px solid transparent; transition: background .2s, color .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(29, 78, 216, .7); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ヘッダー */
.site-head { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.is-scrolled { border-color: var(--line); box-shadow: 0 4px 16px -12px rgba(15, 23, 42, .25); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-en); font-weight: 800; font-size: 19px; letter-spacing: .02em; white-space: nowrap; flex: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #60a5fa); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 7px; border: 2.5px solid #fff; border-radius: 3px; border-right-color: transparent; }
.brand__dot { color: var(--accent); }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; gap: 4px; }
.gnav__list a { display: inline-block; padding: 8px 11px; color: var(--text); font-weight: 500; font-size: 14px; border-radius: 8px; white-space: nowrap; }
.gnav__sp { display: none; }
.gnav__list a:hover { background: var(--surface); text-decoration: none; color: var(--ink); }
.gnav__cta { display: flex; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ヒーロー */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, #f7f9fe 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.25; letter-spacing: .005em; }
.hero__lead { margin-top: 22px; font-size: 16.5px; color: var(--muted); max-width: 34em; }
.hero__facts { display: flex; gap: 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-en); font-size: 28px; color: var(--ink); line-height: 1.1; }
.hero__facts span { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* 無料ガイド CTA */
.guide-cta { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.guide-cta__cover { aspect-ratio: 3 / 4; border-radius: 8px; background: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 55%, #60a5fa 100%); color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 8px 10px 24px -12px rgba(15, 23, 42, .5); position: relative; overflow: hidden; }
.guide-cta__cover::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .25); }
.guide-cta__cover-label { font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; font-weight: 700; opacity: .85; }
.guide-cta__cover-title { font-weight: 700; font-size: 15px; line-height: 1.4; }
.guide-cta__cover--lg { width: 220px; margin-top: 36px; }
.guide-cta__cover--lg .guide-cta__cover-title { font-size: 21px; }
.guide-cta__label { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.guide-cta__title { font-size: 20px; margin-top: 6px; }
.guide-cta__list { margin: 14px 0 18px; font-size: 14px; color: var(--text); }
.guide-cta__list li { position: relative; padding-left: 22px; margin-bottom: 6px; line-height: 1.6; }
.guide-cta__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.guide-cta__note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.guide-cta--hero { padding: 26px; }
.guide-cta--band { grid-template-columns: 180px 1fr; padding: 40px; }
.guide-cta--band .guide-cta__title { font-size: 26px; }
.guide-cta--article { margin: 56px 0 8px; }

/* セクション */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding-top: 28px; }
.section--gray { background: var(--surface); }
.section--accent { background: linear-gradient(180deg, #fff, #f0f4ff); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title { font-size: clamp(22px, 2.6vw, 28px); position: relative; padding-left: 16px; }
.section__title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--accent); }
.more { font-size: 14px; font-weight: 700; white-space: nowrap; }
.more::after { content: " →"; }

/* カード */
.grid { display: grid; gap: 28px 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__thumb img { transform: scale(1.04); }
.card__noimg { --h: 220; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; height: 100%; padding: 16px 18px; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 30%), hsl(calc(var(--h) + 20) 85% 55%)); position: relative; overflow: hidden; }
.card__noimg em { position: absolute; right: -6px; top: -22px; font-style: normal; font-family: var(--font-en); font-weight: 800; font-size: 150px; line-height: 1; opacity: .14; }
.card__noimg span { font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .95; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.chip { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; line-height: 1.6; }
.chip:hover { text-decoration: none; background: var(--accent); color: #fff; }
.chip--lg { font-size: 13px; padding: 5px 14px; margin-bottom: 14px; }
.card__title { font-size: 16.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--ink); }
.card__text { font-size: 13.5px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--muted); display: flex; gap: 12px; font-family: var(--font-en); }
.grid--4 .card__title { font-size: 15px; }
.grid--4 .card__text { display: none; }

/* テーマタイル */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: var(--ink); font-weight: 700; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.tile:hover { text-decoration: none; border-color: var(--accent); box-shadow: var(--shadow); }
.tile__count { font-family: var(--font-en); font-weight: 600; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* トップ: できること */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.feature__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); position: relative; margin-bottom: 6px; }
.feature__icon::before, .feature__icon::after { content: ""; position: absolute; border: 2.5px solid var(--accent); border-radius: 50%; }
.feature__icon--search::before { width: 18px; height: 18px; left: 13px; top: 12px; }
.feature__icon--search::after { width: 0; height: 9px; border-width: 0 0 0 2.5px; border-radius: 2px; left: 31px; top: 28px; transform: rotate(-45deg); }
.feature__icon--steps::before { width: 22px; height: 6px; border-radius: 3px; left: 13px; top: 13px; border-width: 2.5px; }
.feature__icon--steps::after { width: 22px; height: 6px; border-radius: 3px; left: 13px; top: 27px; border-width: 2.5px; background: var(--accent); }
.feature__icon--yen::before { width: 20px; height: 20px; left: 14px; top: 14px; border-radius: 50%; }
.feature__icon--yen::after { content: "¥"; border: 0; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: 15px; color: var(--accent); line-height: 1; }
.feature__title { font-size: 18px; }
.feature__text { font-size: 14px; color: var(--muted); line-height: 1.8; flex: 1; }
.feature__link { font-size: 14px; font-weight: 700; margin-top: 4px; }
.feature__link::after { content: " →"; }

/* トップ: 3ステップ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 44px; width: 10px; height: 10px; border-top: 2px solid #cbd5e1; border-right: 2px solid #cbd5e1; transform: rotate(45deg); }
.step__head { display: flex; gap: 14px; align-items: flex-start; }
.step__num { font-family: var(--font-en); font-weight: 800; font-size: 30px; line-height: 1; color: var(--accent); letter-spacing: -.02em; padding-top: 2px; }
.step__head .chip { margin-bottom: 6px; }
.step__title { font-size: 17.5px; line-height: 1.45; }
.step__text { font-size: 14px; color: var(--muted); line-height: 1.8; }
.step__posts { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; display: grid; gap: 6px; }
.step__posts li { font-size: 13.5px; line-height: 1.55; padding-left: 16px; position: relative; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.step__posts li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.step__posts a { color: var(--text); }

/* トップ: カテゴリ別ピックアップ */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pick__title { font-size: 17px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.pick__title .more { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pick__list { counter-reset: pick; }
.mini { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); counter-increment: pick; position: relative; }
.mini__thumb { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--surface); position: relative; }
.mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini__thumb::before { content: counter(pick); position: absolute; left: 0; top: 0; z-index: 1; min-width: 22px; height: 22px; padding: 0 6px; background: var(--ink); color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 12px; display: grid; place-items: center; border-bottom-right-radius: 8px; }
.mini__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini__title { color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__meta { font-size: 11.5px; color: var(--muted); font-family: var(--font-en); }

/* トップ: 運営ポリシー */
.policy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.policy__title { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.45; }
.policy__lead { margin: 18px 0 26px; color: var(--muted); font-size: 15px; }
.policy__list { display: grid; gap: 14px; }
.policy__list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 56px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.policy__list li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
.policy__list li::after { content: ""; position: absolute; left: 26px; top: 28px; width: 9px; height: 5px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.policy__list strong { color: var(--ink); font-size: 15.5px; }
.policy__list span { color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* 一覧ページ */
.page-head { padding: 36px 0 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head--plain { background: #fff; border-bottom: 0; padding-bottom: 0; }
.page-head__title { font-size: clamp(26px, 3.4vw, 38px); }
.page-head__lead { margin-top: 12px; color: var(--muted); max-width: 40em; }
.page-head__count { margin-top: 10px; font-family: var(--font-en); font-size: 13px; color: var(--muted); font-weight: 600; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: #a1a1aa; }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--text); display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 13.5px; font-weight: 500; }
.cat-links a small { font-family: var(--font-en); font-size: 11px; color: var(--muted); }
.cat-links a:hover { text-decoration: none; border-color: var(--ink); }
.cat-links a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-links a[aria-current] small { color: #cbd5e1; }
.pagination { margin-top: 40px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-family: var(--font-en); font-weight: 600; font-size: 14px; }
.pagination .page-numbers:hover { text-decoration: none; border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .dots { border: 0; }
.search-form { display: flex; gap: 8px; margin-top: 18px; max-width: 520px; }
.search-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; }

/* 記事 */
.article__head { padding: 28px 0 0; }
.article__title { font-size: clamp(25px, 3.2vw, 36px); line-height: 1.4; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.article__hero { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.toc { margin: 36px 0 8px; padding: 22px 26px; background: var(--surface); border-radius: 12px; }
.toc__title { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title small { font-family: var(--font-en); font-weight: 600; color: var(--muted); font-size: 12px; }
.toc__title::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-left: auto; transition: transform .2s; }
.toc details[open] .toc__title::after { transform: rotate(-135deg); }
.toc details[open] .toc__title { margin-bottom: 10px; }
.toc ol { counter-reset: toc; padding: 0; margin: 0; list-style: none; }
.toc li { counter-increment: toc; font-size: 14px; padding: 4px 0 4px 28px; position: relative; }
.toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; font-family: var(--font-en); font-weight: 700; color: var(--accent); font-size: 12px; top: 7px; }
.toc a { color: var(--text); }
.article__body { margin-top: 36px; font-size: 17px; line-height: 2; color: var(--text); }
.article__body > * + * { margin-top: 1.4em; }
.article__body h2 { font-size: clamp(21px, 2.4vw, 25px); margin-top: 2.6em; padding: 10px 0 10px 18px; border-left: 5px solid var(--accent); border-bottom: 1px solid var(--line); line-height: 1.45; scroll-margin-top: calc(var(--head-h) + 16px); }
.article__body h3 { font-size: 19px; margin-top: 2.2em; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.article__body h4 { font-size: 17px; margin-top: 1.8em; }
.article__body p { margin-top: 1.4em; }
.article__body ul, .article__body ol { padding-left: 1.6em; margin-top: 1.2em; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin: .35em 0; }
.article__body li::marker { color: var(--accent); font-weight: 700; }
.article__body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #93c5fd; }
.article__body strong { color: var(--ink); background: linear-gradient(transparent 62%, #fde68a 62%); }
.article__body blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; font-size: 16px; }
.article__body img { border-radius: 10px; margin-inline: auto; }
.article__body figure { margin: 1.6em 0; }
.article__body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.article__body table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 1.6em 0; display: block; overflow-x: auto; }
.article__body th, .article__body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; line-height: 1.6; }
.article__body th { background: var(--surface); font-weight: 700; white-space: nowrap; }
.article__body pre, .article__body .wp-block-code { background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 18px 20px; font-size: 13.5px; line-height: 1.7; overflow-x: auto; margin: 1.6em 0; position: relative; }
.article__body pre code { background: none; color: inherit; padding: 0; font-size: inherit; white-space: pre; }
.article__body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--surface); color: #b91c1c; padding: 2px 6px; border-radius: 5px; }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.article__body .wp-block-button__link { border-radius: 999px; }
/* 旧プラグインが本文に差し込む CTA 類は白基調に */
.article__body [style*="background"] { background: var(--surface) !important; color: var(--text) !important; }
.article__body [style*="background"] * { color: inherit !important; }
.article__body [style*="background"] a[style*="background"] { background: var(--accent) !important; color: #fff !important; }
.article__tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.article__tags a { color: var(--muted); background: var(--surface); padding: 4px 10px; border-radius: 6px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 56px; }
.pager a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 500; font-size: 14px; line-height: 1.5; }
.pager a:hover { text-decoration: none; border-color: var(--ink); }
.pager small { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; font-family: var(--font-en); }
.pager__next { text-align: right; }
.pager__prev small::before { content: "← "; }
.pager__next small::after { content: " →"; }
.page-body { font-size: 16px; margin-top: 24px; }

/* 無料ガイドページ */
.guide-page { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, #f7f9fe, #fff 40%); }
.guide-page__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.guide-page__top { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.guide-page__title { font-size: clamp(26px, 3.2vw, 36px); }
.guide-page__lead { margin-top: 18px; color: var(--muted); }
.checks { margin-top: 28px; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; position: relative; }
.checks li::before { content: ""; grid-row: 1 / 3; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); margin-top: 4px; position: relative; }
.checks li::after { content: ""; position: absolute; left: 22px; top: 21px; width: 9px; height: 5px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.checks strong { color: var(--ink); font-size: 15.5px; }
.checks span { color: var(--muted); font-size: 13.5px; }
.guide-page__form { position: sticky; top: calc(var(--head-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.guide-page__form h2 { font-size: 22px; }
.guide-page__form > p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.guide-page__note { font-size: 12px !important; margin-top: 14px !important; }
/* Fluent Forms を白基調に */
.akl .fluentform { margin-top: 18px; }
.akl .fluentform .ff-el-input--label label { font-weight: 700; font-size: 14px; color: var(--ink); }
.akl .fluentform .ff-el-form-control:not([type=checkbox]):not([type=radio]) { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--text); }
.akl .fluentform .ff-el-form-control:not([type=checkbox]):focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.akl .fluentform .ff-btn-submit { width: 100%; padding: 14px 20px; border-radius: 999px; background: var(--accent) !important; color: #fff !important; border: 0; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.akl .fluentform .ff-btn-submit:hover { background: var(--accent-dark) !important; }
.akl .fluentform .ff-el-group { margin-bottom: 16px; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 28px 16px 0; list-style: none; position: relative; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 0 18px; font-size: 14.5px; color: var(--text); }

/* フッター */
.site-foot { margin-top: 0; background: var(--ink); color: #cbd5e1; padding: 56px 0 28px; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-foot__about p { font-size: 14px; margin: 14px 0 20px; max-width: 34em; }
.brand--foot { color: #fff; }
.site-foot__label { font-family: var(--font-en); font-size: 11.5px; letter-spacing: .16em; color: #94a3b8; font-weight: 700; margin-bottom: 12px; }
.site-foot li { margin-bottom: 8px; font-size: 14px; }
.site-foot a { color: #e2e8f0; }
.site-foot__copy { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-family: var(--font-en); font-size: 12px; color: #94a3b8; }

/* 旧テーマ由来の要素を隠す */
#kt-scroll-up, #kt-scroll-up-reader, .kadence-breadcrumbs, .akl-header { display: none !important; }

/* レスポンシブ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .picks { grid-template-columns: 1fr; gap: 20px; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: flex; }
  .gnav { position: fixed; inset: var(--head-h) 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; border-top: 1px solid var(--line); }
  body.nav-open .gnav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { display: block; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .gnav__sp { display: block; }
  .gnav__cta { flex-direction: column; margin-top: 20px; }
  .gnav__cta .btn { width: 100%; padding: 14px; font-size: 15px; }
  .hero__in, .guide-page__in { grid-template-columns: 1fr; }
  .guide-page__form { position: static; }
  .guide-page__top { grid-template-columns: 1fr; }
  .guide-page__top .guide-cta__cover { width: 110px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .features, .steps { grid-template-columns: 1fr; gap: 14px; }
  .policy { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body.akl { font-size: 15.5px; }
  .wrap, .wrap--narrow { width: min(100% - 32px, var(--wrap)); }
  .hero { padding-top: 36px; }
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 15px; }
  .hero__facts { gap: 20px; }
  .hero__facts strong { font-size: 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .guide-cta, .guide-cta--band { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .guide-cta__cover { width: 120px; }
  .guide-cta--band .guide-cta__title { font-size: 21px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 18px; }
  .grid--4 .card__text { display: -webkit-box; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px 14px; font-size: 13.5px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mini { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; }
  .policy__title br { display: none; }
  .article__body { font-size: 16px; line-height: 1.95; }
  .article__body h2 { font-size: 20px; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { text-align: left; }
  .cat-links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .cat-links a { white-space: nowrap; }
  .site-foot__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
