/* AI集客マニア（テックライフ配下メディア）専用スタイル。/asset/css/style.css の上に重ねる */
.m-hero { background: var(--navy); color: #fff; padding: 120px 0 56px; }
.m-crumb { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.m-crumb a { color: rgba(255,255,255,0.75); }
.m-crumb a:hover { color: #fff; }
.m-meta { display: flex; gap: 14px; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.m-cat { border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 2px 12px; }
.m-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 900; line-height: 1.5; margin: 0 0 20px; }
.m-title-sub { font-size: 0.7em; font-weight: 700; color: #00C3E3; }
.m-byline { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.m-body-wrap { background: var(--bg); padding: 56px 0 80px; }
.m-article { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 48px 44px 56px; }
@media (max-width: 640px) { .m-article { padding: 28px 18px 40px; } }

.m-article p { font-size: 0.98rem; line-height: 2; color: var(--text); margin: 0 0 20px; }
/* 見出しは上の線と余白で区切る（左に縦線は付けない） */
.m-article h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 64px 0 20px; padding-top: 20px; border-top: 2px solid var(--navy); line-height: 1.5; }
.m-article h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0 0 8px; display: flex; gap: 12px; align-items: baseline; line-height: 1.6; }
.m-no { display: inline-flex; min-width: 2em; height: 2em; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 800; flex: none; }
.m-item { margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--border); }
.m-lead { font-weight: 700; color: var(--navy); margin-bottom: 14px !important; }

.m-summary { background: var(--bg); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 28px; }
.m-summary-h, .m-toc-h, .m-recap-h { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; color: var(--navy); margin: 0 0 10px !important; }
.m-summary ul { margin: 0 0 12px; padding-left: 1.2em; }
.m-summary li { font-size: 0.95rem; line-height: 1.9; margin-bottom: 4px; }
.m-note { font-size: 0.85rem !important; color: var(--muted) !important; margin: 0 !important; }

.m-toc { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 8px; }
.m-toc ol { margin: 0; padding-left: 1.4em; }
.m-toc li { font-size: 0.92rem; line-height: 2; }
.m-toc a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.m-slide { margin: 24px 0 28px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.m-slide img { display: block; width: 100%; height: auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.m-slide p { margin: 0 !important; padding: 12px 18px; font-size: 0.88rem !important; line-height: 1.8 !important; }
.m-slide p span { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; border-radius: 4px; padding: 1px 8px; margin-right: 10px; }
.m-judge { background: #EAF8FC; }
.m-judge span { background: var(--navy); color: #fff; }

.m-recap { background: var(--navy); border-radius: var(--radius); padding: 22px 26px; margin: 48px 0 0; }
.m-recap .m-recap-h { color: #00C3E3; }
.m-recap p { color: #fff !important; margin: 0 !important; font-size: 0.95rem !important; }
.m-recap .m-recap-h { margin-bottom: 8px !important; }

.m-term { background: var(--bg); border-radius: 10px; padding: 12px 16px; font-size: 0.88rem !important; line-height: 1.8 !important; }
.m-slidenote { font-size: 0.85rem !important; color: var(--muted) !important; }
.m-voice { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; background: #fff; font-size: 0.92rem !important; }
.m-order { padding-left: 1.3em; }
.m-order li { font-size: 0.95rem; line-height: 1.9; margin-bottom: 10px; }
.m-article ul:not(.m-order) li { font-size: 0.95rem; line-height: 1.9; margin-bottom: 6px; }
.m-cta-text a { color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* トップページ・一覧 */
.m-top-hero { background: var(--navy); color: #fff; padding: 140px 0 72px; }
.m-top-name { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin: 0 0 8px; }
.m-top-sub { color: #00C3E3; font-weight: 800; letter-spacing: 0.08em; margin: 0 0 20px; }
.m-top-lead { max-width: 640px; color: rgba(255,255,255,0.85); line-height: 2; margin: 0; }
.m-top-main { background: var(--bg); padding: 64px 0 80px; }
.m-top-h { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 0 0 20px; }
.m-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 56px; }
.m-card { background: #fff; border-radius: var(--radius); padding: 24px; display: block; }
.m-card:hover { box-shadow: 0 8px 24px rgba(7,25,46,0.12); }
.m-card-cat { font-size: 0.75rem; font-weight: 800; color: #0a8aa6; margin: 0 0 8px; }
.m-card-title { font-size: 1rem; font-weight: 800; color: var(--navy); line-height: 1.7; margin: 0 0 10px; }
.m-card-date { font-size: 0.78rem; color: var(--muted); margin: 0; }
.m-cats { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.m-cats li { background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 0.88rem; font-weight: 700; color: var(--navy); }

.m-note-date { background: #FFF8E5; border-radius: 10px; padding: 12px 16px; font-size: 0.88rem !important; line-height: 1.8 !important; }

.m-point { background: var(--navy); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 8px; }
.m-point strong { color: #fff; font-size: 1.05rem; line-height: 1.8; }
.m-judge strong { color: var(--navy); }

/* 見やすさ調整(2026-11-26): スライドを大きく、文字を大きく、区切りをはっきり */
.m-article { max-width: 940px; padding: 56px 56px 64px; }
@media (max-width: 640px) { .m-article { padding: 24px 16px 40px; } }
.m-article > p, .m-article li { font-size: 1.05rem; line-height: 2; }
.m-article h2 { font-size: 1.5rem; margin: 72px 0 24px; border-top-width: 3px; }
.m-article h2:first-of-type { margin-top: 40px; }
.m-slide { margin: 28px -24px 36px; border-radius: 14px; box-shadow: 0 6px 24px rgba(7,25,46,0.10); border: none; }
@media (max-width: 760px) { .m-slide { margin-left: 0; margin-right: 0; } }
.m-slide img { border: none; }
.m-judge { padding: 18px 26px !important; font-size: 1.08rem !important; line-height: 1.9 !important; }
.m-point strong { font-size: 1.2rem; }
.m-point { padding: 26px 30px; }
.m-note-date { font-size: 0.9rem !important; }
.m-order li { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.m-hero { padding: 120px 0 64px; }
.m-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }

/* 箇条書きの位置を本文の左端にそろえる */
.m-article ul, .m-article ol { margin: 0 0 28px; padding-left: 1.6em; list-style-position: outside; }
.m-article ul { list-style-type: disc; }
.m-article ol { list-style-type: decimal; }
.m-article li { padding-left: 0.2em; margin-bottom: 10px; }
.m-article ul + p, .m-article ol + p { margin-top: 8px; }
.m-article li a { overflow-wrap: anywhere; }

/* 実施リスト */
.m-check { border: 2px solid var(--navy); border-radius: var(--radius); background: #fff; overflow: hidden; margin: 12px 0 8px; }
.m-article .m-check-h { background: var(--navy); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: 0.08em; margin: 0 !important; padding: 12px 24px; }
.m-article .m-check ol { list-style: none; margin: 0; padding: 0; }
.m-article .m-check li { margin: 0; padding: 0; border-top: 1px solid var(--border); }
.m-article .m-check li:first-child { border-top: none; }
.m-check a { display: flex; gap: 14px; align-items: flex-start; padding: 18px 24px; color: var(--navy); text-decoration: none; }
.m-check a:hover { background: #EAF8FC; }
.m-box { flex: none; width: 24px; height: 24px; margin-top: 3px; border: 2.5px solid var(--navy); border-radius: 6px; background: #fff; }
.m-step { flex: none; margin-top: 4px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: #fff; background: #0a8aa6; border-radius: 4px; padding: 2px 8px; white-space: nowrap; }
.m-check-t { font-size: 1.05rem; font-weight: 800; line-height: 1.7; }
.m-check-t small { display: block; margin-top: 2px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
@media (max-width: 640px) { .m-check a { flex-wrap: wrap; padding: 16px 16px; } .m-check-t { flex: 1 1 100%; } }

/* スキル確認の反映(2026-11-26): 改行・行の長さ・行間・図の見出し・キーボード操作 */
.m-article h1, .m-article h2, .m-title, .m-judge, .m-check-t, .m-article p, .m-article li { line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
.m-title, .m-article h2 { text-wrap: balance; }
.m-article > p, .m-article > ul, .m-article > ol { max-width: 34em; }
.m-article > p, .m-article li { line-height: 1.9; }
.m-slide figcaption { margin: 0; padding: 18px 26px; font-size: 1.08rem; line-height: 1.8; background: #EAF8FC; }
.m-slide figcaption strong { color: var(--navy); }
.m-slide img { height: auto; }
.m-check a { transition: background-color 0.15s ease; }
.m-check a:focus-visible { outline: 3px solid #00C3E3; outline-offset: -3px; }
.m-article a:focus-visible { outline: 3px solid #00C3E3; outline-offset: 2px; border-radius: 2px; }

/* 文字で読む(SEO用の文字情報を、目立たない形で残す) */
.m-more { border-top: 1px solid var(--border); }
.m-more summary { cursor: pointer; list-style: none; padding: 10px 26px; font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.m-more summary::-webkit-details-marker { display: none; }
.m-more summary::before { content: "+"; display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; font-size: 0.8rem; line-height: 1; }
.m-more[open] summary::before { content: "−"; }
.m-more summary:hover { color: var(--navy); }
.m-more summary:focus-visible { outline: 3px solid #00C3E3; outline-offset: -3px; }
.m-more-body { padding: 4px 26px 20px; }
.m-article .m-more-body p, .m-more-body li { font-size: 0.9rem; line-height: 1.85; color: var(--text); max-width: none; margin: 0 0 8px; }
.m-more-body ul, .m-more-body ol { margin: 0 0 8px; padding-left: 1.5em; max-width: none !important; }

/* 取り組みの見出し(番号つき)と、文字で読むの中の表 */
.m-article h3.m-h3 { font-size: 1.15rem; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.m-article h2 + h3.m-h3 { margin-top: 28px; border-top: none; padding-top: 0; }
.m-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; line-height: 1.7; margin: 4px 0 8px; }
.m-table th, .m-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.m-table th { background: var(--bg); color: var(--navy); font-weight: 700; }
@media (max-width: 640px) { .m-table { font-size: 0.78rem; } }

/* 長編: 章の結論(太字)・折りたたみ目次 */
.m-lead-bold { background: var(--bg); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 20px; }
.m-lead-bold strong { color: var(--navy); font-size: 1.05rem; line-height: 1.9; }
.m-toc-fold { border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; margin: 8px 0 24px; max-width: 34em; }
.m-toc-fold summary { cursor: pointer; padding: 14px 0; font-weight: 800; color: var(--navy); font-size: 0.95rem; }
.m-toc-fold ol { margin: 0 0 14px; padding-left: 1.5em; }
.m-toc-fold li { font-size: 0.92rem; line-height: 2; margin: 0; padding: 0; }
.m-toc-fold a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.m-svg { display: block; width: 100%; height: auto; }
.m-slide .m-svg { border-bottom: 1px solid var(--border); }
