/* 夜tax LP 税理士カード「受注実績 800件以上」＋「都道府県別のご依頼を見る」（2026-10-26）
   ・カードを 2 枚に分けた：上＝見出し「全国からのご依頼」（画像）＋800件以上の帯（HTML）＋全国から＋ボタン／下＝見出し「税理士が運営する確定申告サポート」＋代表税理士（元の画像を切り分け）
   ・帯の下に「全国 39都道府県」の小さな地図（ご依頼のある県だけ色・押しても開く）、その下にボタン「都道府県別のご依頼を見る」（#c23a69・白文字・高さ 50px 以上）
   ・窓：スマホ＝下から出るシート（縦にスクロール）、PC（1024px〜）＝中央の窓（左に地図・右に数字と地方別）、その間（641〜1023px）＝中央の窓で 1 列
   ・帯の文字はページの Web フォント（Noto Sans JP）。窓の中は都道府県名の字がページの絞り込みフォントに無いので游ゴシック（指示どおり）
   ・色は指示の値（マスの文字の濃さは 4.5:1 以上を確かめ済みの組み合わせ） */
.nighttax-profile-component .nt-pref{--np-ink:#2f3e58;--np-pink:#c23a69;--np-sub:#516c94;--np-gray:#6b5f66;--np-line:#ebced9;--np-soft:#fff5f8;font-family:var(--nt-sans,"Noto Sans JP","Yu Gothic",YuGothic,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif)}
.nighttax-profile-component .nt-pref :where(p,ul,ol,li,h2,h3){margin:0;padding:0;list-style:none;letter-spacing:normal}
/* 画像 2 枚：元の 1 枚と同じ幅で並べる（縦横比は切り出した大きさ。PC の画像は 1024px から＝<source> と同じ境目） */
.nighttax-profile-component .nt-pref-pic--head .nighttax-profile-card-image,.nighttax-profile-component .nt-pref-pic--heading .nighttax-profile-card-image{aspect-ratio:780 / 80}
/* カード 2 枚：上＝全国からのご依頼（800件以上・全国から・ボタン）／下＝税理士が運営する確定申告サポート（代表税理士） */
.nighttax-profile-component .nt-pref-card + .nt-pref-trust{margin-top:16px}
.nighttax-profile-component .nt-pref-pic--staff .nighttax-profile-card-image{aspect-ratio:780 / 272}
@media (min-width:1024px){
  .nighttax-profile-component .nt-pref-pic--head .nighttax-profile-card-image,.nighttax-profile-component .nt-pref-pic--heading .nighttax-profile-card-image{aspect-ratio:2240 / 98}
  .nighttax-profile-component .nt-pref-card + .nt-pref-trust{margin-top:20px}
  .nighttax-profile-component .nt-pref-pic--staff .nighttax-profile-card-image{aspect-ratio:2240 / 220}
}

/* ── 800件以上の帯（元の画像：幅 780 のうち左右 50 の余白・角丸・#FFF7FA） ── */
.nighttax-profile-component .nt-pref__band{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label num" "period period";align-items:center;column-gap:8px;row-gap:4px;margin:6px 6.41% 0;padding:12px 14px 12px 12px;border-radius:8px;background:#FFF7FA;color:var(--nt-ink,#453B43)}
.nighttax-profile-component .nt-pref__label{grid-area:label;align-self:start;padding-top:4px;font-size:14px;line-height:1.5;font-weight:500;color:var(--nt-ink,#453B43)}
.nighttax-profile-component .nt-pref__num{grid-area:num;display:flex;align-items:baseline;gap:2px;line-height:1;color:var(--nt-ink,#453B43)}
.nighttax-profile-component .nt-pref__num-big{font-size:44px;font-weight:700;letter-spacing:-.01em}
.nighttax-profile-component .nt-pref__num-unit{font-size:17px;font-weight:700}
.nighttax-profile-component .nt-pref__period{grid-area:period;font-size:12.5px;line-height:1.5;color:var(--nt-sub,#6F5B66)}
.nighttax-profile-component .nt-pref__seg{display:inline-block}
.nighttax-profile-component .nt-pref__sep{margin:0 4px;color:#D9A27A}
/* ── 全国から：小さな地図（ご依頼のある 39 県だけ色）＋「全国 39都道府県」。ボタンを押さない人にも伝わるように ── */
.nighttax-profile-component .nt-pref__nation{display:flex;align-items:center;gap:14px;margin:8px 6.41% 0;padding:10px 12px;border:1px solid #f3dbe4;border-radius:10px;background:#fff;cursor:pointer}
.nighttax-profile-component .nt-pref__mini{flex:0 0 auto;display:grid;grid-template-columns:repeat(13,7px);grid-template-rows:repeat(10,7px);gap:1.5px}
.nighttax-profile-component .nt-pref__mini:empty{display:none}
.nighttax-profile-component .nt-pref__mini-cell{display:block;border-radius:1.5px;background:#ece3e7}
.nighttax-profile-component .nt-pref__mini-cell.is-on{background:var(--np-pink)}
.nighttax-profile-component .nt-pref__nation-text{min-width:0}
.nighttax-profile-component .nt-pref__nation-label{font-size:12px;line-height:1.5;color:var(--nt-sub,#6F5B66)}
.nighttax-profile-component .nt-pref__nation-big{display:flex;align-items:baseline;gap:3px;margin-top:1px!important;font-size:15px;line-height:1.2;font-weight:700;color:var(--nt-ink,#453B43)}
.nighttax-profile-component .nt-pref__nation-big b{font-size:30px;font-weight:700;color:var(--np-pink);letter-spacing:.01em}
.nighttax-profile-component .nt-pref__nation-big span{font-size:16px}
.nighttax-profile-component .nt-pref__nation-sub{margin-top:3px!important;font-size:12px;line-height:1.5;color:var(--nt-sub,#6F5B66)}
/* ── ボタン ── */
.nighttax-profile-component .nt-pref__cta{margin:10px 6.41% 8px;text-align:center}
.nighttax-profile-component .nt-pref__open{-webkit-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin:0;padding:10px 16px;border:0;border-radius:999px;background:var(--np-pink);color:#fff;font-family:var(--nt-sans,"Noto Sans JP","Yu Gothic",sans-serif);font-size:15px;line-height:1.4;font-weight:700;cursor:pointer;box-shadow:0 4px 12px rgba(194,58,105,.28);-webkit-tap-highlight-color:transparent}
.nighttax-profile-component .nt-pref__open[hidden]{display:none}
.nighttax-profile-component .nt-pref__open:hover{filter:brightness(1.05)}
.nighttax-profile-component .nt-pref__open:focus-visible{outline:3px solid var(--np-ink);outline-offset:3px}
.nighttax-profile-component .nt-pref__open svg{flex:0 0 auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.nighttax-profile-component .nt-pref__pin{width:20px;height:20px;stroke-width:2}
.nighttax-profile-component .nt-pref__chev{width:16px;height:16px;stroke-width:2.4}
.nighttax-profile-component .nt-pref__count{margin-top:8px!important;font-size:12.5px;line-height:1.6;color:var(--np-sub)}
.nighttax-profile-component .nt-pref__count b{color:var(--np-ink);font-weight:700}
@media (min-width:1024px){
  /* 元の PC 画像：幅 2240 のうち左右 80 の余白。ラベル左・800 中央・期間は右に 2 行 */
  .nighttax-profile-component .nt-pref__band{grid-template-columns:1fr auto 1fr;grid-template-areas:"label num period";margin:4px 3.57% 0;padding:10px 28px;border-radius:10px}
  .nighttax-profile-component .nt-pref__label{align-self:center;padding-top:0;font-size:16px}
  .nighttax-profile-component .nt-pref__num-big{font-size:56px}
  .nighttax-profile-component .nt-pref__num-unit{font-size:20px}
  .nighttax-profile-component .nt-pref__period{justify-self:end;font-size:13px}
  .nighttax-profile-component .nt-pref__period .nt-pref__seg{display:block}
  .nighttax-profile-component .nt-pref__sep{display:none}
  .nighttax-profile-component .nt-pref__nation{justify-content:center;gap:20px;margin:10px 3.57% 0;padding:12px 20px}
  .nighttax-profile-component .nt-pref__mini{grid-template-columns:repeat(13,9px);grid-template-rows:repeat(10,9px);gap:2px}
  .nighttax-profile-component .nt-pref__nation-label,.nighttax-profile-component .nt-pref__nation-sub{font-size:13px}
  .nighttax-profile-component .nt-pref__nation-big b{font-size:34px}
  .nighttax-profile-component .nt-pref__cta{margin:14px 3.57% 14px}
  .nighttax-profile-component .nt-pref__open{width:auto;min-width:340px;min-height:52px;margin:0 auto;font-size:16px}
  .nighttax-profile-component .nt-pref__count{font-size:13px}
}

/* ── 窓（閉じているときは必ず消す） ── */
.nighttax-profile-component .nt-pref-dialog:not([open]){display:none}
.nighttax-profile-component .nt-pref-dialog{box-sizing:border-box;margin:auto auto 0;padding:0;width:100%;max-width:100%;max-height:92vh;max-height:92dvh;border:0;border-radius:22px 22px 0 0;background:#fff;color:var(--np-ink);box-shadow:0 -10px 28px rgba(47,62,88,.2);overflow:hidden;font-family:"Yu Gothic",YuGothic,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;text-align:left}
.nighttax-profile-component .nt-pref-dialog[open]{display:flex;flex-direction:column}
/* 窓の中は游ゴシック：type.css の「nt- の付く要素はすべて Noto」（body.nt-type :is([class*="nt-"]…)・強さ 0,2,1）より強く書く
   （Noto はページの字だけに絞ってあり、県名の字の多くが入っていない＝字ごとに別の書体が混ざるのを避ける） */
html body .nighttax-profile-component .nt-pref-dialog,html body .nighttax-profile-component .nt-pref-dialog *{font-family:"Yu Gothic",YuGothic,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif}
.nighttax-profile-component .nt-pref-dialog::backdrop{background:rgba(47,62,88,.48)}
.nighttax-profile-component .nt-pref-dialog__head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 12px 12px 20px;border-bottom:1px solid #f7e6ea;background:#fff}
.nighttax-profile-component .nt-pref-dialog__kicker{font-size:12px;line-height:1.5;font-weight:700;color:var(--np-pink)}
.nighttax-profile-component .nt-pref-dialog .nt-pref-dialog__title{margin:2px 0 0;padding:0;border:0;background:none;font-size:20px;line-height:1.4;font-weight:800;color:var(--np-ink);text-align:left}
.nighttax-profile-component .nt-pref-dialog .nt-pref-dialog__title::before,.nighttax-profile-component .nt-pref-dialog .nt-pref-dialog__title::after,.nighttax-profile-component .nt-pref-dialog .nt-pref-regions__title::before,.nighttax-profile-component .nt-pref-dialog .nt-pref-regions__title::after{content:none;display:none}
.nighttax-profile-component .nt-pref-dialog__close{-webkit-appearance:none;appearance:none;flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:999px;background:var(--np-soft);color:var(--np-ink);cursor:pointer}
.nighttax-profile-component .nt-pref-dialog__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.nighttax-profile-component .nt-pref-dialog__close:focus-visible{outline:3px solid var(--np-ink);outline-offset:2px}
.nighttax-profile-component .nt-pref-dialog__body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:16px;padding:16px 16px 28px}
.nighttax-profile-component .nt-pref-dialog__side{display:flex;flex-direction:column;gap:16px}
/* 地図の箱 */
.nighttax-profile-component .nt-pref-dialog__map{order:1;border:1px solid var(--np-line);border-radius:14px;padding:12px 10px 10px}
.nighttax-profile-component .nt-pref-dialog__side{order:2}
.nighttax-profile-component .nt-pref-dialog__hint{margin:0 2px 8px!important;font-size:12px;line-height:1.5;color:var(--np-sub)}
.nighttax-profile-component .nt-pref-dialog__hint-mouse{display:none}
@media (hover:hover) and (pointer:fine){.nighttax-profile-component .nt-pref-dialog__hint-touch{display:none}.nighttax-profile-component .nt-pref-dialog__hint-mouse{display:inline}}
.nighttax-profile-component .nt-pref-map{position:relative;display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:3px}
.nighttax-profile-component .nt-pref-map__tile{-webkit-appearance:none;appearance:none;position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-width:0;margin:0;padding:0;border:0;border-radius:5px;font-size:9px;line-height:1;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent}
.nighttax-profile-component .nt-pref-map__pc{display:none}
.nighttax-profile-component .nt-pref-map__tile.is-selected{z-index:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--np-ink)}
.nighttax-profile-component .nt-pref-map__tile:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--np-pink)}
.nighttax-profile-component [data-step="0"]{background:#f1ecee;color:#6b5f66}
.nighttax-profile-component [data-step="1"]{background:#fde4ec;color:#2f3e58}
.nighttax-profile-component [data-step="2"]{background:#f8c4d6;color:#2f3e58}
.nighttax-profile-component [data-step="3"]{background:#ef8fb2;color:#2f3e58}
.nighttax-profile-component [data-step="4"]{background:#c23a69;color:#fff}
.nighttax-profile-component [data-step="5"]{background:#8f2148;color:#fff}
/* 吹き出し（見た目だけ・読み上げは各マスの aria-label） */
.nighttax-profile-component .nt-pref-map__tip{position:absolute;z-index:3;padding:5px 9px;border-radius:8px;background:var(--np-ink);color:#fff;font-size:11px;line-height:1.4;font-weight:700;white-space:nowrap;pointer-events:none;box-shadow:0 4px 10px rgba(47,62,88,.25)}
.nighttax-profile-component .nt-pref-map__tip[hidden]{display:none}
.nighttax-profile-component .nt-pref-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:10px!important;font-size:10px;line-height:1.4;color:var(--np-sub)}
.nighttax-profile-component .nt-pref-legend li{display:inline-flex;align-items:center;gap:4px}
.nighttax-profile-component .nt-pref-legend__sw{display:inline-block;width:12px;height:12px;border-radius:3px;border:1px solid var(--np-line)}
/* 数字 2 つ */
.nighttax-profile-component .nt-pref-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.nighttax-profile-component .nt-pref-stats__item{padding:10px 12px;border-radius:12px;background:var(--np-soft)}
.nighttax-profile-component .nt-pref-stats__label{font-size:11px;line-height:1.5;color:var(--np-sub)}
.nighttax-profile-component .nt-pref-stats__value{margin-top:2px!important;font-size:22px;line-height:1.3;font-weight:800;color:var(--np-ink)}
.nighttax-profile-component .nt-pref-stats__value span{font-size:13px;font-weight:700}
/* 選んだ県（紺） */
.nighttax-profile-component .nt-pref-sel{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:14px;background:var(--np-ink);color:#fff}
.nighttax-profile-component .nt-pref-sel__region{font-size:12px;line-height:1.5;color:#ebced9}
.nighttax-profile-component .nt-pref-sel__name{margin-top:2px!important;font-size:18px;line-height:1.3;font-weight:800;color:#fff}
.nighttax-profile-component .nt-pref-sel__nums{text-align:right}
.nighttax-profile-component .nt-pref-sel__count{font-size:14px;line-height:1.1;font-weight:800;color:#fff}
.nighttax-profile-component .nt-pref-sel__count b{font-size:26px;font-weight:800}
.nighttax-profile-component .nt-pref-sel__pct{margin-top:2px!important;font-size:12px;line-height:1.5;color:#ebced9}
/* 地方別（多い順） */
.nighttax-profile-component .nt-pref-regions{display:flex;flex-direction:column;gap:10px}
.nighttax-profile-component .nt-pref-dialog .nt-pref-regions__title{margin:0;padding:0;border:0;background:none;font-size:15px;line-height:1.5;font-weight:800;color:var(--np-ink);text-align:left}
.nighttax-profile-component .nt-pref-regions__list{display:flex;flex-direction:column;gap:10px}
.nighttax-profile-component .nt-pref-regions__row{display:grid;grid-template-columns:84px minmax(0,1fr) 96px;align-items:center;gap:8px;font-size:13px;line-height:1.4;color:var(--np-ink)}
.nighttax-profile-component .nt-pref-regions__name{font-weight:700}
.nighttax-profile-component .nt-pref-regions__bar{display:block;height:10px;border-radius:999px;background:#f7e6ea;overflow:hidden}
.nighttax-profile-component .nt-pref-regions__bar span{display:block;height:100%;border-radius:999px;background:#ef6a95}
.nighttax-profile-component .nt-pref-regions__num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.nighttax-profile-component .nt-pref-regions__num small{font-size:11px;color:var(--np-gray)}
.nighttax-profile-component .nt-pref-dialog__note{font-size:11px;line-height:1.7;color:var(--np-gray)}

/* 350px 以下：ボタンの文字を 1 行に・マスを 20px 近くに保つ（余白と間を詰める） */
@media (max-width:350px){
  .nighttax-profile-component .nt-pref__open{gap:6px;padding-left:10px;padding-right:10px;font-size:14px}
  .nighttax-profile-component .nt-pref__nation{gap:10px;padding:9px 10px}
  .nighttax-profile-component .nt-pref__mini{grid-template-columns:repeat(13,6px);grid-template-rows:repeat(10,6px)}
  .nighttax-profile-component .nt-pref__nation-big b{font-size:26px}
  .nighttax-profile-component .nt-pref-dialog__body{padding-left:10px;padding-right:10px}
  .nighttax-profile-component .nt-pref-dialog__map{padding:10px 6px 8px}
  .nighttax-profile-component .nt-pref-map{gap:2px}
  .nighttax-profile-component .nt-pref-map__tile{border-radius:4px;font-size:8.5px}
  .nighttax-profile-component .nt-pref-regions__row{grid-template-columns:78px minmax(0,1fr) 92px;gap:6px;font-size:12.5px}
}
/* 641〜1023px：中央の窓（1 列） */
@media (min-width:641px){
  .nighttax-profile-component .nt-pref-dialog{margin:auto;width:min(640px,calc(100vw - 32px));max-height:min(860px,calc(100vh - 48px));max-height:min(860px,calc(100dvh - 48px));border-radius:22px;box-shadow:0 16px 40px rgba(47,62,88,.25)}
}
/* 1024px〜：左に地図・右に数字と地方別 */
@media (min-width:1024px){
  .nighttax-profile-component .nt-pref-dialog{width:min(1040px,calc(100vw - 48px));max-height:min(720px,calc(100vh - 48px));max-height:min(720px,calc(100dvh - 48px))}
  .nighttax-profile-component .nt-pref-dialog__head{align-items:center;padding:22px 22px 16px 32px}
  .nighttax-profile-component .nt-pref-dialog__kicker{font-size:13px}
  .nighttax-profile-component .nt-pref-dialog .nt-pref-dialog__title{font-size:26px}
  .nighttax-profile-component .nt-pref-dialog__close{width:48px;height:48px}
  .nighttax-profile-component .nt-pref-dialog__body{display:grid;grid-template-columns:520px minmax(0,1fr);gap:32px;align-items:start;overflow:hidden;padding:24px 32px 20px}
  .nighttax-profile-component .nt-pref-dialog__map{border:0;padding:0}
  .nighttax-profile-component .nt-pref-dialog__side{align-self:stretch;min-height:0;max-height:100%;overflow-y:auto;padding-right:4px}
  .nighttax-profile-component .nt-pref-dialog__hint{font-size:13px;margin-bottom:12px!important}
  .nighttax-profile-component .nt-pref-map{gap:4px}
  .nighttax-profile-component .nt-pref-map__tile{border-radius:7px;font-size:11px}
  .nighttax-profile-component .nt-pref-map__sp{display:none}
  .nighttax-profile-component .nt-pref-map__pc{display:inline}
  .nighttax-profile-component .nt-pref-map__tip{padding:6px 12px;font-size:13px}
  .nighttax-profile-component .nt-pref-legend{gap:6px 14px;font-size:12px}
  .nighttax-profile-component .nt-pref-legend__sw{width:14px;height:14px}
  .nighttax-profile-component .nt-pref-stats__item{padding:12px 16px}
  .nighttax-profile-component .nt-pref-stats__label{font-size:12px}
  .nighttax-profile-component .nt-pref-stats__value{font-size:26px}
  .nighttax-profile-component .nt-pref-sel{padding:16px 20px}
  .nighttax-profile-component .nt-pref-sel__name{font-size:22px}
  .nighttax-profile-component .nt-pref-sel__count b{font-size:32px}
  .nighttax-profile-component .nt-pref-regions__row{grid-template-columns:96px minmax(0,1fr) 110px;font-size:14px}
  .nighttax-profile-component .nt-pref-regions__bar{height:12px}
  .nighttax-profile-component .nt-pref-dialog__note{font-size:12px}
}
