/* 相談者向けページだけに適用する、紺と金のポータルデザイン。管理画面には読み込まない。 */
.portal-site{--bg:#f3f6f8;--surface-2:#eff4f7;--ink:#1b3040;--muted:#536879;--line:#dce5eb;--accent:#163e58;--accent-soft:#edf3f6;--cta:#d8c28f;--cta-ink:#102e43;--gold:#d8c28f;--gold-light:#e7d9b7;--navy-0:#061e32;--navy-1:#092b44;--navy-2:#244f6b;--r:8px;line-height:1.75;background:var(--bg)}
.portal-site .wrap,.portal-site .site-main{max-width:1328px;padding-inline:32px}
.portal-site a{text-underline-offset:4px}.portal-site svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.portal-site .skip-link{position:fixed;top:-100px;left:16px;z-index:300;background:#fff;padding:12px}.portal-site .skip-link:focus{top:8px}
.portal-utility{background:#eef2f5;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line)}.portal-utility>.wrap{display:flex;align-items:center;justify-content:space-between;min-height:35px;gap:12px}.portal-utility b{font-weight:800;color:var(--accent);margin-right:10px}.portal-utility a{text-decoration:none}.portal-parent small{font-size:11px;color:#667785;margin-left:4px}.portal-department{margin-left:16px;padding-left:16px;border-left:1px solid #c6d2da;color:var(--ink)}
.portal-site header.site{background:#fff;border:0;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}.portal-site header.site .portal-brandrow{padding-block:13px;display:flex;gap:22px;flex-wrap:nowrap;min-height:88px}.portal-site .logo{color:var(--ink);gap:23px}.portal-site .logo img{width:126px;height:60px;object-fit:contain;display:block}.portal-site .portal-tagline{font-size:14px;font-weight:700;letter-spacing:.025em;line-height:1.8}.portal-site .portal-tagline small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.5}.portal-account{display:flex;gap:22px;margin-left:auto;font-size:14px;white-space:nowrap}.portal-account a{text-decoration:none}.portal-site .quick-exit{position:static;flex:none;min-height:40px;border:1px solid #8395a2;border-radius:4px;background:#f7f9fa;color:#284356;padding:7px 14px;font-size:13px;box-shadow:none;margin:0}.portal-site nav.main{display:flex;flex-wrap:nowrap;gap:0;margin:auto;min-height:49px;justify-content:flex-start}.portal-site nav.main a{flex:1;justify-content:center;padding:11px 16px;min-height:49px;border-radius:0;font-size:14px;color:var(--ink);border-bottom:3px solid transparent;white-space:nowrap}.portal-site nav.main a:hover{background:#f2f6f8;color:var(--accent)}.portal-site nav.main a[aria-current]{border-bottom-color:var(--accent);font-weight:700}.portal-site nav.main a.nav-ai{color:var(--accent);font-weight:700;background:#f0f5f7}
.portal-hero{background:url('gold-lines.svg') right bottom/100% auto no-repeat,radial-gradient(ellipse at 90% 0,#244f6b 0,transparent 65%),#092b44;color:#fff;padding:30px 0 22px}.portal-hero-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}.portal-eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;margin:0 0 7px;color:#637e91}.portal-hero .portal-eyebrow{color:#dfca96}.portal-hero h1{font-size:34px;letter-spacing:.035em;line-height:1.55;font-weight:700}.portal-hero h1 em{font-style:normal}.portal-hero-heading p:last-child{font-size:14px;color:#cfdae3;margin:8px 0 0}.portal-mobile-break{display:none}.portal-count{display:flex;flex-direction:column;text-align:right;white-space:nowrap;font-size:12px;color:#d5e0e6}.portal-count b{font-size:40px;color:#e5d3a7;font-weight:600;letter-spacing:.02em;line-height:1.3;font-variant-numeric:tabular-nums}.portal-count b small{font-size:16px;font-weight:400;margin-left:4px}.portal-search{margin-top:24px;display:grid;grid-template-columns:1fr 1fr 220px;background:#fff;color:var(--ink);padding:16px;gap:16px;border-radius:9px;box-shadow:0 8px 25px #03121d26;border:1px solid #e6d7b3}.portal-search label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700}.portal-search select{appearance:none;width:100%;min-height:48px;border:1px solid #dce5eb;padding:10px 38px 10px 15px;font-size:16px;background:#f7f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23365062' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center/16px no-repeat;border-radius:5px}.portal-search .btn{margin:0;align-self:end;min-height:49px;font-size:16px;padding:12px}.portal-site .btn.primary,.portal-site .btn-primary{background:#d8c28f;border-color:#d8c28f;color:#102e43}.portal-site .btn.primary:hover,.portal-site .btn-primary:hover{background:#e3d1a7}.portal-hero-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:12px;font-size:12px;color:#d1dce4}.portal-hero-bottom a{color:#fff}
.portal-body{padding-top:22px;padding-bottom:48px}.portal-safety{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 18px;border:1px solid #edcfce;border-radius:5px;background:#fff8f7;color:#853431;font-size:13px;margin-bottom:26px}.portal-safety a{color:#853431;font-weight:700;white-space:nowrap}.portal-columns{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:start}.portal-content{min-width:0}.portal-section{margin-bottom:34px;scroll-margin-top:160px}.portal-section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px}.portal-section-head h2{font-size:23px;line-height:1.5;letter-spacing:.015em}.portal-section-head>a{font-size:13px;white-space:nowrap}.portal-worries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.portal-worry{display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 10px 16px;background:#fff;border:1px solid var(--line);border-radius:7px;text-decoration:none;transition:transform .15s,box-shadow .15s;color:var(--ink)}.portal-worry:hover{border-color:#6c899d;box-shadow:0 4px 14px #163e5810;transform:translateY(-2px)}.portal-worry svg{width:30px;height:30px;color:#244f6b;margin-bottom:10px}.portal-worry b{font-size:14px;line-height:1.65}.portal-worry>span{font-size:11px;color:var(--muted);margin-top:4px;line-height:1.65}.portal-note{font-size:12px;color:var(--muted);line-height:1.7}.portal-section>.portal-note{margin:-5px 0 13px}.portal-agencies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portal-agency{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line);border-radius:7px;padding:18px;transition:border-color .15s,box-shadow .15s}.portal-agency:hover{border-color:#8ba0ad;box-shadow:0 4px 14px #163e580c}.portal-agency-top{display:flex;align-items:center;gap:7px;margin-bottom:14px}.portal-agency-top .tag{font-size:11px;border-radius:4px;background:#eef4f6;color:#375e70;padding:3px 6px}.portal-agency-icon{width:36px;height:36px;border:1px solid #e4eaf0;background:#f6f8fa;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#668498}.portal-agency h3{font-size:16px;line-height:1.7;font-weight:700;margin:0}.portal-agency h3 a{color:var(--ink);text-decoration:none}.portal-location{font-size:12px;color:var(--muted);margin:6px 0 12px}.portal-services{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px}.portal-services span{font-size:11px;line-height:1.6;background:#f1f5f7;color:#4b6576;padding:3px 6px;border-radius:3px}.portal-price{margin-top:auto;border-top:1px solid #edf1f4;padding-top:11px}.portal-price>span{font-size:11px;color:var(--muted)}.portal-price p{font-size:13px;line-height:1.75;margin:4px 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.portal-agency>.portal-note{margin:2px 0 13px}.portal-card-actions{display:flex;align-items:center;gap:10px;border-top:1px solid #edf1f4;padding-top:10px;margin-top:2px}.portal-card-actions .btn{font-size:13px;padding:8px 12px;min-height:40px;margin:0;flex:1;background:#f8fafb;border-color:#b8cad5;border-radius:4px}.portal-card-actions label{font-size:12px;white-space:nowrap}.portal-card-actions input{width:16px;height:16px}.portal-list-footer{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted);padding-top:13px}.portal-list-footer a{font-weight:700}
.portal-side-panel{background:#fff;border:1px solid var(--line);border-radius:7px;margin-bottom:18px;padding:20px}.portal-side-panel h2{font-size:17px;line-height:1.65}.portal-side-panel>p{font-size:13px;color:var(--muted);line-height:1.8;margin:9px 0 14px}.portal-region{padding:20px 16px 12px}.portal-region h2{padding-inline:4px}.portal-region>p{font-size:12px;margin:3px 4px 15px}.portal-region details{border-top:1px solid #e6edf1}.portal-region summary{font-size:14px;font-weight:700;list-style:none;cursor:pointer;padding:11px 4px;display:flex;justify-content:space-between}.portal-region summary::-webkit-details-marker{display:none}.portal-region summary:after{content:'＋';font-weight:400;color:#7990a0}.portal-region details[open]>summary:after{content:'−'}.portal-region details>div{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:0 0 10px}.portal-region details a{font-size:12px;display:flex;justify-content:space-between;gap:4px;text-decoration:none;padding:6px;border-radius:4px}.portal-region details a:hover{background:#eef4f7}.portal-region details a small{color:#8496a3;font-size:11px}.portal-side-link{display:block;font-size:13px;line-height:1.7;padding:10px 0 0;font-weight:700}.portal-consult-card{background:linear-gradient(140deg,#173d58,#082b44);color:#fff;border-color:#153b55}.portal-consult-card h2{font-size:21px;margin-top:15px}.portal-consult-card>p{color:#d6e2e9}.portal-pill{display:inline-block;font-size:11px;color:#e7d4a7;border:1px solid #6f7d7f;padding:3px 9px;border-radius:4px}.portal-consult-card .btn{display:flex;width:100%;margin:17px 0 9px;border-radius:5px;font-size:14px}.portal-consult-card .portal-note{font-size:11px;margin:5px 0 0;text-align:center}.portal-help-links h2{font-size:15px;margin-bottom:12px}.portal-help-links>a{font-size:13px;display:block;padding:10px 0;border-top:1px solid #e8edf1;text-decoration:none}.portal-planned h2{font-size:15px;margin-bottom:14px}.portal-planned>p:not(.portal-note){display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--ink);margin:9px 0}.portal-planned p>span{font-size:11px;padding:1px 6px;border:1px solid #d3dce2;border-radius:3px;color:#667b8b}.portal-planned .portal-note{font-size:12px;margin:14px 0 0}
.portal-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-tools>a{display:flex;align-items:center;gap:15px;padding:17px;background:#fff;border:1px solid var(--line);border-radius:6px;text-decoration:none}.portal-tool-symbol{display:flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:24px;color:#53738a;flex:none;font-weight:500}.portal-tools b{display:block;font-size:14px;color:var(--ink);line-height:1.6}.portal-tools div>span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.portal-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portal-guides>a{text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:7px;overflow:hidden;color:var(--ink)}.portal-guide-art{height:124px;position:relative;display:flex;align-items:center;justify-content:center;gap:20px;background:linear-gradient(125deg,#d8e4eb,#edf3f6);overflow:hidden;color:#375a72}.portal-guide-art:after{content:'';position:absolute;width:140px;height:140px;border:1px solid #c1d0da;border-radius:50%;right:-26px;top:-55px}.portal-guide-art svg{width:51px;height:51px;stroke-width:1}.portal-guide-art>span:last-child{font-size:13px;letter-spacing:.08em;font-weight:700}.portal-art-yen{font-size:51px;line-height:1;font-weight:300}.portal-guides>a:nth-child(2) .portal-guide-art{background:linear-gradient(125deg,#e4dfd1,#f5f2e9);color:#786542}.portal-guides>a:nth-child(3) .portal-guide-art{background:linear-gradient(125deg,#294c65,#50738a);color:#eef3f6}.portal-guides>a>div:last-child{padding:17px}.portal-guides h3{font-size:16px;line-height:1.7}.portal-guides p{font-size:12px;color:var(--muted);margin:8px 0 0}.portal-section .vgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portal-section .vcard figcaption b{font-size:13px}.portal-section .vcard .small{font-size:11px}.portal-partner{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #cedbe3;padding:32px 0 0;margin-top:12px}.portal-partner h2{font-size:21px}.portal-partner p:last-child{font-size:13px;color:var(--muted);margin:7px 0 0}.portal-partner .btn{white-space:nowrap;font-size:14px;padding:13px 25px}.portal-site footer.site{background:#092b44;border-top:3px solid #d8c28f}.portal-site footer.site h4{font-size:14px;color:#dfcc9e}.portal-site footer.site a{font-size:13px;color:#d1dfe7}.portal-site footer.site .legal{font-size:12px}.portal-site .site-main{padding-top:20px}.portal-site .site-main>h1{font-size:30px;margin-top:15px}.portal-site .site-main>h1+p{font-size:15px}.portal-site .site-main>h2{margin-top:35px}.portal-site .site-main .notice-danger{border-color:#c98580}.portal-site .site-main select{max-width:100%}.portal-site .site-main .card{border-radius:7px}.portal-site .site-main .table-wrap{max-width:100%}.portal-site .site-main .filters{padding:22px}.portal-site .sp-fixed{display:none}
@media(min-width:1400px){.portal-agency{padding:20px}.portal-worry>span{font-size:12px}}
@media(max-width:1100px){.portal-site .wrap,.portal-site .site-main{padding-inline:24px}.portal-columns{grid-template-columns:minmax(0,1fr) 236px;gap:22px}.portal-agencies{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-tagline{display:none}.portal-worries{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-worry{padding:15px 10px}.portal-worry>span{font-size:12px}.portal-guides,.portal-section .vgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-guides>a:last-child,.portal-section .vcard:last-child{grid-column:1/-1}.portal-section .vcard:last-child{max-width:100%}.portal-section .vcard:last-child .vframe{aspect-ratio:21/9}.portal-section-head h2{font-size:21px}.portal-section-head{align-items:flex-start;flex-wrap:wrap}.portal-search{grid-template-columns:1fr 1fr 190px}.portal-hero h1{font-size:29px}.portal-site nav.main a{font-size:13px;padding:10px}.portal-tools{grid-template-columns:1fr}.portal-site .quick-exit{position:static}}
@media(max-width:760px){.portal-site .wrap,.portal-site .site-main{padding-inline:18px}.portal-utility>.wrap{min-height:30px}.portal-utility>.wrap>a{display:none}.portal-parent{font-size:11px}.portal-department{font-size:11px;margin-left:10px;padding-left:10px}.portal-site header.site .portal-brandrow{padding-block:9px;min-height:70px;gap:15px}.portal-site .logo img{width:100px;height:48px}.portal-account{gap:0;margin-left:auto}.portal-account>a{font-size:12px}.portal-account>a:first-child{display:none}.portal-site .quick-exit{padding:7px 10px;font-size:12px;min-height:36px}.portal-site nav.main{padding-inline:8px;overflow-x:auto;justify-content:flex-start;min-height:44px}.portal-site nav.main a{min-height:44px;padding:9px 14px;flex:none;font-size:12px}.portal-hero{padding:25px 0 20px;background-size:auto 100%}.portal-hero-heading{gap:10px;align-items:flex-end}.portal-mobile-break{display:block}.portal-hero h1{font-size:26px}.portal-hero-heading p:last-child{font-size:12px;line-height:1.8;max-width:27em}.portal-hero-heading .portal-eyebrow{font-size:11px}.portal-count{display:none}.portal-search{grid-template-columns:1fr;gap:12px;padding:16px;margin-top:20px}.portal-search label{gap:5px;font-size:12px}.portal-search select{font-size:16px;min-height:46px}.portal-search .btn{min-height:48px;margin-top:2px;font-size:15px}.portal-search .btn svg{width:20px;height:20px}.portal-hero-bottom{display:block;font-size:11px}.portal-hero-bottom>a{display:inline-block;margin-top:5px}.portal-body{padding-top:16px}.portal-safety{display:block;font-size:12px;line-height:1.8;padding:13px 14px;margin-bottom:24px}.portal-safety span{display:block}.portal-safety strong{display:block}.portal-safety a{display:inline-block;margin-top:6px;font-size:12px}.portal-columns{grid-template-columns:minmax(0,1fr);gap:20px}.portal-section{margin-bottom:28px;scroll-margin-top:140px}.portal-section-head{gap:8px;margin-bottom:14px}.portal-section-head h2{font-size:20px}.portal-section-head>a{font-size:12px}.portal-eyebrow{font-size:11px;margin-bottom:5px}.portal-worries{gap:9px}.portal-worry{padding:16px 8px}.portal-worry b{font-size:13px}.portal-worry>span{font-size:11px}.portal-worry svg{width:28px;height:28px}.portal-agencies{grid-template-columns:1fr;gap:12px}.portal-agency{padding:18px}.portal-agency h3{font-size:18px}.portal-agency-top{margin-bottom:11px}.portal-price p{font-size:14px}.portal-services span{font-size:12px}.portal-agency .portal-note{font-size:12px}.portal-card-actions .btn{min-height:44px;font-size:14px}.portal-card-actions label{font-size:13px}.portal-list-footer{flex-direction:column;gap:6px}.portal-tools{grid-template-columns:1fr}.portal-tools>a{padding:16px}.portal-tools b{font-size:14px}.portal-guides{grid-template-columns:1fr}.portal-guides>a{display:grid;grid-template-columns:110px 1fr}.portal-guides>a:last-child{grid-column:auto}.portal-guide-art{height:100%;min-height:150px;flex-direction:column;gap:8px}.portal-guide-art svg{width:36px;height:36px}.portal-guide-art>span:last-child{font-size:11px}.portal-guides>a>div:last-child{padding:16px}.portal-guides h3{font-size:15px}.portal-guides p{font-size:12px}.portal-section .vgrid{grid-template-columns:1fr;gap:16px}.portal-section .vcard:last-child{grid-column:auto}.portal-section .vcard:last-child .vframe{aspect-ratio:16/9}.portal-section .vcard figcaption b{font-size:14px}.portal-sidebar{display:grid;grid-template-columns:1fr;gap:16px}.portal-side-panel{margin:0;padding:20px}.portal-region details>div{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-region details a{font-size:13px}.portal-region summary{min-height:45px}.portal-side-panel>p{font-size:14px}.portal-consult-card{padding:24px}.portal-partner{display:block;padding-top:26px}.portal-partner h2{font-size:19px}.portal-partner .btn{margin-top:18px}.portal-site .site-main{padding-top:14px;padding-bottom:90px}.portal-site .site-main>h1{font-size:25px}.portal-site .site-main h2{font-size:20px}.portal-site .site-main>section,.portal-site .site-main>form.filters,.portal-site .site-main .panel{padding:18px}.portal-site .site-main .cards{grid-template-columns:1fr}.portal-site .site-main .filters label{font-size:13px}.portal-site .sp-fixed{display:flex;background:#fff;box-shadow:0 -4px 15px #092b4412;border-top:1px solid #dce5eb;z-index:90;padding-bottom:env(safe-area-inset-bottom)}.portal-site .sp-fixed a{flex:1;font-size:12px;min-height:51px;background:#fff;color:#163e58}.portal-site .sp-fixed a:first-child{background:#d8c28f;color:#102e43}.portal-site footer.site{padding-bottom:90px}.portal-site .cmp-bar{max-width:calc(100vw - 32px)}.portal-site .cmp-bar .btn{font-size:13px}.portal-site footer.site .wrap{grid-template-columns:1fr 1fr;gap:26px 14px}}
@media(prefers-reduced-motion:reduce){.portal-site *{scroll-behavior:auto!important;transition:none!important}}

/* 固定ヘッダーと操作リンクの読みやすさを整える。 */
.portal-site header.site nav.main{padding-block:0}
.portal-site .skip-link:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.portal-region details a,.portal-side-link,.portal-help-links>a,.portal-section-head>a,.portal-card-actions .btn,.portal-card-actions label{font-size:14px}
.portal-region summary{font-size:15px}
@media(max-width:760px){.portal-site nav.main a{font-size:14px}.portal-worry b{font-size:14px}.portal-account>a{font-size:13px}.portal-site .sp-fixed a{font-size:13px}}
.portal-site .quick-exit{min-width:0}
.portal-site .cmp-bar{right:auto;max-width:calc(100vw - 32px);padding:0;border:0;background:transparent}
@media(max-width:760px){.portal-site header.site .portal-brandrow{gap:12px}.portal-site .logo{flex:none}}
@media(max-width:380px){.portal-site .logo img{width:80px}.portal-account>a{font-size:12px}}
/* トップの地方の地図（11/27 本人依頼で残す）：上の svg 共通指定（24px）を打ち消す */
.portal-site .bmap svg{width:100%;height:auto;stroke:none;stroke-width:0}.portal-site #top-region .bmap,.portal-site #top-region .ppanel{max-width:none}
.portal-site a.rbtn{text-decoration:none}.portal-site a.rbtn:hover{background:var(--surface-2)}.portal-site .bmap a.blk{outline:none}.portal-site .bmap a.blk:focus-visible .shape{stroke:var(--ink);stroke-width:3}.portal-site .region-links{display:flex;flex-wrap:wrap;gap:8px}
.portal-site #top-region .bmap{padding-bottom:8px}.portal-site .site-main .ppanel{margin:16px 0 8px;max-width:none}
/* 地方の地図の色：サイトの紺に合わせて青系の濃淡で統一（11/27 本人依頼）。となりの地方は濃い・薄いを交互にして見分けやすく */
:root .portal-site,.portal-site{--rg0:#1A4C75;--rg1:#5D94BD;--rg2:#0B2A45;--rg3:#7AA8CB;--rg4:#2F6E9D;--rg5:#98BDD8;--rg6:#4581AE;--rg7:#123B5E;--rg8:#6E9FC6;--rgt0:#fff;--rgt1:#0B2A45;--rgt2:#fff;--rgt3:#0B2A45;--rgt4:#fff;--rgt5:#0B2A45;--rgt6:#fff;--rgt7:#fff;--rgt8:#0B2A45}
