/* BtoB Navi｜会社ページのポップアップ（1つのコンポーネントの見た目。2026-11-29 ▼63）
   書体はキットの本文。重なり順はサイトの画面下の広告枠（#easy-main-banner・999999）より前。お気に入りのお知らせ（1000001）よりさらに前。 */
:root{
	--bnpop-dark:#0F1D2A;     /* 上の帯（吹き出し・小さいヘッダーと同じ） */
	--bnpop-dim:rgba(15,29,42,.72);   /* 後ろを暗くする量（2026-11-29 本人 ▼63 ①B：55%→72%） */
}
html.bnpop-open{overflow:hidden}
.bnpop{position:fixed;inset:0;z-index:1000002;font-family:var(--e-global-typography-text-font-family),sans-serif}
.bnpop[hidden]{display:none}
.bnpop-bg{position:absolute;inset:0;background:var(--bnpop-dim);animation:bnpop-fade .2s ease-out}
.bnpop-box{position:absolute;left:50%;top:50%;width:min(1100px,calc(100vw - 48px));height:min(88vh,calc(100dvh - 48px));transform:translate(-50%,-50%);display:flex;flex-direction:column;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(0,0,0,.4);animation:bnpop-rise .26s cubic-bezier(.2,1,.3,1)}
.bnpop-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:10px 12px 10px 16px;background:var(--bnpop-dark)}
/* 「新しいタブで開く」：14px・枠つきのボタン・矢印のアイコン（▼63 ②B） */
.bnpop .bnpop-new{display:inline-flex;align-items:center;gap:7px;margin-right:auto;padding:7px 14px;border:1px solid rgba(255,255,255,.45);border-radius:6px;color:#fff !important;font-size:14px;font-weight:600;line-height:1.3;text-decoration:none !important;transition:background .2s,border-color .2s}
.bnpop .bnpop-new:hover,.bnpop .bnpop-new:focus-visible{background:rgba(255,255,255,.12);border-color:#fff}
.bnpop .bnpop-new svg{flex:none}
/* ×：サイトのボタンの色（キットのピンク）に負けないよう2つのクラスで指定し !important。図なので上下左右の中央に揃う */
.bnpop .bnpop-x{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0 !important;border:0 !important;border-radius:50% !important;background:rgba(255,255,255,.1) !important;color:#fff !important;line-height:0;cursor:pointer;box-shadow:none !important}
.bnpop .bnpop-x:hover,.bnpop .bnpop-x:focus{background:rgba(255,255,255,.2) !important;color:#fff !important}
.bnpop-frame{flex:1;width:100%;border:0;background:#fff}
@keyframes bnpop-fade{from{opacity:0}to{opacity:1}}
@keyframes bnpop-rise{from{opacity:0;transform:translate(-50%,-46%)}to{opacity:1;transform:translate(-50%,-50%)}}
@media (max-width:767px){
	.bnpop-box{left:0;top:0;width:100vw;height:100dvh;border-radius:0;transform:none;animation:bnpop-up .26s ease-out}
	@keyframes bnpop-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
}
@media (prefers-reduced-motion:reduce){.bnpop *{animation:none !important;transition:none !important}}
.bnpop .bnpop-x:focus:not(:focus-visible){outline:none}

/* 速くする部品（2026-11-30）：先出しの枠と、先読み用の見えない iframe */
.bnpop-pre{position:fixed;left:-9999px;top:0;width:1100px;height:700px;border:0;visibility:hidden;pointer-events:none}
.bnpop-skel{position:absolute;left:0;right:0;bottom:0;top:58px;padding:48px 48px 32px;background:linear-gradient(135deg,#fff,#E9EEF5);color:#112B3C}
.bnpop-skel p{margin:0 0 14px}
.bnpop-skel-hl{font-size:26px;font-weight:700;line-height:1.5}
.bnpop-skel-name{font-size:17px;font-weight:600;line-height:1.6}
.bnpop-skel-wait{display:flex;align-items:center;gap:10px;font-size:15px;color:#4A5B6C}
.bnpop-skel-spin{width:20px;height:20px;border:3px solid #C9D6E4;border-top-color:#4A90E2;border-radius:50%;animation:bnpop-spin .8s linear infinite}
@keyframes bnpop-spin{to{transform:rotate(360deg)}}
@media (max-width:767px){.bnpop-skel{padding:32px 20px}.bnpop-skel-hl{font-size:21px}}
