/* くらしの便利計算：全ツール共通のナビとフッター（各ツールの配色に左右されないよう独立した色を使う） */
.bn-nav{max-width:960px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0 6px;border-bottom:1px solid #00000014;font-family:"Zen Kaku Gothic New","Hiragino Sans","Noto Sans JP",system-ui,sans-serif;font-size:14px;line-height:1.4;position:relative;z-index:10}
.bn-home{display:flex;align-items:center;gap:6px;font-weight:900;color:#1d2433;text-decoration:none;white-space:nowrap}
.bn-home:hover{opacity:.8}
.bn-home i{font-style:normal;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#1d2433;color:#fff;font-size:13px}
.bn-menu{position:relative}
.bn-menu summary{list-style:none;cursor:pointer;font-weight:700;color:#1d2433;padding:5px 12px;border:1.5px solid #1d243333;border-radius:999px;background:#fff;user-select:none;white-space:nowrap}
.bn-menu summary::-webkit-details-marker{display:none}
.bn-menu summary::after{content:" ▾";font-size:11px}
.bn-menu[open] summary{border-color:#1d2433}
.bn-menu ul{position:absolute;right:0;top:calc(100% + 6px);list-style:none;margin:0;padding:6px;background:#fff;border:1px solid #00000018;border-radius:12px;box-shadow:0 10px 30px #0000001f;width:max-content;min-width:240px;max-width:calc(100vw - 32px)}
.bn-menu li a{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;color:#1d2433;text-decoration:none}
.bn-menu li a:hover{background:#f2f1ec}
.bn-menu li a[aria-current="page"]{background:#f2f1ec;font-weight:700}
.bn-menu li b{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}
.bn-menu li.all a{border-top:1px solid #0000000f;margin-top:4px;padding-top:9px;font-weight:700}
.bn-foot{max-width:960px;margin:56px auto 0;padding-top:16px;border-top:1px solid #00000014;font-family:"Zen Kaku Gothic New","Hiragino Sans","Noto Sans JP",system-ui,sans-serif;font-size:12.5px;color:#5d6475;line-height:1.7}
.bn-foot .bn-tools{display:flex;flex-wrap:wrap;gap:4px 16px;margin-bottom:10px}
.bn-foot .bn-tools strong{width:100%;color:#1d2433;font-size:13px}
.bn-foot a{color:inherit}
.bn-foot .bn-meta{display:flex;flex-wrap:wrap;gap:4px 16px}
/* パンくずリスト */
.bn-crumb{max-width:960px;margin:0 auto;padding:8px 0 0;font-family:"Zen Kaku Gothic New","Hiragino Sans","Noto Sans JP",system-ui,sans-serif;font-size:12px;line-height:1.5;color:#5d6475;display:flex;flex-wrap:wrap;gap:2px 6px;align-items:center}
.bn-crumb a{color:#5d6475;text-decoration:none}
.bn-crumb a:hover{text-decoration:underline}
.bn-crumb [aria-current]{color:#1d2433;font-weight:700}
/* 同じカテゴリの関連ツール */
.bn-rel{max-width:960px;margin:48px auto 0;font-family:"Zen Kaku Gothic New","Hiragino Sans","Noto Sans JP",system-ui,sans-serif}
.bn-rel h2{font-size:18px;margin:0 0 10px;color:#1d2433;line-height:1.5}
.bn-rel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.bn-rel-list a{display:grid;gap:3px;padding:11px 13px;border:1px solid #00000018;border-radius:12px;background:#fff;color:#1d2433;text-decoration:none;line-height:1.5}
.bn-rel-list a:hover{border-color:#1d2433}
.bn-rel-list b{font-size:14.5px}
.bn-rel-list span{font-size:12.5px;color:#5d6475;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
