/* Article frame only. Fixed pages and article bodies in the database are kept. */
body.single-post.bergehome-renewal { background: #fff; }
.single-post.bergehome-renewal #main {
  width: min(calc(100% - 64px), 1060px) !important;
  max-width: 1060px !important;
  margin: 0 auto !important;
  padding: 0 0 72px !important;
  min-width: 0;
}
.single-post .bh-post-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:25px 4px; color:#6a7d70; font-size:12px; line-height:1.8; }
.single-post .bh-post-crumbs a { color:#526a5a; text-decoration:none; }
.single-post .bh-post-crumbs a:hover { text-decoration:underline; text-underline-offset:4px; }
.single-post .bh-post-head { padding:46px 64px 40px; border:1px solid #e1ebe3; border-radius:22px; background:linear-gradient(125deg,#f0f7f2,#faf9f3); }
.single-post .bh-post-section { margin:0 0 18px; color:#34664c; font-size:13px; font-weight:700; letter-spacing:.08em; }
.single-post.bergehome-renewal .bh-post-head .entry-title { display:block !important; margin:0; padding:0; color:var(--berge-green-900); font-family:var(--berge-serif); font-size:clamp(27px,2.65vw,36px); font-weight:700; line-height:1.7; letter-spacing:.025em; overflow-wrap:anywhere; }
.single-post .bh-post-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px; margin-top:25px; color:#617266; font-size:12px; line-height:1.8; }
.single-post .bh-post-meta a { padding:4px 12px; border:1px solid #cfdfd3; border-radius:5px; color:#2b5f43; background:#fff9; text-decoration:none; font-weight:500; }
.single-post.bergehome-renewal .bh-post .bh-post-body { width:100% !important; max-width:780px !important; margin:48px auto 0 !important; padding:0 !important; color:#293a30; font-family:var(--berge-sans); font-size:17px; line-height:2; letter-spacing:.025em; overflow-wrap:anywhere; }
.single-post .bh-post-body > * { margin:0 0 1.5em; }
.single-post .bh-post-body p { margin:0 0 1.35em; line-height:2; }
.single-post .bh-post-body :is(p,li,td,th) [style*="font-size"],
.single-post .bh-post-body [style*="font-family"] { font-family:inherit !important; font-size:inherit !important; }
.single-post .bh-post-body :is(h2,h3,h4) { color:var(--berge-green-900); font-family:var(--berge-sans); font-weight:700; letter-spacing:.025em; box-shadow:none; }
.single-post .bh-post-body :is(h2,h3,h4) * { font-size:inherit !important; font-family:inherit !important; color:inherit !important; }
.single-post .bh-post-body :is(h2,h3,h4)::before,.single-post .bh-post-body :is(h2,h3,h4)::after { display:none; }
.single-post .bh-post-body h2 { margin:60px 0 28px; padding:17px 22px; background:#eff6f0; border:0; border-left:4px solid #387454; border-radius:0 10px 10px 0; font-size:25px; line-height:1.7; }
.single-post .bh-post-body h3 { margin:38px 0 20px; padding:0 0 13px; background:transparent; border:0; border-bottom:1px solid #cadccf; border-radius:0; font-size:21px; line-height:1.75; }
.single-post .bh-post-body h4 { margin:30px 0 16px; padding:0; background:transparent; border:0; font-size:18px; line-height:1.8; }
.single-post .bh-post-body a { color:#226548; text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; overflow-wrap:anywhere; }
.single-post .bh-post-body a:hover { color:#123a2b; text-decoration-thickness:2px; }
.single-post .bh-post-body :is(ul,ol) { margin:24px 0 28px; padding:20px 24px 20px 46px; background:#f7f9f6; border-radius:10px; }
.single-post .bh-post-body li { margin:7px 0; padding-left:3px; line-height:1.9; }
.single-post .bh-post-body li::marker { color:#3d7654; font-weight:700; }
.single-post .bh-post-body li :is(ul,ol) { margin:8px 0; padding:0 0 0 23px; background:transparent; }
.single-post .bh-post-body blockquote { margin:30px 0; padding:22px 26px; background:#f6f8f4; border:0; border-left:3px solid #8ca68c; border-radius:0 8px 8px 0; color:#4f6253; font-size:16px; }
.single-post .bh-post-body blockquote::before,.single-post .bh-post-body blockquote::after { display:none; }
.single-post .bh-post-body blockquote > :last-child { margin-bottom:0; }
.single-post .bh-post-body img { max-width:100% !important; height:auto !important; border-radius:8px; vertical-align:middle; }
.single-post .bh-post-body :is(figure,iframe,video) { max-width:100%; }
.single-post .bh-post-body figure { margin:30px 0; }
.single-post .bh-post-body figcaption { color:#67766a; font-size:13px; line-height:1.8; }
.single-post .bh-post-table { max-width:100%; margin:30px 0; overflow-x:auto; overscroll-behavior-x:contain; border:1px solid #d4e1d8; border-radius:10px; -webkit-overflow-scrolling:touch; }
.single-post .bh-post-body .bh-post-table table { display:table; width:100% !important; min-width:560px; margin:0; border:0; border-collapse:collapse; table-layout:auto; background:#fff; font-size:15px; line-height:1.85; }
.single-post .bh-post-table :is(th,td) { padding:16px 18px; border:0; border-right:1px solid #dce7df; border-bottom:1px solid #dce7df; text-align:left; vertical-align:top; }
.single-post .bh-post-table :is(th,td):last-child { border-right:0; }
.single-post .bh-post-table tr:last-child > * { border-bottom:0; }
.single-post .bh-post-table th { background:#edf4ee; color:#254c36; font-weight:700; }
.single-post .bh-post-table thead th { background:#285a40; color:#fff; }
.single-post .bh-post-table td { background:#fff; }
.single-post .bh-post-table tr:nth-child(even) td { background:#f8faf7; }
.single-post .bh-post-table :is(th,td) p { margin:0; }
.single-post .bh-post-body .toc { display:block; width:100%; max-width:100%; margin:34px 0 45px; padding:24px 30px; background:#f8faf7; border:1px solid #d6e3d8; border-radius:12px; font-size:14px; }
.single-post .bh-post-body .toc .toc-title { color:#28533b; font-size:15px; font-weight:700; text-align:left; }
.single-post .bh-post-body .toc :is(ol,ul) { margin:12px 0 0; padding:0 0 0 1.3em; background:transparent; border-radius:0; }
.single-post .bh-post-body .toc li { margin:7px 0; font-size:14px; line-height:1.85; }
.single-post .bh-post-body .toc a { color:#405b47; text-decoration:none; }
.single-post .bh-post-body .toc a:hover { text-decoration:underline; }
.single-post .bh-post-back { max-width:780px; margin:48px auto 0; padding:28px 0; border-top:1px solid #d8e4dc; }
.single-post .bh-post-back a { display:inline-flex; align-items:center; gap:10px; color:#286043; font-size:14px; font-weight:700; text-decoration:none; line-height:1.8; }
.single-post .bh-post-back a:hover { text-decoration:underline; text-underline-offset:5px; }
.single-post.bergehome-renewal .under-entry-content { margin:28px 0 0; padding:40px 0 0; border-top:1px solid #dce6de; }
.single-post #related-entries { margin:0; padding:0; }
.single-post #related-entries .related-entry-heading { margin:0 0 28px; padding:0; border:0; background:none; color:var(--berge-green-900); font-family:var(--berge-serif); font-size:29px; font-weight:700; }
.single-post #related-entries .related-entry-heading::before,.single-post #related-entries .related-entry-heading::after { display:none; }
.single-post #related-entries .related-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.single-post #related-entries .bh-related-text { display:block; width:auto; margin:0; padding:26px; border:1px solid #d6e3d9; border-radius:14px; color:inherit; background:#fff; text-decoration:none; }
.single-post #related-entries .bh-related-text:hover { border-color:#699777; background:#f6faf6; box-shadow:0 6px 20px #123a2b08; }
.single-post #related-entries .related-entry-card { width:100%; height:100%; margin:0; padding:0; }
.single-post #related-entries .related-entry-card-content { margin:0; padding:0; }
.single-post #related-entries .bh-related-meta { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; margin-bottom:13px; color:#6c7e6e; font-size:11px; line-height:1.7; }
.single-post #related-entries .bh-related-meta > span { color:#3f694c; font-weight:500; }
.single-post #related-entries .related-entry-card-title { margin:0; padding:0; border:0; background:none; color:#244e35; font-size:17px; font-weight:700; line-height:1.85; }
.single-post #related-entries .related-entry-card-snippet { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:12px 0 0; color:#637268; font-size:13px; line-height:1.9; }
.single-post #related-entries .bh-related-read { display:flex; justify-content:space-between; margin-top:20px; color:#34684a; font-size:12px; font-weight:700; }
.single-post #related-entries :is(img,figure) { display:none; }
.single-post #main :focus-visible { outline:3px solid #bd9148; outline-offset:4px; }
@media(max-width:700px) {
  .single-post.bergehome-renewal #main { width:calc(100% - 36px) !important; padding-bottom:44px !important; }
  .single-post .bh-post-crumbs { gap:5px 9px; padding:20px 2px; font-size:11px; }
  .single-post .bh-post-head { padding:27px 23px 26px; border-radius:16px; }
  .single-post .bh-post-section { margin-bottom:14px; font-size:11px; letter-spacing:.04em; }
  .single-post.bergehome-renewal .bh-post-head .entry-title { font-size:25px; line-height:1.75; letter-spacing:.015em; }
  .single-post .bh-post-meta { gap:10px 16px; margin-top:20px; font-size:11px; }
  .single-post.bergehome-renewal .bh-post .bh-post-body { margin-top:32px !important; padding:0 3px !important; font-size:16px; line-height:2; }
  .single-post .bh-post-body h2 { margin:42px 0 23px; padding:14px 16px; font-size:21px; }
  .single-post .bh-post-body h3 { margin:30px 0 18px; font-size:19px; }
  .single-post .bh-post-body h4 { font-size:17px; }
  .single-post .bh-post-body :is(ul,ol) { padding:17px 18px 17px 35px; }
  .single-post .bh-post-body blockquote { padding:18px; font-size:15px; }
  .single-post .bh-post-body .toc { margin:28px 0 36px; padding:20px; }
  .single-post .bh-post-body .toc :is(ol,ul) { padding-left:1em; }
  .single-post .bh-post-table::before { content:'横にスクロールできます →'; display:block; position:sticky; left:0; padding:8px 12px; background:#f7faf7; color:#657c6b; font-size:11px; line-height:1.8; }
  .single-post .bh-post-back { margin-top:34px; padding:23px 3px; }
  .single-post.bergehome-renewal .under-entry-content { padding-top:30px; margin-top:18px; }
  .single-post #related-entries .related-entry-heading { font-size:25px; margin-bottom:23px; }
  .single-post #related-entries .related-list { grid-template-columns:1fr; gap:14px; }
  .single-post #related-entries .bh-related-text { padding:22px; }
  .single-post #related-entries .related-entry-card-title { font-size:16px; }
}

/* Text-only previous/next links, matching the related cards. */
.single-post #pager-post-navi :is(.prev-post-title,.next-post-title) { margin:0; }
