/* MGK 2026-11-06: AI導入・研修の相談導線。変更した3ページだけに適用。 */
.mgk-refreshed { --r3-purple:#6847df; --r3-purple-dark:#4f30b7; --r3-ink:#25212e; --r3-muted:#5d5768; --r3-line:#dfd9e9; --r3-soft:#f6f3fc; --r3-serif:"Hiragino Mincho ProN","Yu Mincho",serif; --r3-sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; color:var(--r3-ink); }
.mgk-refreshed #content { display:block!important; width:100%!important; max-width:none!important; padding:0!important; margin:0!important; }
.mgk-refreshed #main_content { width:100%!important; max-width:none!important; margin:0!important; padding:0!important; float:none!important; }
.mgk-refreshed #body_wrap { overflow:clip; }
.mgk-refreshed ::selection { background:#e4dafc; color:#292038; }
.mgk-refreshed :focus-visible { outline:3px solid var(--r3-purple-dark); outline-offset:5px; }
.mgk-refreshed #mgk-static-top { min-width:48px; min-height:48px; font-size:13px!important; }
.r3-skip { position:fixed; top:8px; left:16px; z-index:100000; transform:translateY(-160%); padding:12px 20px; background:#fff; color:#39237f; border:2px solid #6847df; }
.r3-skip:focus { transform:translateY(0); }
.mgk-r3 { font-family:var(--r3-sans); color:var(--r3-ink); background:#fff; font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
.mgk-r3 *, .mgk-r3 *::before, .mgk-r3 *::after { box-sizing:border-box; }
.mgk-r3 h1,.mgk-r3 h2,.mgk-r3 h3 { font-family:var(--r3-serif); color:var(--r3-ink); font-weight:700; letter-spacing:-.025em; line-height:1.55; padding:0; margin:0; background:none; border:0; text-wrap:balance; }
.mgk-r3 h1::before,.mgk-r3 h1::after,.mgk-r3 h2::before,.mgk-r3 h2::after,.mgk-r3 h3::before,.mgk-r3 h3::after { content:none; }
.mgk-r3 h1 { font-size:clamp(32px,3.65vw,52px); line-height:1.55; }
.mgk-r3 h1 span { color:var(--r3-purple-dark); }
.mgk-r3 h2 { font-size:clamp(25px,2.45vw,35px); margin-bottom:26px; }
.mgk-r3 h3 { font-size:23px; margin-bottom:16px; }
.mgk-r3 p { margin:0 0 20px; }
.mgk-r3 a { color:var(--r3-purple-dark); text-underline-offset:.24em; text-decoration-thickness:1px; }
.mgk-r3 a:hover { color:#392178; }
.mgk-r3 ul,.mgk-r3 ol { margin:0; padding-left:1.4em; }
.mgk-r3 li { margin-bottom:10px; }
.mgk-r3 [id] { scroll-margin-top:104px; }
.r3-container { width:min(1080px,calc(100% - 96px)); margin-inline:auto; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .mgk-search-results { width:calc(100% - 40px)!important; max-width:1120px!important; margin:0 auto!important; padding:40px 0 64px!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .mgk-search-results h1 { margin-bottom:24px!important; }
.mgk-r3 .mgk-search-results a { color:var(--r3-purple-dark)!important; }
.r3-section { padding:76px 0; }
.r3-section + .r3-section { border-top:1px solid var(--r3-line); }
.r3-hero { padding:70px 0 62px; }
.r3-hero h1 { margin-bottom:27px; }
.r3-hero-grid { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:56px; align-items:center; }
.r3-lead { font-size:19px; font-weight:600; line-height:1.9; }
.r3-hero-copy>p:not(.r3-lead) { color:var(--r3-muted); }
.r3-actions { display:flex; align-items:stretch; flex-wrap:wrap; gap:12px; margin:29px 0 16px; }
.mgk-r3 .r3-button { display:inline-flex; justify-content:space-between; align-items:center; gap:20px; min-height:54px; padding:13px 22px; border:1px solid var(--r3-purple); border-radius:7px; background:var(--r3-purple); color:#fff; font-size:15px; line-height:1.7; font-weight:700; text-decoration:none; transition:background .18s ease,border-color .18s ease; }
.mgk-r3 .r3-button:hover { color:#fff; background:var(--r3-purple-dark); border-color:var(--r3-purple-dark); }
.mgk-r3 .r3-button-secondary { background:#fff; color:var(--r3-purple-dark); border-color:#9e8acb; }
.mgk-r3 .r3-button-secondary:hover { color:var(--r3-purple-dark); background:#f0eafb; border-color:var(--r3-purple-dark); }
.mgk-r3 .r3-note { color:var(--r3-muted); font-size:14px; line-height:1.85; margin-bottom:0; }
.r3-process { padding:30px 0 30px 30px; border-left:1px solid #cfc4e4; }
.mgk-r3 .r3-process h2 { font-size:27px; margin-bottom:26px; }
.mgk-r3 .r3-process ol { list-style:none; padding:0; counter-reset:workflow; }
.mgk-r3 .r3-process li { position:relative; padding:0 0 22px 32px; margin:0 0 20px; border-bottom:1px solid var(--r3-line); counter-increment:workflow; }
.mgk-r3 .r3-process li:last-child { border-bottom:0; padding-bottom:0; margin-bottom:0; }
.r3-process li::before { content:counter(workflow); position:absolute; left:0; top:0; font-family:var(--r3-serif); font-size:20px; color:var(--r3-purple-dark); }
.r3-process strong,.r3-process span { display:block; }
.r3-process strong { font-size:15px; margin-bottom:6px; }
.r3-process span { font-size:14px; line-height:1.8; color:var(--r3-muted); }
.r3-choices { background:var(--r3-soft); }
.r3-two-paths { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; }
.r3-two-paths>article { padding:8px 42px 0 0; }
.r3-two-paths>article+article { border-left:1px solid #d4cce3; padding:8px 0 0 42px; }
.r3-text-link { font-weight:700; font-size:15px; display:inline-block; padding-block:5px; }
.r3-text-link span { display:inline-block; margin-left:8px; }
.r3-intro { max-width:52em; color:var(--r3-muted); margin-bottom:32px!important; }
.r3-example { display:grid; grid-template-columns:260px 1fr; gap:50px; padding:30px 0; border-top:1px solid var(--r3-line); }
.r3-example:first-of-type { margin-top:34px; }
.r3-example:last-of-type { padding-bottom:0; }
.r3-label { display:block; color:var(--r3-muted); font-size:13px; margin-bottom:9px; }
.r3-example-title { font-weight:700; font-size:19px; margin-bottom:12px!important; }
.r3-tinted { background:var(--r3-soft); }
.r3-detail { border-top:1px solid #cbc2dd; margin:0; }
.r3-detail:last-child { border-bottom:1px solid #cbc2dd; }
.r3-detail summary { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:23px 0; list-style:none; cursor:pointer; font-size:19px; font-weight:700; line-height:1.65; }
.r3-detail summary::-webkit-details-marker { display:none; }
.r3-detail summary:hover { color:var(--r3-purple-dark); }
.r3-plus { width:20px; height:20px; position:relative; flex:0 0 20px; }
.r3-plus::before,.r3-plus::after { content:""; position:absolute; background:var(--r3-purple-dark); }
.r3-plus::before { width:16px; height:2px; top:9px; left:2px; }
.r3-plus::after { width:2px; height:16px; top:2px; left:9px; }
.r3-detail[open] .r3-plus::after { display:none; }
.r3-detail-body { padding:0 0 30px; max-width:900px; }
.r3-detail-body p:last-child { margin-bottom:0; }
.r3-ai-split { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin:0 0 23px; }
.r3-ai-split dt { color:var(--r3-purple-dark); font-weight:700; margin:0 0 8px; }
.r3-ai-split dd { margin:0; }
.r3-resource-list { border-top:1px solid var(--r3-line); }
.r3-resource-list a { display:grid; grid-template-columns:240px 1fr 24px; align-items:center; gap:25px; padding:24px 0; border-bottom:1px solid var(--r3-line); text-decoration:none; }
.r3-resource-list a>span:first-child { font-size:14px; color:var(--r3-muted); }
.r3-resource-list strong { font-size:18px; }
.r3-resource-list a:hover strong { text-decoration:underline; text-underline-offset:.3em; }
.r3-company { display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.r3-company h3 { font-size:21px; }
.mgk-r3 .r3-services { list-style:none; padding:0; display:grid; grid-template-columns:1fr 1fr; column-gap:55px; margin-bottom:24px; }
.r3-services li { border-bottom:1px solid var(--r3-line); margin:0!important; }
.r3-services a { display:block; padding:17px 0; }
.r3-closing { background:#eee8fa; }
.r3-closing p { max-width:58em; }
.r3-closing h2 { max-width:28em; }
.mgk-r3 .r3-news { padding:0; list-style:none; margin-bottom:24px; }
.r3-news li { display:grid; grid-template-columns:110px 1fr; gap:20px; padding:17px 0; margin:0!important; border-bottom:1px solid var(--r3-line); }
.r3-news time { color:var(--r3-muted); font-size:14px; font-variant-numeric:tabular-nums; }
.r3-news a { color:var(--r3-ink); }
.r3-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; border-top:1px solid var(--r3-line); border-bottom:1px solid var(--r3-line); padding:20px 0; margin:30px 0; }
.r3-facts dt { color:var(--r3-muted); font-size:13px; margin-bottom:5px; }
.r3-facts dd { margin:0; font-weight:600; font-size:15px; }
.r3-role { display:grid; grid-template-columns:260px 1fr; gap:50px; padding:30px 0; border-top:1px solid var(--r3-line); }
.r3-role p:last-child { margin-bottom:0; }
.r3-syllabus .r3-detail-body { max-width:850px; }
.r3-syllabus ol li { padding:9px 0; border-bottom:1px solid var(--r3-line); margin-bottom:0; }
.r3-reading { max-width:820px; }
.r3-reading h3 { font-size:22px; margin:32px 0 14px; }
.r3-reading h3:first-child { margin-top:0; }
.r3-reading ul,.r3-reading ol { margin-bottom:22px; }
.r3-definition { margin:0; }
.r3-definition>div { display:grid; grid-template-columns:180px 1fr; gap:30px; padding:20px 0; border-top:1px solid var(--r3-line); }
.r3-definition dt { font-weight:700; }
.r3-definition dd { margin:0; }
.r3-inline-links { display:flex; flex-wrap:wrap; gap:14px 24px; }
.r3-contact-hero { padding-bottom:35px; }
.r3-contact-promise { color:var(--r3-purple-dark); font-weight:600; margin-top:24px!important; margin-bottom:0!important; font-size:15px; }
.r3-contact-paths { padding-top:30px; padding-bottom:60px; }
.r3-contact-choice .r3-button { margin:6px 0 15px; width:100%; }
.r3-external-note { font-size:14px; color:var(--r3-muted); margin:25px 0 0!important; }
.r3-general-form { margin-top:25px; }
.r3-general-form .r3-note { margin-top:15px; }
.mgk-r3 .r3-category-list { display:grid; grid-template-columns:1fr 1fr; gap:0 35px; padding:0; list-style:none; }
.r3-category-list li { margin:0!important; }
.r3-category-list a { display:flex; justify-content:space-between; gap:20px; padding:14px 0; border-bottom:1px solid var(--r3-line); font-size:15px; }
.mgk-r3 .r3-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:34px; padding:0; list-style:none; counter-reset:steps; }
.r3-steps li { counter-increment:steps; margin:0!important; }
.r3-steps li::before { content:counter(steps); font-family:var(--r3-serif); font-size:28px; color:var(--r3-purple-dark); display:block; margin-bottom:12px; }
.r3-steps h3 { font-size:20px; }
.r3-message-example { margin:25px 0; padding:24px 28px; background:var(--r3-soft); border:0; color:var(--r3-ink); }
.r3-message-example p { margin:0; }
.r3-phone { font-size:26px; font-variant-numeric:tabular-nums; }
.r3-context,.r3-selected { margin-top:24px; }
.r3-selected { padding:20px 24px; border:1px solid var(--r3-line); }
.mgk-r3 [hidden] { display:none!important; }
/* Override legacy article rules inside these three new content areas only. */
#mgk-site.mgk-refreshed #main_content.mgk-r3 h2 { font-size:clamp(25px,2.45vw,35px)!important; line-height:1.55!important; color:var(--r3-ink)!important; border:0!important; padding:0!important; margin:0 0 26px!important; background:none!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 h3 { font-size:23px!important; line-height:1.55!important; color:var(--r3-ink)!important; border:0!important; padding:0!important; margin:0 0 16px!important; background:none!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 p { font-size:inherit!important; line-height:1.9!important; font-weight:400!important; color:var(--r3-ink)!important; margin:0 0 20px!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-lead { font-size:19px!important; font-weight:600!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-note { font-size:14px!important; line-height:1.85!important; color:var(--r3-muted)!important; margin-bottom:0!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-intro { color:var(--r3-muted)!important; margin-bottom:32px!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-example-title { font-size:19px!important; font-weight:700!important; margin-bottom:12px!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-process h2 { font-size:27px!important; margin-bottom:26px!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-reading h3 { font-size:22px!important; margin:32px 0 14px!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-reading h3:first-child { margin-top:0!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-contact-promise { font-size:15px!important; color:var(--r3-purple-dark)!important; font-weight:600!important; margin:24px 0 0!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-external-note { font-size:14px!important; color:var(--r3-muted)!important; margin:25px 0 0!important; }
#mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-message-example p { margin:0!important; }
@media (max-width:1000px) {
 .r3-hero-grid { grid-template-columns:1fr; gap:34px; }
 .r3-process { border-left:0; border-top:1px solid var(--r3-line); padding:26px 0 0; }
 .mgk-r3 .r3-process ol { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
 .mgk-r3 .r3-process li { border-bottom:0; padding-bottom:0; margin-bottom:0; }
 .r3-example,.r3-role { grid-template-columns:220px 1fr; gap:30px; }
 .r3-two-paths>article { padding-right:26px; }
 .r3-two-paths>article+article { padding-left:26px; }
}
@media (max-width:640px) {
 .r3-container { width:calc(100% - 48px); }
 .mgk-r3 { font-size:15px; line-height:1.9; }
 .r3-hero { padding:32px 0 38px; }
 .mgk-r3 h1 { font-size:clamp(26px,7.25vw,36px); line-height:1.6; letter-spacing:-.035em; }
 .r3-hero h1 { margin-bottom:20px; }
 .mgk-r3 h2 { font-size:25px; line-height:1.65; margin-bottom:22px; }
 .mgk-r3 h3 { font-size:22px; }
 .r3-desktop { display:none; }
 .r3-lead { font-size:17px; line-height:1.85; }
 .r3-hero-copy>p { margin-bottom:16px; }
 .r3-actions { display:grid; gap:10px; margin:22px 0 14px; }
 .mgk-r3 .r3-button { width:100%; min-height:52px; padding:13px 17px; font-size:15px; gap:12px; }
 .mgk-r3 .r3-note { font-size:13px; }
 .r3-hero-grid { gap:28px; }
 .mgk-r3 .r3-process ol { grid-template-columns:1fr; gap:16px; }
 .r3-process strong { margin-bottom:2px; }
 .r3-process span { font-size:13px; }
 .r3-section { padding:44px 0; }
 .r3-two-paths { grid-template-columns:1fr; }
 .r3-two-paths>article { padding:0 0 26px; }
 .r3-two-paths>article+article { padding:26px 0 0; border-left:0; border-top:1px solid #d4cce3; }
 .r3-example,.r3-role { grid-template-columns:1fr; gap:9px; padding:25px 0; }
 .r3-example h3,.r3-role h3 { margin-bottom:6px; }
 .r3-label { margin-bottom:4px; }
 .r3-example-title { font-size:17px; }
 .r3-ai-split { grid-template-columns:1fr; gap:17px; }
 .r3-detail summary { font-size:17px; padding:20px 0; }
 .r3-resource-list a { grid-template-columns:1fr 20px; gap:6px 15px; padding:20px 0; }
 .r3-resource-list a>span:first-child { grid-column:1/-1; font-size:13px; }
 .r3-resource-list strong { font-size:16px; }
 .r3-company { grid-template-columns:1fr; gap:30px; }
 .mgk-r3 .r3-services { grid-template-columns:1fr; }
 .r3-facts { grid-template-columns:1fr; gap:14px; margin:24px 0; }
 .r3-facts>div { display:grid; grid-template-columns:86px 1fr; gap:8px; }
 .r3-facts dt { margin:0; align-self:start; }
 .r3-facts dd { font-size:14px; }
 .r3-definition>div { grid-template-columns:1fr; gap:7px; padding:18px 0; }
 .r3-definition dd { font-size:15px; }
 .r3-contact-hero { padding-bottom:24px; }
 .r3-contact-paths { padding-top:16px; }
 .r3-contact-paths h2 { font-size:21px; }
 .r3-contact-promise { font-size:14px; margin-top:18px!important; }
 .mgk-r3 .r3-category-list { grid-template-columns:1fr; }
 .mgk-r3 .r3-steps { grid-template-columns:1fr; gap:24px; }
 .r3-steps li { padding-left:39px; position:relative; }
 .r3-steps li::before { position:absolute; left:0; top:-5px; }
 .r3-steps h3 { margin-bottom:9px; }
 .r3-steps p { margin-bottom:0; }
 .r3-message-example { padding:20px; }
 .r3-news li { grid-template-columns:1fr; gap:6px; }
 .r3-news time { font-size:13px; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 h2 { font-size:25px!important; margin-bottom:22px!important; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 h3 { font-size:22px!important; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-lead { font-size:17px!important; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-note { font-size:13px!important; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-example-title { font-size:17px!important; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-contact-paths h2 { font-size:21px!important; }
 #mgk-site.mgk-refreshed #main_content.mgk-r3 .r3-contact-promise { font-size:14px!important; margin-top:18px!important; }
}
@media (prefers-reduced-motion:reduce) { .mgk-r3 * { scroll-behavior:auto!important; transition:none!important; } }
@media print { .r3-actions,.r3-skip,.r3-plus { display:none!important; } .r3-section { padding:24px 0; break-inside:avoid; } .r3-detail>div { display:block!important; } }
