@charset "UTF-8";
/* ==========================================================================
   メディサポ 新TOP（社内確認用）専用スタイル
   --------------------------------------------------------------------------
   対象  : template-medisapo-top-review.php のみ
   スコープ: すべてのセレクタを body.medisapo-top-review 配下へ限定している。
            他ページ（現行TOP／下層ページ）へ影響するグローバル指定は0件。
   方針  : v13（メディサポTOP_PC_v13_調整中.dc.html）のピクセル設計を保つため、
            配色・タイポ・余白などの装飾はテンプレート側のインラインstyleを維持し、
            本ファイルは「レイアウトの器」「レビュー表示」「レスポンシブ」だけを持つ。
            インラインstyleは要素外へ漏れないため、スコープは二重に担保される。
   2026-10-09 ヘッダー統一：旧 .mtr-header（独自デザイン、T01、丸ロゴ＋固有ナビ＋専用CTA）を
   廃止し、template-parts/site-header.php（全ページ共通部品）へ統一した。本ファイルの
   .mtr-header／.mtr-nav 関連ルール（旧ヘッダーのモバイル折返し・非表示指定）は不要になった
   ため削除済み。共通ヘッダーは .mtr-page の外（box-sizing:border-box の全称リセット対象外）
   に置いているため、本ファイルのスコープ（.medisapo-top-review 配下）からは独立している。
   詳細：15_ヘッダー訪問診療リンク追加_20261009（続編セッション）参照。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 土台とリセット（親テーマLightning／ブロックプラグインの既定値の打ち消し）
   -------------------------------------------------------------------------- */
.medisapo-top-review{ margin:0; padding:0; background:#FFFFFF; }

.medisapo-top-review .mtr-page,
.medisapo-top-review .mtr-page *,
.medisapo-top-review .mtr-page *::before,
.medisapo-top-review .mtr-page *::after{ box-sizing:border-box; }

.medisapo-top-review .mtr-page{
  width:100%;
  background:#FFFFFF;
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  color:#2B2620;
  -webkit-font-smoothing:antialiased;
  text-align:left;
}

.medisapo-top-review .mtr-page h1,
.medisapo-top-review .mtr-page h2,
.medisapo-top-review .mtr-page h3,
.medisapo-top-review .mtr-page p,
.medisapo-top-review .mtr-page ul,
.medisapo-top-review .mtr-page li,
.medisapo-top-review .mtr-page figure{
  margin:0; padding:0; border:0; background:none; text-align:inherit;
}
/* Lightning系テーマが見出しへ付ける装飾（下線・疑似要素）を無効化 */
.medisapo-top-review .mtr-page h1::before,
.medisapo-top-review .mtr-page h1::after,
.medisapo-top-review .mtr-page h2::before,
.medisapo-top-review .mtr-page h2::after,
.medisapo-top-review .mtr-page h3::before,
.medisapo-top-review .mtr-page h3::after{ content:none; display:none; }

.medisapo-top-review .mtr-page a{ color:#2B2620; text-decoration:none; }
.medisapo-top-review .mtr-page a:hover{ color:#C86F14; }
.medisapo-top-review .mtr-page a:focus-visible{ outline:2px solid #C86F14; outline-offset:2px; }
.medisapo-top-review .mtr-page svg{ display:block; }
.medisapo-top-review .mtr-page section{ margin:0; padding:0; }

/* --------------------------------------------------------------------------
   2. レイアウトの器（レスポンシブで組み替える箇所だけをクラス化）
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-inner{ width:1120px; margin:0 auto; }

.medisapo-top-review .mtr-grid2{ display:grid; grid-template-columns:repeat(2,550px); gap:20px; }
.medisapo-top-review .mtr-grid3{ display:grid; grid-template-columns:repeat(3,355px); gap:28px; }
.medisapo-top-review .mtr-grid4{ display:grid; grid-template-columns:repeat(4,265px); gap:20px; }
/* 3等分（幅を固定しない版）。T06のチップ列のようにインラインstyleで列指定したくない箇所で使う */
.medisapo-top-review .mtr-grid3-fluid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.medisapo-top-review .mtr-row2{ display:flex; gap:20px; }
.medisapo-top-review .mtr-row3{ display:flex; gap:28px; }
.medisapo-top-review .mtr-col550{ width:550px; }
.medisapo-top-review .mtr-col355{ width:355px; }

.medisapo-top-review .mtr-flow{ position:relative; display:flex; }
.medisapo-top-review .mtr-faq-wrap{ width:880px; }
.medisapo-top-review .mtr-footer-cols{ display:flex; }

/* 装飾専用（内容を持たない）。SPでは非表示にして横あふれを断つ */
.medisapo-top-review .mtr-deco{ pointer-events:none; }
/* 図解ブロック（絶対配置のSVG＋ラベルを含む）。SPでは非表示 */
.medisapo-top-review .mtr-illust{ position:relative; }

/* --------------------------------------------------------------------------
   2-B. T02 FV（TOP-078：現行公開TOPのFVをそのまま採用）
   --------------------------------------------------------------------------
   出典：現行 lightning-child/assets/css/frontpage.css の `body.frontpage .hero*` 一式。
        値（幅・高さ・余白・文字サイズ・配色・背景画像）は一切変更せず、
        セレクタのスコープだけ .medisapo-top-review .mtr-page 配下へ移し替えている。
        `--main-orange:#f8a538` / `--white:#ffffff` / `--text-dark:#333333` は実値で展開。
   画像：現行TOPと同じ assets/images/frontpage/ を参照（本CSSは assets/css/ にあるため相対パスは同一）。
        現行TOPのファイルは1件も変更していない。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-page .mtr-hero{
  position:relative;
  width:100%;
  aspect-ratio:16 / 9;
  min-height:600px;
  /* プレビュー専用: hero-bg.jpg（本番TOPと共有、無変更）を複製し、左バッジの「5万件」のみ
     「10万件」へ画像編集した版。月桂冠・リボン・右バッジ・本番TOPには一切手を加えていない。
     WebPはPNGと同一内容の軽量版（image-set未対応ブラウザはPNGへフォールバック）。 */
  background-image:url('../images/top-review/hero-bg-100k.png');
  background-image:image-set(
    url('../images/top-review/hero-bg-100k.webp') type('image/webp') 1x,
    url('../images/top-review/hero-bg-100k.png') type('image/png') 1x
  );
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  padding-top:70px;
  font-family:"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN","Yu Gothic","游ゴシック",YuGothic,"游ゴシック体","Meiryo","メイリオ",sans-serif;
  color:#333333;
  line-height:1.6;
}
.medisapo-top-review .mtr-page .mtr-hero img{ max-width:100%; height:auto; vertical-align:bottom; }
.medisapo-top-review .mtr-page .mtr-hero-inner{ width:100%; padding:0 5%; }
.medisapo-top-review .mtr-page .mtr-hero-content{ padding:3vw 4vw; }
.medisapo-top-review .mtr-page .mtr-hero-catch{
  display:inline-block;
  border:2px solid #333333;
  border-radius:max(6px,0.5vw);
  padding:max(8px,0.8vw) max(15px,1.5vw);
  margin-bottom:max(15px,1.5vw);
}
.medisapo-top-review .mtr-page .mtr-hero-catch p{
  margin:0;
  font-size:max(14px,1.2vw);
  font-weight:bold;
  color:#333333;
  line-height:1.6;
}
.medisapo-top-review .mtr-page .mtr-hero-title{
  margin:0 0 max(8px,0.8vw);
  font-size:max(28px,2.8vw) !important;
  font-weight:bold;
  color:#333333;
  line-height:1.6;
  letter-spacing:normal;
}
.medisapo-top-review .mtr-page .mtr-hero-logo{ margin-bottom:max(20px,2vw); }
.medisapo-top-review .mtr-page .mtr-hero-logo img{ height:max(70px,8vw); width:auto; }
.medisapo-top-review .mtr-page .mtr-hero-points{ margin-bottom:max(20px,2vw); }
.medisapo-top-review .mtr-page .mtr-hero-points img{ width:max(250px,25vw); height:auto; }
.medisapo-top-review .mtr-page a.mtr-hero-btn{
  display:inline-block;
  background-color:#f8a538;
  color:#ffffff;
  font-size:max(16px,1.4vw);
  font-weight:bold;
  padding:max(15px,1.5vw) max(50px,5.5vw);
  border-radius:max(6px,0.5vw);
  transition:opacity 0.3s ease;
}
.medisapo-top-review .mtr-page a.mtr-hero-btn:hover{ opacity:0.8; color:#ffffff; }

/* 現行TOPと同じ768pxブレークポイント（frontpage.css の該当指定をそのまま移植） */
@media screen and (max-width:768px){
  .medisapo-top-review .mtr-page .mtr-hero{
    background-image:url('../images/frontpage/hero-bg-sp.jpg');
    aspect-ratio:auto;
    min-height:600px;
  }
  .medisapo-top-review .mtr-page .mtr-hero-catch{ border-color:#f8a538; }
  .medisapo-top-review .mtr-page .mtr-hero-catch p{ color:#f8a538; }
  .medisapo-top-review .mtr-page .mtr-hero-title{
    text-shadow:0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7), 0 0 30px rgba(255,255,255,0.5);
  }
  .medisapo-top-review .mtr-page .mtr-hero-content{ max-width:100%; }
}

/* --------------------------------------------------------------------------
   2-B. ヒーロー右側の実績バッジ（累計レセプト点検件数10万件突破／レセプト査定率0.2%）
        背景写真 hero-bg.jpg（本番TOPと共有、無変更）に写っていた旧バッジと同じ位置へ、
        透過PNG2点を絶対配置で重ねる。.mtr-hero は上の規則で position:relative 済み。

        注意：.mtr-hero は aspect-ratio:16/9 だが min-height:600px があるため、
        幅 約1067px未満（= 600÷9×16）では高さが600pxに固定され、背景写真
        （1920x1080・background-size:cover）が左右トリミングされるズームが発生する。
        単純な%配置だとこの帯（768〜1067px）で新バッジが旧バッジの実際の表示位置から
        ズレ、旧バッジの縁がはみ出して見えていた（修正前の不具合）。
        下の width/left は、1067px以上（トリミング無し＝%がそのまま使える）と
        768〜1067px（トリミング有り＝画像スケールが0.5556固定・中央寄せで欠ける）の
        両ケースを 1本の式で常に正しい値になるよう算出し、min()/max() で自動選択している
        （境界の1067px付近で両ケースの値が一致するよう逆算した定数）。
        2回目の修正時点の実測（左895-1240／右1335-1680）は、グリッド付き拡大画像で
        再実測したところ、特に左バッジの右端の葉先が実際はx≈1290まで伸びており
        約50px過小だったと判明した（ギャップ部分に旧バッジの葉がはみ出す再発の原因）。
        以下は再実測した正しい範囲（中心基準・一辺340pxの正方形、画像と同じ1:1比率）：
        左バッジ中心(1125,885)→x[955,1295] ／ 右バッジ中心(1505,885)→x[1335,1675] ／
        共通 y[715,1055]。左右の隙間は1295→1335の約40px（1920px幅時）で、
        旧バッジ同士の間隔とほぼ一致し重ならない。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-page .mtr-hero-badge{
  position:absolute;
  top:66.2%;
  width:max(17.71vw, 188.9px);
  z-index:2;
  pointer-events:none;
}
.medisapo-top-review .mtr-page .mtr-hero-badge img{ display:block; width:100%; height:auto; }
.medisapo-top-review .mtr-page .mtr-hero-badge--count{ left:min(49.74vw, calc(50vw - 2.73px)); }
.medisapo-top-review .mtr-page .mtr-hero-badge--rate{ left:max(69.53vw, calc(50vw + 208.4px)); }

@media screen and (max-width:768px){
  /* hero-bg-sp.jpg には元々バッジが写っていないため、SPでは重ねて表示しない（旧仕様どおり）。 */
  .medisapo-top-review .mtr-page .mtr-hero-badge{ display:none; }
}

/* --------------------------------------------------------------------------
   2-B-2. スマホ専用 実績バッジ（.mtr-hero-medal-sp、TOP-固定ページ側の .hero-medal-sp を移植）
   --------------------------------------------------------------------------
   正式TOP front-page.php / frontpage.css の .hero-medal-sp と同じ位置・サイズ・余白・
   表示順序（ヒーロー直後、768px以下のみ表示、白背景、padding:20px 16px、画像は
   width:100%・max-width:420px・height:auto）。画像のみプレビュー専用に差し替え。
   PCでは常に非表示（旧PCバッジ要素とは独立、復活させていない）。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-page .mtr-hero-medal-sp{
  display:none;
}

@media screen and (max-width:768px){
  .medisapo-top-review .mtr-page .mtr-hero-medal-sp{
    display:block;
    background-color:#FFFFFF;
    text-align:center;
    padding:20px 16px;
  }
  .medisapo-top-review .mtr-page .mtr-hero-medal-sp img{
    width:100%;
    max-width:420px;
    height:auto;
    vertical-align:bottom;
  }
}

/* --------------------------------------------------------------------------
   2-C. T03 上部2カードのイラスト（TOP-079）
   --------------------------------------------------------------------------
   透過PNG（1254×1254の正方形）をアイコンイラストとして中央に置く。
   引き伸ばさず縦横比を維持し、カードの白／ベージュ背景と枠線・角丸はそのまま活かす。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-page .mtr-t03-figure{
  height:186px;
  margin-top:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.medisapo-top-review .mtr-page .mtr-t03-figure img{
  width:186px;
  height:186px;
  max-width:100%;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}
/* 左の絵柄は横長（実描画比 0.756 × 0.435）で上下の透過余白が広く、
   右（0.715 × 0.581）と同じ枠だと小さく見える。枠の高さは変えずに画像だけ
   一段大きくして、実際に描かれている部分の見た目の大きさを揃える。
   210px時の実描画は 159×91px、右186px時は 133×108px で釣り合う。 */
.medisapo-top-review .mtr-page .mtr-t03-figure--wide img{ width:210px; height:210px; }

@media screen and (max-width:599px){
  .medisapo-top-review .mtr-page .mtr-t03-figure{ height:150px; }
  .medisapo-top-review .mtr-page .mtr-t03-figure img{ width:150px; height:150px; }
  .medisapo-top-review .mtr-page .mtr-t03-figure--wide img{ width:170px; height:170px; }
}

/* --------------------------------------------------------------------------
   2-D. T04 お悩み → 解決（TOP-080）
   --------------------------------------------------------------------------
   情報設計は現行公開TOPの2段構成（こんなお悩みありませんか？ / メディサポでお悩み解決します!!）。
   見た目だけリニューアル案のトーンに合わせている。
   v13の「課題→解決を1カードにまとめた3カード構成」は廃止したため、
   ここでは前半・後半それぞれを独立した3列グリッドとして組む。
   幅は固定せず minmax(0,1fr) にして、後半の枠（内側にpaddingがある）でも横あふれを出さない。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-t04-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; align-items:stretch; }
.medisapo-top-review .mtr-t04-card{ min-width:0; }

@media screen and (max-width:900px){
  /* 後半の枠は左右paddingを詰める（PCの48pxはSPで内容幅を圧迫するため） */
  .medisapo-top-review .mtr-t04-solve{ padding:36px 20px 38px !important; border-radius:16px !important; }
  .medisapo-top-review .mtr-t04-grid{ gap:20px; }
}

/* --------------------------------------------------------------------------
   2-F. T04B 特徴セクション（TOP-084：現行公開TOPの `section.features` を正本に移植）
   --------------------------------------------------------------------------
   出典：現行 lightning-child/assets/css/frontpage.css の
        `body.frontpage .features* / .feature-*` と `.section-inner` 一式。
        コンテンツ幅・写真比率・余白・文字サイズ・行間・配色は値を変えずに
        セレクタのスコープだけ .medisapo-top-review .mtr-page 配下へ移し替えている。
        変数は実値で展開（--main-orange:#f8a538 / --yellow:#ffe100 / --white:#ffffff / --text-dark:#333333）。
   画像：現行TOPと同じ assets/images/frontpage/ を参照（現行TOPのファイルは無変更）。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-page .mtr-f-section{
  background-color:#ffffff;
  font-family:"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN","Yu Gothic","游ゴシック",YuGothic,"游ゴシック体","Meiryo","メイリオ",sans-serif;
  color:#333333;
  line-height:1.6;
}
.medisapo-top-review .mtr-page .mtr-f-inner{ max-width:1200px; margin:0 auto; padding:80px 20px; }
.medisapo-top-review .mtr-page .mtr-f-section img{ max-width:100%; height:auto; vertical-align:bottom; }

.medisapo-top-review .mtr-page .mtr-f-title{
  font-size:32px !important;
  font-weight:bold;
  text-align:center;
  margin-bottom:20px;
  position:relative;
  display:inline-block;
  left:50%;
  transform:translateX(-50%);
  letter-spacing:normal;
  /* F-02：≤599 の土台リセット `.mtr-page h2{line-height:1.4 !important}`（詳細度0,2,1）に負け、
     本番35.2pxに対し30.8pxになっていた。こちらは0,3,0なので !important 同士でこちらが勝つ。
     土台の h2 リセット自体は変更しない（他セクションの見出しを動かさないため）。 */
  line-height:1.6 !important;
}
/* 見出し下の黄色い破線。土台のリセットで content:none にしているため明示的に戻す */
.medisapo-top-review .mtr-page .mtr-f-title::after{
  content:'' !important;
  display:block !important;
  position:absolute;
  bottom:0;
  left:-20px;
  right:-20px;
  height:3px !important;
  width:auto !important;
  background-image:repeating-linear-gradient(to right,#ffe100,#ffe100 10px,transparent 10px,transparent 15px) !important;
  background-color:transparent !important;
  border:none !important;
}
.medisapo-top-review .mtr-page .mtr-f-number{ font-size:48px; font-weight:bold; color:#f8a538; margin:0 5px; }

.medisapo-top-review .mtr-page .mtr-f-list{ display:flex; flex-direction:column; gap:40px; margin-top:50px; }
.medisapo-top-review .mtr-page .mtr-f-item{ display:flex; align-items:center; gap:50px; }
.medisapo-top-review .mtr-page .mtr-f-item-reverse{ flex-direction:row-reverse; }
.medisapo-top-review .mtr-page .mtr-f-image{ flex:0 0 50%; }
.medisapo-top-review .mtr-page .mtr-f-image img{ width:100%; height:auto; }
.medisapo-top-review .mtr-page .mtr-f-content{ flex:1; }
/* 直前の  に負けないよう img まで含めて指定する（現行の40pxに合わせる） */
.medisapo-top-review .mtr-page .mtr-f-section img.mtr-f-point{ height:40px; width:auto; margin-bottom:10px; }
/* F-02（h3側）：≤599 の `.mtr-page h3{line-height:1.5 !important}`（0,2,1）に負けて
   本番32pxに対し30pxになっていた。0,3,0 のこちらを !important にして本番と同じ1.6に戻す。 */
.medisapo-top-review .mtr-page .mtr-f-title3{ font-size:24px !important; font-weight:bold; margin-bottom:15px; line-height:1.6 !important; }
.medisapo-top-review .mtr-page .mtr-f-text{ font-size:16px; line-height:1.8; }

/* 特徴04の画像エリア（TOP-085）。中身は写真ではなく点検結果シート画像。
   01〜03の写真と同じ3:2の枠に収め、`object-fit:contain` で縦横比を維持する（引き伸ばさない）。
   枠のサイズ・位置は写真と同じなので、4つ目だけ別UIにはならない。 */
.medisapo-top-review .mtr-page .mtr-f-sheet-btn{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  width:100%; padding:28px 24px 22px;
  border:1px solid #E3D6BB; border-radius:4px;
  background:linear-gradient(155deg,#FDFAEC 0%,#F6EBD9 100%);
  cursor:zoom-in; -webkit-appearance:none; appearance:none; text-align:center;
}
.medisapo-top-review .mtr-page .mtr-f-sheet-btn img{
  width:100%; height:auto; max-height:100%; object-fit:contain;
  border:1px solid #E8D9BE; border-radius:6px; background:#FFFFFF;
  box-shadow:0 6px 18px rgba(120,95,55,.10);
}
/* 2026-10-10：点検結果シートの見出しを、画像下の注記からボタン上の独立した見出しへ移動（T04B特徴03限定）。 */
.medisapo-top-review .mtr-page .mtr-f-sheet-heading{
  margin:4px 0 10px; font-size:14px; font-weight:700; line-height:1.6; color:#3A3128;
  word-break:keep-all; overflow-wrap:anywhere;
}
.medisapo-top-review .mtr-page .mtr-f-stats{
  margin-top:16px; display:flex; flex-direction:column; gap:8px;
  font-size:16px; font-weight:bold; line-height:1.8;
}

/* 現行TOPと同じ768pxブレークポイント（frontpage.css の該当指定をそのまま移植） */
@media screen and (max-width:768px){
  /* F-01：本番 `body.frontpage .section-inner{padding:50px 15px}`（frontpage.css L1474）の
     ≤768 上書きが未移植で、80px 20px のままだった。左右差により内容カラムが本番より10px狭かった。 */
  .medisapo-top-review .mtr-page .mtr-f-inner{ padding:50px 15px; }
  .medisapo-top-review .mtr-page .mtr-f-title{ font-size:22px !important; }
  .medisapo-top-review .mtr-page .mtr-f-number{ font-size:36px; }
  .medisapo-top-review .mtr-page .mtr-f-item,
  .medisapo-top-review .mtr-page .mtr-f-item-reverse{ flex-direction:column; gap:30px; }
  /* F-03：本番は `.feature-image{flex:0 0 auto}` だけで、写真の原寸600pxが上限になる（768pxで600px）。
     preview は `width:100%` を足していたため728pxまで広がっていた。
     ただし特徴04の枠の中身は写真ではなくボタン（`.mtr-f-sheet-btn{width:100%}`）なので、
     `width` を単純に外すと shrink-to-fit で潰れる。`width:100%` は残し、`max-width` を
     写真の原寸600pxで止めることで、01〜03は本番と同値・04は枠を保つ形にそろえる。 */
  .medisapo-top-review .mtr-page .mtr-f-image{ flex:0 0 auto; width:100%; max-width:600px; }
  .medisapo-top-review .mtr-page .mtr-f-title3{ font-size:20px !important; }
  .medisapo-top-review .mtr-page .mtr-f-sheet-btn{ padding:18px 14px 16px; }
}

/* --------------------------------------------------------------------------
   2-E. T04B 点検結果シートのサンプルと拡大モーダル（TOP-083／TOP-029）
   --------------------------------------------------------------------------
   素材は営業配布資料の匿名化済みサンプル（原寸2038×166）。
   ページ内では横幅いっぱいに収め、細部はクリック拡大で読ませる。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-sheet-btn{
  display:block; width:100%; padding:0; border:1px solid #E8D9BE; border-radius:12px;
  background:#FFFFFF; overflow:hidden; cursor:zoom-in; -webkit-appearance:none; appearance:none;
}
.medisapo-top-review .mtr-sheet-btn img{ display:block; width:100%; height:auto; }
.medisapo-top-review .mtr-sheet-cap{
  margin:10px 0 0; font:400 12.5px/1.7 'Noto Sans JP',sans-serif; color:#8C8378;
}

.medisapo-top-review .mtr-modal{ position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; }
/* display:flex はUA既定の [hidden]{display:none} より強いので、閉じた状態を明示する */
.medisapo-top-review .mtr-modal[hidden]{ display:none; }
.medisapo-top-review .mtr-modal-bg{ position:absolute; inset:0; background:rgba(43,38,32,.72); }
.medisapo-top-review .mtr-modal-box{
  position:relative; max-width:95vw; max-height:90vh; padding:14px;
  border-radius:12px; background:#FFFFFF; box-shadow:0 20px 60px rgba(0,0,0,.35);
  overflow:auto;
}
/* 原寸2038×166の横長画像。枠に収めると66%前後まで縮んで細部が読めないため、
   モーダル内は等倍で置き、枠側を横スクロールさせる（縦横比はそのまま） */
.medisapo-top-review .mtr-modal-box img{
  display:block; width:2038px; max-width:none; height:auto; object-fit:contain;
}
/* F-04：シート用モーダル `#mtr-sheet-modal` は `section#t04b`（＝`.mtr-f-section`）の内側にあるため、
   すぐ上の指定（詳細度0,2,1）が `.mtr-f-section img{max-width:100%}`（0,3,1）に負け、
   等倍2038pxのはずが1340px＝65.75%に縮み、枠の横スクロールも発生していなかった
   （画面のヒント文「横にスクロールすると全体をご覧いただけます」と実態が食い違う状態）。
   ここで 0,4,1 にして当初設計（等倍＋枠側の横スクロール）へ戻す。
   `.mtr-f-section` を挟んでいるので、#t04b の外にある料金モーダル・サービスモーダルには影響しない。
   枠側は `max-width:95vw`（≤599は96vw）・`max-height:90vh`・`overflow:auto` なので
   ビューポートを超えず、ページ全体の横スクロールは発生しない。 */
.medisapo-top-review .mtr-page .mtr-f-section .mtr-modal-box img{
  width:2038px; max-width:none;
}
.medisapo-top-review .mtr-modal-hint{
  margin:10px 2px 0; font:400 12px/1.6 'Noto Sans JP',sans-serif; color:#8C8378; position:sticky; left:0;
}
/* ボックスは横スクロールするため、閉じるボタンはビューポート基準で常に見える位置に置く */
.medisapo-top-review .mtr-modal-close{
  position:absolute; top:20px; right:20px; z-index:2; width:44px; height:44px; border-radius:50%;
  border:2px solid #FFFFFF; background:#2B2620; color:#FFFFFF; font:400 22px/1 'Noto Sans JP',sans-serif;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
}

@media screen and (max-width:599px){
  .medisapo-top-review .mtr-modal-box{ max-width:96vw; padding:10px; }
  .medisapo-top-review .mtr-modal-close{ top:12px; right:12px; width:40px; height:40px; }
}

/* --------------------------------------------------------------------------
   2-G. T05 サービス種別＋料金（TOP-086）
   --------------------------------------------------------------------------
   旧T10「プランと料金の概要」をT05へ統合したときの器。
   TOP-052に沿って PLAN番号 → プラン名 → 料金 → 支援内容 の順に読める並びにし、
   外来／訪問診療の2分類を大きなブロックで分けている。
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-grid2-fluid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }

.medisapo-top-review .mtr-page .mtr-plan-cat{
  padding:28px 28px 30px;
  border:1px solid #E8E2D2; border-top:3px solid #EF8F35; border-radius:16px;
  background:#FFFFFF; box-shadow:0 8px 24px rgba(120,95,55,.06);
}
.medisapo-top-review .mtr-page .mtr-plan-cat--visit{ margin-top:28px; }
.medisapo-top-review .mtr-page .mtr-plan-cat-head{ display:flex; align-items:center; gap:14px; }
.medisapo-top-review .mtr-page .mtr-plan-cat-icon{
  width:40px; height:40px; border-radius:50%; background:#FBEEDF;
  display:flex; align-items:center; justify-content:center; flex:0 0 40px;
}
.medisapo-top-review .mtr-page .mtr-plan-cat-name{ font:700 21px/1.3 'Zen Kaku Gothic New',sans-serif; }
/* 外来・訪問診療の写真は同じ器（.mtr-plan-cat-illust）に入れ、幅100%＋max-width 800pxで中央へ置く。
   画像側の高さは height:auto（縦横比維持・crop なし）。料金カード2枚（約1064px）より狭くして主従を保つ。 */
.medisapo-top-review .mtr-page .mtr-plan-cat-illust{ width:100%; max-width:800px; margin:22px auto 0; }

.medisapo-top-review .mtr-page .mtr-plan{
  display:flex; flex-direction:column;
  border:1px solid #E8E2D2; border-radius:16px; overflow:hidden; background:#FFFFFF;
}
.medisapo-top-review .mtr-page .mtr-plan-head{
  min-height:56px; padding:14px 20px; background:#2B2620;
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  font:700 15px/1.4 'Zen Kaku Gothic New',sans-serif; color:#FFFFFF;
}
.medisapo-top-review .mtr-page .mtr-plan-no{
  font:700 11.5px/1 'Noto Sans JP',sans-serif; letter-spacing:.14em; color:#F2A25C;
  border:1px solid rgba(242,162,92,.6); border-radius:11px; padding:5px 10px; flex:0 0 auto;
}
.medisapo-top-review .mtr-page .mtr-plan-body{ padding:24px 20px 26px; display:flex; flex-direction:column; flex:1; }
.medisapo-top-review .mtr-page .mtr-plan-price{
  display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 10px;
}
.medisapo-top-review .mtr-page .mtr-price-num{ font:700 30px/1.3 'Zen Kaku Gothic New',sans-serif; }
.medisapo-top-review .mtr-page .mtr-plan-unit{ font:700 15px/1.6 'Noto Sans JP',sans-serif; color:#3A3128; }
/* カルテ点検プランの「固定部分 ＋ 件数連動部分」を式として見せる */
.medisapo-top-review .mtr-page .mtr-plan-term{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; width:100%; }
.medisapo-top-review .mtr-page .mtr-plan-term-label{
  font:700 12px/1 'Noto Sans JP',sans-serif; color:#8C8378; width:100%;
}
.medisapo-top-review .mtr-page .mtr-plan-plus{ width:100%; padding-left:6px; font:700 20px/1 'Zen Kaku Gothic New',sans-serif; color:#C86F14; }
.medisapo-top-review .mtr-page .mtr-plan-desc{
  margin-top:16px; font:400 13.5px/1.8 'Noto Sans JP',sans-serif; color:#6B6259;
}

.medisapo-top-review .mtr-page .mtr-plan-example{
  margin-top:22px; padding:24px 22px 26px; border:1px solid #E8E2D2; border-radius:12px; background:#FDFAEC;
}
.medisapo-top-review .mtr-page .mtr-plan-example-head{ font:700 16px/1.4 'Zen Kaku Gothic New',sans-serif; }
.medisapo-top-review .mtr-page .mtr-plan-example-text{ margin-top:10px; font:400 13.5px/1.8 'Noto Sans JP',sans-serif; color:#6B6259; }
.medisapo-top-review .mtr-page .mtr-plan-example-card{ padding:20px 22px; border:1px solid #E8E2D2; border-radius:12px; background:#FFFFFF; }
.medisapo-top-review .mtr-page .mtr-plan-example-label{ font:700 14px/1 'Noto Sans JP',sans-serif; color:#8C8378; }
.medisapo-top-review .mtr-page .mtr-plan-example-price{ margin-top:12px; font-size:26px !important; }
.medisapo-top-review .mtr-page .mtr-plan-example-calc{ margin-top:10px; font:400 12.5px/1.7 'Noto Sans JP',sans-serif; color:#6B6259; }

.medisapo-top-review .mtr-page .mtr-plan-notes{
  margin-top:22px; display:flex; flex-direction:column; gap:8px;
  font:400 13px/1.8 'Noto Sans JP',sans-serif; color:#6B6259;
}
.medisapo-top-review .mtr-page .mtr-plan-notes strong{ font-weight:700; color:#2B2620; }

@media screen and (max-width:900px){
  .medisapo-top-review .mtr-page .mtr-plan-cat{ padding:22px 18px 24px; }
  .medisapo-top-review .mtr-page .mtr-price-num{ font-size:26px; }
}

/* --------------------------------------------------------------------------
   3. レビュー表示
   -------------------------------------------------------------------------- */
/* 3-1. 常時表示のページ種別バナー（data-review の切替対象にしない） */
/* 2026-10-09 ヘッダー統一：共通ヘッダー（固定、実測高さ81.1875px）の直後に
   margin-top:0のまま配置すると、body:not(.frontpage)のpadding-top:70pxだけでは
   このbox自体が11px弱ヘッダーの背後に隠れる（実測：ヘッダー下端81.1875pxに対し
   topbarの上端は70px、文字自体はpadding-top分だけ下にあるため隠れないが、
   モバイル幅ではpadding-topが12pxに縮むため文字上端とヘッダー下端の余白が1px未満まで
   詰まる）。margin-topを追加し、他ページの.page-header等と同程度の明確な余白を確保する。 */
.medisapo-top-review .mtr-topbar{
  position:relative; z-index:5;
  margin-top:8px;
  padding:14px 24px;
  background:#7A1F1F;
  color:#FFFFFF;
  font:700 13.5px/1.7 'Noto Sans JP',sans-serif;
  text-align:center;
  letter-spacing:.02em;
}
.medisapo-top-review .mtr-topbar span{ display:inline-block; font-weight:400; font-size:12.5px; opacity:.9; }

/* 3-2. v13から引き継いだレビュー表示（M-5 の data-review で切替） */
.medisapo-top-review .mtr-note{
  background:#FBEFEA; border:1.5px dashed #D98E5A; border-radius:12px; padding:14px 18px;
  font:400 12.5px/1.7 'Noto Sans JP',sans-serif; color:#9A5B26;
}
.medisapo-top-review .mtr-note b{ font-weight:700; }
.medisapo-top-review .mtr-banner{
  background:repeating-linear-gradient(135deg,#F4C89A,#F4C89A 10px,#F9DDBB 10px,#F9DDBB 20px);
  border:2px solid #C86F14; border-radius:12px; padding:16px 20px;
  font:700 13.5px/1.8 'Noto Sans JP',sans-serif; color:#7A3D0A;
}
.medisapo-top-review .mtr-badge{
  display:inline-block; margin-left:10px; padding:2px 10px; border-radius:20px;
  background:#C86F14; color:#FFFFFF; font:700 10.5px/1.6 'Noto Sans JP',sans-serif;
  letter-spacing:.04em; vertical-align:middle;
}
.medisapo-top-review .review-only{}
.medisapo-top-review .mtr-page[data-review="off"] .review-only{ display:none !important; }
.medisapo-top-review .review-accent{ border:2px dashed #D98E5A !important; background:#FBEFEA !important; }
.medisapo-top-review .mtr-page[data-review="off"] .review-accent{ border:1px solid #E8E2D2 !important; background:#FFFFFF !important; }

/* 3-3. 未確定の数値・事実のインライン表示
       会議マスターの「公開前確認」「要確認」に該当する値は必ずこれで囲む。
       data-review="off" でもマーカーは消さない（確定情報に見せないため）。 */
.medisapo-top-review .mtr-unconf{
  display:inline-block;
  padding:1px 8px 2px;
  border:1.5px dashed #D98E5A;
  border-radius:8px;
  background:#FBEFEA;
  color:#9A5B26;
  line-height:1.5;
}
.medisapo-top-review .mtr-unconf::after{
  content:'要確認';
  display:inline-block; margin-left:8px; padding:1px 7px; border-radius:20px;
  background:#C86F14; color:#FFFFFF;
  font:700 10px/1.5 'Noto Sans JP',sans-serif; letter-spacing:.04em; vertical-align:2px;
}

/* 3-4. リンク先が未確定の導線（推測でURLを置かない） */
.medisapo-top-review .mtr-tbd{
  cursor:default; opacity:.72;
  border-style:dashed !important;
}
.medisapo-top-review .mtr-tbd .mtr-tbd-mark{
  margin-left:10px; padding:1px 8px; border-radius:20px;
  background:#8C8378; color:#FFFFFF;
  font:700 10px/1.6 'Noto Sans JP',sans-serif; letter-spacing:.04em;
}

/* --------------------------------------------------------------------------
   4. FAQアコーディオン
   -------------------------------------------------------------------------- */
.medisapo-top-review .mtr-faq-q{ width:100%; background:none; border:0; text-align:left; cursor:pointer; font:inherit; color:inherit; }
.medisapo-top-review .mtr-faq-a[hidden]{ display:none; }
.medisapo-top-review .mtr-faq-q[aria-expanded="true"] .mtr-faq-bar{ opacity:0; }

/* --------------------------------------------------------------------------
   5. レスポンシブ（Phase 1の範囲＝技術的な最低限）
       ・横スクロールを出さない ・テキストを切らない
       ・カードを画面外へ出さない ・主要CTAを押せる ・内容が読める
       PC（1200px以上）の見た目はv13のまま一切変更しない。
   -------------------------------------------------------------------------- */
@media screen and (max-width:1199px){
  .medisapo-top-review .mtr-inner{ width:auto; max-width:1120px; padding-left:24px; padding-right:24px; }
  .medisapo-top-review .mtr-faq-wrap{ width:100%; }
  .medisapo-top-review .mtr-grid2,
  .medisapo-top-review .mtr-grid3,
  .medisapo-top-review .mtr-grid3-fluid,
  .medisapo-top-review .mtr-t04-grid,
  .medisapo-top-review .mtr-grid4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .medisapo-top-review .mtr-grid2-fluid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .medisapo-top-review .mtr-row2,
  .medisapo-top-review .mtr-row3{ flex-wrap:wrap; }
  .medisapo-top-review .mtr-col550,
  .medisapo-top-review .mtr-col355{ width:100%; }
  .medisapo-top-review .mtr-page [style*="width:1120px"]{ width:100% !important; }
  .medisapo-top-review .mtr-page [style*="width:700px"]{ width:100% !important; }
}

@media screen and (max-width:900px){
  .medisapo-top-review .mtr-grid2,
  .medisapo-top-review .mtr-grid3,
  .medisapo-top-review .mtr-grid3-fluid,
  .medisapo-top-review .mtr-t04-grid,
  .medisapo-top-review .mtr-grid2-fluid,
  .medisapo-top-review .mtr-grid4{ grid-template-columns:minmax(0,1fr); }
  .medisapo-top-review .mtr-col550,
  .medisapo-top-review .mtr-col355{ height:auto !important; }
  .medisapo-top-review .mtr-deco{ display:none !important; }
  .medisapo-top-review .mtr-illust{ display:none !important; }
  .medisapo-top-review .mtr-flow{ display:block; }
  .medisapo-top-review .mtr-flow > div{ width:100% !important; padding-right:0 !important; }
  .medisapo-top-review .mtr-flow > div + div{ margin-top:26px; }
  .medisapo-top-review .mtr-flow-line{ display:none !important; }
  .medisapo-top-review .mtr-footer-cols{ display:block; }
  .medisapo-top-review .mtr-footer-cols > div{ width:100% !important; }
  .medisapo-top-review .mtr-footer-cols > div + div{ margin-top:30px; }
  .medisapo-top-review .mtr-t03-diagram{ display:block !important; }
  .medisapo-top-review .mtr-t03-diagram > div{ width:100% !important; }
  .medisapo-top-review .mtr-t03-arrow{ height:56px; transform:rotate(90deg); }
  .medisapo-top-review .mtr-dept{ grid-template-columns:minmax(0,1fr) !important; }
  .medisapo-top-review .mtr-dept > div{ border-right:0 !important; height:auto !important; padding-top:16px !important; padding-bottom:16px !important; }
  /* セクション内側の余白を詰める（PCの105pxは縦に長すぎるため） */
  .medisapo-top-review .mtr-inner{ padding-left:20px; padding-right:20px; padding-top:56px !important; padding-bottom:56px !important; }
  /* 固定高さを持つ要素を可変へ */
  .medisapo-top-review .mtr-h-auto{ height:auto !important; }
}

@media screen and (max-width:599px){
  /* FVの見出しは現行TOPの指定（max(28px,2.8vw)）をそのまま使うため対象外にする */
  .medisapo-top-review .mtr-page h1:not(.mtr-hero-title){ font-size:27px !important; line-height:1.5 !important; }
  .medisapo-top-review .mtr-page h2{ font-size:22px !important; line-height:1.4 !important; }
  .medisapo-top-review .mtr-page h3{ font-size:18px !important; line-height:1.5 !important; }
  .medisapo-top-review .mtr-price-num{ font-size:23px !important; }
  .medisapo-top-review .mtr-cta{ width:100%; justify-content:center; padding-left:16px !important; padding-right:16px !important; }
  .medisapo-top-review .mtr-topbar{ font-size:12px; padding:12px 16px; }
}


/* ------------------------------------------------------------------
   2-H  T07 レセプト点検の流れ（TOP-087）
   現行公開TOP `section.flow`「サービスの流れ」の4ステップ構造
   （STEPラベル → 連結線上のドット → タイトル → 本文）を踏襲する。
   現行テーマのCSSはコピーせず、新TOPのフォント・色・コンテンツ幅
   （.mtr-inner 1120px）へ合わせて書き起こしている。
   ステップ色は現行TOPと同じ「淡い黄 → オレンジ」の4段階だが、
   新TOPの主色 #EF8F35 で終わる並びに置き換えている。
   ラベル文字色だけは可読性のため、現行TOPの白ではなく濃色にした。
   ※ 既存の .mtr-flow / .mtr-flow-line はT11が使用しているため変更しない。
------------------------------------------------------------------ */
.medisapo-top-review .mtr-flow4{ position:relative; display:flex; gap:0; margin-top:34px; padding-top:118px; }
.medisapo-top-review .mtr-flow4-line{ position:absolute; top:100px; left:12.5%; right:12.5%; height:6px; border-radius:3px; background:linear-gradient(to right,#FBE6A6,#EF8F35); z-index:1; }
.medisapo-top-review .mtr-flow4-step{ flex:1 1 0; min-width:0; padding:0 12px; position:relative; text-align:center; }
.medisapo-top-review .mtr-flow4-label{ position:absolute; top:-84px; left:50%; transform:translateX(-50%); width:104px; padding:9px 0; border-radius:8px; font:700 15px/1 'Noto Sans JP',sans-serif; letter-spacing:.06em; color:#4A3418; z-index:2; }
.medisapo-top-review .mtr-flow4-label::after{ content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%); width:3px; height:18px; }
.medisapo-top-review .mtr-flow4-dot{ position:absolute; top:-33px; left:50%; transform:translateX(-50%); width:36px; height:36px; border-radius:50%; z-index:2; }
.medisapo-top-review .mtr-page .mtr-flow4-title{ margin:14px 0 10px; font:700 17px/1.5 'Zen Kaku Gothic New',sans-serif; letter-spacing:.01em; }
.medisapo-top-review .mtr-page .mtr-flow4-text{ margin:0; font:400 13.5px/1.9 'Noto Sans JP',sans-serif; color:#3A3128; text-align:left; }

.medisapo-top-review .mtr-flow4-step--1 .mtr-flow4-label,
.medisapo-top-review .mtr-flow4-step--1 .mtr-flow4-label::after,
.medisapo-top-review .mtr-flow4-step--1 .mtr-flow4-dot{ background:#FBE6A6; }
.medisapo-top-review .mtr-flow4-step--2 .mtr-flow4-label,
.medisapo-top-review .mtr-flow4-step--2 .mtr-flow4-label::after,
.medisapo-top-review .mtr-flow4-step--2 .mtr-flow4-dot{ background:#F8D07A; }
.medisapo-top-review .mtr-flow4-step--3 .mtr-flow4-label,
.medisapo-top-review .mtr-flow4-step--3 .mtr-flow4-label::after,
.medisapo-top-review .mtr-flow4-step--3 .mtr-flow4-dot{ background:#F3AE5C; }
.medisapo-top-review .mtr-flow4-step--4 .mtr-flow4-label,
.medisapo-top-review .mtr-flow4-step--4 .mtr-flow4-label::after,
.medisapo-top-review .mtr-flow4-step--4 .mtr-flow4-dot{ background:#EF8F35; }

/* SP：現行TOPと同じく縦積みへ。STEPラベルと本文の対応が崩れないようグリッドで固定する */
@media screen and (max-width:900px){
  .medisapo-top-review .mtr-flow4{ display:block; margin-top:24px; padding-top:0; }
  .medisapo-top-review .mtr-flow4-line{ display:none; }
  .medisapo-top-review .mtr-flow4-dot{ display:none; }
  .medisapo-top-review .mtr-flow4-step{ display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:14px; padding:0 0 24px; text-align:left; }
  .medisapo-top-review .mtr-flow4-step::before{ content:''; position:absolute; left:38px; top:0; bottom:0; width:3px; }
  .medisapo-top-review .mtr-flow4-step:last-child::before{ display:none; }
  .medisapo-top-review .mtr-flow4-step--1::before{ background:linear-gradient(to bottom,#FBE6A6,#F8D07A); }
  .medisapo-top-review .mtr-flow4-step--2::before{ background:linear-gradient(to bottom,#F8D07A,#F3AE5C); }
  .medisapo-top-review .mtr-flow4-step--3::before{ background:linear-gradient(to bottom,#F3AE5C,#EF8F35); }
  .medisapo-top-review .mtr-flow4-label{ position:relative; top:auto; left:auto; transform:none; width:80px; padding:7px 0; font-size:13px; text-align:center; grid-row:1; grid-column:1; align-self:center; }
  .medisapo-top-review .mtr-flow4-label::after{ display:none; }
  .medisapo-top-review .mtr-page .mtr-flow4-title{ grid-row:1; grid-column:2; align-self:center; margin:0; font-size:15px; }
  .medisapo-top-review .mtr-page .mtr-flow4-text{ grid-row:2; grid-column:2; margin:8px 0 0; font-size:13px; }
}


/* ------------------------------------------------------------------
   2-I  TOP-088 で追加した公開用表示
   - .mtr-f-stats：根拠未確認の数値を撤去し「ラベル＋説明文」の2行にしたため、
     数値表示向けの太字16pxから本文向けの指定へ上書きする
   - .mtr-plan-permonth：カルテ点検の「／月」を金額より小さく見せる
------------------------------------------------------------------ */
.medisapo-top-review .mtr-page .mtr-f-stats > div{ font-weight:400; font-size:13.5px; line-height:1.9; color:#3A3128; }
.medisapo-top-review .mtr-page .mtr-f-stat-label{ display:block; margin-right:0; margin-bottom:6px; padding:3px 10px; border-radius:6px; background:#FBEEDF; color:#C86F14; font-weight:700; font-size:12.5px; width:fit-content; }
.medisapo-top-review .mtr-plan-permonth{ font-size:.62em; margin-left:2px; }

/* ------------------------------------------------------------------
   2-K  特徴04改修（2026-10-10）：実績欄「ラベル＋対応領域」の折り返し調整
   - .mtr-f-stats：2項目間の余白を広げ、ラベル行と対応領域行の2段構成を見分けやすくする
   - .mtr-f-stat-value：対応領域の行（ラベルの下に配置）
   - .mtr-f-stat-term：診療科名・診療領域名の単位。／の位置以外で折れないようnowrap化する
     （単純な1行固定にはせず、term単位での折り返しは許容する）
------------------------------------------------------------------ */
.medisapo-top-review .mtr-page .mtr-f-stats{ gap:16px; }
.medisapo-top-review .mtr-page .mtr-f-stat-value{ display:block; }
.medisapo-top-review .mtr-page .mtr-f-stat-term{ white-space:nowrap; }


/* ------------------------------------------------------------------
   2-J  TOP-089 T05 料金詳細ポップアップ
   現行公開TOPの「料金プランの詳細についてはこちら」→モーダルという
   見せ方を踏襲し、新TOPのトーン（クリーム地＋オレンジ）で書き起こした。
   ベースの .mtr-modal / .mtr-modal-bg / .mtr-modal-close はTOP-083と共用。
------------------------------------------------------------------ */
.medisapo-top-review .mtr-plan-more{ margin-top:22px; text-align:center; }
.medisapo-top-review .mtr-plan-more-btn,
.medisapo-top-review .mtr-price-detail-btn{
  display:inline-flex; align-items:center; gap:12px;
  height:52px; padding:0 28px;
  border:1px solid #2B2620; border-radius:26px; background:#FFFFFF;
  font:700 14px/1 'Noto Sans JP',sans-serif; color:#2B2620;
  cursor:pointer; -webkit-appearance:none; appearance:none;
}
.medisapo-top-review .mtr-plan-more-btn{ height:46px; padding:0 24px; font-size:13.5px; }
.medisapo-top-review .mtr-plan-more-btn:hover,
.medisapo-top-review .mtr-price-detail-btn:hover{ background:#FDFAEC; }

/* L-06：T05 訪問診療ブロックの料金カード直下から /home-visit/ へ戻した内部リンク。
   `.medisapo-top-review .mtr-page a{ color:#2B2620; text-decoration:none }`（0-3-1）を
   打ち消す必要があるため、#t05 を前置して勝たせている（!important は使わない）。
   見え方は現行公開TOPの .pricing-box-link（frontpage.css）に合わせた。
   既存の共有class（.mtr-plan-cat* / .mtr-plan-more*）には手を入れていない。 */
.medisapo-top-review #t05 .mtr-plan-visit-link{
  margin:18px 0 0; text-align:center;
  font:400 14px/1.6 'Noto Sans JP',sans-serif;
}
.medisapo-top-review #t05 .mtr-plan-visit-link a{
  color:#1F3D74; font-weight:700;
  text-decoration:underline; text-underline-offset:3px;
}
.medisapo-top-review #t05 .mtr-plan-visit-link a:hover,
.medisapo-top-review #t05 .mtr-plan-visit-link a:focus{ text-decoration:none; }

.medisapo-top-review .mtr-price-modal{ padding:24px 16px; }
.medisapo-top-review .mtr-pm-box{
  position:relative; z-index:1;
  width:1040px; max-width:calc(100vw - 32px);
  max-height:calc(100vh - 48px);
  overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding:38px 34px 34px;
  border-radius:20px; background:#FDFBF4;
  box-shadow:0 24px 60px rgba(0,0,0,.32);
  text-align:left;
}
.medisapo-top-review .mtr-page .mtr-pm-title{
  margin:0 0 26px; text-align:center;
  font:700 22px/1.4 'Zen Kaku Gothic New',sans-serif; letter-spacing:.02em; color:#2B2620;
}
.medisapo-top-review .mtr-pm-group + .mtr-pm-group{ margin-top:30px; }
.medisapo-top-review .mtr-pm-group-name{
  display:inline-block; margin-bottom:14px; padding:6px 16px;
  border-radius:14px; background:#FBEEDF;
  font:700 14px/1 'Noto Sans JP',sans-serif; color:#C86F14;
}
.medisapo-top-review .mtr-pm-cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.medisapo-top-review .mtr-pm-card{
  position:relative; padding:26px 22px 22px;
  border:1px solid #EFDFC6; border-radius:16px; background:#FFFFFF;
}
.medisapo-top-review .mtr-pm-badge{
  position:absolute; top:-14px; right:16px;
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
  width:76px; height:76px; border-radius:50%; background:#FFE86B;
  font:700 11.5px/1.35 'Noto Sans JP',sans-serif; color:#5A4415;
}
.medisapo-top-review .mtr-pm-no{
  font:700 11.5px/1 'Noto Sans JP',sans-serif; letter-spacing:.14em; color:#C86F14;
}
.medisapo-top-review .mtr-pm-box h4.mtr-pm-name{
  /* h4は本ページのリセット対象外で親テーマの装飾（地色・枠）が乗るため、ここで打ち消す */
  margin:10px 0 0; padding:0 0 12px;
  background:none; border:0; border-bottom:1px solid #F0E3CD; border-radius:0;
  font:700 19px/1.4 'Zen Kaku Gothic New',sans-serif; color:#2B2620;
}
.medisapo-top-review .mtr-pm-price{
  margin-top:14px; font:700 20px/1.5 'Zen Kaku Gothic New',sans-serif; color:#2B2620;
}
.medisapo-top-review .mtr-pm-unit{ font-size:13px; font-weight:700; color:#6B6259; }
.medisapo-top-review .mtr-pm-plus{ display:inline-block; margin:2px 0; color:#EF8F35; }
.medisapo-top-review .mtr-page .mtr-pm-list{ margin:16px 0 0; padding:0; list-style:none; }
.medisapo-top-review .mtr-page .mtr-pm-list li{
  position:relative; padding-left:20px; margin-top:10px;
  font:700 14px/1.6 'Noto Sans JP',sans-serif; color:#2B2620;
}
.medisapo-top-review .mtr-page .mtr-pm-list li::before{
  content:''; position:absolute; left:0; top:.55em; width:10px; height:10px;
  border-radius:50%; background:#F6C98A;
}
.medisapo-top-review .mtr-page .mtr-pm-list li span{
  display:block; margin-top:4px; font:400 12.5px/1.8 'Noto Sans JP',sans-serif; color:#6B6259;
}
.medisapo-top-review .mtr-pm-example{ margin-top:18px; padding:16px; border-radius:12px; background:#FDFAEC; }
.medisapo-top-review .mtr-pm-example-head{ font:700 13px/1 'Noto Sans JP',sans-serif; color:#C86F14; }
.medisapo-top-review .mtr-page .mtr-pm-example-text{
  margin:8px 0 0; font:400 12.5px/1.8 'Noto Sans JP',sans-serif; color:#6B6259;
}
.medisapo-top-review .mtr-pm-example-card{
  margin-top:12px; padding:12px 14px; border-radius:10px; background:#FFFFFF; border:1px solid #F0E3CD;
}
.medisapo-top-review .mtr-pm-example-label{ font:700 12px/1 'Noto Sans JP',sans-serif; color:#6B6259; }
.medisapo-top-review .mtr-pm-example-price{
  margin-top:8px; font:700 20px/1.3 'Zen Kaku Gothic New',sans-serif; color:#2B2620;
}
.medisapo-top-review .mtr-pm-example-calc{
  margin-top:6px; font:400 12px/1.7 'Noto Sans JP',sans-serif; color:#6B6259;
}
.medisapo-top-review .mtr-pm-notes{ margin-top:26px; }
.medisapo-top-review .mtr-pm-notes > div{
  margin-top:8px; font:400 12.5px/1.8 'Noto Sans JP',sans-serif; color:#6B6259;
}
.medisapo-top-review .mtr-pm-foot{ margin-top:26px; text-align:center; }
.medisapo-top-review .mtr-pm-cta{
  display:inline-flex; align-items:center; gap:12px; height:52px; padding:0 34px;
  border-radius:26px; background:#EF8F35; box-shadow:0 6px 18px rgba(200,111,20,.18);
  font:700 15px/1 'Noto Sans JP',sans-serif; color:#241F1A;
}

@media screen and (max-width:900px){
  .medisapo-top-review .mtr-pm-cards{ grid-template-columns:minmax(0,1fr); }
  .medisapo-top-review .mtr-pm-box{ padding:30px 18px 24px; max-height:calc(100vh - 32px); }
  .medisapo-top-review .mtr-price-modal{ padding:16px 12px; }
  .medisapo-top-review .mtr-page .mtr-pm-title{ font-size:19px; margin-bottom:20px; }
  .medisapo-top-review .mtr-pm-badge{ width:64px; height:64px; font-size:10.5px; top:-12px; right:12px; }
  .medisapo-top-review .mtr-pm-price{ font-size:18px; }
}

/* ==========================================================================
   SERVICE 01（T03 遠隔レセプト業務代行とは）再設計  2026-10-01
   --------------------------------------------------------------------------
   専用root：section#t03.mtr-svc。このブロックのセレクタはすべて
   `.medisapo-top-review #t03.mtr-svc` 配下に限定している。
   共有class（.mtr-inner／.mtr-grid3／.mtr-page h2 等）は変更していない。
   旧 .mtr-t03-* の定義（2-C 節と §5）はT03専用で、現在は未使用。
   ========================================================================== */
.medisapo-top-review #t03.mtr-svc .mtr-svc-lead{
  margin:22px 0 0;
  font:700 22px/1.6 'Zen Kaku Gothic New',sans-serif;
  letter-spacing:.02em;
  color:#2B2620;
  word-break:keep-all; overflow-wrap:anywhere;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-lead br{ display:none; }

/* --- 概念図：1つの横長の帯（帯の中に別のカードを作らない） --- */
.medisapo-top-review #t03.mtr-svc .mtr-svc-flow{
  margin-top:30px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  column-gap:24px;
  padding:20px 40px;
  border:1px solid #E8E2D2;
  border-radius:16px;
  background:linear-gradient(180deg,#FDFAEC 0%,#FBF7E3 100%);
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-node{
  display:flex; align-items:center; justify-content:center; gap:16px; min-width:0;
}
/* 透過PNG（1254×1254の正方形）は上下左右の透過余白が広いため、枠より大きく置いて実描画を釣り合わせる */
.medisapo-top-review #t03.mtr-svc .mtr-svc-fig{
  flex:0 0 112px; width:112px; height:88px;
  display:flex; align-items:center; justify-content:center;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-fig img{
  flex:none; display:block; width:150px; height:150px; max-width:none; object-fit:contain;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-fig--wide img{ width:168px; height:168px; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-node-body{
  display:flex; flex-direction:column; gap:6px; min-width:0;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-node-name{
  font:700 13px/1.4 'Noto Sans JP',sans-serif; letter-spacing:.12em; color:#6B6259;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-node--to .mtr-svc-node-name{ color:#C86F14; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-node-text{
  font:700 20px/1.5 'Zen Kaku Gothic New',sans-serif; color:#2B2620;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-link{
  display:flex; flex-direction:column; align-items:center; gap:4px;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-link-label{
  font:700 14px/1.4 'Zen Kaku Gothic New',sans-serif; letter-spacing:.06em; color:#C86F14; white-space:nowrap;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-link-arrow{ display:flex; align-items:center; justify-content:center; }

/* --- 3 POINT：同じ構造・同じ余白・同じ高さ ---
   v3：縦密度のため、アイコンを左に置き「POINT 0x」と見出しを右に積む（詳細ブロックの見出しと同じ組み方）。
   本文は word-break:keep-all ＋テンプレート側の <wbr> で、語の途中では改行しない。 */
.medisapo-top-review #t03.mtr-svc .mtr-svc-points{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-point{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  grid-template-rows:auto auto 1fr;
  column-gap:12px;
  padding:20px 20px 22px;
  border:1px solid #E8E2D2; border-radius:16px; background:#FFFFFF;
  box-shadow:0 8px 24px rgba(120,95,55,.06);
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-point-head{ display:contents; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-ico{
  flex:0 0 36px; width:36px; height:36px; border-radius:12px; background:#FBEEDF;
  display:flex; align-items:center; justify-content:center;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-point .mtr-svc-ico{ grid-column:1; grid-row:1 / span 2; align-self:start; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-no{
  font:700 12px/1.5 'Noto Sans JP',sans-serif; letter-spacing:.16em; color:#C86F14;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-point .mtr-svc-no{ grid-column:2; grid-row:1; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-point-title{
  grid-column:2; grid-row:2;
  margin:2px 0 0;
  font:700 19px/1.5 'Zen Kaku Gothic New',sans-serif; color:#2B2620;
  word-break:keep-all; overflow-wrap:anywhere;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-point-text{
  grid-column:1 / -1; grid-row:3; align-self:start;
  margin:12px 0 0;
  font:400 13.5px/1.9 'Noto Sans JP',sans-serif; color:#6B6259;
  word-break:keep-all; overflow-wrap:anywhere;
}

/* --- POINT 03 の詳細（点検結果の共有イメージ）。v2：4つ目の項目に見せず、POINT 03 に従属させる ---
   v3：POINT 03 カード自体は 01・02 と同じ白・同じ枠（3 POINT は同格）。淡いオレンジは詳細ブロック側だけに持たせ、
   同じアイコン・同じ番号ラベル表現と接続線で「POINT 03 の下に具体例が続く」関係を示す。
   接続：詳細ブロック上端から POINT 03 カード下端へ細い線（::before）。PCは3列目の中央、1列表示時はアイコンの中心に揃える。
   画像は T04B と同じ既存assetを参照表示する（移設ではない）。 */
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample{
  position:relative;
  margin-top:22px;
  padding:16px 20px 20px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"head btn" "desc desc" "thumb thumb";
  column-gap:20px;
  border:1px solid #EFC99A; border-radius:16px; background:#FFFDF6;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample::before{
  content:""; position:absolute; top:-23px; height:22px; width:2px;
  left:calc((100% - 48px) / 3 * 2.5 + 48px); transform:translateX(-50%);
  background:#EFC99A; border-radius:1px;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-head{
  grid-area:head; display:flex; align-items:center; gap:12px; min-width:0;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-title{
  margin:0; padding:0; border:0; border-radius:0; background:none;
  display:flex; align-items:baseline; flex-wrap:wrap; column-gap:6px; row-gap:4px;
  font:700 17px/1.5 'Zen Kaku Gothic New',sans-serif; color:#2B2620;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-title::before,
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-title::after{ content:none; display:none; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-kicker{
  font:700 12px/1.5 'Noto Sans JP',sans-serif; letter-spacing:.16em; color:#C86F14;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-sep{ font-weight:400; color:#D9B78E; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-desc{
  grid-area:desc; margin:6px 0 0 48px;
  font:400 14px/1.8 'Noto Sans JP',sans-serif; color:#6B6259;
  word-break:keep-all; overflow-wrap:anywhere;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-btn{
  grid-area:btn; align-self:center;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:40px; padding:0 18px;
  border:1px solid #EF8F35; border-radius:20px; background:#FFFFFF;
  font:700 14px/1 'Noto Sans JP',sans-serif; color:#C86F14;
  cursor:pointer; -webkit-appearance:none; appearance:none;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-btn:hover{ background:#FFF4E4; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-btn:focus-visible,
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-thumb:focus-visible{ outline:2px solid #C86F14; outline-offset:2px; }
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-thumb{
  grid-area:thumb;
  position:relative; display:block; width:100%; margin:12px 0 0; padding:0;
  border:1px solid #E8D9BE; border-radius:8px; background:#FFFFFF; overflow:hidden;
  cursor:zoom-in; -webkit-appearance:none; appearance:none;
}
.medisapo-top-review #t03.mtr-svc .mtr-svc-sample-thumb img{ display:block; width:100%; height:auto; }

/* T03専用の拡大モーダル画像サイズ。共有ルール（本ファイル2-A節 .mtr-modal-box img{width:2038px}、
   T04Bの元画像t04b-sheet-sample.png向け）は変更しない。#mtr-svc-modal はT03専用IDのため、
   ここだけ新画像（t03-sheet-sample.png、1621×166）の等倍幅に上書きする。
   IDセレクタのため、特異度は共有ルール（クラス）より常に高く、宣言順に関係なく安全に効く。 */
.medisapo-top-review #mtr-svc-modal .mtr-modal-box img{
  width:1621px; max-width:none;
}

/* --- タブレット（768〜1023px）：POINT は1列。見出しの強制改行は不要 --- */
/* 1024〜1199px：3列のまま列幅が狭くなるため、POINT 見出しだけ一段小さくして2行に収める */
@media screen and (min-width:1024px) and (max-width:1199px){
  .medisapo-top-review #t03.mtr-svc .mtr-svc-point-title{ font-size:17px; }
}
@media screen and (max-width:1023px){
  .medisapo-top-review #t03.mtr-svc .mtr-svc-points{ grid-template-columns:minmax(0,1fr); gap:12px; }
  /* POINT が1列のときは POINT 03 カードの直下に詳細が続くため、接続線をアイコン中心（左20px＋36px/2）に揃える */
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample{ margin-top:18px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample::before{ top:-19px; height:18px; left:37px; }
}
@media screen and (min-width:768px) and (max-width:1023px){
  .medisapo-top-review #t03.mtr-svc .mtr-svc-point-title br{ display:none; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-flow{ padding:18px 24px; column-gap:16px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node{ gap:12px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-fig{ flex-basis:96px; width:96px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-fig img{ width:132px; height:132px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-fig--wide img{ width:148px; height:148px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node-text{ font-size:18px; }
}

/* --- SP（767px以下）：縦積みではなく SP 用に再構成。概念図は低い3段（医療機関 → 遠隔で委託 → メディサポ） --- */
@media screen and (max-width:767px){
  .medisapo-top-review #t03.mtr-svc .mtr-svc-lead{ margin-top:16px; font-size:17px; line-height:1.75; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-lead br{ display:inline; }

  .medisapo-top-review #t03.mtr-svc .mtr-svc-flow{
    margin-top:20px; grid-template-columns:minmax(0,1fr); row-gap:4px; padding:14px;
  }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node{
    justify-content:flex-start; gap:12px; padding:8px 14px 8px 8px;
    border:1px solid #EEE3CC; border-radius:12px; background:#FFFFFF;
  }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node--to{ border-color:rgba(239,143,53,.55); background:#FFFDF6; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-fig{ flex-basis:76px; width:76px; height:64px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-fig img{ width:104px; height:104px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-fig--wide img{ width:116px; height:116px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node-body{ gap:2px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node-name{ font-size:12px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-node-text{ font-size:16px; line-height:1.45; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-link{ flex-direction:row; justify-content:center; gap:8px; padding:2px 0; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-link-arrow{ width:18px; height:30px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-link-arrow svg{ flex:none; width:30px; height:10px; transform:rotate(90deg); }

  /* セクション上下余白：共有の .mtr-inner（≤900pxで56px !important）は変更せず、T03だけ詰める */
  .medisapo-top-review #t03.mtr-svc > .mtr-inner{ padding-top:40px !important; padding-bottom:40px !important; }

  .medisapo-top-review #t03.mtr-svc .mtr-svc-points{ margin-top:16px; gap:10px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-point{ padding:14px 16px 16px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-point-text{ margin-top:8px; font-size:14px; line-height:1.8; }

  /* SP：POINT 03 → 詳細見出し → 補足 → サンプル画像 → 拡大ボタン の順に連続させる。
     左余白をカードと同じ16pxにして、接続線・アイコンの縦位置をカードと一直線にする（16px＋36px/2） */
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample{
    margin-top:14px; padding:14px 16px 16px;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"head" "desc" "thumb" "btn";
  }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample::before{ top:-15px; height:14px; left:33px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-head{ align-items:flex-start; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-title{ display:block; font-size:16px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-kicker{ display:block; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-sep{ display:none; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-label{ display:block; margin-top:2px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-desc{ margin:6px 0 0; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-btn{ width:100%; margin-top:10px; min-height:48px; }
  /* 原寸1621×166（2026-10-10 T03専用4列抜粋画像）を全幅へ縮めると判読できないため、左側を等倍寄りに
     切り出して「表」であることを示す（全体は拡大表示で確認）。width:700pxは旧画像(2038px)時代の
     880pxと同じ縮小率（約0.432倍・height:72pxのまま収まる）を維持しており、見た目の挙動は変えていない。 */
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-thumb{ margin-top:10px; height:72px; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-thumb img{ width:700px; max-width:none; }
  .medisapo-top-review #t03.mtr-svc .mtr-svc-sample-thumb::after{
    content:""; position:absolute; top:0; right:0; bottom:0; width:56px;
    background:linear-gradient(90deg,rgba(255,255,255,0),#FFFFFF);
    pointer-events:none;
  }
}
/* 359px以下：アイコン左配置で見出し幅が狭くなるため、共有の h3 指定（18px !important）より一段小さくして2行に収める */
@media screen and (max-width:359px){
  .medisapo-top-review #t03.mtr-svc .mtr-svc-point-title{ font-size:16px !important; }
}

/* ==========================================================================
   2-D2. T04 ISSUES v1（2026-10-01）：現行公開TOPの「お悩み／解決」を正本に復元
   --------------------------------------------------------------------------
   出典：front-page.php `section.problems`／`section.solutions` と frontpage.css の同名ルール
        （本体・≤1024・≤768）。frontpage.css はこのページでは読み込まれないため、値を移植した
        （T02 FV・T04B と同じ作法）。セレクタはすべて #t04 起点で、他セクションへは効かない。
        共有の .mtr-inner／.mtr-deco／.mtr-page h2・h3 は変更していない（≤599 の共通 !important は #t04 内だけ上書き）。
   現行TOPから意図的に変えた点（MINOR_ADJUSTMENT）：
     ・≤1024：下向き矢印を表示（PCは背景画像 solutions-bg.png のV字で遷移を表す）
     ・≤959：解決の白丸3つ（280px固定＋gap50＝940px）が収まらないため縦積みにする
     ・≤768：電球アイコンを 100px→72px（見出しを1行に保つため）
     ・≤599：見出し2つの文字サイズを画面幅に合わせて縮める。解決見出しは「…お悩み／解決します!!」で2行にする
             （現行TOPは 390px で3行・320px で8行に細かく折り返す）
   旧 §2-D（.mtr-t04-grid／.mtr-t04-card／.mtr-t04-solve）は T04 から参照されなくなった（他セクションでも未使用）。
   ========================================================================== */
.medisapo-top-review #t04.mtr-issues{
  background:#FFFFFF;
  font-family:"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN","Yu Gothic","游ゴシック",YuGothic,"游ゴシック体","Meiryo","メイリオ",sans-serif;
  color:#333333;
  line-height:1.6;
}
.medisapo-top-review #t04 img{ max-width:100%; height:auto; vertical-align:bottom; }
.medisapo-top-review #t04 .mtr-issues-inner{ max-width:1200px; margin:0 auto; padding:80px 20px; }

/* ① お悩み（現行 .problems／.section-title／.problems-box ほか） */
.medisapo-top-review #t04 .mtr-issues-problems{ background:#FFFFFF; }
.medisapo-top-review #t04 .mtr-issues-title{
  margin:0;
  display:flex; align-items:flex-end; justify-content:center; gap:10px;
  position:relative; z-index:1;
  font-size:32px; font-weight:700; line-height:1.6; text-align:center; color:#333333;
}
.medisapo-top-review #t04 .mtr-issues-title-icon{ flex:0 0 auto; width:60px; height:auto; }
.medisapo-top-review #t04 .mtr-issues-box{
  margin-top:-20px; padding:70px 60px 50px;
  background:#F4F4F4; border-radius:10px;
}
.medisapo-top-review #t04 .mtr-issues-list{ display:flex; justify-content:space-between; gap:60px; }
.medisapo-top-review #t04 .mtr-issues-item{ flex:1; min-width:0; text-align:center; }
.medisapo-top-review #t04 .mtr-issues-item-image{ margin-bottom:20px; }
.medisapo-top-review #t04 .mtr-issues-item-image img{ width:auto; max-width:200px; height:auto; }
.medisapo-top-review #t04 .mtr-issues-item-title{
  margin:0 0 15px;
  font-size:20px; font-weight:700; line-height:1.5; text-align:center; color:#333333;
}
.medisapo-top-review #t04 .mtr-issues-item-text{
  margin:0;
  font-size:16px; font-weight:400; line-height:1.8; text-align:left; color:#333333;
}
/* 下向き矢印：PCでは出さない（背景画像のV字が遷移を担う） */
.medisapo-top-review #t04 .mtr-issues-arrow{ display:none; }

/* ② 解決（現行 .solutions／.solutions-header／.solution-circle ほか） */
.medisapo-top-review #t04 .mtr-issues-solutions{
  background-image:url('../images/frontpage/solutions-bg.png');
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.medisapo-top-review #t04 .mtr-issues-solutions .mtr-issues-inner{ padding-top:100px; padding-bottom:100px; }
.medisapo-top-review #t04 .mtr-issues-sol-header{
  display:flex; align-items:center; justify-content:center; gap:15px;
  margin-bottom:50px;
}
.medisapo-top-review #t04 .mtr-issues-sol-icon{ flex:0 0 auto; width:100px; height:auto; }
.medisapo-top-review #t04 .mtr-issues-sol-title{
  margin:0;
  display:inline-flex; align-items:center; gap:10px;
  font-size:32px; font-weight:700; line-height:1.6; color:#333333; text-align:left;
}
.medisapo-top-review #t04 .mtr-issues-sol-title-wrap{ display:block; }
.medisapo-top-review #t04 .mtr-issues-sol-title-text{
  display:inline-block;
  padding:0 30px;
  background:linear-gradient(transparent 60%, rgba(251,236,6,.6) 60%);
}
.medisapo-top-review #t04 .mtr-issues-lines{ display:flex; align-items:flex-end; gap:4px; padding-bottom:3px; }
.medisapo-top-review #t04 .mtr-issues-line{ display:block; width:2px; background-color:#333333; }
.medisapo-top-review #t04 .mtr-issues-lines--left .mtr-issues-line--outer{ height:20px; transform:rotate(-40deg); }
.medisapo-top-review #t04 .mtr-issues-lines--left .mtr-issues-line--inner{ height:30px; transform:rotate(-30deg); }
.medisapo-top-review #t04 .mtr-issues-lines--right .mtr-issues-line--inner{ height:30px; transform:rotate(30deg); }
.medisapo-top-review #t04 .mtr-issues-lines--right .mtr-issues-line--outer{ height:20px; transform:rotate(40deg); }
.medisapo-top-review #t04 .mtr-issues-sol-list{ display:flex; justify-content:center; gap:50px; }
.medisapo-top-review #t04 .mtr-issues-sol-item{ flex:0 0 280px; }
.medisapo-top-review #t04 .mtr-issues-circle{
  position:relative;
  width:280px; height:280px;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end;
  padding:30px 25px;
  background:#FFFFFF; border-radius:50%;
  box-shadow:0 4px 15px rgba(0,0,0,.1);
  overflow:visible;
}
.medisapo-top-review #t04 .mtr-issues-circle-image{
  position:absolute; top:-10px; left:50%; transform:translateX(-50%);
  width:180px; max-width:none; height:auto;
}
.medisapo-top-review #t04 .mtr-issues-circle-text{
  margin:0;
  font-size:20px; font-weight:700; line-height:1.6; text-align:center; color:#333333;
}

/* 現行TOPと同じ1024px：解決帯の背景をタブレット用へ。ここから下向き矢印を表示 */
@media screen and (max-width:1024px){
  .medisapo-top-review #t04 .mtr-issues-solutions{ background-image:url('../images/frontpage/solutions-bg-tablet.jpg'); }
  .medisapo-top-review #t04 .mtr-issues-problems .mtr-issues-inner{ padding-bottom:40px; }
  .medisapo-top-review #t04 .mtr-issues-arrow{ display:flex; justify-content:center; margin-top:30px; }
}
/* 白丸（280px固定）が3つ並ばない幅は縦積み（現行TOPの≤768と同じ並べ方） */
@media screen and (max-width:959px){
  .medisapo-top-review #t04 .mtr-issues-sol-list{ flex-direction:column; align-items:center; gap:60px; }
  .medisapo-top-review #t04 .mtr-issues-sol-item{ flex:0 0 auto; }
}
/* 現行TOPと同じ768px：SPレイアウト */
@media screen and (max-width:768px){
  .medisapo-top-review #t04 .mtr-issues-solutions{ background-image:url('../images/frontpage/solutions-bg-sp.jpg'); }
  .medisapo-top-review #t04 .mtr-issues-inner{ padding:50px 15px; }
  .medisapo-top-review #t04 .mtr-issues-problems .mtr-issues-inner{ padding-bottom:40px; }
  .medisapo-top-review #t04 .mtr-issues-solutions .mtr-issues-inner{ padding-top:100px; padding-bottom:100px; }
  .medisapo-top-review #t04 .mtr-issues-title{ font-size:24px; }
  .medisapo-top-review #t04 .mtr-issues-box{ padding:30px 20px; }
  .medisapo-top-review #t04 .mtr-issues-list{ flex-direction:column; gap:40px; }
  .medisapo-top-review #t04 .mtr-issues-item-text{ text-align:center; }
  .medisapo-top-review #t04 .mtr-issues-sol-header{ gap:12px; }
  .medisapo-top-review #t04 .mtr-issues-sol-icon{ width:72px; }
  .medisapo-top-review #t04 .mtr-issues-sol-title{ font-size:24px; }
  .medisapo-top-review #t04 .mtr-issues-sol-title-text{
    padding:0 40px;
    background:linear-gradient(transparent 80%, rgba(251,236,6,.6) 70%);
  }
}
/* 599px以下：共有の h2 22px／h3 18px（!important）を #t04 内だけ上書きし、見出しを自然な位置で折り返す */
@media screen and (max-width:599px){
  /* お悩み見出し：アイコン40px＋13文字が1行に収まる大きさ（320pxで18px、390pxで約22.5px、上限24px） */
  .medisapo-top-review #t04 .mtr-issues-title{
    gap:8px;
    font-size:clamp(18px, calc((100vw - 84px) / 13.6), 24px) !important;
    line-height:1.6 !important;
  }
  .medisapo-top-review #t04 .mtr-issues-title-icon{ width:40px; }
  .medisapo-top-review #t04 .mtr-issues-item-title{ font-size:20px !important; line-height:1.5 !important; }
  /* 解決見出し：電球48px。本文は幅10.2emで「メディサポでお悩み／解決します!!」の2行に固定し、マーカーは行ごとに引く */
  .medisapo-top-review #t04 .mtr-issues-sol-header{ gap:8px; }
  .medisapo-top-review #t04 .mtr-issues-sol-icon{ width:48px; }
  .medisapo-top-review #t04 .mtr-issues-sol-title{
    gap:6px;
    font-size:clamp(18px, calc((100vw - 114px) / 10.6), 24px) !important;
    line-height:1.6 !important;
  }
  .medisapo-top-review #t04 .mtr-issues-sol-title-wrap{ max-width:10.2em; }
  .medisapo-top-review #t04 .mtr-issues-sol-title-text{
    display:inline;
    padding:0 .4em;
    -webkit-box-decoration-break:clone; box-decoration-break:clone;
  }
}

/* ------------------------------------------------------------------
   2-K  T06 担当スタッフについて（2026-10-01 明色化）
   配色はテンプレートのインラインstyleで持つ（T08／T11と同じ値）。
   ここではタブレット幅の並びだけを補正する。共有の .mtr-grid3-fluid は
   1199px以下で2列になるため、白カード3枚が「2枚＋1枚」に割れて見える。
   T06のカードは短文1行なので、901〜1199pxは3列を保つ（900px以下は共有どおり1列）。
------------------------------------------------------------------ */
@media screen and (min-width:901px) and (max-width:1199px){
  .medisapo-top-review .mtr-t06 .mtr-grid3-fluid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* ------------------------------------------------------------------
   2-L  T07 対応できる業務（06 SCOPE）カード上部の画像（2026-10-01）
   旧プレースホルダー（.mtr-illust）は900px以下で非表示にされるため流用せず、
   専用クラス .mtr-scope-media に置き換えた。共有の .mtr-grid4／.mtr-illust は変更していない。
   ・4枚とも同一比率 16:7（PC幅225pxで約98px。旧プレースホルダーは96px）
   ・1列／2列で画像が縦に大きくなりすぎないよう、高さに上限（230px）を設ける
     （上限に達する幅だけ縦が詰まるため、object-position の縦位置は人物の顔が残る位置にしてある）
   ・読み込み前は旧プレースホルダーと同じベージュ地を見せ、レイアウトのずれを防ぐ
------------------------------------------------------------------ */
.medisapo-top-review #t07 .mtr-scope-media{
  flex:0 0 auto;
  aspect-ratio:16 / 7;
  max-height:230px;
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(155deg,#FDFAEC 0%,#FBF3E2 100%);
}
.medisapo-top-review #t07 .mtr-scope-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
