/* トップページの新しい版(路線図)。クラスは tv2- 接頭辞。ヘッダーとフッターは body.hm-top-v2 のときだけ見た目を合わせる
   色: 墨 #101216 ／ 個別指導 #1D4FD7 ／ 過去問対策WEBアプリ #E2570B ／ 履歴書・面接 #0A7F6E */

/* ==== ヘッダー・フッター(トップだけ) ==== */
body.hm-top-v2{font-family:"Inter Tight","Noto Sans JP",system-ui,-apple-system,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;color:#101216;background:#101216;font-size:16px;line-height:1.8;letter-spacing:.02em}
body.hm-top-v2 #hm-main{background:#fff}
body.hm-top-v2 .hm-header{border-bottom:2px solid #101216}
@media(min-width:1340px){body.hm-top-v2 .hm-header{position:sticky;top:0;z-index:20}}
body.hm-top-v2 .hm-header::before{content:"";display:block;height:12px;background:linear-gradient(to bottom,#1D4FD7 0 4px,#E2570B 4px 8px,#0A7F6E 8px 12px)}
body.hm-top-v2 .hm-brand{font-family:inherit;font-weight:900;letter-spacing:.03em;color:#101216}
body.hm-top-v2 .hm-nav-list a{color:#101216;font-weight:700}
body.hm-top-v2 .hm-header-cta{background:#1D4FD7;border-color:#1D4FD7;color:#fff;border-radius:8px}
body.hm-top-v2 .hm-footer{background:#101216;border-top:1px solid #2B3038}
body.hm-top-v2 a:focus-visible,body.hm-top-v2 button:focus-visible,body.hm-top-v2 summary:focus-visible{outline:3px solid #1D4FD7;outline-offset:3px}
body.hm-top-v2 .hm-footer a:focus-visible,.tv2-next a:focus-visible{outline-color:#fff}
/* 新しい見た目のページ(トップ・/qb/・下層)でヘッダーとフッターを同じにする: main.css の紺・古い灰色が残る所を墨にそろえる */
body.hm-top-v2 .hm-header-login{color:#101216;border-color:#8A93A1}
body.hm-top-v2 .hm-header-login:hover{border-color:#101216;background:#F3F4F6}
@media(max-width:1339px){body.hm-top-v2 .hm-header-login,body.hm-top-v2 .hm-header-login:hover{border-left-color:#D7DBE2;background:none}}
body.hm-top-v2 .hm-tagline{color:#5B6472}
body.hm-top-v2 .hm-nav-list a:hover{color:#101216}
body.hm-top-v2 .hm-nav-list a[aria-current="page"]{color:#101216;border-bottom-color:#101216}
body.hm-top-v2 .hm-skip{color:#101216}
body.hm-top-v2 .hm-footer .hm-line-button{border-radius:8px}

/* ==== 共通 ==== */
.tv2{container-type:inline-size;overflow-x:clip}
.tv2 h1,.tv2 h2,.tv2 h3{font-feature-settings:"palt";word-break:auto-phrase;text-wrap:balance;line-break:strict;color:#101216}
.tv2 p,.tv2 li,.tv2 dd{text-wrap:pretty;line-break:strict}
.tv2 dl,.tv2 dd{margin:0}
.tv2 button{font:inherit;color:inherit}
.tv2-wrap{max-width:1296px;margin:0 auto}
.tv2-num{font-feature-settings:"tnum";letter-spacing:0}
.tv2-arrow{flex:none;transition:transform .25s ease}
a:hover>.tv2-arrow{transform:translateX(5px)}
.tv2-ul{display:inline-flex;align-items:center;min-height:44px;color:#101216;font-weight:700;font-size:14px;text-decoration:underline !important;text-decoration-thickness:1px;text-underline-offset:6px}
.tv2-ul:hover{text-decoration-thickness:2px}
.tv2-btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:60px;padding:0 28px;border-radius:8px;background:#1D4FD7;color:#fff !important;font-weight:700;font-size:17px;transition:transform .2s ease}
.tv2-btn:hover{transform:translateY(-2px)}
.tv2-btn.is-white{background:#fff;color:#101216 !important;min-height:64px;padding:0 32px}
.tv2-h2{font-weight:900;font-size:clamp(28px,3.6cqw,52px);line-height:1.3}
.tv2-h2.is-small{font-size:clamp(24px,2.6cqw,36px)}
.tv2-label{font-size:13px;font-weight:700;color:#5B6472}
.tv2-fine{font-size:12px;color:#5B6472}
.tv2-mark{flex:none;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;letter-spacing:0;line-height:1}
.tv2-mark.is-tutor{background:#1D4FD7;color:#fff}
.tv2-mark.is-qb{background:#E2570B;color:#101216}
.tv2-mark.is-cv{background:#0A7F6E;color:#fff}
.tv2-mark.is-free{border:3px solid #101216}
.tv2-mark[data-mark]::before{content:attr(data-mark)} /* 見出しの中の印は、文字ではなく data-mark から描く(見出しの文字に混ざらない) */
.tv2-chips{display:flex;flex-wrap:wrap;gap:8px}
.tv2-chips li{padding:2px 12px;border:1px solid #101216;border-radius:4px;font-size:14px;font-weight:700}

/* ==== ヒーロー ==== */
.tv2-hero{padding:clamp(32px,5.6cqw,84px) clamp(20px,5cqw,72px) clamp(24px,3.4cqw,48px)}
.tv2-hero-in{display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px 64px}
.tv2-h1{flex:1.5 1 520px;min-width:0;font-weight:900;font-size:clamp(36px,5.6cqw,80px);line-height:1.2;letter-spacing:.01em}
.tv2-hero-side{flex:1 1 340px;min-width:0;display:flex;flex-direction:column;gap:20px;padding-bottom:6px}
.tv2-intro{font-size:clamp(16px,1.3cqw,18px);line-height:1.9}
.tv2-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}
.tv2-actions .tv2-ul{font-size:16px}

/* ==== 読んでほしい記事(横スクロール) ==== */
.tv2-picks{--pk-pad:clamp(12px,5cqw,72px);padding:0 var(--pk-pad) clamp(32px,4cqw,56px)}
.tv2-picks-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;padding-top:clamp(20px,2.4cqw,32px);border-top:1px solid #101216}
.tv2-picks-title{font-weight:900;font-size:clamp(18px,1.6cqw,22px);line-height:1.4}
.tv2-picks-nav{display:flex;align-items:center;gap:8px}
.tv2-picks-nav .tv2-ul{margin-left:8px}
.tv2-picks-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #101216;border-radius:50%;background:#fff;cursor:pointer;transition:background-color .2s ease,opacity .2s ease}
.tv2-picks-btn[hidden]{display:none}
.tv2-picks-btn:hover{background:#E9EBEF}
.tv2-picks-btn:disabled{opacity:.3;cursor:default;background:#fff}
.tv2-picks-btn .tv2-arrow{transition:none}
.tv2 .tv2-picks-row{display:flex;gap:clamp(16px,1.8cqw,24px);margin:16px calc(-1 * var(--pk-pad)) 0;padding:0 var(--pk-pad) 12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pk-pad);overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#C5CAD3 transparent}
.tv2-pick{flex:0 0 clamp(240px,26cqw,340px);scroll-snap-align:start}
.tv2-pick a{display:flex;flex-direction:column;gap:8px;height:100%;color:#101216}
.tv2-pick-img{display:block;width:100%;height:auto;aspect-ratio:800/485;object-fit:cover;border-radius:6px;background:#E9EBEF;transition:transform .3s ease}
.tv2-pick a:hover .tv2-pick-img{transform:translateY(-3px)}
.tv2-pick-cat{margin-top:4px;font-size:12px;font-weight:700;color:#5B6472}
.tv2-pick-title{font-size:15px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tv2-pick a:hover .tv2-pick-title{text-decoration:underline;text-underline-offset:4px}
@container (max-width:559px){
	.tv2-pick{flex-basis:78%}
	.tv2-picks-btn{display:none}
}

/* ==== 路線図 ==== */
.tv2-mapsec{padding:0 clamp(12px,5cqw,72px) clamp(56px,8cqw,112px)}
.tv2-map{max-width:1296px;margin:0 auto;border:2px solid #101216;border-radius:12px;background:#fff;padding:clamp(16px,2.8cqw,40px);display:flex;flex-direction:column;gap:clamp(16px,2.2cqw,28px)}
.tv2-map-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 32px}
.tv2-map-title{font-weight:900;font-size:clamp(20px,2.4cqw,34px);line-height:1.35}
.tv2-map-hint{font-size:13px;color:#5B6472}
.tv2-map:not(.is-js) .tv2-map-hint{display:none}
.tv2-rail{position:relative}
.tv2-band{display:none;position:absolute;top:0;bottom:0;left:0;width:20%;background:#EEF2FB;border-radius:10px;transition:left .35s cubic-bezier(.2,.7,.2,1)}
.tv2-map.is-js .tv2-band{display:block}
.tv2-rail-in{position:relative;display:flex;flex-direction:column;gap:clamp(10px,1.4cqw,18px)}
.tv2-stations,.tv2-dots,.tv2-stops{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.tv2-stbtn{background:transparent;border:0;cursor:pointer;padding:12px 2px 6px;display:flex;flex-direction:column;align-items:center;gap:8px}
.tv2-map:not(.is-js) .tv2-stbtn{cursor:default}
.tv2-st{width:clamp(34px,3.4cqw,48px);height:clamp(34px,3.4cqw,48px);border-radius:50%;border:3px solid #101216;background:#fff;color:#101216;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:clamp(15px,1.5cqw,21px);letter-spacing:0;line-height:1;transition:background-color .2s ease,color .2s ease,transform .2s ease}
.tv2-map.is-js .tv2-stbtn:hover .tv2-st{transform:scale(1.08)}
.tv2-map.is-js .tv2-stbtn[aria-pressed="true"] .tv2-st{background:#101216;color:#fff}
.tv2-st-name{font-weight:700;font-size:clamp(11px,1.2cqw,16px);line-height:1.35;letter-spacing:0;text-align:center}
.tv2-line{display:flex;flex-direction:column;gap:6px;padding-top:clamp(8px,1.2cqw,16px);border-top:1px solid #D7DBE2}
.tv2-line-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 20px;padding:0 6px}
.tv2-line-name{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-weight:700;font-size:clamp(14px,1.3cqw,17px)}
.tv2-line-name .tv2-mark{width:26px;height:26px}
.tv2-line-sub{font-weight:500;font-size:13px;color:#5B6472}
.tv2-line-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:700;color:#101216}
.tv2-track{position:relative;height:24px}
.tv2-bar{position:absolute;top:7px;height:10px;border-radius:5px}
.tv2-line.is-tutor .tv2-bar{background:#1D4FD7}
.tv2-line.is-qb .tv2-bar{background:#E2570B}
.tv2-line.is-cv .tv2-bar{background:#0A7F6E}
.tv2-dots{position:absolute;inset:0;align-items:center;justify-items:center}
.tv2-dot{width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid #101216}
.tv2-stops{text-align:center;font-size:clamp(11px,1.05cqw,13px);line-height:1.4;color:#3C4350;padding-bottom:6px}
.tv2-stops span{padding:0 2px}
.tv2-panels{border-top:2px solid #101216}
.tv2-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:28px 56px;padding-top:clamp(20px,2.6cqw,32px)}
.tv2-panel[hidden]{display:none}
.tv2-map:not(.is-js) .tv2-panel+.tv2-panel{margin-top:32px;border-top:1px solid #D7DBE2}
.tv2-panel-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.tv2-panel-head{display:flex;align-items:center;gap:16px}
.tv2-panel-num{flex:none;width:56px;height:56px;border-radius:50%;background:#101216;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:26px;letter-spacing:0;line-height:1}
.tv2-panel-title{font-weight:900;font-size:clamp(22px,2.2cqw,30px);line-height:1.3}
.tv2-panel-desc{font-size:15px;color:#3C4350}
.tv2-panel-text{color:#3C4350}
.tv2-block{display:flex;flex-direction:column;gap:8px}
.tv2-exam{display:flex;flex-direction:column;border-top:1px solid #D7DBE2}
.tv2-exam>div{display:flex;flex-wrap:wrap;gap:2px 16px;padding:10px 0;border-bottom:1px solid #D7DBE2}
.tv2-exam dt{flex:0 0 auto;min-width:5.5em;font-weight:700}
.tv2-exam dd{flex:1 1 200px;font-size:14px;color:#3C4350}
.tv2-periods{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:10px}
.tv2-period{border:1px solid #C5CAD3;border-radius:8px;padding:12px 16px;display:flex;flex-direction:column;gap:2px}
.tv2-period-v{font-weight:800;font-size:28px;line-height:1.25;letter-spacing:0}
.tv2-period-v small{font-size:14px;font-weight:700;margin-left:2px}
.tv2-period-c{font-size:13px;line-height:1.6;color:#3C4350}
.tv2-panel-use{display:flex;flex-direction:column;gap:8px;min-width:0}
.tv2-rows{display:flex;flex-direction:column;border-bottom:1px solid #D7DBE2}
.tv2-row{display:flex;align-items:center;gap:14px;padding:14px 10px;border-top:1px solid #D7DBE2;color:#101216;transition:background-color .2s ease}
.tv2-row:hover{background:#F3F4F6}
.tv2-row-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.6}
.tv2-row-body strong{word-break:auto-phrase}
.tv2-row-body span{font-size:13px;color:#3C4350}

/* ==== 節 ==== */
.tv2-sec{padding:clamp(56px,8cqw,112px) clamp(20px,5cqw,72px)}
.tv2-sec.is-gray{background:#F3F4F6}
.tv2-stack{display:flex;flex-direction:column;gap:clamp(24px,3.4cqw,44px)}
.tv2-sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 48px}
.tv2-sec-head p{color:#3C4350}

/* 料金 */
.tv2-fares{background:#fff;border:2px solid #101216;border-radius:12px}
.tv2-fare{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 32px;padding:clamp(18px,2.2cqw,28px) clamp(16px,2.6cqw,36px)}
.tv2-fare+.tv2-fare{border-top:1px solid #C5CAD3}
.tv2-fare-name{flex:1 1 260px;min-width:0;display:flex;align-items:center;gap:12px}
.tv2-fare-name h3{font-weight:900;font-size:19px;line-height:1.5}
.tv2-fare-name p{font-size:13px;color:#5B6472}
.tv2-fare-body{flex:2 1 380px;min-width:0;display:flex;flex-direction:column;gap:4px}
.tv2-fare-body>.tv2-ul{align-self:flex-end}
.tv2-fare-body.is-one{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px}
.tv2-fare-big{font-weight:800;font-size:22px}
.tv2-fare-big small{font-size:14px;font-weight:500;color:#3C4350;margin-left:8px}
.tv2-fare-list{display:flex;flex-direction:column}
.tv2-fare-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:0 16px;padding:8px 0}
.tv2-fare-list>div+div{border-top:1px dashed #C5CAD3}
.tv2-fare-list dt small{font-size:13px;color:#5B6472;margin-left:8px}
.tv2-fare-list dt em{display:inline-block;margin-left:8px;padding:0 8px;border-radius:4px;background:#101216;color:#fff;font-size:12px;font-weight:700;font-style:normal;line-height:22px}
.tv2-fare-list dd{font-weight:800;font-size:20px;white-space:nowrap}
.tv2-notes{display:flex;flex-direction:column;gap:4px;font-size:14px;color:#3C4350}

/* 講師 */
.tv2-tutors{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:20px}
.tv2-tutor{border:2px solid #101216;border-radius:12px;padding:clamp(20px,2.6cqw,32px);display:flex;flex-direction:column;gap:18px;color:#101216;transition:transform .2s ease}
.tv2-tutor:hover{transform:translateY(-2px)}
.tv2-tutor-head{display:flex;align-items:center;gap:16px}
.tv2-tutor-mono{flex:none;width:64px;height:64px;border-radius:50%;background:#101216;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:23px;letter-spacing:0;line-height:1}
.tv2-tutor-meta{display:block;font-size:13px;font-weight:700;color:#5B6472;line-height:1.5}
.tv2-tutor h3{font-weight:900;font-size:26px;line-height:1.3}
.tv2-facts{display:flex;flex-direction:column;font-size:15px}
.tv2-facts li{padding:9px 0;border-top:1px dashed #C5CAD3}
.tv2-why{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:20px 28px}
.tv2-why li{display:flex;gap:14px}
.tv2-why li>span{flex:none;width:32px;height:32px;border-radius:50%;border:2px solid #101216;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;letter-spacing:0;line-height:1}
.tv2-why h3{font-weight:900;font-size:17px;line-height:1.6}
.tv2-why p{margin-top:4px;font-size:14px;color:#3C4350}

/* 記事・よくある質問 */
.tv2-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:48px 64px}
.tv2-col{display:flex;flex-direction:column;gap:20px;min-width:0}
.tv2-col-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 24px;min-height:44px}
.tv2-posts,.tv2-faq{display:flex;flex-direction:column;border-bottom:1px solid #C5CAD3}
.tv2-post{display:flex;flex-direction:column;gap:2px;padding:16px 8px;border-top:1px solid #C5CAD3;color:#101216;transition:background-color .2s ease}
.tv2-post:hover{background:#E9EBEF}
.tv2-post span{font-size:13px;color:#5B6472}
.tv2-post strong{line-height:1.6}
.tv2-faq details{border-top:1px solid #C5CAD3}
.tv2-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:6px 8px;font-weight:700;cursor:pointer;list-style:none}
.tv2-faq summary::-webkit-details-marker{display:none}
.tv2-plus{flex:none;transition:transform .2s ease}
.tv2-faq details[open] .tv2-plus{transform:rotate(45deg)}
.tv2-faq p{padding:0 8px 20px;font-size:15px;color:#3C4350}

/* 次の一歩 */
.tv2-next{background:#101216;color:#fff;padding:clamp(56px,7cqw,104px) clamp(20px,5cqw,72px)}
.tv2-next-in{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 64px}
.tv2-next-text{flex:1.4 1 480px;min-width:0;display:flex;flex-direction:column;gap:16px}
.tv2-next .tv2-h2{color:#fff;font-size:clamp(28px,3.8cqw,56px)}
.tv2-next-text p{max-width:32em;color:#D3D7DE}
.tv2-next-act{display:flex;flex-direction:column;gap:10px}
.tv2-next-act span{font-size:13px;color:#B4BAC4}

@container (max-width:559px){
	.tv2-cta-main{flex:1 1 100%}
	.tv2-next-act{flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce){
	.tv2 *{transition:none !important}
}

/* ==== 口頭試験の質問の例(講師と料金のあいだ) ==== */
/* 白い紙のカードに、黒は「言語の選択」と「次の質問」だけ。質問の頭に青い Q */
.tv2-demo-sec{padding:clamp(56px,7cqw,96px) clamp(20px,5cqw,72px)}
.tv2-demo-sec.is-gray{background:#F3F4F6}
.tv2-demo{display:flex;flex-direction:column;gap:clamp(28px,3.6cqw,48px);padding:clamp(24px,4cqw,56px);border:2px solid #101216;border-radius:16px;background:#fff}
.tv2-demo-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.tv2-demo-label{display:flex;gap:16px;font-size:14px;font-weight:700;color:#5B6472}
.tv2-demo-label span{color:#101216}
.tv2-demo-lang{display:inline-flex;padding:4px;border-radius:8px;background:#F3F4F6}
.tv2-demo-lang button{min-height:40px;padding:0 18px;border:0;border-radius:6px;background:none;color:#5B6472;font-weight:700;font-size:14px;cursor:pointer;transition:background .2s ease,color .2s ease}
.tv2-demo-lang button:hover{color:#101216}
.tv2-demo-lang button[aria-pressed="true"]{background:#101216;color:#fff}
.tv2-demo-qs{min-height:2.6em;margin:0;padding:0;list-style:none}
.tv2 .tv2-demo-qs li{display:flex;gap:.45em;font-weight:800;font-size:clamp(26px,3.6cqw,52px);line-height:1.3;color:#101216;text-wrap:balance}
.tv2 .tv2-demo-qs li[hidden]{display:none}
.tv2-demo-qs li::before{content:"Q";flex:none;color:#1D4FD7}
.tv2 .tv2-demo-qs.is-ja li{font-weight:900;font-size:clamp(22px,3cqw,44px);line-height:1.45}
.tv2-demo-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;padding-top:24px;border-top:1px solid #D7DBE2}
.tv2-demo-foot p{flex:1 1 320px;font-size:15px;color:#5B6472}
.tv2-demo-next{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 24px;border:0;border-radius:8px;background:#101216;color:#fff !important;font-weight:700;font-size:16px;cursor:pointer;transition:transform .2s ease}
.tv2-demo-next:hover{transform:translateY(-2px)}
.tv2-demo-next:hover>.tv2-arrow{transform:translateX(5px)}
.tv2-demo button:focus-visible{outline:3px solid #1D4FD7;outline-offset:2px}
@container (max-width:559px){.tv2-demo-next{flex:1 1 100%;justify-content:center}}

/* ==== スマホの小さな直し ==== */
/* 路線図の各線: 名前と補足を左、矢印を右の2列に(矢印が次の行に落ちない) */
@container (max-width:559px){
	.tv2-line-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px}
	.tv2-line-name{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:0 10px}
	.tv2-line-name .tv2-mark{grid-row:1/3;align-self:center}
	.tv2-line-label{grid-column:2}
	.tv2-line-sub{grid-column:2}
	.tv2-line-link{justify-content:center;min-width:44px}
	/* 料金: 回数と補足を2行に重ね、金額は右の列に固定 */
	.tv2-fare-list dt{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
	.tv2-fare-list dt small{flex:0 0 100%;margin-left:0}
	.tv2-fare-list dt em{margin-left:0}
	.tv2-fare-list dd{align-self:center;text-align:right}
}
/* フッター: スマホは1列。リンクは高さ44px以上 */
@media(max-width:767px){
	body.hm-top-v2 .hm-footer-links{grid-template-columns:minmax(0,1fr);gap:0}
	body.hm-top-v2 .hm-footer-links a,body.hm-top-v2 .hm-footer-legal a,body.hm-top-v2 .hm-footer-sns a{display:flex;align-items:center;min-height:44px;padding-top:0;padding-bottom:0}
	body.hm-top-v2 .hm-footer-legal{flex-direction:column;gap:0}
	body.hm-top-v2 .hm-footer-sns{gap:0 24px}
}

/* ==== 穏やかな調子の案(確認用 ?top=soft)。構造は同じ。太さ・大きさ・色の強さだけを落とす ==== */
body.hm-top-soft .tv2-h1{font-weight:700;font-size:clamp(30px,4.3cqw,58px);line-height:1.45;letter-spacing:.03em}
body.hm-top-soft .tv2-h2,body.hm-top-soft .tv2-map-title,body.hm-top-soft .tv2-panel-title{font-weight:700}
body.hm-top-soft .tv2-h2{font-size:clamp(24px,2.8cqw,38px);line-height:1.5}
body.hm-top-soft .tv2-intro{font-size:clamp(16px,1.25cqw,17px);line-height:2;color:#3C4350}
body.hm-top-soft .tv2-btn{min-height:54px;padding:0 24px;background:#fff;color:#101216 !important;box-shadow:inset 0 0 0 2px #101216;font-size:16px}
body.hm-top-soft .tv2-btn:hover{background:#101216;color:#fff !important;transform:none}
body.hm-top-soft .tv2-next{background:#F3F4F6;color:#101216}
body.hm-top-soft .tv2-next .tv2-h2{color:#101216}
body.hm-top-soft .tv2-next-text p{color:#3C4350;line-height:1.9}
body.hm-top-soft .tv2-next-act span{color:#5B6472}
body.hm-top-soft .hm-header-cta{background:#fff;color:#101216;box-shadow:inset 0 0 0 2px #101216}
/* 穏やかな案のヒーロー: 左に見出し・紹介・行動、右に山田さんの言葉(手紙)。地色をわずかに温かくする */
body.hm-top-soft #hm-main{background:#FBFAF7}
body.hm-top-soft .tv2-sec.is-gray,body.hm-top-soft .tv2-demo-sec.is-gray,body.hm-top-soft .tv2-next{background:#F4F2EC}
body.hm-top-soft .tv2-hero-soft{padding-bottom:clamp(36px,5cqw,72px)}
.tv2-soft-in{display:flex;flex-wrap:wrap;align-items:center;gap:36px clamp(32px,6cqw,96px)}
.tv2-soft-main{flex:1.2 1 460px;min-width:0;display:flex;flex-direction:column;gap:clamp(18px,2cqw,26px)}
body.hm-top-soft .tv2-soft-main .tv2-h1{flex:none}
body.hm-top-soft .tv2-soft-main .tv2-intro{max-width:30em}
.tv2-arrow-down{flex:none;transition:transform .25s ease}
a:hover>.tv2-arrow-down{transform:translateY(3px)}
.tv2-letter{flex:1 1 380px;min-width:0;margin:0;background:#fff;border:1px solid #E3DFD4;border-radius:6px;padding:clamp(24px,3cqw,40px) clamp(22px,3cqw,40px) clamp(20px,2.4cqw,28px);display:flex;flex-direction:column;gap:clamp(18px,2.2cqw,28px)}
.tv2-letter blockquote{margin:0;display:flex;flex-direction:column;gap:14px}
.tv2-letter blockquote p{font-size:clamp(17px,1.5cqw,20px);font-weight:500;line-height:2;letter-spacing:.03em;color:#101216;text-wrap:pretty}
.tv2-letter figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;border-top:1px solid #E3DFD4;padding-top:clamp(16px,2cqw,22px)}
.tv2-letter-mono{flex:none;width:44px;height:44px;border-radius:50%;background:#101216;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px;line-height:1}
.tv2-letter-who{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:1.5;font-weight:700}
.tv2-letter-who a{text-decoration:underline !important;text-underline-offset:4px;align-self:flex-start}
.tv2-letter-who small{font-size:12px;font-weight:400;color:#5B6472}
.tv2-letter-src{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#3C4350;text-decoration:underline !important;text-underline-offset:4px}
#tv2-map{scroll-margin-top:120px}
@media(prefers-reduced-motion:no-preference){
	body.hm-top-soft{scroll-behavior:smooth}
	html:has(body.hm-top-soft){scroll-behavior:smooth}
}
.tv2-nb{display:inline-block}
