/* スマホの記事ページの改善(mobile_v1)。切り替えは inc/config.php の mobile_v1、読み込みは inc/mobile-v1.php。
   すべて body.hm-m1 の中だけ、767px以下(表は600px以下)だけに効く。PC とフラグを切ったときの見た目は変わらない。
   構成: 0.既定で隠す 1.最初の画面 2.読書ドックと目次シート 3.表(積み重ね・文字) 4.本文のあとの案内 5.元の箱を隠す */

/* ==== 0. 既定(767px より広いとき)は、新しい部品を出さない ==== */
body.hm-m1 .m1-hero,
body.hm-m1 .m1-min,
body.hm-m1 .m1-by,
body.hm-m1 .m1-note-line,
body.hm-m1 .m1-end,
body.hm-m1 .m1-dock,
body.hm-m1 .m1-sheet{display:none}

@media(max-width:767px){

/* ==== 1. 最初の画面 ==== */
/* パンくず・元の日付の行・元のアイキャッチは隠す(カテゴリと「約N分」、書いた人の行、全幅の写真が代わりをする) */
body.hm-m1 .hm-breadcrumb,
body.hm-m1 .hm-lr-meta,
body.hm-m1 .hm-single-date,
body.hm-m1 .hm-byline,
body.hm-m1 .hm-lr-thumb:not(.hm-v3-cover-wrap),
body.hm-m1 .hm-single-thumb:not(.hm-v3-cover-wrap){display:none}

/* 全幅の写真(余白の外まで出す。角丸なし) */
body.hm-m1 .m1-hero{display:block;width:100vw;max-width:none;margin:0 0 0 calc(50% - 50vw);padding:0}
body.hm-m1 .m1-hero img{display:block;width:100%;max-width:none;height:auto;border-radius:0;background:var(--v3-wash)}

body.hm-m1 .hm-lr-head,
body.hm-m1 .hm-single-head{margin-top:20px}

/* カテゴリ(左)と「約N分」(右) */
body.hm-m1 .hm-lr-kicker{display:flex;align-items:center;gap:8px;margin:0;color:var(--v3-ink);font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.4}
body.hm-m1 .hm-lr-kicker::before{flex:none;width:20px;height:3px;border-radius:0;background:var(--v3-blue)}
body.hm-m1 .hm-lr-kicker a{display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;color:inherit;text-decoration:none}
body.hm-m1 .m1-min{display:block;margin-left:auto;color:var(--v3-sub);font-size:14px;font-weight:400;letter-spacing:0;line-height:1.4;white-space:nowrap}
body.hm-m1 .hm-single-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
body.hm-m1 .hm-single-head>*{flex:0 0 100%}
body.hm-m1 .hm-single-head>.hm-tag{flex:0 1 auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:-12px 0;padding:0;border:0;border-radius:0;background:none;color:var(--v3-ink);font-size:12px;font-weight:700;line-height:1.4}
body.hm-m1 .hm-single-head>.hm-tag::before{content:"";flex:none;width:20px;height:3px;background:var(--v3-blue)}
body.hm-m1 .hm-single-head>.m1-min{flex:0 1 auto}

/* 題名24px・副題16px */
body.hm-m1 .hm-lr-title,
body.hm-m1 .hm-single-head .hm-single-title{margin:10px 0 0;font-family:inherit;font-size:24px;font-weight:900;line-height:1.4;letter-spacing:.01em}
body.hm-m1 .hm-title-deck{margin-top:8px;color:var(--v3-body-sub);font-size:16px;font-weight:700;line-height:1.6;letter-spacing:.02em}
body.hm-m1 .hm-lr-deck{margin:8px 0 0;color:var(--v3-body-sub);font-family:inherit;font-size:16px;font-weight:700;line-height:1.6;letter-spacing:.02em}

/* 書いた人の行 */
body.hm-m1 .m1-by{display:flex;align-items:center;gap:10px;margin-top:16px;padding-bottom:16px;border-bottom:1px solid var(--v3-line)}
body.hm-m1 .m1-av{flex:none;display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:50%;background:var(--v3-ink);color:#fff;font-size:16px;font-weight:900;line-height:1}
body.hm-m1 .m1-av img{display:block;width:100%;height:100%;border-radius:0;object-fit:cover}
body.hm-m1 .m1-who{flex:1 1 auto;min-width:0}
body.hm-m1 .m1-who strong{display:block;font-size:16px;font-weight:700;line-height:1.4}
body.hm-m1 .m1-who small,
body.hm-m1 .m1-credit{display:block;overflow:hidden;color:var(--v3-sub);font-size:14px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}
body.hm-m1 .m1-credit{flex:1 1 auto;min-width:0}
body.hm-m1 .m1-date{flex:none;margin-left:auto;color:var(--v3-sub);font-size:14px;line-height:1.4;white-space:nowrap}
body.hm-m1 .m1-note-line{display:block;margin:8px 0 0;color:var(--v3-sub);font-size:14px;line-height:1.7}

/* ==== 2. 読書ドックと目次シート ==== */
html.m1-lock,
html.m1-lock body{overflow:hidden}
body.hm-m1 .m1-dock{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom, 0px));z-index:30;display:flex;align-items:center;gap:12px;box-sizing:border-box;width:auto;height:48px;margin:0;padding:0 18px;border:0;border-radius:24px;background:var(--v3-ink);color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.28);font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
body.hm-m1 .m1-dock[hidden]{display:none}
body.hm-m1 .m1-dock:focus-visible{outline:3px solid var(--v3-blue);outline-offset:3px}
body.hm-m1 .m1-dock-label{display:flex;align-items:center;gap:6px;flex:none;font-size:14px;font-weight:900;white-space:nowrap}
body.hm-m1 .m1-dock-label::before{content:"";width:16px;height:11px;border-block:2px solid currentColor;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat}
body.hm-m1 .m1-dock-now{flex:1 1 auto;min-width:0;overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
body.hm-m1 .m1-dock-left{flex:none;font-size:14px;font-style:normal;font-weight:700;white-space:nowrap}
body.hm-m1 .m1-dock-left:empty{display:none}

body.hm-m1 .m1-sheet{position:fixed;inset:0;z-index:35;display:block}
body.hm-m1 .m1-sheet[hidden]{display:none}
body.hm-m1 .m1-dim{position:absolute;inset:0;background:rgba(0,0,0,.48)}
body.hm-m1 .m1-panel{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;box-sizing:border-box;max-height:min(82vh,calc(100dvh - 40px));padding:10px 20px calc(16px + env(safe-area-inset-bottom, 0px));border-radius:20px 20px 0 0;background:#fff;color:var(--v3-ink);animation:m1-up .22s ease-out}
@keyframes m1-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
body.hm-m1 .m1-grab{flex:none;width:40px;height:5px;margin:0 auto 14px;border-radius:3px;background:var(--v3-line)}
body.hm-m1 .m1-sh-head{display:flex;flex:none;align-items:baseline;justify-content:space-between;gap:12px}
body.hm-m1 .m1-sh-head h2{margin:0;font-family:inherit;font-size:18px;font-weight:900;line-height:1.5;letter-spacing:.01em}
body.hm-m1 .m1-sh-head p{margin:0;color:var(--v3-sub);font-size:14px;line-height:1.5}
body.hm-m1 .m1-list{flex:1 1 auto;min-height:0;margin:10px 0 0;padding:0;overflow-y:auto;overscroll-behavior:contain;list-style:none}
body.hm-m1 .m1-list li{margin:0;padding:0;border-top:1px solid var(--v3-line)}
body.hm-m1 .m1-li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:6px;align-items:center;box-sizing:border-box;width:100%;min-height:48px;padding:8px 0;border:0;background:none;color:var(--v3-ink);font:inherit;font-size:16px;line-height:1.5;text-align:left;cursor:pointer}
body.hm-m1 .m1-li:focus-visible{outline:3px solid var(--v3-blue);outline-offset:-3px}
body.hm-m1 .m1-li-no{color:var(--v3-sub);font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}
body.hm-m1 .m1-li-state{color:var(--v3-sub);font-size:14px;font-weight:700;white-space:nowrap}
body.hm-m1 .m1-li.is-done{color:var(--v3-sub)}
body.hm-m1 .m1-li.is-now{font-weight:900}
body.hm-m1 .m1-li.is-now .m1-li-no,
body.hm-m1 .m1-li.is-now .m1-li-state{color:var(--v3-blue)}
body.hm-m1 .m1-sh-foot{display:grid;flex:none;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
body.hm-m1 .m1-sh-foot a,
body.hm-m1 .m1-sh-foot button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;margin:0;padding:0 12px;border:2px solid var(--v3-ink);border-radius:var(--v3-radius);background:#fff;color:var(--v3-ink);font:inherit;font-size:16px;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer}
body.hm-m1 .m1-sh-foot a:focus-visible,
body.hm-m1 .m1-sh-foot button:focus-visible{outline:3px solid var(--v3-blue);outline-offset:2px}

/* ==== 4. 本文のあとの案内 ==== */
body.hm-m1 .m1-end{display:block;margin-top:40px}
body.hm-m1 .hm-lr .hm-lr-main>.m1-end{margin-top:40px}
body.hm-m1 .m1-end :is(a,button):focus-visible{outline:3px solid var(--v3-blue);outline-offset:2px}
body.hm-m1 .m1-label{margin:0;padding-top:14px;border-top:2px solid var(--v3-ink);color:var(--v3-ink);font-family:inherit;font-size:16px;font-weight:900;letter-spacing:.02em;line-height:1.5}
body.hm-m1 .m1-end small{display:block;color:var(--v3-sub);font-size:12px;font-weight:700;line-height:1.5}
body.hm-m1 .m1-end strong{display:block}
body.hm-m1 .m1-ft,
body.hm-m1 .m1-row{color:var(--v3-ink);text-decoration:none}
body.hm-m1 .m1-thumb{display:block;overflow:hidden;border-radius:var(--v3-radius);background:var(--v3-wash)}
body.hm-m1 .m1-thumb img{display:block;width:100%;height:auto;aspect-ratio:800/485;border-radius:0;object-fit:cover}
body.hm-m1 .m1-ft{display:block;margin-top:14px}
body.hm-m1 .m1-ft small{margin-top:10px}
body.hm-m1 .m1-ft strong{margin-top:2px;font-size:18px;font-weight:900;line-height:1.5}
body.hm-m1 .m1-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid var(--v3-line)}
body.hm-m1 .m1-ft+.m1-row{margin-top:16px;border-top:1px solid var(--v3-line)}
body.hm-m1 .m1-row>.m1-text:only-child{grid-column:1/-1}
body.hm-m1 .m1-row .m1-thumb{border-radius:6px}
body.hm-m1 .m1-row strong{margin-top:2px;font-size:16px;font-weight:700;line-height:1.45}

body.hm-m1 .m1-author{margin-top:36px}
body.hm-m1 .m1-who-box{display:flex;align-items:flex-start;gap:14px;margin-top:14px}
body.hm-m1 .m1-who-box>div{min-width:0}
body.hm-m1 .m1-av--l{width:56px;height:56px;font-size:20px}
body.hm-m1 .m1-who-box strong{font-size:18px;font-weight:900;line-height:1.4}
body.hm-m1 .m1-who-box p{margin:2px 0 0;color:var(--v3-body-sub);font-size:14px;line-height:1.6}
body.hm-m1 .m1-who-box .hm-textlink{margin-top:4px}
body.hm-m1 .m1-line-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:52px;margin-top:16px;padding:0 16px;border-radius:var(--v3-radius);background:#00803A;color:#fff;font-size:16px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none}
body.hm-m1 .m1-line-note{margin:8px 0 0;color:var(--v3-sub);font-size:14px;line-height:1.7}

body.hm-m1 .m1-one{margin-top:36px;padding:20px;border-radius:12px;background:var(--v3-wash)}
body.hm-m1 .m1-one p{margin:0;color:var(--v3-ink);font-size:16px;font-weight:700;line-height:1.7}
body.hm-m1 .m1-go{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:52px;margin-top:14px;padding:0 16px;border-radius:var(--v3-radius);background:var(--v3-blue);color:#fff;font-size:16px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none}
body.hm-m1 .m1-one .hm-textlink{margin-top:6px}
body.hm-m1 .m1-end .hm-cta-article{margin-top:36px;padding:20px}
body.hm-m1 .m1-end .hm-notice-exam{margin-top:28px;padding:0;border:0;border-radius:0;background:none}
body.hm-m1 .m1-end .hm-notice-exam p{margin:0;color:var(--v3-sub);font-size:14px;line-height:1.7}

/* ==== 5. 元の箱を隠す(新しい案内が代わりをする。案内の中に入れたものは隠さない) ==== */
body.hm-m1 .hm-lr-main>.hm-notice-exam,
body.hm-m1 .hm-narrow>.hm-notice-exam,
body.hm-m1 .hm-lr-main>.hm-tutor-box,
body.hm-m1 .hm-narrow>.hm-tutor-box,
body.hm-m1 .hm-lr-main>.hm-cta-article,
body.hm-m1 .hm-narrow>.hm-cta-article,
body.hm-m1 section.hm-related,
body.hm-m1 .hm-line-follow--float{display:none!important}
html.hm-line-follow-on body.hm-m1.single-post{padding-bottom:0}

}/* /767px */

/* ==== 3. 表(600px以下) ==== */
@media(max-width:600px){
/* 文字は14px以上(積み重ねない表と図の説明) */
body.hm-m1 .hm-prose.hm-single-body :is(table,th,td,td a,th a,figcaption,figcaption a){font-size:14px}
body.hm-m1 .hm-prose.hm-single-body :is(th,td){line-height:1.7}

/* 見出し行があり、2〜4列で、結合のない表(JS が m1-stack を付ける)は、1行を1つのまとまりにして積む */
body.hm-m1 .hm-prose.hm-single-body .m1-stack-host{margin-right:0;padding-right:0;overflow:visible;border-top:0;background:none}
body.hm-m1 .hm-prose.hm-single-body .m1-stack-host figcaption{position:static;width:auto}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack{display:block;width:100%;min-width:0;table-layout:auto;border:0;border-top:1px solid var(--v3-line)}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack :is(caption,thead,tbody,tfoot){display:block;width:auto;min-width:0;border:0;background:none}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack caption{padding:12px 0 0;font-weight:700;text-align:left}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack tr.m1-hrow{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack tr{display:block;width:auto;padding:14px 0;border:0;border-bottom:1px solid var(--v3-line);background:none}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack tr.m1-hrow{padding:0;border:0}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack th,
body.hm-m1 .hm-prose.hm-single-body table.m1-stack td{position:relative;display:block;box-sizing:border-box;width:auto;min-width:0;margin:0;padding:4px 0 0 5.5em;border:0;background:none;font-size:14px;font-weight:400;line-height:1.7;text-align:left;white-space:normal}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack th::before,
body.hm-m1 .hm-prose.hm-single-body table.m1-stack td::before{content:attr(data-th);position:absolute;left:0;top:4px;width:5em;color:var(--v3-sub);font-size:14px;font-weight:700;line-height:1.7}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack tr>:first-child{position:static;left:auto;padding:0;color:var(--v3-ink);font-size:16px;font-weight:900;line-height:1.5;word-break:normal}
body.hm-m1 .hm-prose.hm-single-body table.m1-stack tr>:first-child::before{content:none}
}

@media(prefers-reduced-motion:reduce){
	body.hm-m1 .m1-panel{animation:none}
}
@media print{
	body.hm-m1 .m1-dock,
	body.hm-m1 .m1-sheet{display:none!important}
}

/* ==== 6. 記事一覧・検索・404・トップ(mobile_v1 の第2弾)。767px以下だけ。PC とフラグを切ったときの見た目は変わらない ==== */
/* 既定(767pxより広いとき)は、新しい部品を出さない。.m1-fl はPCでは行のまま(brの代わり)、先頭の「・」も見える */
body.hm-m1 .m1-kicker,
body.hm-m1 .m1-letter,
body.hm-m1 .m1-route-h,
body.hm-m1 .m1-fare-price,
body.hm-m1 .m1-fare-btn,
body.hm-m1 .m1-404{display:none}
body.hm-m1 .m1-fl{display:block}

@media(max-width:767px){

/* ---- 6-1. 記事一覧(提案04) ---- */
/* 題は小さく、パンくずは隠す(上の 1. で隠してある) */
body.hm-m1 .hm-archive .hm-page-title{margin:16px 0 8px;font-size:22px;font-weight:900;line-height:1.4;letter-spacing:.02em}
body.hm-m1 .hm-archive .hm-lead{margin-top:0}

/* 絞り込みの札は1行で横に送る。右の画面端まで出す。段の見出し(受験前から受験…)は読み上げ用だけ残す */
body.hm-m1 .hm-filter{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:8px calc(-1 * var(--v3-gutter)) 12px -4px;padding:4px var(--v3-gutter) 4px 4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
body.hm-m1 .hm-filter::-webkit-scrollbar{display:none}
body.hm-m1 .hm-filter-group{position:relative;display:flex;flex:none;gap:8px}
body.hm-m1 .hm-filter-group .hm-filter-stage{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
body.hm-m1 .hm-filter .hm-tag{flex:none;scroll-snap-align:start;min-height:44px;white-space:nowrap;font-size:14px}
body.hm-m1 .hm-filter-interview{margin-left:0}

/* 1枚目は大きなカード(画像が上)。ページ2以降は、1枚目から行 */
body.hm-m1 .m1-rows{gap:0}
body.hm-m1 .m1-rows>.hm-article{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:start;height:auto;min-height:44px;padding:14px 0;border:0;border-bottom:1px solid var(--v3-line);border-radius:0;background:none;overflow:visible;transform:none}
body.hm-m1 .m1-rows>.hm-article:hover,
body.hm-m1 .m1-rows>.hm-article:focus-visible{transform:none;border-color:var(--v3-line)}
body.hm-m1 .m1-rows>.hm-article:first-child{border-top:1px solid var(--v3-line)}
body.hm-m1 .m1-rows>.hm-article:focus-visible{outline:3px solid var(--v3-blue);outline-offset:2px}
body.hm-m1 .m1-rows>.hm-article:not(.has-cover) .hm-article-media{display:flex;width:100%;aspect-ratio:800/485;border:0;border-radius:6px;background:var(--v3-wash);overflow:hidden}
body.hm-m1 .m1-rows>.hm-article:not(.has-cover) .hm-article-media img{display:block;width:100%;height:100%;object-fit:cover}
/* 右側: 1行目にカテゴリ・日付(12px)、2行目に題(16px/700、省略しない) */
body.hm-m1 .m1-rows .hm-article-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 0;align-items:baseline;align-content:start;padding:0;min-width:0}
body.hm-m1 .m1-rows .hm-tag{grid-column:1;grid-row:1;padding:0;border:0;border-radius:0;background:none;color:var(--v3-sub);font-size:12px;font-weight:700;line-height:1.5}
body.hm-m1 .m1-rows .hm-article-date{grid-column:2;grid-row:1;margin:0;padding:0;font-size:12px;font-weight:700;line-height:1.5;color:var(--v3-sub)}
body.hm-m1 .m1-rows .hm-article-body:has(.hm-tag) .hm-article-date::before{content:"·";margin:0 .45em}
body.hm-m1 .m1-rows .hm-card-title{grid-column:1/-1;grid-row:2;margin:0;font-size:16px;font-weight:700;line-height:1.45;letter-spacing:.01em;overflow-wrap:anywhere}
body.hm-m1 .m1-rows>.hm-article:hover .hm-card-title{text-decoration:none}
/* 一覧の1枚目(1ページ目)だけ、大きなカード。2px の枠は付けない */
body.hm-m1:not(.paged) .hm-archive .m1-rows>.hm-article:first-child{display:flex;flex-direction:column;gap:0;padding:0 0 18px;border-top:0}
body.hm-m1:not(.paged) .hm-archive .m1-rows>.hm-article:first-child:not(.has-cover) .hm-article-media{border-radius:8px}
body.hm-m1:not(.paged) .hm-archive .m1-rows>.hm-article:first-child .hm-article-body{padding:12px 0 0;width:100%;flex:none;gap:4px 0}
body.hm-m1:not(.paged) .hm-archive .m1-rows>.hm-article:first-child .hm-card-title{font-size:18px;font-weight:900;line-height:1.5}
/* ページ送り */
body.hm-m1 .hm-pagination{margin-top:24px}
body.hm-m1 .hm-pagination .page-numbers{min-width:44px;height:44px;padding:0 14px}

/* ---- 6-2. 404(提案08) ---- */
body.hm-m1 .m1-404{display:block;margin-top:28px}
body.hm-m1 .m1-404 .m1-rows{margin-top:6px}
body.hm-m1 .m1-404 .m1-rows>.hm-article:first-child{border-top:0}
body.hm-m1 .hm-notfound .hm-next-links{margin-top:20px;gap:0 24px}
body.hm-m1 .hm-notfound .hm-textlink{display:inline-flex;align-items:center;min-height:44px}

/* ---- 6-3. トップ(提案05)。1つの .tv2 を縦に並べ、order で組み替える。マークアップは1つだけ ---- */
body.hm-m1 .tv2{display:flex;flex-direction:column}
/* ヒーロー: 器(section と .tv2-hero-in)は消し、中の「文」と「質問の例」を .tv2 の直下の子として並べ替える */
body.hm-m1 .tv2-hero:not(.tv2-hero-soft),
body.hm-m1 .tv2-hero:not(.tv2-hero-soft) .tv2-hero-in{display:contents}
body.hm-m1 .tv2-hero-copy{order:-3;padding:32px var(--v3-gutter) 28px}
body.hm-m1 .tv2-hero-soft{order:-3;padding-bottom:28px}
body.hm-m1 .tv2-mapsec{order:-2;padding-bottom:40px}
body.hm-m1 .tv2-hero-demo{order:-1;padding:0 var(--v3-gutter) 40px}
/* 紹介文とボタン2つは出さない(「質問の例」は下へ移した)。山田さんの言葉が代わりをする */
body.hm-m1 .tv2-hero-side,
body.hm-m1 .tv2-hero-soft .tv2-intro,
body.hm-m1 .tv2-hero-soft .tv2-actions{display:none}
body.hm-m1 .m1-kicker{display:block;margin:0 0 -8px;color:var(--v3-sub);font-size:14px;font-weight:700;letter-spacing:.06em;line-height:1.5}
body.hm-m1 .tv2-letter{display:flex;flex:none;width:100%;box-sizing:border-box;gap:14px;padding:18px 0 0;border:0;border-top:2px solid var(--v3-ink);border-radius:0;background:none}
body.hm-m1 .tv2-letter blockquote{gap:4px}
body.hm-m1 .tv2-letter blockquote p{font-size:16px;font-weight:400;line-height:1.75;letter-spacing:0}
body.hm-m1 .tv2-letter figcaption{padding-top:14px;border-top:0}
body.hm-m1 .tv2-letter-who small{font-size:14px}
body.hm-m1 .tv2-letter-src{font-size:14px}
/* 路線図の節: 題と案内は出さず、「今の段階から見る」の見出しの直下に縦の路線図 */
body.hm-m1 .tv2-map-head{display:none}
body.hm-m1 .m1-route-h{display:block;margin:0;font-size:22px;font-weight:900;line-height:1.4}

/* 講師陣の帯: 3行を札にして1列(入らなければ折り返す) */
body.hm-m1 .tv2-facts-row{display:flex;flex-wrap:wrap;gap:16px 20px;padding:20px 0 28px}
body.hm-m1 .tv2-facts-row>div{flex:1 1 calc(50% - 10px);min-width:0}
body.hm-m1 .tv2-facts-row>div:first-child{flex-basis:100%}
body.hm-m1 .tv2-facts-row dd{display:flex;flex-wrap:wrap;gap:8px}
body.hm-m1 .m1-fb{display:none}
body.hm-m1 .m1-fl{display:block;font-size:14px}
body.hm-m1 .m1-fl:not(:only-child){display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid var(--v3-ink);border-radius:999px;font-weight:700;line-height:1.4}

/* 講師: 大きなカードをやめて、行にする(顔・名前と肩書き・科目・経歴の3行)。番号つきの4つの強みは隠す(DOM には残す) */
body.hm-m1 .tv2-tutors{grid-template-columns:minmax(0,1fr);gap:0}
body.hm-m1 .tv2-tutor{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:14px;row-gap:2px;align-items:start;padding:16px 0;border-top:1px solid var(--v3-line)}
body.hm-m1 .tv2-tutor:first-child{border-top-color:var(--v3-ink)}
body.hm-m1 .tv2-tutor-head{display:contents}
body.hm-m1 .tv2-tutor-mono{grid-column:1;grid-row:1/span 3;width:48px;height:48px;font-size:18px}
body.hm-m1 .tv2-tutor-head>div{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;min-width:0}
body.hm-m1 .tv2-tutor h3{order:1;margin:0;font-size:18px;font-weight:900;line-height:1.4}
body.hm-m1 .tv2-tutor-meta{order:2;font-size:14px;font-weight:400;line-height:1.5}
body.hm-m1 .tv2-tutor .tv2-chips{display:block;grid-column:2;grid-row:2;margin:0;padding:0;font-size:14px;font-weight:700;line-height:1.6}
body.hm-m1 .tv2-tutor .tv2-chips li{display:inline;padding:0;border:0;border-radius:0;background:none;font-size:14px}
body.hm-m1 .tv2-tutor .tv2-chips li+li::before{content:"・"}
body.hm-m1 .tv2-tutor .tv2-facts{display:block;grid-column:2;grid-row:3;margin:0;padding:0;font-size:14px;line-height:1.6}
body.hm-m1 .tv2-tutor .tv2-facts li{display:inline;padding:0;border:0;font-size:14px}
body.hm-m1 .tv2-tutor .tv2-facts li+li::before{content:"／"}
body.hm-m1 .tv2-tutor .tv2-facts li:nth-child(n+4){display:none}
body.hm-m1 .tv2-why{display:none}

/* 料金: サービスごとの1行(印・名前・金額)。詳細のある行は開閉(JS が閉じて始める。JS がなければ全部開いたまま) */
body.hm-m1 .tv2-fare{display:block;padding:0}
body.hm-m1 .tv2-fare-name{position:relative;gap:12px;min-height:56px;padding:12px 0}
body.hm-m1 .tv2-fare-name h3{font-size:16px;font-weight:900;line-height:1.4}
body.hm-m1 .tv2-fare-name p{font-size:14px;line-height:1.5}
body.hm-m1 .m1-fare-price{display:block;flex:none;margin-left:auto;font-size:16px;font-weight:900;line-height:1.4;text-align:right;font-variant-numeric:tabular-nums;letter-spacing:0}
body.hm-m1 .tv2-fare.m1-fare-on .tv2-fare-name{padding-right:28px}
body.hm-m1 .tv2-fare.m1-fare-on .m1-fare-btn{display:block;position:absolute;inset:0;width:100%;margin:0;padding:0;border:0;background:none;color:var(--v3-ink);cursor:pointer}
body.hm-m1 .m1-fare-btn:focus-visible{outline:3px solid var(--v3-blue);outline-offset:2px}
body.hm-m1 .m1-fare-btn::before,
body.hm-m1 .m1-fare-btn::after{content:"";position:absolute;right:2px;top:50%;background:var(--v3-ink);border-radius:1px}
body.hm-m1 .m1-fare-btn::before{width:14px;height:2px;margin-top:-1px}
body.hm-m1 .m1-fare-btn::after{right:8px;width:2px;height:14px;margin-top:-7px}
body.hm-m1 .m1-fare-btn[aria-expanded="true"]::after{display:none}
body.hm-m1 .tv2-fare.m1-fare-closed .tv2-fare-body{display:none}
body.hm-m1 .tv2-fare-body{padding:0 0 16px}
body.hm-m1 .tv2-fare-body.is-one{padding:0 0 8px}
body.hm-m1 .tv2-fare-body.is-one .tv2-fare-big{display:none}
body.hm-m1 .tv2-fare-body>.tv2-ul{display:inline-flex;align-items:center;min-height:44px}

}

/* ==== 7. 固定ページ(受験の最適解・個別指導・履歴書/面接): 目次のバーだけを出す。パンくずは今までどおり (v0.9.227) ==== */
@media (max-width:767px){
	body.hm-m1.hm-m1-page .hm-breadcrumb{display:block}
}
