@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--ink:#153139;--muted:#617378;--teal:#006b6b;--teal-dark:#005454;--line:#dce6e8;--pale:#eaf6f5;--bg:#f5f8f9;font-family:'Noto Sans JP',system-ui,sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #ecaa3c;outline-offset:3px}button{color:inherit}button:disabled{cursor:default}h1,h2,h3,p{margin:0}h2{font-size:1.05rem}svg{flex-shrink:0}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1440px)/2));background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:1.35rem;font-weight:800;letter-spacing:.02em}.brandmark{font-size:2.4rem;line-height:1;display:grid;place-items:center;background:var(--teal);color:white;border-radius:11px;width:43px;height:43px;padding-bottom:5px}.brand-small{display:block;font-size:.75rem;color:var(--muted);font-weight:500;letter-spacing:.04em;margin-top:2px}.text-button{background:none;border:0;padding:8px 2px;color:var(--teal);font-size:.875rem;font-weight:600}.text-button:hover{text-decoration:underline}main{max-width:1504px;margin:0 auto;padding:34px 32px 40px}.page-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;gap:20px}.eyebrow{font-size:.75rem;font-weight:700;color:var(--teal);letter-spacing:.16em;margin-bottom:8px}h1{font-size:1.85rem;font-weight:700;letter-spacing:.02em;line-height:1.5}.page-title p:not(.eyebrow){color:var(--muted);margin-top:7px;font-size:.875rem}.privacy-note{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.8rem;padding-bottom:7px;white-space:nowrap}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:26px;align-items:start}.filters{background:white;border:1px solid var(--line);border-radius:14px;padding:22px;max-height:calc(100vh - 28px);overflow-y:auto;position:sticky;top:14px;scrollbar-width:thin}.filter-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.field{padding:0;margin:0 0 23px;border:0;min-width:0}.field legend{font-size:.875rem;font-weight:700;margin-bottom:10px;line-height:1.5}.options{display:flex;flex-wrap:wrap;gap:6px}.option{border:1px solid var(--line);background:white;border-radius:6px;padding:8px 10px;line-height:1.4;min-height:38px;font-size:.875rem;font-weight:500;transition:background .14s,border-color .14s}.option:hover{border-color:#70aaa8;background:#f2faf9}.option.selected{color:var(--teal-dark);border-color:var(--teal);background:var(--pale);box-shadow:inset 0 0 0 1px var(--teal);font-weight:700}.options.wide .option{flex:1;white-space:nowrap;justify-content:center}.options.numbers .option{flex:1;min-width:36px;padding:8px 4px}.use-details{border-top:1px solid var(--line);padding-top:17px}.use-details>summary,.discount-details>summary{font-size:.95rem;font-weight:700;list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding-bottom:18px;position:relative}.use-details>summary:after,.discount-details>summary:after{content:'＋';margin-left:auto;color:var(--teal);font-size:1.2rem}.use-details[open]>summary:after,.discount-details[open]>summary:after{content:'−'}.use-details summary span{display:none}.discount-details{border-top:1px solid var(--line);padding-top:17px}.discount-details summary span{font-size:.75rem;font-weight:400;color:var(--muted)}.small{font-size:.8rem;line-height:1.8;color:var(--muted);margin-bottom:15px}.filter-note{font-size:.75rem;line-height:1.85;color:var(--muted);margin-top:5px}.results{min-width:0}.tabbar{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px}.tab{background:none;border:0;border-bottom:3px solid transparent;padding:12px 2px 15px;color:var(--muted);font-weight:600;font-size:.9rem}.tab.active{border-bottom-color:var(--teal);color:var(--teal)}.recommendation{border-radius:12px;background:var(--pale);border:1px solid #c8e4e1;padding:21px 24px;min-height:120px}.rec-label{display:flex;align-items:center;gap:6px;font-size:.75rem;color:var(--teal);font-weight:700;letter-spacing:.04em;margin-bottom:8px}.rec-title{font-size:1.35rem;line-height:1.5;font-weight:700}.rec-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:10px}.rec-advice{font-size:.875rem;color:#2c6566;line-height:1.7}.rec-bandwidth{font-size:.75rem;white-space:nowrap;color:#2c6566}.rec-subnote{font-size:.75rem;line-height:1.7;color:var(--muted);margin-top:8px}.result-toolbar{display:flex;justify-content:space-between;align-items:center;margin:26px 0 10px}.result-toolbar h2{font-size:1.15rem}.result-toolbar p{font-size:.8rem;color:var(--muted);margin-top:5px}.download{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--line);background:white;border-radius:7px;font-size:.8rem;font-weight:600}.compare-note{font-size:.75rem;color:var(--muted);line-height:1.8;margin:0 0 13px}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:10px;background:white;max-width:100%;scrollbar-width:thin}table{width:100%;border-collapse:collapse;min-width:820px;font-size:.875rem;line-height:1.65}th{text-align:left;padding:15px 14px;background:#f1f5f6;color:var(--muted);font-size:.75rem;font-weight:600;white-space:nowrap;border-bottom:1px solid var(--line)}th span{display:block;font-weight:400;font-size:.75rem;margin-top:2px}td{padding:19px 14px;border-bottom:1px solid var(--line);vertical-align:top}tbody tr:last-child td{border-bottom:0}.service-col{width:26%;min-width:215px}.name-line{display:flex;align-items:center;gap:8px}.rank-number{font-family:system-ui,sans-serif;font-size:.875rem;font-weight:700;background:#f2f5f6;border-radius:5px;min-width:24px;height:24px;text-align:center;line-height:24px;color:var(--muted)}.best .rank-number{background:var(--teal);color:white}.service-name{padding:0;background:none;border:0;text-align:left;font-weight:700;font-size:.9rem;line-height:1.6}.service-name:hover{color:var(--teal)}.plan{margin-top:6px;margin-left:32px;font-size:.75rem;color:var(--muted);line-height:1.8}.area{display:inline-block;margin-top:5px;font-size:.75rem;color:#708286}.fee{font:700 1.35rem system-ui,sans-serif;letter-spacing:-.03em;white-space:nowrap;color:var(--ink)}.fee small{font-size:.75rem;font-weight:400;letter-spacing:0}.fee-sub{font-size:.75rem;color:var(--muted);line-height:1.8;margin-top:5px;max-width:140px}.speed{white-space:nowrap;font-size:.875rem;font-weight:600}.secondary{color:var(--muted);font-size:.75rem;font-weight:400}.discount-tag{font-size:.75rem;border-radius:4px;color:var(--teal);background:#edf6f5;padding:3px 6px;display:inline-block;white-space:nowrap}.discount-unknown{font-size:.75rem;color:var(--muted)}.suitability{display:inline-flex;font-size:.75rem;font-weight:600;padding:3px 7px;background:#edf6f5;color:var(--teal);border-radius:4px}.suitability.caution{color:#8e5b21;background:#fff4e5}.verdict{display:block;white-space:nowrap;font-size:.8rem;margin-top:7px}.action-links{display:flex;flex-direction:column;gap:7px;min-width:92px}.area-link,.apply-link{font-size:.75rem;font-weight:600;text-align:center;padding:6px 9px;border-radius:6px;border:1px solid #b1cccd;white-space:nowrap;background:white}.area-link{color:var(--teal)}.apply-link{background:var(--teal);color:white;border-color:var(--teal)}.area-link:hover,.apply-link:hover{text-decoration:none;background:var(--teal-dark);color:white}.detail-link{font-size:.75rem;color:var(--teal);background:none;border:0;padding:3px 0;text-align:left;margin-top:6px}.best>td{background:#fcfefd}.best-label{font-size:.75rem;color:var(--teal);font-weight:600;margin-left:32px;margin-top:5px}.detail-row>td{background:#f8fbfb;padding:22px 24px}.detail-header{font-size:.95rem;font-weight:700;margin-bottom:12px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 24px;margin:0}.detail-grid div{border-bottom:1px solid var(--line);padding-bottom:10px}.detail-grid dt{font-size:.75rem;color:var(--muted);margin-bottom:3px}.detail-grid dd{margin:0;font-size:.875rem;line-height:1.7}.detail-note{font-size:.75rem;color:var(--muted);line-height:1.9;margin-top:14px;max-width:900px}.detail-sources{display:flex;flex-wrap:wrap;gap:14px;font-size:.75rem;margin-top:12px}.pending{border:1px solid var(--line);border-radius:10px;background:white;margin-top:22px;overflow:hidden}.pending>summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;font-weight:600;font-size:.875rem;padding:18px 20px;list-style:none}.pending>summary:after{content:'＋';color:var(--teal)}.pending[open]>summary:after{content:'−'}.pending>summary span:nth-child(2){margin-left:auto;font-size:.8rem;color:var(--muted);font-weight:400}.pending>p{font-size:.8rem;line-height:1.8;padding:0 20px 16px;color:var(--muted)}.pending .table-scroll{border:0;border-radius:0}.pending table{min-width:700px}.data-footer{display:flex;justify-content:space-between;align-items:start;gap:20px;padding-top:24px;font-size:.75rem;color:var(--muted)}.data-footer>div{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.data-footer strong{font-size:.8rem;color:var(--ink);font-weight:500}.data-footer #coverage{flex-basis:100%;line-height:1.8}.data-footer .text-button{padding:0;font-size:.75rem;white-space:nowrap}.footer-label{font-size:.75rem}.scroll-hint{display:none}.empty{border:1px dashed var(--line);background:white;border-radius:10px;padding:30px;color:var(--muted);font-size:.875rem;line-height:1.8}.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:20px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}dialog{border:0;border-radius:16px;padding:25px;max-width:680px;width:calc(100% - 32px);max-height:85vh;box-shadow:0 20px 90px #12383a33;color:var(--ink)}dialog::backdrop{background:#133c4055}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font-size:1.2rem}.dialog-head button{background:#f0f5f5;border:0;border-radius:50%;height:34px;width:34px;font-size:1.5rem;line-height:1}#dialog-content{font-size:.9rem;line-height:1.95}#dialog-content h3{font-size:1rem;margin:18px 0 8px}#dialog-content p{margin-bottom:12px}#dialog-content ul{padding-left:21px}#dialog-content a{overflow-wrap:anywhere}#dialog-content table{min-width:0;font-size:.8rem;margin-bottom:16px}#dialog-content td{padding:9px}#dialog-content .tag{display:inline-block;background:var(--pale);padding:5px 10px;border-radius:6px;font-weight:600;color:var(--teal);margin-bottom:14px}.loading{color:var(--muted);font-size:.875rem}.error{color:#984423}.error button{padding:9px 14px;border:1px solid #be998d;border-radius:6px;background:white;margin-top:10px}
@media(min-width:1250px){table{min-width:0}.service-col{min-width:200px}.workspace{grid-template-columns:320px minmax(0,1fr)}}
@media(max-width:1050px){.workspace{grid-template-columns:290px minmax(0,1fr);gap:18px}.filters{padding:18px}.page-title h1{font-size:1.6rem}.rec-bottom{display:block}.rec-bandwidth{margin-top:8px}.privacy-note{font-size:.75rem}.scroll-hint{display:block;font-size:.75rem;color:var(--muted);margin-bottom:9px}}
@media(max-width:760px){.topbar{height:68px;padding:0 18px}.brand{font-size:1.15rem}.brandmark{width:35px;height:35px;border-radius:9px;font-size:2rem}.brand-small{font-size:.75rem}.topbar>.text-button{font-size:.75rem}main{padding:22px 14px 32px}.page-title{display:block;margin-bottom:20px}.eyebrow{font-size:.75rem;margin-bottom:4px}h1,.page-title h1{font-size:1.3rem;line-height:1.55;letter-spacing:0}.page-title p:not(.eyebrow){font-size:.8rem;margin-top:6px}.privacy-note{font-size:.75rem;margin-top:12px;padding:0}.workspace{display:block}.filters{position:static;max-height:none;padding:17px;border-radius:11px;margin-bottom:22px;overflow:visible}.filter-top{margin-bottom:17px}.field{margin-bottom:19px}.field legend{font-size:.875rem}.option{font-size:.875rem;padding:9px 11px;min-height:40px}.options{gap:7px}.use-details>summary{font-size:.875rem;padding-bottom:7px}.use-details[open]>summary{padding-bottom:17px}.use-details>summary span{display:none}.use-details:not([open])>summary span{display:block;font-weight:400;font-size:.75rem;color:var(--muted);max-width:125px}.filter-note{margin-top:16px}.discount-details{margin-top:13px;padding-top:13px}.discount-details>summary{padding-bottom:3px;font-size:.8rem}.discount-details[open]>summary{padding-bottom:15px}.tabbar{gap:24px;margin-bottom:16px}.tab{font-size:.875rem;padding:10px 0 12px}.recommendation{padding:17px 18px;min-height:110px}.rec-title{font-size:1.15rem}.rec-advice{font-size:.8rem}.rec-bandwidth{font-size:.75rem;white-space:normal}.rec-subnote{font-size:.75rem}.result-toolbar{margin-top:22px}.result-toolbar h2{font-size:1.05rem}.result-toolbar p{font-size:.75rem;line-height:1.7}.compare-note{font-size:.75rem}.table-scroll{border-radius:9px}table{min-width:800px}th{padding:12px 12px}td{padding:17px 12px}.service-col{width:200px;min-width:200px}#table-container th:first-child,#table-container tr:not(.detail-row)>td:first-child{position:sticky;left:0;z-index:1;background:white;box-shadow:2px 0 4px #193b3d09}#table-container th:first-child{background:#f1f5f6;z-index:2}#table-container .best>td:first-child{background:#fcfefd}.service-name{font-size:.875rem}.fee{font-size:1.25rem}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-row>td{padding:18px}.detail-grid dd{font-size:.8rem}.data-footer{padding-top:20px;gap:10px}.pending>summary{padding:16px;font-size:.8rem}.pending>p{padding:0 16px 14px}.scroll-hint{font-size:.75rem}.data-footer>div{gap:5px 8px}.download{font-size:.75rem}dialog{padding:20px}#dialog-content{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

#prefecture{width:100%;min-height:44px;font:inherit;font-size:16px;border:1px solid #cbd5e1;border-radius:10px;background:white;padding:10px;color:#172d45}.field-note{font-size:12px;line-height:1.6;color:#64748b;margin:8px 0 0}.speed small{font-size:12px;font-weight:400}

/* Long site name and explicit catalogue counts */
.topbar{height:auto;min-height:84px;gap:12px;padding-top:14px;padding-bottom:14px}.brand{min-width:0}.brand>span:last-child{overflow-wrap:anywhere}.brand-small{line-height:1.7}.topbar>.text-button{flex-shrink:0}@media(max-width:760px){.brand{font-size:1rem}.brand-small{display:block;font-size:.65rem}.brandmark{width:32px;height:32px;flex-shrink:0}.topbar{align-items:flex-start}.topbar>.text-button{font-size:.7rem}}

.columns{margin:32px auto 0;max-width:960px;padding:24px;background:white;border:1px solid var(--line);border-radius:14px}.columns-lead{font-size:.85rem;color:var(--muted);margin:8px 0 18px}.column{border-top:1px solid var(--line)}.column summary{cursor:pointer;padding:18px 0;font-weight:650;line-height:1.6}.column-body{padding:0 0 18px;font-size:.9rem;line-height:1.9}.column-body p+p{margin-top:12px}.column-source{font-size:.75rem;line-height:1.7;color:var(--muted)}@media(max-width:760px){.columns{padding:18px;margin-top:24px}.column summary{font-size:.9rem}}

.header-nav{display:flex;align-items:center;gap:18px;flex-shrink:0;font-size:.85rem}.article-main{max-width:800px;margin:36px auto;padding:30px;background:white;border:1px solid var(--line);border-radius:14px}.article-main h1{font-size:1.8rem;line-height:1.55;margin:12px 0}.breadcrumb,.article-date{font-size:.75rem;color:var(--muted);margin-bottom:22px}.article-body{font-size:1rem;line-height:2}.article-body p+p{margin-top:22px}.article-actions{border-top:1px solid var(--line);margin-top:32px;padding-top:22px;display:flex;gap:20px;flex-wrap:wrap}.article-list{list-style:none;padding:0;margin:20px 0}.article-list li{border-top:1px solid var(--line)}.article-list a{display:block;padding:22px 0}.article-list p{color:var(--muted);font-size:.9rem;line-height:1.8;margin:10px 0}.article-list span{font-size:.8rem}@media(max-width:760px){.header-nav{gap:10px;font-size:.75rem}.article-main{margin:18px 12px;padding:20px}.article-main h1{font-size:1.35rem}.article-body{font-size:.95rem}.topbar{flex-wrap:wrap}.header-nav{margin-left:auto}}

/* Separate header actions into clearly outlined buttons. */
.topbar .header-nav{gap:28px}
.topbar .header-nav>a,.topbar .header-nav>button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--teal);border-radius:8px;background:white;color:var(--teal);font-size:.85rem;font-weight:650;line-height:1.4;white-space:nowrap;text-decoration:none}
.topbar .header-nav>a:hover,.topbar .header-nav>button:hover{background:#edf7f7;text-decoration:none}
@media(max-width:760px){.topbar .header-nav{gap:18px;flex-wrap:wrap}.topbar .header-nav>a,.topbar .header-nav>button{padding:10px 14px;font-size:.75rem}}

.speed-filter{margin:18px 0}.speed-filter legend{font-size:.85rem;color:var(--muted);margin-bottom:10px}.speed-filter .options{display:flex;flex-wrap:wrap;gap:8px}.speed-filter .option{min-width:64px;min-height:44px}

/* Results fit the viewport; narrow screens use labelled cards. */
.comparison{min-width:0}.table-scroll{overflow:visible}#table-container table,.pending table{width:100%;min-width:0;table-layout:fixed}#table-container td,.pending td{overflow-wrap:anywhere}#table-container .service-col{width:24%;min-width:0}.scroll-hint{display:none!important}
@media(max-width:1200px){
 #table-container,.pending .table-scroll{border:0;background:transparent;box-shadow:none}
 #table-container table,.pending table,#ranked-body,#pending-body{display:block;width:100%;min-width:0}
 #table-container thead,.pending thead{display:none}
 #ranked-body>tr:not(.detail-row),#pending-body>tr:not(.detail-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:16px;overflow:hidden}
 #table-container tr:not(.detail-row)>td,.pending tr:not(.detail-row)>td{display:block;min-width:0;padding:14px 16px;border:0;border-top:1px solid var(--line);position:static!important;box-shadow:none!important}
 #table-container tr:not(.detail-row)>td:first-child,.pending tr:not(.detail-row)>td:first-child{grid-column:1/-1;border-top:0}
 #table-container tr:not(.detail-row)>td:last-child,.pending tr:not(.detail-row)>td:last-child{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
 #table-container tr:not(.detail-row)>td:not(:first-child)::before,.pending tr:not(.detail-row)>td:not(:first-child)::before{content:attr(data-label);display:block;color:var(--muted);font-size:.75rem;font-weight:600;margin-bottom:8px}
 #table-container tr:not(.detail-row)>td:last-child::before,.pending tr:not(.detail-row)>td:last-child::before{flex-basis:100%;margin-bottom:0}
 .service-name{font-size:1rem}.plan{line-height:1.8}.fee{font-size:1.4rem}.detail-row{display:block;margin:-8px 0 16px}.detail-row>td{display:block;width:100%;border:1px solid var(--line);border-radius:12px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid dd,.detail-note{overflow-wrap:anywhere}.pending[open]{background:transparent}.pending>summary{background:white}
}
@media(max-width:380px){.detail-grid{grid-template-columns:1fr}#table-container tr:not(.detail-row)>td,.pending tr:not(.detail-row)>td{padding:12px}.fee{font-size:1.2rem}}
