/* =========================================================
   経路ページ（/access/access_◯◯route.html）のFV
   文字なし画像 /newimg/clinic/access_etc/mv_access.webp の上に
   エリアごとのコピーをテキストで重ねる。
   使い方：
   <div class="contentsBoxImgBox routeMv">
     <img src="/newimg/clinic/access_etc/mv_access.webp" alt="…" width="731" height="736">
     <p class="routeMv__main">◯◯駅から最短◯分</p>   ← 線の上（青・大）目安17文字まで
     <p class="routeMv__sub">◯◯◯◯◯◯</p>            ← 線の下（黒・小）目安24文字まで
   </div>
   このクラス名を使っていないページには影響しない。
   ========================================================= */
.routeMv {
    position: relative;
    container-type: inline-size;
}

.routeMv img {
    display: block;
    width: 100%;
    height: auto;
}

.routeMv__main,
.routeMv__sub {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 3%;
    text-align: center;
    white-space: nowrap;
    font-family: "Noto Serif JP", "Noto Serif CJK JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    font-feature-settings: "palt" 1;
}

/* 線（画像の上から約91%）の上：青の大きい文字 */
.routeMv__main {
    top: 82.8%;
    color: #0f61f7;
    font-size: 6cqw;
}

/* 線の下：黒の小さい文字 */
.routeMv__sub {
    top: 92.6%;
    color: #000;
    font-size: 3.8cqw;
}
