/* 住吉ブログ 移管用コンポーネントCSS（ショートコード出力＋本文画像）
   Bootstrapグリッド非依存。旧ROLQブログ(blog-child)に読み込む想定。 */

/* 本文画像：はみ出さず、指定サイズ内で表示（ライブのimg-fluid相当） */
.post-content img,
#subpage img { max-width: 100%; height: auto; }
.post-content img.img-fluid { max-width: 100%; height: auto; }

/* ===== チェックリスト [checklist] ===== */
.sblog-checklist {
  background: #fff; border: 1px solid #e6e6e6; border-radius: 6px;
  padding: 18px 22px; margin: 24px auto; max-width: 680px;
}
.sblog-checklist ul { list-style: none !important; margin: 0; padding: 0 !important; }
.sblog-checklist li {
  position: relative; padding: 10px 0 10px 38px;
  border-bottom: 1px dashed #dcdcdc; font-weight: 600;
  list-style: none !important;
}
.sblog-checklist li::marker { content: none; }
.sblog-checklist li:last-child { border-bottom: 0; }
.sblog-checklist li::before {
  content: "\2714"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; line-height: 24px; text-align: center;
  background: #f0a500; color: #fff; border-radius: 4px; font-size: 14px;
}

/* ===== 理由ブロック [reason]（旧 con_reason_sub / 2カラム行） ===== */
.sblog-reason {
  display: flex; gap: 24px; align-items: flex-start;
  background: #fff; padding: 20px; border-radius: 8px; margin: 28px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.sblog-reason__img { flex: 0 0 42%; }
.sblog-reason__img img { width: 100%; height: auto; border-radius: 6px; display: block; }
.sblog-reason__body { flex: 1 1 auto; }
.sblog-reason__badge {
  display: inline-block; background: #f0a500; color: #fff; font-weight: 700;
  font-size: 14px; padding: 3px 12px; border-radius: 4px; margin-bottom: 8px;
}
.sblog-reason__title { font-size: 20px; font-weight: 700; margin: 4px 0 12px; color: #2a7a6b; }
.sblog-reason__text { font-size: 15px; line-height: 1.9; }
.sblog-reason__text p { margin: 0 0 1em; }
@media (max-width: 767px) {
  .sblog-reason { flex-direction: column; gap: 14px; }
  .sblog-reason__img { flex-basis: auto; width: 100%; }
}

/* ===== リストボックス [listbox] ===== */
.sblog-listbox {
  background: #fbfbf7; border: 1px solid #e1ddc9; border-radius: 8px;
  padding: 18px 24px; margin: 24px 0;
}
.sblog-listbox__title { font-weight: 700; font-size: 17px; margin: 0 0 8px; color: #2a7a6b; }
.sblog-listbox ul { margin: 0; padding-left: 1.2em; }
.sblog-listbox li { padding: 4px 0; line-height: 1.7; }

/* ===== 全記事一覧 [sblog_post_list]（/blog/） ===== */
.sblog-postlist__cat { margin: 0 0 28px; }
.sblog-postlist__cattitle {
  font-size: 18px; font-weight: 700; color: #2a7a6b;
  border-left: 4px solid #f0a500; padding-left: 10px; margin: 0 0 12px;
}
.sblog-postlist__items { list-style: none; margin: 0; padding: 0; }
.sblog-postlist__item { border-bottom: 1px dashed #dcdcdc; padding: 9px 0; }
.sblog-postlist__item:last-child { border-bottom: 0; }
.sblog-postlist__item a { text-decoration: none; color: #333; }
.sblog-postlist__item a:hover { color: #2a7a6b; text-decoration: underline; }

/* 全記事一覧のページネーション */
.sblog-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 0; }
.sblog-pager__num {
  display: inline-block; min-width: 38px; padding: 8px 10px; text-align: center;
  border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #2a7a6b;
}
.sblog-pager__num:hover { background: #f7f7f2; }
.sblog-pager__num.is-current { background: #2a7a6b; color: #fff; border-color: #2a7a6b; }

/* ===== webフォント化（ヘッダー院名・電話のテキスト化）2026-06-16 ===== */
.u-txt-jp { font-family: "Zen Maru Gothic", sans-serif; }
.u-txt-tel {
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #ec8e1f;
  line-height: 1;
}
.u-txt-tel::before {
  content: '';
  background: url(lib/images/ico_mb.svg) no-repeat center / contain;
  width: .5em;
  aspect-ratio: 2/3;
  margin: 0 .3em 0 0;
}
#header .header-container .header-left #logo.u-txt-jp {
  font-weight: bold;
  font-size: 2.3rem;
  margin: .2em 0 0;
}
@media only screen and (max-width: 991px) {
  #header .header-container .header-left #logo.u-txt-jp {
    font-size: 1.2rem;
  }
}
/* フッター 院名・電話のテキスト化（加古川ブログ同様）2026-06-16 */
#footer .footer-head .logo-footer {
  font-size: 30px;
  font-weight: bold;
}
#footer .footer-head .logo-footer a {
  color: #fff;
}
#footer .contact-footer .tel a {
  font-size: 2.6rem;
  color: #ec8e1f;
}
@media only screen and (max-width: 768px) {
  #footer .contact-footer .tel a {
    font-size: 2.4rem;
  }
}

/* /blog/ 一覧ページの上部余白（加古川 body.home #content 相当）2026-06-16 */
body.page-id-703 #content {
  padding-top: 52px;
}
@media only screen and (max-width: 991px) {
  body.page-id-703 #content {
    padding-top: 20px;
  }
}
