/* 全ページの新しい見た目(site-v2)。トップ(top-v2.css)・/qb/(qb-v2.css)と同じ色・書体・部品を、残りのページに当てる。
   body.hm-site-v2 のときだけ効く(切り替えは inc/top-v2.php、inc/config.php の site_v2)。ヘッダー・フッターは top-v2.css(body.hm-top-v2)
   やり方: main.css の変数(--hm-*)を上書きし、変数だけでは足りない部品を下で直す。HTML とクラス名は main.css のまま
   色: 墨 #101216 ／ 青 #1D4FD7(主ボタン・リンク・個別指導・口頭試験) ／ 橙 #E2570B(過去問対策WEBアプリ・筆記試験) ／ 緑 #0A7F6E(履歴書・面接、完了の表示)
   構成: 1.変数 2.見出しと文字 3.ボタンとリンク 4.小さな部品 5.カード・一覧 6.次の一歩の帯 7.記事 8.読み物レイアウト 9.フォームと診断 10.サービスのページ 11.購入と手続き 12.記事の図 13.スマホ */

/* ==== 1. 変数(main.css の値を置き換える) ==== */
body.hm-site-v2{
	--hm-navy:#101216;
	--hm-sky:#1D4FD7;
	--hm-sky-tint:#EEF2FB;
	--hm-burgundy:#1D4FD7;
	--hm-burgundy-dark:#163FB0;
	--hm-burgundy-tint:#EEF2FB;
	--hm-text:#101216;
	--hm-ink:#101216;
	--hm-text-sub:#5B6472;
	--hm-bg:#fff;
	--hm-bg-subtle:#F3F4F6;
	--hm-border:#D7DBE2;
	--hm-border-strong:#8A93A1;
	--hm-focus:#1D4FD7;
	--hm-font:"Inter Tight","Noto Sans JP",system-ui,-apple-system,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
	--hm-serif:var(--hm-font);
	--hm-radius:8px;
	--v2-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h17M13 1l5 5-5 5'/%3E%3C/svg%3E");
	--v2-plus:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 1v14M1 8h14'/%3E%3C/svg%3E");
}
body.hm-site-v2 #hm-main{overflow-x:clip}

/* ==== 2. 見出しと文字 ==== */
body.hm-site-v2 .hm-page-title,
body.hm-site-v2 .hm-single-title,
body.hm-site-v2 .hm-h2,
body.hm-site-v2 .hm-h3,
body.hm-site-v2 .hm-card-title,
body.hm-site-v2 .hm-prose h2,
body.hm-site-v2 .hm-prose h3,
body.hm-site-v2 .hm-proc h2,
body.hm-site-v2 .hm-buy h2{font-family:inherit;font-weight:900;letter-spacing:.01em;font-feature-settings:"palt";word-break:auto-phrase;overflow-wrap:anywhere;text-wrap:balance;line-break:strict;color:#101216}
body.hm-site-v2 .hm-page-title{font-size:clamp(30px,4.4vw,52px);line-height:1.3}
body.hm-site-v2 .hm-single-title{font-size:clamp(25px,3.3vw,40px);line-height:1.45}
body.hm-site-v2 .hm-h2{font-size:clamp(24px,2.8vw,36px);line-height:1.35}
body.hm-site-v2 .hm-h3{font-size:clamp(19px,1.8vw,22px);line-height:1.5}
body.hm-site-v2 .hm-prose h2{margin-top:2.8em;font-size:clamp(22px,2.5vw,30px);line-height:1.45}
body.hm-site-v2 .hm-prose h3{margin-top:2.2em;font-size:clamp(18px,1.7vw,21px);line-height:1.55}
body.hm-site-v2 .hm-prose>*:first-child,body.hm-site-v2 .hm-service h2:first-child{margin-top:0}
body.hm-site-v2 .hm-lead{font-size:clamp(16px,1.35vw,18px);line-height:1.9;color:#3C4350}
body.hm-site-v2 .hm-prose{line-height:1.95;letter-spacing:.02em}
body.hm-site-v2 .hm-prose p,body.hm-site-v2 .hm-prose li,body.hm-site-v2 .hm-prose dd{line-break:strict}
body.hm-site-v2 .hm-prose a,body.hm-site-v2 .hm-text a,body.hm-site-v2 .hm-diag-points a,body.hm-site-v2 .hm-faq-answer a{text-decoration-thickness:1px;text-underline-offset:4px}
body.hm-site-v2 .hm-prose a:hover,body.hm-site-v2 .hm-text a:hover,body.hm-site-v2 .hm-faq-answer a:hover{text-decoration-thickness:2px}
/* ページの題名の前の丸い印(個・過・書。template-parts/page-head.php の mark) */
body.hm-site-v2 .hm-page-title.has-mark{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
body.hm-site-v2 .hm-page-title .tv2-mark{width:clamp(34px,3.6vw,46px);height:clamp(34px,3.6vw,46px);font-size:clamp(16px,1.7vw,21px);font-feature-settings:normal}
body.hm-site-v2 .hm-page-head{padding:clamp(28px,3.6vw,48px) 0 clamp(36px,4.6vw,64px)}
body.hm-site-v2 .hm-page-head .hm-page-title{margin-top:0}
body.hm-site-v2 .hm-page-head .hm-lead{margin-top:20px}

/* ==== 3. ボタンとリンク ==== */
/* 主ボタン(青)。ヘッダーのボタンは top-v2.css のままにするため、main の中だけ */
body.hm-site-v2 main .hm-button{gap:14px;min-height:56px;padding:12px 26px;border:0;border-radius:8px;background:#1D4FD7;color:#fff;font-family:inherit;font-size:16px;font-weight:700;line-height:1.45;letter-spacing:.02em;cursor:pointer;transition:transform .2s ease}
body.hm-site-v2 main .hm-button::after{content:"";flex:none;width:18px;height:11px;margin-left:0;background:currentColor;-webkit-mask:var(--v2-arrow) center/contain no-repeat;mask:var(--v2-arrow) center/contain no-repeat;transition:transform .25s ease}
body.hm-site-v2 main .hm-button:hover{background:#1D4FD7;color:#fff;text-decoration:none;transform:translateY(-2px)}
body.hm-site-v2 main .hm-button:hover::after{transform:translateX(5px)}
body.hm-site-v2 main .hm-button.is-secondary{background:#fff;color:#101216;border:2px solid #101216}
body.hm-site-v2 main .hm-button.is-secondary:hover{background:#fff;color:#101216}
body.hm-site-v2 main .hm-button:disabled{opacity:.45;cursor:not-allowed;transform:none}
body.hm-site-v2 main .hm-button:focus-visible{outline:3px solid #1D4FD7;outline-offset:3px}
/* 文字のリンク(下線＋矢印) */
body.hm-site-v2 .hm-textlink{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#101216;font-size:15px;font-weight:700;line-height:1.5;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:currentColor;text-underline-offset:6px}
body.hm-site-v2 .hm-textlink::after{content:"";flex:none;width:16px;height:10px;margin-left:0;background:currentColor;-webkit-mask:var(--v2-arrow) center/contain no-repeat;mask:var(--v2-arrow) center/contain no-repeat;transition:transform .25s ease}
body.hm-site-v2 .hm-textlink:hover{color:#101216;text-decoration-color:currentColor;text-decoration-thickness:2px}
body.hm-site-v2 .hm-textlink:hover::after{transform:translateX(4px)}
body.hm-site-v2 .hm-next-links{gap:4px 28px}

/* ==== 4. 小さな部品 ==== */
/* ラベル(準備中など) */
body.hm-site-v2 .hm-label{margin-left:12px;padding:0 10px;border:1px solid #101216;border-radius:4px;color:#101216;font-size:12px;font-weight:700;line-height:22px;letter-spacing:.02em;font-feature-settings:normal}
body.hm-site-v2 .hm-label.is-free{margin-left:0;border:0;background:#101216;color:#fff}
/* 準備中の一文・囲み */
body.hm-site-v2 .hm-pending,body.hm-site-v2 .hm-prose .is-style-hm-pending{padding:14px 18px;border:1px solid #C5CAD3;border-radius:8px;background:#F3F4F6}
body.hm-site-v2 .hm-note,body.hm-site-v2 .hm-prose .is-style-hm-note{padding:18px 22px;border:2px solid #101216;border-radius:10px;background:#fff}
body.hm-site-v2 .hm-prose .is-style-hm-source{padding:14px 18px;border:0;border-radius:8px;background:#F3F4F6}
body.hm-site-v2 .hm-prose .is-style-hm-point{padding:18px 22px;border:0;border-radius:10px;background:#EEF2FB}
body.hm-site-v2 .hm-prose .is-style-hm-senpai,body.hm-site-v2 .hm-prose .is-style-hm-tutor-memo{padding:48px 22px 20px;border:0;border-radius:10px;background:#F3F4F6}
body.hm-site-v2 .hm-prose .is-style-hm-senpai::before,body.hm-site-v2 .hm-prose .is-style-hm-tutor-memo::before{top:16px;left:22px;padding:0 10px;border-radius:4px;background:#101216;color:#fff;font-size:12px;letter-spacing:.02em;line-height:22px}
body.hm-site-v2 .hm-prose ul.is-style-hm-box,body.hm-site-v2 .hm-prose ol.is-style-hm-box{border:1px solid #C5CAD3;border-radius:10px;background:#F3F4F6}
/* タグ・チップ */
body.hm-site-v2 .hm-tag{padding:0 10px;border:1px solid #101216;border-radius:4px;color:#101216;font-size:12px;font-weight:700;line-height:22px;letter-spacing:.02em}
body.hm-site-v2 a.hm-tag:hover{background:#F3F4F6}
body.hm-site-v2 .hm-prose ul.is-style-hm-chips>li,body.hm-site-v2 .hm-prose ul.hm-subject-list>li{padding:2px 12px;border:1px solid #101216;border-radius:4px;background:#fff;color:#101216;font-size:14px;font-weight:700;line-height:1.7}
/* 番号の丸 */
body.hm-site-v2 .hm-steps>li::before,
body.hm-site-v2 .hm-prose ol.is-style-hm-steps>li::before,
body.hm-site-v2 .hm-course>li::before,
body.hm-site-v2 .hm-prose .hm-lesson-body::before{border:2px solid #101216;font-family:inherit;font-size:15px;font-weight:800;letter-spacing:0}
body.hm-site-v2 .hm-steps.is-row>li:not(:last-child)::after{background:#101216}
body.hm-site-v2 .hm-stage{border-top:2px solid #101216}
body.hm-site-v2 .hm-course-text strong,body.hm-site-v2 .hm-why-list strong{font-weight:900}
/* よくある質問・開閉 */
body.hm-site-v2 .hm-faq{border-top:1px solid #C5CAD3}
body.hm-site-v2 .hm-faq details{border-bottom:1px solid #C5CAD3}
body.hm-site-v2 .hm-prose .wp-block-details{border-color:#C5CAD3}
body.hm-site-v2 .hm-faq summary,body.hm-site-v2 .hm-prose .wp-block-details summary{min-height:60px;padding:14px 8px;font-size:16px;line-height:1.6}
body.hm-site-v2 .hm-faq summary::after,
body.hm-site-v2 .hm-faq details[open] summary::after,
body.hm-site-v2 .hm-prose .wp-block-details summary::after,
body.hm-site-v2 .hm-prose .wp-block-details[open] summary::after{content:"";flex:none;width:16px;height:16px;background:#101216;-webkit-mask:var(--v2-plus) center/contain no-repeat;mask:var(--v2-plus) center/contain no-repeat;transition:transform .2s ease}
body.hm-site-v2 .hm-faq details[open] summary::after,body.hm-site-v2 .hm-prose .wp-block-details[open] summary::after{transform:rotate(45deg)}
body.hm-site-v2 .hm-faq-answer,body.hm-site-v2 .hm-prose .wp-block-details>:not(summary){padding:0 8px 20px;font-size:15px;line-height:1.9;color:#3C4350}
/* パンくず */
body.hm-site-v2 .hm-breadcrumb ol{font-size:13px;color:#5B6472}
body.hm-site-v2 .hm-breadcrumb li+li::before{content:"/";color:#C5CAD3}
body.hm-site-v2 .hm-breadcrumb a{display:inline-block;text-decoration:underline;text-decoration-color:#C5CAD3;text-underline-offset:4px}
body.hm-site-v2 .hm-breadcrumb a:hover{color:#101216;text-decoration-color:currentColor}
/* 本文の表・引用・画像 */
body.hm-site-v2 .hm-prose table{border-top:2px solid #101216}
body.hm-site-v2 .hm-prose th{background:#F3F4F6;color:#101216}
body.hm-site-v2 .hm-prose blockquote{padding-left:20px;border-left:4px solid #101216;font-weight:500}
body.hm-site-v2 .hm-quote{border-top:2px solid #101216}
body.hm-site-v2 .hm-quote blockquote{font-weight:900;letter-spacing:.01em}
/* LINE のボタン(色は LINE の緑のまま) */
body.hm-site-v2 main .hm-line-button{min-height:48px;border-radius:8px}
body.hm-site-v2 .hm-page-updated{font-size:13px}

/* ==== 5. カード・一覧 ==== */
body.hm-site-v2 .hm-card{padding:clamp(20px,2.6vw,32px);border:2px solid #101216;border-radius:12px}
body.hm-site-v2 .hm-card.is-bar,body.hm-site-v2 .hm-card.is-bar-burgundy{padding:24px 0 0;border:0;border-top:2px solid #101216;border-radius:0}
body.hm-site-v2 .hm-card .hm-card-sub{font-size:13px;font-weight:700;letter-spacing:.02em;color:#5B6472}
body.hm-site-v2 .hm-prose .is-style-hm-card{border:2px solid #101216;border-radius:12px}
body.hm-site-v2 .hm-prose .is-style-hm-card:has(.hm-stretch){border-color:#101216;transition:transform .2s ease}
body.hm-site-v2 .hm-prose .is-style-hm-card:has(.hm-stretch):hover{background:#fff;transform:translateY(-2px)}
body.hm-site-v2 .hm-prose a.hm-stretch:focus-visible{outline:3px solid #1D4FD7}
/* 記事カード */
body.hm-site-v2 .hm-article{border:2px solid #101216;border-radius:12px;transition:transform .2s ease}
body.hm-site-v2 .hm-article:hover,body.hm-site-v2 .hm-article:focus-visible{border-color:#101216;transform:translateY(-2px)}
body.hm-site-v2 .hm-article:hover .hm-card-title{text-decoration:none}
body.hm-site-v2 .hm-article-media{border-bottom:2px solid #101216;background:#F3F4F6}
body.hm-site-v2 .hm-article-dot{background:#C5CAD3}
body.hm-site-v2 .hm-article-body{gap:10px;padding:18px 20px 20px}
body.hm-site-v2 .hm-article .hm-card-title{font-size:17px;font-weight:700;line-height:1.6;letter-spacing:.02em;text-wrap:pretty}
body.hm-site-v2 .hm-article-date{font-size:13px;letter-spacing:0;font-feature-settings:"tnum"}
/* 講師カード・講師のページ */
body.hm-site-v2 a.hm-tutor-card{transition:transform .2s ease}
body.hm-site-v2 a.hm-tutor-card:hover{border-color:#101216;transform:translateY(-2px)}
body.hm-site-v2 .hm-tutor-card .hm-card-title{font-size:26px;line-height:1.3}
body.hm-site-v2 .hm-avatar{border:2px solid #101216}
body.hm-site-v2 .hm-card-list li,body.hm-site-v2 .hm-card-list-item{padding:9px 0 0;border-top:1px dashed #C5CAD3;font-size:15px;line-height:1.7}
body.hm-site-v2 .hm-card-list li::before,body.hm-site-v2 .hm-card-list-item::before{content:none}
body.hm-site-v2 .hm-card-list{gap:9px}
body.hm-site-v2 section.hm-card>.hm-card-title{font-size:19px;line-height:1.5}
body.hm-site-v2 .hm-tutor-head .hm-card-sub{font-size:13px;font-weight:700;letter-spacing:.02em;color:#5B6472}
body.hm-site-v2 .hm-tutor-head .hm-page-title{margin-top:4px}
body.hm-site-v2 .hm-tutor-box{padding:20px 22px;border:1px solid #C5CAD3;border-radius:10px}
/* 一覧の絞り込み */
body.hm-site-v2 .hm-archive .hm-page-title{margin-top:clamp(28px,3.6vw,48px)}
body.hm-site-v2 .hm-archive .hm-page-head .hm-page-title{margin-top:0}
body.hm-site-v2 .hm-filter .hm-tag{min-height:44px;padding:0 16px;border:1.5px solid #101216;border-radius:999px;background:#fff;font-size:14px;line-height:1.4;transition:background-color .15s ease,color .15s ease}
body.hm-site-v2 .hm-filter a.hm-tag:hover{background:#F3F4F6}
body.hm-site-v2 .hm-filter .hm-tag[aria-current="page"],body.hm-site-v2 .hm-filter .hm-tag[aria-current="page"]:hover{background:#101216;border-color:#101216;color:#fff}
body.hm-site-v2 .hm-filter span.hm-tag{border-color:#C5CAD3;color:#5B6472}
body.hm-site-v2 .hm-filter-stage,body.hm-site-v2 .hm-stage-label{color:#5B6472;letter-spacing:.02em}
/* ページ送り */
body.hm-site-v2 .hm-pagination .page-numbers{min-width:44px;height:44px;border:1.5px solid #101216;border-radius:8px;color:#101216;font-weight:700;letter-spacing:0}
body.hm-site-v2 .hm-pagination a.page-numbers:hover{background:#F3F4F6}
body.hm-site-v2 .hm-pagination .page-numbers.current{background:#101216;border-color:#101216;color:#fff}
body.hm-site-v2 .hm-pagination .page-numbers.dots{border-color:transparent}

/* ==== 6. 次の一歩の帯(template-parts/next.php)。トップと同じ墨の帯 ==== */
body.hm-site-v2 .hm-band{padding:clamp(48px,6vw,88px) 0;background:#101216;color:#fff}
body.hm-site-v2 .hm-band .hm-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:20px 40px}
body.hm-site-v2 .hm-band.hm-center .hm-wrap{justify-content:center}
body.hm-site-v2 .hm-band .hm-h2{flex:0 0 100%;margin:0;color:#fff;font-size:clamp(26px,3.4vw,44px);line-height:1.3}
body.hm-site-v2 .hm-band .hm-lead{flex:0 0 100%;margin:0;color:#D3D7DE}
body.hm-site-v2 .hm-band .hm-actions,body.hm-site-v2 .hm-band .hm-next-links{margin-top:0}
body.hm-site-v2 main .hm-band .hm-button{min-height:64px;padding:12px 32px;background:#fff;color:#101216;font-size:17px}
body.hm-site-v2 main .hm-band .hm-button:hover{background:#fff;color:#101216}
body.hm-site-v2 main .hm-band .hm-button.is-secondary{background:transparent;border:2px solid #fff;color:#fff}
body.hm-site-v2 .hm-band .hm-textlink,body.hm-site-v2 .hm-band .hm-textlink:hover{color:#fff}
body.hm-site-v2 .hm-band .hm-pending{border-color:#3A404A;background:transparent;color:#D3D7DE}
body.hm-site-v2 .hm-band a:focus-visible{outline-color:#fff}

/* ==== 7. 記事 ==== */
body.hm-site-v2 .hm-single-head{margin-top:clamp(28px,3.6vw,48px)}
body.hm-site-v2 .hm-single-head .hm-single-title{margin-top:14px}
body.hm-site-v2 .hm-single-date{font-size:13px;letter-spacing:0;font-feature-settings:"tnum"}
body.hm-site-v2 .hm-byline{font-size:13px}
body.hm-site-v2 .hm-byline a,body.hm-site-v2 .hm-lr-meta a{color:#101216;text-decoration:underline;text-decoration-color:#C5CAD3;text-underline-offset:4px}
body.hm-site-v2 .hm-single-thumb img{border-radius:12px}
body.hm-site-v2 .hm-cta-article{padding:clamp(22px,2.8vw,32px);border:2px solid #101216;border-radius:12px;background:#fff}
body.hm-site-v2 .hm-cta-article strong{font-size:clamp(19px,1.9vw,22px);font-weight:900;line-height:1.5;letter-spacing:.01em;font-feature-settings:"palt";word-break:auto-phrase;text-wrap:balance;line-break:strict}
body.hm-site-v2 .hm-cta-article .hm-textlink{margin-top:12px;margin-right:24px}
body.hm-site-v2 .hm-related{padding-top:clamp(32px,4vw,48px);border-top:2px solid #101216}
body.hm-site-v2 .hm-single-body .wp-block-table td:first-child,body.hm-site-v2 .hm-prose.hm-approach .wp-block-table td:first-child{color:#101216}

/* ==== 8. 読み物レイアウト(longread.css の色と書体を置き換える) ==== */
body.hm-site-v2.hm-longread-page{--hm-lr-accent:#1D4FD7;--hm-lr-ink:#101216;--hm-lr-muted:#5B6472;--hm-lr-toc:#5B6472;--hm-lr-rule:#D7DBE2;color:#101216}
body.hm-site-v2 .hm-lr-progress{height:4px}
body.hm-site-v2 .hm-lr-kicker{color:#101216;font-size:13px;letter-spacing:.02em}
body.hm-site-v2 .hm-lr-kicker::before{width:28px;height:4px;border-radius:2px;background:#1D4FD7}
body.hm-site-v2 .hm-lr-title{font-size:clamp(28px,4.2vw,52px);font-weight:900;line-height:1.35;letter-spacing:.01em;font-feature-settings:"palt";line-break:strict}
body.hm-site-v2 .hm-lr-deck{color:#3C4350;font-size:clamp(16px,1.9vw,21px);font-weight:700;line-height:1.7;letter-spacing:.02em}
body.hm-site-v2 .hm-lr-meta{border-bottom:2px solid #101216;font-size:13px;letter-spacing:.02em}
body.hm-site-v2 .hm-lr-toc-title{color:#101216;font-size:12px;font-weight:800;letter-spacing:.08em}
body.hm-site-v2 .hm-lr-toc a{font-size:13px;line-height:1.7}
body.hm-site-v2 .hm-lr-toc a.is-active{color:#101216;font-weight:700}
body.hm-site-v2 .hm-lr-toc-no,body.hm-site-v2 .hm-lr .hm-refs .ref-no{font-family:inherit;font-weight:800;letter-spacing:0;font-feature-settings:"tnum"}
body.hm-site-v2 .hm-lr-toc a.is-active .hm-lr-toc-no{color:#1D4FD7}
body.hm-site-v2 .hm-lr-toc a:focus-visible{outline:3px solid #1D4FD7}
body.hm-site-v2 .hm-lr-toc-note{color:#5B6472}
body.hm-site-v2 .hm-lr .hm-lr-body>h2{padding-top:26px;border-top:2px solid #101216;font-size:clamp(22px,2.5vw,30px);font-weight:900;line-height:1.45;letter-spacing:.01em}
body.hm-site-v2 .hm-lr .hm-lr-body>h2[data-hm-toc]::before{color:#1D4FD7;font-family:inherit;font-size:15px;font-weight:800;letter-spacing:0}
body.hm-site-v2 .hm-lr .hm-lr-body a{text-decoration-color:currentColor}
body.hm-site-v2 .hm-lr .citation a{font-weight:700}
body.hm-site-v2 .hm-lr-thumb img,body.hm-site-v2 .hm-lr .hm-lr-body :is(.hero-figure,.photo-figure,.timeline-figure) img{border-radius:12px;background:#F3F4F6}
body.hm-site-v2 .hm-lr .hm-lr-body>.timeline-figure img{border-radius:0;background:none}
body.hm-site-v2 .hm-lr .hm-lr-body figcaption a{text-decoration-color:#C5CAD3}
body.hm-site-v2 .hm-lr .table-wrap{border-top:2px solid #101216}
body.hm-site-v2 .hm-lr .table-wrap table{border-top:0}
body.hm-site-v2 .hm-lr .table-wrap thead{background:#F3F4F6}
body.hm-site-v2 .hm-lr .table-wrap th{background:none}
body.hm-site-v2 .hm-lr .hm-refs{border-top:2px solid #101216}
body.hm-site-v2 .hm-lr .hm-refs h2{font-size:21px;font-weight:900}
body.hm-site-v2 .hm-lr .hm-refs li{border-bottom-color:#D7DBE2}
body.hm-site-v2 .hm-lr .hm-refs li:target{background:#EEF2FB}
body.hm-site-v2 .hm-lr .hm-refs .references-intro{color:#5B6472}

/* ==== 9. フォームと無料学習診断 ==== */
body.hm-site-v2 .hm-field input[type=text],body.hm-site-v2 .hm-field input[type=email],body.hm-site-v2 .hm-field select,body.hm-site-v2 .hm-field textarea,
body.hm-site-v2 .hm-crow-body input[type=text],body.hm-site-v2 .hm-crow-body input[type=email],body.hm-site-v2 .hm-crow-body select,body.hm-site-v2 .hm-crow-body textarea{min-height:52px;border:1.5px solid #101216;border-radius:8px;color:#101216}
body.hm-site-v2 .hm-field input[type=radio],body.hm-site-v2 .hm-field input[type=checkbox],body.hm-site-v2 .hm-crow-radios input{accent-color:#1D4FD7}
body.hm-site-v2 .hm-req{padding:0 8px;border:1px solid #101216;border-radius:4px;color:#101216;line-height:20px}
body.hm-site-v2 .hm-crow-req{padding:0 8px;border-radius:4px;background:#101216;line-height:22px}
body.hm-site-v2 .hm-form-errors{padding:16px 20px;border:2px solid #101216;border-radius:10px;background:#fff}
body.hm-site-v2 .hm-form-done{border:0;border-radius:10px;background:#E6F4F1}
body.hm-site-v2 .hm-notify{border-top:2px solid #101216}
/* 診断(1画面1問) */
body.hm-site-v2 .hm-diag-bar{height:6px;border-radius:3px;background:#D7DBE2;overflow:hidden}
body.hm-site-v2 .hm-diag-bar i{border-radius:3px;background:#1D4FD7}
body.hm-site-v2 .hm-diag-count{font-size:13px;font-weight:700;letter-spacing:0;font-feature-settings:"tnum";color:#101216}
body.hm-site-v2 .hm-diag-q{font-size:clamp(22px,2.8vw,30px);font-weight:900;line-height:1.45;letter-spacing:.01em;font-feature-settings:"palt";line-break:strict}
body.hm-site-v2 .hm-diag-note.is-strong{padding:14px 18px;border:0;border-radius:10px;background:#EEF2FB;font-size:16px}
body.hm-site-v2 .hm-diag-opt{padding:14px 18px;border:2px solid #D7DBE2;border-radius:10px;font-size:16px;font-weight:500}
body.hm-site-v2 .hm-diag-opt:hover{border-color:#8A93A1;background:#fff}
body.hm-site-v2 .hm-diag-opt.is-selected{padding:14px 18px;border-color:#1D4FD7;background:#EEF2FB}
body.hm-site-v2 .hm-diag-opt.is-multi{padding-left:52px}
body.hm-site-v2 .hm-diag-opt.is-multi::before{left:18px;border:2px solid #101216;border-radius:5px}
body.hm-site-v2 .hm-diag-opt.is-multi[aria-pressed="true"]{padding:14px 18px 14px 52px;border-color:#1D4FD7;background:#EEF2FB}
body.hm-site-v2 .hm-diag-opt.is-multi[aria-pressed="true"]::before{left:18px;border-color:#1D4FD7;background-color:#1D4FD7}
body.hm-site-v2 .hm-diag-back{min-height:44px;color:#101216;font-weight:700;text-decoration-thickness:1px;text-underline-offset:6px}
body.hm-site-v2 .hm-diag-h3{border-top:2px solid #101216;font-size:19px;font-weight:900}
body.hm-site-v2 .hm-diag-period-value{font-size:36px;font-weight:800;letter-spacing:0;line-height:1.3}
body.hm-site-v2 .hm-diag-points li::before{background:#101216}

/* ==== 10. サービスのページ(個別指導・履歴書/面接・受験の最適解)の図・表・一覧 ==== */
body.hm-site-v2 .hm-prose .hm-diagram{padding:clamp(18px,2.6vw,32px);border:2px solid #101216;border-radius:12px;background:#fff}
body.hm-site-v2 .hm-prose .hm-diagram-label,body.hm-site-v2 .hm-prose .hm-lesson-when,body.hm-site-v2 .hm-prose .hm-price-label,body.hm-site-v2 .hm-prose .hm-route-kind,body.hm-site-v2 .hm-prose.hm-approach .hm-kind{font-size:13px;letter-spacing:.02em}
body.hm-site-v2 .hm-prose .hm-diagram-label{color:#5B6472}
body.hm-site-v2 .hm-prose .hm-node{border:1px solid #101216;border-radius:8px}
body.hm-site-v2 .hm-prose .hm-node.is-oral{border-color:#1D4FD7;background:#1D4FD7;color:#fff}
body.hm-site-v2 .hm-prose .hm-legend2 li::before{border:1px solid #101216;border-radius:50%}
body.hm-site-v2 .hm-prose .hm-legend2 li.is-oral::before{border-color:#1D4FD7;background:#1D4FD7}
body.hm-site-v2 .hm-prose ol.hm-timeline>li+li::before{content:"";height:12px;background:#101216;-webkit-mask:var(--v2-arrow) center/contain no-repeat;mask:var(--v2-arrow) center/contain no-repeat}
body.hm-site-v2 .hm-prose .hm-phase{border:1px solid #101216;border-radius:8px}
body.hm-site-v2 .hm-prose .hm-phase>strong{font-weight:900;letter-spacing:.01em}
/* 要点(番号つき) */
body.hm-site-v2 .hm-prose ol.hm-doing>li{border-top:2px solid #101216}
body.hm-site-v2 .hm-prose ol.hm-doing>li::before{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-bottom:12px;border:2px solid #101216;border-radius:50%;color:#101216;font-family:inherit;font-size:14px;font-weight:800;letter-spacing:0;line-height:1}
body.hm-site-v2 .hm-prose ol.hm-doing strong{font-size:18px;font-weight:900;letter-spacing:.01em}
body.hm-site-v2 .hm-prose ol.hm-doing span{color:#3C4350}
/* 引用風の強調文 */
body.hm-site-v2 .hm-prose .hm-pull{padding:22px 0;border-top:2px solid #101216;border-bottom:1px solid #C5CAD3;font-size:clamp(19px,2vw,24px);font-weight:900;line-height:1.7;letter-spacing:.01em}
body.hm-site-v2 .hm-prose .hm-pull strong{font-weight:900}
/* 授業の進み方 */
body.hm-site-v2 .hm-prose .hm-lesson-when{color:#5B6472}
body.hm-site-v2 .hm-prose ol.hm-lesson>li:not(:last-child)>.hm-lesson-body::after{left:17px;border-left:2px solid #101216}
body.hm-site-v2 .hm-prose .hm-lesson-body>strong{font-weight:900;letter-spacing:.01em}
body.hm-site-v2 .hm-prose ol.hm-lesson>li.is-core>.hm-lesson-body::before{border-color:#1D4FD7;background:#1D4FD7;color:#fff}
body.hm-site-v2 .hm-prose ol.hm-lesson>li.is-core>.hm-lesson-body::after{border-left-color:#1D4FD7}
body.hm-site-v2 .hm-prose ul.hm-lesson-points{padding:14px 18px;border:0;border-radius:10px;background:#EEF2FB}
body.hm-site-v2 .hm-prose ul.hm-lesson-points>li::before{background:#1D4FD7}
/* 料金 */
body.hm-site-v2 .hm-prose .hm-price-plan{border:2px solid #101216;border-radius:12px}
body.hm-site-v2 .hm-prose .hm-price-plan.is-recommended{border:2px solid #1D4FD7;box-shadow:inset 0 0 0 1px #1D4FD7}
body.hm-site-v2 .hm-prose .hm-price-label{color:#101216;font-weight:700}
body.hm-site-v2 .hm-prose .hm-price-plan.is-recommended .hm-price-label{color:#1D4FD7}
body.hm-site-v2 .hm-prose .hm-price-amount{font-weight:800;letter-spacing:0;font-feature-settings:"tnum"}
body.hm-site-v2 .hm-prose .hm-price-amount small{font-weight:700;letter-spacing:.02em}
body.hm-site-v2 .hm-prose .hm-price .hm-price-use{border-top:1px dashed #C5CAD3;color:#3C4350}
/* 受験の最適解: 筆記=橙(過去問対策WEBアプリの色)、口頭=青(個別指導の色)、書類=白 */
body.hm-site-v2 .hm-prose.hm-approach .hm-node{border:1px solid #101216;border-left-width:8px}
body.hm-site-v2 .hm-prose.hm-approach .hm-node.is-written{border-color:#101216;border-left-color:#E2570B;background:#fff;color:#101216}
body.hm-site-v2 .hm-prose.hm-approach .hm-node.is-oral{border-color:#101216;border-left-color:#1D4FD7;background:#fff;color:#101216}
body.hm-site-v2 .hm-prose.hm-approach .hm-node.is-doc{border-color:#101216;border-left-color:#C5CAD3}
body.hm-site-v2 .hm-prose.hm-approach .hm-node.is-oral small{color:#5B6472}
body.hm-site-v2 .hm-prose.hm-approach .hm-kind,body.hm-site-v2 .hm-prose.hm-approach .is-written .hm-kind,body.hm-site-v2 .hm-prose.hm-approach .is-oral .hm-kind{color:#101216}
body.hm-site-v2 .hm-prose.hm-approach .hm-prep{border-top:1px dashed #C5CAD3}
body.hm-site-v2 .hm-prose.hm-approach .hm-legend2 li.is-written::before{border-color:#E2570B;background:#E2570B}
body.hm-site-v2 .hm-prose.hm-approach .hm-legend2 li.is-oral::before{border-color:#1D4FD7;background:#1D4FD7}
body.hm-site-v2 .hm-prose .hm-route-item{padding:clamp(20px,2.4vw,28px);border:2px solid #101216;border-radius:12px}
body.hm-site-v2 .hm-prose .hm-route-kind{display:flex;align-items:center;gap:8px;color:#101216}
body.hm-site-v2 .hm-prose .hm-route-kind::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:#E2570B}
body.hm-site-v2 .hm-prose .is-oral .hm-route-kind{color:#101216}
body.hm-site-v2 .hm-prose .is-oral .hm-route-kind::before{background:#1D4FD7}
body.hm-site-v2 .hm-prose .hm-route-name{font-weight:900;letter-spacing:.01em}
body.hm-site-v2 .hm-prose .hm-route-scope{border-top:1px dashed #C5CAD3;border-bottom:1px dashed #C5CAD3}
body.hm-site-v2 .hm-prose .hm-route-link a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#101216;text-decoration-thickness:1px;text-underline-offset:6px}
body.hm-site-v2 .hm-prose .hm-route-link a::after{content:"";flex:none;width:16px;height:10px;margin-left:0;background:currentColor;-webkit-mask:var(--v2-arrow) center/contain no-repeat;mask:var(--v2-arrow) center/contain no-repeat}
body.hm-site-v2 .hm-prose .hm-approach-cta{padding:clamp(22px,2.8vw,32px);border:2px solid #101216;border-radius:12px;background:#fff}
/* 星印は出さない(DBの本文に残っていても隠す)。青い縦線は .hm-emph の罫線 */
body.hm-site-v2 .hm-prose .hm-star{display:none}
body.hm-site-v2 .hm-approach .hm-emph{border-left:4px solid #1D4FD7}
body.hm-site-v2 .hm-prose .hm-pagelinks a{color:#101216;font-weight:700}

/* ==== 11. 購入と手続きの画面(.hm-proc、プラグインの .hm-buy)・404 ==== */
body.hm-site-v2 .hm-proc .hm-page-title{font-size:clamp(26px,3.2vw,36px)}
body.hm-site-v2 .hm-proc h2{font-size:20px}
body.hm-site-v2 .hm-proc-card,body.hm-site-v2 .hm-proc-section{padding:22px 24px;border:2px solid #101216;border-radius:12px}
body.hm-site-v2 .hm-proc-card.is-ok{border:0;background:#E6F4F1}
body.hm-site-v2 .hm-proc-card.is-wait{border:0;background:#F3F4F6}
body.hm-site-v2 .hm-proc-card.is-alert{border:2px solid #101216;background:#fff}
body.hm-site-v2 .hm-proc a:not(.hm-button){color:#101216;font-weight:700;text-underline-offset:4px}
body.hm-site-v2 .hm-buy h2{font-size:20px}
body.hm-site-v2 .hm-buy-test{border:1px solid #C5CAD3;border-radius:8px;background:#F3F4F6}
body.hm-site-v2 .hm-buy-card{padding:clamp(20px,2.6vw,28px);border:2px solid #101216;border-radius:12px}
body.hm-site-v2 .hm-buy .hm-buy-card-h{font-size:13px;font-weight:700;letter-spacing:.02em;color:#5B6472}
body.hm-site-v2 .hm-buy-product strong{font-weight:900}
body.hm-site-v2 .hm-buy-amount{font-size:36px;font-weight:800;letter-spacing:0;font-feature-settings:"tnum"}
body.hm-site-v2 .hm-buy .hm-buy-facts{border-top:1px dashed #C5CAD3}
body.hm-site-v2 .hm-buy-details{border-color:#C5CAD3}
body.hm-site-v2 .hm-buy-details summary{text-decoration-color:currentColor;text-underline-offset:6px}
body.hm-site-v2 .hm-buy .hm-offer-price{font-size:20px;font-weight:800;letter-spacing:0}
body.hm-site-v2 .hm-buy .hm-badge{padding:0 10px;border-radius:4px;background:#101216;color:#fff;font-size:12px;font-weight:700;line-height:22px}
body.hm-site-v2 .hm-buy #hm-stripe-msg:not(:empty){padding:14px 18px;border:2px solid #101216;border-radius:10px;background:#fff}
body.hm-site-v2 .hm-buy-links a,body.hm-site-v2 .hm-buy-login a{color:#101216;font-weight:700;text-underline-offset:4px}
body.hm-site-v2 .hm-notfound{padding:clamp(48px,7vw,96px) 0 clamp(64px,9vw,128px)}
body.hm-site-v2 .hm-notfound .hm-lead{margin-top:20px}
body.hm-site-v2 .hm-notfound .hm-next-links{margin-top:28px}

/* ==== 12. 記事の図(.hm-fig など)。色は本文の style 属性に直接書いてあるので、古い色を属性の値で拾って置き換える ====
   紺 #173A5E→墨、空色 #5798C5→青、エンジ #8A3445→橙(白い文字が乗る面は墨の文字にする)。本文(投稿の内容)は書き換えていない */
body.hm-site-v2 .hm-prose [style*="color:#173A5E" i],body.hm-site-v2 .hm-prose [style*="color:#22282E" i],body.hm-site-v2 .hm-prose [style*="color:#1E2935" i],body.hm-site-v2 .hm-prose [style*="color:#8A3445" i]{color:#101216 !important}
body.hm-site-v2 .hm-prose [style*="color:#5F666D" i]{color:#5B6472 !important}
body.hm-site-v2 .hm-prose [style*="background:#173A5E" i]{background:#101216 !important}
body.hm-site-v2 .hm-prose [style*="background:#5798C5" i]{background:#1D4FD7 !important}
body.hm-site-v2 .hm-prose [style*="background:#8A3445" i]{background:#E2570B !important;color:#101216 !important}
body.hm-site-v2 .hm-prose [style*="background:#FBF1F3" i]{background:#FFF1E4 !important}
body.hm-site-v2 .hm-prose [style*="background:#DCE9F5" i]{background:#EEF2FB !important}
body.hm-site-v2 .hm-prose [style*="background:#F6F5F1" i],body.hm-site-v2 .hm-prose [style*="background:#ECE9E1" i]{background:#F3F4F6 !important}
body.hm-site-v2 .hm-prose [style*="background:#C9D2DB" i]{background:#C5CAD3 !important}
body.hm-site-v2 .hm-prose [style*="solid #173A5E" i]{border-color:#101216 !important}
body.hm-site-v2 .hm-prose [style*="solid #5798C5" i]{border-color:#1D4FD7 !important}
body.hm-site-v2 .hm-prose [style*="solid #8A3445" i]{border-color:#E2570B !important}
body.hm-site-v2 .hm-prose [style*="solid #DEDDD8" i]{border-color:#D7DBE2 !important}
body.hm-site-v2 .hm-prose [style*="solid #6B7280" i]{border-color:#8A93A1 !important}
body.hm-site-v2 .hm-prose [style*="border-color:#c9d2db" i]{border-color:#C5CAD3 !important}
body.hm-site-v2 .hm-prose .hm-fig{border-radius:12px !important}

/* ==== 13. スマホ ==== */
@media(max-width:767px){
	body.hm-site-v2 .hm-prose{font-size:16px}
	body.hm-site-v2 .hm-card{padding:20px}
	body.hm-site-v2 .hm-band .hm-actions{flex:1 1 100%}
	body.hm-site-v2 main .hm-band .hm-button{width:100%;justify-content:space-between}
	body.hm-site-v2 .hm-prose ol.hm-timeline>li+li::before{left:50%;top:-30px;width:20px;transform:translateX(-50%) rotate(90deg)}
	body.hm-site-v2 .hm-proc-card,body.hm-site-v2 .hm-proc-section{padding:18px 16px}
	body.hm-site-v2 .hm-diag-period-value{font-size:30px}
	body.hm-site-v2 .hm-single-body .wp-block-table th:first-child{background:#F3F4F6}
}
@media(max-width:560px){
	body.hm-site-v2 main .hm-proc .hm-button,body.hm-site-v2 main .hm-buy .hm-offer .hm-button{width:100%;justify-content:space-between}
}
@media(prefers-reduced-motion:reduce){
	body.hm-site-v2 *,body.hm-site-v2 *::before,body.hm-site-v2 *::after{transition:none !important}
}

/* 記事ページの LINE 友だち追加カード(template-parts/line-follow.php・inc/line-follow.php)。閉じるまでは JS が is-ready を付けてから出す */
.hm-line-follow{display:none;position:relative;font-family:"Inter Tight","Noto Sans JP",sans-serif;color:#101216}
.hm-line-follow.is-ready{display:block}
.hm-line-follow[hidden]{display:none!important}
.hm-line-follow-text{margin:0 28px 10px 0;font-size:13px;font-weight:700;line-height:1.6}
.hm-line-follow-button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:8px;background:#00803A;color:#fff!important;font-size:14px;font-weight:700;line-height:1.4;text-decoration:none!important}
.hm-line-follow-button:hover{background:#006B31}
.hm-line-follow-button:focus-visible,.hm-line-follow-close:focus-visible{outline:2px solid #1D4FD7;outline-offset:2px}
.hm-line-follow-close{position:absolute;top:6px;right:6px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#101216;font-size:20px;line-height:1;cursor:pointer}
.hm-line-follow-close:hover{background:#E5E7EB}
.hm-line-follow--side{margin-top:28px;padding:16px;border-radius:12px;background:#F3F4F6}
.hm-line-follow--float{position:fixed;z-index:90;right:16px;bottom:16px;width:260px;padding:16px;border:2px solid #101216;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(16,18,22,.12)}
/* PCで目次の横にカードがあるときは、下に固定する版を出さない */
@media(min-width:1001px){body:has(.hm-line-follow--side) .hm-line-follow--float{display:none!important}}
@media(max-width:1000px){
	.hm-line-follow--float{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom, 0px));width:auto;display:none;padding:12px 48px 12px 14px;align-items:center;gap:12px}
	.hm-line-follow--float.is-ready{display:flex}
	.hm-line-follow--float .hm-line-follow-text{flex:1;margin:0;font-size:12px}
	.hm-line-follow--float .hm-line-follow-button{flex:none;min-height:40px;font-size:13px}
	.hm-line-follow--float .hm-line-follow-close{top:50%;transform:translateY(-50%)}
	html.hm-line-follow-on body.single-post{padding-bottom:96px}
}
@media print{.hm-line-follow{display:none!important}}
