﻿/* 追加節のみに適用。承認済み先頭部分の規則は変更しない。 */
.gn-n-section{border-top:3px solid #075b70;padding:24px 0;color:#143f48;font-size:14px;line-height:1.75;scroll-margin-top:20px}
.gn-n-heading{margin-bottom:16px}
.gn-n-kicker{margin:0 0 4px;color:#075b70;font-size:14px;font-weight:700}
.gn-n-heading h2{font-size:26px;line-height:1.5;margin:0;font-weight:700}
.gn-n-section h3{font-size:17px;line-height:1.6;margin:0 0 8px}
.gn-n-entrances{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #9ebbc1;column-gap:32px}
.gn-n-entrances a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #9ebbc1;text-decoration:none;color:#075b70;min-height:72px}
.gn-n-entrances strong{display:block;font-size:17px;line-height:1.5}
.gn-n-entrances small{display:block;font-size:14px;font-weight:400;color:#143f48;margin-top:4px}
.gn-n-entrances b{font-size:22px;font-weight:400}
.gn-n-city-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:32px;align-items:start}
.gn-n-text{margin:0;max-width:29em;font-size:16px}
.gn-n-label{display:block;font-weight:700;margin-bottom:8px}
.gn-n-search{display:block;width:100%;box-sizing:border-box;background:#fff;border:1px solid #648a93;border-radius:0;min-height:48px;padding:10px 14px;font:inherit;font-size:16px;color:#143f48}
.gn-n-search::placeholder{color:#52666b;opacity:1}
.gn-n-hint{font-size:14px;line-height:1.7;margin:8px 0}
.gn-n-hint:empty{display:none}
.gn-n-options{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}
.gn-n-option{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px;border:1px solid #9ebbc1;background:#fff;color:#075b70;font:inherit;cursor:pointer;white-space:nowrap}
.gn-n-option[aria-pressed="true"]{background:#edf4f4;border-color:#075b70;font-weight:700}
.gn-n-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;max-width:100%;padding:10px 18px;background:#075b70;color:#fff;border:1px solid #075b70;border-radius:0;font:inherit;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;margin-top:8px}
.gn-n-back{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:44px;width:fit-content;max-width:100%;margin:12px 0 0 auto;color:#075b70;font-weight:700;text-underline-offset:4px}
.gn-n-question{border:0;border-top:1px solid #9ebbc1;padding:12px 0;margin:0;min-width:0}
.gn-n-question legend{padding:0 12px 0 0;font-size:16px;font-weight:700;max-width:100%}
.gn-n-question legend>span{color:#075b70;margin-right:8px}
.gn-n-answers{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px}
.gn-n-answer{display:flex;align-items:center;min-height:44px;background:#edf4f4;padding:0 10px;gap:8px;cursor:pointer;box-sizing:border-box;border:1px solid transparent}
.gn-n-answer:has(input:checked){border-color:#075b70;background:#fff}
.gn-n-answer input{width:20px;height:20px;flex:0 0 20px;margin:0;accent-color:#075b70}
.gn-n-answer span{padding:8px 0;line-height:1.6}
.gn-n-result{background:#edf4f4;border-left:3px solid #075b70;padding:16px 20px;margin:12px 0}
.gn-n-result h3{font-size:20px;margin:0 0 8px}
.gn-n-result a:not(.gn-n-button){display:flex;align-items:center;min-height:44px;color:#075b70;font-weight:700;text-underline-offset:4px}
.gn-n-unavailable{display:block;padding:8px 0;font-weight:700}
.gn-n-unavailable small{font-size:14px;font-weight:400;margin-left:12px}
.gn-n-check-layout{display:grid;grid-template-columns:1fr 1.25fr;gap:32px}
.gn-n-tick{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;line-height:1.6}
.gn-n-tick input{appearance:none;width:24px;height:24px;flex:0 0 24px;border:1px solid #648a93;background:#fff;margin:0;position:relative}
.gn-n-tick input:checked{background:#075b70;border-color:#075b70}
.gn-n-tick input:checked:after{content:'✓';position:absolute;inset:0;text-align:center;color:#fff;font-size:18px;line-height:22px}
.gn-n-tick strong{display:block}
.gn-n-tick span{padding:8px 0}
.gn-n-fallback{box-sizing:border-box;width:100%;min-height:140px;font:inherit;padding:12px;border:1px solid #648a93;color:#143f48;background:#fff}
.gn-n-section [hidden]{display:none!important}
.gn-n-section :is(a,button,input,textarea):focus-visible{outline:3px solid #a1431a;outline-offset:3px}
.gn-n-section :is(a,button):hover{filter:brightness(.94)}
@media(max-width:600px){
.gn-n-section{padding:16px 0}
.gn-n-heading{margin-bottom:12px}
.gn-n-heading h2{font-size:22px}
.gn-n-entrances{display:block}
.gn-n-entrances a{padding:10px 0;min-height:66px}
.gn-n-entrances strong{font-size:16px}
.gn-n-entrances small{margin-top:2px}
.gn-n-city-layout,.gn-n-check-layout{display:block}
.gn-n-text{font-size:14px;margin-bottom:12px}
.gn-n-answers{gap:6px;grid-template-columns:1fr 1fr}
.gn-n-answer{padding:0 8px;gap:6px}
.gn-n-question{padding:8px 0}
.gn-n-question legend{font-size:15px}
.gn-n-question:nth-child(2) .gn-n-answer:nth-child(3){grid-column:1/-1}

.gn-n-tick span{padding:6px 0}
.gn-n-button{width:100%;padding:10px 12px}
.gn-n-back{margin-top:8px}
.gn-n-result{padding:12px 14px}
.gn-n-result h3{font-size:18px}
}
/* 用事を一段で示し、長いチェック欄は必要なときに開く。 */
.gn-n-check-details summary{font-size:16px;font-weight:700;color:#075b70;min-height:48px;cursor:pointer;padding:10px 0;box-sizing:border-box;border-bottom:1px solid #9ebbc1}
.gn-n-check-details{align-self:start}
.gn-n-check-details[open] summary{margin-bottom:8px}
.gn-n-early{margin-top:0;margin-bottom:8px}
.gn-n-section summary:focus-visible{outline:3px solid #a1431a;outline-offset:3px}
@media(max-width:600px){
.gn-n-section{padding:12px 0}
.gn-n-kicker{line-height:1.5;margin-bottom:2px}
.gn-n-entrances a{padding:6px 0;min-height:60px}
.gn-n-entrances small{line-height:1.5}
.gn-n-heading{margin-bottom:8px}
.gn-n-answer{gap:4px;padding:0 6px}
.gn-n-answer input{width:16px;height:16px;flex-basis:16px}
.gn-n-answer span{padding:4px 0}
.gn-n-question{padding:6px 0}
.gn-n-text{margin-bottom:8px}
.gn-n-label{margin-bottom:4px}
.gn-n-tick strong{display:inline;margin-right:8px}
.gn-n-tick span{padding:4px 0}
.gn-n-check-layout>details{margin-top:12px}
}
.gn-n-options{max-height:200px;overflow-y:auto}
@media(min-width:601px){
.gn-n-section #gn-n-form{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:20px}
.gn-n-question{width:100%;box-sizing:border-box}
.gn-n-answers{grid-template-columns:1fr}
.gn-n-section #gn-n-progress{grid-column:1/-1;margin:0}
.gn-n-early{margin-top:-8px}
}
@media(max-width:600px){.gn-n-section{padding:11px 0}}
.gn-n-check-route{margin:0 0 2px;font-size:14px}
@media(max-width:600px){
.gn-n-section{padding:10px 0}
.gn-n-entrances a{padding:4px 0;min-height:56px}
}

/* 直し2：面のある住宅イラスト。承認済みCSSは変更しない。 */
.gn-v-art,.gn-v-card-art,.gn-v-side,.gn-v-region,.gn-v-head-art,.gn-v-answer-art,.gn-v-footer-art{display:block;object-fit:contain;max-width:100%;height:auto}
.gn-v-side{width:210px;float:right;margin:0 0 8px 20px;max-width:34%}
.gn-v-flow{display:flex;align-items:center;gap:12px;max-width:530px;margin:8px 0}.gn-v-flow img{width:calc((100% - 68px)/3);height:auto}.gn-v-flow span{color:#075b70;font-size:24px}
.gn-v-page a:focus-visible,.gn-v-page button:focus-visible,.gn-v-page input:focus-visible,.gn-v-page summary:focus-visible{outline:3px solid #a1431a;outline-offset:3px}
@media(max-width:600px){.gn-v-side{width:130px;margin:0 0 4px 10px;max-width:36%}.gn-v-flow{gap:6px;margin:4px 0}.gn-v-flow img{width:calc((100% - 52px)/3)}}

.gn-v-hero-art{width:100%;height:350px;object-fit:contain;background:#edf4f4;border-radius:180px 180px 8px 8px}
.gn-v-card-art{width:136px;flex:0 0 136px}.gn-n-entrances a{gap:18px;min-height:110px}.gn-n-entrances a>span{flex:1}.gn-v-region{width:220px;float:left;align-self:center}.gn-n-city-layout{grid-template-columns:220px 1fr 1.3fr;align-items:center;gap:24px}
.gn-v-answer-art{width:100px;flex:0 0 100px}.gn-n-answer{min-height:68px;gap:6px}.gn-n-answer span{flex:1}.gn-n-answer input{flex-shrink:0}.gn-v-footer-art{width:180px;float:right}.gn-v-page .gn-section:after,.gn-v-page .gn-n-section:after{content:'';display:block;clear:both}
@media(max-width:600px){
.gn-v-page .top-prefs{grid-template-columns:repeat(7,minmax(0,1fr))}.gn-v-page .top-pref{white-space:normal;min-width:44px;line-height:1.3;text-align:center;padding:2px 0;letter-spacing:-.06em}.gn-v-page .top-row h3{height:20px}.gn-v-page .top-heading{font-size:23px}.gn-v-page .top-evidence{margin-top:10px}.gn-v-hero-art{height:170px;border-radius:90px 90px 6px 6px}.gn-v-page .top-features{display:flex;gap:12px;padding-top:8px}.gn-v-page .top-features p{width:50%;padding-left:8px;font-size:14px}
.gn-v-page .gn-n-entrances{grid-template-columns:1fr 1fr;gap:6px 12px}.gn-v-page .gn-n-entrances a{display:flex;flex-wrap:wrap;gap:0;align-content:start;min-height:140px;padding:3px 0}.gn-v-card-art{width:100%;height:70px;flex-basis:100%}.gn-n-entrances a>span{flex-basis:calc(100% - 15px)}.gn-n-entrances a strong{font-size:14px}.gn-n-entrances a small{font-size:14px;line-height:1.5}.gn-v-region{width:115px;float:left;margin:0 10px 0 0}.gn-n-city-layout{display:block}.gn-v-page .gn-n-text{min-height:68px}.gn-v-page .gn-n-question{padding:4px 0}.gn-v-page .gn-n-answers{display:grid;grid-template-columns:1fr 1fr;gap:4px}.gn-v-page .gn-n-answer{min-height:64px;padding:2px 4px;gap:3px;position:relative}.gn-v-answer-art{width:65px;flex-basis:65px}.gn-v-page .gn-n-answer span{font-size:14px;line-height:1.35}.gn-v-page .gn-n-answer input{position:absolute;left:3px;bottom:3px;width:16px;height:16px}.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(3){grid-column:1/-1}.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(4){grid-column:1/-1;min-height:44px;padding-left:25px}.gn-v-footer-art{width:105px}
}

.gn-v-page .gn-n-entrances{display:grid}.gn-v-page .top-footer>div{position:relative}.gn-v-page .gn-top-business,.gn-v-page .gn-gn-policy{display:flow-root}
.gn-v-page .gn-n-section,.gn-v-page .top-content .gn-section{padding-top:14px;padding-bottom:14px}
.gn-v-page .top-content .gn-note{line-height:1.6;margin:6px 0}.gn-v-page .top-content .gn-h2{margin-bottom:8px}.gn-v-page .top-content .gn-h3{margin-bottom:6px}
@media(min-width:601px){.gn-v-page .top-content .gn-section,.gn-v-page .gn-n-section{font-size:14px}.gn-v-page .gn-v-side{width:170px}.gn-v-page .gn-v-flow{max-width:330px}.gn-v-page .gn-n-entrances a{min-height:90px}.gn-v-page .gn-v-card-art{width:105px;flex-basis:105px}.gn-v-page .gn-n-heading{margin-bottom:4px}.gn-v-page .gn-n-back{margin-top:4px}.gn-v-page .gn-n-question{padding:4px 0}.gn-v-page .top-footer{padding-top:14px;padding-bottom:14px}}
@media(max-width:600px){
.gn-v-page .top-content{font-size:14px}.gn-v-page .gn-n-section,.gn-v-page .top-content .gn-section{padding-top:10px;padding-bottom:10px}.gn-v-page .top-content .gn-note,.gn-v-page .gn-n-text,.gn-v-page .gn-n-hint{font-size:14px;line-height:1.5}.gn-v-page .top-content .gn-h2,.gn-v-page .gn-n-heading h2{font-size:20px;line-height:1.4;margin-bottom:6px}.gn-v-page .top-content .gn-h3{font-size:17px;line-height:1.4;margin-top:4px}.gn-v-page .gn-n-heading{margin-bottom:4px}
.gn-v-page .gn-n-entrances a{min-height:130px}.gn-v-page .gn-n-entrances a b{display:none}.gn-v-page .gn-n-entrances a>span{flex-basis:100%}.gn-v-page .gn-n-entrances a small{line-height:1.4}.gn-v-page .gn-n-entrances{gap:4px 12px}.gn-v-page .gn-v-card-art{height:60px}
.gn-v-page .gn-n-back{margin-top:0}.gn-v-page .gn-n-city-layout .gn-n-text{margin-bottom:4px;min-height:60px}.gn-v-page .gn-n-search{height:44px;min-height:44px}.gn-v-page .gn-n-hint{margin:4px 0}.gn-v-page .top-content .gn-action{padding:8px 12px;margin-bottom:8px}.gn-v-page .top-content .gn-btn{font-size:14px;line-height:1.4;padding:8px;min-height:44px;margin:4px 0}.gn-v-page .gn-v-side{width:110px;max-width:31%}.gn-v-page .top-content .gn-faq summary{padding:7px 0;line-height:1.4;min-height:44px;font-size:14px}.gn-v-page .top-content .gn-contact>div+div{margin-top:8px}.gn-v-page .top-content .gn-article-preview{margin-top:8px}.gn-v-page .gn-v-flow{max-width:290px}.gn-v-page .gn-v-answer-art{width:58px;flex-basis:58px}.gn-v-page .gn-n-answer{min-height:58px}.gn-v-page .gn-n-question{padding:3px 0}.gn-v-page .gn-n-question legend{font-size:14px;line-height:1.4}.gn-v-page .gn-n-tick{min-height:44px}.gn-v-page .gn-n-check-layout h3{font-size:16px;line-height:1.4}.gn-v-page .top-content .gn-feature li{margin-bottom:4px}.gn-v-page .top-content .gn-feature{margin-top:4px}.gn-v-page .top-content .gn-support{gap:0}.gn-v-page .top-footer{padding:12px 0;gap:4px}.gn-v-page .top-footer p{margin-top:4px}.gn-v-page .gn-v-footer-art{width:115px}
}
.gn-v-page .gn-v-flow{width:100%;box-sizing:border-box}.gn-v-page .gn-v-flow>img{flex:1 1 0;width:0;min-width:0}.gn-v-page .gn-v-flow>span{flex:0 0 20px;text-align:center}.gn-v-page .top-footer .gn-v-footer-art{width:145px;height:auto;max-width:40%;object-fit:contain;float:right}.gn-v-page .gn-x-dialog-head .gn-v-dialog-art{width:110px;height:65px;object-fit:contain;flex-shrink:0}@media(max-width:374px){.gn-v-page .top-prefs{grid-template-columns:repeat(6,minmax(0,1fr))}}.gn-v-header-art{display:none}@media(max-width:600px){.gn-v-page .top-pref{white-space:nowrap;letter-spacing:normal}.gn-v-page .gn-v-wide-pref{grid-column:span 2}.gn-v-page #header .l-header__inner{position:relative}.gn-v-header-art{display:block;position:absolute;right:64px;top:1px;width:110px;height:60px;object-fit:contain}}@media(max-width:359px){.gn-v-header-art{width:80px;right:60px}}
/* 直し3：写真3枚と、選択肢の図を大きく表示。 */
.gn-v-page .gn-v-photo-hero{object-fit:cover;object-position:center;border-radius:8px}
.gn-v-page .gn-v-photo-section{width:320px;max-width:40%;height:180px;object-fit:cover;object-position:center;border-radius:6px;margin:0 0 12px 24px}
.gn-v-page .gn-v-answer-art{width:112px;height:116px;flex:0 0 112px;object-fit:contain}
.gn-v-page .gn-n-answer{gap:10px;padding:6px;min-height:130px}
.gn-v-page .gn-n-answer input{width:20px;height:20px;flex-basis:20px}
@media(max-width:600px){
.gn-v-page .gn-v-photo-hero{height:170px;border-radius:6px}
.gn-v-page .gn-v-photo-section{width:100%;max-width:none;height:auto;aspect-ratio:16/9;float:none;margin:0 0 12px}
.gn-v-page #gn-n-checks .gn-v-photo-section{float:right;width:48%;max-width:48%;height:112px;object-fit:cover;margin:0 0 8px 12px}
.gn-v-page .gn-n-answer{display:grid;grid-template-columns:20px 1fr;align-content:start;gap:4px 6px;padding:6px;min-height:156px}
.gn-v-page .gn-v-answer-art{grid-column:1/-1;justify-self:center;width:112px;height:112px}
.gn-v-page .gn-n-answer input{position:static;align-self:start;margin-top:4px}
.gn-v-page .gn-n-answer span{padding:2px 0}
.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(3){grid-template-columns:112px 20px 1fr;align-items:center;min-height:124px}
.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(3) img{grid-column:auto}
.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(4){min-height:44px;padding:6px;align-items:center}
}

.gn-v-page #gn-n-form .gn-n-answer:not(:has(img)){min-height:44px}
@media(max-width:600px){
.gn-v-page #gn-n-checks .gn-v-photo-section{width:100%;max-width:none;height:auto;float:none;margin:0 0 12px}
.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(3) input{align-self:center;margin-top:0}
}
@media(max-width:600px){
.gn-v-page .gn-v-answer-art{height:100px}
.gn-v-page .gn-n-answer{min-height:144px}
.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(3){min-height:96px}
.gn-v-page .gn-n-question:nth-child(2) .gn-n-answer:nth-child(3) img{height:80px}
}

/* 直し4：洗浄後の住宅を見せる写真帯。 */
.gn-clean-band{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;min-height:260px;margin:24px 0 32px;background:#193d42;border-radius:6px}
.gn-clean-band-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 52%;z-index:-2}
.gn-clean-band::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.58);z-index:-1}
.gn-clean-band-copy{padding:40px 24px;text-align:center;color:#fff}
.gn-clean-band-copy p{margin:0;font-size:20px;line-height:1.8;font-weight:700;overflow-wrap:anywhere}
.gn-clean-band-copy p+p{margin-top:10px;font-size:16px;font-weight:400}
@media(max-width:600px){
.gn-clean-band{min-height:240px;margin:20px 0 24px}
.gn-clean-band-photo{object-position:50% 52%}
.gn-clean-band-copy{padding:28px 20px}
.gn-clean-band-copy p{font-size:18px;line-height:1.8}
.gn-clean-band-copy p+p{font-size:15px;margin-top:12px}
}

/* 直し5：FVの地方選択タイルマップ */
.gn-v-page .top-shell{display:block;padding-bottom:24px}
.gn-map-intro .top-heading{margin:24px 0 18px;font-size:32px;line-height:1.5}
.gn-map-intro .top-heading span{display:inline;white-space:normal}
.gn-map-section{border-top:3px solid #075b70;scroll-margin-top:16px;color:#143f48}
.gn-map-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 0 10px;gap:12px}
.gn-map-heading h3{font-size:20px;margin:0}.gn-map-heading p{font-size:14px;margin:0}
.gn-map-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:start}
.gn-map-stage{background:#edf4f4;padding:20px 32px 12px;border-radius:8px}
.gn-map-grid{--cols:12;--rows:12;display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr);aspect-ratio:1;width:100%;max-width:410px;margin:auto;gap:3px}
.gn-map-tile{grid-column:calc(var(--x) + 1);grid-row:calc(var(--y) + 1);display:flex;align-items:center;justify-content:center;background:#075b70;color:#fff;font-size:14px;font-weight:bold;letter-spacing:-.08em;border-radius:3px;line-height:1}
.gn-map-tile[data-region="1"],.gn-map-tile[data-region="3"],.gn-map-tile[data-region="5"]{background:#225568}
.gn-map-focused{max-width:320px}.gn-map-focused .gn-map-tile{grid-column:calc(var(--fx) + 1);grid-row:calc(var(--fy) + 1);font-size:22px;letter-spacing:0}
.gn-map-caption{text-align:center;font-size:14px;margin:10px 0 0;font-weight:bold}
.gn-map-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gn-map-button{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:10px 14px;border:1px solid #648a93;background:#fff;color:#075b70;border-radius:4px;font:inherit;font-size:15px;font-weight:bold;cursor:pointer}
.gn-map-button[aria-pressed="true"]{background:#075b70;color:#fff;border-color:#075b70}
.gn-map-button:hover{box-shadow:inset 0 0 0 1px #075b70}
.gn-map-status{font-size:14px;margin:14px 0 10px;line-height:1.7}
.gn-map-panel{margin:0 0 12px;padding:16px;background:#edf4f4;border-radius:6px}
.gn-map-panel h3{font-size:18px;margin:0 0 10px}
.gn-map-prefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gn-map-prefs .top-pref{min-width:44px;min-height:46px;background:#fff;color:#075b70;border:1px solid #648a93;border-radius:4px;font-size:15px;padding:6px}
.gn-map-section [hidden]{display:none!important}
.gn-map-section :is(button,a):focus-visible{outline:3px solid #a1431a;outline-offset:3px}
.gn-map-support{display:flex;gap:18px;align-items:center;margin-top:20px;font-size:15px;font-weight:bold;line-height:1.9}
.gn-map-support img{width:144px;height:81px;object-fit:cover;border-radius:4px}
.gn-v-page .top-shell .top-bottom{margin-top:16px}
@media(max-width:600px){
.gn-v-page .top-shell{display:block;margin:0 18px;padding-top:14px}
.gn-map-intro .top-heading{font-size:23px;margin:0 0 18px;line-height:1.5}
.gn-map-intro .top-heading span{display:block;white-space:normal;font-size:inherit}
.gn-map-heading{display:block;padding:12px 0}.gn-map-heading h3{font-size:18px}.gn-map-heading p{margin-top:2px}
.gn-map-layout{display:block}.gn-map-stage{padding:14px 10px 10px}.gn-map-grid{gap:2px;max-width:328px}
.gn-map-tile{font-size:14px;letter-spacing:-.12em}.gn-map-tile:first-child{font-size:10px;letter-spacing:-.14em}
.gn-map-focused{max-width:260px}.gn-map-focused .gn-map-tile{font-size:22px;letter-spacing:0}
.gn-map-buttons{margin-top:14px;gap:7px}.gn-map-button{min-height:46px;font-size:14px;padding:9px 12px}
.gn-map-panel{padding:12px}.gn-map-prefs .top-pref{font-size:14px}
.gn-map-support{gap:12px;font-size:14px;margin-top:18px}.gn-map-support img{width:96px;height:72px}
}
@media(prefers-reduced-motion:reduce){html:has(.gn-map-section){scroll-behavior:auto}.gn-map-section *{animation:none!important;transition:none!important}}
.gn-map-tile:first-child{font-size:14px;letter-spacing:-.12em}

.gn-map-grid{grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr))}
.gn-map-tile{white-space:nowrap;letter-spacing:-2px}.gn-map-tile:first-child{letter-spacing:-2px}

/* 手直し：地方の色分けと390pxでのマス内文字 */
.gn-map-section{--gn-r0:#075b70;--gn-r1:#b9dce5;--gn-r2:#d9e9df;--gn-r3:#607f83;--gn-r4:#ddd3bd;--gn-r5:#a8c5b5;--gn-r6:#235568}
.gn-map-tile[data-region="0"]{background:var(--gn-r0);color:#fff}
.gn-map-tile[data-region="1"]{background:var(--gn-r1);color:#143f48}
.gn-map-tile[data-region="2"]{background:var(--gn-r2);color:#143f48}
.gn-map-tile[data-region="3"]{background:var(--gn-r3);color:#fff}
.gn-map-tile[data-region="4"]{background:var(--gn-r4);color:#143f48}
.gn-map-tile[data-region="5"]{background:var(--gn-r5);color:#143f48}
.gn-map-tile[data-region="6"]{background:var(--gn-r6);color:#fff}
.gn-map-button::before{content:'';width:16px;height:16px;border:1px solid #648a93;border-radius:3px;flex-shrink:0;background:var(--gn-region-color)}
.gn-map-button{justify-content:flex-start}.gn-map-button span{margin-left:auto}
.gn-map-button[data-region="0"]{--gn-region-color:var(--gn-r0)}
.gn-map-button[data-region="1"]{--gn-region-color:var(--gn-r1)}
.gn-map-button[data-region="2"]{--gn-region-color:var(--gn-r2)}
.gn-map-button[data-region="3"]{--gn-region-color:var(--gn-r3)}
.gn-map-button[data-region="4"]{--gn-region-color:var(--gn-r4)}
.gn-map-button[data-region="5"]{--gn-region-color:var(--gn-r5)}
.gn-map-button[data-region="6"]{--gn-region-color:var(--gn-r6)}
.gn-map-tile{min-width:0;min-height:0;letter-spacing:0;font-size:14px}
.gn-map-tile:first-child{letter-spacing:0}
.gn-map-support p{margin:0}.gn-map-support img{flex-shrink:0}
@media(min-width:601px){.gn-map-grid{max-width:410px}.gn-map-support{margin-top:18px;align-items:center}.gn-map-support img{width:160px;height:100px}.gn-map-focused{max-width:320px}}
@media(max-width:600px){.gn-map-stage{padding:12px 4px 10px}.gn-map-grid{gap:2px}.gn-map-tile,.gn-map-tile:first-child{writing-mode:vertical-rl;text-orientation:upright;font-size:14px;letter-spacing:0;line-height:1;transform:none}.gn-map-grid:not(.gn-map-focused){aspect-ratio:12/17}.gn-map-focused .gn-map-tile{writing-mode:horizontal-tb;font-size:22px}.gn-map-button{gap:6px;padding:9px 10px}.gn-map-support{flex-wrap:wrap}.gn-map-support img{width:96px;height:72px}}

@media(max-width:600px){.gn-map-stage{padding:12px 0 10px}.gn-map-grid:not(.gn-map-focused){max-width:none;aspect-ratio:1;gap:1px}}

.gn-map-section{--gn-r3:#58767a}

@media(max-width:600px){.gn-map-focused .gn-map-tile{font-size:18px}}

/* 本物の県境の日本地図 */
.gn-map-svg{display:block;width:100%;height:410px;max-width:100%;overflow:hidden;margin:auto}.gn-map-svg path{stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke;cursor:pointer}.gn-map-svg path:hover{stroke:#143f48;stroke-width:2}.gn-map-svg path.gn-map-muted{opacity:.12;pointer-events:none}.gn-map-inset{pointer-events:none}.gn-map-inset rect{fill:none;stroke:#648a93;stroke-width:1.5;stroke-dasharray:5 4}.gn-map-inset text{font-size:22px;fill:#143f48;font-weight:bold}
.gn-map-svg [data-region="hokkaido-tohoku"]{fill:var(--gn-r0)}
.gn-map-svg [data-region="kanto"]{fill:var(--gn-r1)}
.gn-map-svg [data-region="chubu"]{fill:var(--gn-r2)}
.gn-map-svg [data-region="kinki"]{fill:var(--gn-r3)}
.gn-map-svg [data-region="chugoku"]{fill:var(--gn-r4)}
.gn-map-svg [data-region="shikoku"]{fill:var(--gn-r5)}
.gn-map-svg [data-region="kyushu-okinawa"]{fill:var(--gn-r6)}
@media(max-width:600px){.gn-map-svg{height:354px}}

.gn-map-inset text{font-size:26px}

/* 地図の手直し：選択色・県名・スマホの地図と県リンク */
.gn-map-svg path.gn-map-selected{fill:#075b70;opacity:1;stroke:#fff}
.gn-map-labels{pointer-events:none}.gn-map-labels text{fill:#143f48;stroke:#fff;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font-weight:700;text-anchor:middle;dominant-baseline:middle}.gn-map-labels line{stroke:#143f48;stroke-width:1;vector-effect:non-scaling-stroke}
@media(max-width:600px){.gn-map-section.gn-map-has-selection .gn-map-svg{height:280px}.gn-map-section.gn-map-has-selection .gn-map-caption{margin-top:4px}.gn-map-section.gn-map-has-selection .gn-map-buttons{gap:5px;margin-top:10px}.gn-map-section.gn-map-has-selection .gn-map-button{padding-top:6px;padding-bottom:6px;min-height:44px}.gn-map-section.gn-map-has-selection .gn-map-status{margin:8px 0}.gn-map-section.gn-map-has-selection .gn-map-panel{padding:10px}}



/* 色分けと沖縄をやめた：全国は落ち着いた青緑1色、選択地方のみ強調 */
.gn-map-svg path[data-pref]{fill:#a8c5c8;stroke:#fff;stroke-width:.7}
.gn-map-svg path.gn-map-selected{fill:#075b70;stroke:#fff}
.gn-map-button::before{content:none}

/* 沖縄を右下に：小さな島の形が白線に埋もれない細さ */
.gn-map-svg #pref-okinawa{stroke-width:.3}
.gn-okinawa-caption{font-size:13px;fill:#648a93;text-anchor:middle;pointer-events:none}
.gn-map-has-selection .gn-okinawa-caption{display:none}

/* 沖縄を読める大きさに：全国ではSVG縮小後も12px以上 */
.gn-okinawa-caption{font-size:28px;fill:#143f48;font-weight:700}
