@charset "UTF-8";

/* テスト用ページ「医院紹介別案」（6741547）のページ設定 › CSS 欄（2026-11-18）
   = 本番の医院紹介（1955856）の CSS 欄そのまま（1〜13）
   ＋ 試作 drafts/3ページ試作_20261117/clinic/index.html の「いちばん後ろに足す分」（14〜18）とデザイン調整（19〜29・R・S・T）
   置き換え：写真の住所（試作の補正コピー → サイトにある元の画像）、部品番号 3237773 → 21488525（自由診療の理由）
   ※写真トーンの補正版はまだ登録していない（実装メモ 10章） */
/* =====================================================================
   医院紹介ページ（https://muratsu-dc.jp/clinic/）専用の CSS 第二版
   第一版からの変更（2026-11-07）：①言葉の切れ目（<wbr>）で改行する ②色の帯の中に余白を付ける（ご指示者の指摘）
   上書きで足した直し（2026-11-07 14:58ごろ、ご指示者「本の部分は第2版がよかったかも」「理事長の写真のとこも」）：
     ③10. 理事長のプロフィール（写真の角を丸く・経歴の下の文に余白。写真が上・経歴が下の並びは今のページのまま〔15:08 ご指示者「PCもスマホと同じ配置でいい」〕）
     ④11. 著書の紹介（うすいピンクのカード・推薦文は白い囲み。今の「画像＋テキスト」の部品に目印を付ける）
     ⑤12. 真ん中の3つの見出し・13. 理事長の名前の見せ方を、見本 第四版の形に（15:13ごろ ご指示者「見出しとかがHTML案4とけっこうちがう」）
     ⑥6. 経歴の丸印が左で半分切れるのを直す（一覧を 0.7rem 右へ。15:34ごろ ご指示者「円が半分できれてる」）
   入れる場所：/clinic/ の編集画面 › ページ設定 › 上級者設定の「CSS」欄（このページだけに出る）
   決まり：すべて「mc-」の目印が入ったブロックだけに効く書き方にする。
           見出しブロック・共通の欄・所在地の部品・ヘッダー・フッターには当てない。
   色はサイトのテーマの色（--i_main_color）を使う。
   作成：2026-11-07 全体のセッション（決定54-16）
   ===================================================================== */
/* ---------- 1. はじめの大きな言葉・信念の囲み ---------- */
.mc-lead{font-family:'Noto Serif JP',serif;font-size:2.0rem;line-height:1.85;text-align:center}
.mc-lead strong{font-weight:inherit;color:var(--i_main_color,#ea557e)}
.mc-belief strong{display:block;font-family:'Noto Serif JP',serif;font-size:1.8rem;margin-top:.6rem}
/* ---------- 2. 薄いピンクの帯（目印の入ったブロックの背景）と、帯の中の余白 ---------- */
section.contents_box01:has(.mc-band){background:#fef5f8}
section.contents_box01:has(.mc-band)>.content_wrapper{padding-left:1.6rem!important;padding-right:1.6rem!important;padding-bottom:1.2rem!important}
@media(min-width:768px){
section.contents_box01:has(.mc-band)>.content_wrapper{padding-left:3.2rem!important;padding-right:3.2rem!important;padding-bottom:2rem!important}
}
/* ---------- 0. 言葉の切れ目で改行する（文中の <wbr> の所だけで折り返す。長すぎるときだけ途中でも折る） ---------- */
section.contents_box01:has([class*="mc-"]) .heading .h,
.mc-lead,.mc-belief strong,table.mc-promises td strong,ul.mc-check li,ul.mc-team li,table.mc-stats td,ol.mc-six li,ul.mc-chips li{word-break:keep-all;overflow-wrap:anywhere}
/* ---------- 3. 3つの約束（表 → 番号付きのカード） ---------- */
table.mc-promises{display:block;counter-reset:mc-p}
table.mc-promises tbody{display:grid;gap:1.6rem}
@media(min-width:768px){
table.mc-promises tbody{grid-template-columns:repeat(3,1fr)}
}
table.mc-promises tr{display:contents}
table.mc-promises td{background:#fff;border:1px solid #f0dce3!important;padding:1.6rem!important;vertical-align:top;counter-increment:mc-p}
table.mc-promises td::before{content:counter(mc-p,decimal-leading-zero);display:block;font-family:'Noto Serif JP',serif;line-height:1;color:var(--i_main_color,#ea557e);margin-bottom:.8rem}
table.mc-promises td strong{display:block;font-size:1.6rem;line-height:1.6;margin-bottom:.8rem}
table.mc-promises td{font-size:1.4rem;line-height:1.8}
/* ---------- 4. このような想いの方へ（箇条書き → チェック付きのカード） ---------- */
ul.mc-check{display:grid;gap:1rem}
ul.mc-check li{list-style:none!important;background:#fff;border:1px solid #f0dce3;padding:1.2rem 1.4rem 1.2rem 4.4rem!important;position:relative;line-height:1.7}
ul.mc-check li::before{content:""!important;position:absolute;left:1.4rem;top:1.5rem;width:1.8rem;height:1.8rem;border-radius:50%}
ul.mc-check li::after{content:"";position:absolute;left:1.9rem;top:1.9rem;width:.8rem;height:.5rem;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}
/* ---------- 5. 実績と医療体制（人数の丸・数字のカード） ---------- */
ul.mc-team{display:flex;flex-wrap:wrap;justify-content:center}
ul.mc-team li{list-style:none!important}
table.mc-stats{display:block}
table.mc-stats tbody{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem}
@media(min-width:768px){
table.mc-stats tbody{grid-template-columns:repeat(4,1fr)}
}
table.mc-stats tr{display:contents}
table.mc-stats td{padding:1.6rem 1rem!important;text-align:center;vertical-align:top;font-size:1.3rem;line-height:1.5}
table.mc-stats td strong{display:block;font-size:2.0rem;line-height:1.25;margin:.4rem 0}
@media(min-width:768px){
table.mc-stats td strong{font-size:2.6rem}
}
table.mc-stats td small{display:block;font-size:1.1rem;margin-top:.4rem}
.mc-closing{font-family:'Noto Serif JP',serif;font-size:1.7rem;padding:1.8rem 1.6rem;margin-top:2rem!important}
/* ---------- 6. 理事長の経歴（箇条書き → 時系列の線） ---------- */
ul.mc-timeline{margin:0 0 1.2rem .7rem!important;border-left:2px solid #fbd9e3}
ul.mc-timeline li{list-style:none!important;position:relative;padding:.4rem 0 .8rem 1.8rem!important}
ul.mc-timeline li::before{content:""!important;position:absolute;top:1.3rem;border-radius:50%}
/* ---------- 7. 理事長ご挨拶（手紙の囲み） ---------- */
.mc-letter{background:#fff;border:1px solid #f0dce3;padding:2.2rem 1.8rem;font-family:'Noto Serif JP',serif;line-height:2.05}
.mc-letter p{margin:0 0 1em}
/* ---------- 8. 6つの感動（番号付きの箇条書き → 番号のタイル） ---------- */
ol.mc-six{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;counter-reset:mc-s}
@media(min-width:768px){
ol.mc-six{grid-template-columns:repeat(3,1fr)}
}
ol.mc-six li{background:#fff;border:1px solid #f0dce3;padding:1.6rem 1.2rem!important;text-align:center;font-size:1.4rem;line-height:1.6;counter-increment:mc-s}
ol.mc-six li::before{display:block;font-family:'Noto Serif JP',serif;position:static!important}
/* ---------- 9. 治療内容（箇条書き → 丸い枠の並び） ---------- */
ul.mc-chips{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.2rem 0 0}
ul.mc-chips li{list-style:none!important}
/* ---------- 10. 理事長のプロフィール（経歴の箇条書き mc-timeline が入っている部品だけ。写真が上・経歴が下） ---------- */
.mc-profile-after{margin-top:1.2rem!important}
/* ---------- 11. 著書の紹介（「画像＋テキスト」の部品。帯は mc-band で付く） ---------- */
section.contents_box01:has(.mc-book) .inner_item_img img{border:1px solid #f0dce3;background:#fff}
.mc-book{font-size:1.4rem}
.mc-book-reco{background:#fff;padding:1.2rem 1.4rem;margin-top:1.2rem!important;font-size:1.4rem;line-height:1.8}
@media(max-width:767px){
section.contents_box01:has(.mc-book) .inner_item_img img{width:60%!important}
}
/* ---------- 12. 真ん中の3つの見出し（3つの約束・このような想いの方へ・実績と医療体制）。見出しの部品は block_header_6 のまま、見本 第四版の形に ---------- */
/* 小さな英字を上・見出しを下に。見出しは少し小さめの太字、下に短い線 */
section.contents_box01:has(.mc-promises)>.content_wrapper>.heading.block_header_6,
section.contents_box01:has(.mc-check)>.content_wrapper>.heading.block_header_6,
section.contents_box01:has(.mc-team)>.content_wrapper>.heading.block_header_6{flex-direction:column-reverse!important;margin-bottom:2rem}
section.contents_box01:has(.mc-promises)>.content_wrapper>.heading.block_header_6 .h,
section.contents_box01:has(.mc-check)>.content_wrapper>.heading.block_header_6 .h,
section.contents_box01:has(.mc-team)>.content_wrapper>.heading.block_header_6 .h{font-size:2.3rem!important;line-height:1.5;padding-bottom:1.2rem;margin-bottom:0}
section.contents_box01:has(.mc-promises)>.content_wrapper>.heading.block_header_6 .h:before,
section.contents_box01:has(.mc-check)>.content_wrapper>.heading.block_header_6 .h:before,
section.contents_box01:has(.mc-team)>.content_wrapper>.heading.block_header_6 .h:before{width:40px;left:calc(50% - 20px)}
section.contents_box01:has(.mc-promises)>.content_wrapper>.heading.block_header_6 p,
section.contents_box01:has(.mc-check)>.content_wrapper>.heading.block_header_6 p,
section.contents_box01:has(.mc-team)>.content_wrapper>.heading.block_header_6 p{font-family:'Noto Sans JP',sans-serif!important;font-size:1.2rem;letter-spacing:.24em;line-height:1.4;color:var(--i_main_color,#ea557e);margin:0 0 .4rem}
/* ---------- 13. 理事長の名前（経歴 mc-timeline の入った部品の見出し）。上から DIRECTOR → 役職 → 名前 ---------- */
section.contents_box01:has(.mc-timeline) .heading{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:1.2rem}
section.contents_box01:has(.mc-timeline) .heading::before{content:"DIRECTOR";display:block!important;order:-2;position:static;font-family:'Noto Sans JP',sans-serif;font-size:1.2rem;letter-spacing:.24em;line-height:1.4;color:var(--i_main_color,#ea557e);margin:0 0 .4rem}
section.contents_box01:has(.mc-timeline) .heading .h{font-family:'Noto Serif JP',serif;font-size:2.4rem!important;font-weight:700!important;letter-spacing:.04em!important;color:var(--i_txt_color,#333);margin:.2rem 0 0}
section.contents_box01:has(.mc-timeline) .heading .h:before{display:none!important}
/* =====================================================================
   ここから下は、本番のページ設定 › CSS 欄の「いちばん後ろに足す分」の案（試作 2026-11-17）
   決まり：今のCSSと同じく「mc-」の目印が入ったブロックだけに効く書き方
   ===================================================================== */
/* ---------- 14. 医院基本情報（表）：左の列が項目名 ---------- */
table.mc-info{width:100%!important;background:#fff;font-size:1.5rem;line-height:1.8}
table.mc-info th,table.mc-info td{border-bottom:1px solid #f0dce3!important;padding:1.2rem 1.4rem!important;text-align:left;vertical-align:top}
table.mc-info th{width:30%;white-space:nowrap}
.mc-info-note{text-align:right;margin-top:.6rem!important}
@media(max-width:767px){
table.mc-info{font-size:1.4rem}
table.mc-info th{white-space:normal;width:34%;padding:1rem!important}
table.mc-info td{padding:1rem!important}
}
/* ---------- 15. 医院の歩み（年表）：左に年、右に出来事 ---------- */
dl.mc-history{border-left:2px solid #fbd9e3;margin-left:.7rem!important}
dl.mc-history dt{position:relative;padding:.2rem 0 0 1.8rem;font-family:'Noto Serif JP',serif}
dl.mc-history dt::before{content:"";position:absolute;top:1.1rem;border-radius:50%}
dl.mc-history dd{padding:.2rem 0 1.6rem 1.8rem}
/* ---------- 16. 「歯は臓器について詳しく見る」のリンク ---------- */
.mc-more a:hover{background:var(--i_main_color,#ea557e);color:#fff}
/* ---------- 17. 治療内容の丸い枠：リンクのあるものだけ色を付ける ---------- */
ul.mc-chips li a::after{content:" ›"}
/* ---------- 18. 新しい2つの見出し（基本情報・歩み）を、真ん中の3つの見出し（12.）と同じ形に ---------- */
section.contents_box01:has(.mc-info)>.content_wrapper>.heading.block_header_6,
section.contents_box01:has(.mc-history)>.content_wrapper>.heading.block_header_6{margin-bottom:2rem}
section.contents_box01:has(.mc-info)>.content_wrapper>.heading.block_header_6 .h,
section.contents_box01:has(.mc-history)>.content_wrapper>.heading.block_header_6 .h{font-size:2.3rem!important;line-height:1.5;padding-bottom:1.2rem;margin-bottom:0}
section.contents_box01:has(.mc-info)>.content_wrapper>.heading.block_header_6 .h:before,
section.contents_box01:has(.mc-history)>.content_wrapper>.heading.block_header_6 .h:before{width:40px;left:calc(50% - 20px)}
/* =====================================================================
   医院紹介（https://muratsu-dc.jp/clinic/）デザイン調整（2026-11-17・試作）
   入れる場所：/clinic/ の編集画面 › ページ設定 › 上級者設定の「CSS」欄のいちばん後ろ（14.〜18.「足す分」のさらに後ろ）
   決まり：今の CSS と同じく mc- の目印の入った所にだけ当てる。頭に body を付けて強さを上げた
   色：線・飾り＝テーマ色 #ea557e／ピンクの文字・数字＝少し深い #b93d61／淡い地＝#fdf5f8／枠線＝#f0dce3／本文＝#434343／注記＝#777
   角丸は 4px、影は付けない（3ページ共通）
   ===================================================================== */
/* ---------- 19. 角丸を 12px・10px・8px の混在から 4px にそろえる ---------- */
body section.contents_box01:has(.mc-band){border-radius:4px}
body table.mc-promises td,body ul.mc-check li,body table.mc-stats td,body .mc-letter,body ol.mc-six li,body .mc-closing,body .mc-book-reco{border-radius:4px!important}
body section.contents_box01:has(.mc-timeline) .inner_item_img img,
body section.contents_box01:has(+ section.contents_box01 .mc-timeline) .inner_item_img img{border-radius:4px}
body section.contents_box01:has(.mc-book) .inner_item_img img{border-radius:2px}
/* ---------- 20. 信念の囲み：金色・ベージュ（このページでここだけ）→ ピンクの細い線と淡い地（歯は臓器の「定義」と同じ形） ---------- */
body .mc-belief{background:#fdf5f8;border-left:2px solid var(--i_main_color,#ea557e);border-radius:0;padding:1.6rem 2rem;margin:2rem 0}
body .mc-belief strong{color:#b93d61;font-weight:500}
/* ---------- 21. 「歯は臓器について詳しく見る」のリンク：丸いボタン → サイトの他のボタンと同じ四角・ずらした細線 ---------- */
body .mc-more{text-align:center;margin:2.8rem 0 0!important}
body .mc-more a{position:relative;display:inline-block;min-width:220px;text-align:center;padding:1.1rem 3.2rem!important;border:1px solid var(--i_btn_color,#ea557e)!important;border-radius:0!important;background:#fff!important;color:var(--i_btn_color,#ea557e)!important;font-size:1.5rem;line-height:1.5;letter-spacing:.2rem;text-decoration:none!important;transition:background-color .3s,color .3s}
body .mc-more a::after{content:""!important;position:absolute;top:4px;left:4px;width:100%;height:100%;border-right:1px solid var(--i_btn_color,#ea557e);border-bottom:1px solid var(--i_btn_color,#ea557e);pointer-events:none;transition:opacity .3s}
body .mc-more a:hover{background:var(--i_btn_color,#ea557e)!important;color:#fff!important}
body .mc-more a:hover::after{opacity:0}
body .mc-more a:focus-visible{outline:2px solid var(--i_btn_color,#ea557e);outline-offset:6px}
/* ---------- 22. 真ん中の見出し（12.・18.）：太字 700 → 500 に。サイトの他の見出し（細めの明朝）との差を小さく ---------- */
body section.contents_box01:has(.mc-promises)>.content_wrapper>.heading.block_header_6 .h,
body section.contents_box01:has(.mc-check)>.content_wrapper>.heading.block_header_6 .h,
body section.contents_box01:has(.mc-team)>.content_wrapper>.heading.block_header_6 .h,
body section.contents_box01:has(.mc-info)>.content_wrapper>.heading.block_header_6 .h,
body section.contents_box01:has(.mc-history)>.content_wrapper>.heading.block_header_6 .h{letter-spacing:.08em!important}
/* 「医院の歩み」の前が詰まっているので、上に余白 */
/* ---------- 23. 医院基本情報の表：項目名の太字ピンクを、少し深いピンクの中くらいの太さに。上の線は 1px ---------- */
body table.mc-info th{font-weight:500;color:#b93d61;background:#fdf5f8;font-size:1.4rem;letter-spacing:.06em}
body table.mc-info tr:first-child th,body table.mc-info tr:first-child td{border-top:1px solid var(--i_main_color,#ea557e)!important}
body .mc-info-note,body .mc-info-note small{font-size:1.2rem;color:#777}
/* ---------- 24. 年表・経歴：日付の太字を中くらいの太さに、線の色をそろえる ---------- */
body dl.mc-history,body ul.mc-timeline{border-left-color:#f0dce3}
body dl.mc-history dt{font-size:1.6rem;color:#b93d61;letter-spacing:.04em}
body dl.mc-history dt::before,body ul.mc-timeline li::before{width:.9rem;height:.9rem;left:-.55rem;background:#fff;border:2px solid var(--i_main_color,#ea557e);box-sizing:border-box}
/* ---------- 25. チェックの印：塗りつぶしの丸 → 細い線の丸と細いチェック（トップと同じ） ---------- */
body ul.mc-check li{border-color:#f3e3e9}
body ul.mc-check li::before{border:1px solid var(--i_main_color,#ea557e);box-sizing:border-box}
body ul.mc-check li::after{border-color:var(--i_main_color,#ea557e)}
/* ---------- 26. 人数の丸（医師・衛生士・診療台）：丸い枠 → 細い縦線で区切った1行。数字は明朝 ---------- */
body ul.mc-team{gap:0!important;margin-bottom:1.2rem!important}
body ul.mc-team li{border-radius:0!important;padding:.2rem 2rem!important;font-size:1.5rem;line-height:1.6}
body ul.mc-team li+li{border-left:1px solid #e8d0d9!important}
body ul.mc-team strong{font-family:"Noto Serif JP",serif;font-weight:500;font-size:2.6rem;margin:0 .12em}
/* ---------- 27. 実績の数字：太いゴシック → 明朝の中くらいの太さ（トップの数字の帯と同じ） ---------- */
body table.mc-stats td strong{font-family:"Noto Serif JP",serif;font-weight:500;letter-spacing:.02em}
body table.mc-stats td small{color:#777}
body table.mc-promises td::before{font-size:3.2rem}
/* ---------- 28. 6つの感動の番号：ピンクの塗りの丸 → 3つの約束と同じ明朝の数字 ---------- */
body ol.mc-six li::before{content:counter(mc-s,decimal-leading-zero)!important;line-height:1;margin:0 auto 1rem;color:var(--i_main_color,#ea557e);font-size:2.4rem}
/* ---------- 29. 治療内容の枠：塗りつぶしのピンク（リンクあり）と白（リンクなし）の差が強すぎるので、
               リンクあり＝ピンクの線と深いピンクの文字、リンクなし＝薄い線と灰色の文字、に。角丸は 2px ---------- */
body ul.mc-chips li{border:1px solid #e8d6dd!important;border-radius:2px!important;background:#fff!important;padding:.5rem 1.2rem!important;font-size:1.35rem}
body ul.mc-chips li:has(a){padding:0!important}
body ul.mc-chips li a{display:block;padding:.5rem 1.2rem;text-decoration:none}
body ul.mc-chips li a:hover{background:#fdf2f5}
/* ---------- スマホ（767px まで） ---------- */
@media (max-width:767px){
body .mc-belief{padding:1.4rem 1.4rem}
body .mc-more a{min-width:200px;padding:1rem 2.4rem!important;font-size:1.4rem;letter-spacing:.15rem}
body ul.mc-team{flex-direction:column;align-items:center}
body ul.mc-team li{padding:.1rem 0!important;font-size:1.4rem}
body ul.mc-team li+li{border-left:0!important}
body ul.mc-team strong{font-size:2.2rem}
}
/* =====================================================================
   R. 写真で緩急を付ける（11/17 追加の依頼「余白が余って見える」への案）
   使う写真は今サイトにある画像だけ（media.webcms-cdn.com）。文は動かさず、CSS の飾りの画像として置く
   写真の位置は 左（自由診療）→ 右（歩み）→ 左（想い）→ 横長（6つの感動）と交互にする。スマホはすべて文の上に横いっぱい
   ===================================================================== */
/* R-1. 自由診療を中心に行っている理由（3237773）：長い1段落 → 左に診療台が並ぶ院内の写真、文が右に回り込む */
body [id^="nbp21488525"] .inner_item_txt{display:flow-root}
body [id^="nbp21488525"] .inner_item_txt::before{content:"";border-radius:4px;background:#f6eef1 url("/common/upload_data/muratsu-dcjp/image/20250820101914.jpg") center/cover no-repeat}
/* R-2. 医院の歩み（年表 mc-history）：2行の年表だけ → 左に年表、右に医院の入るビルの写真 */
body section.contents_box01:has(.mc-history) .inner_item_txt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:4rem;align-items:center}
body section.contents_box01:has(.mc-history) .inner_item_txt::before{content:"";grid-column:2;grid-row:1 / span 2;align-self:stretch;min-height:260px;border-radius:4px;background:#f6eef1 url("/common/upload_data/muratsu-dcjp/image/20261118173429.jpg") center 55%/cover no-repeat}
body section.contents_box01:has(.mc-history) dl.mc-history{grid-column:1}
body section.contents_box01:has(.mc-history) .mc-more{grid-column:1;text-align:left}
/* R-3. このような想いの方へ（mc-check）：2列のカード → 左に衛生士と患者さんの写真、右にカードを1列で */
body section.contents_box01:has(.mc-check) .inner_item_txt{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:3.2rem;align-items:stretch}
body section.contents_box01:has(.mc-check) .inner_item_txt::before{content:"";min-height:300px;border-radius:4px;background:#f6eef1 url("/common/upload_data/muratsu-dcjp/image/20250820101813.jpg") center/cover no-repeat}
body section.contents_box01:has(.mc-check) ul.mc-check{align-content:center}
/* R-4. 6つの感動（mc-six）：番号のタイルの上に、横長の院内の写真（カウンセリングの部屋）を1枚 */
body ol.mc-six::before{content:""!important;grid-column:1 / -1;aspect-ratio:16 / 5;border-radius:4px;background:#f6eef1 url("/common/upload_data/muratsu-dcjp/image/20250820103534.jpg") center 60%/cover no-repeat}
@media (max-width:767px){
body [id^="nbp21488525"] .inner_item_txt::before{display:block;aspect-ratio:3 / 2;margin:0 0 2rem}
body section.contents_box01:has(.mc-history) .inner_item_txt,
  body section.contents_box01:has(.mc-check) .inner_item_txt{display:block}
body section.contents_box01:has(.mc-history) .inner_item_txt::before,
  body section.contents_box01:has(.mc-check) .inner_item_txt::before{display:block;min-height:0;aspect-ratio:3 / 2;margin:0 0 2rem}
body section.contents_box01:has(.mc-history) .mc-more{text-align:center}
body ol.mc-six::before{aspect-ratio:2 / 1}
}
/* =====================================================================
   S. 右側の欄の相談バナーを、スクロールしても付いてくる形にする（2026-11-17・試作。医院紹介（/clinic/）だけ）
   ご指示者の指摘（11/17）：右側の欄に比べて本文が長く、後半の右側が空く
   → 右側の欄は残し、上の「コンテンツ」の案内メニューはふつうに流す。下の相談バナー（.sidebanner）だけ、
     パソコンでは画面の上から 133px（上に止まるヘッダー 113px ＋ すき間 20px）の所で止まって付いてくる。
     本文の終わり（右側の欄の終わり）まで来たら、そこで止まる
   効く条件：画面の幅 851px 以上（右側の欄が横に並ぶ幅）かつ 画面の高さ 560px 以上（バナー 約362px ＋ 133px が収まる高さ）
            それ以外（スマホ・タブレット・とても低い画面）は今のまま
   ★管理画面のひな型で効くかどうかは、テストページで確かめる（実装メモ「右欄の追従」）
   ===================================================================== */
@media screen and (min-width:851px) and (min-height:560px){
/* (1) サイト共通の独自CSSの body{overflow-x:hidden} があると、ページ全体が「中で動く箱」扱いになり sticky が効かない。
         サイトの基本CSS（cmn.css）が本来出したかった overflow-x:clip（はみ出しを切るだけ）に戻す。このページの body だけに効く */
html body{overflow-x:clip}
/* (2) 本文と右側の欄の外枠（.column2）：overflow:hidden だと sticky が効かないので、横のはみ出しを切るだけ（clip）に。
         左右に並べる方法を float から flex に替え、右側の欄を本文と同じ高さまで伸ばす（バナーが動ける範囲を作る）。
         幅（本文 70%・右欄 30%／1100px 以下は 右欄 310px）は今の指定のまま */
body .column2:has(> #sidebar .sidebanner){display:flex;align-items:stretch;overflow:visible;overflow-x:clip}
body .column2:has(> #sidebar .sidebanner)>#primary{float:none;flex:0 0 auto;min-width:0}
body .column2:has(> #sidebar .sidebanner)>#sidebar{float:none;flex:0 0 auto}
/* (3) 相談バナーだけ付いてくる */
body #sidebar>.sidebanner{position:sticky;top:133px}
}
/* =====================================================================
   T. ページ内の目印へ飛んだとき、見出しが上に止まるヘッダーに隠れないようにする（2026-11-18・試作）
   ご指示者の判断（11/18）：トップの「当院のこだわりへ」→ /kodawari/#kodawari、「理事長ご挨拶を見る」→ /clinic/#rijicho
   目印：#kodawari（歯は臓器 3214933 のアンカー欄）／#rijicho（医院紹介 3237752 のアンカー欄）。両方のページに同じ中身を入れる（そのページにない目印の行は何もしない）
   パソコン（幅 901px 以上）：下へ送るとヘッダーが上に止まる（body.scrolled のとき position:fixed。1280px 幅で高さ 113px を試作で計測）
                            → 113px ＋ すき間 20px ＝ 133px 下で止める（右側の相談バナーの止める位置 133px と同じ）
   スマホ・タブレット（幅 900px 以下）：ヘッダーは上に止まらない（サイトの基本CSSで position:relative）→ すき間 20px だけ
   ★管理画面のひな型で本当にその場所へ飛ぶか・隠れないかは、テストページで確かめる（実装メモ「ページ内の目印」）
   ===================================================================== */
#kodawari,#rijicho{scroll-margin-top:133px}
@media screen and (max-width:900px){
#kodawari,#rijicho{scroll-margin-top:20px}
}
/* 2026-11-18 17:34：医院の歩みの写真を今の医院の外観（clinic_医院の歩み_外観.jpg → 登録 20261118173429.jpg）に差し替え（試作 clinic/実装メモ.md 13-5） */
/* ===== テスト用ページだけの合わせ（2026-11-18 17:15。公開側で試作と比べて分かったこと） =====
   新しく作った部品は、見出しの配置が既定の「左」（align-left）・写真の幅が既定（40%）になる。
   本番の部品は見出しが「中央」（align-center）、著書の写真の幅が 20%（w20）なので、本番と同じ見え方にそろえる */
body #primary .heading.block_header_6.align-left{text-align:center!important;align-items:center!important}
body section[id~="21488536"] .wrapper_item>.inner_item_img{flex:0 0 20%!important;max-width:20%!important}
body section[id~="21488536"] .wrapper_item>.inner_item_txt{width:80%!important;flex:1 1 auto!important;max-width:none!important}
/* 11/25 治療内容：10項目を同じ色にそろえる（グレーだと「行っていない治療」に見えるため）。サイト内は「›」、専門サイトは「↗」 */
body ul.mc-chips li{border-color:var(--i_main_color,#ea557e)!important;color:#b93d61!important}
body ul.mc-chips li a[href*="muratsu-dc.com"]::after{content:" ↗"}
/* 11/25 専門サイトへ移る前の小窓（飾りなし版） */
.mc-ext-modal{position:fixed;inset:0;background:rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;z-index:99999}
.mc-ext-modal .box{background:#fff;border-radius:12px;max-width:300px;width:80%;text-align:center;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.mc-ext-modal p{font-size:1.45rem;line-height:1.7;color:#333;margin:0;padding:2rem 1.6rem 1.8rem}
.mc-ext-modal .btns{display:flex;border-top:1px solid #ddd}
.mc-ext-modal .btns a{flex:1;padding:1.2rem;font-size:1.45rem;color:#333!important;text-decoration:none;cursor:pointer}
.mc-ext-modal .btns a+a{border-left:1px solid #ddd}
/* 11/25 3つの約束：ピンクの背景に院内の写真（カウンセリングの部屋）をぼかして薄く入れる（文が続くため） */
body section[id~="21488522"]{isolation:isolate}
body section[id~="21488522"]::before{content:"";position:absolute;inset:-20px;z-index:-2;background:url("/common/upload_data/muratsu-dcjp/image/20250820103534.jpg") center/cover no-repeat;filter:blur(4px)}
body section[id~="21488522"]::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(254,245,248,.62)}
/* 11/25 区画ごとの余白を少し広げる（30px→PC 50px・スマホ 40px）。理事長のかたまり（pt10・pb20・pt0 の区画）は詰めたまま */
@media(min-width:768px){
body #primary section.pt30{padding-top:50px!important}
body #primary section.pb30{padding-bottom:50px!important}
}
@media(max-width:767px){
body #primary section.pt30{padding-top:40px!important}
body #primary section.pb30{padding-bottom:40px!important}
}
/* 11/25 医院紹介 RESULTS（21488529）シャンパン色＋金の二重線（ご指示者「案2シャンパン」） */
body section[id~="21488529"]{background:linear-gradient(180deg,#fbf7f1 0%,#f6eee6 100%)!important}
body section[id~="21488529"]::after{content:"";position:absolute;inset:14px;border:1px solid rgba(176,141,87,.5);pointer-events:none}
body section[id~="21488529"]::before{content:"";position:absolute;inset:19px;border:1px solid rgba(176,141,87,.22);pointer-events:none}
body section[id~="21488529"] .heading p{color:#a8834c!important}
body section[id~="21488529"] .heading .h:before,body section[id~="21488529"] .heading .h:after{background:#b08d57!important;border-color:#b08d57!important}
body section[id~="21488529"] ul.mc-team li{border-color:rgba(176,141,87,.4)!important}
body section[id~="21488529"] ul.mc-team li strong{color:#a8834c!important}
body section[id~="21488529"] table.mc-stats td{background:#fff!important;border:1px solid rgba(176,141,87,.35)!important;border-top:2px solid #b08d57!important}
body section[id~="21488529"] table.mc-stats td strong,body section[id~="21488529"] table.mc-stats td b{color:#a8834c!important}
body section[id~="21488529"] .inner_item_txt>p:last-child{background:#fff!important}
@media(max-width:767px){
body section[id~="21488529"]::after{inset:6px}
body section[id~="21488529"]::before{inset:10px}
}
/* 11/25 冒頭の見出しの棒を真ん中に（文字と CLINIC は真ん中なのに棒だけ左端だったため。ほかの見出しと同じ 40px） */
body section[id~="21488518"] .heading.block_header_6 .h:before{width:40px;left:calc(50% - 20px)}
/* 11/25 冒頭の「もう、歯のことで悩みたくない」の段落の上下に余白（ご指示者「上下余白少し増やす」） */
body section[id~="21488518"] p.mc-lead{margin:2.4rem 0!important}
/* 11/25 自由診療：パソコンは写真（左）と文（右）を2列にはっきり分ける（写真の下に文が回り込んで改行がおかしく見えたため）。スマホは今のまま縦並び */
@media(min-width:768px){
body section[id~="21488518"] p.mc-lead{margin:3.2rem 0!important}
body [id^="nbp21488525"] .inner_item_txt{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:3.2rem;align-items:stretch}
body [id^="nbp21488525"] .inner_item_txt::before{min-height:300px}
}
/* 11/25 見出しを「むらつ歯科クリニックとは」にし、前の見出しの言葉を下の小さい文字に（ご指示者「この形でよい」）。英字の飾りの書式をやめて、明朝・ピンクの小さい文字に */
body section[id~="21488518"] .heading p{font-family:"Noto Serif JP",serif!important;margin-top:1.2rem!important}
/* 11/25 経歴の見出しを2行（名前／肩書き）にしたので、下の小さい文字の欄は出さない */
/* 11/25 冒頭：見出し「むらつ歯科クリニックとは」を小さく、キャッチコピーを大きく（ご指示者「テキストサイズ逆でいいかも」）。h2 は見出しのまま。キャッチは言葉の切れ目（wbr）でだけ改行 */
body section[id~="21488518"] .heading .h{font-size:1.6rem!important;letter-spacing:.12em!important;color:#b93d61!important}
body section[id~="21488518"] .heading p{font-size:2.4rem!important;letter-spacing:.04em!important;line-height:1.6!important;word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance}
@media(min-width:768px){
body section[id~="21488518"] .heading p{font-size:2.8rem!important}
}
/* 11/25 長くなった見出しの改行（ご指示者「改行がおかしいところもあるのでチェック修正」）：基本情報の見出しに切れ目の印を入れ、言葉の途中で折れないように */
body section[id~="21488520"] .heading .h{text-wrap:balance}
/* 11/26 左揃えの長い本文を両端揃えに（ご指示者「左揃えになっている長文の本文は大体これに」「本番に入れる」。見本はドクター紹介）。中央寄せの文・リンク・短い項目は対象外。長い本文14か所 */
body section[id~="21488518"] .inner_item_txt p:not(.mc-lead):not(.mc-more),body section[id~="21488522"] table.mc-promises td,body section[id~="21488525"] .inner_item_txt p,body section[id~="21488529"] p.mc-closing,body section[id~="21488535"] p.mc-profile-after,body section[id~="21488536"] p.mc-book,body section[id~="21488536"] p.mc-book-reco,body section[id~="21488539"] .inner_item_txt p{text-align:justify;text-justify:inter-character}
/* 11/26 3つの約束：01〜03 の直下の太字（各カードの見出し）は両端揃えにしない（ご指示者「太字は両端揃え不要。その下の細字は両端でOK」） */
body section[id~="21488522"] table.mc-promises td strong{text-align:start}