/* ==========================================================================
   Muratsu Dental テーマ 共通ベース
   デザイントークン・リセット・全ページ共通パーツ（フッター／右下スティッキー予約ボタン）。
   トップページ固有のスタイルは front-page.css、下層ページ固有のスタイルは subpages.css。
   ========================================================================== */
:root {
  --primary: #0273e9;
  --primary-dark: #0161c6;
  --primary-light: #eaf2fc;
  --primary-lighter: #f5f9fd;
  --navy: #1b3554;
  --navy-deep: #12253b;
  --text: #33404f;
  --text-muted: #6b7a8c;
  --border: #dde5ee;
  --white: #ffffff;
  --line-green: #06c755;
  --line-green-dark: #05a648;
  --yt-red: #e0554f;
  --yt-bg: #fdf4f3;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow: 0 4px 16px rgba(27,53,84,0.08);
  --shadow-hover: 0 10px 28px rgba(27,53,84,0.16);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background: #fbfcfe;
  color: var(--text);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== レイアウトの基本単位 =====
   各 section（header/footer含む）は幅いっぱいまで広がり、背景（色・画像）をフルブリードにできる。
   .section-inner がその中で実際のコンテンツ幅（最大1200px）を揃える。 */
.site-content { position: relative; }
.site-content section { position: relative; padding: 44px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* 記事カード（記事一覧ページ／記事詳細ページの関連記事、共通）のリンクラッパー。
   .article-card 自身は display:flex; flex-direction:column; の想定なので、
   中の <a> は display:contents で消して、直下の thumb/title を直接のflexアイテムにする。 */
.article-card-link { display: contents; text-decoration: none; color: inherit; }

/* ===== 右下スティッキー予約ボタン群（全ページ共通） ===== */
.sticky-reserve {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.sticky-btn {
  width: 168px; height: 54px; border-radius: 27px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(27,53,84,0.18);
  transition: transform .15s ease, box-shadow .15s ease; border: none; text-decoration: none;
}
.sticky-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27,53,84,0.24); }
.sticky-btn img { width: 20px; height: 20px; }
.sticky-btn.web { background: var(--primary); color: #fff; }
.sticky-btn.tel { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.sticky-btn.line { background: var(--line-green); color: #fff; }
.tel-info-card {
  display: none; position: absolute; right: 0; bottom: 64px; width: 230px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover); padding: 16px; font-size: 12.5px; text-align: left; color: var(--text);
}
.tel-info-card.open { display: block; }
.tel-info-card .tel-number { font-size: 18px; font-weight: 900; margin-bottom: 8px; color: var(--navy); }
.tel-info-card .tel-line { margin-bottom: 4px; color: var(--text-muted); }

/* ===== フッター（全ページ共通） ===== */
.site-footer { padding: 56px 0 26px; background: var(--navy-deep); color: #cbd8e6; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.footer-col { flex: 1; min-width: 150px; }
.footer-logo-box {
  margin-bottom: 16px; display: flex; align-items: center; gap: 9px; font-weight: 900;
  color: #fff; font-size: 15px; text-decoration: none;
}
.footer-logo-box img { width: 26px; height: 26px; }
.footer-link-box {
  margin-bottom: 11px; font-size: 12.5px; color: #b8c6d8; text-decoration: none; display: block;
  cursor: pointer; transition: color .15s ease;
}
.footer-link-box:hover { color: #fff; }
.footer-bottom-row {
  width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; gap: 8px;
}
.footer-copyright-box { flex: 1; min-width: 200px; font-size: 11.5px; color: #8697ac; }
.sitedata-link-box { font-size: 11px; color: #8697ac; text-decoration: none; }

@media (max-width: 640px) {
  .site-content section { padding: 30px 0; }
  .section-inner { padding: 0 20px; }
  .site-footer { padding: 36px 0 20px; }
  .footer-inner { flex-direction: column; }
}
