/* 会員画面（アドキタCRと同じ見た目の決まり）。公開サイトの ui.css のうち、メールの形（.mt）などの部品だけを使う */
body.cr {
  --cr-rail: #fff; --cr-rail-hover: #f1f5f9; --cr-rail-text: #526174;
  --cr-brand: #0067d9; --cr-brand-600: #0057b8; --cr-brand-50: #e8f2ff; --cr-brand-100: #cfe4ff; --cr-brand-200: #a8cdff; --cr-focus: #003b7a;
  --cr-control-line: #7a8798;
  --fs-min: .875rem;
  --cr-bg: #f7f8fa; --cr-side: #f8fafc; --cr-card: #fff; --cr-line: #e2e8f0; --cr-line-2: #d8e0eb; --cr-row: #e6ebf2;
  --cr-head: #eef2f7; --cr-th: #5b6b80; --cr-ink: #152235; --cr-ink-2: #334155; --cr-muted: #526174; --cr-faint: #526174;
  --cr-top: 64px;
  --cr-top-offset: var(--cr-top);
  --page: var(--cr-bg); --page-2: #e5e7eb; --panel: var(--cr-card); --ink: var(--cr-ink); --ink-2: var(--cr-ink-2);
  --muted: var(--cr-muted); --faint: var(--cr-faint); --line: var(--cr-line); --line-2: var(--cr-line-2); --soft: var(--cr-side);
  --blue: var(--cr-brand); --blue-2: var(--cr-brand-600); --blue-soft: var(--cr-brand-50); --navy: #0f172a;
  --teal: #bcdce0; --yellow: #fbe9a8; --lav: #e9e3ff; --mark: #fde68a; --pr: #92400e; --pr-bg: #fef3c7; --heat: 59, 130, 246;
  color-scheme: light; margin: 0; background: var(--cr-bg); color: var(--cr-ink); font-size: 1rem; line-height: 1.7;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
body.cr a { color: var(--cr-brand-600); text-decoration: none; }
body.cr a:hover { text-decoration: underline; }
body.cr :where(button, input, select, textarea) { font: inherit; }
body.cr :where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 3px solid var(--cr-focus); outline-offset: 2px; border-radius: 4px; }
body.cr :where([id], a, button, input, select, textarea, summary, h1, h2, h3) { scroll-margin-top: calc(var(--cr-top-offset) + 1rem); }
body.cr :where(summary) { min-height: 44px; box-sizing: border-box; }
body.nav-open, body.panel-open { overflow: hidden; }
.cr .muted { color: var(--cr-muted); }
.cr .small { font-size: max(var(--fs-min), .8125rem); }
.cr .n { text-align: right; font-variant-numeric: tabular-nums; }
.cr mark { background: #fef08a; color: inherit; padding: 0 1px; border-radius: 2px; }

/* ---- 枠：文字のサイドバー1つと本文。重複するアイコン帯は表示しない ---- */
.cr-shell { display: flex; min-height: 100vh; }
.cr-rail { display: none; }
body.cr .cr-rail .logo { width: 36px; height: 36px; border-radius: 10px; background: var(--cr-brand); color: #fff !important; display: grid; place-items: center; font-weight: 900; font-size: max(var(--fs-min), 1rem); margin-bottom: 6px; }
.cr-rail .logo:hover { text-decoration: none; }
body.cr .cr-rail .logo:has(img) { background: none; }
.cr-rail .logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cr-nav-head img.mk, .bare-logo img.mk { display: block; object-fit: contain; border-radius: 0; background: none; }
.cr-rail .sep { width: 32px; height: 1px; background: var(--cr-rail-hover); margin: 4px 0; }
body.cr .cr-rail a, .cr-rail button { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--cr-rail-text); background: none; border: 0; cursor: pointer; }
body.cr .cr-rail a:hover, .cr-rail button:hover { background: var(--cr-rail-hover); color: #fff; text-decoration: none; }
body.cr .cr-rail a[aria-current="page"] { background: var(--cr-brand); color: #fff; }
.cr-rail svg { width: 22px; height: 22px; }
.cr .cr-rail :focus-visible { outline-color: #fff; }
.cr-rail [data-tip]:is(:hover, :focus-visible)::after { content: attr(data-tip); position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: #111827; color: #fff; font-size: max(var(--fs-min), .78125rem); font-weight: 600; padding: 4px 8px; border-radius: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.2); pointer-events: none; }
.cr-rail .bottom { margin-top: auto; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.cr-rail .tag { font-size: .5625rem; font-weight: 700; letter-spacing: .14em; color: var(--cr-rail-text); }

.cr-nav { width: 220px; flex: none; background: var(--cr-rail); border-right: 1px solid var(--cr-line); position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 16px 12px 12px; z-index: 30; box-sizing: border-box; }
body.cr .cr-nav :focus-visible { outline-color: var(--cr-focus); }
body.nav-closed .cr-nav { display: none; }
.cr-skip { position: fixed; left: 12px; top: 12px; z-index: 100; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 8px; background: #fff; color: var(--cr-focus); border: 2px solid var(--cr-focus); font-weight: 800; box-shadow: 0 8px 24px rgba(15,23,42,.18); transform: translateY(calc(-100% - 24px)); }
.cr-skip:focus-visible { transform: none; text-decoration: none; }
.cr-nav-close { display: none; min-height: 44px; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--cr-control-line); border-radius: 8px; background: #fff; color: var(--cr-ink-2); font-weight: 700; cursor: pointer; }
.cr-nav-head { display: flex; align-items: center; gap: 10px; padding: 4px 8px 12px; border-bottom: 1px solid var(--cr-line); margin-bottom: 4px; }
.cr-nav-head b { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--cr-ink); }
.cr-nav-head .mk { width: 30px; height: 30px; border-radius: 8px; background: var(--cr-brand); color: #fff; display: grid; place-items: center; font-weight: 900; }
.cr-nav h4 { margin: 14px 10px 4px; font-size: .875rem; font-weight: 500; color: var(--cr-rail-text); }
.cr-nav h4 small { display: block; font-weight: 400; color: var(--cr-rail-text); font-size: .875rem; }
body.cr .cr-nav a { display: flex; align-items: center; min-height: 44px; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--cr-ink-2); font-size: .875rem; border: 1px solid transparent; border-left: 3px solid transparent; box-sizing: border-box; }
body.cr .cr-nav a:hover { background: var(--cr-rail-hover); color: var(--cr-ink); text-decoration: none; }
body.cr .cr-nav a[aria-current="page"] { background: var(--cr-brand-50); color: var(--cr-brand-600); border-left-color: var(--cr-brand); font-weight: 600; }
.cr-nav a svg { width: 18px; height: 18px; flex: none; }
.cr-nav .foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--cr-line); display: grid; gap: 2px; }
.cr-nav .who { padding: 4px 10px; font-size: .875rem; color: var(--cr-rail-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cr-top { min-height: var(--cr-top); flex: none; background: #fff; border-bottom: 1px solid var(--cr-line); display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px 22px; padding: 0 24px; position: sticky; top: 0; z-index: 20; box-sizing: border-box; }
.cr-top .menu { display: grid; width: 44px; min-height: 44px; align-self: center; flex: none; border: 1px solid var(--cr-control-line); border-radius: 8px; background: #fff; place-items: center; cursor: pointer; color: var(--cr-ink-2); }
.cr-top .menu svg { width: 20px; height: 20px; }
.cr-tabs { display: flex; flex-wrap: wrap; gap: 8px 22px; min-width: 0; }
body.cr .cr-tabs a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--cr-ink-2); font-size: max(var(--fs-min), .9375rem); border-bottom: 2px solid transparent; }
body.cr .cr-tabs a:hover { color: var(--cr-ink); text-decoration: none; }
body.cr .cr-tabs a[aria-current="page"] { color: var(--cr-brand-600); border-bottom-color: var(--cr-brand); font-weight: 700; }
.cr-top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); white-space: nowrap; }
.cr-demo { background: #edf3f9; color: #40546c; font-size: .875rem; font-weight: 500; padding: 6px 24px; border-bottom: 1px solid var(--cr-line); }
.passbar { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; background: var(--cr-brand-50); color: var(--cr-ink); font-size: max(var(--fs-min), .875rem); font-weight: 600; padding: 9px 24px; border-bottom: 1px solid var(--cr-brand-100); }
.passbar a { font-weight: 700; }

.cr-page, .cr-library-page { width: 100%; max-width: 88rem; margin: 0 auto; padding: 24px 28px 56px; box-sizing: border-box; }
.cr-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.cr-h1 { font-size: 2rem; font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: -.025em; }
.cr-sub { color: var(--cr-muted); font-size: .9375rem; line-height: 1.65; max-width: 52em; margin: 8px 0 0; }
.cr-head .act { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---- 部品 ---- */
.cr-card { background: var(--cr-card); border: 1px solid var(--cr-line); border-radius: 6px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.cr-card-h { margin: 0; padding: 18px 20px 0; font-size: 1.25rem; font-weight: 700; line-height: 1.5; }
.cr-card .pad { padding: 16px 20px 20px; }
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--cr-brand); background: var(--cr-brand); color: #fff !important; font: inherit; font-size: max(var(--fs-min), .875rem); line-height: 1.35; font-weight: 700; cursor: pointer; white-space: normal; overflow-wrap: anywhere; text-align: center; text-decoration: none !important; box-sizing: border-box; }
.cr-btn:hover { background: var(--cr-brand-600); }
.cr-btn.white { background: #fff; color: var(--cr-ink-2) !important; border-color: var(--cr-line-2); }
.cr-btn.white:hover { background: var(--cr-side); }
.cr-btn.soft { background: var(--cr-brand-50); color: var(--cr-brand-600) !important; border-color: var(--cr-brand-50); }
.cr-btn.soft:hover { border-color: var(--cr-brand-200); }
.cr-btn.sm { min-height: 44px; padding: 8px 12px; font-size: .9375rem; }
.cr-btn.lg { min-height: 48px; padding: 10px 18px; font-size: max(var(--fs-min), .90625rem); }
.cr-btn.block { width: 100%; }
.cr-btn svg { width: 14px; height: 14px; }
.cr-btn.on { background: #ecfdf5; color: #047857 !important; border-color: #a7f3d0; }
.cr-seg { display: inline-flex; flex-wrap: wrap; background: transparent; border-bottom: 1px solid var(--cr-line); padding: 0; gap: 2px; }
body.cr .cr-seg a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 5px 14px; border-bottom: 2px solid transparent; font-size: max(var(--fs-min), .875rem); font-weight: 500; color: var(--cr-ink-2); white-space: nowrap; }
body.cr .cr-seg a:hover { text-decoration: none; background: #fff; }
body.cr .cr-seg a[aria-current="page"] { border-bottom-color: var(--cr-brand); color: var(--cr-ink); font-weight: 600; }
.cr-select, .cr-input { min-height: 48px; border: 1px solid var(--cr-control-line); border-radius: 8px; background: #fff; color: var(--cr-ink); font: inherit; font-size: 1rem; line-height: 1.35; padding: 10px 12px; box-sizing: border-box; }
.cr-select:hover, .cr-input:hover { border-color: #64748b; }
.cr :where(.cr-btn, .m-subj, .m-snip, .b-cell b, .b-cell small, .cmp-b, .kv dd, .form label, .notice, .note, .mp-subj, .g-who b, .g-subj, .sj-t a, .cr-toolbar .cond b, .cr-plan, .b-last) { overflow-wrap: anywhere; }
.cr :where(.g-who b, .cr-toolbar .cond b, .b-last) { white-space: normal; }
.cr-badge { display: inline-flex; align-items: center; min-height: 22px; line-height: 1.35; padding: 2px 9px; border-radius: 999px; font-size: max(var(--fs-min), .78125rem); font-weight: 700; white-space: nowrap; background: #f1f5f9; color: #475569; }
.cr-badge.b-sale { background: #fee2e2; color: #b91c1c; }
.cr-badge.b-coupon { background: #fef3c7; color: #b45309; }
.cr-badge.b-point { background: #ede9fe; color: #6d28d9; }
.cr-badge.b-free_shipping { background: #dcfce7; color: #15803d; }
.cr-badge.b-fukubukuro { background: #ffe4e6; color: #be123c; }
.cr-badge.b-new_arrival, .cr-badge.b-restock, .cr-badge.b-preorder { background: var(--cr-brand-50); color: var(--cr-brand-600); }
.cr-badge.b-cat { background: #f0fdfa; color: #0f766e; }
.cr-badge.b-ex { background: #fff; color: #9a3412; box-shadow: inset 0 0 0 1px #fdba74; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cr-chip { display: inline-flex; align-items: center; min-height: 20px; line-height: 1.35; padding: 2px 7px; border-radius: 4px; background: #f1f5f9; color: var(--cr-ink-2); font-size: max(var(--fs-min), .78125rem); white-space: nowrap; }
.cr-chip.hot { background: #fff1f2; color: #be123c; font-weight: 700; }
.cr-av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--c, #334155); color: #fff; font-size: max(var(--fs-min), .84375rem); font-weight: 800; }
.cr-av.sm { width: 22px; height: 22px; font-size: max(var(--fs-min), .71875rem); }
.cr-av.lg { width: 44px; height: 44px; font-size: max(var(--fs-min), 1rem); }
.cr-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--c, #334155); color: #fff; font-size: max(var(--fs-min), .75rem); font-weight: 800; letter-spacing: .02em; text-align: center; line-height: 1.1; overflow: hidden; padding: 3px; word-break: keep-all; box-sizing: border-box; }
.cr-tile.lg { width: 88px; height: 88px; font-size: max(var(--fs-min), 1rem); border-radius: 10px; padding: 8px; }
.cr-meter { display: block; height: 3px; background: #e2e8f0; border-radius: 2px; margin-top: 4px; overflow: hidden; }
.cr-meter i { display: block; height: 100%; background: var(--cr-brand); }
.cr-up { color: #047857; font-weight: 700; }
.cr-down { color: #dc2626; font-weight: 700; }
.notice { border-radius: 8px; padding: 10px 14px; background: var(--cr-brand-50); color: var(--cr-ink); font-size: max(var(--fs-min), .875rem); margin: 0 0 14px; }
.notice.err { background: #fee2e2; color: #b91c1c; font-weight: 700; }
.notice.ok { background: #d1fae5; color: #047857; font-weight: 700; }
.note { color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }

/* ---- 数字のまとまり ---- */
.cr-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 16px; }
.cr-kpis > div { padding: 12px 16px; border-right: 1px solid var(--cr-line); min-width: 0; }
.cr-kpis > div:last-child { border-right: 0; }
.cr-kpis dt { font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); font-weight: 600; }
.cr-kpis dd { margin: 2px 0 0; font-size: max(var(--fs-min), 1.25rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-kpis dd small { font-size: max(var(--fs-min), .8125rem); font-weight: 600; color: var(--cr-muted); margin-left: 4px; }
.cr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.cr-tiles > div { background: var(--cr-side); border: 1px solid var(--cr-line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.cr-tiles dt { font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); overflow-wrap: anywhere; }
.cr-tiles dd { margin: 2px 0 0; font-size: max(var(--fs-min), 1.125rem); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-tiles dd small { font-size: max(var(--fs-min), .78125rem); font-weight: 600; color: var(--cr-muted); margin-left: 3px; }

/* ---- 表 ---- */
.cr-tablewrap { overflow-x: auto; background: #fff; }
.cr-tablewrap:focus-visible, .table-wrap:focus-visible, .st-wrap:focus-visible, .rh-wrap:focus-visible, .ev-chart:focus-visible { outline: 3px solid var(--cr-focus); outline-offset: 2px; }
.cr-table { width: 100%; border-collapse: collapse; font-size: max(var(--fs-min), .875rem); }
.cr-table thead th { background: var(--cr-head); color: var(--cr-th); font-size: max(var(--fs-min), .75rem); font-weight: 700; height: 44px; padding: 0 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid #dfe5ee; }
.cr-table thead th.n { text-align: right; }
.cr-table thead th a { color: inherit; }
.cr-table thead th a[aria-current] { color: var(--cr-brand-600); }
.cr-table td { padding: 10px; border-bottom: 1px solid var(--cr-row); vertical-align: middle; }
.cr-table tbody tr:hover { background: #f5f8ff; }
.cr-table tbody tr.sel { background: #eef4ff; box-shadow: inset 3px 0 0 var(--cr-brand); }
.cr-table tr[data-mail], .cr-table tr[data-href] { cursor: pointer; }
.cr-empty { padding: 48px 16px; text-align: center; color: var(--cr-muted); }
.cr-empty.recovery { margin: 24px 0; padding: 24px 0; text-align: left; }
.recovery h2 { margin: 0 0 8px; color: var(--cr-ink); font-size: 1.125rem; line-height: 1.6; }
.recovery p { margin: 0; max-width: 44rem; }
.recovery-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
body.cr .recovery-actions a { max-width: 100%; white-space: normal; text-align: left; text-decoration: none; }

/* メルマガの行：小さなメールの形・件名・ブランド */
.m-cell { display: flex; gap: 12px; align-items: center; min-width: 300px; max-width: 540px; }
.m-thumb { width: 64px; height: 80px; flex: none; overflow: hidden; border-radius: 4px; border: 1px solid var(--cr-line); background: #fff; position: relative; }
.m-thumb .mt { width: 160px; transform: scale(.4); transform-origin: 0 0; pointer-events: none; }
.m-text { min-width: 0; }
.m-subj { font-weight: 700; color: var(--cr-ink) !important; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.m-subj:hover { color: var(--cr-brand-600) !important; text-decoration: none; }
.m-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.m-brand a { max-width: 100%; overflow-wrap: anywhere; }
.m-brand a { color: var(--cr-ink-2); font-weight: 600; }
.m-snip { font-size: max(var(--fs-min), .8125rem); color: var(--cr-ink-2); background: var(--cr-side); border-radius: 4px; padding: 4px 6px; margin-top: 4px; max-width: 520px; }
.m-when { white-space: nowrap; }
.m-when b { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-when small { color: var(--cr-muted); font-size: max(var(--fs-min), .78125rem); }
.m-dl { font-size: max(var(--fs-min), .8125rem); font-weight: 700; color: var(--cr-brand-600); white-space: nowrap; }
.m-dl.ended { color: var(--cr-faint); font-weight: 500; }

/* ---- 検索：一覧の上の操作・必要なときに開く条件 ---- */
.cr-split { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
.cr-filter { flex: none; background: transparent; border-bottom: 1px solid var(--cr-line); }
.cr-filter .fields { padding: 0 0 16px; display: grid; gap: 20px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cr-filter .f-primary { display: flex; flex-wrap: wrap; align-items: end; }
.cr-filter .f-keyword { flex: 1 1 20rem; min-width: 0; }
.cr-filter .f-keyword .cr-input { min-height: 48px; font-size: 1rem; }
.cr-filter .f-format { flex: 0 1 12rem; min-width: 0; }
.cr-filter .f-kind { flex: 0 1 16rem; min-width: 0; }
.cr-filter .f-options { padding: 20px; margin: 4px 0 20px; border: 1px solid var(--cr-line); border-radius: 8px; background: #fff; display: grid; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 20px 24px; min-width: 0; }
.filter-apply { padding-top: 16px; border-top: 1px solid var(--cr-line); }
.cr-filter .f-options > .full { grid-column: 1 / -1; }
.cr-filter.filter-ready:not(.open) .f-options { display: none; }
.cr-filter:not(.filter-ready) [data-filter-toggle] { display: none; }
.cr-filter label { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; color: var(--cr-ink-2); }
.cr-filter .cr-select, .cr-filter .cr-input { width: 100%; min-height: 48px; font-size: 1rem; }
.cr-filter .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-filter .btns > * { flex: 1 0 auto; }
.cr-saved { border: 1px solid var(--cr-line-2); background: #fff; border-radius: 6px; overflow: hidden; }
.cr-saved h5 { margin: 0; padding: 7px 10px; font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); border-bottom: 1px solid var(--cr-line); }
.cr-saved ul { list-style: none; margin: 0; padding: 4px 0; max-height: 180px; overflow-y: auto; }
.cr-saved li { display: flex; align-items: center; gap: 4px; padding: 0 4px 0 10px; }
.cr-saved li a { display: flex; align-items: center; flex: 1; min-width: 0; min-height: 44px; font-size: max(var(--fs-min), .84375rem); padding: 4px 0; overflow-wrap: anywhere; white-space: normal; color: var(--cr-ink-2); }
.cr-saved li form { margin: 0; }
.cr-saved li button { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--cr-faint); cursor: pointer; font-size: max(var(--fs-min), 1rem); line-height: 1; padding: 2px 6px; }
.cr-saved li button:hover { color: #dc2626; }
.cr-results { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cr-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; background: transparent; border-bottom: 1px solid var(--cr-line); }
.cr-toolbar .cond { display: flex; align-items: center; gap: 6px; color: var(--cr-muted); font-size: max(var(--fs-min), .84375rem); min-width: 0; }
.cr-toolbar .cond b { color: var(--cr-ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.cr-toolbar .grow { flex: 1; }
.cr-toolbar form { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; max-width: 100%; }
.cr-toolbar form label { display: grid; gap: 4px; font-size: max(var(--fs-min), .875rem); }
.cr-toolbar .cr-input { width: 180px; max-width: 100%; min-height: 44px; font-size: max(var(--fs-min), .875rem); }
.search-save { max-width: 100%; }
.search-save .cr-btn { min-height: 44px; }
.search-save[open] { flex-basis: 100%; }
.search-save form { padding-top: 10px; }
.search-page .search-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin-left: auto; padding: 0; }
.search-summary { margin-top: 24px; padding: 20px; scroll-margin-top: 100px; }
.search-summary header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.search-summary h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.125rem; }
.search-summary h2 svg { width: 20px; height: 20px; flex: none; }
.search-summary header > a { margin-left: auto; }
.search-summary section { padding: 16px 0; border-top: 1px solid var(--cr-line); }
.search-summary h6 { margin: 0 0 10px; font-size: 1rem; }
.search-summary .row { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: .9375rem; }
.search-summary .row > * { min-width: 0; overflow-wrap: anywhere; }
.search-summary .row b { flex: none; font-variant-numeric: tabular-nums; }
.mp-head .act [disabled], .cr-keys [disabled] { opacity: .45; cursor: default; }
.search-page .f-keyword { max-width: 44rem; }
.search-page .search-apply > * { flex: 0 1 auto; }
.search-page .cr-results > .q-applied { margin: 8px 0 0; }
.research-bars { display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;padding:12px 0;margin:12px 0 20px;border-bottom:1px solid var(--cr-line); }
.research-bars > .cr-toolbar { flex:1 1 280px;min-width:0;gap:12px 20px;padding:0;border:0; }
.search-page .research-bars > .cr-toolbar { flex-basis:540px; }
.research-bars > .research-result-nav { flex:1 1 380px;min-width:0;margin:0; }
.research-bars > .research-result-nav:has(.research-tools[open]) { flex-basis:100%; }
.search-page .cr-count { min-width: 0; }
.search-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .875rem; color: var(--cr-muted); }
.search-sort .cr-select { width: 12rem; max-width: 100%; }
.search-page .cr-seg, .line-result-toolbar .cr-seg { border: 1px solid var(--cr-line-2); border-radius: 8px; padding: 3px; gap: 3px; background: #fff; }
body.cr .search-page .cr-seg a, body.cr .line-result-toolbar .cr-seg a { min-width: 64px; justify-content: center; border: 0; border-radius: 5px; }
body.cr .search-page .cr-seg a[aria-current="page"], body.cr .line-result-toolbar .cr-seg a[aria-current="page"] { color: var(--cr-brand-600); background: var(--cr-brand-50); font-weight: 700; box-shadow: inset 0 0 0 1px #c1d7f3; }
.search-saved { margin: 0 0 16px; padding: 0 16px; }
.search-saved > summary { min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; font-size: .875rem; font-weight: 600; }
.search-saved > summary span { margin-left: 6px; color: var(--cr-muted); font-weight: 400; }
@media (max-width: 640px) {
  .search-page .cr-toolbar { gap: 8px; }
  .search-page .cr-toolbar > .grow { display: none; }
}
.cr-count { font-size: max(var(--fs-min), .84375rem); color: var(--cr-muted); white-space: nowrap; }
.cr-count b { color: var(--cr-ink); font-size: max(var(--fs-min), .9375rem); }
.cr-pager { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 16px; }
.cr-pager span { color: var(--cr-muted); font-size: max(var(--fs-min), .84375rem); }
.cr-cards { padding: 24px 0; }
.cr-cards .masonry { column-width: 220px; column-gap: 14px; }

/* 検索結果のまとめ（右下に浮く） */
.cr-sum { position: fixed; right: 12px; bottom: 12px; width: 360px; max-width: calc(100% - 24px); max-height: calc(100vh - 100px); overflow-y: auto; background: #fff; border: 1px solid var(--cr-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(15,23,42,.18); z-index: 25; }
.cr-sum header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--cr-line); position: sticky; top: 0; background: #fff; }
.cr-sum header b { font-size: max(var(--fs-min), .90625rem); }
.cr-sum header .cr-badge { margin-left: auto; }
.cr-sum header button { min-width: 44px; min-height: 44px; border: 0; background: none; cursor: pointer; color: var(--cr-muted); font-size: max(var(--fs-min), 1.125rem); line-height: 1; padding: 0 2px; }
.cr-sum section { padding: 10px 14px; border-bottom: 1px solid var(--cr-line); }
.cr-sum section:last-child { border-bottom: 0; }
.cr-sum h6 { margin: 0 0 6px; font-size: max(var(--fs-min), .8125rem); font-weight: 700; }
.cr-sum .row { display: flex; justify-content: space-between; gap: 8px; font-size: max(var(--fs-min), .84375rem); margin: 4px 0 0; }
.cr-sum .row span { min-width: 0; overflow-wrap: anywhere; }
.cr-sum .row b { font-variant-numeric: tabular-nums; }
body.sum-closed .cr-sum { display: none; }
.cr-sum-open { display: none !important; }
body.sum-closed .cr-sum-open { display: inline-flex !important; }

/* はじめての人の案内 */
.onboard { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; background: #fff; border-bottom: 1px solid var(--cr-line); padding: 16px; align-items: center; }
.onboard h2 { margin: 0 0 4px; font-size: max(var(--fs-min), 1rem); font-weight: 800; }
.onboard p { color: var(--cr-ink-2); margin: 0 0 10px; font-size: max(var(--fs-min), .875rem); }
.onboard-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--cr-line); border-radius: 8px; padding: 6px 8px; margin: 0; }
.ob-item span { flex: 1; font-weight: 700; font-size: max(var(--fs-min), .875rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 1通の詳細（右から出る） ---- */
.cr-dim { position: fixed; inset: 0; background: rgba(15,23,42,.28); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .15s; }
.cr-dim.open { opacity: 1; pointer-events: auto; }
.cr-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(980px, 100vw); background: var(--cr-bg); z-index: 60; box-shadow: -18px 0 40px rgba(15,23,42,.18); transform: translateX(102%); transition: transform .18s ease-out; display: flex; flex-direction: column; visibility: hidden; }
.cr-panel.open { transform: none; visibility: visible; }
.cr-keys { position: fixed; top: 50%; transform: translateY(-50%); right: calc(min(980px, 100vw) + 16px); z-index: 61; display: grid; gap: 8px; }
.cr-keys button { background: #111827; color: #fff; border: 0; border-radius: 8px; padding: 8px 12px; font: inherit; font-size: max(var(--fs-min), .84375rem); font-weight: 700; cursor: pointer; white-space: nowrap; }
.cr-keys[hidden] { display: none; }
.mp { display: flex; flex-direction: column; height: 100%; }
.mp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 56px; padding: 6px 12px 6px 20px; background: #fff; border-bottom: 1px solid var(--cr-line); flex: none; box-sizing: border-box; }
.mp-head .ttl { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: max(var(--fs-min), .9375rem); white-space: nowrap; }
.mp-head .ttl .ic { width: 26px; height: 26px; border-radius: 6px; background: var(--cr-brand-50); color: var(--cr-brand-600); display: grid; place-items: center; }
.mp-head .ttl .ic svg { width: 16px; height: 16px; }
.mp-tabs { display: flex; flex-wrap: wrap; gap: 8px 18px; min-width: 0; }
.mp-tabs a { display: flex; align-items: center; min-height: 44px; color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); border-bottom: 2px solid transparent; cursor: pointer; white-space: normal; }
.mp-tabs a:hover { text-decoration: none; color: var(--cr-ink); }
.mp-tabs a[aria-selected="true"] { color: var(--cr-brand-600); border-bottom-color: var(--cr-brand); font-weight: 700; }
.mp-head .act { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mp-close { min-width: 44px; min-height: 44px; border: 0; background: none; cursor: pointer; color: var(--cr-muted); font-size: max(var(--fs-min), 1.375rem); line-height: 1; border-radius: 6px; }
.mp-close:hover { background: var(--cr-side); }
.mp-body { flex: 1; overflow-y: auto; padding: 24px; container: mail-detail / inline-size; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; max-width: 1120px; margin: 0 auto; }
.mp-reading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 12px; }
@container mail-detail (min-width: 980px) {
  .mp-reading.has-workbench { grid-template-columns: minmax(0, 1fr) 304px; }
  .mp-reading.has-workbench .mp-workbench { border-top: 0; border-left: 1px solid var(--cr-line); padding: 0 0 0 24px; }
}
.mp-summary { padding: 0; }
.mp-summary .mp-who b { font-size: .875rem; font-weight: 500; }
.mp-summary .mp-info-jump { background: transparent; border-color: transparent; color: var(--cr-muted); }
.mp-left > .mp-paper { background: #fff; border: 1px solid var(--cr-line); border-radius: 4px; box-shadow: 0 2px 8px rgba(15,23,42,.04); }
.mp-workbench { min-width: 0; scroll-margin-top: 80px; border-top: 1px solid var(--cr-line); padding-top: 24px; background: transparent; }
.mp-workbench h2 { margin: 0 0 12px; font-size: 1.125rem; font-weight: 700; }
.mail-info-section + .mail-info-section { margin-top: 20px; }
.mail-info-section h3 { margin: 0 0 10px; font-size: .875rem; font-weight: 600; color: var(--cr-muted); }
.mail-info-section, .mail-info-section .note { font-size: .875rem; overflow-wrap: anywhere; }
.mail-info-preheader { margin: 0 0 8px; white-space: pre-wrap; }
.mail-info-counts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; }
.mail-info-counts div { display: flex; gap: 8px; }
.mail-info-counts dd { margin: 0; font-weight: 600; }
.mail-info-facts, .mail-info-links, .mail-info-neighbors { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mail-info-facts > li { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: start; gap: 0 8px; padding-bottom: 16px; border-bottom: 1px solid var(--cr-line); }
.mail-info-facts q { display: block; grid-column: 1 / -1; grid-row: 2; white-space: pre-wrap; margin: 4px 0 0; font-size: 1rem; line-height: 1.7; quotes: none; }
.mail-info-facts .mail-info-copy { grid-column: 2; grid-row: 1; }
.mail-quote-source, .mail-info-url, .mail-info-neighbors small { display: block; }
.mail-quote-source, .mail-info-neighbors small { margin-top: 4px; color: var(--cr-muted); font-size: .875rem; }
.mail-quote-source { margin-top: 0; align-self: center; }
.mp-workbench .mail-info-copy { min-width: 112px; min-height: 44px; padding: 8px 6px; font-size: .875rem; font-weight: 500; background: transparent; border-color: transparent; color: var(--cr-muted); }
.mp-workbench .mail-info-copy:hover { color: var(--cr-ink); background: var(--cr-head); }
.mail-info-explanation { margin-top: 24px; }
.mail-info-explanation .note { margin: 0 0 8px; }
.mail-info-count-details { margin-top: 24px; border-top: 1px solid var(--cr-line); }
.mail-info-links > li { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--cr-line); }
.mail-info-links > li > a { display: flex; align-items: center; min-height: 44px; color: var(--cr-ink); }
.mail-info-url { margin: 4px 0 8px; overflow-wrap: anywhere; }
.mail-info-section .cr-btn, .mail-info-more summary { min-height: 44px; font-size: .875rem; }
.mail-info-more summary { padding: 12px 0; cursor: pointer; }
.mail-info-neighbors a { display: flex; align-items: center; min-height: 44px; }
.mail-info-neighbors .mail-info-mail-card { gap: 10px; border-bottom: 1px solid var(--cr-line); padding: 10px 0; text-decoration: none; color: var(--cr-ink); }
.mail-info-mail-card > span { min-width: 0; }
.mail-info-mail-card b { display: block; margin-top: 4px; line-height: 1.5; font-size: .9375rem; font-weight: 500; }
.mail-info-thumb { flex: 0 0 56px; width: 56px; height: 72px; object-fit: cover; object-position: top; border: 1px solid var(--cr-line); border-radius: 4px; }
.mp-grid > [data-sec="brand"] { width: 100%; max-width: 760px; justify-self: center; }
.mp-left { display: grid; gap: 12px; }
.mp-who { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.mp-who b { display: block; font-size: max(var(--fs-min), .9375rem); }
.mp-who small { color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.mp-who .act { margin-left: auto; }
.mp-who .act form { margin: 0; }
.mp-thumb { padding: 14px; border-top: 1px solid var(--cr-line); }
.mp-thumb .mt { max-width: 340px; margin: 0 auto; }
.mp-subj { margin: 0 0 6px; }
.mp-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mp-sec[hidden] { display: none; }
.mp-note { font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); margin: 10px 0 0; }
.mp-page { max-width: 1240px; }
.mp-page .mp { height: auto; }
.mp-page .mp-head { padding: 0; background: transparent; border-bottom: 0; }
.mp-page .mp-body { overflow: visible; padding: 12px 0; }

/* ---- 市場トレンド ---- */
.cr-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.cr-filters .hint { color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.brands-controls { display: block; margin: 0 0 20px; padding: 0; background: transparent; border: 0; }
.brands-primary { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.brands-primary > label:not(.brands-keyword) { flex: 0 1 14rem; }
.brands-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brands-controls label, .brands-field { display: grid; gap: 6px; min-width: 0; font-size: .9375rem; font-weight: 600; }
.brands-keyword { flex: 1 1 20rem; max-width: 36rem; }
body.cr .brands-controls .cr-input, body.cr .brands-controls .cr-select { width: 100%; min-width: 0; box-sizing: border-box; }
.brands-controls .brands-field { flex: 0 1 220px; }
.brands-extra { margin-top: 12px; }
.brands-extra-fields, .cmp-extra, .search-action-items { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; padding: 12px 0; }
.brands-extra-fields .cr-select { width: auto; max-width: 100%; }
.brands-views { margin-bottom: 8px; }
.b-watch-toggle { white-space: normal; }
.b-watch-toggle span { min-width: 0; }
.b-watch-toggle small { display: block; font-size: .875rem; font-weight: 400; }
.brands-directory .b-latest { width: auto; }
body.cr .b-lsubject { color: var(--cr-ink); }
.brands-directory .b-cell { min-width: 0; }
body.cr .brands-metrics .b-cell b { white-space: normal; overflow-wrap: anywhere; }
.brands-metrics th a { display: inline-flex; align-items: center; min-height: 44px; }
.scope-note { font-size: .875rem; color: var(--cr-muted); }
@media (max-width: 760px) {
  .brands-primary > label, .brands-primary > label:not(.brands-keyword), .brands-controls .brands-field { flex: 1 1 100%; max-width: none; }
  .brands-actions { flex: 1 1 100%; }
  .brands-metrics .cr-table { min-width: 920px; }
  .brands-metrics .cr-table .hide-sm { display: table-cell; }
  body.cr .brands-metrics .b-cat-sm, body.cr .brands-metrics .sz-inline { display: none; }
  .brands-directory .cr-table, .brands-directory tbody { display: block; }
  .brands-directory thead { display: none; }
  .brands-directory.brands-paper .cr-table td { height: auto; border: 0; padding: 0; min-width: 0; }
}

/* ---- ブランド ---- */
.b-cell { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.b-cell b { display: block; font-size: max(var(--fs-min), .875rem); color: var(--cr-ink); max-width: 18em; overflow: hidden; text-overflow: ellipsis; } /* 長い名前で表が画面からはみ出さないように */
.b-cell small { color: var(--cr-muted); font-size: max(var(--fs-min), .78125rem); }
.brands-paper { border-radius: 4px; }
.brands-paper .cr-table td { height: 84px; box-sizing: border-box; }
.brands-paper .b-cell b { font-size: 1.0625rem; font-weight: 600; }
.brands-paper .b-cat { background: transparent; color: var(--cr-muted); border-radius: 0; padding-left: 0; }
.b-cell a:hover { text-decoration: none; }
/* スマホ：名前と業種は名前の欄にまとめ、ウォッチは名前の下に（表を横に流さなくても読める・押せる） */
@media (max-width: 900px) {
  .b-cell { min-width: 170px; } .b-cell > span { min-width: 0; max-width: 9.5em; } .b-cell b { max-width: 9.5em; } .st-short { white-space: normal; }
  .b-watch { display: block; margin-top: 6px; } .b-cat-sm { display: block; margin-top: 4px; }
}
.b-hero { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 0 0 20px; margin: 0 0 20px; border: 0; border-bottom: 1px solid var(--cr-line); border-radius: 0; background: transparent; box-shadow: none; }
.b-hero h1 { font-size: max(var(--fs-min), 1.375rem); font-weight: 800; margin: 0 0 2px; }
.b-hero .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--cr-muted); font-size: .875rem; }
.b-hero .b-count { white-space: nowrap; }
.b-hero .act { flex: 1 1 100%; min-width: 0; display: flex; gap: 16px 24px; flex-wrap: wrap; align-items: flex-start; }
.b-read-actions, .b-follow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-width: 0; max-width: 100%; }
.b-follow-actions { margin-left: auto; }
.b-hero .act form { margin: 0; }
.b-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.b-identity > div { min-width: 0; }
.b-public { flex: 1 1 100%; min-width: 0; }
.b-public-links { display: flex; flex-wrap: wrap; gap: 8px; }
.b-public-sources { margin-top: 4px; font-size: .875rem; }
.b-public-sources > summary { cursor: pointer; min-height: 44px; padding: 10px 0; box-sizing: border-box; }
.b-public-sources ul { margin: 0; padding-left: 20px; }
.b-public-sources li { overflow-wrap: anywhere; }
.b-public-sources a { display: inline-flex; align-items: center; min-height: 44px; }
.b-public-sources li > span { display: inline-block; color: var(--cr-muted); }
.b-brand-compare { font-size: .875rem; margin: 0; }
.b-brand-compare > summary { min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; }
.cr-row2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; margin: 12px 0; }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 2.6em; gap: 8px; align-items: center; font-size: max(var(--fs-min), .84375rem); }
.bar-row .bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cr-ink-2); }
.bar-row .bt { height: 8px; background: #eef2f7; border-radius: 4px; overflow: hidden; }
.bar-row .b { display: block; height: 100%; background: var(--cr-brand); border-radius: 4px; }
.bar-row .bn { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.months { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 8px; }
.mcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; color: var(--cr-muted) !important; font-size: max(var(--fs-min), .75rem); gap: 4px; }
.mcol:hover { text-decoration: none; }
.mcol .stack { width: 100%; max-width: 28px; background: var(--cr-brand-100); border-radius: 3px 3px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.mcol .stack i { display: block; background: var(--cr-brand); }
.legend { display: flex; gap: 14px; font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); margin: 8px 0 0; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.heat { border-collapse: collapse; width: 100%; font-size: max(var(--fs-min), .75rem); }
.heat th { color: var(--cr-muted); font-weight: 600; padding: 2px; text-align: center; }
.heat td { width: 3.6%; height: 22px; text-align: center; background: rgba(0, 122, 255, var(--a, 0)); color: #0f172a; border: 1px solid #fff; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

/* ---- カレンダー ---- */
/* 月索引 + 日付別の資料リスト */
.cal-head { gap: 4px 16px; margin-bottom: 12px; }
.cal-result-count { color: var(--cr-muted); font-size: .875rem; white-space: nowrap; }
.cal-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; padding: 0 0 18px; margin: 0 0 20px; background: transparent; border: 0; border-bottom: 1px solid var(--cr-line); }
.cal-month-control { display: flex; align-items: flex-end; gap: 8px; }
.cal-prev, .cal-next { min-width: 44px; justify-content: center; }
.cal-field { display: grid; gap: 4px; min-width: 0; }
.cal-field label { color: var(--cr-muted); font-size: .875rem; font-weight: 600; }
.cal-filter-details { min-width: 0; font-size: .875rem; }
.cal-filter-details > summary { min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; }
.cal-filter-details[open] { flex: 1 1 100%; }
.cal-filter-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; padding: 16px; background: #fff; border: 1px solid var(--cr-line); border-radius: 8px; }
.cal-filter-body > .cal-field { flex: 0 1 20rem; }
.cal-filter-body select { width: 100%; }
.cal-filter-applied { margin-left: 4px; color: var(--cr-brand-600); font-weight: 600; }
.cal-agenda-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.cal-day-picker { min-width: 0; padding: 12px; background: #fff; border: 1px solid var(--cr-line); border-radius: 10px; }
.cal-picker-desktop { position: sticky; top: calc(var(--cr-top-offset) + 16px); }
.cal-day-picker h2 { margin: 4px 8px 12px; font-size: 1rem; }
.cal-picker-mobile { display: none; }
.cal-mini-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.cal-mini-weekday, .cal-mini-blank, .cal-mini-date { display: grid; place-items: center; min-height: 44px; font-size: .875rem; color: var(--cr-muted); border-radius: 6px; font-variant-numeric: tabular-nums; }
.cal-mini-weekday { font-weight: 600; }
.cal-mini-date.has-mail { color: var(--cr-brand-600); font-weight: 700; background: var(--cr-brand-50); box-shadow: inset 0 0 0 2px #fff; }
.cal-mini-date.has-mail:hover { background: var(--cr-brand-100); }
.cal-agenda { min-width: 0; display: grid; gap: 24px; }
.cal-agenda-day { scroll-margin-top: calc(var(--cr-top-offset) + 16px); min-width: 0; background: #fff; border: 1px solid var(--cr-line); border-radius: 10px; overflow: hidden; }
.cal-agenda-day:target { border-color: var(--cr-brand); box-shadow: 0 0 0 2px var(--cr-brand-100); }
.cal-n { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 20px; background: var(--cr-head); font-size: 1.0625rem; }
.cal-n small { color: var(--cr-muted); font-size: .875rem; font-weight: 500; }
body.cr .cal-agenda-mail { display: grid; gap: 6px; min-height: 44px; padding: 16px 20px; color: var(--cr-ink); border-top: 1px solid var(--cr-line); text-decoration: none; }
.cal-agenda-mail:hover { background: var(--cr-brand-50); }
.cal-mail-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-mail-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--cr-muted); font-size: .875rem; }
.cal-mail-brand > span { min-width: 0; overflow-wrap: anywhere; }
.cal-mail-time { flex: none; color: var(--cr-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.cal-mail-subject { font-size: 1.0625rem; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.cal-more { display: flex; align-items: center; min-height: 44px; padding: 8px 20px; border-top: 1px solid var(--cr-line); font-size: .875rem; }
.cal-empty { padding: 32px 24px; border: 1px solid var(--cr-line); border-radius: 10px; background: #fff; }
.cal-empty h2 { margin: 0 0 8px; color: var(--cr-ink); font-size: 1.25rem; }
.cal-empty p { margin: 0 0 16px; }
@media (max-width: 1000px) {
  .cal-agenda-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cal-picker-desktop { display: none; }
  .cal-picker-mobile { display: block; }
  .cal-picker-mobile summary { cursor: pointer; min-height: 44px; padding: 8px; box-sizing: border-box; font-size: .875rem; }
  .cal-mini-month { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .cal-toolbar { gap: 12px 20px; padding-bottom: 16px; margin-bottom: 16px; }
  .cal-month-control { flex: 1 1 100%; }
  .cal-month-control .cal-field { flex: 1; }
  .cal-month-control label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cal-field > select { width: 100%; min-width: 0; }
  .cal-filter-details { flex: 1; }
  .cal-filter-body > .cal-field { flex: 1 1 100%; }
  .cal-mini-date { min-width: 0; }
  .cal-picker-mobile { padding: 0; border: 0; border-radius: 0; background: transparent; }
  .cal-agenda-layout { gap: 8px; }
  .cal-mini-month { overflow-x: auto; grid-template-columns: repeat(7, minmax(44px, 1fr)); }
  .cal-n { padding: 10px 14px; }
  body.cr .cal-agenda-mail { padding: 14px; }
  .cal-mail-subject { font-size: 1rem; }
  .cal-result-count { margin-left: 0; }
}

/* ---- 比較・アカウント ---- */
.cmp-b { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 44px; color: var(--cr-ink) !important; font-weight: 700; text-decoration: none; }
.cmp-brand-mark { display: flex; align-items: center; min-height: 48px; }
.cmp-brand-name { font-size: 1.125rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.cmp-brand-name svg { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: middle; color: var(--cr-brand); }
.cmp-brand-category { color: var(--cr-ink-2); font-size: .875rem; font-weight: 400; white-space: normal; }
.cmp-b:hover .cmp-brand-name { text-decoration: underline; text-underline-offset: 3px; }
.cmp-result-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 24px 0 8px; }
.cmp-result-head h2 { margin: 0; font-size: 1.25rem; }
.cmp-result-head p { margin: 0; font-size: .875rem; color: var(--cr-ink-2); }
.cmp-tbl { min-width: 350px; width: max(100%, calc(220px + var(--cmp-count) * 240px)); table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.cmp-tbl thead th { padding: 18px 20px; background: #fff; vertical-align: top; min-width: 220px; white-space: normal; }
.cmp-tbl th[scope="row"] { position: sticky; left: 0; z-index: 1; color: var(--cr-ink-2); font-weight: 600; white-space: normal; word-break: normal; width: 220px; min-width: 180px; background: var(--cr-side); text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--cr-line); }
.cmp-tbl thead .cmp-axis { position: sticky; left: 0; z-index: 2; width: 220px; min-width: 180px; background: var(--cr-side); vertical-align: bottom; }
.cmp-tbl td { min-width: 220px; padding: 18px 20px; }
.cmp-tbl th + th, .cmp-tbl td { border-left: 1px solid var(--cr-line); }
.cmp-tbl .bar-row { grid-template-columns: 1em minmax(0, 1fr) 2.6em; }
.cmp-row-note { display: block; margin-top: 6px; color: var(--cr-muted); font-size: .875rem; font-weight: 400; line-height: 1.6; }
.cmp-source-note { margin: 12px 0 20px; }
.cmp-waiting { padding: 20px; }
.cmp-identities { display: flex; flex-wrap: wrap; gap: 24px; }
.cmp-identities .cmp-b { flex: 0 1 220px; }
.cmp-waiting p { margin: 16px 0 0; }
.cmp-v { font-weight: 700; font-size: 1.125rem; line-height: 1.6; }
@media (max-width: 760px) {
  .cmp-tbl { min-width: 0; width: max(100%, calc(128px + var(--cmp-count) * 192px)); }
  .cmp-tbl thead th, .cmp-tbl td { padding: 14px; min-width: 192px; }
  .cmp-tbl th[scope="row"], .cmp-tbl thead .cmp-axis { width: 128px; min-width: 128px; padding: 14px 12px; }
  .cmp-brand-name { font-size: 1rem; }
  .cmp-row-note { margin-top: 4px; }
}
@media (max-width: 380px) {
  .cmp-tbl { width: max(100%, calc(112px + var(--cmp-count) * 152px)); }
  .cmp-tbl thead th, .cmp-tbl td { min-width: 152px; padding: 12px; }
  .cmp-tbl th[scope="row"], .cmp-tbl thead .cmp-axis { width: 112px; min-width: 112px; padding: 12px 10px; }
}
.cr-picker { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; margin: 0 0 20px; }
.cr-picker .cr-select { min-width: 0; width: 100%; }
.cr-picker .control-group { flex: 0 1 18rem; }
.control-group { display: grid; align-content: start; gap: 8px; min-width: 0; font-size: .875rem; font-weight: 600; color: var(--cr-ink-2); }
.control-label { font-size: .875rem; font-weight: 600; color: var(--cr-ink-2); }
.analysis-controls { gap: 20px 28px; align-items: flex-end; margin-bottom: 24px; }
.analysis-targets { display: flex; flex-wrap: wrap; gap: 20px 24px; min-width: 0; }
.analysis-targets .control-group { flex: 1 1 16rem; }
.analysis-targets .cr-select { min-width: 0; width: 100%; }
.control-note { flex-basis: 100%; }
@media (max-width: 760px) {
  .analysis-targets { width: 100%; }
  .cr-picker .control-group { flex: 1 1 100%; }
}
.cmp-add { flex: 1 1 100%; }
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 4px 8px; padding: 9px 0; border-bottom: 1px solid var(--cr-line); }
.kv dt { color: var(--cr-ink-2); font-size: .9375rem; }
.kv dd { margin: 0; font-weight: 600; font-size: 1rem; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: 24px; align-items: start; }
.acc-grid > .cr-card:first-child { grid-row: span 2; }
.acc-grid > .cr-card, .acc-reports { padding: 24px; }
.acc-grid h2, .acc-reports h2 { margin: 0 0 16px; font-size: 1.25rem; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 40rem; }
.form label { display: grid; min-width: 0; gap: 6px; font-size: .9375rem; font-weight: 600; color: var(--cr-ink-2); }
.form input[type=email], .form input[type=password], .form input[type=text], .form textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--cr-control-line); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 1rem; line-height: 1.35; box-sizing: border-box; }
.upsell { margin-top: 14px; background: var(--cr-brand-50); border: 1px solid var(--cr-brand-100); border-radius: 8px; padding: 12px 14px; display: grid; gap: 6px; justify-items: start; }
.upsell p { margin: 0; font-size: max(var(--fs-min), .875rem); color: var(--cr-ink-2); }
.billing { margin-top: 14px; border-top: 1px solid var(--cr-line); padding-top: 12px; display: grid; gap: 8px; justify-items: start; }
.billing p { margin: 0; color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); }
.reports { width: 100%; border-collapse: collapse; font-size: max(var(--fs-min), .875rem); }
.reports th { text-align: left; background: var(--cr-head); color: var(--cr-th); font-size: max(var(--fs-min), .75rem); padding: 8px 10px; }
.reports td { padding: 10px; border-bottom: 1px solid var(--cr-row); }
.rep-st { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.acc-reports { margin-top: 12px; }

/* ---- ログインなど（左の列なし） ---- */
body.cr.bare { display: grid; place-items: center; min-height: 100vh; padding: 24px 16px; box-sizing: border-box; }
.bare-wrap { width: 100%; max-width: 480px; }
.bare-logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 0 0 18px; color: var(--cr-ink) !important; font-weight: 800; font-size: max(var(--fs-min), 1.125rem); }
.bare-logo:hover { text-decoration: none; }
.bare-demo { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FEF3C7; color: #92400E; font-size: max(var(--fs-min), .875rem); line-height: 1.6; text-align: center; }
.bare-logo .mk { width: 34px; height: 34px; border-radius: 9px; background: var(--cr-brand); color: #fff; display: grid; place-items: center; font-weight: 900; }
.login-card { padding: 24px 24px 20px; }
.login-card h1 { font-size: max(var(--fs-min), 1.25rem); font-weight: 800; margin: 0 0 14px; }
.login-card .note { margin: 14px 0 0; line-height: 1.8; }
.cr-foot { width: 100%; max-width: 88rem; box-sizing: border-box; margin: auto auto 0; border-top: 1px solid var(--cr-line); color: var(--cr-muted); font-size: .875rem; padding: 12px 28px 16px; }
body.cr .cr-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cr-muted); }
body.cr .cr-foot a, body.cr p.note a, body.cr .bare-demo a, body.cr .cr-sub a, body.cr .notice a, body.cr .cr-empty a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- 狭い画面 ---- */
/* 検索結果のまとめ：表と重ならない広い画面（1680px〜）だけ最初から出す。それより狭いときは「まとめ」ボタンで開く */
@media (min-width: 1680px) {
  body:not(.sum-closed):has(.cr-sum) .cr-split { margin-right: 384px; }
}
@media (max-width: 1679px) {
  .cr-sum { display: none; }
  body.sum-open .cr-sum { display: block; }
  .cr-sum-open { display: inline-flex !important; }
}
@media (max-width: 1100px) {
  body:not(.nav-open) .cr-nav { display: none; }
  .mp-grid { grid-template-columns: 1fr; }
  .mp-left { position: static; }
  .cr-keys { display: none; }
  .cr-nav-close { display: inline-flex; }
  body.nav-open .cr-nav { display: flex; position: fixed; left: 0; top: 0; bottom: 0; max-width: 100%; z-index: 70; box-shadow: 18px 0 40px rgba(15,23,42,.2); }
}
@media (max-width: 900px) {
  .cr-rail { display: none; }
  .cr-top { padding: 0 12px; gap: 12px; }
  .cr-top .menu { display: grid; }
  .cr-top .right { display: none; }
  .cr-tabs { gap: 8px 14px; }
  .cr-tabs a { white-space: normal; font-size: max(var(--fs-min), .875rem); }
  .cr-page, .cr-library-page { padding: 20px 16px 40px; }
  .cr-foot { padding-inline: 16px; }
  .cr-h1 { font-size: 1.625rem; }
  .cr-head { margin-bottom: 16px; }
  .cr-filter .fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
  .cr-filter .fields > .full { grid-column: 1 / -1; }
  .cr-filter .f-options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
  .cr-kpis, .cr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-kpis > div:nth-child(2) { border-right: 0; }
  .cr-kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--cr-line); }
  .cr-row2, .acc-grid { grid-template-columns: 1fr; }
  .onboard { grid-template-columns: 1fr; }
  .b-hero { flex-wrap: wrap; }
  .b-hero .act { margin-left: 0; justify-content: flex-start; }
  .b-hero .b-identity { width: 100%; gap: 12px; }
  .b-hero .cr-tile.lg { width: 48px; height: 48px; padding: 4px; border-radius: 6px; font-size: .875rem; }
  .b-hero .cr-tile.wide.lg { width: 104px; height: 48px; padding: 4px; }
  .b-hero .cr-tile img { max-height: 40px !important; max-width: 100%; }
  .cal { grid-template-columns: 1fr; }
  .cal-h, .cal-d.empty, .cal-d.none { display: none; }
  .cal-d { min-height: 0; }
  .hide-sm { display: none; }
  .m-cell { min-width: 230px; }
  .mp-head { padding: 0 8px 0 12px; gap: 10px; }
  .mp-head .ttl span:not(.ic) { display: none; }
}
@media (max-width: 600px) {
  .acc-grid .kv > div { grid-template-columns: minmax(0, 1fr); }
  .mp-head .act { width: 100%; justify-content: flex-end; }
}
@media (max-width: 520px) {
  .onboard-list { grid-template-columns: 1fr; }
  .cr-filter .fields { grid-template-columns: 1fr; }
  .cr-filter .f-options { grid-template-columns: minmax(0, 1fr); }
  .cr-toolbar .cr-input { width: 110px; }
  .cr-seg a { padding: 5px 10px; }
}
/* 文中の小さなアイコン */
.cr-back svg, .cr-toolbar .cond svg, .cr-av svg, .cr-empty svg { width: 14px; height: 14px; vertical-align: -2px; flex: none; }
.cr-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cr-table td b { white-space: nowrap; }
/* 公開サイトの ui.css の「入力欄は横いっぱい」を会員画面では使わない */
body.cr .cr-select, body.cr .cr-input { width: auto; padding: 8px 10px; min-width: 0; }
body.cr .cr-filter .cr-select, body.cr .cr-filter .cr-input { width: 100%; }
body.cr input[type=checkbox], body.cr input[type=radio] { width: auto; padding: 0; }
body.cr .cr-picker .cr-select { flex: 0 1 180px; }
.m-brand a, .m-brand span { white-space: normal; overflow-wrap: anywhere; }
.heat { table-layout: fixed; }
.heat tr > :first-child { width: 28px; }
.heat td { width: auto; }
@media (max-width: 1100px) {
  .mp-thumb .mt { max-width: 240px; }
}

/* ---- 会員の状態・知らせ ---- */
.cr-plan { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; padding: 8px 10px; border-radius: 8px; background: var(--cr-side); border: 1px solid var(--cr-line); font-size: max(var(--fs-min), .84375rem); font-weight: 700; color: var(--cr-ink-2); }
.cr-plan.paid { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.cr-flash { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 24px; background: #fff7ed; border-bottom: 1px solid #fed7aa; color: #9a3412; font-size: max(var(--fs-min), .875rem); font-weight: 600; }
.form .chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: max(var(--fs-min), .875rem); }
.form .chk input { margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }

/* ---- ホーム ---- */
.cr-home { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.cr-home > .wide { grid-column: 1 / -1; }
.cr-home .cr-card { overflow: hidden; min-width: 0; }
.hm-h { display: flex; align-items: baseline; gap: 10px; padding: 0 16px 10px 0; border-bottom: 1px solid var(--cr-line); }
.hm-h .cr-card-h small { font-size: max(var(--fs-min), .78125rem); font-weight: 600; color: var(--cr-muted); margin-left: 8px; }
.hm-h > a { margin-left: auto; font-size: max(var(--fs-min), .84375rem); font-weight: 600; white-space: nowrap; }
.cr-tablewrap.flat { border: 0; border-radius: 0; }
.cr-table.compact td { padding: 8px 12px; }
.cr-table.compact tbody tr:last-child td { border-bottom: 0; }
.cr-table.compact .m-cell { min-width: 0; gap: 10px; }
.cr-table.compact .m-thumb { width: 40px; height: 50px; }
.cr-table.compact .m-thumb .mt { transform: scale(.25); }
.cr-empty.sm { padding: 20px 16px; margin: 0; font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); }
.kpi-g { font-size: max(var(--fs-min), .84375rem); font-weight: 700; margin-left: 6px; }
.hm-list { list-style: none; margin: 0; padding: 0; }
.hm-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--cr-row); cursor: pointer; }
.hm-list li:last-child { border-bottom: 0; }
.hm-list li:hover { background: #f5f8ff; }
.hm-list .t { min-width: 0; }
.hm-list .t a { display: block; color: var(--cr-ink); font-weight: 600; font-size: max(var(--fs-min), .875rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-list .t small { color: var(--cr-muted); font-size: max(var(--fs-min), .78125rem); }
.hm-dl { font-size: max(var(--fs-min), .78125rem); font-weight: 700; color: #be123c; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
.hm-cats td:first-child { width: 36px; }
.hm-cats td:nth-child(2) { width: 55%; }
.hm-cats td:nth-child(5) { width: 96px; }
.hm-cats td { white-space: nowrap; }
.hm-subj { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 14px 16px 16px; align-items: start; }
.hm-subj .cr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-words { display: grid; gap: 4px; }
.hm-words h3 { margin: 0 0 4px; font-size: max(var(--fs-min), .8125rem); color: var(--cr-muted); font-weight: 700; }
.hm-words .bar-row { color: inherit; text-decoration: none; border-radius: 6px; min-height: 26px; }
.hm-words .bar-row:hover { background: #f5f8ff; }
@media (max-width: 1100px) {
  .cr-home { grid-template-columns: minmax(0, 1fr); }
  .hm-subj { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .cr-top { gap: 10px; }
}
/* ---- ブランド分析：セールの出し方・件名の傾向 ---- */
.cr-row2.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cr-tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-tiles dd small:first-child { margin: 0 3px 0 0; }
.h-note { font-size: max(var(--fs-min), .78125rem); font-weight: 600; color: var(--cr-muted); margin-left: 8px; }
.sub-h { margin: 16px 0 8px; font-size: max(var(--fs-min), .8125rem); font-weight: 700; color: var(--cr-muted); }
.bars a.bar-row { color: inherit; text-decoration: none; border-radius: 6px; min-height: 26px; }
.bars a.bar-row:hover { background: #f5f8ff; }
@media (max-width: 1100px) {
  .cr-row2.even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .cr-tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.cr .cr-table td.hide-sm a { text-decoration: underline; text-underline-offset: 2px; }
/* ---- ご利用期間の終了の案内（プランの選択） ---- */
.up-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 880px; }
.up-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 14px 16px 16px; border-top: 1px solid var(--cr-line); }
.up-plan { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--cr-line); border-radius: 10px; color: var(--cr-ink) !important; text-decoration: none !important; background: #fff; }
.up-plan:hover { border-color: var(--cr-brand); background: var(--cr-brand-50); }
.up-plan b { font-size: max(var(--fs-min), .9375rem); }
.up-plan span { font-size: max(var(--fs-min), .875rem); font-weight: 700; color: var(--cr-brand-600); }
.up-plan small { font-size: max(var(--fs-min), .8125rem); color: var(--cr-muted); }
.up-plan.feat { border-color: var(--cr-brand); box-shadow: inset 0 0 0 1px var(--cr-brand); }
/* カードの表示：選んだカードを目立たせる */
body.cr .ecard.sel { outline: 2px solid var(--cr-brand); outline-offset: -1px; }
body.cr .ecard:hover { text-decoration: none; }
/* 比較：数字の下の棒（比べているブランドの中でいちばん大きい値を100%） */
.cmp-bar { display: block; height: 4px; margin-top: 6px; background: #eef2f7; border-radius: 2px; overflow: hidden; max-width: 160px; }
.cmp-bar i { display: block; height: 100%; background: var(--cr-brand); border-radius: 2px; }
/* ---- 運営画面（顧客管理） ---- */
.cr-rail .logo.ops, .cr-nav-head .mk.ops { background: #0f766e; }
.ops-tag { margin-left: 6px; font-size: max(var(--fs-min), .75rem); font-weight: 800; color: #fff; background: #0f766e; border-radius: 99px; padding: 1px 8px; vertical-align: 2px; }
.cr-plan.ops { background: #f0fdfa; border-color: #99f6e4; color: #115e59; }
.d-block { display: block; }
.ops-todo { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.ops-todo .todo { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--cr-line); color: var(--cr-ink) !important; font-size: max(var(--fs-min), .875rem); text-decoration: none !important; }
.ops-todo .todo b { font-size: max(var(--fs-min), 1rem); color: var(--cr-brand-600); }
.ops-todo .todo.red { border-color: #fecdd3; background: #fff1f2; }
.ops-todo .todo.red b { color: #be123c; }
.ops-todo .todo.amber { border-color: #fde68a; background: #fffbeb; }
.ops-todo .todo.amber b { color: #b45309; }
.ops-todo .todo:hover { border-color: var(--cr-brand); }
.ops-kpis > div dd.kpi-sub { margin: 2px 0 0; font-size: max(var(--fs-min), .78125rem); font-weight: 500; color: var(--cr-muted); line-height: 1.5; letter-spacing: 0; white-space: normal; overflow: visible; }
.ops-home { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.ops-legend { margin-left: auto; font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); display: inline-flex; align-items: center; gap: 6px; }
.ops-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; }
.ops-legend i.f, .ops-bars .stack { background: var(--cr-brand-200); }
.ops-legend i.p, .ops-bars .stack i { background: var(--cr-brand); }
.ops-bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 180px; padding: 16px; }
.ops-bars .col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.ops-bars .stack { width: 100%; min-height: 2px; border-radius: 3px 3px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.ops-bars .stack i { display: block; width: 100%; }
.ops-bars small { font-size: .59375rem; color: var(--cr-muted); margin-top: 4px; }
.ops-feed li { grid-template-columns: auto minmax(0, 1fr); cursor: default; }
.ops-feed .t small { display: block; }
.ops-seg { margin: 0 0 10px; flex-wrap: wrap; }
.ops-seg small { color: inherit; font-weight: 600; margin-left: 2px; }
.ops-tbl td { vertical-align: top; }
.ops-who { display: block; color: var(--cr-ink) !important; }
.ops-who b { display: block; font-size: max(var(--fs-min), .875rem); }
.ops-who small { color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.ops-hero { display: flex; gap: 16px; align-items: center; padding: 16px 20px; margin: 0 0 12px; flex-wrap: wrap; }
.ops-hero h1 { font-size: max(var(--fs-min), 1.1875rem); font-weight: 800; margin: 0 0 4px; word-break: break-all; }
.ops-hero .meta { color: var(--cr-muted); font-size: max(var(--fs-min), .84375rem); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ops-hero .act { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.ops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ops-grid .cr-card { min-width: 0; }
.ops-grid .kv.pad { padding: 8px 16px 4px; }
.ops-form { display: grid; gap: 10px; padding: 12px 16px 16px; }
.ops-form label { display: grid; gap: 4px; font-size: max(var(--fs-min), .84375rem); font-weight: 700; color: var(--cr-ink-2); }
.ops-form .cr-select, .ops-form .cr-input { width: 100% !important; box-sizing: border-box; }
.ops-form textarea.cr-input { min-height: 96px; font: inherit; font-size: max(var(--fs-min), .875rem); padding: 8px 10px; }
.ops-form .note { margin: 0; }
.ops-form > button { justify-self: start; }
.ops-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 16px; }
.ops-actions form { margin: 0; }
.ops-form label.ops-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; cursor: pointer; }
body.cr .ops-check input[type=checkbox] { width: 20px; height: 20px; margin: 0; flex: none; }
.ops-extend { align-items: center; }
.ops-extend .note { flex-basis: 100%; margin: 0; }
.ops-danger { margin-top: 12px; }
.ops-danger summary { padding: 14px 16px; cursor: pointer; font-weight: 700; color: #be123c; }
body.cr .cr-btn.danger { background: #be123c; border-color: #be123c; color: #fff; }
.ops-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 12px; align-items: start; }
.ops-side { position: sticky; top: calc(var(--cr-top) + 12px); }
.ops-steps { margin: 0 0 12px; padding-left: 1.3em; font-size: max(var(--fs-min), .875rem); line-height: 1.7; }
.ops-secret { margin: 6px 0; padding: 10px 12px; background: var(--cr-side); border: 1px dashed var(--cr-line-2); border-radius: 8px; font: 700 15px/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; word-break: break-all; }
.ops-uri { display: block; margin-top: 6px; font-size: max(var(--fs-min), .78125rem); word-break: break-all; }
@media (max-width: 1100px) {
  .ops-home, .ops-grid, .ops-split { grid-template-columns: minmax(0, 1fr); }
  .ops-side { position: static; }
}
@media (max-width: 700px) {
  .ops-bars { gap: 1px; padding: 12px 8px; }
  .ops-bars small { font-size: .5rem; }
  .ops-bars .col:nth-child(even) small { visibility: hidden; }
}
.ops-grid .kv > div { grid-template-columns: 9.5em minmax(0, 1fr); }
.ops-tbl td > .cr-up, .ops-tbl td > .muted, .ops-tbl td > .cr-badge, .ops-tbl td.small { white-space: nowrap; }
.ops-inline { display: inline; margin: 0; }
.passbar.payfail { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }
.passbar.payfail a { color: #be123c; }
.ops-bars.one .stack { background: var(--cr-brand); }
/* ---- 業種ベンチマーク ---- */
.bn-me { margin: 0 0 12px; }
.bn-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; padding: 12px 16px 16px; align-items: end; }
.bn-form label { display: grid; gap: 4px; font-size: max(var(--fs-min), .84375rem); font-weight: 700; color: var(--cr-ink-2); }
.bn-form .cr-input { width: 100% !important; box-sizing: border-box; }
.cr-tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .cr-tiles.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .bn-form { grid-template-columns: minmax(0, 1fr); }
  .cr-tiles.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bn-pos { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 12px; padding: 10px 12px; background: var(--cr-brand-50); border: 1px solid var(--cr-brand-100); border-radius: 8px; font-size: max(var(--fs-min), .875rem); }
.bn-pos > b { width: 100%; font-size: max(var(--fs-min), .84375rem); }
.bn-pos > b small { font-weight: 500; font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); margin-left: 6px; }
.bn-pos em { font-style: normal; margin-left: 4px; }
.bn-pos a { margin-left: auto; font-weight: 700; }
.ops-use { margin: 0 0 10px; font-size: max(var(--fs-min), .875rem); }
.ops-bars.mini { height: 70px; padding: 0 0 12px; }
.ops-home .bar-row { grid-template-columns: 9.5em minmax(0, 1fr) 3em; }
/* これからの行事（ホーム・セールカレンダー） */
.evu-note { margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--cr-row); font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); }
.evu-open { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: max(var(--fs-min), .875rem); font-weight: 700; }
.evu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.evu { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--cr-row); }
.evu-date { text-align: center; border: 1px solid var(--cr-brand-200); background: var(--cr-brand-50); border-radius: 8px; padding: 6px 0; align-self: start; }
.evu-date b { display: block; font-size: max(var(--fs-min), 1rem); color: var(--cr-brand-600); font-variant-numeric: tabular-nums; }
.evu-date small { font-size: max(var(--fs-min), .78125rem); color: var(--cr-muted); }
.evu-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.evu-top h3 { margin: 0; overflow-wrap: anywhere; font-size: max(var(--fs-min), .9375rem); color: var(--cr-ink); }
.evu-left { font-size: max(var(--fs-min), .78125rem); font-weight: 700; color: var(--cr-brand-600); background: var(--cr-brand-50); border-radius: 99px; padding: 1px 8px; white-space: nowrap; }
.evu p { margin: 0 0 4px; font-size: max(var(--fs-min), .875rem); line-height: 1.6; color: var(--cr-ink-2); }
.evu p b { color: var(--cr-ink); }
.evu .evu-sub { font-size: max(var(--fs-min), .8125rem); color: var(--cr-muted); }
.cal-up { margin-bottom: 12px; }
.cal-up > summary { cursor: pointer; list-style: none; }
.cal-up > summary::-webkit-details-marker { display: none; }
.cal-up > summary::after { content: "閉じる"; margin-left: auto; white-space: nowrap; font-size: max(var(--fs-min), .84375rem); color: var(--cr-brand-600); font-weight: 600; }
.cal-up:not([open]) > summary::after { content: "開く"; }
.cal-up:not([open]) > summary { border-bottom: 0; }
/* いつもと違う動き（ホーム） */
.mv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.mv-list .t a { display: flex; align-items: center; gap: 8px; }
.mv-k { font-size: max(var(--fs-min), .75rem); font-weight: 700; border-radius: 99px; padding: 1px 7px; white-space: nowrap; flex: none; }
.mv-deeper { color: #be123c; background: #fff1f2; }
.mv-back { color: #b45309; background: #fffbeb; }
.mv-more { color: var(--cr-brand-600); background: var(--cr-brand-50); }
.mv-b { font-size: max(var(--fs-min), .84375rem); font-weight: 600; white-space: nowrap; }
/* 送料無料の条件（ブランド分析） */
.b-ship { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 12px; padding: 10px 12px; background: #f8fafc; border: 1px solid var(--cr-line); border-radius: 8px; font-size: max(var(--fs-min), .875rem); }
.b-ship > b { width: 100%; font-size: max(var(--fs-min), .84375rem); }
.b-ship > b small { font-weight: 500; font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); margin-left: 6px; }
.b-ship a { margin-left: 6px; font-weight: 700; font-size: max(var(--fs-min), .84375rem); }
/* 送料無料になる金額の相場（業種ベンチマーク） */
.bn-ship-sum { margin: 0 0 10px; font-size: max(var(--fs-min), .875rem); }
.bn-ship-sum b { font-size: max(var(--fs-min), 1.125rem); }
.bn-ship-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 16px; }
.bn-ship-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--cr-row); font-size: max(var(--fs-min), .875rem); }
.bn-ship-list li small { grid-column: 2 / 4; color: var(--cr-muted); font-size: max(var(--fs-min), .78125rem); }
/* 配信の技術対応（ブランド分析・業種ベンチマーク） */
.b-tech .cr-badge { margin-right: 6px; }
.bn-tech-note { margin: 0 0 10px; font-size: max(var(--fs-min), .84375rem); color: var(--cr-muted); line-height: 1.6; }
.bn-tech-bars { display: grid; gap: 8px; margin-bottom: 12px; }
.bn-tech-bars > div { display: grid; grid-template-columns: 17em minmax(0, 1fr) 3.5em; gap: 10px; align-items: center; font-size: max(var(--fs-min), .875rem); }
.bn-tech-bars .bt { height: 10px; background: var(--cr-head); border-radius: 5px; overflow: hidden; }
.bn-tech-bars .b { display: block; height: 100%; background: var(--cr-brand); }
.bn-tech-bars b { text-align: right; }
@media (max-width: 520px) { .bn-tech-bars > div { grid-template-columns: minmax(0, 1fr) 3.5em; } .bn-tech-bars .bt { grid-column: 1 / -1; grid-row: 2; } }
.bn-rhythm .cr-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-rhythm dd.kpi-sub { margin: 2px 0 0; font-size: max(var(--fs-min), .78125rem); font-weight: 500; color: var(--cr-muted); white-space: normal; overflow: visible; }
@media (max-width: 520px) { .bn-rhythm .cr-tiles { grid-template-columns: minmax(0, 1fr); } }
/* メルマガからの誘導先 */
.ch-chip { display: inline-block; margin: 2px 6px 2px 0; padding: 1px 8px; border-radius: 99px; background: var(--cr-brand-50); color: var(--cr-brand-600); font-size: max(var(--fs-min), .8125rem); font-weight: 600; white-space: nowrap; }
.b-ch span b { margin-left: 2px; }
/* メルマガの画面（掲載の許諾を得たブランドだけ） */
.mp-shot { display: block; overflow: hidden; border-top: 1px solid var(--cr-line); background: #fff; cursor: zoom-in; }
.mp-shot img { display: block; width: 100%; max-width: 600px; margin: 0 auto; height: auto; }
/* メールの画面の中のリンク：透明な枠を重ね、押すとリンク先のURLを確認・コピー（位置は画像に対する%） */
.mp-shot.has-hot { overflow: visible; cursor: auto; }
.mp-shot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; max-width: 600px; margin: 0 auto; padding: 10px 14px; box-sizing: border-box; font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); }
.mp-shot-bar span { flex: 1 1 14em; min-width: 0; }
.mp-shot-frame { position: relative; max-width: 600px; margin: 0 auto; }
.mp-hot { position: absolute; display: block; border-radius: 4px; outline: 2px solid transparent; outline-offset: 0; }
.mp-hot::before { content: ""; position: absolute; top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); } /* 縮んだ小さい枠も、押せる範囲は44px以上 */
.mp-hot:hover { outline-color: rgba(0, 103, 217, .6); background: rgba(0, 103, 217, .06); }
.mp-hot:focus-visible { outline: 3px solid var(--cr-focus); outline-offset: 1px; background: rgba(0, 103, 217, .08); }
.mp-hot[aria-expanded="true"] { outline: 2px solid var(--cr-brand); background: rgba(0, 103, 217, .1); }
.mp-hot-pop { position: absolute; z-index: 5; left: 0; top: 0; width: min(22rem, 100%); box-sizing: border-box; padding: 6px 14px 14px; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 8px; box-shadow: 0 10px 28px rgba(15, 23, 42, .18); font-size: max(var(--fs-min), .875rem); }
.mp-hot-pop[hidden] { display: none; }
.mp-hot-pop { max-height: min(70vh, 30rem); overflow-y: auto; overscroll-behavior: contain; }
.mp-hot-description { margin: 0 0 8px; line-height: 1.6; overflow-wrap: anywhere; }
.mp-hot-checked { margin: 8px 0; color: var(--cr-muted); line-height: 1.5; }
.mp-hot-info > summary { min-height: 44px; padding: 12px 0; color: #005fc7; cursor: pointer; }
.mp-hot-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mp-hot-close { min-width: 44px; min-height: 44px; margin-right: -10px; border: 0; background: transparent; font: inherit; font-size: 1.25rem; color: var(--cr-muted); cursor: pointer; }
.mp-hot-name { margin: 0 0 6px; font-weight: 600; overflow-wrap: anywhere; }
.mp-hot-url { display: block; overflow-wrap: anywhere; word-break: break-all; padding: 8px 10px; background: var(--cr-side); border-radius: 6px; font-size: max(var(--fs-min), .875rem); line-height: 1.5; }
.mp-hot-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mp-hot-pop .cr-btn { min-height: 44px; }

/* ブランドのページ「登録直後のメール」：PCは日付・件名・条件の3列、スマホは縦に積む（件名を切らない） */
.wl { list-style: none; margin: 0; padding: 0; }
.wl li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; padding: 10px 16px; border-top: 1px solid var(--cr-line, #e5e7eb); }
.wl-d { font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); white-space: nowrap; padding-top: 2px; }
.wl-s b { display: block; font-size: max(var(--fs-min), .9375rem); overflow-wrap: anywhere; }
.wl-s small { display: block; font-size: max(var(--fs-min), .875rem); color: var(--cr-muted); margin-top: 2px; }
.wl-c { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
@media (max-width: 700px) {
  .wl li { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .wl-d, .wl-s small { font-size: max(var(--fs-min), .9375rem); }
  .wl-s b { font-size: max(var(--fs-min), 1rem); }
  .wl-c { justify-content: flex-start; }
}

/* 運営企業の規模（公開情報）：区分のバッジは、大きい会社ほど濃く（種類のバッジの色と混ざらないよう灰色の濃淡） */
.cr-badge.b-size { background: #fff; color: #334155; box-shadow: inset 0 0 0 1px #cbd5e1; }
.cr-badge.b-size.sz-l { background: #334155; color: #fff; box-shadow: none; }
.cr-badge.b-size.sz-m { background: #e2e8f0; color: #1e293b; box-shadow: none; }
.cr-badge.b-size.sz-s { color: #334155; box-shadow: inset 0 0 0 1px #94a3b8; }
.cr-badge.b-size.sz-xs { color: #475569; box-shadow: inset 0 0 0 1px #cbd5e1; }
.cr-badge.b-size.sz-na { background: #f8fafc; color: #94a3b8; box-shadow: none; }
.b-scale-card { margin: 0 0 12px; }
.b-scale { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 20px; margin: 0; padding: 12px 16px 4px; }
.b-scale > div { min-width: 0; }
.b-scale dt { margin: 0 0 3px; font-size: max(var(--fs-min), .8125rem); font-weight: 700; color: var(--cr-muted); }
.b-scale dd { margin: 0; font-size: max(var(--fs-min), .9375rem); font-weight: 700; color: var(--cr-ink); overflow-wrap: anywhere; }
.b-scale dd small { margin-left: 2px; font-size: max(var(--fs-min), .84375rem); font-weight: 500; color: var(--cr-muted); }
.b-scale-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 8px 16px 14px; font-size: max(var(--fs-min), .84375rem); color: var(--cr-muted); }
.cmp-size .sz-note { display: block; margin-top: 4px; font-size: max(var(--fs-min), .84375rem); font-weight: 500; color: var(--cr-muted); }
.sz-inline { display: none; }
@media (max-width: 900px) { .sz-inline { display: block; margin-top: 4px; } }
@media (max-width: 700px) {
  .b-hero .b-size { display: none; } /* スマホは下の「企業の規模」に出す（業種のバッジと大きさがそろわないため） */
  .b-scale dd small { display: block; margin: 2px 0 0; }
  .cr-badge.b-size { height: auto; min-height: 22px; padding: 2px 10px; font-size: max(var(--fs-min), .9375rem); }
  .b-scale { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; padding: 12px 14px 4px; }
  .b-scale dt, .b-scale dd small, .b-scale-foot, .cmp-size .sz-note { font-size: max(var(--fs-min), .9375rem); }
  .b-scale dd { font-size: max(var(--fs-min), 1rem); }
  .b-scale-foot { padding: 8px 14px 14px; }
}

/* 国内の実店舗（公開情報）：一覧の「312店」「通販のみ」、ブランドのページの取扱店数、比較の「店舗」の行 */
.sz-cell { max-width: 84px; }
.sz-cell .st-cell { display: block; margin-top: 4px; font-size: max(var(--fs-min), .84375rem); font-weight: 700; color: #475569; }
.sz-cell .st-cell:empty { display: none; }
.sz-cell > .st-cell:first-child { margin-top: 0; }
.st-short { display: inline-block; vertical-align: middle; font-size: max(var(--fs-min), .84375rem); font-weight: 700; color: #475569; }
.sz-inline .cr-badge + .st-short { margin-left: 6px; }
.b-scale dd small.st-sub { display: block; margin: 2px 0 0; }
.cmp-store small { display: block; margin-top: 4px; font-size: max(var(--fs-min), .84375rem); font-weight: 500; color: var(--cr-muted); }
@media (max-width: 700px) {
  .st-short, .cmp-store small { font-size: max(var(--fs-min), .9375rem); }
  /* 絞り込みの選択肢・入力欄もスマホでは14px（業種・規模・店舗の select） */
  .cr-filters .cr-select, .cr-filters .cr-input, .cr-filter .cr-select, .cr-filter .cr-input { font-size: max(var(--fs-min), .9375rem); min-height: 44px; }
}
/* スマホでは会員画面の文字を14px未満にしない */
@media (max-width: 760px) { body.cr { --fs-min: .875rem; } }
/* 公開サイトの ui.css の table.heat（.68rem・min-width 640px）が会員画面の曜日×時間帯に効いていたので打ち消す。
   スマホは24列が入らないので、カードの中だけ横に動かす（ページは横に動かさない） */
body.cr table.heat { border-collapse: collapse; border-spacing: 0; font-size: max(var(--fs-min), .78125rem); min-width: 0; }
@media (max-width: 760px) {
  body.cr .pad:has(> table.heat) { overflow-x: auto; }
  body.cr table.heat { min-width: 620px; }
}
/* カードがグリッドの中で中身の幅に押し広げられないように（スマホで月ごとの配信数のカードが画面からはみ出していた） */
body.cr .cr-card { min-width: 0; }
@media (max-width: 760px) {
  body.cr .mcol .u { display: none; }  /* 月ごとの配信数の「月」はスマホでは省く（12本が入らない） */
  body.cr .ecard-head .av { font-size: .875rem; }
  body.cr .ecard-dl, body.cr .ecard small, body.cr .ecard .pill { font-size: .875rem; }
  body.cr .b-ship > b small, body.cr header small { font-size: .875rem; }
}
/* メルマガの表の「配信ツール（推定）」は、幅が足りない画面では省く（詳細パネルに出る） */
@media (max-width: 1679px) { body.cr .cr-table.mails .m-esp { display: none; } }
/* ---------- 配信の流れ（ホーム）・配信のリズム・セールの流れ（ブランド） ---------- */
body.cr { --d-sale: #ef4444; --d-deal: #f59e0b; --d-new: var(--cr-brand); --d-other: #cbd5e1; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--d-other); margin: 1px; vertical-align: middle; }
.d-sale { background: var(--d-sale) !important; } .d-deal { background: var(--d-deal) !important; } .d-new { background: var(--d-new) !important; } .d-other { background: var(--d-other) !important; }
a.dot:hover, a.sq:hover { outline: 2px solid var(--cr-ink); outline-offset: 1px; }
.st-wrap { overflow-x: auto; }
.st { border-collapse: collapse; width: 100%; min-width: 640px; }
.st th, .st td { border-bottom: 1px solid var(--cr-line); padding: 8px 2px; text-align: center; font-size: max(var(--fs-min), .78125rem); }
.st thead th { color: var(--cr-muted); font-weight: 600; line-height: 1.2; }
.st thead th b { display: block; font-size: max(var(--fs-min), .8125rem); color: var(--cr-ink-2); }
.st thead th small { font-size: max(var(--fs-min), .71875rem); }
.st .we { background: #fafbfc; }
.st .dot { width: 12px; height: 12px; }
.st thead th.today b { color: var(--cr-brand-600); }
.st tbody th { text-align: left; padding: 8px 12px 8px 16px; white-space: nowrap; width: 1%; }
.st tbody th a { display: inline-flex; align-items: center; gap: 8px; color: var(--cr-ink); font-weight: 700; }
.st td { min-width: 30px; line-height: 1; }
/* 点の中の読み上げ用の文字（絶対配置）が横スクロールの枠の外へ出ないように */
.st td, .rh td, .st-wrap, .rh-wrap { position: relative; }
.st td small { display: block; color: var(--cr-muted); font-size: max(var(--fs-min), .71875rem); }
.st .st-n { width: 1%; white-space: nowrap; padding: 8px 16px 8px 8px; text-align: right; }
.st .st-n b { font-size: max(var(--fs-min), .9375rem); }
.st .st-n small { display: block; color: var(--cr-muted); font-size: max(var(--fs-min), .75rem); }
.st-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 12px 16px; color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-legend .st-hint { margin-left: auto; }
.st-card { margin-bottom: 12px; }
.nx { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 18px; color: var(--cr-ink) !important; text-decoration: none !important; }
.nx:hover { border-color: var(--cr-brand-200); }
.nx-d { display: grid; text-align: center; min-width: 88px; padding: 6px 10px; border-radius: 8px; background: var(--cr-brand-50); color: var(--cr-brand-600); line-height: 1.3; }
.nx-d b { font-size: max(var(--fs-min), 1.125rem); }
.nx-d small { font-size: max(var(--fs-min), .78125rem); font-weight: 700; }
.nx-t { flex: 1; font-size: max(var(--fs-min), .875rem); }
.nx-go { display: inline-flex; align-items: center; gap: 4px; color: var(--cr-brand-600); font-weight: 700; white-space: nowrap; font-size: max(var(--fs-min), .84375rem); }
.nx-go svg { width: 14px; height: 14px; }
/* ブランド：要点・リズム・セールの流れ・詳しいデータ */
.b-keys { display: grid; grid-template-columns: repeat(var(--k, 4), minmax(0, 1fr)); margin: 12px 0; padding: 0; }
.b-keys > div { padding: 14px 18px; border-left: 1px solid var(--cr-line); }
.b-keys > div:first-child { border-left: 0; }
.b-keys dt { color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.b-keys dd { margin: 4px 0 0; font-size: max(var(--fs-min), 1.5rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.b-keys dd small { font-size: max(var(--fs-min), .8125rem); font-weight: 600; color: var(--cr-muted); margin-left: 2px; white-space: nowrap; }
.rh-wrap { overflow-x: auto; }
.rh { border-collapse: separate; border-spacing: 5px; width: 100%; table-layout: fixed; }
.rh thead th { height: 20px; text-align: left; font-weight: 700; color: var(--cr-ink-2); white-space: nowrap; overflow: visible; }
.rh tbody th, .rh thead th:first-child { width: 28px; }
.rh th { color: var(--cr-muted); font-weight: 600; font-size: max(var(--fs-min), .78125rem); padding-right: 6px; }
.rh td { padding: 0; }
.sq { display: block; width: 100%; height: 30px; border-radius: 6px; background: #eef2f7; }
.sq.many { box-shadow: inset 0 0 0 3px rgba(17, 24, 39, .28); }
.sq-l { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #eef2f7; }
.sq-l.many { box-shadow: inset 0 0 0 2px rgba(17, 24, 39, .35); }
.rn { list-style: none; margin: 0; padding: 0; }
#brand-deadline-mails { scroll-margin-top: 80px; }
.rn-heading { padding: 18px 20px; }
.rn-heading .cr-card-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0; }
.rn-heading svg { width: 22px; height: 22px; flex: none; color: var(--cr-brand); }
.rn-heading p { margin: 8px 0 0; color: var(--cr-muted); font-size: .875rem; }
.rn > .rn-group { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 18px 20px; border-top: 1px solid var(--cr-line); }
.rn-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--cr-muted); font-size: .875rem; }
.rn-meta > span:first-child { padding: 8px 12px 10px; border: 1px solid var(--cr-line); border-top: 3px solid var(--cr-brand); border-radius: 8px; background: var(--cr-side); }
.rn-meta strong { display: block; margin-top: 2px; color: var(--cr-ink); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.rn-content { min-width: 0; }
.rn-mails { list-style: none; padding: 0; margin: 0; }
.rn-mails > li + li { border-top: 1px dashed var(--cr-line); padding-top: 12px; margin-top: 12px; }
.rn-mail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--cr-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.rn-mail-link { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 16px; min-height: 44px; box-sizing: border-box; }
.rn-visual { --rn-visual-bg: #eef2f7; display: grid; place-items: center; width: 104px; height: 112px; overflow: hidden; box-sizing: border-box; border: 1px solid var(--cr-line); border-radius: 12px; background: var(--rn-visual-bg); color: var(--cr-muted); }
.rn-visual svg { width: 40px; height: 40px; flex: none; }
.rn-visual.is-sale { --rn-visual-bg: #fff1f2; color: #be123c; border-color: #fecdd3; }
.rn-visual.is-coupon { --rn-visual-bg: #fff7ed; color: #b45309; border-color: #fed7aa; }
.rn-visual.is-point { --rn-visual-bg: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.rn-visual.is-free_shipping { --rn-visual-bg: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.rn-visual.is-fukubukuro { --rn-visual-bg: #fdf2f8; color: #be185d; border-color: #fbcfe8; }
.rn-visual.has-image { display: block; background: #fff; }
.rn-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rn-mail-copy { display: grid; gap: 6px; min-width: 0; }
.rn-subject { color: var(--cr-ink); font-weight: 600; overflow-wrap: anywhere; }
.rn-read { display: inline-flex; gap: 6px; align-items: center; font-size: .875rem; }
.rn-read svg { width: 16px; height: 16px; flex: none; }
.rn-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.rn-more p { margin: 0; color: var(--cr-muted); font-size: .875rem; }
.b-more { margin-top: 20px; }
.b-more > summary { cursor: pointer; list-style: none; padding: 14px 18px; border: 1px solid var(--cr-line); border-radius: 10px; background: #fff; font-weight: 700; }
.b-more > summary::-webkit-details-marker { display: none; }
.b-more > summary::before { content: "+"; display: inline-block; width: 18px; color: var(--cr-brand-600); }
.b-more[open] > summary::before { content: "−"; }
.b-more > summary small { display: block; margin-left: 18px; color: var(--cr-muted); font-weight: 500; font-size: max(var(--fs-min), .78125rem); }
.b-more[open] > summary { margin-bottom: 12px; }
@media (max-width: 760px) {
  .b-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-keys > div:nth-child(3) { border-left: 0; }
  .b-keys > div:nth-child(n+3) { border-top: 1px solid var(--cr-line); }
  .rn-heading { padding: 16px; }
  .rn > .rn-group { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .rn-meta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
  .rn-mail-link { grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 12px; }
  .rn-visual { width: 72px; height: 88px; border-radius: 9px; }
  .rn-visual svg { width: 32px; height: 32px; }
  .nx { flex-wrap: wrap; gap: 10px 12px; }
  .nx-t { flex: 1 1 100%; order: 3; }
  .nx-go { margin-left: auto; }
  /* 2週間の流れは横に動かすので、ブランド名の列は左に残す */
  .st .stk { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: inset -1px 0 0 var(--cr-line), inset 0 -1px 0 var(--cr-line); }  /* 左に貼り付けた列は、表の罫線が消えることがあるので影で線を引く */
  .st tbody th.stk { padding-left: 12px; }
  .st tbody th.stk .bmark { width: 64px !important; height: 24px !important; }
  .st-legend .st-hint { margin-left: 0; }
}
/* ---------- イベント：開催日と、件名から読めるブランド別の受信記録 ---------- */
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ev-chips a { display: grid; flex: 1 1 11rem; max-width: 16rem; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--cr-line); border-radius: 10px; background: #fff; color: var(--cr-ink) !important; text-decoration: none !important; line-height: 1.35; }
.ev-banner-art { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--ev-bg, #f1f5f9); }
.ev-banner-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ev-banner-art.is-default svg { width: 2.5rem; height: 2.5rem; color: var(--cr-ink-2); }
.ev-banner-label { display: grid; gap: 3px; padding: 10px 12px; overflow-wrap: anywhere; }
.ev-chips a b { font-size: max(var(--fs-min), .875rem); }
.ev-chips a small { color: var(--cr-muted); font-size: max(var(--fs-min), .78125rem); }
.ev-chips a[aria-current="page"] { border-color: var(--cr-brand); background: var(--cr-brand-50); box-shadow: inset 0 0 0 1px var(--cr-brand); }
.ev-editorial { display: grid; grid-template-columns: minmax(0, 1fr) 128px; align-items: center; gap: 24px; padding: 0 0 16px; border-bottom: 1px solid var(--cr-line-2); }
.ev-editorial-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; min-width: 0; }
.ev-eyebrow { margin: 0 0 6px; color: var(--cr-muted); font-size: .875rem; font-weight: 600; }
.ev-editorial h1 { margin: 0; font-size: 2rem; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ev-event-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.ev-event-date > time { font-size: 2rem; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ev-event-date > span { font-size: .875rem; color: var(--cr-ink-2); }
.ev-event-date small { display: block; font-size: .875rem; color: var(--cr-muted); }
.ev-intro { margin: 12px 0 0; font-size: .9375rem; color: var(--cr-muted); }
.ev-editorial-art .ev-banner-art { border-radius: 8px; overflow: hidden; }
.ev-select > summary { color: var(--cr-brand-600); }
.ev-select > .ev-switcher { display: flex; align-items: center; gap: 10px; min-height: 44px; width: fit-content; max-width: 100%; padding: 10px 14px; border: 1px solid var(--cr-control-line); border-radius: 8px; background: #fff; box-sizing: border-box; list-style: none; cursor: pointer; }
.ev-switcher > svg { width: 20px; height: 20px; flex: none; }
.ev-switcher::-webkit-details-marker { display: none; }
.ev-select[open] > .ev-switcher { margin-bottom: 12px; }
.disclosure-chevron { display: inline-flex; flex: none; color: var(--cr-brand-600); transform: rotate(90deg); }
.disclosure-chevron svg { width: 18px; height: 18px; }
details[open] > summary > .disclosure-chevron { transform: rotate(-90deg); }
.ev-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 24px; margin: 4px 0 12px; }
.ev-tools .ev-select { margin: 0; }
.ev-tools .ev-select[open] { flex-basis: 100%; }
.ev-current-empty { margin: 0; color: var(--cr-muted); font-size: .875rem; }
.ev-current-history { margin-bottom: 24px; }
.ev-current-history > summary { padding: 12px 0; cursor: pointer; font-size: .875rem; color: var(--cr-brand-600); }
.ev-archive { margin: 12px 0; }
.ev-archive-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.ev-archive-heading h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.5; }
.ev-start-fact { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 16px; margin: 0; padding-left: 20px; border-left: 2px solid var(--cr-line-2); font-size: .875rem; color: var(--cr-muted); }
.ev-start-fact strong { grid-column: 2; grid-row: 1 / 3; font-size: 1.75rem; font-variant-numeric: tabular-nums; color: var(--cr-ink); }
.ev-start-fact small { font-size: .875rem; }
.ev-archive-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 8px 0 12px; font-size: .875rem; color: var(--cr-muted); }
.ev-archive-caption p { margin: 0; }
.ev-brand-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 0; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 10px; overflow: hidden; }
.ev-brand-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 24px; min-width: 0; padding: 16px 24px 0; border-bottom: 1px solid var(--cr-line); overflow-wrap: anywhere; }
.ev-brand-heading { grid-column: 1; grid-row: 1 / 4; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 0 12px; }
.ev-brand-heading h3 { min-width: 0; margin: 0; font-size: 1rem; }
body.cr .ev-brand-heading a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cr-ink); }
.ev-lead { flex: none; padding: 3px 10px; background: #eef3f8; color: #334155; border-radius: 4px; font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
body.cr .ev-first-mail { grid-column: 2; display: grid; min-height: 44px; margin-bottom: 4px; color: var(--cr-ink); text-decoration: none; }
.ev-first-mail.has-preview { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
.ev-mail-preview { display: block; height: 132px; overflow: hidden; background: var(--cr-side); border: 1px solid var(--cr-line); border-radius: 4px; }
.ev-mail-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ev-mail-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 16px; min-width: 0; }
.ev-mail-date { grid-column: 1; color: var(--cr-muted); font-size: .875rem; }
.ev-mail-caption > strong { grid-column: 1; margin-top: 4px; font-size: 1.0625rem; line-height: 1.6; font-weight: 600; }
.ev-first-mail:hover .ev-mail-caption > strong { text-decoration: underline; text-underline-offset: 3px; }
.ev-read { grid-column: 2; grid-row: 1 / 3; display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: var(--cr-brand-600); font-size: .875rem; }
.ev-read svg { width: 16px; height: 16px; }
.ev-sequence { grid-column: 2; border-top: 0; }
.ev-sequence > summary { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: fit-content; max-width: 100%; min-height: 44px; padding: 6px 12px; margin: 6px 0 12px; box-sizing: border-box; border: 1px solid var(--cr-line); border-radius: 6px; background: var(--cr-side); list-style: none; cursor: pointer; color: var(--cr-brand-600); font-size: .875rem; }
.ev-sequence > summary::-webkit-details-marker { display: none; }
.ev-sequence ol { margin: 0 0 16px 5px; padding: 0 0 0 18px; border-left: 1px solid var(--cr-line-2); list-style: none; }
.ev-sequence li { position: relative; }
.ev-sequence li::before { position: absolute; content: ''; width: 7px; height: 7px; left: -22px; top: 22px; border-radius: 50%; background: var(--cr-control-line); box-shadow: 0 0 0 4px #fff; }
body.cr .ev-sequence li a { display: block; min-height: 44px; padding: 12px 0; color: var(--cr-ink); border-bottom: 1px solid var(--cr-line); }
.ev-sequence li:last-child a { border: 0; }
.ev-sequence-date { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; color: var(--cr-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.ev-sequence li strong { display: block; margin-top: 4px; font-size: .9375rem; font-weight: 500; line-height: 1.7; }
.ev-record-scope { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--cr-line); color: var(--cr-muted); font-size: .875rem; }
.ev-record-scope p { margin: 0; }
.ev-record-scope .scope-details { margin-top: 4px; }
.ev-record-scope details p { margin: 8px 0; }
@media (max-width: 1100px) {
  .ev-brand-grid { grid-template-columns: minmax(0, 1fr); }
  .ev-editorial { grid-template-columns: minmax(0, 1fr) 110px; gap: 18px; padding: 0 0 16px; }
  .ev-editorial h1 { font-size: 1.75rem; }
}
@media (max-width: 640px) {
  .ev-editorial { display: block; padding: 0 0 16px; }
  .ev-editorial-art, .ev-editorial .ev-eyebrow, .ev-intro { display: none; }
  .ev-editorial h1 { font-size: 1.625rem; }
  .ev-event-date > time { font-size: 2rem; }
  .ev-tools { margin-bottom: 16px; }
  .ev-archive-heading h2 { font-size: 1.25rem; }
  .ev-start-fact { padding-left: 12px; }
  .ev-start-fact strong { font-size: 1.5rem; }
  .ev-brand-card { display: block; padding: 12px 16px 0; }
  .ev-brand-heading { flex-direction: row; justify-content: space-between; align-items: center; padding: 0 0 8px; }
  .ev-mail-caption { display: flex; flex-direction: column; align-items: flex-start; }
  .ev-first-mail.has-preview { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .ev-mail-preview { height: 100px; }
  .ev-mail-caption > strong { font-size: 1rem; }
  .ev-brand-heading { gap: 8px; }
}
/* ---------- 配信の傾向：1行1項目の幅（帯＝半分のブランド・線＝中央値） ---------- */
.rb-card { padding: 4px 0 0; max-width: 960px; }
.rb { display: grid; grid-template-columns: minmax(0, 1fr) 100px 240px; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--cr-line); }
.rb-l b { display: block; font-size: 1.0625rem; font-weight: 600; }
.rb-l small { display: block; color: var(--cr-muted); font-size: .9375rem; margin-top: 4px; }
.rb-bar { grid-column: 3; grid-row: 1; position: relative; height: 14px; border-radius: 7px; background: #eef2f7; }
.rb-band { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: var(--cr-brand-200); }
.rb-med { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--cr-brand-600); }
.rb-m { grid-column: 2; grid-row: 1; text-align: left; white-space: nowrap; }
.rb-m b { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
.rb-m small { color: var(--cr-muted); margin-left: 3px; font-size: .9375rem; }
.rb-na { grid-column: 2 / -1; margin: 0; color: var(--cr-muted); }
.rb-lg { display: inline-block; vertical-align: middle; }
.rb-lg.band { width: 22px; height: 10px; border-radius: 5px; background: var(--cr-brand-200); }
.rb-lg.med { width: 3px; height: 14px; border-radius: 2px; background: var(--cr-brand-600); }
@media (max-width: 1100px) {
  .rb { grid-template-columns: minmax(0, 1fr) 90px; gap: 8px 12px; }
  .rb-l { grid-column: 1; }
  .rb-bar { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; }
  .rb-m { grid-column: 2; grid-row: 1; text-align: right; }
  .rb-na { grid-column: 1 / -1; }
}
/* 左のメニュー：見出しの代わりの区切り線 */
.cr-nav .nav-sep { height: 1px; margin: 10px 8px; background: var(--cr-rail-hover); }
.cr-nav > a { margin-top: 2px; }
/* メルマガの表：スマホだけに出す列（「条件」を出さない幅で、最大割引を見せる） */
@media (min-width: 901px) { body.cr .cr-table .show-sm { display: none; } }
/* ブランドのロゴ：白い四角に、余白を少し取って載せる（頭文字の印と同じ大きさ・角丸） */
.cr-av.logo, .cr-tile.logo { background: #fff !important; box-shadow: inset 0 0 0 1px var(--cr-line); overflow: hidden; padding: 0; }
.cr-av.logo { border-radius: 6px; }  /* 丸だとロゴの角が欠けるので、角丸の四角に */
.cr-av.logo img, .cr-tile.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.cr .cr-av.logo.wide, body.cr .av.logo.wide { width: 80px; height: 32px; border-radius: 4px; padding: 3px; box-sizing: border-box; flex: none; }
body.cr .cr-av.logo.wide img, body.cr .av.logo.wide img { width: 100%; height: 26px; min-height: 0; object-fit: contain; }
.cr-tile.logo img { padding: 8%; box-sizing: border-box; }
/* 一覧の抜粋の画像：実際のメルマガの画面の上の部分（4:5）。枠いっぱいに、上をそろえて */
.m-shotthumb { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ecard > .m-shotthumb { height: auto; aspect-ratio: 4 / 5; }
.mp-thumb .m-shotthumb { height: auto; aspect-ratio: 4 / 5; max-width: 340px; margin: 0 auto; border: 1px solid var(--cr-line); border-radius: 6px; }
body.cr .av.logo { background: #fff !important; box-shadow: inset 0 0 0 1px var(--cr-line); border-radius: 8px; overflow: hidden; }
body.cr .av.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* 横長の文字のロゴ（一覧は 104×40、ブランドの画面は 240×88） */
.cr-tile.wide { width: 104px; height: 40px; padding: 4px 4px; background: #fff !important; box-shadow: inset 0 0 0 1px var(--cr-line); }
.cr-tile.wide.lg { width: 240px; height: 88px; padding: 8px; }
.cr-tile.wide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cr-tile.wide.lg { display: grid; place-items: center; }
.cr-tile.wide.lg img { width: auto; height: auto; max-width: 100%; }
/* 横長のロゴ（配信の流れの行など）：枠に収め、左をそろえる */
.bmark { display: inline-flex; align-items: center; flex: none; }
.bmark img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---- 新着のギャラリー（ホーム・ブランドの画面・メルマガDBのカード）：実際の画面を大きく、文字は少なく ---- */
.g-filter { display: grid; gap: 16px; margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--cr-line); }
.g-type-row { display: flex; align-items: center; gap: 20px; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.g-targets { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.g-category { flex: 0 1 20rem; }
.g-type-row > .control-label { flex: none; }
body.cr .g-watch[aria-current] { border-color: var(--cr-brand); background: var(--cr-brand-50); color: var(--cr-brand-600); }
body.cr .g-chips a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; gap: 6px; padding: 7px 12px; border-bottom: 2px solid transparent; background: transparent; color: var(--cr-ink-2); font-size: .875rem; font-weight: 500; white-space: normal; overflow-wrap: anywhere; }
body.cr .g-chips a:hover { text-decoration: none; border-bottom-color: var(--cr-line-2); }
body.cr .g-chips a[aria-current] { border-bottom-color: var(--cr-brand); color: var(--cr-ink); font-weight: 600; }
.g-chips a .dot { margin: 0; }
.g-chips a svg { width: 16px; height: 16px; }
.g-filter select { width: 100%; min-width: 0; }
.g-kind-field { display: none; }
@media (max-width: 1100px) {
  .g-type-row { display: none; }
  .g-kind-field { display: grid; flex: 1 1 20rem; }
  .g-category { flex: 1 1 16rem; }
  .g-targets > .g-watch { flex: 0 0 auto; }
}
.g-day { margin: 0 0 26px; }
.g-dayh { margin: 0 0 12px; font-size: max(var(--fs-min), 1rem); font-weight: 800; color: var(--cr-ink); }
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 220px; gap: 0; min-width: 0; color: var(--cr-ink); background: #fff; border: 1px solid var(--cr-line-2); border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.gcard:hover { border-color: #8cafd7; box-shadow: 0 4px 14px rgba(15,23,42,.06); text-decoration: none; }
.gcard.sel { outline: 2px solid var(--cr-brand); outline-offset: 2px; }
.g-shot { position: relative; display: block; height: 100%; min-height: 220px; overflow: hidden; background: var(--cr-side); border-right: 1px solid var(--cr-line); }
.g-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-noimg { display: flex; align-items: center; padding: 18px; height: 100%; box-sizing: border-box; background: color-mix(in srgb, var(--c) 10%, #fff); border-top: 6px solid var(--c); font-size: max(var(--fs-min), 1rem); font-weight: 700; line-height: 1.5; color: var(--cr-ink); word-break: break-all; }
.g-chip { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 6px; color: #fff; font-size: max(var(--fs-min), .8125rem); font-weight: 800; line-height: 1.4; background: #475569; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.g-chip.g-sale { background: #dc2626; } .g-chip.g-deal { background: #92400e; } .g-chip.g-new { background: var(--cr-brand); }
.g-dl { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 6px; background: rgba(15, 23, 42, .82); color: #fff; font-size: max(var(--fs-min), .8125rem); font-weight: 700; }
.g-who { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 26px; }
.g-who .bmark { justify-content: flex-start; }
.g-who .bmark img { object-position: left center; }
.g-who b { font-size: max(var(--fs-min), .875rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.g-who time { margin-left: auto; flex: none; color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); font-variant-numeric: tabular-nums; }
.g-more { text-align: center; margin: 4px 0 24px; }
@media (max-width: 760px) {
  .g-chips { flex-wrap: wrap; overflow-x: visible; padding: 0; scrollbar-width: auto; }
  body.cr .g-filter select { width: 100%; max-width: 100%; min-width: 0; }
  .g-who .bmark { width: 64px !important; height: 20px !important; }
  .g-noimg { padding: 12px; }
}
.b-gal { margin: 18px 0 22px; }
.g-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 12px; }
.g-head h2 { flex: 1 1 18rem; min-width: 0; margin: 0; font-size: max(var(--fs-min), 1.0625rem); font-weight: 800; }
.g-head h2 small { margin-left: 8px; font-size: max(var(--fs-min), .8125rem); font-weight: 600; color: var(--cr-muted); }
.g-head > a { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: max(var(--fs-min), .875rem); font-weight: 700; white-space: nowrap; }
.g-head > a svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .b-keys[style*="--k:1"] { grid-template-columns: minmax(0, 1fr); } }
/* 件名だけの一覧（件名のネタ帳） */
.sj { list-style: none; margin: 0; padding: 0; }
.sj li { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--cr-row); cursor: pointer; }
.sj li:hover, .sj li.sel { background: #f5f8ff; }
.sj .g-chip { position: static; justify-self: start; box-shadow: none; }
.sj-t { min-width: 0; }
.sj-t a { display: block; color: var(--cr-ink); font-size: max(var(--fs-min), .9375rem); font-weight: 700; line-height: 1.5; }
.sj-t small { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.sj-t small .bmark { width: 56px; height: 18px; }
.sj-copy { white-space: nowrap; min-width: 5rem; }
.sj-copy.done { color: #15803d; border-color: #86efac; }
@media (max-width: 760px) {
  .sj li { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
  .sj li > span:empty { display: none; }
  .sj-copy { justify-self: start; }
  .sj .g-chip { grid-column: 1 / -1; }
}
body.cr .gcard, body.cr .gcard:hover { color: var(--cr-ink); text-decoration: none; }
body.cr .sj-t a { color: var(--cr-ink); }
body.cr .sj li:hover .sj-t a { color: var(--cr-brand-600); }
.g-who time:first-child { margin-left: 0; }
.g-chip { white-space: nowrap; }
@media (max-width: 760px) {
  .g-targets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .g-targets > .g-watch { justify-self: start; }
  .g-filter select { margin-top: 0; }
}
.g-who .cr-av.sm { width: 26px; height: 26px; }
.g-day .g-d { display: none; }  /* ホームは日ごとの見出しがあるので、時刻だけ */
/* 配信の流れの表（比較リスト）：ブランド名の列はどの幅でも左に貼り付ける。ロゴを出さないので名前を見せる（狭い画面は短く切る） */
.st .stk { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: inset -1px 0 0 var(--cr-line), inset 0 -1px 0 var(--cr-line); }
.st tbody th.stk a span { display: inline-block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
@media (max-width: 760px) { .st tbody th.stk a span { max-width: 6.5em; } }
/* 札は画像の下の端に（メルマガの上のロゴ・見出しを隠さない） */
.g-chip { top: auto; bottom: 8px; }
.ev-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: var(--cr-side); border: 1px solid var(--cr-line); color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); }
/* メルマガDBの絞り込み：よく使わない条件は「詳しい条件」にまとめる */
.f-more > summary { cursor: pointer; font-weight: 700; font-size: max(var(--fs-min), .84375rem); color: var(--cr-ink-2); list-style: none; }
.f-more > summary::-webkit-details-marker { display: none; }
.f-more > summary::before { content: "+"; display: inline-block; width: 1em; color: var(--cr-brand-600); }
.f-more[open] > summary::before { content: "−"; }
.f-more > summary small { display: block; margin: 2px 0 0 1em; font-weight: 500; color: var(--cr-muted); font-size: max(var(--fs-min), .75rem); }
.f-more .fields { padding: 10px 0 0; }
@media (max-width: 760px) {
  /* イベントバナーは小画面で折り返し、名前と日付を隠さない */
  .ev-chips { flex-wrap: wrap; }
  .ev-chips a { flex: 1 1 9rem; }
  /* ホーム：「メルマガDBで探す」は左のメニューにもあるので、狭い画面では出さない */
  .cr-head .act .home-db { display: none; }
}
.g-head h2 small { white-space: nowrap; }
.cr-table td.n { white-space: nowrap; }
/* 文字だけのメール：本文の書き出しを、メールの画面のように左寄せで */
.g-noimg { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.g-noimg small { font-size: max(var(--fs-min), .75rem); font-weight: 700; color: var(--cr-muted); letter-spacing: .04em; }
.g-noimg .g-ex { font-size: max(var(--fs-min), .84375rem); font-weight: 500; line-height: 1.75; color: var(--cr-ink-2); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.mp-plain { margin: 0 14px 14px; padding: 16px 18px; border: 1px solid var(--cr-line); border-radius: 8px; background: #fff; }
.mp-plain small { display: block; margin-bottom: 8px; font-size: max(var(--fs-min), .75rem); font-weight: 700; color: var(--cr-muted); }
.mp-plain p { margin: 0; font-size: max(var(--fs-min), .90625rem); line-height: 1.85; color: var(--cr-ink-2); white-space: pre-wrap; }
@media (max-width: 760px) { .g-noimg { padding: 10px; } .g-noimg .g-ex { -webkit-line-clamp: 5; } }
/* ブランド一覧：最新の1通の画面を小さく */
.b-last { white-space: nowrap; }
.b-last .b-lthumb { display: inline-block; width: 44px; height: 55px; margin-right: 10px; vertical-align: middle; border: 1px solid var(--cr-line); border-radius: 4px; overflow: hidden; background: #fff; }
.b-last .b-lthumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.b-last .b-lthumb:hover { outline: 2px solid var(--cr-brand-200); }
.b-last span { vertical-align: middle; }
.b-last .b-lthumb.none { display: inline-grid; place-items: center; border-style: dashed; color: var(--cr-faint, #94a3b8); font-size: max(var(--fs-min), .6875rem); font-weight: 700; background: var(--cr-side); }
@media (max-width: 900px) { .cr-table thead th { white-space: normal; } .b-last { white-space: normal; } .b-last .b-lthumb, .b-last .b-lthumb.none { display: block; margin: 0 0 4px; } .b-last .b-lthumb.none { display: inline-grid; } .b-last > span:last-child { display: block; } }  /* スマホ：画像と日付を縦に（表が画面に収まる） */

/* ---- ギャラリー：ブランド・件名を先に読み、本文画像は詳細で全体を見る ---- */
.gcard.is-text { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.gcard.is-text > .g-body { grid-column: 1; }
.gcard.is-text > .g-read { grid-column: 1; grid-row: 3; }
.home-head { align-items: center; justify-content: space-between; }
.home-search { flex: 0 1 520px; min-width: 0; }
.home-search .q-search { margin: 0; }
.home-search .q-search label { font-weight: 500; color: var(--cr-muted); }
@media (max-width: 1100px) {
  .gal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .home-head { gap: 12px; }
  .home-search { flex-basis: 100%; }
  .gcard { grid-template-columns: 100px minmax(0, 1fr); min-height: 200px; }
  .g-shot { min-height: 200px; }
  .gcard > .g-body { padding: 12px 12px 0; gap: 8px; }
  .gcard > .g-read { padding: 8px 12px; }
  .gcard.is-text > .g-body { padding: 16px 16px 4px; }
}
.gcard > .g-body { grid-column: 2; grid-row: 1; }
.gcard > .g-shot { grid-column: 1; grid-row: 1 / 3; }
.g-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 4px; min-width: 0; }
.g-body > .g-who { order: 0; }
.g-body > .g-subj { order: 1; }
.g-body > .g-meta { order: 2; }
.g-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.g-meta time { color: var(--cr-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.g-tag { display: inline-block; padding: 2px 6px; border-radius: 3px; font-size: .875rem; font-weight: 500; line-height: 1.5; white-space: nowrap; background: var(--cr-side); color: var(--cr-ink-2); }
.g-tag.g-until { background: #fff; color: var(--cr-ink-2); box-shadow: inset 0 0 0 1px var(--cr-line-2); font-weight: 600; }
.gcard .g-who { gap: 8px; min-height: 0; color: var(--cr-muted); }
.gcard .g-who b { font-size: .9375rem; font-weight: 600; color: var(--cr-ink-2); }
.gcard .g-who .cr-av.sm { width: 22px; height: 22px; }
.g-day { margin: 0 0 40px; }
.g-dayh { margin: 0 0 16px; font-size: max(var(--fs-min), 1.125rem); }
@media (max-width: 760px) {
  .g-body { padding: 16px 16px 8px; }
}
@media (max-width: 559px) {
  .gal { grid-template-columns: minmax(0, 1fr); }
  .cr-filter .f-primary .f-keyword { flex: 1 1 100%; }
  .cr-filter .f-primary .btns { flex: 1 1 100%; width: 100%; }
  .cr-filter .f-primary select { width: 100%; max-width: 100%; min-width: 0; }
}
/* 番号つきのページ送り */
.npager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 28px; }
.npager a, .npager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; font-size: max(var(--fs-min), .9375rem); font-weight: 700; box-sizing: border-box; }
.npager a { background: #fff; border: 1px solid var(--cr-line-2); color: var(--cr-ink-2); }
.npager a:hover { text-decoration: none; border-color: var(--cr-brand-200); background: var(--cr-brand-50); }
.npager a[aria-current] { background: var(--cr-ink); border-color: var(--cr-ink); color: #fff; }
.npager .np-step.off { color: var(--cr-faint, #cbd5e1); }
.npager .np-gap { min-width: 20px; padding: 0; color: var(--cr-muted); }
@media (max-width: 760px) { .npager .np-step { padding: 0 10px; } }
.g-tag.g-plain { background: #334155; color: #fff; }
.g-noimg .g-ex { white-space: pre-line; }
.mp-plain p { white-space: pre-line; }
/* 1通の詳細：左に浮いていた「前の配信 ←キー／次の配信 →キー」は出さない（詳細の上の「前の配信」と重なり、何の表示か分かりにくい）。←→キーの操作は使える */
.cr-keys { display: none !important; }
/* 文字だけのメールの書き出し：紙のように白地・左寄せ・改行そのまま・読める大きさ */
.g-noimg { background: #fff; border-top: 0; justify-content: flex-start; padding: 18px 18px 14px; }
.g-noimg .g-ex { font-size: max(var(--fs-min), 1rem); line-height: 1.8; color: #334155; font-weight: 400; -webkit-line-clamp: 6; }
.gcard.is-text .g-shot { grid-column: 1; grid-row: 2; border: 0; min-height: 0; height: auto; background: #fff; }
.g-body-label { font-size: .875rem; color: var(--cr-muted); font-weight: 500; }
.gcard > .g-read { grid-column: 2; grid-row: 2; display: flex; align-items: center; min-height: 44px; padding: 8px 18px; box-sizing: border-box; color: var(--cr-brand-600); font-size: .875rem; font-weight: 600; }
@media (max-width: 760px) { .g-noimg { padding: 10px; } .g-noimg .g-ex { -webkit-line-clamp: 6; line-height: 1.55; } }

/* 新着は大きい実画面の縦型へ。DB/ブランド/ウォッチの横型を巻き戻さない。 */
.gal--visual { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, calc((100% - 48px) / 3))), 1fr)); gap: 24px; }
.gal--visual .gcard { display: flex; flex-direction: column; min-height: 0; border-radius: 4px; }
.gal--visual .gcard > .g-body { order: 0; padding: 16px 16px 8px; gap: 8px; }
.gal--visual .gcard > .g-read { order: 1; padding: 8px 16px; }
.gal--visual .gcard > .g-shot { order: 2; height: 280px; min-height: 0; border-right: 0; border-top: 1px solid var(--cr-line); background: #fff; }
.gal--visual .gcard.is-text > .g-shot { height: auto; }
@media (max-width: 980px) { .gal--visual { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .gal--visual { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .gcard.is-text .g-shot { min-height: 0; height: auto; }
  .gcard.is-text .g-noimg { padding: 10px 12px 12px; }
  .gcard.is-text .g-noimg .g-ex { -webkit-line-clamp: 3; }
}
/* 件名→受信した本文の1列。画像は600pxまで、本文は画面幅に合わせて折り返す。 */
.cr-panel { width: min(1200px, 100vw); }
.mp-subj { font-size: 1.5rem; line-height: 1.45; font-weight: 600; }
.mp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 16px; }
.mp-meta .mp-who { flex: 1 1 320px; min-width: 0; padding: 0; }
.mp-meta .mp-who > div { min-width: 0; overflow-wrap: anywhere; }
.mp-meta .mp-who > div:not(.act) { flex: 1; }
.mp-meta .mp-who small, .mp-date { font-size: .875rem; color: var(--cr-muted); }
.mp-meta .cr-btn { min-height: 44px; }
.mp-date { overflow-wrap: anywhere; }
.mp-tools { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; margin-top: 8px; }
.mp-tools .mp-reference-actions { margin-top: 0; align-items: flex-start; }
.mp-tools .mp-copy-options { margin-top: 0; }
.mp-body-copy { min-width: 0; max-width: 100%; }
.mp-body-copy .cr-btn { min-height: 44px; }
.mp-copy-status { margin: 8px 0 0; max-width: 36rem; font-size: .875rem; overflow-wrap: anywhere; }
.mp-copy-manual { display: block; box-sizing: border-box; width: 100%; min-height: 160px; margin-top: 8px; padding: 12px; font: inherit; font-size: 1rem; resize: vertical; }
.mp-copy { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.mp-copy .done { color: #15803d; border-color: #86efac; }
.mp-copy-options { margin-top: 8px; }
.mp-copy-options summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-size: .875rem; color: var(--cr-muted); }
.mp-copy-options summary:focus-visible { outline: 2px solid var(--cr-brand); outline-offset: 2px; }
.mp-copy-options .cr-btn { min-height: 44px; }
/* 長い本文・URLや元画像の幅で、詳細の外側を押し広げない。 */
.mp-grid > *, .mp-left, .mp-left > * { min-width: 0; }
.mp-mail-text { max-width: 40em; padding: 28px 32px 36px; border-top: 1px solid var(--cr-line); font-size: 1.0625rem; line-height: 1.95; color: #1f2937; overflow-wrap: anywhere; word-break: normal; }
.mail-paragraph { margin: 0 0 1.35em; white-space: pre-wrap; }
.mail-paragraph:last-child { margin-bottom: 0; }
.mail-heading { font-weight: 750; color: #0f172a; }
.mp-text-alternative > summary { cursor: pointer; color: var(--cr-brand-600); font-size: .875rem; font-weight: 600; padding: 4px 0; }
.mp-text-alternative > summary { padding: 16px 24px; border-top: 1px solid var(--cr-line); }
.mp-read-image, .mp-text-alternative[open] .mp-read-text, .mp-text-alternative[open] + .mp-shot { display: none; }
.mp-text-alternative[open] .mp-read-image { display: inline; }
@media (max-width: 760px) { .mp-mail-text { padding: 20px 18px 28px; font-size: 1rem; line-height: 1.9; } .mp-who { flex-wrap: wrap; } .mp-subj { font-size: 1.25rem; } .mp-body, .mp-page .mp-body { padding: 12px; } }
@media (max-width: 760px) { .mp-meta .bmark { width: 80px !important; } }
/* 画面を出せない理由は文量に合わせ、空の画像枠を作らない。 */
.mp-plain { margin: 0; border: 0; border-top: 1px solid var(--cr-line); border-radius: 0; max-width: 600px; box-sizing: border-box; padding: 20px 22px; }

/* 閲覧中も入口を探さず検索。既存のフォームとGETをそのまま使う。 */
.q-search { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 16px; max-width: 760px; }
.q-search label { display: grid; gap: 6px; flex: 1; min-width: 0; font-size: .875rem; font-weight: 700; }
body.cr .q-search input { width: 100%; min-width: 0; box-sizing: border-box; }
.q-search .cr-btn { min-height: 44px; flex: none; }
.browse-search, .scope-details { margin: 0 0 8px; font-size: .9375rem; }
.browse-search > summary, .scope-details > summary, .brands-extra > summary, .cmp-add > summary, .ev-select > summary, .search-actions > summary, .wt-add > summary { cursor: pointer; min-height: 44px; box-sizing: border-box; padding: 10px 0; font-size: .875rem; }
.browse-search .q-search { margin: 8px 0 0; }
.scope-details p { margin: 8px 0; color: var(--cr-muted); }
.ev-select { margin-bottom: 16px; }
.search-actions { max-width: 100%; }
.search-hints { flex: 0 1 auto; font-size: .875rem; }
.search-hints[open] { flex-basis: 100%; }
.search-hints > summary { min-height: 44px; padding: 10px 0; box-sizing: border-box; cursor: pointer; color: var(--cr-muted); }
.search-actions[open] { flex-basis: 100%; }
.search-action-items { align-items: flex-start; }
.q-examples, .q-related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; color: var(--cr-muted); }
.q-examples { grid-column: 1 / -1; }
.q-examples { flex-basis: 100%; }
.q-scope { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; color: var(--cr-muted); overflow-wrap: anywhere; }
.q-applied { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; font-size: .875rem; color: var(--cr-muted); }
.q-applied .cr-btn { min-height: 44px; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.q-applied .cr-btn span { margin-left: 6px; }
.q-related { margin-top: 12px; }
.cr-filters:has([data-choice-menu][open]) { align-items: flex-start; }
.choice-picker { min-width: 0; flex: 0 1 16rem; }
.choice-picker > select { width: 100%; }
.choice-menu { border: 1px solid var(--cr-line); border-radius: 8px; background: #fff; min-width: 0; }
.choice-menu > summary { min-height: 46px; padding: 10px 12px; box-sizing: border-box; cursor: pointer; font-size: .9375rem; overflow-wrap: anywhere; }
.choice-options { padding: 0 10px 10px; }
.choice-list { max-height: 224px; overflow-y: auto; margin-top: 8px; display: grid; gap: 4px; }
.choice-list button { font: inherit; text-align: left; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 6px; background: #fff; color: var(--cr-ink); cursor: pointer; overflow-wrap: anywhere; }
.choice-list button:hover, .choice-list button[aria-pressed="true"] { background: var(--cr-brand-50); color: var(--cr-brand-600); }
.choice-picker [hidden] { display: none !important; }
.filter-field { min-width: 0; display: grid; gap: 6px; }
.filter-field > span { font-weight: 600; }
.mp-reference-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mp-reference-actions .cr-btn { min-height: 44px; white-space: normal; }
.practice-card { scroll-margin-top: 80px; }
.practice-card h2, .practice-browse h2 { margin: 0 0 8px; font-size: 1.125rem; }
.practice-card h3 { margin: 20px 0 10px; font-size: 1rem; }
.practice-signals, .practice-links { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.practice-signals li, .practice-links li { border-top: 1px solid var(--cr-line); padding-top: 12px; min-width: 0; }
.practice-signals blockquote { margin: 8px 0; border-left: 3px solid var(--cr-brand-100); padding-left: 12px; overflow-wrap: anywhere; }
.practice-signals p { margin: 8px 0 0; font-size: .875rem; color: var(--cr-muted); }
/* 参考ポイントは短い行で：何の案内か（太字）と、その根拠の文。リンク先は名前とURLのコピーを1行に */
.practice-signals li > b { display: block; font-size: max(var(--fs-min), .9375rem); }
.practice-signals q { display: block; margin-top: 2px; font-size: max(var(--fs-min), .875rem); color: var(--cr-ink-2); overflow-wrap: anywhere; quotes: "「" "」"; }
.practice-links li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.practice-links a { flex: 1 1 12em; min-width: 0; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; word-break: break-word; font-size: .875rem; }
.practice-links button { min-height: 44px; }
.practice-browse { margin-top: 24px; }
.practice-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.practice-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.q-examples .cr-btn, .q-related .cr-btn { min-height: 44px; white-space: normal; }
.mp-plain small { margin-bottom: 12px; }

/* 本文を主役に、施策は短い要約。 */
.mp-image-assets { scroll-margin-top: 80px; }
.mail-images { scroll-margin-top: 80px; }
.mail-images summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 600; color: var(--cr-brand); }
.mail-images summary:focus-visible { outline: 2px solid var(--cr-brand); outline-offset: 2px; }
.mail-image-list { scroll-margin-top: 80px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.mail-image-thumb { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; }
.mail-image-thumb:focus-visible { outline: 2px solid var(--cr-brand); outline-offset: 2px; }
.mail-image-list li { min-width: 0; border-top: 1px solid var(--cr-line); padding-top: 12px; }
.mail-image-list img { display: block; width: auto; max-width: 100%; height: auto; max-height: 180px; object-fit: contain; margin-bottom: 8px; }
.mail-image-list b { display: block; overflow-wrap: anywhere; font-size: .875rem; }
.mail-image-list small { display: block; margin: 6px 0; font-size: .875rem; color: var(--cr-muted); }
.mail-image-list .cr-btn { min-height: 44px; font-size: .875rem; }
.practice-links + .note { margin: 12px 0 0; }
.practice-more { margin-top: 12px; }
.practice-more > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--cr-brand-600); font-weight: 700; font-size: max(var(--fs-min), .9375rem); }
.practice-more[open] > summary { margin-bottom: 8px; }
/* ウォッチ：登録中のブランド・ブランド名で追加・登録ブランドの新着 */
.wt-controls { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.wt-add, .wt-mine { flex: 1 1 300px; min-width: 0; max-width: 100%; padding: 0 16px; margin: 0; box-sizing: border-box; }
.wt-controls > details[open] { flex: 1 1 100%; padding-bottom: 16px; }
.wt-controls > details > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; min-height: 76px; padding: 12px 0; box-sizing: border-box; list-style: none; font-size: .9375rem; font-weight: 600; }
.wt-controls > details > summary::-webkit-details-marker { display: none; }
.wt-summary-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; color: var(--cr-brand-600); background: var(--cr-brand-50); }
.wt-summary-icon svg { width: 22px; height: 22px; }
.wt-summary-copy { display: grid; min-width: 0; gap: 4px; flex: 1; }
.wt-summary-copy strong { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; }
.wt-summary-copy small, .wt-count { color: var(--cr-muted); font-size: .875rem; font-weight: 400; }
.wt-search { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.wt-search label { flex: 1 1 260px; display: grid; gap: 6px; font-weight: 700; font-size: max(var(--fs-min), .9375rem); }
.wt-note { margin: 14px 0 0; color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); }
.wt-rows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px; }
.wt-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border: 1px solid var(--cr-line); border-radius: 8px; padding: 12px; }
.wt-b { flex: 1 1 180px; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 10px; color: var(--cr-ink); }
.wt-b span { min-width: 0; display: grid; }
.wt-b b, .wt-b small { white-space: normal; overflow-wrap: anywhere; }
.wt-b b { font-size: max(var(--fs-min), .9375rem); }
.wt-b small { color: var(--cr-muted); font-size: max(var(--fs-min), .8125rem); }
.wt-form { margin: 0 0 0 auto; flex: none; display: flex; align-items: center; gap: 8px; }
.wt-state { display: inline-flex; align-items: center; gap: 4px; font-size: .875rem; color: #047857; }
.wt-state svg { width: 16px; height: 16px; }
.wt-form .cr-btn { min-height: 44px; }
.delivery-channel { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:0 0 20px; }
.delivery-channel-label { font-weight:700; font-size:.875rem; }
.delivery-channel .cr-seg { max-width:100%; }
.delivery-channel .note { flex-basis:100%; margin:0; font-size:.875rem; }
.wt-feed { margin-top: 8px; }
.wt-feed-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.wt-feed-head .g-dayh { margin: 0; }
@media (max-width: 760px) { .wt-rows { grid-template-columns: minmax(0, 1fr); } }
.auth-links { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--cr-line); margin-top: 20px; padding-top: 12px; }
.auth-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.pl-compare > .acc-h { margin: 0 0 16px; font-size: 1.25rem; }
.acc-withdrawal { margin-top: 16px; border-top: 1px solid var(--cr-line); padding-top: 12px; }
/* LINE */
.line-soon { padding: 20px; }
.line-soon h2 { margin: 0 0 8px; font-size: max(var(--fs-min), 1.0625rem); }
.line-soon p { margin: 0 0 8px; color: var(--cr-ink-2); font-size: max(var(--fs-min), .9375rem); line-height: 1.7; }
.line-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0 0 20px; }
.line-filter > label { display: grid; gap: 4px; min-width: 0; font-size: max(var(--fs-min), .875rem); font-weight: 600; color: var(--cr-ink-2); }
.line-filter .line-q { flex: 1 1 16rem; }
.line-filter .cr-input, .line-filter .cr-select { width: 100%; max-width: 100%; min-height: 44px; box-sizing: border-box; font-size: 1rem; }
.line-filter .line-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.line-filter .line-check input { width: 20px; height: 20px; margin: 0; flex: none; }
.line-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.line-gal .g-shot img { object-position: bottom; }
body.cr .line-gal .gcard .g-subj { -webkit-line-clamp: 2; }
.line-list { list-style: none; margin: 0 0 20px; padding: 0; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 10px; }
.line-list > li { padding: 14px 16px; border-top: 1px solid var(--cr-row, var(--cr-line)); min-width: 0; }
.line-list > li:first-child { border-top: 0; }
/* 配信文の見出し：ブランド・種類・時刻を1行に。ブランド名は長ければ「…」で縮め、収まらない幅のときだけ折り返す */
.line-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.line-row > .cr-badge, .line-row > time { flex: none; white-space: nowrap; }
.line-row time { color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-variant-numeric: tabular-nums; }
.line-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; min-height: 44px; margin-block: -6px; color: var(--cr-ink); font-weight: 700; } /* 押せる高さは44px・行の高さは変えない */
.line-who b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: max(var(--fs-min), .9375rem); }
.line-head { margin: 8px 0 0; font-size: max(var(--fs-min), 1rem); line-height: 1.75; color: var(--cr-ink); overflow-wrap: anywhere; }
.line-bhead { display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin: 0 0 20px; }
.line-bhead > div { min-width: 0; }
.line-bhead h1 { margin: 0; font-size: max(var(--fs-min), 1.375rem); line-height: 1.4; overflow-wrap: anywhere; }
.line-bhead a { display: inline-flex; align-items: center; min-height: 44px; font-size: max(var(--fs-min), .9375rem); font-weight: 600; }
.line-sec { margin: 0 0 28px; }
.line-sec > h2, .line-greet > summary { margin: 0 0 12px; font-size: max(var(--fs-min), 1.0625rem); font-weight: 800; }
.line-greet > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--cr-brand-600); }
.line-talk { max-width: 600px; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 10px; overflow: hidden; }
.line-talk img { display: block; width: 100%; height: auto; }
.line-none { color: var(--cr-ink-2); font-size: max(var(--fs-min), .9375rem); }
body.cr .b-line-link { display: inline-flex; align-items: center; min-height: 44px; font-size: max(var(--fs-min), .9375rem); font-weight: 600; }
@media (max-width: 640px) {
  .line-filter > label, .line-btns { flex: 1 1 100%; }
  .line-list > li { padding: 12px; }
  .line-bhead { padding: 14px 16px; }
  /* トーク画面の一覧：スマホは2列。画像は列の幅いっぱいの3:4 */
  .gal--visual.line-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .line-gal .gcard > .g-body { padding: 10px 10px 2px; gap: 6px; }
  .line-gal .gcard > .g-read { min-height: 32px; padding: 0 10px 4px; } /* カード全体が押せるので、ここは文字の行だけ */
  .line-gal .gcard > .g-shot { height: auto; }
  .line-gal .g-shot img { height: auto; aspect-ratio: 3 / 4; }
  body.cr .line-gal .gcard .g-subj { font-size: .9375rem; }
  .line-gal .g-meta time { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .line-row { column-gap: 8px; }
  .line-row .line-who { flex: 1 1 6rem; }
}
/* 押しやすさ：スマホ・タッチの画面では、押せる文字のリンクを高さ44px以上に（文字は大きくせず、押せる範囲を広げる） */
body.cr input[type=checkbox] { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px), (hover: none) {
  body.cr .cr-back { min-height: 44px; }
  body.cr .g-head > a { min-height: 44px; }
}
/* アカウント：含まれるもの（1行ずつ）・プランの画面 */
.acc-inc { display: grid; gap: 4px; font-weight: 500; }
.acc-inc span { display: block; font-size: max(var(--fs-min), .9375rem); }
.acc-reference { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--cr-line); }
.acc-details { min-width: 0; }
.acc-details > summary { min-height: 44px; cursor: pointer; color: var(--cr-brand-600); }
.acc-details > summary .acc-h { display: inline; margin: 0; font-size: max(var(--fs-min), 1.0625rem); }
.acc-details[open] > summary { margin-bottom: 12px; }
.acc-details .form { margin-bottom: 0; }
.pl-page { max-width: 72rem; margin-inline: auto; font-size: 1rem; line-height: 1.65; }
.pl-cur { padding: 20px 24px; margin-bottom: 28px; }
.pl-current-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.pl-current-facts > div { min-width: 0; }
.pl-current-facts dt { color: var(--cr-muted); font-size: .875rem; }
.pl-current-facts dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.pl-current-facts > div:first-child dd { font-size: 1.375rem; }
.pl-cur .note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--cr-line); line-height: 1.7; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 20px; }
.pl-card { min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pl-card.cur, .pl-pending.cur { border-color: #047857; box-shadow: inset 0 3px #047857; }
.pl-card h3, .pl-pending h2 { margin: 0; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.pl-card-head { --pl-accent: #2563a6; --pl-tint: #edf5ff; display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: 16px; min-height: 140px; padding: 20px 24px; margin: -24px -24px 4px; border-radius: 10px 10px 0 0; background: var(--pl-tint); border-bottom: 1px solid var(--cr-line); box-sizing: border-box; }
.pl-card-head-pass { --pl-accent: #6b50a1; --pl-tint: #f5f1fa; }
.pl-card-head h3 { font-size: 1rem; font-weight: 600; color: var(--pl-accent); }
.pl-fit { margin: 6px 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.pl-fit span { display: inline-block; max-width: 100%; }
.pl-use-desc { margin: 0; min-height: 3.3em; font-size: 1rem; color: var(--cr-ink-2); line-height: 1.65; }
.pl-visual { position: relative; width: 96px; height: 96px; color: var(--pl-accent); }
.pl-visual::before { content: ''; position: absolute; inset: 10px 12px 8px 2px; border: 1px solid currentColor; border-radius: 10px; transform: rotate(-10deg); opacity: .25; background: #fff; }
.pl-visual-sheet { position: absolute; inset: 4px 8px 12px 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border-radius: 10px; background: #fff; border: 1px solid currentColor; padding: 10px; box-shadow: 0 4px 10px #152c4b0d; }
.pl-visual-sheet > svg { width: 36px; height: 36px; flex: none; }
.pl-visual-sheet i { display: block; width: 80%; height: 3px; border-radius: 2px; background: currentColor; opacity: .2; }
.pl-visual-sheet i:last-child { width: 55%; }
.pl-visual-badge { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 38px; height: 38px; border: 3px solid var(--pl-tint); border-radius: 50%; background: var(--pl-accent); color: #fff; }
.pl-visual-badge svg { width: 22px; height: 22px; }
.pl-card .pl-price, .pl-pending .pl-price { display: block; margin: 0; font-weight: 700; color: var(--cr-ink); font-size: 2rem; line-height: 1.35; }
.pl-price-note { display: block; margin-top: 4px; font-size: .9375rem; font-weight: 400; color: var(--cr-ink-2); }
.pl-facts { margin: 0; display: grid; gap: 0; }
.pl-facts > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--cr-line); }
.pl-facts dt { color: var(--cr-muted); font-size: .9375rem; }
.pl-facts dd { margin: 0; overflow-wrap: anywhere; font-size: 1rem; }
.pl-facts > div:first-child { grid-template-columns: minmax(0, 1fr); gap: 4px; align-content: start; min-height: 128px; box-sizing: border-box; }
.pl-pending { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 20px; padding: 20px 24px; }
.pl-pending-body { flex: 1 1 28rem; min-width: 0; display: grid; gap: 8px; }
.pl-pending .pl-cta { flex: 0 0 auto; max-width: 100%; margin: 0; }
.pl-pending-terms { margin: 0; }
.pl-pending-price { margin: 4px 0; }
.pl-pending-price dt { font-size: .9375rem; color: var(--cr-ink-2); }
.pl-pending-price dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.pl-pending-icon, .pl-feature-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #edf5ff; color: #2563a6; }
.pl-pending-icon svg, .pl-feature-icon svg { width: 26px; height: 26px; }
.pl-pending-icon { background: var(--cr-side); color: var(--cr-ink-2); }
.pl-common, .pl-note { margin-top: 20px; padding: 20px 24px; }
.pl-common .acc-h, .pl-note > .acc-h { margin: 0 0 12px; font-size: 1.125rem; }
.pl-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 24px 32px; }
.pl-features li { min-width: 0; display: flex; align-items: flex-start; gap: 14px; }
.pl-features h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.6; }
.pl-features p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--cr-ink-2); }
.pl-common .note { margin: 14px 0 0; }
.pl-desc { margin: 0; color: var(--cr-ink-2); font-size: 1rem; line-height: 1.65; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 1rem; line-height: 1.65; }
.pl-list li svg { width: 18px; height: 18px; flex: none; color: var(--cr-brand); margin-top: 2px; }
.pl-cta { margin-top: auto; padding-top: 8px; }
.pl-card .pl-cta .cr-btn { width: 100%; }
.pl-now { display: inline-block; padding: 8px 14px; border-radius: 8px; background: #ecfdf5; color: #047857; font-weight: 800; font-size: max(var(--fs-min), .9375rem); }
.pl-trial-note { margin: 0 0 12px; color: var(--cr-ink-2); font-size: .9375rem; }
.pl-help { border-top: 1px solid var(--cr-line); }
.pl-help > summary { cursor: pointer; min-height: 44px; box-sizing: border-box; padding: 12px 0; font-size: 1rem; font-weight: 600; color: var(--cr-brand-600); }
.pl-faq { margin: 0; padding: 4px 0 0 20px; display: grid; gap: 16px; color: var(--cr-ink-2); font-size: .9375rem; line-height: 1.7; }
.pl-faq a { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .pl-cur, .pl-card, .pl-pending, .pl-common, .pl-note { padding: 20px 16px; }
  .pl-current-facts { flex-direction: column; gap: 10px; }
  .pl-current-facts > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); align-items: baseline; gap: 10px; }
  .pl-current-facts dd { margin: 0; font-size: 1rem; }
  .pl-card-head { grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; min-height: 120px; margin: -20px -16px 2px; padding: 16px; }
  .pl-fit { font-size: 1.125rem; }
  .pl-use-desc { min-height: 0; }
  .pl-visual { width: 72px; height: 80px; }
  .pl-visual-sheet { inset: 4px 6px 12px 4px; padding: 8px; gap: 4px; }
  .pl-visual-sheet > svg { width: 28px; height: 28px; }
  .pl-visual-badge { width: 32px; height: 32px; }
  .pl-visual-badge svg { width: 18px; height: 18px; }
  .pl-features li { gap: 12px; }
  .pl-facts > div { grid-template-columns: 4.5em minmax(0, 1fr); gap: 8px; }
  .pl-facts > div:first-child { grid-template-columns: minmax(0, 1fr); min-height: 0; }
}
body.cr .cr-btn.disabled { opacity: .55; cursor: default; }

/* 2026-10-13 一覧を詰める：検索の上はキーワード・検索・絞り込みだけ、件数〜保存はPC1行・スマホ2行、件名の一覧は押しやすく、ブランド一覧は1ブランド1行 */
.search-page .cr-filter .f-primary { padding-bottom: 12px; }
.search-page .cr-filter .f-options { margin: 0 0 12px; }
.search-page .cr-cards { padding: 12px 0 24px; }
body.cr .search-page .cr-seg a { min-width: 52px; padding: 5px 12px; }
/* 並び順は選択肢（新しい順など）で分かるので、見出しは読み上げだけ */
.search-page .search-sort-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.search-page .search-sort .cr-select { width: 9rem; }
.search-page .search-actions .cr-btn.sm { white-space: nowrap; padding: 8px 12px; font-size: .875rem; }
.search-page .search-actions:has(.search-save[open]) { flex-wrap: wrap; flex-basis: 100%; }
@media (min-width: 641px) { .search-page .search-actions .cr-btn.sm svg { display: none; } }
@media (max-width: 640px) {
  .search-page .cr-count { flex: 1 0 calc(100% - 168px); }
  body.cr .search-page .cr-seg a { min-width: 48px; padding: 5px 10px; }
  .search-page .search-sort { flex: 1 1 0; min-width: 0; gap: 0; }
  .search-page .search-sort .cr-select { flex: 1; width: 100%; min-width: 0; }
  .search-page .search-actions .sa-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .search-page .search-actions { gap: 4px; }
  .search-page .search-actions .cr-btn.sm { width: 44px; padding: 0; gap: 0; }
  .search-page .search-actions .cr-btn.sm svg { width: 20px; height: 20px; }
}
/* ホーム：ウォッチの候補の箱がスマホで画面の外へ広がらないように */
.onboard > *, .onboard-list > * { min-width: 0; }
.ob-item > .cr-av, .ob-item > .bmark { flex: none; }
/* 件名の一覧：1行の件名でも押せる高さ（44px）を、行の高さを変えずに */
.sj-t a { padding-block: 11px; margin-block: -11px; }
/* ブランド一覧：[四角] 名前・業種・規模・ドメイン ／ 最新の件名・日時 ／ ウォッチ */
.brands-directory .b-dir-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.brands-directory[data-brand-view="line"] .b-dir-row { display: flex; }
body.cr .brands-directory .cr-tile { width: 44px; height: 44px; flex: none; justify-self: center; }
body.cr .brands-directory .cr-tile.wide { width: 128px; padding: 4px; }
body.cr .brands-directory .cr-tile.wide img { height: 36px; min-height: 0; max-width: 100%; object-fit: contain; }
.brands-directory .b-dir-id { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
body.cr .brands-directory .b-cell { display: block; min-width: 0; padding: 11px 0; margin: -11px 0; color: var(--cr-ink); }
body.cr .brands-directory .b-cell b { display: block; max-width: none; font-size: 1rem; font-weight: 700; line-height: 1.375; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brands-directory .b-dir-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; overflow: hidden; white-space: nowrap; font-size: .875rem; line-height: 1.4; color: var(--cr-muted); }
.brands-directory .b-dir-meta > * { flex: none; }
.brands-directory .b-dir-meta .b-cat { flex: 0 1 auto; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.brands-directory .b-dir-meta .cr-badge { padding-top: 0; padding-bottom: 0; }
.brands-directory .b-host { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.brands-directory .b-latest { min-width: 0; }
body.cr .brands-directory .b-lsubject { display: block; padding: 12px 0; margin: -12px 0; color: var(--cr-ink); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.brands-directory .b-lsubject > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.brands-directory .b-latest time { display: block; margin-top: 2px; font-size: .875rem; color: var(--cr-muted); white-space: nowrap; }
.brands-directory .b-watch-toggle { min-height: 44px; white-space: nowrap; }
@media (min-width: 761px) {
  .brands-directory .cr-table { table-layout: fixed; }
  .brands-directory .cr-table th:first-child { width: 36%; }
  .brands-directory .cr-table th:last-child { width: 152px; }
  body.cr .brands-directory.brands-paper .cr-table td { height: auto; padding: 12px 16px; }
  body.cr .brands-directory.brands-paper .cr-table td.b-directory-watch { padding-left: 0; text-align: right; }
}
@media (max-width: 760px) {
  .brands-controls { margin-bottom: 12px; }
  body.cr .brands-directory .cr-tile.wide { width: 104px; }
  .brands-directory .b-dir-row { grid-template-columns: 104px minmax(0, 1fr); }
  .brands-primary { gap: 12px; }
  .brands-primary > .brands-field, .brands-primary > label:not(.brands-keyword) { flex: 1 1 calc(50% - 6px); }
  .brands-directory .cr-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand watch" "latest latest"; align-items: center; gap: 4px 12px; padding: 6px 12px; border-bottom: 1px solid var(--cr-line); }
  .brands-directory .b-dir-brand { grid-area: brand; }
  .brands-directory .b-directory-watch { grid-area: watch; }
  .brands-directory[data-brand-view="line"] .cr-table tr { grid-template-areas: "brand count" "latest latest"; }
  .brands-directory[data-brand-view="line"] td.n { grid-area: count; color: var(--cr-muted); font-size: .875rem; }
  .brands-directory .b-latest { grid-area: latest; display: flex; align-items: baseline; gap: 8px; }
  body.cr .brands-directory .b-lsubject { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
  .brands-directory .b-latest time { flex: none; margin: 0; }
  .brands-directory .b-dir-meta > :not(.b-cat) { display: none; }
}
@media (max-width: 480px) {
  .brands-directory .cr-table tr { grid-template-areas: "brand brand" "latest latest" ". watch"; gap: 8px 12px; padding-block: 12px; }
  .brands-directory[data-brand-view="line"] .cr-table tr { grid-template-areas: "brand brand" "latest latest" ". count"; }
  .brands-directory .b-latest { display: block; }
  .brands-directory .b-latest time { margin-top: 4px; }
}
/* 2026-10-06 読みやすさ：件名を主役に（本文の書き出しより大きく）、書き出しは4行まで、一覧の文字メールは縮小見本でなく「文字」の札 */
body.cr .gcard .g-subj { font-size: max(var(--fs-min), 1.0625rem); font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.cr .gcard .g-noimg .g-ex { font-size: 1rem; line-height: 1.7; color: #475569; -webkit-line-clamp: 4; }
body.cr .cr-table .m-subj { font-size: max(var(--fs-min), 1rem); }
body.cr .m-thumb-text { display: grid; place-items: center; width: 100%; height: 100%; min-width: 40px; min-height: 50px; background: var(--cr-side); color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-weight: 700; }
body.cr .m-thumb-text.poster { background: color-mix(in srgb, var(--c, #334155) 12%, #fff); color: var(--c, #334155); padding: 4px; text-align: center; line-height: 1.25; word-break: normal; }
body.cr .m-thumb-text.poster small { display: block; font-size: max(var(--fs-min), .8125rem); font-weight: 700; }  /* 「50%」「OFF」を2段に（語の途中で折らない） */
@media (max-width: 760px) { body.cr .gcard .g-subj { font-size: max(var(--fs-min), 1rem); -webkit-line-clamp: 4; } body.cr .gcard .g-noimg .g-ex { -webkit-line-clamp: 3; } }
/* Same-period comparison examples: no shared home/card changes. */
body.cr .cmp-period{font-size:.875rem;line-height:1.7;overflow-wrap:anywhere}
body.cr .cmp-jump{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
body.cr .cmp-jump a{min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--border,#dce4f0);border-radius:8px;font-size:.875rem;overflow-wrap:anywhere}
body.cr .cmp-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.cr .cmp-example-brand{min-width:0;padding:16px}
body.cr .cmp-example-brand .cmp-b{display:grid;min-height:44px;grid-template-columns:auto minmax(0,1fr);column-gap:12px;padding:0 0 12px}
body.cr .cmp-example-brand .cmp-brand-mark{grid-row:1/3}
body.cr .cmp-example-brand .cmp-brand-name,body.cr .cmp-example-brand .cmp-brand-category{grid-column:2;white-space:normal;overflow-wrap:anywhere}
body.cr .cmp-mails{padding:0;margin:0;list-style:none}
body.cr .cmp-mails li+li{border-top:1px solid var(--border,#dce4f0)}
body.cr .cmp-mail{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:16px 0;color:inherit;text-decoration:none}
body.cr .cmp-mail:hover .cmp-mail-subject,body.cr .cmp-mail:focus-visible .cmp-mail-subject{text-decoration:underline}
body.cr .cmp-mail-preview{flex:0 0 88px;width:88px;height:112px;background:#edf3fa;display:flex;align-items:center;justify-content:center;border:1px solid var(--border,#dce4f0);border-radius:8px;overflow:hidden}
body.cr .cmp-mail-preview img{width:100%;height:100%;object-fit:cover;object-position:top}
body.cr .cmp-mail-preview svg{width:36px;height:36px;color:#46729e}
body.cr .cmp-mail-content{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
body.cr .cmp-mail-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:.875rem;line-height:1.6}
body.cr .cmp-mail-subject{font-size:1rem;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
body.cr .cmp-mail-facts{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere}
body.cr .cmp-mail-facts:empty{display:none}
body.cr .cmp-mail-read{display:flex;align-items:center;gap:8px;color:var(--blue,#0067d9);font-size:.875rem}
body.cr .cmp-mail-read svg{width:18px;height:18px;flex:none}
body.cr .cmp-all{display:flex;min-height:44px;white-space:normal;overflow-wrap:anywhere;justify-content:center;text-align:center}
body.cr .cmp-v a{display:inline-flex;align-items:center;min-height:44px;white-space:normal;overflow-wrap:anywhere}
body.cr .cmp-v small{display:block;font-size:.875rem}
body.cr .cmp-investigate{padding:16px}
body.cr .cmp-investigate section{margin:0 0 16px}
/* Personal research workspace: native forms/details, no hidden save side effects. */
body.cr .research-note{margin:16px 0;border:1px solid var(--cr-line,#dce4f0);border-radius:10px;background:#fff}
body.cr .research-note>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;box-sizing:border-box;list-style:none;cursor:pointer;font-size:1rem;font-weight:600;overflow-wrap:anywhere}
body.cr .research-note>summary svg{width:20px;height:20px;flex:none}
body.cr .research-note-content,body.cr .research-note-card{padding:20px;min-width:0}
body.cr .research-note-content p,body.cr .research-note-card p{font-size:1rem;line-height:1.7;overflow-wrap:anywhere}
body.cr .research-note-content label{display:block;font-size:1rem;margin:8px 0}
body.cr .research-note-content textarea{display:block;width:100%;min-height:112px;padding:12px;font:inherit;font-size:1rem;line-height:1.6;border:1px solid #94a3b8;border-radius:8px;resize:vertical;margin-bottom:12px}
body.cr .research-note-content .cr-btn{margin:4px 8px 4px 0;min-height:44px;white-space:normal}
body.cr .research-tabs,body.cr .research-pagination,body.cr .research-note-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}
body.cr .research-note-list{display:grid;gap:16px}
body.cr .research-note-brand{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--cr-muted,#52627a)}
body.cr .research-note-brand time{font-size:.875rem}
body.cr .research-note-subject{display:flex;align-items:center;gap:12px;min-height:44px;font-size:1.125rem;font-weight:600;overflow-wrap:anywhere}
body.cr .research-note-subject svg{flex:none;width:20px;height:20px}
body.cr .research-note-text{white-space:pre-wrap;padding:16px;background:var(--cr-side,#f6f8fb);border-radius:8px}
body.cr .research-note-actions{margin-bottom:0}
body.cr .research-note-actions time{font-size:.875rem;margin-right:auto}
body.cr .research-note-actions .cr-btn,body.cr .research-pagination .cr-btn,body.cr .research-tabs .cr-btn{min-height:44px;white-space:normal}
body.cr .research-error{color:#9f1239;background:#fff1f2;padding:12px;border-left:3px solid #be123c}
body.cr .mail-image-error{margin:0;padding:20px;line-height:1.7;font-size:1rem;color:#475569;overflow-wrap:anywhere}
body.cr .mail-image-error svg{width:24px;height:24px;margin-right:8px;vertical-align:middle}
body.cr [data-mail-image-frame].image-failed{height:auto;min-height:0;aspect-ratio:auto}
body.cr .image-failed [data-mail-image],body.cr .image-failed [data-hot],body.cr .image-failed [data-hot-pop]{display:none!important}
body.cr .image-failed [data-hotspot],body.cr .image-failed [data-hot-item],body.cr .image-failed .mp-shot{display:none}
body.cr .cmp-set-body{padding:16px}
body.cr .cmp-set-body form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:12px 0}
body.cr .cmp-set-body label{display:flex;flex-direction:column;gap:6px;font-size:.875rem;min-width:0;flex:1 1 240px}
body.cr .cmp-set-body .cr-input{width:100%;min-width:0}
body.cr .cmp-set-body .cr-btn{min-height:44px;white-space:normal;overflow-wrap:anywhere}
body.cr .cmp-set-list{list-style:none;padding:0;margin:12px 0}
body.cr .cmp-set-list>li{border-top:1px solid var(--cr-line,#dce4f0);padding:16px 0}
body.cr .cmp-set-edit>summary,body.cr .cmp-set-undo>summary{min-height:44px;font-size:.875rem;display:list-item;padding:12px 0;cursor:pointer}
body.cr .cmp-set-undo small{display:block;font-size:.875rem}
body.cr .cmp-set-open{justify-content:flex-start;text-align:left}
@media(max-width:600px){body.cr .cmp-set-body,body.cr .research-note-content,body.cr .research-note-card{padding:12px}body.cr .cmp-set-body form{align-items:stretch}body.cr .cmp-set-body form .cr-btn{width:100%}body.cr .research-note-actions{align-items:stretch}body.cr .research-note-actions time{flex-basis:100%}body.cr .research-note-actions form{flex:1}body.cr .research-note-actions .cr-btn{width:100%}}
body.cr .cmp-investigate h3{font-size:1rem;overflow-wrap:anywhere}
body.cr .cmp-investigate .cr-btn{min-height:44px;white-space:normal;margin:4px 8px 4px 0}
@media(max-width:760px){body.cr .cmp-examples{grid-template-columns:minmax(0,1fr)}body.cr .cmp-example-brand{padding:12px}body.cr .cmp-mail-preview{flex-basis:64px;width:64px;height:88px}body.cr .cmp-mail{gap:10px}}
/* Research context: explain freshness without claiming collection completeness. */
.cmp-period-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.research-note-filter{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:18px;background:#fff;border:1px solid var(--cr-line);border-radius:12px;margin-bottom:16px}.research-note-filter label{display:grid;gap:6px;min-width:0}.research-note-filter input,.research-note-filter select,.research-note select{max-width:100%;padding:9px;border:1px solid var(--cr-line);border-radius:6px}.research-note-filter .scope-note{flex-basis:100%;margin:0}.research-report-select{display:inline-flex;align-items:center;gap:7px;margin:0 12px 10px 0}.research-note-tag{display:inline-block;padding:3px 9px;border-radius:20px;background:#eef4ff;color:#234d82}.research-report{margin:16px 0;padding:18px}.research-report summary{cursor:pointer;font-weight:700}.research-report p{line-height:1.7}.notes-report-page{max-width:960px;margin:auto}.notes-report-page header,.notes-report-item{padding:24px;background:white;border:1px solid var(--cr-line);border-radius:10px;margin-bottom:16px;overflow-wrap:anywhere}.notes-report-item h2{font-size:1.25rem}.notes-report-item .research-note-text{white-space:pre-wrap}@media(max-width:480px){.research-note-filter label{width:100%}.notes-report-page header,.notes-report-item{padding:16px}}@media print{body:has(.notes-report-page) .cr-rail,body:has(.notes-report-page) .cr-backdrop{display:none!important}body:has(.notes-report-page) .cr-shell{display:block!important}body:has(.notes-report-page) .cr-main{margin:0!important;width:100%!important}body:has(.notes-report-page) main{padding:0!important}body:has(.notes-report-page) .cr-top,body:has(.notes-report-page) .cr-nav,body:has(.notes-report-page) .cr-foot,body:has(.notes-report-page) .notes-report-tools{display:none!important}.notes-report-page{max-width:none}.notes-report-item{break-inside:avoid;border-radius:0;padding:12px}.notes-report-page header{border:0;padding:0}.notes-report-page a{overflow-wrap:anywhere}}

body.cr .research-note-filter input,body.cr .research-note-filter select,body.cr .research-note select{min-height:44px;font-size:1rem}body.cr .research-report-select{min-height:44px;cursor:pointer}body.cr .research-report summary,body.cr .search-number-pager summary{min-height:44px;display:flex;align-items:center;cursor:pointer}body.cr .search-step-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin:20px 0 8px}body.cr .search-number-pager{margin:0 0 20px;text-align:center}body.cr .search-number-pager summary{justify-content:center}body.cr .notes-report-tools{margin-top:16px}
body.cr .note-selection-panel,body.cr .note-set-item{overflow-wrap:anywhere}body.cr .note-selection-panel h2{font-size:1.25rem}body.cr .note-selection-list{list-style:none;margin:16px 0;padding:0}body.cr .note-selection-list li{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--cr-line)}body.cr .note-selection-list li>div{flex:1 1 240px;min-width:0}body.cr .note-selection-list li form{margin:0;max-width:100%}body.cr .note-set-form{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}body.cr .note-set-form label{display:grid;gap:6px;flex:1 1 220px;min-width:0}body.cr .note-set-form input{min-height:44px;width:100%;max-width:100%;font-size:1rem;padding:9px;border:1px solid var(--cr-line);border-radius:6px}body.cr .note-set-form button,body.cr .note-selection-panel button,body.cr .note-set-item button{min-height:44px;white-space:normal}body.cr .note-set-item{padding:16px 0;border-top:1px solid var(--cr-line)}body.cr .note-selection-panel [data-selection-feedback]:empty{display:none}body.cr .note-selection-panel [data-selection-feedback]{font-size:1rem;color:var(--cr-ink)}body.cr #notes-report-form{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}

body.cr .research-report summary:after,body.cr .search-number-pager summary:after{content:"+";margin-left:auto;font-size:1.25rem}body.cr .research-report[open] summary:after,body.cr .search-number-pager[open] summary:after{content:"-"}
@media print{body:has(.notes-report-page) .passbar,body:has(.notes-report-page) .cr-flash,body:has(.notes-report-page) .cr-skip{display:none!important}body:has(.notes-report-page){background:white!important}body:has(.notes-report-page) .cr-demo{position:static;margin:0 0 12px}}

/* 2026-10-13 UX：比較・詳細・メモ・アカウント */
body.cr .cr-alert{margin:0 0 16px;padding:10px 14px;border:1px solid #d3a357;border-radius:8px;background:#fffaf1;color:var(--cr-ink);font-size:1rem;line-height:1.6}
body.cr .cr-picker .cr-input{width:100%;min-width:0}
body.cr .research-note>summary::-webkit-details-marker{display:none}
body.cr .research-note:not([open]){width:fit-content;max-width:100%}
body.cr .acc-contract .kv + .acc-reference{margin-top:0;padding-top:0;border-top:0}
body.cr .acc-contract .acc-reference > div:last-child{border-bottom:0}
body.cr .acc-grid input[type="checkbox"]{width:20px;height:20px;flex:none;margin:0}
body.cr .acc-grid label:has(> input[type="checkbox"]){min-height:44px}

/* 2026-10-13 押しやすさの残り（スマホ・タッチ端末）：表の件名・ブランド、フッター・案内文の中のリンク、ログイン画面のロゴ。
   文中のリンクは上下の余白だけを広げる（行の高さは変えずに、押せる範囲を44pxにする）。 */
@media (max-width: 640px), (hover: none) {
  /* 表：件名は行全体で押せる（左の札・余白も）。ブランド名はその上に44pxで重ねる */
  body.cr .cr-table.mails .m-cell { position: relative; }
  body.cr .cr-table.mails a.m-subj::after { content: ""; position: absolute; inset: -10px 0; } /* 行の余白（10px）の中に収める */
  body.cr .cr-table.mails .m-brand { margin-block: 12px; } /* ブランド名の押せる範囲（上下12px）が件名・書き出しに重ならないよう、間をあける */
  body.cr .cr-table.mails .m-brand a { position: relative; z-index: 1; display: inline-block; min-width: 44px; padding-block: 12px; margin-block: -12px; }
  /* 文中・欄外の短いリンク */
  body.cr .pl-faq a,
  body.cr .acc-inc a,
  body.cr .acc-profile .note a,
  body.cr .acc-withdrawal .note a,
  body.cr .auth-recovery a,
  body.cr .login-card > p.note a,
  body.cr label.chk a,
  body.cr .mp-summary b > a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  body.cr .mp-tabs a { min-width: 44px; justify-content: center; }
  body.cr .bare-logo { min-height: 44px; }
}

/* 2026-10-13 メールの情報の「コピー」：文字だけで浮いて見えていたので、小さなボタンの形にして右端にそろえる */
body.cr .mp-workbench .mail-info-copy { min-width: 0; width: auto; justify-self: end; padding: 6px 14px; border: 1px solid var(--cr-line); background: #fff; color: var(--cr-ink-2); font-weight: 600; }
body.cr .mp-workbench .mail-info-copy:hover { background: var(--cr-head); color: var(--cr-ink); }
body.cr .mp-workbench .mail-info-section > .mail-info-copy { display: flex; margin-left: auto; }
body.cr .mail-info-facts > li, body.cr .mail-info-links > li { grid-template-columns: minmax(0, 1fr) auto; }
/* プラン：料金の数字をスマホの幅に収める（はみ出していた） */
@media (max-width: 640px) { body.cr .pl-card .pl-price, body.cr .pl-pending .pl-price { font-size: 1.75rem; } }
/* LINE の配信（1件ずつのカード）：一覧は見出しと最初の画像（上の部分）、ブランドの画面は画像と読み取った内容を横に並べる */
.line-cards .g-shot img { object-position: top; }
.line-cards .g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.line-cards .g-meta time { color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-variant-numeric: tabular-nums; }
.line-count { margin: -8px 0 12px; color: var(--cr-ink-2); font-size: max(var(--fs-min), .9375rem); }
.line-sum { margin: 2px 0 0; color: var(--cr-ink-2); font-size: max(var(--fs-min), .9375rem); }
.cr-badge.b-welcome { background: #e0f2fe; color: #0369a1; }
.lc-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.lc-item { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; padding: 16px; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 10px; scroll-margin-top: 80px; }
.lc-item.is-text { grid-template-columns: minmax(0, 1fr); }
.lc-item:target { outline: 2px solid var(--cr-brand); outline-offset: 2px; }
.lc-pic { display: block; align-self: start; background: #8ba7cf; border-radius: 8px; overflow: hidden; }
.lc-pic img { display: block; width: 100%; height: auto; }
.lc-info { display: grid; align-content: start; gap: 10px; min-width: 0; }
.lc-head { margin: 0; font-size: max(var(--fs-min), 1.125rem); line-height: 1.5; overflow-wrap: anywhere; }
.lc-info .cr-chip { font-size: max(var(--fs-min), .875rem); padding: 3px 9px; }
.lc-kv { display: grid; gap: 6px; margin: 0; }
.lc-kv > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 8px; }
.lc-kv dt { color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); }
.lc-kv dd { margin: 0; font-size: max(var(--fs-min), .9375rem); line-height: 1.6; overflow-wrap: anywhere; }
.lc-text > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--cr-brand-600); font-weight: 600; font-size: max(var(--fs-min), .9375rem); }
.lc-text p { margin: 4px 0 8px; color: var(--cr-ink-2); font-size: max(var(--fs-min), .9375rem); line-height: 1.75; overflow-wrap: anywhere; }
.lc-text .lc-imgtext { padding-left: 10px; border-left: 3px solid var(--cr-line-2); }
.lc-menu { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 20px; align-items: start; }
.lc-menu-items { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.lc-menu-items li { padding: 10px 12px; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 8px; font-size: max(var(--fs-min), .9375rem); line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  /* 配信の絞り込み：キーワードは1行、業種・種類・特典は2列、あいさつとボタンは同じ行 */
  .line-filter--cards { gap: 10px 12px; }
  .line-filter--cards > label:not(.line-q):not(.line-check) { flex: 1 1 calc(50% - 6px); }
  .line-filter--cards > .line-check { flex: 1 1 auto; }
  .line-filter--cards > .line-btns { flex: 0 0 auto; }
  /* 一覧の画像：横長の配信も左右を切らずに全体を見せる（余白はLINEの背景の色） */
  .line-cards .g-shot img { object-fit: contain; background: #8ba7cf; }
}
@media (max-width: 760px) {
  .lc-item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .lc-pic { max-width: 420px; }
  .lc-menu { grid-template-columns: minmax(0, 1fr); }
}
.line-sec > h2 .line-sub { margin-left: 8px; color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-weight: 500; }
/* ブランドの画面の「届いた配信」：小さなカードを並べ、押すと大きく開く（#d-…） */
.lc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.lc-grid > li { min-width: 0; }
.lc-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 10px; overflow: hidden; color: var(--cr-ink); transition: border-color .15s, box-shadow .15s; }
.lc-tile:hover { border-color: #8cafd7; box-shadow: 0 4px 14px rgba(15,23,42,.06); text-decoration: none; }
.lc-tbody { display: grid; gap: 6px; padding: 10px 12px 12px; align-content: start; }
.lc-tbody .line-row time { color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); }
.lc-thead { font-weight: 700; font-size: max(var(--fs-min), .9375rem); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lc-tsnip { color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lc-detail { display: none; }
.lc-detail:target { display: grid; place-items: start center; position: fixed; inset: 0; z-index: 1000; padding: 24px 16px; overflow-y: auto; }
.lc-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); }
.lc-detail .lc-item { position: relative; width: min(980px, 100%); margin: 0; box-shadow: 0 20px 50px rgba(15, 23, 42, .3); }
.lc-dnav { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: -4px 0 4px; }
.lc-dnav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: max(var(--fs-min), .9375rem); }
.lc-dnav .lc-close { margin-left: auto; padding: 0 14px; border: 1px solid var(--cr-line-2); border-radius: 8px; color: var(--cr-ink); }
@media (max-width: 640px) {
  .lc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lc-tbody { padding: 8px 10px 10px; }
  .lc-detail:target { padding: 0; }
  .lc-detail .lc-item { min-height: 100%; border-radius: 0; }
}
body.cr .lc-tile, body.cr .lc-tile:hover { color: var(--cr-ink); text-decoration: none; }
/* HTML で作り直した LINE の配信（吹き出しは本物の文字・画像は1枚ずつ） */
.lt { background: #8ba7cf; border-radius: 8px; padding: 14px 12px 10px; }
.lt-row { display: flex; align-items: flex-start; gap: 8px; }
.lt-row > .cr-av { flex: none; }
.lt-stack { display: grid; gap: 8px; min-width: 0; flex: 1; justify-items: start; }
.lt-bubble { max-width: 100%; background: #fff; color: #111; border-radius: 18px; padding: 10px 14px; font-size: max(var(--fs-min), .9375rem); line-height: 1.65; overflow-wrap: anywhere; box-sizing: border-box; }
.lt-media { position: relative; margin: 0; width: 100%; border-radius: 14px; overflow: hidden; background: #fff; }
.lt-media img { display: block; width: 100%; height: auto; }
.lt-stamp { width: 45%; background: transparent; }
.lt-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.lt-play::after { content: ""; position: absolute; left: 22px; top: 16px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.lt-time { margin-top: 6px; text-align: right; color: rgba(255, 255, 255, .95); font-size: max(var(--fs-min), .8125rem); }
.lc-html { background: transparent; }
.lc-orig { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: max(var(--fs-min), .9375rem); }
.lt-snip { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; padding: 8px 10px; border-radius: 12px; background: #eef3fa; color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); line-height: 1.6; white-space: pre-line; }
.line-allnew { margin: -8px 0 12px; }
.line-allnew a, .line-group-h a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: max(var(--fs-min), .9375rem); }
.line-group { margin: 0 0 28px; }
.line-group-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 0 0 10px; }
.line-group-h h2 { margin: 0; font-size: max(var(--fs-min), 1.1875rem); }
.line-group-h h2 small { margin-left: 8px; color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-weight: 500; }
@media (min-width: 981px) { .line-group .gal--visual { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.lt-card { width: 100%; background: #fff; border-radius: 14px; overflow: hidden; color: #111; }
.lt-card-img img { display: block; width: 100%; height: auto; }
.lt-card-body { padding: 10px 14px 4px; display: grid; gap: 4px; }
.lt-card-body b { font-size: max(var(--fs-min), .9375rem); line-height: 1.45; overflow-wrap: anywhere; }
.lt-card-body p { margin: 0; color: #555; font-size: max(var(--fs-min), .875rem); line-height: 1.55; overflow-wrap: anywhere; }
.lt-card-btns { list-style: none; margin: 6px 0 0; padding: 0; }
.lt-card-btns li { padding: 10px 14px; border-top: 1px solid #eef0f3; text-align: center; color: #555; font-weight: 400; font-size: max(var(--fs-min), .875rem); }
.lt-links { list-style: none; padding: 10px 14px; margin: 0; background: #fff; border-radius: 12px; }
.lt-links li { display: grid; gap: 6px; padding: 6px 0; min-width: 0; }
.lt-links a { display: grid; gap: 2px; overflow-wrap: anywhere; font-weight: 600; }
.lt-links small { font-size: max(var(--fs-min), .875rem); font-weight: 400; color: #52647b; }
.lt-links button { justify-self: start; min-height: 44px; padding: 6px 10px; border: 1px solid #d6e0ed; border-radius: 6px; background: #fff; color: #365b82; font: inherit; font-size: max(var(--fs-min), .875rem); cursor: pointer; }
.lp-page { display: grid; grid-column: 1 / -1; gap: 8px; min-width: 0; width: 100%; overflow-wrap: anywhere; }
.lp-label, .lp-host { color: #52647b; font-size: max(var(--fs-min), .875rem); }
.lp-title { font-size: 1rem; line-height: 1.5; }
.lp-description { margin: 0; line-height: 1.65; font-size: max(var(--fs-min), .875rem); }
.lp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lp-actions a, .lp-actions button { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid #d6e0ed; border-radius: 6px; background: #fff; color: #005fc7; font: inherit; font-size: max(var(--fs-min), .875rem); cursor: pointer; }
.lp-details { font-size: max(var(--fs-min), .875rem); color: #52647b; }
.lp-details summary { cursor: pointer; padding: 8px 0; }
.lp-details dl { margin: 8px 0; }
.lp-details dt { font-weight: 600; margin-top: 8px; }
.lp-details dd { margin: 2px 0 8px; }
.lp-details ul { margin: 8px 0; padding-left: 20px; }
.lp-details p { margin: 8px 0 0; }
.lp-more { min-width: 0; font-size: max(var(--fs-min), .875rem); }
.lp-more > summary { padding: 12px 0; min-height: 44px; color: #005fc7; cursor: pointer; }
.lt-links + .lp-more { padding: 0 14px; background: #fff; border-radius: 0 0 12px 12px; }
.lt-links + .lp-more .lt-links { padding: 0 0 10px; }
.lt-carousel { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.lt-carousel > .lt-card { flex: 0 0 78%; min-width: 0; scroll-snap-align: start; }
.lc-detail .lc-item { align-content: start; }
/* ---- 見やすさの手直し（2026-10-14 夜）：絞り込みは1行、業種のチップ、共通のカード、スマホを模した LINE の画面 ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line-filter .line-q { flex: 1 1 100%; max-width: 44rem; }
.line-more { flex: 1 1 100%; order: 3; }
.line-more > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--cr-brand-600); font-weight: 600; font-size: max(var(--fs-min), .9375rem); }
.line-more-b { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 4px 0 8px; }
.line-more-b > .filter-apply { flex-basis:100%; }
.line-more-b > label { display: grid; gap: 4px; min-width: 12rem; font-size: max(var(--fs-min), .875rem); font-weight: 600; color: var(--cr-ink-2); }
.line-more-b > .line-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.lc-tmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.lc-tmeta time { color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-variant-numeric: tabular-nums; }
.lc-period { color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); line-height: 1.5; overflow-wrap: anywhere; }
.line-group .lc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .line-group .lc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .line-group .lc-grid, .lc-grid.line-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* スマホを模した LINE の画面 */
.lp-wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; align-items: start; }
.lp-phone { position: sticky; top: 72px; }
.lp-side .lc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.phone { width: 100%; max-width: 440px; margin: 0 auto; padding: 6px; border-radius: 30px; background: #273445; box-shadow: 0 8px 24px rgba(15, 23, 42, .12); box-sizing: border-box; }
.phone-screen { display: flex; flex-direction: column; height: min(780px, calc(100vh - 160px)); min-height: 520px; border-radius: 24px; overflow: hidden; background: #d6e1f0; }
.ph-head { flex: none; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 12px; background: #fff; border-bottom: 1px solid #e6e8eb; }
.ph-head b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; color: #111; }
.ph-chat { flex: 1; display: flex; flex-direction: column-reverse; gap: 18px; overflow-y: auto; padding: 16px 12px 20px; overscroll-behavior: contain; }
.ph-msg { scroll-margin: 12px 0 16px; border-radius: 12px; }
.ph-msg:target { animation: ph-flash 2s ease-out; }
@keyframes ph-flash { 0%, 40% { background: rgba(255, 255, 255, .45); } 100% { background: transparent; } }
.ph-msg .lt-stack { gap: 6px; }
.ph-msg .lt-bubble { font-size: 1rem; line-height: 1.8; padding: 12px 16px; }
.ph-msg .lt-time { margin-top: 6px; color: #40516b; font-size: .875rem; }
.ph-date { align-self: center; padding: 5px 14px; border-radius: 999px; background: #5b6f8b; color: #fff; font-size: .875rem; font-weight: 600; }
.ph-rich { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-top: 1px solid #e6e8eb; }
.ph-rich span { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 8px 6px; border-right: 1px solid #eef0f3; border-bottom: 1px solid #eef0f3; text-align: center; color: #111; font-size: .875rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .lp-wrap { grid-template-columns: minmax(0, 1fr); }
  .lp-phone { position: static; }
}
@media (max-width: 640px) {
  .phone { padding: 0; border-radius: 16px; background: none; box-shadow: 0 6px 18px rgba(15, 23, 42, .15); }
  .phone-screen { height: 76vh; min-height: 460px; border-radius: 16px; }
}
.ph-msg .lt-time, .ph-date, .lt-time { font-size: .875rem; }
.ph-menu { flex: none; background: #fff; border-top: 1px solid #e6e8eb; display: flex; flex-direction: column-reverse; }
.ph-menu > summary { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; cursor: pointer; list-style: none; color: #555; font-size: .875rem; font-weight: 600; }
.ph-menu > summary::-webkit-details-marker { display: none; }
.ph-menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #888; border-bottom: 2px solid #888; transform: rotate(-135deg); margin-top: 4px; }
.ph-menu[open] > summary::after { transform: rotate(45deg); margin-top: -4px; }
.ph-menu .ph-rich { border-top: 0; }
/* ---- 見やすさの手直し2：カードは要点だけ、ブランドの画面の右は目次 ---- */
.lc-grid { gap: 20px; }
.lc-tbody { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.lc-thead { font-size: max(var(--fs-min), 1rem); line-height: 1.5; }
.lx-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--cr-line-2); border-radius: 12px; overflow: hidden; }
.lx-list > li + li { border-top: 1px solid var(--cr-line); }
.lx-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 16px; color: var(--cr-ink); }
body.cr .lx-row, body.cr .lx-row:hover { color: var(--cr-ink); text-decoration: none; }
.lx-row:hover { background: var(--cr-side, #f8fafc); }
.lx-pic { display: block; width: 64px; height: 85px; border-radius: 8px; overflow: hidden; background: #8ba7cf; }
.lx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lx-body { display: grid; gap: 6px; min-width: 0; }
.lx-title { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px; }
.lx-open { display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--cr-brand-600);font-size:.875rem;line-height:1.75;font-weight:600; }
.lx-open svg { width:16px;height:16px; }
.lx-head { font-weight: 700; font-size: max(var(--fs-min), 1rem); line-height: 1.5; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.lx-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #52627a; font-size: max(var(--fs-min), .875rem); font-variant-numeric: tabular-nums; }
.lx-period { color: var(--cr-ink-2); font-size: max(var(--fs-min), .875rem); line-height: 1.5; overflow-wrap: anywhere; }
.lp-wrap { max-width: 1160px; }
@media (max-width: 1100px) { .lp-wrap { grid-template-columns: minmax(0, 1fr); } .lp-phone { position: static; } }
.lx-pic.is-wide img { object-fit: contain; object-position: center; }
.lx-pic.is-wide { background: #8ba7cf; }
.ph-rich-img img { display: block; width: 100%; height: auto; }
/* 本文画像と右下の丸、どちらからも保存 */
.lt-open { display: block; }
.lt-card-img, .ph-rich-img { position: relative; }
.lt-dl { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(15, 23, 42, .62); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.lt-dl:hover { background: rgba(15, 23, 42, .82); }
.lt-dl svg { width: 22px; height: 22px; }
.lt-card .lt-dl { bottom: 8px; }
body.cr .lt-dl, body.cr .lt-dl:hover { color: #fff; text-decoration: none; }
/* 目次の行：押すとスマホのその配信へ＋まとめて保存・文をコピー */
.lx-row { display: block; padding: 0; }
.lx-link { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px 12px; color: var(--cr-ink); }
body.cr .lx-link, body.cr .lx-link:hover { color: var(--cr-ink); text-decoration: none; }
.lx-link:hover { background: var(--cr-side, #f8fafc); }
.lx-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px 108px; }
.lx-acts .cr-btn { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.lx-acts .cr-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .lx-acts { padding-left: 16px; } .lx-acts .cr-btn { min-height: 44px; } }
/* いまの業種と閲覧位置を表示。保存・コピーは常に同じ位置に置く。 */
.line-now { margin: 0 0 14px; font-size: max(var(--fs-min), 1.1875rem); }
.line-now small { margin-left: 8px; color: var(--cr-muted); font-size: max(var(--fs-min), .875rem); font-weight: 500; }
.lx-link[aria-current] { background: var(--cr-brand-50, #eef4fd); box-shadow: inset 3px 0 var(--cr-brand); }
.lx-link[aria-current] .lx-date::after { content: "閲覧中"; color: var(--cr-brand-600); font-weight: 700; }

/* LINE：検索、業種、配信本文の順に読む。共通の色と操作部品を使用する。 */
.line-filter { padding: 16px 20px 8px; border: 1px solid var(--cr-line-2); border-radius: 12px; background: #fff; margin-bottom: 16px; }
.line-browse { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 24px; margin-bottom: 28px; }
.line-view-switch { flex: none; }
.line-group { margin-bottom: 36px; }
.line-group-h { margin-bottom: 14px; }
.line-group-h h2, .line-now { font-size: 1.25rem; }
.lc-read { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--cr-brand-600); font-size: .875rem; font-weight: 600; padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--cr-line); }
.lc-read svg { width: 18px; height: 18px; }
.line-reader-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 16px; }
.line-reader-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.line-reader-title, .lp-side .line-sec > h2 { font-size: 1.125rem; margin: 0 0 12px; line-height: 1.5; }
.line-reader-help { margin: -4px 0 16px; color: var(--cr-ink-2); font-size: .875rem; line-height: 1.7; }
.line-related { max-width:1160px;margin-top:32px;padding-top:24px;border-top:1px solid var(--cr-line); }
.line-related h2 { margin:0 0 8px;font-size:1.125rem; }
.line-related > .line-reader-help { margin:0 0 8px; }
.line-related .q-related { margin:0;gap:8px 24px; }
.line-related .q-related a { display:inline-flex;align-items:center;min-height:44px;max-width:100%;overflow-wrap:anywhere;font-size:1rem; }
#line-reader, #lc-grid { scroll-margin-top: 84px; }
.line-delivery-switch { display:flex;gap:8px;margin:0 0 20px;border-bottom:1px solid var(--cr-line-2); }
.line-delivery-switch a { display:inline-flex;align-items:center;min-height:44px;padding:0 16px;color:var(--cr-ink-2);border-bottom:3px solid transparent;font-weight:600; }
.line-delivery-switch a[aria-current] { color:var(--cr-brand-600);border-bottom-color:var(--cr-brand); }
.line-calendar { max-width:560px;margin-bottom:24px; }
.line-cal-month { display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center;margin-bottom:12px; }
.line-cal-month > a { padding:0;min-height:44px; }
.line-cal-month form { display:flex;flex-wrap:wrap;justify-content:center;gap:8px;min-width:0; }
.line-cal-month label { min-width:0; }
.line-cal-month select { max-width:100%;min-height:44px;font-weight:700; }
.line-cal-grid { width:100%;table-layout:fixed;border-spacing:3px;border-collapse:separate;text-align:center;font-size:1rem; }
.line-cal-grid th { padding:4px 0;font-size:.875rem;font-weight:500;color:var(--cr-ink-2); }
.line-cal-grid td { padding:0;vertical-align:top;border:0; }
.line-cal-date, .line-cal-empty { display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;min-height:58px;padding:6px 0;box-sizing:border-box;border:2px solid transparent;border-radius:8px; }
.line-cal-date { background:#fff;color:var(--cr-brand-600);border-color:var(--cr-line-2);font-weight:600; }
.line-cal-date small { font-size:.875rem;line-height:1.4;font-weight:400;overflow-wrap:anywhere; }
.line-cal-date[aria-current] { background:var(--cr-brand-50,#eef4fd);border-color:var(--cr-brand); }
.line-cal-date:hover { background:var(--cr-brand-50,#eef4fd);text-decoration:none; }
.line-cal-empty { color:var(--cr-muted); }
.line-delivery-switch a:focus-visible, .line-cal-date:focus-visible { outline:3px solid var(--cr-brand);outline-offset:2px; }
.line-cal-results { scroll-margin-top:84px; }
.line-cal-results h3 { font-size:1.125rem;margin:0 0 12px; }
.line-cal-results h3 span { font-size:.875rem;font-weight:400;margin-left:8px;color:var(--cr-ink-2); }
.line-day-pages { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;font-size:.875rem; }
.lx-pic { width: 72px; height: 92px; background: #edf2f8; }
.line-reader-nav a:focus-visible, .lc-tile:focus-visible, .lx-link:focus-visible { outline: 3px solid var(--cr-brand); outline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 801px) { .line-group .lc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .line-group .lc-grid, .lc-grid.line-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .line-filter { padding: 12px 14px 4px; gap: 8px; }
  .line-filter .line-q { flex: 1 1 150px; }
  .line-filter .line-btns { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; }
  .line-more-b > label { min-width: 0; flex: 1 1 120px; }
  .line-more-b > .line-check { flex-basis: 100%; }
  .line-browse { gap: 12px; margin-bottom: 24px; }
  .lc-grid, .line-group .lc-grid { gap: 12px; }
  .lc-tbody { padding: 12px; }
  .line-group-h { gap: 0 12px; }
  .line-group-h a { font-size: .875rem; }
  .lx-link { padding: 16px 14px 12px; gap: 12px; }
  .lx-acts { padding: 0 14px 16px; }
  .lx-head { -webkit-line-clamp: 3; }
  .phone-screen { min-height: 480px; }
}
@media (max-width: 420px) {
  .line-group .lc-grid, .lc-grid.line-cards { grid-template-columns: minmax(0, 1fr); }
  .lc-tbody { padding: 16px; }
  .line-reader-nav a { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .ph-msg:target { animation: none; outline: 2px solid var(--cr-brand); } .lc-tile { transition: none; } }

/* 選んだ1配信を読む。操作を本文の外に置き、狭幅はページ全体でスクロールする。 */
.phone.is-focused .phone-screen { height: min(800px, calc(100dvh - 128px)); min-height: 360px; }
.phone.is-focused .ph-chat { flex-direction: column; min-height: 0; }
.phone.is-focused .ph-date, .phone.is-focused .ph-msg[hidden] { display: none; }
.phone.is-focused .ph-msg:target { animation: none; }
.ph-reader-tools { flex: none; background: #fff; border-bottom: 1px solid var(--cr-line); }
.ph-reader-tools[hidden] { display: none; }
.ph-current { padding: 10px 14px; color: var(--cr-ink); }
.ph-current-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .875rem; color: var(--cr-ink-2); }
.ph-current-meta time { font-weight: 600; }
.ph-current p { margin: 5px 0 0; font-size: .9375rem; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ph-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--cr-line); }
.phone .ph-controls > * { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; min-width: 0; padding: 6px 4px; background: #fff; border: 0; border-radius: 0; font: inherit; font-size: 1rem; font-weight: 600; color: var(--cr-brand-600); cursor: pointer; }
.phone .ph-controls > * + * { border-left: 1px solid var(--cr-line); }
.ph-controls > :disabled { color: var(--cr-muted); background: #f5f7fa; cursor: default; }
.ph-controls > :not(:disabled):hover { background: var(--cr-brand-50, #eef4fd); text-decoration: none; }
.ph-controls > :focus-visible, .ph-chat:focus-visible { outline: 3px solid var(--cr-brand); outline-offset: -3px; }
@media (max-width: 1100px) {
  .phone.is-focused .phone-screen { height: auto; min-height: 0; overflow: visible; }
  .phone.is-focused .ph-head { border-radius: 18px 18px 0 0; }
  .phone.is-focused .ph-chat { display: block; overflow: visible; }
  .phone.is-focused .ph-reader-tools { position: sticky; top: 64px; z-index: 2; }
  .phone.is-focused .ph-menu { border-radius: 0 0 16px 16px; overflow: hidden; }
}

/* 一覧でも配信をLINE風のトークとして見せる。中の部品は装飾で、操作はカード全体のリンクだけ。 */
.lc-talk { display: block; flex: none; min-width: 0; }
.lc-talk-head { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 14px; background: #fff; border-bottom: 1px solid rgba(42, 61, 85, .08); }
.lc-talk-head > .cr-av { flex: none; width: 36px; height: 36px; }
.lc-talk-head > .cr-av.wide { width: 80px; height: 32px; }
.lc-talk-head b { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.35; }
.lc-talk-screen { position: relative; display: flex; flex-direction: column; align-items: center; height: 292px; padding: 12px 12px 20px; box-sizing: border-box; overflow: hidden; background: #b9cde3; }
.lc-talk-screen::after { content: ""; position: absolute; inset: auto 0 0; height: 18px; pointer-events: none; background: linear-gradient(transparent, #b9cde3); }
.lc-talk-day { display: inline-flex; flex: none; align-items: center; min-height: 24px; padding: 2px 11px; margin-bottom: 14px; border-radius: 20px; background: #536c88; color: #fff; font-size: .875rem; line-height: 1.5; }
.lc-talk-row { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-width: 0; }
.lc-talk-row > .cr-av { flex: none; width: 26px; height: 26px; margin-top: 2px; }
.lc-talk-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; flex: 1; }
.lc-talk-bubble { display: block; position: relative; max-width: 100%; padding: 10px 12px; border-radius: 4px 14px 14px; box-sizing: border-box; background: #fff; color: #182433; box-shadow: 0 1px 1px rgba(25, 54, 79, .08); }
.lc-talk-bubble:first-child::before { content: ""; position: absolute; left: -6px; top: 8px; border-top: 7px solid #fff; border-left: 7px solid transparent; }
.lc-talk-copy { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.65; }
.lc-talk-photo { display: block; width: 100%; border-radius: 12px; overflow: hidden; background: #fff; }
.lc-talk-photo img { display: block; width: 100%; height: auto; max-height: 190px; object-fit: cover; object-position: top; }
.lc-talk-photo.is-wide img { object-fit: contain; }
.lc-talk-card { display: block; width: 100%; overflow: hidden; border-radius: 12px; background: #fff; color: #182433; }
.lc-talk-card .lc-talk-photo { border-radius: 0; }
.lc-talk-card-body { display: grid; gap: 5px; padding: 10px 12px; }
.lc-talk-card-title { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.lc-talk-card-body .lc-talk-copy { -webkit-line-clamp: 3; }
.lc-talk-time { display: block; align-self: flex-end; color: #304c6a; font-size: .875rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.lc-tile .lc-read { margin-top: auto; min-height: 44px; box-sizing: border-box; }
@media (max-width: 640px) {
  .lc-talk-head { gap: 8px; padding-inline: 10px; }
  .lc-talk-screen { padding-inline: 10px; }
  .lc-talk-row { gap: 7px; }
  .lc-talk-row > .cr-av { width: 24px; height: 24px; }
}

/* 大量の配信は条件を指定して探す。画像が無い目次に空の枠を置かない。 */
.line-search-help, .line-page-help { margin: 0; color: var(--cr-ink-2); font-size: .875rem; line-height: 1.6; }
.line-search-help { flex: 1 1 100%; margin-top: -4px; }
.line-page-help { margin: 20px 0 8px; text-align: center; }
.line-refine { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(2, minmax(140px, 1fr)) minmax(120px, 1fr); gap: 12px; flex: 1 1 100%; min-width: 0; }
.line-refine > label { display: grid; gap: 6px; min-width: 0; color: var(--cr-ink-2); font-size: .875rem; font-weight: 600; }
.line-refine input[type=date] { min-width: 0; }
.line-count { overflow-wrap: anywhere; }
.lx-link[data-no-image] { grid-template-columns: minmax(0, 1fr); }
.lx-link[data-no-image] + .lx-acts { padding-left: 20px; }
.lx-snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.7; color: var(--cr-ink-2); }
@media (max-width: 800px) {
  .line-refine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .line-category-filter { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .line-refine { grid-template-columns: minmax(0, 1fr); }
  .line-category-filter { grid-column: auto; }
  .lx-link[data-no-image] + .lx-acts { padding-left: 14px; }
}

/* Compact controls keep the classification visible without stretching empty boxes. */
.taxonomy-filters { display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 28px;width:100%;flex:1 1 100%;margin:8px 0;min-width:0; }
.taxonomy-filters > .taxonomy-field { display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:10px;min-width:0;max-width:100%;font-size:.875rem;font-weight:600;color:var(--cr-ink-2); }
.taxonomy-filters > .taxonomy-field[hidden] { display:none; }
.taxonomy-field > span { padding-top:11px; }
.taxonomy-field:has(.choice-menu[open]) { flex:1 1 28rem; }
body.cr .taxonomy-filters .cr-select { width:100%;min-width:0;min-height:44px;font-size:1rem;border-radius:22px; }
.line-filter--cards .line-refine { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:640px) {
  .taxonomy-filters { gap:10px; }
  .taxonomy-filters > .taxonomy-field { flex:1 1 100%;grid-template-columns:56px minmax(0,1fr); }
  .line-filter--cards .line-refine { grid-template-columns:minmax(0,1fr); }
}

.taxonomy-field .choice-picker { width:100%; }
.taxonomy-field .choice-menu > summary,.taxonomy-field .choice-list button,.taxonomy-field [data-choice-search] { font-size:1rem;min-height:44px; }
.taxonomy-field .choice-menu { border:0;border-radius:0;background:transparent; }
.taxonomy-field .choice-menu > summary { display:flex;align-items:center;gap:14px;padding:10px 16px;border:1px solid transparent;border-radius:24px;background:var(--cr-head);list-style:none; }
.taxonomy-field .choice-menu > summary::-webkit-details-marker { display:none; }
.taxonomy-field .choice-menu > summary::after { content:"";flex:none;width:7px;height:7px;margin-left:auto;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg); }
.taxonomy-field .choice-menu[open] > summary::after { transform:translateY(2px) rotate(225deg); }
.taxonomy-field .choice-menu > summary:hover { border-color:var(--cr-line-2); }
.taxonomy-field:has(option:checked:not([value=""])) .choice-menu > summary { color:var(--cr-brand-600);background:var(--cr-brand-50);border-color:var(--cr-line-2); }
.taxonomy-field .choice-options { margin-top:10px;padding:12px;border:1px solid var(--cr-line);border-radius:14px;background:#fff; }
.taxonomy-field .choice-list { grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:6px; }
.taxonomy-field .choice-list button { border-radius:10px; }
@media(max-width:640px) {
  .taxonomy-filters > .taxonomy-field:has(.choice-menu[open]) { grid-template-columns:minmax(0,1fr);gap:6px; }
  .taxonomy-field:has(.choice-menu[open]) > span { padding-top:0; }
  .taxonomy-field .choice-options { padding:8px; }
  .taxonomy-field .choice-list { grid-template-columns:minmax(0,1fr); }
}

.research-shortcuts { display:flex;flex-wrap:wrap;align-items:center;gap:8px;grid-column:1/-1;flex-basis:100%;min-width:0;margin:0 0 12px;font-size:.875rem;color:var(--cr-muted); }
.research-shortcuts .cr-btn { min-height:44px;white-space:normal; }
.research-shortcuts:not(.research-period) .cr-btn { border-radius:24px;border-color:transparent;background:var(--cr-head); }
.research-shortcuts:not(.research-period) .cr-btn:hover { border-color:var(--cr-line-2);background:var(--cr-brand-50); }
.research-shortcuts [aria-current] { border-color:var(--cr-brand);background:var(--cr-brand-50);color:var(--cr-brand-600); }
.research-shortcuts:not(.research-period) .cr-btn[aria-current] { border-color:var(--cr-brand);background:var(--cr-brand-50); }
.research-period { margin:0; }
.line-result { scroll-margin-top:88px; }
.line-result:target { outline:2px solid var(--cr-brand);outline-offset:4px;border-radius:12px; }
.q-related small { font-size:.875rem; }

/* Keep results reachable and previews readable at every available content width. */
#line-search-form, #mail-search-form, .research-results { scroll-margin-top:84px; }
/* These containers only receive focus after an anchor jump; controls keep their focus ring. */
#line-search-form:focus, #mail-search-form:focus, .research-results:focus { outline:none; }
.research-result-nav { display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:4px 0 16px; }
.research-result-nav > .cr-btn { border-color:transparent;background:transparent;padding-inline:0;color:var(--cr-ink-2); }
.research-result-nav > .cr-btn:hover { color:var(--cr-brand-600);text-decoration:underline; }
.line-result-toolbar > label { display:flex;align-items:center;gap:8px;min-width:0;margin-left:auto;font-size:.875rem; }
.line-result-toolbar .cr-select { min-width:0;min-height:44px;font-size:1rem; }
.research-result-nav .cr-btn { min-height:44px; }
.line-group .lc-grid, .lc-grid.line-cards { grid-template-columns:repeat(auto-fill,minmax(min(100%,max(260px,calc((100% - 60px)/4))),1fr)); }
@media(max-width:420px) {
  .research-result-nav { align-items:stretch; }
  .line-result-toolbar > label { flex:1 1 100%; }
  .line-result-toolbar .cr-select { flex:1; }
}

/* Keep secondary research actions together, available with one native disclosure. */
.research-search-actions { display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;min-width:0;margin:12px 0 16px; }
.research-search-actions > .research-shortcuts { flex:1 1 26rem;margin:0; }
.line-filter-options { flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;min-width:0; }
.line-filter-options.research-search-actions { margin:0; }
.line-filter-options > .line-more { flex:0 1 auto;order:0; }
.line-filter-options > .line-more[open] { flex-basis:100%; }
.line-filter-options > .line-search-help { flex-basis:100%; }
.research-channel { display:inline-flex;align-items:center;min-height:44px;font-size:.875rem; }
.research-channel-action { flex:0 1 auto;min-width:0;max-width:28rem; }
.research-channel-action p { margin:0;font-size:.875rem;line-height:1.6;color:var(--cr-muted);overflow-wrap:anywhere; }
.line-result-toolbar .line-view-switch { margin:0; }
.research-tools { min-width:0;max-width:100%;margin-left:auto; }
.research-tools > summary { box-sizing:border-box;min-height:44px;padding:10px 0;color:var(--cr-ink-2);font-size:.875rem;font-weight:600;cursor:pointer; }
.research-tools[open] { flex:1 1 100%;margin-left:0; }
.research-tools[open] > summary { width:fit-content;max-width:100%; }
.research-tools-content { display:flex;flex-wrap:wrap;align-items:start;gap:20px;margin-top:10px;padding:16px;border:1px solid var(--cr-line-2);border-radius:10px;background:#fff; }
.research-tools-content > * { min-width:0;max-width:100%;flex:1 1 280px; }
.research-tools-content h2,.research-tools-content h3 { margin:0 0 10px;font-size:1rem; }
.research-tools-content .search-saved { margin:0;padding:12px; }
.research-tools-content .search-saved h2 span,.research-tools-content .search-saved h3 span { color:var(--cr-muted);font-weight:400;font-size:.875rem; }
.research-tools-content .cr-saved li > span { flex:1;min-width:0;overflow-wrap:anywhere;font-size:.875rem; }
.research-tools-content .cr-saved li > form { flex:none; }
.research-tools-content form { margin:0; }
.research-tools-content .search-save form { padding:0; }
.research-tools-content label { display:grid;gap:6px;font-size:.875rem; }
.research-tools-content input { box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:44px;font-size:1rem; }
.research-tools-content p { font-size:.875rem; }
.research-tools-content .search-actions { margin:0;flex-wrap:wrap; }
.search-page .research-tools-content .search-actions .sa-label { position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal; }
.search-page .research-tools-content .search-actions .cr-btn { width:auto;min-width:0;padding:10px 12px;gap:8px; }
.research-tools-content.research-saved-content { display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:48rem;box-sizing:border-box; }
.research-saved-content .search-saved { padding:0;border:0;border-radius:0; }
.research-saved-content .search-saved-list { padding:0;max-height:18rem; }
.research-saved-content .search-saved-list li { padding:0;border-top:1px solid var(--cr-line);gap:8px; }
.research-saved-content .search-saved-list li a { padding:10px 8px;color:var(--cr-brand-600);font-size:1rem;border-radius:6px; }
.research-saved-content .search-saved-list li a:hover { background:var(--cr-brand-50); }
.search-save-toggle { border-top:1px solid var(--cr-line); }
.search-save-toggle > summary { padding:12px 0;min-height:44px;box-sizing:border-box;color:var(--cr-brand-600);font-size:1rem;font-weight:600;cursor:pointer; }
.research-saved-content .search-save-form { display:grid;gap:12px;max-width:36rem;padding:4px 0 0; }
.research-saved-content .search-save-form .cr-btn { justify-self:start; }
.research-saved-content .search-save-form p { margin:0;color:var(--cr-muted); }
.research-saved-content .search-tools-footer { padding-top:12px;border-top:1px solid var(--cr-line); }
@media(max-width:640px) {
  .research-tools-content { padding:12px; }
  .research-tools { margin-left:0; }
  .research-bars > .cr-toolbar { flex-basis:100%;gap:12px; }
  .research-bars > .research-result-nav { flex-basis:100%; }
  .search-page .cr-toolbar .cr-count { flex-basis:100%; }
  .search-page .search-sort { flex:1 1 100%; }
  .search-page .search-sort .cr-select { flex:1;min-width:0;width:auto; }
  .b-hero .act { gap:12px; }
  .b-follow-actions { flex-basis:100%;margin-left:0;padding-top:12px;border-top:1px solid var(--cr-line); }
}

.cmp-brand-picker { flex:1 0 100%;box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--line,#d6e0ef);border-radius:12px;background:#fff;scroll-margin-top:84px; }
.brands-primary > .note, .wt-search > .wt-note { flex-basis:100%;margin:0;font-size:.875rem; }
.cmp-brand-picker>summary { padding:14px 16px;min-height:44px;cursor:pointer;font-weight:700;font-size:1rem; }
.cmp-brand-picker-body { display:grid;gap:14px;padding:0 16px 16px;min-width:0; }
.cmp-brand-picker-search { display:flex;gap:12px;align-items:end;flex-wrap:wrap; }
.cmp-brand-picker-search label { display:grid;gap:6px;flex:1;min-width:180px;font-size:.875rem; }
.cmp-brand-picker-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0; }
.cmp-brand-picker-list li { display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;border:1px solid var(--line,#d6e0ef);border-radius:10px;padding:12px; }
.cmp-brand-picker-brand { display:flex;align-items:center;gap:10px;min-width:0; }
.cmp-brand-picker-brand>span:last-child { min-width:0;overflow-wrap:anywhere; }
.cmp-brand-picker-brand .cr-tile { flex-shrink:0;width:48px;height:48px; }
.cmp-brand-picker-brand strong,.cmp-brand-picker-brand small { display:block;font-size:.875rem; }
.cmp-brand-picker-brand small { margin-top:4px; }
.cmp-brand-picker-list button { flex-shrink:0; }
.cmp-brand-picker-pages { display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;font-size:.875rem; }
@media(max-width:640px) {
  .cmp-brand-picker-list { grid-template-columns:minmax(0,1fr); }
  .cmp-brand-picker-list li { flex-wrap:wrap; }
  .cmp-brand-picker-body { padding:0 12px 12px; }
}
