/* MotoJP 開発ブログ　レイアウト v4（2026-12-01）
   サイトの「車種別サービスメニュー」のページと同じ部品を使う形。
   ページの土台（ヘッダー・メニュー・見出しの赤い帯・フッター）は /css/style.css と /css/fixmenu.css、
   札・ボタン・色分けした札・施工項目の行・目次のリンクは /css/model-page.css（.mp）を、そのまま読み込んで使う。
   このファイルに置くのは、記事だけの部品（クラス名は bp- で始める）と、サイトの決まりがグラフの中に届かないようにする指定だけ。
   グラフの部品（charts\chart.css）と図のコメント（article-comments.css）には手を入れない。外部のフォントや部品は読み込まない。 */

/* ── 土台 ── */
.mp.bp{font-size:16px;--flow:var(--red);--flow-bg:var(--pink);--flow-line:var(--pink-line);--bp-top:112px}
.mp.bp .sec,.mp.bp .svc{scroll-margin-top:var(--bp-top)}   /* 上に固定されるメニュー（2 段）のぶん、見出しを下げて止める */
.mp .bp-nb{white-space:nowrap}                              /* 英数字だけの語（車種名や年式）は、途中で折り返さない */
.mp .sec-title,.mp .svc-name,.mp h3.item,.mp h3.bp-box,.mp .anchor-btn b,.mp .bp-facts dd,.mp .bp-step-head b,.mp .balloon.bp-gold p{word-break:auto-phrase;line-break:strict}
.mp a:focus-visible,.mp button:focus-visible,.mp summary:focus-visible{outline:3px solid #2f6fd0;outline-offset:2px;border-radius:6px}

/* サイトの土台は幅を 1000px に固定しているので、801〜1040px の画面でははみ出す。記事では、その幅のあいだだけ画面に合わせる。 */
@media(min-width:801px) and (max-width:1040px){
  header .inner,.contents .inner,#menubar,.pagetop{width:auto}
  .contents .inner,.pagetop{margin-left:16px;margin-right:16px}
}

/* ── パンくず ── */
.mp .bp-crumb ol{display:flex;flex-wrap:wrap;gap:2px 8px;margin:0;padding:0;list-style:none;font-size:.82rem;line-height:1.7;color:var(--muted)}
.mp .bp-crumb li + li::before{content:"›";margin-right:8px;color:#b9bdc8}
.mp .bp-crumb a{color:var(--red-dark);font-weight:700;text-decoration:none}
.mp .bp-crumb a:hover{text-decoration:underline}
.mp .bp-crumb + .hero{margin-top:12px}

/* ── 冒頭（車種ページの .hero の札に、書き出しと要点を足す） ── */
.mp .bp-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:32px;align-items:center}
.mp .bp-hero-grid .hero-photo{margin-top:0}
.mp .bp-lead{margin-top:16px}
.mp .bp-lead p{margin:0 0 .4em;padding:0}
.mp .bp-hero-cta{display:flex;flex-direction:column;align-items:stretch;gap:10px;max-width:330px;margin-top:20px}
.mp .bp-hero-cta .cta-btn{text-align:center}
.mp .bp-facts{display:grid;grid-template-columns:repeat(4,1fr);margin:26px 0 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fbfbfc}
.mp .bp-facts div{min-width:0;padding:14px 18px;border-left:1px solid var(--line)}
.mp .bp-facts div:first-child{border-left:0}
.mp .bp-facts dt{font-size:.72rem;font-weight:800;letter-spacing:.14em;color:var(--red)}
.mp .bp-facts dd{margin:.25em 0 0;font-size:1.04rem;font-weight:900;line-height:1.5}
.mp .bp-facts dd small{display:block;font-size:.8rem;font-weight:600;color:var(--muted)}

/* ── 文と札 ── */
.mp p.bp-lead-text{margin:16px 0 0;padding:0 4px}
.mp .bp-prose p{margin:0 0 .9em;padding:0;overflow-wrap:anywhere}
.mp .bp-prose p:last-child{margin-bottom:0}
.mp .bp-card{margin-top:18px;padding:22px 24px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);box-shadow:var(--shadow-sm)}
.mp .bp-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:center}
.mp .bp-split.bp-rev{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
/* 写真が無いときは、文を幅いっぱいに置く（半分だけ使って、横が空いて見えないようにする）。 */
.mp .bp-split:not(:has(.photo)){grid-template-columns:minmax(0,1fr)}
.mp .bp-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.mp .bp-block{margin-top:26px}
/* 赤い帯の札の中に、個別の手だてを 2 列で並べる（その他のチューニングポイント）。 */
.mp .bp-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 26px}
.mp .bp-point h3.bp-box{margin-bottom:10px;border-left:5px solid var(--red)}
.mp .bp-point .bp-prose p{font-size:.96rem}
/* 章の書き出しの札。文が短いので、最初の文を大きく見せ、残りの文と章の中身は、同じ箇条書きの形で添える。 */
.mp .bp-intro{display:grid;gap:16px;align-content:center;min-width:0}
.mp p.bp-lead-big{margin:0;padding:2px 0 2px 16px;border-left:5px solid var(--red);font-size:1.24rem;font-weight:800;line-height:1.75;word-break:auto-phrase;line-break:strict;overflow-wrap:anywhere}
.mp .bp-intro .consult-list{font-size:1rem}
.mp .bp-intro .consult-list li{font-weight:700}
.mp .bp-intro .consult-list + .consult-list{margin-top:-10px}
/* 章の中の札への道。 */
.mp .bp-jump a{color:var(--ink);text-decoration:none}
.mp .bp-jump a::after{content:"›";margin-left:8px;color:var(--red);font-weight:900}
.mp .bp-jump a:hover{color:var(--red-dark);text-decoration:underline}
.mp .bp-jump li.gold::before{background:var(--gold);opacity:.9}
.mp .bp-jump li.gold a::after{color:var(--gold)}
/* 記事の中の札では、文を札の題や小さな札と同じ位置から始める（サイトの段落の左右の余白を外す）。字は少し大きくする。 */
.mp.bp .consult-card p,.mp.bp .balloon p{padding:0;font-size:.96rem}
.mp.bp .consult-card .chip + p,.mp.bp .balloon .chip + p{margin-top:10px}
.mp.bp .consult-card .memo{margin-top:10px}
.mp .balloon.bp-gold{border-color:#e6d7b0;background:#faf6ec}
.mp .balloon.bp-gold p{font-weight:700}
/* 白い箱の小見出し（サイトの h3 の形）に、小さな札を並べる。 */
.mp h3.bp-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px;font-size:1rem;font-weight:800}
.mp .sec>h3.bp-box{margin-top:26px}
.mp .chip.gray{font-weight:800}

/* ── 写真 ── */
.mp .photo{margin:0;min-width:0}
.mp .photo a{display:block;border-radius:12px;overflow:hidden;background:#eef0f4;cursor:zoom-in}
.mp .photo img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transform:scale(var(--zoom,1));transition:transform .4s}
.mp .photo a:hover img{transform:scale(calc(var(--zoom,1)*1.02))}
.mp .photo figcaption{margin-top:8px;font-size:.8rem;line-height:1.6;color:var(--muted)}
.mp .bp-duo{display:grid;grid-template-columns:2.2fr 1fr;gap:12px;height:clamp(210px,34vw,380px);margin-top:18px}
.mp .bp-duo .photo,.mp .bp-duo .photo a{height:100%;min-height:0}
.mp .bp-duo .photo img{height:100%;aspect-ratio:auto}
/* チューニング内容の写真は、車種ページの冒頭と同じく、全体像をそのまま見せる（切り抜かない）。 */
.mp .bp-hero-img .photo a{border-radius:0;background:none}
.mp .bp-hero-img .photo img{max-height:none;aspect-ratio:3/2}
/* 縦長の写真は、縦長のまま見せる。横に並ぶ文の列を広くして、写真の列を細くする。 */
.mp .photo.bp-portrait img{aspect-ratio:4/5}
.mp .bp-split.bp-tall{grid-template-columns:minmax(0,1fr) minmax(0,.56fr)}

/* ── 依頼の方法（車種ページの .guide-card を、説明とボタンの入る縦の札にする） ── */
.mp .bp-method{flex-direction:column;align-items:stretch;gap:0;padding:18px}
.mp .bp-method:hover{border-color:var(--line);transform:none}
.mp .bp-method-top{display:flex;align-items:center;gap:14px}
.mp .bp-method .guide-ic{margin-top:0}
.mp .bp-method b{font-size:1.08rem}
.mp .bp-method p{flex:1;margin:12px 0 14px;padding:0;font-size:.92rem;color:var(--ink-soft)}
.mp .bp-go{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.mp .bp-guide{font-size:.82rem;font-weight:800;color:var(--ink-soft)}
.mp .cta-btn.bp-sm{padding:8px 20px;font-size:.86rem}
.mp .cta-btn.bp-blue{background:var(--blue);box-shadow:0 4px 14px -6px rgba(24,95,165,.5)}
.mp .cta-btn.bp-blue:hover{background:#1f70bf}
.mp .cta-btn.bp-orange{background:var(--orange);box-shadow:0 4px 14px -6px rgba(217,135,31,.5)}
.mp .cta-btn.bp-orange:hover{background:#e29630}
.mp .cta-btn.bp-red{background:var(--red);box-shadow:0 4px 14px -6px rgba(212,8,29,.5)}
.mp .cta-btn.bp-red:hover{background:#e21d31}

/* ── 開発前とチューニング後（車種ページの .consult の 2 枚の札） ── */
.mp .bp-cmps{display:grid;gap:26px;margin-top:20px}
.mp .bp-cmp h3.item{margin:0;font-size:1.02rem;font-weight:800}
.mp .bp-cmp .consult{margin-top:12px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}

/* ── 工程の流れ ──
   上の段に、番号・工程の名前・ひとことを並べて矢印でつなぐ。下の段に、その工程の写真を同じ幅で置く。 */
.mp .svc-head.gold + .svc-body{--flow:var(--gold);--flow-bg:#faf6ec;--flow-line:#e6d7b0}
.mp ol.bp-flow{counter-reset:bp-step;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:12px 40px;margin:18px 0 0;padding:0;list-style:none}
.mp .bp-step{counter-increment:bp-step;display:grid;grid-row:span 2;grid-template-rows:subgrid;gap:12px;min-width:0}
.mp .bp-step-head{position:relative;display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border:1px solid var(--flow-line);border-radius:10px;background:var(--flow-bg)}
.mp .bp-step-head .ix{flex:0 0 26px;display:flex;align-items:center;justify-content:center;height:26px;border-radius:7px;background:var(--flow);color:#fff;font-size:.78rem;font-weight:800;line-height:1}
.mp .bp-step-head .ix::before{content:counter(bp-step)}   /* 番号は文に入れず、表示だけで付ける */
.mp .bp-step-head>div{min-width:0;overflow-wrap:anywhere}
.mp .bp-step-head b{display:block;font-size:.98rem;font-weight:800;line-height:1.6}
.mp .bp-step-head div span{display:block;font-size:.84rem;line-height:1.65;color:var(--ink-soft)}
/* 工程と工程のあいだの矢印 */
.mp .bp-step + .bp-step .bp-step-head::before{content:"";position:absolute;left:-27px;top:50%;margin-top:-9px;border:solid transparent;border-width:9px 0 9px 13px;border-left-color:var(--flow)}
.mp .bp-step-photos{display:grid;grid-template-rows:minmax(0,1fr);gap:8px;min-height:0}
.mp .bp-step-photos.bp-two{grid-template-rows:auto auto}
/* 写真が 1 枚の工程は、2 枚の工程と同じ高さにそろえる。 */
.mp .bp-mixed .bp-step-photos:not(.bp-two) .photo{height:0;min-height:100%}
.mp .bp-mixed .bp-step-photos:not(.bp-two) .photo a,.mp .bp-mixed .bp-step-photos:not(.bp-two) .photo img{height:100%}
.mp .bp-mixed .bp-step-photos:not(.bp-two) .photo img{aspect-ratio:auto}
.mp .bp-flow-sm{gap:10px 34px}
.mp .bp-flow-sm .bp-step{gap:10px}
.mp .bp-flow-sm .bp-step-head{padding:8px 12px}
.mp .bp-flow-sm .bp-step-head b{font-size:.88rem}
.mp .bp-flow-sm .bp-step + .bp-step .bp-step-head::before{left:-24px}
.mp .bp-block>.bp-flow + .bp-prose{margin-top:16px}

/* ── チューニング内容（車種ページの施工項目の行に、詳細説明の欄を足す） ── */
.mp .bp-items>li + li{border-top:1px solid #f0ecd6}
.mp .bp-items .item-row{border-bottom:0}
.mp .bp-items .item-row.bp-static{cursor:default}
.mp .bp-items .item-row.bp-static:hover{background:#fffdf3}
/* 詳細説明の欄。内容（変更点）は札にして、一目で分かるようにする。「変更無し」は灰色の札。 */
.mp .bp-detail{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;align-items:start;padding:12px 18px 14px 56px;border-top:1px dashed #f0ecd6;background:#fff}
.mp .bp-detail-label{margin-top:3px;padding:1px 9px;border:1px solid var(--pink-line);border-radius:6px;background:var(--pink);color:var(--red-dark);font-size:.7rem;font-weight:800;letter-spacing:.08em;line-height:1.7;white-space:nowrap}
.mp .bp-detail dl{display:grid;gap:7px;margin:0}
.mp .bp-row{display:grid;grid-template-columns:minmax(0,12.5em) minmax(0,1fr);gap:4px 14px;align-items:start;font-size:.92rem;line-height:1.7}
.mp .bp-row dt{padding-top:2px;font-weight:800;color:var(--ink-soft)}
.mp .bp-row dd{display:grid;gap:5px;justify-items:start}
.mp .bp-row dd>span{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.mp .bp-row.bp-plain{grid-template-columns:minmax(0,1fr)}
.mp .bp-sub{font-size:.86rem;font-weight:700;color:var(--ink-soft)}
.mp .bp-tag{display:inline-block;padding:2px 11px;border:1px solid var(--pink-line);border-radius:6px;background:var(--pink);color:var(--red-dark);font-size:.86rem;font-weight:800;line-height:1.7}
.mp .bp-tag.bp-none{border-color:#d9dce3;background:#f1f2f5;color:#737a88;font-weight:700}
/* 説明の窓（車種ページの #mp-ov と同じ部品）。記事の側では、土台の見出しの決まりが届く所だけ直す。 */
#mp-ov .modal-head h2{clear:none;margin:0;padding:0;background:none;box-shadow:none;color:#fff;line-height:1.5}
#mp-ov .modal-body{line-height:1.85}
.mp.bp .svc-total + .balloon{margin-top:16px}

/* ── グラフの枠（公開中の記事の図の枠を、そのまま入れる） ── */
.mp .chart-block{margin:16px 0 0;min-width:0}
.mp .chart-block,.mp .mi{line-height:1.85}
.mp .chart-block>h3{clear:none;margin:0 0 .6em;padding:0;border:0;background:none;box-shadow:none;font-size:.95rem;font-weight:800;line-height:1.5;color:var(--ink-soft)}
/* 図の横の説明と操作の手引きは載せない（代表の指示 2026-12-01）。図は、札の幅いっぱいに置く。 */
.mp .plotrow{display:grid;grid-template-columns:minmax(0,1fr)}
.mp .plotrow>div,.mp .live{min-width:0}
/* グラフの部品が出す操作の手引き（.mc-hint）も出さない。部品には手を入れず、記事の側で消す（blog.js でも要素を外す）。 */
.mp .live .mc-hint{display:none}
.mp p.bp-fullchart{margin:8px 0 0;padding:0;text-align:right;font-size:.8rem}
.mp p.bp-fullchart a{color:var(--muted)}
.mp .live .mc-root{margin:0;max-width:100%}
/* グラフの部品には、これまでの記事と同じ文字の条件を渡す（書体・大きさ・行の高さ・色）。グラフの見た目を変えないため。 */
.mp .chart-block .live,.mp .chart-block .still{font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic","Noto Sans JP",Meiryo,system-ui,sans-serif;font-size:16px;font-weight:400;line-height:1.95;letter-spacing:normal;color:#e9eff3;word-break:normal;line-break:auto}
/* サイトの土台の決まり（段落の余白・小見出しの白い箱・画像の縦位置）が、グラフと図のコメントの中に届かないようにする。 */
.mp .live p,.mp .mi p{padding:0}
.mp .live h3{clear:none;background:none;box-shadow:none}
.mp .chart-block img{vertical-align:baseline}
.mp .still{margin:0}
.mp .still img{display:block;width:100%}
.mp .live{display:none}
.mp .mounted .live{display:block}
.mp .mounted .still{display:none}
/* 図のコメント */
.mp .mi{margin:14px 0 0;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:#fbfbfc;--mi-red:var(--red);--mi-soft:var(--muted)}
.mp .mi-summary{font-size:.94rem}
.mp .mi + .bp-prose{margin-top:14px}

/* ── SUGAMEC・さいごに・署名 ── */
.mp .bp-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 14px;margin-top:18px}
.mp p.bp-thanks{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--line);font-size:.92rem;color:var(--ink-soft)}
.mp .bp-cta{margin-top:16px}
.mp .bp-sig{margin-top:46px;padding:20px 24px;border:1px solid var(--line);border-radius:var(--r);background:#fff;box-shadow:var(--shadow-sm);font-size:.88rem;line-height:1.8;color:var(--ink-soft)}
.mp .bp-sig b{font-size:1.05rem;font-weight:900;color:var(--ink)}
.mp .bp-sig address{margin-top:4px;font-style:normal;white-space:pre-line}

/* ── 編集メモ（下書きのあいだだけ。公開するときは残さない） ── */
.memo{margin:14px 0 0;padding:12px 16px;border:1.5px dashed #c99a3a;border-radius:12px;background:#fff8e6;color:#5b4310;font-size:.86rem;line-height:1.8}
.memo b{display:block;font-size:.72rem;letter-spacing:.1em;color:#96690c}
/* 所見の入力待ちの印（【所見】）。公開を止める【確認】と見分けられるよう、色を変える。 */
.memo[data-note]{border-color:#9aa5b8;background:#f3f6fb;color:#3a4055}
.memo[data-note] b{color:#51607a}
.hide-memo .memo{display:none}
.memo-toggle{position:fixed;left:14px;bottom:16px;z-index:890;padding:.5em 1em;border:1.5px dashed #c99a3a;border-radius:999px;background:#fff8e6;color:#5b4310;font:700 .78rem/1.4 "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic Medium",sans-serif;cursor:pointer}

/* ── 写真を大きく見る ── */
.bp-lightbox{max-width:min(96vw,1500px);max-height:94vh;padding:0;border:0;background:transparent}
.bp-lightbox::backdrop{background:rgba(20,24,40,.82)}
.bp-lightbox img{display:block;max-width:96vw;max-height:88vh;border-radius:10px}
.bp-lightbox p{margin:.6em 0 0;padding:0;color:#e6e9ee;font-size:.85rem;text-align:center}
.bp-lightbox button{position:fixed;top:14px;right:16px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;font-size:1.3rem;cursor:pointer}

/* ── 画面の幅ごとの調整 ── */
@media(max-width:860px){
  /* 狭い画面では、車種ページと同じく、題のすぐ下に写真を置く。 */
  .mp .bp-hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .mp .bp-hero-text{display:contents}
  .mp .bp-hero-grid .hero-eyebrow{order:1;align-self:flex-start}
  .mp .bp-hero-grid h1{order:2}
  .mp .bp-hero-grid .hero-photo{order:3;margin-top:16px}
  .mp .bp-lead{order:4}
  .mp .bp-hero-cta{order:5}
  .mp .bp-facts{grid-template-columns:repeat(2,1fr)}
  .mp .bp-facts div:nth-child(odd){border-left:0}
  .mp .bp-facts div:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:800px){
  .mp.bp{--bp-top:164px}   /* この幅では、サイトのメニューが 3 段になる */
}
@media(max-width:800px) and (orientation:landscape){
  .mp.bp{--bp-top:12px}    /* 横向きでは、メニューは固定されない */
}
@media(max-width:760px){
  .mp .chart-block .live,.mp .chart-block .still{font-size:15.5px}
  .mp .bp-split,.mp .bp-split.bp-rev,.mp .bp-split.bp-tall,.mp .bp-grid2,.mp .bp-points{grid-template-columns:minmax(0,1fr)}
  .mp .bp-split .photo{order:-1}
  .mp .photo.bp-portrait img{aspect-ratio:1/1}   /* 縦長の写真は、狭い画面では正方形に切って高さを抑える */
  .mp .bp-cmp .consult{grid-template-columns:minmax(0,1fr)}
  /* 工程は縦に並べる。矢印は下向きにして、工程と工程のあいだに置く。 */
  .mp ol.bp-flow{grid-auto-flow:row;grid-template-rows:none;grid-auto-columns:auto;gap:34px 0}
  .mp .bp-step{grid-row:auto;grid-template-rows:auto auto;gap:10px}
  .mp .bp-step + .bp-step .bp-step-head::before{left:50%;top:-25px;margin:0 0 0 -9px;border-width:13px 9px 0 9px;border-color:transparent;border-top-color:var(--flow)}
  .mp .bp-step-photos.bp-two{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr))}
  .mp .bp-mixed .bp-step-photos:not(.bp-two) .photo{height:auto;min-height:0}
  .mp .bp-mixed .bp-step-photos:not(.bp-two) .photo img{aspect-ratio:3/2}
  /* 写真が 1 枚ずつの短い流れは、写真を左、名前を右に置いて、高さを抑える。 */
  .mp ol.bp-flow.bp-flow-sm{gap:26px 0}
  .mp .bp-flow-sm .bp-step{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);grid-template-rows:auto;align-items:center;gap:12px}
  .mp .bp-flow-sm .bp-step-photos{order:-1}
  .mp .bp-flow-sm .bp-step-head{position:static;padding:0;border:0;background:none}
  .mp .bp-flow-sm .bp-step{position:relative}
  .mp .bp-flow-sm .bp-step + .bp-step .bp-step-head::before{left:22%;top:-20px}
}
/* 車種ページのスマートフォン向けの詰め方に合わせる。 */
@media(max-width:600px){
  .mp.bp{font-size:15.5px}
  .mp .bp-card{padding:16px}
  .mp p.bp-lead-big{padding-left:12px;border-left-width:4px;font-size:1.1rem}
  .mp .bp-intro{gap:12px}
  .mp .chart-block,.mp .mi{line-height:1.75}
  .mp .bp-hero-cta{max-width:none}
  .mp .cta-btn.bp-sm{display:inline-block;padding:8px 18px}
  .mp .bp-method{padding:14px}
  .mp .bp-detail{grid-template-columns:minmax(0,1fr);padding:10px 12px 12px 47px}
  .mp .bp-detail-label{justify-self:start}
  .mp .bp-row{grid-template-columns:minmax(0,1fr);gap:3px 0}
  .mp .bp-row dt{font-size:.84rem}
  .mp .bp-tag{font-size:.82rem}
  .mp .bp-sig{margin-top:30px;padding:16px}
  .mp .bp-facts div{padding:12px 14px}
}
@media(max-width:480px){
  .mp.bp{--bp-top:12px}    /* この幅では、サイトのメニューはボタンの中にしまわれる */
}
@media(max-width:360px){
  /* とても狭い画面では、ロゴを少し小さくして、メニューのボタンと重ならないようにする。 */
  #logo img{width:210px;margin-top:21px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mp .photo img{transition:none}}
@media print{
  #menu-box,#menubar-s,#menubar_hdr,.mp-quicknav,.memo-toggle,.pagetop,.bp-lightbox,.mp .bp-hero-cta{display:none!important}
  body{background:#fff}
  .mp .hero,.mp .bp-card,.mp .svc,.mp .consult-card,.mp .guide-card{box-shadow:none}
  .mp .chart-block .live,.mp .chart-block .op{display:none!important}
  .mp .chart-block .still{display:block!important}
  .mp .photo,.mp .bp-card,.mp .svc,.mp .consult-card,.mp .guide-card,.mp .bp-step{break-inside:avoid}
  .mp .photo img{max-height:70mm;object-fit:contain}
}
