@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700;800&family=Kosugi&display=swap');
@import url('https://fontsapi.zeoseven.com/15/main/result.css');
:root{--ink:#193944;--muted:#60747a;--teal:#126c71;--teal-dark:#0c474d;--mint:#dff4ef;--cream:#fbfaf7;--line:#dbe7e5;--white:#fff;--orange:#dc8557;--soft:#eff6f4;--shadow:0 14px 42px rgba(15,59,64,.065)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'Noto Sans JP','Yu Gothic','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;font-size:16px;line-height:1.9;letter-spacing:.012em;-webkit-font-smoothing:antialiased}a{color:var(--teal);text-underline-offset:3px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}p{margin:0 0 1.25em}h1,h2,h3,h4{line-height:1.45;letter-spacing:.015em;margin-top:0}h1{font-size:clamp(2.05rem,4vw,3.45rem);font-weight:800}h2{font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:800}h3{font-size:1.19rem;font-weight:700}img{max-width:100%;height:auto}small{color:var(--muted)}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}.skip-link{position:absolute;left:-9999px;top:8px;z-index:1000;background:#fff;padding:8px 20px}.skip-link:focus{left:8px}.site-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:20px;min-height:78px}.brand{font-size:1.55rem;letter-spacing:.04em;font-weight:800;text-decoration:none;color:var(--teal-dark);white-space:nowrap}.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;background:var(--teal-dark);color:#fff;border-radius:9px;font-size:18px;margin-right:9px;vertical-align:1px}.main-nav{display:flex;align-items:center;gap:3px;flex:1;justify-content:flex-end;flex-wrap:wrap}.main-nav a{color:#3d5962;text-decoration:none;border-radius:30px;padding:8px 12px;font-size:.84rem;font-weight:700;transition:.16s}.main-nav a:hover,.main-nav a[aria-current=page]{background:#e8f4f1;color:var(--teal-dark)}.nav-toggle{display:none;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:8px 13px;font:inherit;font-weight:700;cursor:pointer}.hero{background:linear-gradient(110deg,rgba(11,56,62,.94),rgba(20,90,93,.83)),url('https://cue.gozaru.jp/img/top.jpg') center 47%/cover;color:white;min-height:360px;display:flex;align-items:center}.hero .wrap{padding-block:78px 74px}.eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.19em;text-transform:uppercase;color:#3a918b;display:block;margin-bottom:13px}.hero .eyebrow,.page-hero .eyebrow{color:#94dfd1}.hero h1{max-width:830px;margin:0 0 20px}.hero p{max-width:700px;font-size:1.12rem;color:#e2f2ee;line-height:1.9}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.button-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 22px;border-radius:30px;font-weight:800;font-size:.93rem;text-decoration:none;transition:transform .14s}.button-link:hover{transform:translateY(-2px)}.button-solid{background:#fff;color:var(--teal-dark)}.button-outline{color:#fff;border:1px solid rgba(255,255,255,.6)}.section{padding:74px 0}.section-head{margin-bottom:25px}.section-head h2{margin-bottom:7px}.section-head p{color:var(--muted);margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:27px 26px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:260px}.feature-card .card-icon{display:inline-grid;place-items:center;background:#e7f5f0;width:50px;height:50px;border-radius:14px;font-size:1.48rem;margin-bottom:22px}.feature-card h3{font-size:1.34rem;margin:0 0 12px;line-height:1.45}.feature-card p{font-size:.95rem;color:var(--muted);flex:1;margin-bottom:21px}.feature-card .card-link{font-weight:800;text-decoration:none}.feature-card .card-link:hover{text-decoration:underline}.rough-font{font-family:'Mitimasu','みちます','Yu Gothic',sans-serif;font-weight:400!important;letter-spacing:.012em}.feature-card .rough-font{font-size:1.52rem;line-height:1.6}.feature-card .rough-font.card-link{font-size:1.2rem}.wide-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:21px}.simple-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 30px}.simple-panel h3{margin-bottom:10px}.simple-panel p{color:var(--muted);margin-bottom:17px}.list-links{display:flex;gap:12px;flex-wrap:wrap}.list-links a{font-weight:700;text-decoration:none;padding:9px 15px;border:1px solid var(--line);border-radius:50px}.list-links a:hover{background:var(--soft)}.page-hero{background:linear-gradient(130deg,#103d43,#177c77);color:#fff;padding:64px 0 65px}.page-hero h1{margin-bottom:16px;font-size:clamp(2rem,3.8vw,3rem)}.page-hero p{max-width:790px;font-size:1.05rem;color:#dcefeb;margin:0}.breadcrumb{display:flex;gap:8px;flex-wrap:wrap;font-size:.8rem;margin-bottom:23px;color:#c2ded9}.breadcrumb a{color:#c2ded9;text-decoration:none}.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:54px;padding-top:55px;padding-bottom:80px}.article{min-width:0}.article section{scroll-margin-top:24px;margin-bottom:65px}.article h2{padding-bottom:13px;border-bottom:2px solid var(--line);margin-bottom:25px}.article h3{margin:29px 0 13px}.article p,.article li{font-size:1rem;line-height:1.95}.article li{margin-bottom:7px}.article ul,.article ol{padding-left:1.5em}.side-index{position:sticky;top:26px;align-self:start}.side-index .side-title{font-size:.76rem;color:var(--muted);font-weight:800;letter-spacing:.13em;margin-bottom:14px}.side-index a{display:block;text-decoration:none;padding:9px 11px;border-left:2px solid var(--line);font-size:.83rem;color:#5c6d73;line-height:1.6}.side-index a:hover{color:var(--teal);border-color:var(--teal);background:#f0f7f5}.notice,.key-message{background:#eaf7f3;border-left:5px solid var(--teal);border-radius:4px 12px 12px 4px;padding:20px 24px;margin:25px 0}.notice p:last-child,.key-message p:last-child{margin-bottom:0}.warning{background:#fff4ea;border-color:var(--orange)}.key-message strong{font-size:1.03rem}.quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.quick-links a{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 17px;text-decoration:none;font-weight:700}.quick-links a:hover{background:#e8f5f0}.pill{display:inline-block;background:#e8f5f0;color:#166e66;font-size:.76rem;font-weight:800;border-radius:30px;padding:3px 10px;margin-bottom:9px}.code-pill{background:#eff5f6;color:#194e55;border:1px solid #dae9e7;border-radius:6px;padding:2px 7px;white-space:nowrap;font-family:ui-monospace,Consolas,monospace;font-size:.91em}.concept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:24px 0}.concept{border:1px solid var(--line);border-radius:14px;background:#fff;padding:20px}.concept h3{margin:0 0 7px}.concept p{margin:0;color:var(--muted)}.figure{margin:25px 0 32px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px;text-align:center}.figure img{display:block;width:auto;max-width:100%;height:auto;margin:auto;border-radius:5px}.figure figcaption{margin-top:13px;text-align:left;font-size:.89rem;color:#587078;line-height:1.85}.figure .zoom-img{cursor:zoom-in}.figure .zoom-tip{font-size:.74rem;color:var(--teal);display:block;text-align:right;margin-top:10px}.figure.figure-medium img{max-width:740px}.figure.figure-compact img{max-width:530px}.figure.figure-wide img{max-width:880px}.figure.qgis img{max-width:800px}.figure-spread{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.figure-spread .figure{margin:0}.data-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:12px;margin:20px 0 30px;background:#fff}.data-table{border-collapse:collapse;min-width:700px;width:100%;font-size:.87rem}.data-table th,.data-table td{border-bottom:1px solid var(--line);padding:13px 12px;text-align:left;vertical-align:top}.data-table thead{background:#e9f5f2}.data-table th{font-weight:800}.data-table tbody tr:last-child td{border-bottom:none}.step-list{counter-reset:step;list-style:none;padding:0!important}.step-list>li{position:relative;padding:0 0 0 55px;margin:0 0 30px}.step-list>li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;background:var(--teal);border-radius:50%;color:#fff;font-weight:800}.step-list>li h3{margin:0 0 5px}.scene{border:1px solid var(--line);border-radius:15px;background:#fff;padding:23px 25px;margin:24px 0}.scene h3{margin-top:0}.scene img{max-width:100%;display:block;margin:10px auto}.scene p:last-child{margin-bottom:0}.error-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.error-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.error-card img{width:100%;aspect-ratio:1.85;object-fit:contain;background:#f6f9f8;display:block}.error-card .error-body{padding:22px}.error-card h3{margin:0 0 9px}.error-card p{font-size:.89rem;color:var(--muted);margin-bottom:10px}.error-card a{font-weight:800;text-decoration:none}.error-detail{padding-top:5px}.error-detail .figure{max-width:930px}.note-text{font-size:.86rem!important;color:var(--muted)}.label-tag{font-weight:800;color:var(--teal);letter-spacing:.1em;font-size:.74rem;margin-bottom:9px;display:block}.gallery-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery-row>.figure{margin:0}.archive-list{display:grid;gap:15px}.archive-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px 29px}.archive-item .date{display:block;color:var(--teal);font-size:.85rem;font-weight:800;margin-bottom:8px}.archive-item h3{font-size:1.23rem;margin-bottom:12px}.archive-item p{font-size:.95rem;color:#547077}.archive-meta{display:flex;flex-wrap:wrap;gap:8px}.archive-meta span{font-size:.79rem;color:#49656b;border:1px solid var(--line);padding:4px 10px;border-radius:30px}.archive-empty{background:#fff;border:1px dashed #b6d4cd;border-radius:14px;padding:27px}.site-footer{background:#103e43;color:#e0efec;padding:41px 0 27px}.footer-grid{display:flex;gap:20px;justify-content:space-between;align-items:start;flex-wrap:wrap}.site-footer .brand{color:#fff}.site-footer p{font-size:.86rem;color:#c0dcd7;margin:10px 0}.footer-links{display:flex;gap:10px 20px;flex-wrap:wrap;max-width:620px}.footer-links a{color:#e3efed;font-size:.84rem;text-decoration:none}.footer-links a:hover{text-decoration:underline}.copyright{border-top:1px solid #3b6469;margin-top:32px;padding-top:19px;color:#adceca;font-size:.77rem}.zoom-dialog{border:0;padding:0;max-width:min(96vw,1480px);max-height:93vh;border-radius:14px;overflow:auto;box-shadow:0 20px 80px #0007;background:#fff}.zoom-dialog::backdrop{background:rgba(0,30,34,.82)}.zoom-dialog img{display:block;max-width:none;width:auto;height:auto;max-height:none}.zoom-dialog .dialog-control{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 12px;background:#e8f5f2;font-size:.9rem}.zoom-dialog button{font:inherit;font-weight:800;border:0;background:var(--teal-dark);color:#fff;border-radius:8px;padding:7px 15px;cursor:pointer}.scroll-hint{display:none;font-size:.79rem;color:var(--muted);margin:7px 0}.pathlist{padding:0;list-style:none!important}.pathlist li{background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 16px}.pathlist a{text-decoration:none;font-weight:800}@media(max-width:980px){.main-nav a{padding:6px 9px;font-size:.75rem}.page-layout{grid-template-columns:minmax(0,1fr);gap:0}.side-index{position:static;order:-1;margin-bottom:35px;border-bottom:1px solid var(--line);padding-bottom:16px}.side-index a{display:inline-block;border-left:0;border-bottom:2px solid var(--line);padding:7px 9px}.wide-grid{grid-template-columns:1fr}}@media(max-width:720px){body{font-size:15.5px}.wrap{width:min(100% - 32px,1120px)}.header-inner{min-height:70px;justify-content:space-between;flex-wrap:wrap;padding-block:12px}.brand{font-size:1.35rem}.nav-toggle{display:block}.main-nav{display:none;width:100%;flex:0 0 100%;justify-content:stretch;flex-direction:column;align-items:stretch;gap:2px;padding:10px 0}.main-nav.is-open{display:flex}.main-nav a{font-size:.9rem;padding:10px 14px}.hero{min-height:360px}.hero .wrap{padding-block:60px}.hero p{font-size:1rem}.section{padding:48px 0}.feature-grid,.concept-grid,.error-grid,.gallery-row,.figure-spread,.quick-links{grid-template-columns:1fr}.feature-card{min-height:auto}.page-hero{padding:45px 0}.page-layout{padding-top:35px;padding-bottom:50px}.article section{margin-bottom:47px}.figure{padding:11px}.figure figcaption{font-size:.87rem}.figure.qgis{overflow-x:auto}.figure.qgis img{min-width:650px;max-width:none}.scroll-hint{display:block}.figure.figure-medium img,.figure.figure-compact img,.figure.figure-wide img{max-width:100%}.simple-panel{padding:22px}.archive-item{padding:21px}.notice,.key-message{padding:17px}.zoom-dialog img{min-width:720px}.scene{padding:19px}}

.rough-title-link{color:inherit;text-decoration:none}.rough-title-link:hover{text-decoration:underline}.gallery-row{grid-template-columns:1fr}.gallery-row>.figure{max-width:860px;width:100%}
@media(max-width:720px){.figure.figure-medium{overflow-x:auto}.figure.figure-medium img{min-width:650px;max-width:none}.gallery-row>.figure{overflow-x:auto}}

/* --- Cue部: 旧サイトの写真とテーマを尊重する調整版 --- */
:root{--ink:#273b35;--muted:#5d6d68;--teal:#397356;--teal-dark:#2e6046;--mint:#e7f1e8;--cream:#fff;--line:#dce7df;--soft:#f4f8f4;--shadow:0 3px 16px rgba(18,62,41,.045)}
body{background:#fff;color:var(--ink);font-size:16px;line-height:1.85}
a{color:#27633e}
.wrap{width:min(1120px,calc(100% - 48px))}
.site-header{background:#fff;border-bottom:1px solid #dfe9e0}
.header-inner{min-height:74px}
.brand{font-size:1.6rem;font-weight:800;letter-spacing:.04em;color:#275a40}
.main-nav a{color:#40564b;font-weight:600;font-size:.9rem;padding:9px 12px}
.main-nav a:hover,.main-nav a[aria-current=page]{background:#edf5ec;color:#265f3d}
.home-hero{position:relative;min-height:420px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(20,76,47,.77),rgba(27,85,49,.56) 53%,rgba(27,78,47,.22)),url('https://cue.gozaru.jp/img/top.jpg') center 49%/cover no-repeat;}
.home-hero .hero-copy{position:relative;padding-block:92px 94px}
.home-hero .hero-kicker{font-weight:700;font-size:.85rem;letter-spacing:.10em;color:#f2faf3}
.home-hero h1{font-size:clamp(3.45rem,8vw,6.9rem);line-height:1.2;letter-spacing:.04em;margin:14px 0 14px;max-width:none;text-shadow:0 2px 13px rgba(8,34,20,.14)}
.home-hero p{font-size:clamp(1.12rem,2.6vw,1.6rem);font-weight:700;line-height:1.75;margin:0 0 18px;color:#fff;max-width:760px}
.home-hero .hero-small{font-size:1rem;color:#f5faf6;display:block;line-height:1.85}
.section{padding-block:68px}
.content-section{background:#fff}
.section-head h2{font-size:clamp(1.75rem,3vw,2.1rem);font-weight:800;letter-spacing:0}
.section-head p{max-width:840px;font-size:.98rem}
.rough-family{border:1px solid #d9e7dd;background:#f8fbf8;border-radius:9px;padding:28px;margin-top:30px}
.rough-family-head{display:flex;justify-content:space-between;align-items:end;gap:20px;border-bottom:1px solid #dbe9df;padding:0 0 24px;margin-bottom:22px}
.rough-family-head h3{font-size:1.35rem;margin:8px 0 10px;font-weight:500}
.rough-family-head p{max-width:690px;margin:0;color:#4e6658;font-size:.95rem}
.rough-family-head .rough-font{font-size:clamp(1.55rem,2.6vw,2.05rem);font-weight:400;line-height:1.58;color:#244f39}
.section-flag{font-size:.83rem;font-weight:700;letter-spacing:.03em;color:#427355}
.family-main-link{flex:0 0 auto;white-space:nowrap;display:inline-block;border:1px solid #89ae91;border-radius:7px;text-decoration:none;padding:9px 14px;font-weight:700;background:#fff;color:#2b6d42}
.family-main-link:hover{background:#ecf5ed}
.family-subheading{font-size:1rem;font-weight:800;margin:4px 0 13px}
.family-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.feature-card{border-radius:8px;padding:23px 24px;min-height:auto;box-shadow:var(--shadow)}
.feature-card .card-icon{border-radius:8px;width:44px;height:44px;font-size:1.24rem;margin-bottom:13px;background:#edf5ee}
.feature-card h4{font-size:1.2rem;line-height:1.5;margin:0 0 8px}
.feature-card h3{font-size:1.15rem}
.feature-card p{font-size:.93rem;line-height:1.85;margin-bottom:17px}
.feature-card .card-link{font-size:.93rem}
.trouble-search{display:grid;grid-template-columns:225px minmax(0,1fr);gap:18px;align-items:center;margin-top:18px;border-top:1px solid #dce9e0;padding-top:22px}
.trouble-search h4{font-size:1.1rem;margin:0 0 5px}
.trouble-search p{font-size:.87rem;color:#5f7066;line-height:1.7;margin:0}
.trouble-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.trouble-links a{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border:1px solid #d9e6dd;border-radius:6px;padding:11px 12px;text-decoration:none;color:#315e43;font-size:.93rem;font-weight:700}
.trouble-links a:hover{background:#e8f4ec}
.other-heading{margin-top:39px;margin-bottom:17px}
.other-heading h3{font-size:1.26rem;margin:0}
.general-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.about-section{background:#f6f8f5;padding-block:55px}
.simple-panel{background:#fff;border:1px solid #e1e8e1;border-radius:8px;box-shadow:none;padding:27px}
.simple-panel h2{font-size:1.38rem;margin:0 0 12px}
.eyebrow{color:#4c7b59;letter-spacing:.12em;font-size:.78rem}
.page-hero{background:#f2f7f1;color:#284c38;border-bottom:1px solid #dbe9dd;padding:48px 0 46px}
.page-hero .eyebrow{color:#5d8369}
.page-hero h1{font-size:clamp(1.9rem,3.8vw,2.65rem);margin-bottom:12px;color:#274833}
.page-hero p{color:#4a6353;max-width:790px}
.breadcrumb{color:#658070;margin-bottom:22px}
.breadcrumb a{color:#53735d}
.parent-note{display:inline-block;font-size:.79rem;font-weight:700;padding:4px 10px;margin:0 0 12px;border:1px solid #bbd3bf;border-radius:5px;color:#396848;background:#fff}
.parent-back{margin:0 0 26px;font-weight:700;font-size:.94rem}
.parent-back a{text-decoration:none}
.parent-back a:hover{text-decoration:underline}
.article h2{border-bottom:2px solid #d9e6db}
.notice,.key-message{background:#f0f7ef;border-color:#5f9467}
.warning{background:#fff6ec;border-color:#cd996c}
.pill{background:#eaf4eb;color:#376b46}
.figure,.concept,.quick-links a,.scene,.archive-item,.error-card{border-radius:8px;box-shadow:none}
.site-footer{background:#f3f7f2;border-top:1px solid #dae6dc;color:#304b3a;padding:38px 0 25px}
.site-footer .brand{color:#28583c}
.site-footer p{color:#59705d}
.footer-links a{color:#42634c}
.copyright{color:#748677;border-color:#d4dfd5}
.rough-subcontents .feature-card{background:#fff}
@media(max-width:800px){.trouble-search{grid-template-columns:1fr}.rough-family-head{display:block}.family-main-link{margin-top:15px}.general-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.wrap{width:calc(100% - 32px)}.section{padding-block:46px}.home-hero{min-height:340px;background-position:center center}.home-hero .hero-copy{padding-block:73px}.home-hero h1{font-size:3.65rem}.home-hero p{font-size:1.09rem}.home-hero .hero-small{font-size:.88rem}.rough-family{padding:18px}.family-card-grid,.general-grid,.trouble-links{grid-template-columns:1fr}.rough-family-head .rough-font{font-size:1.5rem}.feature-card{padding:20px}.page-hero{padding-block:35px}.site-footer{padding-block:32px}.main-nav a{font-size:.94rem}}


/* ============ 元サイトの濃いフッターと右下の上へ戻るボタンを再現 ============ */
.site-footer { background:#183e2d; color:#f7fbf5; border-top:0; padding:52px 0 23px; }
.site-footer .footer-grid { display:flex; gap:34px 55px; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; }
.site-footer .footer-project { min-width:250px; flex:1 1 330px; }
.site-footer .footer-project h2 { margin:0 0 13px; color:#fff; font-size:clamp(1.55rem,2.5vw,1.95rem); font-weight:800; letter-spacing:.05em; }
.site-footer .footer-project p { color:#f0f8ee; font-size:1rem; line-height:2; margin:0 0 10px; }
.site-footer .footer-project .footer-address { color:#e0eddf; }
.site-footer .footer-project .footer-concept { margin-top:12px; font-weight:600; }
.site-footer .footer-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 22px; max-width:360px; padding-top:8px; }
.site-footer .footer-links a { color:#e5f5e5; font-size:.91rem; line-height:1.7; }
.site-footer .copyright { border-top:1px solid rgba(255,255,255,.24); color:#b9d2bc; margin-top:30px; padding-top:17px; }
#totop { position:fixed; z-index:100; right:23px; bottom:22px; width:53px; height:53px; display:grid; place-items:center; text-decoration:none; color:#121d15; background:#a5ed6f; border:1px solid rgba(0,0,0,.08); border-radius:8px; box-shadow:0 5px 18px rgba(0,0,0,.18); font-family:Arial,sans-serif; font-size:33px; font-weight:800; line-height:1; transition:background .16s,transform .16s; }
#totop:hover { background:#bdfa8e; transform:translateY(-3px); }
#totop:focus-visible { outline:3px solid #183e2d; outline-offset:3px; }
.about-manager { margin-top:4px; color:#37644c!important; }

/* ============ Special : 元ページのリンク/モーダルとSHA-256照合を継承 ============ */
.special-menu { position:relative; display:flex; align-items:center; }
.special-trigger { display:inline-block; padding:9px 12px; border:0; border-radius:30px; background:transparent; font:inherit; font-size:.9rem; font-weight:600; color:#40564b; cursor:pointer; }
.special-trigger:hover,.special-trigger:focus-visible,.special-menu.open .special-trigger { color:#265f3d; background:#edf5ec; }
.special-submenu { display:none; position:absolute; z-index:65; top:100%; right:0; min-width:150px; background:#fff; border:1px solid #d9e6dd; border-radius:7px; padding:7px; box-shadow:0 8px 22px rgba(0,0,0,.12); }
.special-menu:hover .special-submenu,.special-menu:focus-within .special-submenu,.special-menu.open .special-submenu { display:block; }
.main-nav .special-submenu a { display:block; border-radius:5px; white-space:nowrap; padding:9px 12px; font-size:.89rem; }
.special-modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(20,24,33,.58); z-index:20000; }
.special-modal.is-visible { display:flex; }
.special-modal__panel { width:min(420px,100%); box-sizing:border-box; padding:28px 26px 24px; background:#fff; color:#273b35; border-radius:20px; box-shadow:0 18px 60px rgba(0,0,0,.28); text-align:center; }
.special-modal__icon { width:42px; height:42px; display:grid; place-items:center; margin:0 auto 9px; border-radius:50%; background:#e5f2e4; color:#27583a; font-size:27px; }
.special-modal__panel h2 { margin:0 0 8px; font-size:1.4rem; color:#253f31; }
.special-modal__panel>p { margin:0 0 16px; color:#555; font-size:.94rem; line-height:1.75; }
.special-modal__input-wrap { position:relative; width:100%; }
.special-modal__input { width:100%; box-sizing:border-box; padding:12px 50px 12px 14px; border:2px solid #cddccf; border-radius:12px; font-size:16px; outline:none; }
.special-modal__input:focus { border-color:#4e9664; }
.special-modal__toggle { position:absolute; top:50%; right:10px; transform:translateY(-50%); width:36px; height:36px; display:grid; place-items:center; padding:0; border:0; background:transparent; color:#555; cursor:pointer; }
.special-modal__toggle .eye-slash { display:block; }
.special-modal__toggle[aria-pressed="true"] .eye-slash { display:none; }
.special-modal__error { min-height:1.4em; margin:9px 0 3px!important; color:#b6324e!important; font-size:.88rem!important; }
.special-modal__actions { display:flex; gap:10px; justify-content:center; margin-top:15px; }
.special-modal__button { border:0; border-radius:999px; padding:10px 22px; font-family:inherit; font-size:15px; font-weight:700; cursor:pointer; }
.special-modal__button--cancel { background:#eee; color:#444; }
.special-modal__button--enter { background:#2e7048; color:white; }
.special-modal__button--enter:hover { background:#23583a; }

/* ============ りんごの図だけを抑える。QGIS画面は読める大きさを保つ ============ */
#apple .apple-figure { width:min(100%,540px); max-width:540px; margin:20px auto 26px; padding:12px 16px 16px; overflow:visible; }
#apple .apple-figure img,#apple .apple-figure.figure-medium img { width:auto; max-width:min(100%,420px); min-width:0; max-height:none; height:auto; object-fit:contain; }
#apple .apple-figure figcaption { font-size:.9rem; line-height:1.85; }
@media(max-width:720px) {
 .site-footer { padding:39px 0 24px; }
 .site-footer .footer-links { max-width:none; width:100%; }
 #totop { width:49px; height:49px; right:15px; bottom:15px; font-size:30px; }
 .special-menu { display:block; width:100%; }
 .special-trigger { display:block; width:100%; text-align:left; padding:10px 14px; font-size:.94rem; border-radius:8px; }
 .special-submenu { display:none; position:static; box-shadow:none; border:0; border-left:3px solid #b2cdb6; border-radius:0; margin-left:16px; padding:3px 5px; background:#f8fbf7; }
 .special-menu:hover .special-submenu { display:none; }
 .special-menu.open .special-submenu,.special-menu:focus-within.open .special-submenu { display:block; }
 #apple .apple-figure { max-width:100%; padding:10px 12px 15px; }
 #apple .apple-figure img,#apple .apple-figure.figure-medium img { width:auto; max-width:100%; min-width:0; }
}



/* =======================================================
   REFERENCE LAYOUT — user-approved reference image
   Clear WHITE header above the city photo, not overlaid.
   Keep local site.css as sole layout source for predictable previews.
   ======================================================= */
:root { --ink:#213a2b; --muted:#53675a; --teal:#2b6943; --teal-dark:#214f35; --cream:#fff; --line:#dce8dc; --soft:#f1f7ef; }
html, body {margin:0; background:#fff; color:#24392b;}
body {font-family:'Noto Sans JP','Yu Gothic','Hiragino Kaku Gothic ProN',Meiryo,sans-serif; font-size:16px; line-height:1.9;}
/* A white masthead exactly like the approved example. */
.homepage .site-header.hero-header,
.site-header {position:relative; top:auto; left:auto; right:auto; z-index:50; background:#fff; border-bottom:1px solid #e7ede8; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none;}
.site-header .header-inner{width:min(1216px,calc(100% - 112px));margin:auto;min-height:70px;display:flex;align-items:center;gap:22px;padding:0;}
.site-header .brand{font-family:'Noto Sans JP','Yu Gothic',sans-serif;font-size:1.55rem;font-weight:800;letter-spacing:-.04em;color:#23583d;text-decoration:none;text-shadow:none;}
.site-header .main-nav{display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:3px;flex:1;}
.site-header .main-nav > a,
.site-header .main-nav > .special-menu > .special-trigger{font-family:'Noto Sans JP','Yu Gothic',sans-serif;color:#263e2e;background:transparent;text-shadow:none;font-size:.87rem;font-weight:700;letter-spacing:-.015em;white-space:nowrap;text-decoration:none;padding:8px 12px;border:0;border-radius:999px;}
.site-header .main-nav > a:hover,
.site-header .main-nav > a[aria-current="page"],
.site-header .special-trigger:hover,
.site-header .special-trigger:focus-visible,
.site-header .special-menu.open .special-trigger{background:#edf5eb;color:#246043;}
.site-header .main-nav .special-submenu a{background:#fff;color:#234c34;text-shadow:none;}
.site-header .special-submenu{z-index:99;}
/* Original city photo: CSS overlay, NO blur or duplicate image layer. */
.homepage .home-hero {background-color:#2a624b;background-image:linear-gradient(90deg,rgba(12,67,44,.62),rgba(15,79,53,.34) 57%,rgba(23,78,49,.20)),url('https://cue.gozaru.jp/img/top.jpg');background-repeat:no-repeat;background-size:cover;background-position:50% 56%;filter:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;min-height:280px;height:280px;display:flex;align-items:center;position:relative;isolation:isolate;}
.homepage .home-hero::before,.homepage .home-hero::after{content:none!important;display:none!important;}
.homepage .home-hero .hero-copy{width:min(1216px,calc(100% - 112px));margin:0 auto;padding:0;position:relative;transform:none;filter:none!important;text-shadow:none;}
.homepage .home-hero .hero-kicker{display:block;color:#fff;font-size:.85rem;font-weight:800;letter-spacing:.07em;line-height:1.7;margin:0 0 28px;}
.homepage .home-hero h1{font-family:'Noto Sans JP','Yu Gothic',sans-serif;display:block;color:#fff;font-weight:800;letter-spacing:-.035em;font-size:clamp(3.5rem,6.2vw,5.6rem);line-height:1.13;margin:0 0 12px;text-shadow:0 2px 11px rgba(0,0,0,.07);}
.homepage .home-hero p.hero-tagline{display:block;color:#fff;font-size:clamp(1.02rem,1.72vw,1.36rem);font-weight:700;line-height:1.7;margin:0;max-width:100%;text-shadow:0 1px 3px rgba(0,0,0,.14);}
.homepage .home-hero .hero-small{display:block;color:#fff;font-size:.99rem;line-height:1.8;letter-spacing:0;text-shadow:0 1px 3px rgba(0,0,0,.15);}
/* 'コンテンツ' title and intro centered as a single aligned unit. */
.homepage .content-section{padding:69px 0 77px;background:#fff;}
.homepage #contents > .wrap > .section-head:first-child{display:block;width:100%;margin:0 auto 42px;text-align:center;float:none;padding:0;}
.homepage #contents > .wrap > .section-head:first-child h2{display:table;position:relative;float:none;width:auto;text-align:center;font-size:2rem;line-height:1.4;margin:0 auto 35px;padding:0 0 16px;}
.homepage #contents > .wrap > .section-head:first-child h2::after{content:"";position:absolute;bottom:0;left:50%;width:62px;height:3px;background:#162119;transform:translateX(-50%);}
.homepage #contents > .wrap > .section-head:first-child p{display:block;margin:0 auto;max-width:850px;text-align:center;line-height:1.9;font-size:1rem;}
/* About and Cue息所: identical two-line layout with heading and body below. */
.homepage .about-section{background:#f5f7f2;border:0;}
.homepage .blog-section{background:#fff;border-top:1px solid #ebf0e9;}
.homepage #about,.homepage #blog{padding:75px 0 78px;}
.homepage #about .original-section,.homepage #blog .original-section{display:block;float:none;width:min(1120px,calc(100% - 48px));max-width:1120px;margin:auto;padding:0;text-align:left;}
.homepage #about .original-section h2,.homepage #blog .original-section h2{font-family:'Noto Sans JP','Yu Gothic',sans-serif;display:table;float:none;position:relative;text-align:left;color:#223c2b;font-size:2.13rem;line-height:1.38;font-weight:800;letter-spacing:0;width:auto;margin:0 0 42px;padding:0 0 15px;}
.homepage #about .original-section h2::after,.homepage #blog .original-section h2::after{content:"";position:absolute;bottom:0;left:0;width:62px;height:3px;background:#142417;}
.homepage #about .section-copy,.homepage #blog .section-copy{display:block;clear:both;width:100%;}
.homepage #about .section-copy p,.homepage #blog .section-copy p{display:block;float:none;max-width:930px;width:auto;font-size:1rem;line-height:2;margin:0 0 16px;text-align:left;}
.homepage #about .section-copy p:last-child,.homepage #blog .section-copy p:last-child{margin-bottom:0;}
.homepage #blog .blog-link-row{margin-top:22px;}
.homepage #blog .blog-link-row a{font-family:'Noto Sans JP','Yu Gothic',sans-serif;color:#2e6b44;font-weight:700;text-decoration:underline;text-underline-offset:4px;}
/* Compact footer: preserve the established font families; adjust size and spacing only. */
.site-footer{background:#183e2d;border:0;padding:22px 0 11px;color:#fff;}
.site-footer .footer-grid.wrap-3col{display:flex;float:none;width:100%;max-width:100%;padding:0;margin:0;gap:18px 36px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;}
.site-footer .footer-grid .footer-project.inner{width:auto;flex:1 1 330px;min-width:0;float:none;margin:0;padding:0;}
/* Font families match the previously approved site: PROJECT and © in Noto Sans JP. */
.site-footer .footer-project h1.original-project-title,.site-footer .copyright{font-family:'Noto Sans JP','Yu Gothic',Arial,sans-serif!important;font-style:normal;font-weight:800;letter-spacing:.008em;}
.site-footer .footer-project h1.original-project-title{font-size:1.625rem;color:#fff;line-height:1.3;margin:0 0 8px;padding:0;}
.site-footer .footer-project p{font-size:1rem;line-height:1.55;margin:0 0 5px;color:#f0f8ee;}
.site-footer .footer-project .footer-address{font-size:1rem;line-height:1.6;}
.site-footer .footer-project .footer-address a{font-family:'Noto Sans JP','Yu Gothic',sans-serif;color:#e5f2e8;font-size:.875rem;font-weight:500;text-decoration:none;}
.site-footer .footer-project .footer-address a:hover{text-decoration:underline;}
/* Descriptive text remains Mitimasu, as requested. */
.site-footer .footer-project .footer-mitimasu,
.site-footer .footer-project .footer-concept{font-family:'Mitimasu','みちます','Yu Gothic',sans-serif;font-weight:400;letter-spacing:.015em;font-size:1rem;line-height:1.6;}
.site-footer .footer-project .footer-concept{margin-top:7px;margin-bottom:0;}
.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:340px;gap:4px 22px;padding-top:6px;}
.site-footer .footer-links a{font-family:'Noto Sans JP','Yu Gothic',sans-serif;font-size:.875rem;font-weight:500;color:#e8f4e9;line-height:1.65;text-decoration:none;}
.site-footer .footer-links a:hover{text-decoration:underline;}
.site-footer .copyright{font-size:.8125rem!important;line-height:1.5;color:#e8f4e9;border-top:1px solid rgba(255,255,255,.23);margin-top:13px;padding-top:8px;}
/* One and only one upward arrow. */
#totop{position:fixed;z-index:100;right:19px;bottom:18px;width:56px;height:56px;display:grid;place-items:center;color:#101c11;background:#a5e500;border-radius:8px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.16);font-size:33px;line-height:1;font-family:Arial,sans-serif;}
#totop::before,#totop::after{content:none!important;display:none!important;}
#totop span{display:block;line-height:1;font-size:33px;}
#totop:hover{background:#b4f319;transform:translateY(-2px);}
/* Apple illustrations smaller than the previous 420px; full quality accessible by click-to-zoom. */
#apple .apple-figure{width:min(100%,420px);max-width:420px;margin:20px auto 26px;padding:11px 13px 15px;overflow:visible;}
#apple .apple-figure img,#apple .apple-figure.figure-medium img{display:block;width:auto;max-width:min(100%,350px);min-width:0;height:auto;max-height:none;object-fit:contain;}
/* Children in local CSS; no legacy sheet is allowed to inject layout. */
@media(max-width:1150px){.site-header .header-inner{width:calc(100% - 52px);}.site-header .main-nav > a,.site-header .main-nav > .special-menu > .special-trigger{padding:7px 9px;font-size:.82rem;}}
@media(max-width:800px){.site-header .main-nav > a,.site-header .main-nav > .special-menu > .special-trigger{font-size:.76rem;padding:6px 7px;}}
@media(max-width:720px){
  .site-header .header-inner{width:calc(100% - 32px);min-height:70px;padding:10px 0;justify-content:space-between;flex-wrap:wrap;}
  .site-header .nav-toggle{display:block;background:#fff;border:1px solid #cfded0;color:#244a34;padding:8px 12px;}
  .site-header .main-nav{display:none;align-items:stretch;flex-basis:100%;width:100%;flex-direction:column;padding:9px 0 6px;gap:2px;}
  .site-header .main-nav.is-open{display:flex;}
  .site-header .main-nav > a,.site-header .main-nav > .special-menu > .special-trigger{display:block;font-size:.95rem;text-align:left;padding:10px 14px;width:100%;}
  .site-header .special-menu{display:block;width:100%;}
  .site-header .special-submenu{display:none;position:static;margin-left:16px;border:0;box-shadow:none;border-left:3px solid #b7d2c2;border-radius:0;}
  .site-header .special-menu:hover .special-submenu{display:none;}
  .site-header .special-menu.open .special-submenu{display:block;}
  .homepage .home-hero{min-height:235px;height:235px;background-position:54% 56%;}
  .homepage .home-hero .hero-copy{width:calc(100% - 40px);}
  .homepage .home-hero h1{font-size:clamp(3.15rem,13vw,4.3rem);letter-spacing:-.04em;margin-bottom:10px;}
  .homepage .home-hero .hero-kicker{font-size:.78rem;margin-bottom:22px;}
  .homepage .home-hero p.hero-tagline{font-size:1.0rem;line-height:1.65;margin-bottom:0;}
  .homepage .home-hero .hero-small{font-size:.84rem;}
  .homepage #contents > .wrap > .section-head:first-child{margin-bottom:28px;}
  .homepage #contents > .wrap > .section-head:first-child p{text-align:center;font-size:.92rem;}
  .homepage #about,.homepage #blog{padding:52px 0 60px;}
  .homepage #about .original-section,.homepage #blog .original-section{width:calc(100% - 32px);}
  .homepage #about .original-section h2,.homepage #blog .original-section h2{font-size:1.85rem;margin-bottom:30px;}
  .site-footer .footer-links{width:100%;max-width:none;}
  #apple .apple-figure{width:100%;}
  #apple .apple-figure img,#apple .apple-figure.figure-medium img{max-width:100%;}
}


/* 2026-11-16: About and Cue息所 in two balanced columns on desktop.
   Keep the header, photo, content cards, font assignments and footer unchanged. */
.homepage .home-info-grid {
  width:min(1120px,calc(100% - 48px));
  margin:0 auto;
  padding:60px 0 72px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.homepage .home-info-grid > .section {
  margin:0;
  padding:36px 38px 42px;
  min-width:0;
  border:1px solid #e1e8df;
  border-radius:5px;
  box-shadow:none;
}
.homepage .home-info-grid > .about-section {background:#f5f7f2;}
.homepage .home-info-grid > .blog-section {background:#fff;}
.homepage .home-info-grid .original-section,
.homepage #about .original-section,
.homepage #blog .original-section {
  width:100%;
  max-width:none;
  margin:0;
}
.homepage .home-info-grid .original-section h2 {
  margin-bottom:30px;
}
.homepage .home-info-grid .section-copy p {
  max-width:none;
  line-height:1.95;
}
.homepage .home-info-grid .blog-link-row {margin-top:22px;}
@media(max-width:760px){
  .homepage .home-info-grid {
    width:calc(100% - 32px);
    grid-template-columns:1fr;
    gap:16px;
    padding:32px 0 42px;
  }
  .homepage .home-info-grid > .section {padding:28px 24px 32px;}
}

/* ----------------------------------------------------------
   Font-only restoration, 2026-11-16
   Source: Cue部 original CSS (DevTools supplied by the site owner)
       h1:  "Josefin Sans", "Kosugi", cursive
       body: mitimasu, 'mitimasu', sans-serif
   Keep every previous size, weight, margin, padding and geometry.
   ---------------------------------------------------------- */
:root {
  --cue-title-font: "Josefin Sans", "Kosugi", cursive;
  --cue-body-font: 'Segoe UI', sans-serif;
}
/* All site text uses the original site's base typeface. */
body { font-family: var(--cue-body-font) !important; }
/* Title lettering -- including BOTH appearances of Cue部, PROJECT,
   コンテンツ, About, Cue息所, headings on every article page, and © Cue部. */
h1, h2, h3, h4, h5, h6,
.site-header .brand,
.homepage .home-hero h1,
.homepage #contents .section-head h2,
.homepage #about .original-section h2,
.homepage #blog .original-section h2,
.homepage .other-heading h3,
.homepage .family-subheading,
.homepage .section-flag,
.article .side-index .side-title,
.page-hero h1,
.site-footer .footer-project h1.original-project-title,
.site-footer .copyright {
  font-family: var(--cue-title-font) !important;
}
/* Menus and links follow the original's clean title/link lettering. */
.site-header .main-nav a,
.site-header .main-nav .special-trigger,
.site-header .nav-toggle,
.site-footer .footer-address a,
.site-footer .footer-links a,
.homepage #blog .blog-link-row a {
  font-family: var(--cue-title-font) !important;
}
/* Remove former Noto Sans JP overrides from non-title parts. */
.homepage .home-hero p.hero-tagline,
.homepage #about .section-copy,
.homepage #blog .section-copy,
.homepage .feature-card,
.homepage .rough-family p,
.article, .page-hero p {
  font-family: var(--cue-body-font) !important;
}
/* Deliberate handwriting: ラフ解 title and footer descriptive lines.
   The footer PROJECT, links and copyright retain the title typeface. */
.rough-font,
.site-footer .footer-project .footer-mitimasu,
.site-footer .footer-project .footer-concept {
  font-family: var(--cue-body-font) !important;
}


/* 2026-12-01: Mitimasu text only — modest legibility increase (~8%).
   No changes to Josefin Sans/Kosugi titles, layout dimensions, or font families. */
body { font-size:17px; } /* previously 16px; inherited Mitimasu copy */
.homepage .home-hero p.hero-tagline { font-size:clamp(1.10rem,1.85vw,1.46rem); }
.homepage #contents > .wrap > .section-head:first-child p { font-size:1.08rem; }
.homepage .rough-family-head p { font-size:1.03rem; }
.homepage .rough-family-head .rough-font { font-size:clamp(1.68rem,2.8vw,2.21rem); }
.homepage .feature-card p { font-size:1.01rem; }
.homepage .trouble-search p { font-size:.95rem; }
.homepage .trouble-links a,
.homepage .feature-card .card-link { font-size:1.01rem; }
.homepage #about .section-copy p,
.homepage #blog .section-copy p { font-size:1.08rem; }
.page-hero p { font-size:1.13rem; }
.article p, .article li { font-size:1.08rem; }
.article .archive-item p { font-size:1.03rem; }
.article .archive-item .date { font-size:.92rem; }
.article .archive-meta span { font-size:.85rem; }
.article .figure figcaption { font-size:.97rem; }
.article .figure .zoom-tip { font-size:.80rem; }
.article .note-text { font-size:.93rem !important; }
.site-footer .footer-project .footer-mitimasu,
.site-footer .footer-project .footer-concept { font-size:1.08rem; }
@media (max-width:720px) {
  .homepage .home-hero p.hero-tagline { font-size:1.08rem; }
  .homepage #contents > .wrap > .section-head:first-child p { font-size:1rem; }
  .homepage .rough-family-head .rough-font { font-size:1.62rem; }
}


/* 2026-12-01: typography assignment ONLY (no size, spacing or layout edits).
   Ordinary text uses toolbox.html's Segoe UI stack.
   The ラフ解 display title and softly colored explanation boxes retain みちます.
   All Josefin Sans / Kosugi site titles and navigation are unchanged. */
:root { --cue-rough-font: mitimasu, 'mitimasu', sans-serif; }
.rough-font,
.article .notice,
.article .key-message {
  font-family:var(--cue-rough-font) !important;
}


/* 2026-12-01: ラフ解ページの大見出しだけ「みちます」に。
   サイズ・位置・改行・ほかの見出し指定はそのまま。 */
.page-hero h1.rough-page-title {
  font-family: var(--cue-rough-font) !important;
  font-weight: 400;
}
