/* ==========================================================
   netfit の色と字（家の紺と、Wi-Fi のピンク。丸ゴシックでやわらかく。2026-11-30）
   ========================================================== */
:root {
  --accent: #e0457a;
  --accent-soft: #f7f7fc;
  --line: #e4e4f2;
  --ink: #22224a;
  --muted: #64648a;
  --bg: #ffffff;
  --btn: #e0457a;
  --btn-dark: #c73366;
  --pair-dark: #22224a;
  --pair-bg: #f5f5fc;
  --pair-co: #ececf8;
  --radius: 10px;
  --tint: #fde8ef;
  --tint-line: #f7cfdc;
  --tint-line2: #f4c2d3;
  --tint-line3: #efb3c8;
  --tint-bg: #fef5f8;
  --hl: #fbd5e2;
  --font-en: "Zen Maru Gothic";
  --font-head: "Zen Maru Gothic";
}
.article h1, .body h2, .page h2, .rk-name, .dd-title, .vs-title, .rel-h { font-family: var(--font-head), "Hiragino Maru Gothic ProN", sans-serif; font-weight: 700; }
.np-lock svg.lockup { display: block; width: 220px; height: auto; }
.np-copy { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.logo > span { display: flex; flex-direction: column; align-items: center; }
.foot-logo { flex-direction: column; align-items: center; }
.foot-logo .np-copy { display: none; }
.foot-logo svg.lockup { width: 170px; }
@media (max-width: 860px) { .np-lock svg.lockup { width: 180px; } .np-copy { font-size: 11px; } }

/* ===== メニュー（netfit だけ。2026-11-30 金城さん） =====
   ・右上のメニューのボタンは出さず、帯の「メニュー」だけにする（PC・スマホとも）
   ・帯のハンバーガーの3本線の間をそろえる
   ・メニューの項目にアイコン */
.site-header .menu > summary { display: none; }
.nav-menu-ico::before { box-sizing: border-box; }
@media (max-width: 860px) {
  .site-header .menu { width: 0; height: 0; overflow: visible; }
  .nav-menu-ico::before { top: 4px; height: 12px; }
  .nav-menu-ico::after { top: 9px; }
}
@media (min-width: 861px) {
  .nav-menu { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 0 22px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .08em; white-space: nowrap; cursor: pointer; }
  .nav-menu:hover { color: var(--accent); }
  .nav-menu[aria-expanded="true"] { box-shadow: inset 0 -3px 0 var(--accent); color: var(--accent); }
  .nav-menu-ico { position: relative; width: 16px; height: 16px; }
  .nav-menu-ico::before { content: ""; position: absolute; left: 1px; right: 1px; top: 2px; height: 12px; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
  .nav-menu-ico::after { content: ""; position: absolute; left: 1px; right: 1px; top: 7px; border-top: 2px solid var(--accent); }
  .nav-menu[aria-expanded="true"] .nav-menu-ico::before { top: 7px; height: 0; border-bottom: 0; transform: rotate(45deg); }
  .nav-menu[aria-expanded="true"] .nav-menu-ico::after { transform: rotate(-45deg); }
  .site-header .menu { display: block; position: absolute; width: 0; height: 0; overflow: visible; }
  .menu-panel { bottom: auto; max-height: calc(100vh - var(--nb, 53px)); padding: 8px max(20px, calc(50% - 380px)) 32px; box-shadow: 0 12px 24px rgba(34, 34, 74, .08); }
}
.menu-list a, .menu-sub a { justify-content: flex-start; gap: 10px; }
.menu-list a::after { margin-left: auto; }
.menu-panel a::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--accent); -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain; }
.menu-panel a[href="/hikari-yasui/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%228%22 r=%226.25%22/%3E%3Cpath d=%22M5.75 4.75 8 8l2.25-3.25M8 8v3.75M6 8.75h4M6 10.5h4%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%228%22 r=%226.25%22/%3E%3Cpath d=%22M5.75 4.75 8 8l2.25-3.25M8 8v3.75M6 8.75h4M6 10.5h4%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/home-router/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%228.5%22 width=%2212%22 height=%225%22 rx=%221.25%22/%3E%3Cpath d=%22M5 11h.01M8 11h.01%22/%3E%3Cpath d=%22M4.5 6a5 5 0 0 1 7 0M6.25 7.5a2.5 2.5 0 0 1 3.5 0%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%228.5%22 width=%2212%22 height=%225%22 rx=%221.25%22/%3E%3Cpath d=%22M5 11h.01M8 11h.01%22/%3E%3Cpath d=%22M4.5 6a5 5 0 0 1 7 0M6.25 7.5a2.5 2.5 0 0 1 3.5 0%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/hikari-norikae/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 5.5h10l-2.5-2.5M13.5 10.5h-10l2.5 2.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 5.5h10l-2.5-2.5M13.5 10.5h-10l2.5 2.5%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/hikari-cashback/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%221.75%22 y=%224.25%22 width=%2212.5%22 height=%229%22 rx=%221.5%22/%3E%3Cpath d=%22M1.75 7h12.5M10.5 10.25h1.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%221.75%22 y=%224.25%22 width=%2212.5%22 height=%229%22 rx=%221.5%22/%3E%3Cpath d=%22M1.75 7h12.5M10.5 10.25h1.5%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/game-kaisen/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 4.5h7a3 3 0 0 1 2.9 3.8l-.9 3.2a1.6 1.6 0 0 1-2.8.6L9.4 10.5H6.6l-1.3 1.6a1.6 1.6 0 0 1-2.8-.6l-.9-3.2A3 3 0 0 1 4.5 4.5Z%22/%3E%3Cpath d=%22M5 7v2M4 8h2M10.5 7.5h.01M11.75 8.75h.01%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4.5 4.5h7a3 3 0 0 1 2.9 3.8l-.9 3.2a1.6 1.6 0 0 1-2.8.6L9.4 10.5H6.6l-1.3 1.6a1.6 1.6 0 0 1-2.8-.6l-.9-3.2A3 3 0 0 1 4.5 4.5Z%22/%3E%3Cpath d=%22M5 7v2M4 8h2M10.5 7.5h.01M11.75 8.75h.01%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/wimax/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 6.5v7.75M5.5 14.25h5%22/%3E%3Ccircle cx=%228%22 cy=%225%22 r=%221.25%22/%3E%3Cpath d=%22M5.25 2.5a4 4 0 0 0 0 5M10.75 2.5a4 4 0 0 1 0 5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M8 6.5v7.75M5.5 14.25h5%22/%3E%3Ccircle cx=%228%22 cy=%225%22 r=%221.25%22/%3E%3Cpath d=%22M5.25 2.5a4 4 0 0 0 0 5M10.75 2.5a4 4 0 0 1 0 5%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/koujifuyou-wifi/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 1.75v3M10 1.75v3M4.5 4.75h7v2.75a3.5 3.5 0 0 1-7 0Z%22/%3E%3Cpath d=%22M8 11v3.25%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 1.75v3M10 1.75v3M4.5 4.75h7v2.75a3.5 3.5 0 0 1-7 0Z%22/%3E%3Cpath d=%22M8 11v3.25%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 5.25 5.25 8 8 3l2.75 5 2.75-2.75-1 7.25h-8.5Z%22/%3E%3Cpath d=%22M4 13.75h8%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2.5 5.25 5.25 8 8 3l2.75 5 2.75-2.75-1 7.25h-8.5Z%22/%3E%3Cpath d=%22M4 13.75h8%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/profile/"]::before, .foot-pages a[href="/profile/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%225.25%22 r=%222.75%22/%3E%3Cpath d=%22M2.75 14c.6-2.9 2.7-4.5 5.25-4.5s4.65 1.6 5.25 4.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%228%22 cy=%225.25%22 r=%222.75%22/%3E%3Cpath d=%22M2.75 14c.6-2.9 2.7-4.5 5.25-4.5s4.65 1.6 5.25 4.5%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/contents-policy/"]::before, .foot-pages a[href="/contents-policy/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 1.75h5.5L12.5 4.75v9a.5.5 0 0 1-.5.5H4a.5.5 0 0 1-.5-.5v-11.5a.5.5 0 0 1 .5-.5Z%22/%3E%3Cpath d=%22M9.5 1.75v3h3M5.75 8h4.5M5.75 10.5h4.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 1.75h5.5L12.5 4.75v9a.5.5 0 0 1-.5.5H4a.5.5 0 0 1-.5-.5v-11.5a.5.5 0 0 1 .5-.5Z%22/%3E%3Cpath d=%22M9.5 1.75v3h3M5.75 8h4.5M5.75 10.5h4.5%22/%3E%3C/svg%3E"); }
.menu-panel a[href="/contact/"]::before, .foot-pages a[href="/contact/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%221.75%22 y=%223.5%22 width=%2212.5%22 height=%229%22 rx=%221.5%22/%3E%3Cpath d=%22m2.25 4.25 5.75 4.5 5.75-4.5%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%221.75%22 y=%223.5%22 width=%2212.5%22 height=%229%22 rx=%221.5%22/%3E%3Cpath d=%22m2.25 4.25 5.75 4.5 5.75-4.5%22/%3E%3C/svg%3E"); }

/* フッターの紺の帯のリンクにもアイコン（2026-11-30 金城さん） */
.foot-pages a { display: inline-flex; align-items: center; gap: 6px; }
.foot-pages a::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; opacity: .85; -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain; }

/* ふつうの表の見出し・マスの（補足）は次の行に小さく（build.py の paren_break。2026-12-01 金城さん） */
.p-note { display: block; font-size: .82em; font-weight: 500; color: var(--muted); line-height: 1.5; }
th .p-note { color: inherit; opacity: .8; }
.cell-label { flex-wrap: wrap; } .cell-label .p-note { flex-basis: 100%; }
.cell-v .cell-note { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.6; }

/* よくある質問の Q・A の字を丸の真ん中に（丸ゴシックは上下の余白で下にずれるため欧文の字に。2026-12-01 金城さん） */
.faq-mark { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; line-height: 1; padding-top: 1px; }
.faq-mark.is-a { box-sizing: border-box; padding-top: 0; }

/* 編集部のページの数のカードは2列（2026-12-01 金城さん） */
.page .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* メニュー・帯の板を開いている間は記事を止め、板の中だけスクロールする（2026-12-01 金城さん：スマホでメニューを動かすと記事が動く）
   ・板の端まで来ても後ろの記事に動きを渡さない（overscroll-behavior）
   ・高さはアドレスバーを除いた画面の高さ（dvh）にして、最後の項目まで届くように */
html:has(details.menu[open]), html:has(.nav-dd[open]) { overflow: hidden; }
/* 止めるのは html だけ。body にも付けると帯の sticky が外れ、スクロールしてから開くと板が画面の外へずれていた（2026-12-01 直し） */
.dd-panel, .menu-panel { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.menu-panel { max-height: calc(100dvh - var(--nb, 53px)); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }

