/* GMG | Pure white + bright mint, 2026-10-15 v1.0. All styles scoped to nine hub pages. */
body.gmga-active{--gmga-mint:#39DBA5;--gmga-deep:#153F32;--gmga-ink:#213A32;--gmga-line:#D5EEE2;--gmga-soft:#EDFFF5;--gmga-white:#fff;background:#fff!important}
body.gmga-active .entry-content{background:#fff!important}
body.gmga-active .article-header{display:none!important}
body.gmga-active .eye-catch-wrap,body.gmga-active .eye-catch{display:none!important}
body.gmga-active .gmga-country, body.gmga-active .gmga-special,body.gmga-active .gmga-usa{font-size:15px;line-height:1.75;color:var(--gmga-ink);max-width:1100px;margin:0 auto;padding:4px 0 36px;background:#fff!important}
body.gmga-active .gmga-country *,body.gmga-active .gmga-special *,body.gmga-active .gmga-usa *{box-sizing:border-box}
body.gmga-active .gmga-country h2,body.gmga-active .gmga-special h2,body.gmga-active .gmga-usa h2{font-size:clamp(21px,2.6vw,29px)!important;line-height:1.4!important;color:var(--gmga-deep)!important;background:transparent!important;border:0!important;padding:0!important;margin:4px 0 15px!important;letter-spacing:-.02em}
body.gmga-active .gmga-country h3,body.gmga-active .gmga-special h3,body.gmga-active .gmga-usa h3{font-size:clamp(18px,2vw,22px)!important;line-height:1.45!important;color:var(--gmga-deep)!important;background:transparent!important;border:0!important;padding:0!important;margin:7px 0 13px!important}
body.gmga-active .gmga-country h4,body.gmga-active .gmga-special h4{color:var(--gmga-deep)}
body.gmga-active .gmga-country a,body.gmga-active .gmga-special a,body.gmga-active .gmga-usa a{color:#087e59;text-decoration:none;font-weight:720}
body.gmga-active .gmga-country a:hover,body.gmga-active .gmga-special a:hover,body.gmga-active .gmga-usa a:hover{color:#095d41;text-decoration:underline}
body.gmga-active .gmga-country > section:not(#start),body.gmga-active .gmga-special > .gmga-special-services,body.gmga-active .gmga-special > section:not(.gmga-start),body.gmga-active .gmga-usa > .gmga-section{margin:30px 0 12px!important;padding:23px 22px 25px!important;background:#fff!important;border:1px solid var(--gmga-line)!important;border-top:5px solid var(--gmga-mint)!important;border-radius:14px!important;box-shadow:0 8px 23px rgba(10,57,39,.035)!important}
body.gmga-active .gmga-country #start,body.gmga-active .gmga-special .gmga-start,body.gmga-active .gmga-usa .gmga-start{padding:20px 22px 26px!important;margin:0 0 18px!important;border:1px solid var(--gmga-line)!important;border-top:6px solid var(--gmga-mint)!important;background:#fff!important;border-radius:15px!important;box-shadow:0 8px 28px rgba(9,60,41,.035)}
body.gmga-active .gmga-country #start > [class$="-eyebrow"],body.gmga-active .gmga-country .gmga-eyebrow,body.gmga-active .gmga-special .gmga-eyebrow,body.gmga-active .gmga-usa .gmga-eyebrow{display:block;color:#0b8b64!important;font-size:11px;font-weight:850;letter-spacing:.13em;margin:0 0 7px!important}
body.gmga-active .gmga-country #start > h2{margin-top:0!important}
body.gmga-active .gmga-country [class$="-intro"],body.gmga-active .gmga-special .gmga-subtitle,body.gmga-active .gmga-usa .gmga-subtitle{font-size:15px;color:#50695c;margin:4px 0 21px!important}
/* 5-country existing phase headings */
body.gmga-active .gmga-country [class$="-phase-label"]{display:inline-flex!important;background:var(--gmga-soft)!important;color:var(--gmga-deep)!important;border:1px solid #beeed7!important;border-radius:30px;padding:4px 12px!important;letter-spacing:.03em;font-size:12px!important;font-weight:800!important;margin:31px 0 4px!important}
body.gmga-active .gmga-country [class$="-notice"]{display:block!important;border:1px solid var(--gmga-line)!important;border-left:4px solid var(--gmga-mint)!important;background:#F4FFF9!important;padding:12px 16px!important;border-radius:10px;margin:12px 0 17px!important;color:#3a5b4b!important}
body.gmga-active .gmga-note-title{display:block;color:#00865a;font-weight:800;font-size:11px;letter-spacing:.08em;margin:0 0 5px}
body.gmga-active .gmga-country [class$="-notice"] strong{display:block;color:var(--gmga-deep);margin:0 0 4px;font-weight:800}
/* Phase rows: 30/70 table. Force override legacy country styles. */
body.gmga-active .gmga-country [class$="-steps"],body.gmga-active .gmga-save-steps{display:block!important;overflow:hidden;border:1px solid var(--gmga-line)!important;border-radius:12px!important;margin:17px 0 24px!important;background:#fff!important}
body.gmga-active .gmga-country [class$="-headrow"],body.gmga-active .gmga-country [class$="-step"],body.gmga-active .gmga-head,body.gmga-active .gmga-row{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(0,7fr)!important;column-gap:0!important;align-items:stretch!important;margin:0!important;border:0!important;background:#fff!important}
body.gmga-active .gmga-country [class$="-headrow"],body.gmga-active .gmga-head{background:#DFFFF0!important;color:var(--gmga-deep)!important;font-size:13px!important;font-weight:850!important}
body.gmga-active .gmga-country [class$="-headrow"] > *,body.gmga-active .gmga-head > *{padding:11px 15px!important;display:block!important}
body.gmga-active .gmga-country [class$="-headrow"] > :nth-child(2),body.gmga-active .gmga-head > :nth-child(2){border-left:1px solid var(--gmga-line)!important}
body.gmga-active .gmga-country [class$="-step"]:not(:last-child),body.gmga-active .gmga-row:not(:last-child){border-bottom:1px solid var(--gmga-line)!important}
body.gmga-active .gmga-country [class$="-task"],body.gmga-active .gmga-country [class$="-read"],body.gmga-active .gmga-task,body.gmga-active .gmga-read{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:13px 15px!important;margin:0!important;min-width:0;background:#fff!important}
body.gmga-active .gmga-country [class$="-task"],body.gmga-active .gmga-task{background:#F8FFFB!important}
body.gmga-active .gmga-country [class$="-read"],body.gmga-active .gmga-read{border-left:1px solid var(--gmga-line)!important}
body.gmga-active .gmga-country [class$="-task"] > strong,body.gmga-active .gmga-task-title{display:block;color:var(--gmga-deep);font-size:13px;line-height:1.45;font-weight:800;margin-bottom:5px}
body.gmga-active .gmga-country [class$="-checks"]{list-style:none!important;display:block!important;margin:0!important;padding:0!important}
body.gmga-active .gmga-country [class$="-checks"] li{list-style:none!important;padding:0!important;margin:5px 0!important;line-height:1.5!important;border:0!important;background:none!important}
body.gmga-active .gmga-check{display:flex!important;align-items:flex-start;gap:9px;color:#263e32;font-size:13px!important;line-height:1.6;cursor:pointer;margin:0!important;font-weight:550}
body.gmga-active .gmga-check input{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;width:16px!important;height:16px!important;min-width:16px!important;margin:3px 0 0!important;padding:0!important;accent-color:#13b77c!important;border-radius:3px!important;cursor:pointer}
body.gmga-active .gmga-check:has(input:checked) span{text-decoration:line-through;color:#789185}
body.gmga-active .gmga-country [class$="-read"] a,body.gmga-active .gmga-read a,body.gmga-active .gmga-link{display:block!important;max-width:100%;overflow-wrap:anywhere;color:#087754!important;font-size:14px!important;font-weight:750!important;line-height:1.52!important;padding:3px 0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left}
body.gmga-active .gmga-country [class$="-read"] small,body.gmga-active .gmga-detail{font-size:12px!important;color:#587568;line-height:1.55;margin:0 0 7px!important;padding:0!important}
/* Large section separation with occasional soft cards */
body.gmga-active .gmga-country [class$="-grid"],body.gmga-active .gmga-special .gmgx-grid{gap:13px!important}
body.gmga-active .gmga-country [class$="-card"],body.gmga-active .gmga-special .gmga-card{border:1px solid #D8EEE3!important;border-radius:11px!important;padding:16px!important;background:#F9FFFB!important;box-shadow:none!important}
body.gmga-active .gmga-country [class$="-card"] h4{font-size:16px!important}
body.gmga-active .gmga-country .gmga-service-section [class$="-card"]{background:#F4FFF9!important;border-top:3px solid var(--gmga-mint)!important}
body.gmga-active .gmga-country [class$="-button"]{background:#17C98C!important;color:#063e2b!important;border-radius:9px!important}
body.gmga-active .gmga-country .gmga-questions,body.gmga-active .gmga-special .gmga-questions{background:#F9FFFC!important}
body.gmga-active .gmga-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.gmga-active .gmga-question{display:block;border:1px solid #D3EEE0;border-radius:10px;background:#fff;padding:15px 17px;font-size:14px;font-weight:740;line-height:1.55;color:var(--gmga-deep)!important}
body.gmga-active .gmga-question::before{content:'Q.';color:#009364;font-weight:900;margin-right:9px}
body.gmga-active .gmga-question:hover{border-color:#43d8a6;box-shadow:0 5px 15px rgba(20,84,60,.07);text-decoration:none!important}
/* Specialist roadmaps */
body.gmga-active .gmga-phase{margin:23px 0 33px;padding:0;border:0;background:#fff}
body.gmga-active .gmga-phase-eyebrow{display:inline-flex;background:#DFFFF0;color:#14583E;padding:4px 12px;border:1px solid #c4efda;border-radius:30px;font-size:12px;font-weight:850}
body.gmga-active .gmga-phase h3{margin:8px 0 15px!important}
body.gmga-active .gmga-special-services{margin:26px 0!important}
body.gmga-active .gmga-special-services > h2{margin:0 0 14px!important}
body.gmga-active .gmga-special-services .gmgx-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:12px 0!important}
body.gmga-active .gmga-special-services .gmgx-card{margin:0!important}
body.gmga-active .gmga-special-services .gmgx-card a{font-weight:760}
body.gmga-active .gmga-topic-grid,body.gmga-active .gmga-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
body.gmga-active .gmga-topic-card,body.gmga-active .gmga-service-card{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--gmga-line);border-radius:11px;background:#F8FFFB;padding:17px;gap:4px}
body.gmga-active .gmga-topic-card h3,body.gmga-active .gmga-service-card h3{margin:0 0 6px!important;font-size:16px!important}
body.gmga-active .gmga-topic-card p,body.gmga-active .gmga-service-card p{font-size:13px;color:#516e60;margin:0 0 9px}
body.gmga-active .gmga-topic-card a,body.gmga-active .gmga-service-card a{font-size:13px!important}
body.gmga-active .gmga-usa .gmga-service-section{background:#F6FFF9!important}
body.gmga-active .gmga-usa .gmga-legacy{margin:20px 0;border:1px solid var(--gmga-line);border-radius:9px;padding:12px;background:#fff;color:var(--gmga-deep)}
body.gmga-active .gmga-legacy summary{cursor:pointer;font-weight:770;padding:8px 4px}
body.gmga-active .gmga-usa-original{padding:12px;border-top:1px solid var(--gmga-line);font-size:13px}
@media(max-width:700px){
 body.gmga-active .gmga-country,body.gmga-active .gmga-special,body.gmga-active .gmga-usa{padding:0 2px 30px!important;font-size:14px}
 body.gmga-active .gmga-country #start,body.gmga-active .gmga-special .gmga-start,body.gmga-active .gmga-usa .gmga-start{padding:17px 13px!important}
 body.gmga-active .gmga-country > section:not(#start),body.gmga-active .gmga-special > .gmga-special-services,body.gmga-active .gmga-special > section:not(.gmga-start),body.gmga-active .gmga-usa > .gmga-section{padding:18px 13px!important;margin:19px 0!important}
 body.gmga-active .gmga-country [class$="-headrow"],body.gmga-active .gmga-country [class$="-step"],body.gmga-active .gmga-head,body.gmga-active .gmga-row{grid-template-columns:1fr!important}
 body.gmga-active .gmga-country [class$="-headrow"] > :nth-child(2),body.gmga-active .gmga-head > :nth-child(2){display:none!important}
 body.gmga-active .gmga-country [class$="-task"],body.gmga-active .gmga-task{padding:13px!important}
 body.gmga-active .gmga-country [class$="-read"],body.gmga-active .gmga-read{border-left:0!important;border-top:1px dashed var(--gmga-line)!important;padding:11px 13px 13px!important}
 body.gmga-active .gmga-country [class$="-read"]::before,body.gmga-active .gmga-read::before{content:'まだの方はこの記事をチェック';display:block;color:#4b7360;font-size:11px;font-weight:800;padding-bottom:3px}
 body.gmga-active .gmga-question-grid,body.gmga-active .gmga-topic-grid,body.gmga-active .gmga-service-grid,body.gmga-active .gmga-special-services .gmgx-grid{grid-template-columns:1fr!important}
}

/* Compact start and visible phase groups. */
body.gmga-active .gmga-country #phase1{padding-top:0!important;margin-top:3px!important}
body.gmga-active .gmga-country [class$="-check"]{display:flex!important;flex-direction:column!important;gap:6px}
body.gmga-active .gmga-special .gmga-phase,body.gmga-active .gmga-usa .gmga-phase{border:1px solid #E0F0E6!important;border-radius:12px!important;padding:16px 14px 12px!important;background:#fff!important;margin:19px 0 22px!important}
body.gmga-active .gmga-special .gmga-phase .gmga-head,body.gmga-active .gmga-usa .gmga-phase .gmga-head{border-radius:8px 8px 0 0!important}
body.gmga-active .gmga-special .gmga-phase .gmga-row:last-child,body.gmga-active .gmga-usa .gmga-phase .gmga-row:last-child{border-radius:0 0 8px 8px!important;overflow:hidden}
@media(max-width:700px){body.gmga-active .gmga-special .gmga-phase,body.gmga-active .gmga-usa .gmga-phase{padding:12px 8px 6px!important}}
body.gmga-active #main,body.gmga-active #content,body.gmga-active .main,body.gmga-active .content-in{background:#fff!important}
/* Legacy Cocoon/country mobile CSS must not stack each checkbox above its label. */
body.gmga-active .gmga-check{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:flex-start!important}
body.gmga-active .gmga-check > span{display:inline!important;flex:1 1 auto!important;width:auto!important;min-width:0!important}
body.gmga-active .gmga-check > input{flex:0 0 16px!important;align-self:flex-start!important}

/* --- Editorial link cards and human-friendly introductions (v1.1) --- */
body.gmga-active .gmga-rec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:9px;width:100%;align-items:stretch}
body.gmga-active .gmga-country [class$="-read"] a.gmga-rec-card,body.gmga-active .gmga-read a.gmga-rec-card,body.gmga-active a.gmga-rec-card{display:flex!important;flex-direction:column!important;gap:6px!important;justify-content:space-between!important;max-width:none!important;width:100%!important;padding:12px 14px!important;border:1px solid #D7EDE1!important;border-radius:10px!important;background:#F7FFFA!important;color:#164E36!important;text-decoration:none!important;box-shadow:none!important;min-height:94px}
body.gmga-active a.gmga-rec-card:hover{background:#ECFFF4!important;border-color:#27C78F!important;box-shadow:0 3px 12px rgba(17,84,54,.06)!important;text-decoration:none!important}
body.gmga-active .gmga-rec-title{display:block!important;color:#184633!important;font-size:14px!important;line-height:1.5!important;font-weight:850!important}
body.gmga-active .gmga-rec-desc{display:block!important;color:#567367!important;font-size:12px!important;font-weight:450!important;line-height:1.65!important}
body.gmga-active .gmga-rec-action{display:block!important;color:#008B60!important;font-weight:800!important;font-size:12px!important;margin-top:3px!important}
body.gmga-active .gmga-warm-intro{margin:9px 0 23px;padding:13px 16px;border-radius:10px;border:1px solid #DAEFE2;background:#F8FFFB}
body.gmga-active .gmga-warm-intro p{font-size:15px!important;line-height:1.88!important;color:#3B5F50;margin:0 0 10px!important}
body.gmga-active .gmga-warm-intro p:last-child{margin-bottom:0!important;color:#174B35;font-weight:760}
body.gmga-active .gmga-questions-intro{font-size:14px!important;color:#526F60;margin:3px 0 17px!important}
body.gmga-active .gmga-question-grid a.gmga-question{display:flex;flex-direction:column;gap:7px;padding:15px 16px!important;position:relative}
body.gmga-active .gmga-question .gmga-q-title{color:#153F32;font-size:14px;font-weight:800;line-height:1.52;padding-left:0}
body.gmga-active .gmga-question .gmga-q-desc{color:#4E7B65;font-size:12px;font-weight:620;line-height:1.5}
body.gmga-active .gmga-question:has(.gmga-q-title)::before{content:none}
body.gmga-experiences-active .gmga-experiences-intro{margin:15px 0 2px;padding:13px 17px;border:1px solid #D8EEE0;border-left:4px solid #39DBA5;background:#F6FFFA;border-radius:10px}
body.gmga-experiences-active .gmga-experiences-intro p{font-size:15px;line-height:1.85;margin:0 0 10px;color:#375C49}
body.gmga-experiences-active .gmga-experiences-intro p:last-child{margin-bottom:0;font-weight:750}
@media(max-width:700px){body.gmga-active .gmga-rec-grid{grid-template-columns:1fr}body.gmga-active .gmga-warm-intro{padding:13px}}

body.gmga-experiences-active .gmga-experiences-faq{margin:28px 0;padding:22px;border:1px solid #D4EDDF;border-top:5px solid #39DBA5;background:#FAFFFC;border-radius:13px}
body.gmga-experiences-active .gmga-experiences-faq h2{color:#153F32!important;font-size:clamp(21px,2.6vw,27px)!important;margin:0 0 9px!important}
body.gmga-experiences-active .gmga-experiences-faq .gmga-eyebrow{font-size:11px;color:#05835D;font-weight:850;letter-spacing:.13em}
body.gmga-experiences-active .gmga-experiences-faq .gmga-question-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.gmga-experiences-active .gmga-experiences-faq a.gmga-question{display:flex;flex-direction:column;gap:7px;padding:14px 16px;background:#fff;border:1px solid #D8EEE3;border-radius:10px;text-decoration:none!important}
body.gmga-experiences-active .gmga-experiences-faq a.gmga-question:hover{background:#F0FFF6;border-color:#39DBA5}
body.gmga-experiences-active .gmga-experiences-faq .gmga-q-title{font-size:14px;color:#194F39;line-height:1.55}
body.gmga-experiences-active .gmga-experiences-faq .gmga-q-desc{font-size:12px;color:#368064}
@media(max-width:700px){body.gmga-experiences-active .gmga-experiences-faq{padding:16px 13px}body.gmga-experiences-active .gmga-experiences-faq .gmga-question-grid{grid-template-columns:1fr}}
