/* =========================================================
   お墓のこれから相談室（SWELL 子テーマ）
   読者は 50〜70 代が中心。文字は大きく、行は短く、装飾は少なく。

   ★ 片側だけの線（border-left / border-top などのアクセント線）は使わない（禁止）。
     囲むときは四辺同じ線か、背景色の面で分ける。
   ========================================================= */
:root {
  --ink: #1d2830;
  --ink-soft: #4a5761;
  --accent: #2f5a58;
  --accent-strong: #234543;
  --accent-soft: #e9f0ee;
  --warm: #8a5d3b;
  --warm-soft: #f5eee6;
  --line: #d9d3c7;
  --paper: #faf8f4;
  --cta: #b9501f;
  --cta-strong: #9a4118;
  --radius: 12px;
  --font: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --serif: var(--font);
}

/* ---------- 文字：大きく・濃く・読みやすい UD フォント ---------- */
body { font-family: var(--font); color: var(--ink); letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
.post_content { font-size: 19px; line-height: 1.95; }
@media (max-width: 599px) { .post_content { font-size: 18px; line-height: 1.9; } }
.post_content p, .post_content li { color: var(--ink); }
.post_content a { color: #1f5f8b; text-decoration: underline; text-underline-offset: 4px; }
.c-postTitle__ttl, .c-pageTitle__inner { font-size: 28px; line-height: 1.5; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 599px) { .c-postTitle__ttl, .c-pageTitle__inner { font-size: 23px; } }
.c-headLogo__link { font-size: 22px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
@media (max-width: 959px) { .c-headLogo__link { font-size: 18px; } }
.c-gnav > .menu-item > a { font-size: 16px; font-weight: 700; }
.p-breadcrumb { font-size: 14px; }
.p-postList__title { font-size: 17px; line-height: 1.6; }
.c-widget { font-size: 16px; }

/* ---------- 見出し：面で区切る（線は使わない） ---------- */
.post_content h2 {
  font-size: 1.35em; line-height: 1.5; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: .7em .9em; margin: 2.6em 0 1em; border-radius: 10px; border: 0;
}
.post_content h2::before, .post_content h2::after { display: none !important; }
.post_content h3 {
  font-size: 1.18em; line-height: 1.55; font-weight: 700;
  background: var(--accent-soft); color: var(--accent-strong);
  padding: .55em .8em; margin: 2em 0 .8em; border-radius: 8px; border: 0;
}
.post_content h3::before, .post_content h3::after { display: none !important; }
.post_content h4 { font-size: 1.08em; font-weight: 700; margin: 1.6em 0 .6em; border: 0; padding: 0; }
.post_content h4::before { display: none !important; }

/* 太字はマーカーでなく色で */
.post_content strong { font-weight: 700; background: none; color: var(--accent-strong); }

/* ---------- 表 ---------- */
.post_content table { font-size: .95em; }
.post_content th, .post_content td { padding: .8em .9em; border: 1px solid var(--line); vertical-align: top; }
.post_content thead th { background: var(--accent); color: #fff; }
.post_content tbody th { background: #f3f0ea; width: 34%; }
.post_content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post_content .table-scroll table { min-width: 560px; }
@media (max-width: 599px) {
  /* 2列の表はスマホで縦積みにして横スクロールさせない */
  .post_content table.area-kv, .post_content table.area-kv tbody, .post_content table.area-kv tr { display: block; width: 100%; }
  .post_content table.area-kv th, .post_content table.area-kv td { display: block; width: auto; border: 0; }
  .post_content table.area-kv tr { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .post_content table.area-kv th { padding: .5em .9em; }
  .post_content table.area-kv td { padding: .6em .9em .8em; background: #fff; }
}

/* ---------- 記事の部品（四辺の線 or 面のみ） ---------- */
.post_content .answer-box { background: var(--accent-soft); border-radius: var(--radius); padding: 1.1em 1.3em; }
.post_content .answer-box__title { margin: 0 0 .4em; font-weight: 700; color: var(--accent-strong); }
.post_content .answer-box ul { margin: 0; padding-left: 1.2em; }
.post_content .lead-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1em 1.3em; }
.post_content .lead-box__title { margin: 0 0 .4em; font-weight: 700; }
.post_content .note, .post_content .caution, .post_content .point { border-radius: var(--radius); padding: 1em 1.2em; }
.post_content .note { background: #fdf6e3; }
.post_content .caution { background: #fbeceb; }
.post_content .point { background: var(--warm-soft); }
.post_content .note::before, .post_content .caution::before, .post_content .point::before { display: block; font-weight: 700; margin-bottom: .2em; }
.post_content .note::before { content: "補足"; color: #7a5b06; }
.post_content .caution::before { content: "ご注意"; color: #9b3a2e; }
.post_content .point::before { content: "ポイント"; color: var(--warm); }

.post_content ol.steps { list-style: none; padding-left: 0; counter-reset: step; }
.post_content ol.steps > li { counter-increment: step; position: relative; padding: .1em 0 1em 2.8em; margin: 0; }
.post_content ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2em; height: 2em; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.post_content ol.steps > li > strong:first-child { display: block; }

.post_content .ohaka-faq dl { margin: 0; }
.post_content .ohaka-faq dt, .post_content .ohaka-faq dd { position: relative; margin: 0; padding: .8em 1em .8em 2.8em; }
.post_content .ohaka-faq dt { font-weight: 700; background: var(--accent-soft); border-radius: var(--radius) var(--radius) 0 0; margin-top: 1em; }
.post_content .ohaka-faq dd { background: #fff; border: 1px solid var(--accent-soft); border-radius: 0 0 var(--radius) var(--radius); }
.post_content .ohaka-faq dt::before, .post_content .ohaka-faq dd::before { position: absolute; left: 1em; font-weight: 700; }
.post_content .ohaka-faq dt::before { content: "Q"; color: var(--accent); }
.post_content .ohaka-faq dd::before { content: "A"; color: var(--warm); }

.post_content .source { font-size: .8em; color: var(--ink-soft); }
.post_content figure svg { width: 100%; height: auto; display: block; }
.post_content figure img { border-radius: var(--radius); }
.post_content figcaption { font-size: .8em; color: var(--ink-soft); text-align: center; }
.post_content ul.area-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.post_content ul.area-links li { margin: 0; }
.post_content ul.area-links a { display: inline-block; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); }

/* ---------- トップページ ---------- */
.home.page #content { padding-top: 0; }
.home.page .post_content { margin-top: 0; }
.home.page { overflow-x: clip; }
.ohaka-hero {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  color: #fff; padding: 64px 20px 72px;
  background: linear-gradient(rgba(25, 45, 44, .55), rgba(25, 45, 44, .55)), var(--hero-img, none) center / cover no-repeat, var(--accent);
}
.ohaka-hero__inner { max-width: 1000px; margin: 0 auto; }
.post_content .ohaka-hero p { margin: 0; color: #fff; }
.post_content .ohaka-hero__title { font-size: clamp(30px, 6vw, 46px); line-height: 1.45; margin: 0 0 14px; color: #fff; background: none; padding: 0; border-radius: 0; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ohaka-hero__lead { font-size: clamp(17px, 2.6vw, 21px); line-height: 1.7; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ohaka-hero__search { display: flex; max-width: 560px; background: #fff; border-radius: 12px; overflow: hidden; margin-top: 28px; }
.ohaka-hero__search input { flex: 1; min-width: 0; border: 0; padding: 16px 18px; font-size: 18px; }
.ohaka-hero__search button { border: 0; background: var(--cta); color: #fff; font-weight: 700; padding: 0 26px; cursor: pointer; font-size: 18px; }
.sp-only { display: none; }
@media (max-width: 599px) { .sp-only { display: inline; } .ohaka-hero { padding: 44px 20px 52px; } }

.ohaka-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 960px) { .ohaka-paths { grid-template-columns: repeat(4, 1fr); } }
.post_content .ohaka-paths a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s; }
.post_content .ohaka-paths a:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.ohaka-paths img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 !important; }
.ohaka-paths strong { display: block; font-size: 19px; padding: 12px 14px 2px; color: var(--accent-strong); }
.ohaka-paths span { display: block; font-size: 15px; padding: 0 14px 14px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 599px) { .ohaka-paths strong { font-size: 17px; padding: 10px 12px 2px; } .ohaka-paths span { font-size: 14px; padding: 0 12px 12px; } }

.post_content ol.ohaka-flow { list-style: none; padding: 0; counter-reset: f; margin: 0; }
.post_content ol.ohaka-flow { display: grid; gap: 8px; }
.post_content ol.ohaka-flow li { counter-increment: f; position: relative; margin: 0; padding: .7em 1em .7em 3.2em; font-size: 1.05em; background: #fff; border-radius: var(--radius); }
.post_content ol.ohaka-flow li::before { content: counter(f); position: absolute; left: .7em; top: .6em; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9em; }
.post_content .ohaka-flow strong { color: var(--ink); }
.post_content a.ohaka-more { display: inline-block; margin: 6px 8px 6px 0; padding: .7em 1.4em; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font-weight: 700; text-decoration: none; }
.post_content a.ohaka-more::after { content: " ›"; }

/* ---------- サイドバー ---------- */
.ohaka-side-guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.ohaka-side-guide__title { font-weight: 700; margin: 0 0 6px; font-size: 17px; }
.ohaka-side-guide ul { list-style: none; margin: 0; padding: 0; }
.ohaka-side-guide a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); }
.ohaka-side-guide li + li { margin-top: 4px; }
.ohaka-side-guide strong { display: block; color: var(--accent-strong); font-size: 16px; }
.ohaka-side-guide span { font-size: 14px; color: var(--ink-soft); }

/* ---------- スマホ ---------- */
@media (max-width: 599px) {
  .post_content h2 { font-size: 1.25em; margin-top: 2.2em; }
  .post_content .answer-box, .post_content .lead-box, .post_content .note, .post_content .caution, .post_content .point { padding: .9em 1em; }
  .c-shareBtns.-fix { display: none; } /* 画面端の固定シェアボタンは本文に重なるので出さない */
}
.post_content p.area-kind { display: inline-block; margin: 0 0 .6em; padding: .2em .8em; background: var(--warm-soft); color: var(--warm); border-radius: 999px; font-size: .85em; font-weight: 700; }

/* SWELL 標準の「タイトル左の日付（縦線つき）」は出さない。日付はタイトル下に表示される */
.c-postTitle__date { display: none !important; }
.c-postTitle { display: block; }
.c-pageTitle, .c-postTitle__ttl { border: 0 !important; }
.c-pageTitle::before, .c-pageTitle::after { display: none !important; }

/* フッター：小さすぎる文字を読めるサイズに */
.l-footer { font-size: 15px; }
.l-footer__nav a, .l-footer .c-listMenu a { font-size: 15px; padding: .4em .6em; }
.copyright { font-size: 13px; }

/* 広告表記と本文のあいだの空きを詰める */
.c-prNotation { margin-bottom: 0; font-size: 15px; }
.c-prNotation + .post_content, .p-articleHead + .post_content { margin-top: 1.2em; }
.post_content > :first-child { margin-top: 0; }

/* グローバルナビの「現在地の下線」も片側の線なので出さない。現在地は文字色で示す */
.c-gnav > li > a::after, .c-gnav .-current > a::after, .c-gnav > .menu-item > a::after { display: none !important; }
.c-gnav > .-current > a, .c-gnav > .current-menu-item > a { color: var(--accent); }

/* ===== 一括見積もりサイトとしてのトップ ===== */
.ohaka-hero--lp { padding: 56px 20px 48px; background: linear-gradient(90deg, rgba(25,45,44,.82) 0%, rgba(25,45,44,.62) 50%, rgba(25,45,44,.15) 100%), var(--hero-img, none) center right / cover no-repeat, var(--accent); }
@media (max-width: 599px) { .ohaka-hero--lp { background: linear-gradient(rgba(25,45,44,.72), rgba(25,45,44,.72)), var(--hero-img, none) center / cover no-repeat, var(--accent); } }
.hero-entry { display: grid; gap: 10px; max-width: 520px; margin-top: 22px; }
.hero-entry select { font-size: 18px; padding: 16px; border: 0; border-radius: 12px; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%232f5a58' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--ink); }
.post_content ul.ohaka-trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post_content ul.ohaka-trust li { margin: 0; padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-size: 15px; font-weight: 700; }
.post_content ul.ohaka-trust li::before { content: "✓ "; }
.post_content ul.ohaka-trust--light { margin: 0 0 12px; }
.post_content ul.ohaka-trust--light li { background: var(--accent-soft); color: var(--accent-strong); }

.ohaka-needs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 960px) { .ohaka-needs { grid-template-columns: repeat(4, 1fr); } }
.post_content .ohaka-needs a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.ohaka-needs img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; }
.ohaka-needs strong { display: block; font-size: 18px; padding: 12px 14px 2px; color: var(--accent-strong); }
.ohaka-needs span { display: block; font-size: 15px; padding: 0 14px 14px; color: var(--ink-soft); line-height: 1.5; }
.ohaka-needs strong::after { content: " ›"; color: var(--cta); }
@media (max-width: 599px) { .ohaka-needs strong { font-size: 16px; padding: 10px 12px 2px; } .ohaka-needs span { font-size: 14px; padding: 0 12px 12px; } }

.ohaka-gets { display: grid; gap: 12px; }
@media (min-width: 768px) { .ohaka-gets { grid-template-columns: repeat(3, 1fr); } }
.ohaka-gets > div { background: #fff; border-radius: var(--radius); padding: 18px; }
.post_content .ohaka-gets p { margin: 0; }
.post_content .ohaka-gets__no { width: 2em; height: 2em; border-radius: 50%; background: var(--cta); color: #fff; font-weight: 700; display: grid; place-items: center; }
.post_content .ohaka-gets__title { font-size: 1.15em; font-weight: 700; margin: 10px 0 4px !important; color: var(--accent-strong); }

.ohaka-final { margin: 2.6em 0; padding: 26px 20px; border-radius: 16px; background: var(--accent); color: #fff; text-align: center; }
.post_content .ohaka-final__title { font-size: 1.3em; font-weight: 700; color: #fff; margin: 0 !important; }
.ohaka-final .hero-entry { margin: 16px auto 0; }

/* ヘッダーの「無料見積もり」ボタン（メニュー項目に menu-cta クラス） */
.c-gnav > .menu-cta > a { background: var(--cta); color: #fff !important; border-radius: 999px; padding: 0 1.2em !important; height: 44px; margin: auto 0 auto 10px; display: flex; align-items: center; }
.c-gnav > .menu-cta > a:hover { background: var(--cta-strong); }

/* スマホ：画面下に固定の申込みバー（申込みページでは出さない） */
.ohaka-spbar { display: none; }
@media (max-width: 959px) {
  .ohaka-spbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
  .ohaka-spbar a { display: block; padding: 15px; border-radius: 999px; background: var(--cta); color: #fff; font-size: 18px; font-weight: 700; text-align: center; text-decoration: none; }
  .ohaka-spbar small { display: block; font-size: 12px; font-weight: 400; opacity: .9; }
  body.has-spbar { padding-bottom: 86px; }
  body.has-spbar .p-fixBtnWrap { bottom: 96px; }
}
.c-gnav > .menu-cta { display: flex; align-items: center; }

/* サイドバー：見出しの下線・項目の区切り線（片側の線）を出さない */
.c-widget__title, .l-sidebar .c-widget__title { border: 0 !important; background: var(--accent-soft); color: var(--accent-strong); padding: .5em .8em !important; border-radius: 8px; }
.c-widget__title::before, .c-widget__title::after { display: none !important; }
.l-sidebar li, .l-sidebar li a, .c-widget li a, .widget_categories li, .widget_categories a, .p-toc__list li, .p-toc__list a, .c-listMenu a { border: 0 !important; }
.c-listMenu a::before { display: none; }
.p-toc a, .c-widget .p-toc a { text-decoration: none; }

/* フッターメニューの区切り線（片側だけの線）を消し、間隔で区切る */
.l-footer__nav { gap: 4px 8px; }
.l-footer__nav li, .l-footer__nav li a, .l-footer__nav li:first-child a { border: 0 !important; }
/* SWELL の記事下・著者ボックスの片側だけの線を消す */
.p-articleFoot, .p-authorBox__r, .p-authorBox, .p-relatedPosts .c-secTitle, .l-articleBottom__section .c-secTitle { border: 0 !important; }
.p-authorBox { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(0,0,0,.08); padding: 20px; }
.p-pnLinks__link, .p-pnLinks__item { border: 0 !important; }
/* スマホのボタンをそろえる：申込み系は 16px・角12px・高さ48px前後、記事一覧などの案内リンクは 15px・高さ44px（2行になっても楕円にしない） */
@media (max-width: 599px) {
  .post_content a.ohaka-more { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; font-size: 15px; line-height: 1.45; }
  .post_content .mk-consult__btn a, .rn-btn--cta { padding: 12px 18px; font-size: 16px; line-height: 1.45; border-radius: 12px; }
  .wpcf7 .wpcf7-submit, .mk-cf input[type=submit] { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
  .ohaka-spbar a { padding: 12px; font-size: 16px; border-radius: 12px; }
  .ohaka-hero__search button { padding: 0 18px; font-size: 16px; }
  .offer-mini .offer-btn, .compare__table .offer-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; font-size: 14px; }
}
/* ガイドの道すじ（media-kit/path.php・ohaka-core/path.php） */
.mk-path p { margin: 0; }
.mk-path--top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 2em; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft, #e9f0ee); }
.mk-path .mk-path__where { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 15px; line-height: 1.5; }
.mk-path__where a { font-weight: 700; color: var(--accent, #2f5a58); }
.mk-path__where span { color: var(--ink, #1d2830); font-weight: 600; }
.mk-path ol.mk-path__dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mk-path ol.mk-path__dots li { margin: 0; padding: 0; }
.mk-path ol.mk-path__dots li::before { content: none; }
.mk-path__dots a, .mk-path__dots span:not(.screen-reader-text) { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--accent, #2f5a58); font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1px var(--accent, #2f5a58); }
.mk-path__dots .is-done a { background: var(--accent, #2f5a58); color: #fff; opacity: .55; }
.mk-path__dots .is-current span:not(.screen-reader-text) { background: var(--accent, #2f5a58); color: #fff; }
.mk-path--list { margin: 0 0 2em; }
.mk-path .mk-path__head { margin: 0 0 .8em; font-weight: 700; font-size: 18px; }
/* 全ステップ：番号の丸を縦の線でつなぐ（カードを並べると長く、どれも同じに見えるため） */
.mk-path ol.mk-path__steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mk-path ol.mk-path__steps > li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; margin: 0; padding: 0 0 22px; background: none; box-shadow: none; }
.mk-path ol.mk-path__steps > li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--accent-soft, #e9f0ee); }
.mk-path ol.mk-path__steps > li:last-child { padding-bottom: 0; }
.mk-path ol.mk-path__steps > li:last-child::before { content: none; }
.mk-path__no { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent, #2f5a58); color: #fff; font-size: 20px; font-weight: 700; line-height: 1; }
.mk-path__no small { font-size: 9px; letter-spacing: .08em; margin-bottom: 2px; }
.mk-path__body { padding: 10px 16px 14px; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.08); }
.mk-path__step.is-current .mk-path__body { border: 2px solid var(--accent, #2f5a58); }
.mk-path .mk-path__label { font-weight: 700; font-size: 18px; line-height: 1.5; }
.mk-path__label a { color: var(--accent-strong, var(--accent, #2f5a58)); text-decoration: none; }
.mk-path__label a::after { content: " ›"; }
.mk-path__label a:hover { text-decoration: underline; }
.mk-path .mk-path__desc { margin-top: 4px; font-size: 15px; line-height: 1.7; color: var(--ink-soft, #4a5761); }
.mk-path .mk-path__action { margin-top: 10px; }
.mk-path__action a, .mk-path__btn { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--cta, #c0582a); background: #fff; color: var(--cta, #c0582a); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.mk-path__action a::after, .mk-path__btn::after { content: " ›"; }
.mk-path__action a:hover, .mk-path__btn:hover { background: var(--cta, #c0582a); color: #fff; }
/* カテゴリー：ステップの帯 */
.mk-path--bar { margin: 0 0 1.6em; padding: 16px 18px 18px; border-radius: 12px; background: var(--accent-soft, #e9f0ee); }
.mk-path--bar .mk-path__head { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; margin-bottom: 12px; font-size: 16px; color: var(--accent-strong, var(--accent, #2f5a58)); }
.mk-path--bar .mk-path__head span { font-size: 14px; color: var(--ink-soft, #4a5761); }
.mk-path ol.mk-path__bar { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mk-path ol.mk-path__bar li { position: relative; margin: 0; padding: 0; }
.mk-path ol.mk-path__bar li::before { content: ""; position: absolute; top: 15px; left: calc(-50% - 6px); width: calc(100% + 6px); height: 2px; background: var(--accent, #2f5a58); opacity: .3; }
.mk-path ol.mk-path__bar li:first-child::before { content: none; }
.mk-path__bar a, .mk-path__bar li > span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink, #1d2830); text-decoration: none; text-align: center; }
.mk-path__num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--accent, #2f5a58); font-size: 15px; font-weight: 700; box-shadow: inset 0 0 0 2px var(--accent, #2f5a58); }
.mk-path__short { font-size: 13px; line-height: 1.4; color: var(--ink-soft, #4a5761); }
.mk-path__bar a:hover .mk-path__short { text-decoration: underline; }
.mk-path__bar .is-done .mk-path__num { background: var(--accent, #2f5a58); color: #fff; opacity: .5; }
.mk-path__bar .is-current .mk-path__num { background: var(--accent, #2f5a58); color: #fff; width: 36px; height: 36px; margin-top: -2px; }
.mk-path__bar .is-current .mk-path__short { color: var(--ink, #1d2830); font-weight: 700; }
.mk-path__now { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: #fff; }
.mk-path--bar .mk-path__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.mk-path .mk-path__all { margin-top: 14px; }
.mk-path--next { margin: 2.4em 0 1em; padding: 20px 22px; border-radius: 12px; background: var(--accent-soft, #e9f0ee); }
.mk-path .mk-path__eyebrow { font-size: 14px; font-weight: 700; color: var(--accent, #2f5a58); }
.mk-path .mk-path__title { margin-top: 4px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.mk-path .mk-path__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.mk-path .mk-path__links .ohaka-more { margin: 0; background: #fff; }
.mk-path__alllink { font-size: 15px; font-weight: 600; }
.p-termContent + .mk-path, .mk-path + .p-termContent { margin-top: 1.4em; }
@media (max-width: 599px) {
  .mk-path--top { padding: 10px 12px; }
  .mk-path ol.mk-path__steps > li { grid-template-columns: 40px 1fr; gap: 0 10px; padding-bottom: 16px; }
  .mk-path ol.mk-path__steps > li::before { left: 19px; top: 40px; }
  .mk-path__no { width: 40px; height: 40px; font-size: 17px; }
  .mk-path__body { padding: 8px 12px 12px; }
  .mk-path .mk-path__label { font-size: 16px; }
  .mk-path--bar { padding: 14px 12px 14px; }
  .mk-path__short { display: none; }
  .mk-path__now { padding: 12px; }
  .mk-path--next { padding: 16px; }
}
/* 読みやすさ（2026-10-25「テキストが多く視認性が悪い。年配の人にはしんどい」）
   CD の記事は本文が .chipper-article-body に包まれていて、SWELL の段落の余白（.post_content 直下だけに効く）が付かず、段落がくっついていた */
.post_content .chipper-article-body > p,
.post_content .chipper-article-body > ul,
.post_content .chipper-article-body > ol { margin: 0 0 1.3em; }
.post_content .chipper-article-body > p + p { margin-top: 0; }
.post_content :is(.answer-box, .lead-box, .note, .caution, .point) p + p { margin-top: .7em; }
/* 目次があるときの「この記事でわかること」は目次と同じ内容なので出さない（最初の見出しまでを短くする） */
.post_content:has(.p-toc) .lead-box { display: none; }
/* アイキャッチと本文の間を詰める */
.p-articleThumb + .post_content { margin-top: 1.6em; }
@media (max-width: 599px) {
  .p-articleThumb + .post_content { margin-top: 1.2em; }
  .mk-path--top { margin-bottom: 1.4em; }
}

/* お寺・霊園のページの「くわしく読む」（2026-10-26） */
.rn-readmore { margin: 1.2em 0; padding: 14px 16px; background: #f4f7f6; border-radius: 10px; }
.rn-readmore__title { margin: 0 0 .4em !important; font-weight: 700; font-size: 15px; }
.rn-readmore ul { margin: 0 !important; padding-left: 1.2em !important; }
.rn-readmore li { margin: .3em 0 !important; font-size: 16px; }
