/* カツプロの共通の枠（2026-11-22・見本 dev/top-2026-11 から）。ヘッダー＝.uh、左の帯＝.uc-side（ログイン前）/.mp-side（会員）/.kpm-side（管理）、右下＝.uc-fab、広告＝.kp-ad* */
  .uh { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e5e7eb; }
  .uh__in { display: flex; align-items: center; gap: 22px; height: 64px; padding: 0 24px; }
  .uh__logo { display: flex; align-items: center; flex: none; }
  .uh__logo img { height: 30px; width: auto; }
  .uh__links { display: flex; gap: 22px; margin-left: auto; }
  .uh__links a { font-size: 15px; color: #374151; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .uh__links a:hover { color: #0055ff; }
  .uh__links { align-items: center; }
  .uh__dd { position: relative; }
  .uh__dd summary { list-style: none; cursor: pointer; font-size: 15px; color: #374151; font-weight: 600; white-space: nowrap; }
  .uh__dd summary::-webkit-details-marker { display: none; }
  .uh__dd summary::after { content: "▾"; margin-left: 4px; font-size: 15px; }
  .uh__dd summary:hover { color: #0055ff; }
  .uh__dd > div { position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 12px); background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px; display: flex; flex-direction: column; min-width: 180px; }
  .uh__dd > div a { padding: 9px 12px; border-radius: 8px; }
  .uh__dd > div a:hover { background: #f3f6ff; }
  .uh__btns { display: flex; gap: 8px; flex: none; }
  .uh__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
  .uh__btn--main { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); color: #fff; box-shadow: 0 6px 16px rgba(0,85,255,.25); }
  .uh__btn--main::after { content: ""; flex: none; width: 20px; height: 20px; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230055ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
  .uh__btn--sub { border: 1px solid #cbd5e1; color: #111827; }
  .uh__menu { display: none; }
  @media (max-width: 1023px) {
    .uh__in { height: 56px; padding: 0 14px; gap: 10px; }
    .uh__links, .uh__btns { display: none; }
    .uh__menu { display: block; margin-left: auto; position: relative; }
    .uh__menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #111827; }
    .uh__menu summary svg { width: 26px; height: 26px; display: block; }
    .uh__menu .uh__i-close, .uh__menu[open] .uh__i-open { display: none; }
    .uh__menu[open] .uh__i-close { display: block; }
    .uh__menu[open] summary { background: #f3f4f6; }
    .uh__menu-g { padding: 10px 12px 2px; font-size: 15px; font-weight: 700; color: #111827; }
    .uh__menu nav a.uh__menu-sub { padding-left: 28px; font-weight: 600; color: #374151; }
    .uh__menu nav a[aria-current="page"] { color: #0055ff; }
    .uh__menu-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid #e5e7eb; }
    .uh__menu nav a.uh__mb { text-align: center; padding: 12px; border-radius: 999px; font-weight: 800; }
    .uh__menu nav a.uh__mb--main { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); color: #fff; }
    .uh__menu nav a.uh__mb--sub { border: 1px solid #cbd5e1; color: #111827; }
    .uh__menu summary::-webkit-details-marker { display: none; }
    .uh__menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px; display: flex; flex-direction: column; min-width: 220px; }
    .uh__menu nav a { padding: 10px 12px; font-size: 15px; font-weight: 700; color: #111827; text-decoration: none; border-radius: 8px; }
    .uh__menu nav a:hover { background: #f3f6ff; }
  }
  .mp-side nav a { display: flex !important; align-items: center; gap: 10px; border-radius: 10px; margin: 0 -10px; padding: 9px 10px !important; }
  .mp-side nav a[aria-current="page"] { background: #eef4ff; color: var(--blue); }
  .mp-side nav a em { margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 15px; line-height: 22px; text-align: center; }
  .mp-side__i { width: 20px; height: 20px; flex: none; color: var(--blue); }
  .mp-side__tools { margin-top: 8px !important; border-top: 1px solid var(--line); border-radius: 0 !important; padding-top: 14px !important; }
  .mp-out { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px; border-radius: 12px; color: var(--sub); font-weight: 700; }
  .mp-out:hover { background: #f3f4f6; }
  .mp-out svg { color: var(--sub); }
  .uh__me { align-items: center; }
  .uh__ic { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #111827; }
  .uh__ic:hover { background: #eef4ff; color: #0055ff; }
  .uh__ic svg { width: 22px; height: 22px; }
  .uh__dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 2px #fff; }
  .uh__btn--me { border: 1px solid #c7d7fb; color: #0055ff; background: #eef4ff; padding: 0 16px 0 5px; }
  .uh__mps { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .uh__mps .uh__mp { display: flex !important; align-items: center; gap: 8px; padding: 9px 10px !important; border-radius: 10px; font-weight: 700; color: #111827; white-space: nowrap; }
  .uh__mps .uh__mp svg { width: 18px; height: 18px; flex: none; color: #0055ff; }
  .uh__mps .uh__mp em { margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 14px; line-height: 22px; text-align: center; }
  .uh__mps .uh__mp[aria-current="page"] { background: #eef4ff; color: #0055ff; }
  .uh__home { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; margin-right: auto; padding: 6px 14px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; color: #111827; font-size: 15px; font-weight: 800; white-space: nowrap; text-decoration: none; }
  .uh__home svg { width: 18px; height: 18px; color: #0055ff; flex: none; }
  .uh__home:hover { border-color: #0055ff; color: #0055ff; }
  .uh__home[aria-current="page"] { background: #eef4ff; border-color: #c7d7fb; color: #0055ff; }
  @media (max-width: 640px) { .uh__home { margin-left: 8px; padding: 6px 8px; } .uh__home span { display: none; } }   /* スマホは家のマークだけ */
  .uh__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); color: #fff; font-weight: 800; }
  .uh__links a[aria-current="page"] { color: #0055ff; font-weight: 800; }
  .uc { --kp-indigo: #2410f5; --kp-blue: #0055ff; --kp-cyan: #00b8f5; --kp-grad: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); --kp-tint: #eef4ff; --kp-tint2: #e6f7fe; --red: #0055ff; --blue: #0055ff; --navy: #2410f5; --ink: #111827; --txt: #374151; --sub: #4b5563; --line: #cbd5e1; --cream: #f1f6ff; color: var(--txt); font-size: 15px; line-height: 1.7; display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: #fff; }
  .uc > * { min-width: 0; }
  .uc-side { position: sticky; top: 64px; align-self: start; height: calc(100vh - 64px); box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; padding: 20px 20px 14px; border-right: 1px solid var(--line); background: #fff; }
  .uc-side h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
  .uc-side nav { display: flex; flex-direction: column; }
  .uc-side nav a { display: block; padding: 10px 0; font-size: 16px; font-weight: 700; color: var(--ink); }
  .uc-side nav { flex: 0 1 auto; min-height: 0; overflow-y: auto; margin: 0 -20px; padding: 0 20px 8px; }
  .uc-side__cta { flex: none; padding-top: 14px; }
  .uc-side__cta .uc-cta { margin-top: 8px; padding: 12px 14px; }
  .uc-side { overflow-y: auto; scrollbar-width: thin; }
  .uc-side__about { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--txt); }
  .uc-side__about b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
  .uc-side__about p { margin: 0; }
  .uc-side__about a { display: inline-block; margin-top: 6px; color: var(--blue) !important; font-weight: 700; }
  .uc-side__ad { margin-top: 16px; text-align: center; }
  .uc-side__ad > span { display: block; font-size: 15px; color: var(--sub); margin-bottom: 4px; }
  .uc-side__adbox { min-height: 250px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 8px; background: #f8fafc; color: var(--sub); font-size: 15px; padding: 10px; }
  .uc-side__t { font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 10px; }
  .uc-side__h { margin: 18px 0 4px; font-size: 15px; font-weight: 800; color: var(--sub); }
  .uc-side__h:first-child { margin-top: 0; }
  .uc-side__ic { flex: none; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #eef4ff; color: var(--blue); }
  .uc-side__ic svg { width: 17px; height: 17px; }
  .uc-side nav a:hover { color: var(--blue); }
  .uc-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 15px 16px; border-radius: 12px; font-weight: 800; }
  .uc-cta::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 999px; background-repeat: no-repeat; background-position: center; background-size: 14px 14px; }
  .uc-cta--main { margin-top: 22px; background: var(--kp-grad); color: #fff !important; box-shadow: 0 6px 16px rgba(0,85,255,.25); transition: box-shadow .2s ease, transform .2s ease; } .uc-cta--main::after { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230055ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E"); } .uc-cta--main:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,85,255,.32); }
  .uc-cta--sub { background: var(--kp-tint); color: var(--kp-indigo) !important; transition: background .2s ease; } .uc-cta--sub::after { background-color: var(--kp-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E"); } .uc-cta--sub:hover { background: #e0ebff; }
  .tp-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px; max-height: 60vh; overflow: auto; }
  .tp-sugg[hidden] { display: none; }
  .tp-sugg p { padding: 10px; color: var(--sub); }
  .uc-fab { --blue: #0055ff; --navy: #1e3a8a; --ink: #111827; --sub: #4b5563; --line: #cbd5e1; font-size: 15px; line-height: 1.7; color: #374151; position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; max-width: calc(100vw - 40px); }
  .uc-fab__btn { position: relative; width: 56px; height: 56px; border-radius: 999px; border: 0; background: var(--c, #f97316); color: #fff !important; box-shadow: 0 8px 22px rgba(15,23,42,.28); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
  .uc-fab__btn svg { width: 24px; height: 24px; }
  .uc-fab__btn:hover, .uc-fab__btn:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,.3); outline: none; }
  .uc-fab__btn--search { --c: #00a3e8; } .uc-fab__btn--mail { --c: #0055ff; } .uc-fab__btn--ai { --c: #2410f5; }
  .uc-fab__btn[aria-expanded="true"] { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--c); }
  .uc-fab__btn::before { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font-size: 15px; font-weight: 700; color: #fff; background: var(--ink); padding: 5px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
  .uc-fab__btn:hover::before, .uc-fab__btn:focus-visible::before { opacity: 1; }
  .uc-fab__panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(380px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(15,23,42,.22); padding: 16px; }
  .uc-fab__panel[hidden] { display: none; }
  .uc-fab__ttl { font-weight: 800; color: var(--ink); margin-bottom: 8px; }
  .uc-fab__s input { width: 100%; font-size: 16px; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--blue); color: var(--ink); }
  .uc-fab__panel .tp-sugg { position: static; box-shadow: none; border: 0; padding: 6px 0 0; max-height: 46vh; }
  .uc-fab__all { display: inline-block; margin-top: 10px; color: var(--blue) !important; font-weight: 700; }
  .tp-ic { flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #eef4ff; color: var(--blue); }
  .tp-ic svg { width: 21px; height: 21px; }
  .tp-tool { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .tp-tool:hover { border-color: var(--blue); }
  .tp-tool__tx { display: flex; flex-direction: column; min-width: 0; }
  .tp-tool__tx b { color: var(--ink); line-height: 1.4; }
  .tp-bds { display: flex; flex-wrap: wrap; gap: 4px; }
  .tp-bd { font-size: 15px; line-height: 1.3; padding: 0 7px; border-radius: 6px; font-weight: 700; }
  .tp-bd--pub { background: #e7f6ec; color: #15803d; } .tp-bd--mem { background: #fff1e6; color: #b45309; }
  .tp-bd--paid { background: #f1ebff; color: #6d28d9; } .tp-bd--key { background: #eef0f3; color: #374151; }
  @media (max-width: 1023px) { .uc { grid-template-columns: 1fr; } .uc-side { display: none; } }
  .kpm-side nav a span { flex: 1; white-space: nowrap; }   /* 2026-11-22 カツ「改行ならないようにして」 */
  .kpm-side nav > a:nth-of-type(3) { margin-bottom: 6px; }
  .kpm-sp { display: none; margin-bottom: 14px; }
  .kpm-sp summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #111827; color: #fff; font-weight: 800; cursor: pointer; list-style: none; }
  .kpm-sp summary::-webkit-details-marker { display: none; }
  .kpm-sp__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #cbd5e1; }
  .kpm-sp__nav .kpm-g { grid-column: 1 / -1; }
  .kpm-sp__nav a { display: flex; align-items: center; gap: 8px; padding: 7px 4px; color: #111827; font-weight: 700; }
  .kpm-sp__nav a em { margin-left: auto; font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; text-align: center; line-height: 22px; }
  .kpm-sp__nav a[aria-current] { color: #0055ff; }
  @media (max-width: 1023px) { .kpm-sp { display: block; } }
  @media (max-width: 640px) { .kpm-sp__nav { grid-template-columns: 1fr; } }
  .kpm-side nav { gap: 2px; } .kpm-g { margin: 14px 0 4px; font-weight: 800; color: #4b5563; font-size: 15px; }
/* ---- 本番に入れるときの合わせ（2026-11-22） ---- */
/* 中身（各画面の本番のまま）には枠の文字色・行の高さ・リンクの色を効かせない。帯と右下のボタンの中だけ */
.uc.kpu { background: transparent; color: inherit; line-height: inherit; font-size: inherit; min-height: 0; }
.uc-side a, .uc-fab a { color: inherit; text-decoration: none; } .uh a { text-decoration: none; }
.uc-side { font-size: 15px; line-height: 1.7; color: #374151; --ink: #111827; --txt: #374151; --sub: #4b5563; --line: #cbd5e1; --blue: #0055ff; --kp-grad: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); --kp-tint: #eef4ff; --kp-indigo: #2410f5; --kp-blue: #0055ff; }
.kpu-main { min-width: 0; display: flex; flex-direction: column; }
.kpu-main > #site-main { width: 100%; }
/* 広告（ログインしていない人だけ・partials/adsense と同じ番号） */
.kp-ad { text-align: center; }
.kp-ad > span { display: block; font-size: 15px; color: #4b5563; margin-bottom: 4px; }
.kp-adfoot { padding: 8px 16px 28px; }
.kp-adfoot .kp-ad { max-width: 1152px; margin: 0 auto; }
@media (max-width: 639px) { .kp-adfoot { padding: 4px 10px 20px; } }
.uc-side .kp-ad { margin-top: 16px; min-height: 250px; }
/* 2026-11-22 Google が広告を返さなかった枠（unfilled）は「スポンサーリンク」の見出しごと隠す（決定台帳 [2296]） */
.kp-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]), .kp-adfoot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.uh__links a[aria-current="page"], .uh__dd[aria-current] > summary, .uh__menu nav a[aria-current="page"] { color: #0055ff; font-weight: 800; }
.uh__out { margin: 0; } .uh__out button { width: 100%; text-align: center; padding: 12px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; color: #111827; font-weight: 800; font-size: 15px; cursor: pointer; }
.mp-out { background: none; border: 0; cursor: pointer; font: inherit; }
/* 本番の AI チャットの枠の丸いボタンは、右下の3つのボタンの「AI チャット」から開くので隠す */
#kcp-open { display: none !important; }
/* 2026-11-22 右の AI チャットの枠を開いてページを左に寄せている間（html.kcp-room・partials/chat-panel）は、中身の幅が 440px 狭くなる。
   画面の幅で決まる2列（lg・md・sm）のままだと箱が細く潰れる（HOME の「お知らせ」が縦書きのようになった）ので、1680px 未満では1列にする（[2245]） */
@media (max-width: 1679px) {
  html.kcp-room main [class~="lg:grid-cols-[minmax(0,1fr)_300px]"],
  html.kcp-room main [class~="md:grid-cols-2"],
  html.kcp-room main [class~="sm:grid-cols-2"] { grid-template-columns: minmax(0, 1fr); }
  /* ヘッダーも同じ幅になり、右端の通知・DM・マイページが枠の下に隠れていた。文字のリンクは左の帯にもあるので、寄せている間は隠す */
  html.kcp-room .uh__links { display: none; }
}
.uc.kpu { flex: 1 0 auto; }
.uh__logo { gap: 8px; } .uh__logo .kps-svc { font-size: 15px; font-weight: 800; color: #111827; background: #eef4ff; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
@media (max-width: 640px) { .uh__logo .kps-svc { display: none; } }
/* ---- ページごとの直し（2026-11-22・見本 build_tools.py / build_keep.py から） ---- */
/* 枠線は濃く（カツ「枠線は濃い方が視認性がいい」[2235]）。:where で弱くして、色の付いた枠と指を乗せたときの色は今のまま */
:where(#site-main) *, :where(#site-main) ::before, :where(#site-main) ::after { border-color: #cbd5e1; }
:where(#site-main) :is(.border-gray-100, .border-gray-200, .border-gray-300, .divide-gray-100 > *, .divide-gray-200 > *) { border-color: #cbd5e1; }
/* 道具の下の説明の箱（カツ「ここもう少し見やすくして」） */
  .kpr-tools #site-main .rounded-xl.p-5 { padding: 22px 26px; }
  .kpr-tools #site-main .rounded-xl.p-5 > h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: #111827; line-height: 1.5; margin-bottom: 10px; }
  .kpr-tools #site-main .rounded-xl.p-5 > h2::before { content: ""; flex: none; width: 4px; height: 1.2em; border-radius: 4px; background: linear-gradient(180deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); }
  .kpr-tools #site-main .rounded-xl.border-amber-300 > h2::before { background: #f59e0b; }
  .kpr-tools #site-main .rounded-xl.p-5 ul.list-disc { list-style: none; padding: 0; margin-top: 4px; display: grid; gap: 10px; }
  .kpr-tools #site-main .rounded-xl.p-5 ul.list-disc > li { position: relative; padding-left: 20px; color: #1f2937; line-height: 1.85; }
  .kpr-tools #site-main .rounded-xl.p-5 ul.list-disc > li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: #0055ff; }
  .kpr-tools #site-main .rounded-xl.border-amber-300 ul.list-disc > li::before { background: #d97706; }
  .kpr-tools #site-main .rounded-xl.p-5 > p { color: #1f2937; line-height: 1.85; }
  .kpr-tools #site-main .rounded-xl.p-5 strong { color: #111827; }
  @media (max-width: 640px) { .kpr-tools #site-main .rounded-xl.p-5 { padding: 18px 16px; } }
/* 決まりの文（/legal） */

  .kpr-legal #site-main .lg { max-width: none !important; padding: 8px 0 40px !important; }
  .kpr-legal #site-main .lg h1 { font-size: 28px; font-weight: 800; color: #111827; }
  .kpr-legal #site-main .lg-tabs { gap: 8px; border-bottom: 0; padding: 4px 0; flex-wrap: wrap; }
  .kpr-legal #site-main .lg .lg-tabs a { padding: 8px 16px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #111827; margin: 0; }
  .kpr-legal #site-main .lg .lg-tabs a:hover { border-color: #c7d7fb; color: #0055ff; }
  .kpr-legal #site-main .lg .lg-tabs a[aria-selected="true"] { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); color: #fff; border-color: transparent; }
  .kpr-legal #site-main .lg-panel { margin-top: 18px; padding: 24px 28px 30px; background: #fff; border: 1px solid #cbd5e1; border-radius: 20px; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 6px 16px rgba(17,24,39,.05); }
  .kpr-legal #site-main .lg-jump { font-size: 15px; padding: 12px 16px; border-radius: 12px; background: #f6f8fc; }
  .kpr-legal #site-main .lg-doc { font-size: 22px; font-weight: 800; color: #111827; padding-bottom: 8px; border-bottom: 2px solid #e8ecf6; position: relative; }
  .kpr-legal #site-main .lg-doc::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); }
  .kpr-legal #site-main .lg h3 { font-weight: 800; color: #1b1a55; }
  .kpr-legal #site-main .lg-date, .kpr-legal #site-main .lg-hist, .kpr-legal #site-main .lg-rows dt { font-size: 15px; color: #4b5563; }   /* 本番は 13〜14px・薄いグレー */
  @media (max-width: 640px) { .kpr-legal #site-main .lg h1 { font-size: 24px; } .kpr-legal #site-main .lg-panel { padding: 18px 14px 22px; } .kpr-legal #site-main .lg-tabs { flex-wrap: nowrap; overflow-x: auto; } .kpr-legal #site-main .lg .lg-tabs a { flex: none; } }

/* ヘルプ（/help） */

  .kpr-help #site-main .text-sm, .kpr-help #site-main .text-xs, .kpr-help #site-main .text-\[11px\], .kpr-help #site-main .text-\[12px\], .kpr-help #site-main .text-\[13px\], .kpr-help #site-main .text-\[14px\] { font-size: 15px !important; line-height: 1.6; }
  .kpr-help #site-main .truncate { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
  .kpr-help #site-main .text-white\/70 { color: #fff !important; } .kpr-help #site-main .text-gray-400, .kpr-help #site-main .text-gray-500 { color: #4b5563 !important; }
  .kpr-help #site-main h1 { font-size: 28px !important; font-weight: 800 !important; color: #111827; }
  .kpr-help #site-main p.note { font-size: 15px !important; color: #4b5563; }
  .kpr-help #site-main .hp-guide { margin-left: 10px; font-weight: 700; color: #0055ff; white-space: nowrap; } .kpr-help #site-main .hp-guide:hover { text-decoration: underline; }
  .kpr-help #site-main .help-h2 { margin-top: 18px !important; }
  .kpr-help #site-main .line-clamp-2, .kpr-help #site-main .link-card-title, .kpr-help #site-main .link-card-desc { -webkit-line-clamp: unset !important; display: block !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; }
  @media (max-width: 640px) { .kpr-help #site-main h1 { font-size: 24px !important; } }

/* 入力に集中する画面（ログイン・登録・パスワード・お問い合わせ・申し込み・2段階認証・アンケート・Zoom の予約）：見本の au- の見た目に寄せる（2026-11-22・決定台帳 [2227][2236][2241]・カツ「ボタンは最大幅300px」「入力の縦を低く」） */
.kpr-form #site-main { font-size: 15px; }
.kpr-form #site-main > div:first-child:is(.max-w-md, .max-w-lg, .max-w-xl, .max-w-2xl, .max-w-3xl, [class*="max-w-"]) { border: 1px solid #cbd5e1 !important; border-radius: 20px !important; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 6px 16px rgba(17,24,39,.05) !important; background: #fff; }
.kpr-form #site-main h1 { font-size: 26px !important; font-weight: 800 !important; color: #111827; }
.kpr-form #site-main :is(.text-sm, .text-xs, .text-\[13px\], .text-\[14px\], .text-\[12px\], .text-\[11px\]) { font-size: 15px !important; }
.kpr-form #site-main :is(.text-gray-400, .text-gray-500) { color: #4b5563 !important; }
.kpr-form #site-main label { font-weight: 700; color: #111827; }
.kpr-form #site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), select) { min-height: 42px; height: 42px; border: 1px solid #cbd5e1 !important; border-radius: 10px !important; font-size: 16px; padding-top: 6px; padding-bottom: 6px; background: #fff; }
.kpr-form #site-main textarea { border: 1px solid #cbd5e1 !important; border-radius: 10px !important; font-size: 16px; }
.kpr-form #site-main :is(input, select, textarea):focus { outline: none; border-color: #0055ff !important; box-shadow: 0 0 0 3px rgba(0,85,255,.15) !important; }
.kpr-form #site-main form button:not([type=button]):not([type=reset]):not(.kp-keep), .kpr-form #site-main form input[type=submit] { display: block; width: 100%; max-width: 300px; min-height: 48px; margin-left: auto; margin-right: auto; border: 0 !important; border-radius: 999px !important; background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%) !important; color: #fff !important; font-size: 16px; font-weight: 800; box-shadow: 0 6px 16px rgba(0,85,255,.25); }
.kpr-form #site-main form button:not([type=button]):not([type=reset]):not(.kp-keep):hover { filter: brightness(1.05); }
.kpr-form #site-main a:not([class*="bg-"]) { color: #0055ff; }
.kpr-form.kpr-contact #site-main .grid { grid-template-columns: minmax(0, 1fr) !important; }
.kpr-form.kpr-contact #site-main textarea { min-height: 120px; height: 140px; }
/* 2026-11-22 カツ「横幅が広がっても左右の余白を調整して画面一杯でるようにしておいて」→ 一覧のページ（トップ・サービス一覧・メディア・イベント）は中身の最大幅を外し、左右の余白だけ（広い画面は 40px） */
#site-main :is(.uc-in, .sv-in, .bl-in) { max-width: none; }
@media (min-width: 1440px) { #site-main :is(.uc-in, .sv-in, .bl-in) { padding-left: 40px; padding-right: 40px; } }
/* 2026-11-22 カツ「ここフォントサイズ小さすぎなので修正して」（投稿管理の日付・PV）→ 管理画面の中の 10〜14px の字は 15px に（字は 15px 以上の決まり） */
.kpu--admin #site-main :is(.text-xs, .text-sm, .text-\[9px\], .text-\[10px\], .text-\[11px\], .text-\[12px\], .text-\[13px\], .text-\[14px\]) { font-size: 15px !important; line-height: 1.5; }
.kpu--admin #site-main :is(.text-gray-400) { color: #4b5563 !important; }
/* ---- 会員の画面（2026-11-22 カツ「全部最新にして」・見本 mypage / account / dm / board：白い札・角丸・字は 15px 以上・薄いグレーをやめる・主のボタンはロゴの色） ---- */
.kpu--member #site-main :is(.text-xs, .text-sm, .text-\[9px\], .text-\[10px\], .text-\[11px\], .text-\[12px\], .text-\[13px\], .text-\[14px\]) { font-size: 15px !important; line-height: 1.6; }
.kpu--member #site-main .text-gray-400 { color: #4b5563 !important; }
.kpu--member #site-main :is(section, aside, div):is(.rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl).border:is(.bg-white, .shadow-sm) { border-radius: 18px !important; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 6px 16px rgba(17,24,39,.05) !important; }
.kpu--member #site-main section > div > h2, .kpu--member #site-main section > h2 { font-size: 18px !important; font-weight: 800 !important; color: #111827; }
.kpu--member #site-main :is(a, button):is(.bg-\[\#0055ff\]) { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%) !important; border-radius: 999px !important; border-color: transparent !important; }
.kpu--member #site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), select) { min-height: 42px; border-radius: 10px; }
/* アカウントの設定：左の6つのタブを上の丸い札に（決定台帳 [2225]） */
.kpr-account #site-main :has(> aside nav [data-tab]) { grid-template-columns: minmax(0, 1fr) !important; }
.kpr-account #site-main aside:has(nav [data-tab]) { position: static !important; border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; }
.kpr-account #site-main aside nav:has([data-tab]) { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; overflow: visible !important; white-space: nowrap; }
.kpr-account #site-main aside nav [data-tab] { padding: 8px 18px !important; border: 1px solid #cbd5e1; border-radius: 999px !important; background: #fff !important; color: #111827 !important; font-weight: 700; font-size: 15px !important; }
.kpr-account #site-main aside nav [data-tab]:hover { border-color: #c7d7fb; color: #0055ff !important; }
.kpr-account #site-main aside nav [data-tab][aria-current="page"] { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%) !important; color: #fff !important; border-color: transparent; }
.kpr-account #site-main aside.border.rounded-lg:has(nav [data-tab]) { box-shadow: none !important; border: 0 !important; background: none !important; }
.kpu--member #site-main button:is(.bg-\[\#0a0a0a\], .bg-gray-900) { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%) !important; border-radius: 999px !important; color: #fff !important; }
/* 管理画面も会員の画面と同じ見た目の決まり（決定台帳 [2243]：白い札・枠 #cbd5e1・ブログを書くはロゴの色の丸いボタン） */
.kpu--admin #site-main :is(section, aside, div):is(.rounded, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl).border:is(.bg-white, .shadow-sm) { border-radius: 18px !important; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 6px 16px rgba(17,24,39,.05) !important; }
.kpu--admin #site-main :is(a, button):is(.bg-\[\#0a0a0a\], .bg-gray-900, .bg-\[\#0055ff\]) { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%) !important; border-radius: 999px !important; color: #fff !important; border-color: transparent !important; }
.kpu--admin #site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]), select) { min-height: 42px; border-radius: 10px; }
.kpu--member #site-main a:is(.bg-\[\#0a0a0a\], .bg-gray-900) { background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%) !important; border-radius: 999px !important; color: #fff !important; }
/* 2026-11-22 カツ「ページによってサイドバーの見た目がかわる、サイズとか 統一して」→ 使い方（/guide/）は字の種類・字の間・行の高さが違う CSS なので、
   共通の枠（ヘッダー・左の帯・右下のボタン・足元）にはどのページでも本体と同じ字の設定を当てる（決定台帳 [2213] の「同じ字にそろえる」） */
:is(.uh, .uc-side, .uc-fab, .kps-foot) { font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; letter-spacing: normal !important; }
:is(.uh, .uc-side, .uc-fab, .kps-foot) * { font-family: inherit !important; letter-spacing: normal !important; }
.uh { font-size: 15px; line-height: 1.5; }
.uh .uh__links a, .uh .uh__dd summary { line-height: 1.5; }
.uc-side { line-height: 1.7 !important; }
.uc-side h2, .uc-side .uc-side__t { margin-top: 6px; margin-bottom: 10px; font-size: 22px !important; line-height: 1.4; }
/* 2026-11-22 カツ「よくある質問ページも最新に合った見た目に変更して」→ ヘルプ（/help・/faq/…）をメディア・サービス一覧と同じ部品に：横幅いっぱい・白い地・頭はパンくずとロゴの色の題名・札は角丸 */
.kpr-help #site-main > div.max-w-5xl { max-width: none; padding: 0 28px 60px; }
@media (min-width: 1440px) { .kpr-help #site-main > div.max-w-5xl { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 640px) { .kpr-help #site-main > div.max-w-5xl { padding: 0 0 40px; } }
.kpr-help .help-top { padding: 28px 0 22px; }   /* 2026-11-22 カツ「グラデーションの背景？いらないよ」→ 背景なし */
.kpr-help .hp-crumb { color: #4b5563; font-size: 15px; } .kpr-help .hp-crumb a { color: #0055ff; }
.kpr-help .hp-h1 { margin-top: 14px; font-size: 36px !important; font-weight: 800 !important; line-height: 1.3; color: #111827; }
.kpr-help .hp-h1 em { font-style: normal; background: linear-gradient(120deg, #2410f5 0%, #0055ff 55%, #00b8f5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpr-help .hp-h1 small { margin-left: 10px; font-size: 16px; font-weight: 700; color: #4b5563; }
.kpr-help .help-h2 { font-size: 23px !important; font-weight: 800; margin-top: 22px !important; }
.kpr-help #site-main a.rounded-lg.border { border-radius: 999px !important; padding-left: 16px; padding-right: 16px; }
.kpr-help #site-main input[type=search], .kpr-help #site-main input.rounded-lg { border-radius: 999px !important; border: 2px solid #c7d7fb !important; min-height: 46px; font-size: 16px !important; }
.kpr-help #site-main input[type=search]:focus, .kpr-help #site-main input.rounded-lg:focus { border-color: #0055ff !important; }
.kpr-help #site-main .faq-q { border-radius: 12px !important; }
.kpr-help #faqDetail { border-radius: 18px !important; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 6px 16px rgba(17,24,39,.05); }
.kpr-help .help-contact { border-radius: 18px; border-color: #cbd5e1; }
@media (max-width: 640px) { .kpr-help .help-top { padding: 20px 0 18px; } .kpr-help .hp-h1 { font-size: 28px !important; } .kpr-help .hp-h1 small { display: block; margin: 2px 0 0; } }
.kpr-help #site-main .hp-h1 { font-size: 36px !important; }
@media (max-width: 640px) { .kpr-help #site-main .hp-h1 { font-size: 28px !important; } }
/* 2026-11-22 カツ「掲示板もDMもうまく左右の余白を活用してほしい」→ 掲示板と DM は横幅いっぱい（左右の余白は 28px・広い画面 40px） */
.kpr-wide #site-main { max-width: none !important; padding-left: 28px; padding-right: 28px; }
.kpr-wide #site-main :is(.max-w-3xl, .max-w-4xl, .max-w-5xl, .max-w-6xl, .max-w-7xl, .max-w-\[1400px\]) { max-width: none !important; }
@media (min-width: 1440px) { .kpr-wide #site-main { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 639px) { .kpr-wide #site-main { padding-left: 10px; padding-right: 10px; } }
/* 2026-11-22 カツ「DMリプライの文字数が多い場合は1行くらいにして。リプライをクリックで対象のメッセージが表示できるだけでいい」→ 引用は1行（「…」は付けず右端を薄く消す）。押すと元の発言へ（前からの作り） */
.dm-line .dm-quote { display: flex !important; align-items: baseline; gap: 8px; max-width: 100%; cursor: pointer; }
.dm-line .dm-quote .dm-qn { display: inline !important; flex: none; font-weight: 700; }
.dm-line .dm-quote .dm-qt { display: block !important; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
/* 2026-11-22 カツ「違う背景は白の方で」→ ヘルプのページの地は白（頭のグラデーションは付けない） */
body.kpr-help { background: #fff !important; }
img.uh__av { object-fit: cover; background: #e5e7eb; display: block; }
/* 2026-11-22 カツ「白背景になっていないところ、基本白背景に変えて」→ どのページも地は白（前の本番の灰色 #eaeef4 をやめる・札は枠と影で区切る） */
html body { background: #fff !important; }
.uc.kpu, .kpu-main { background: #fff; }
/* 2026-11-22 カツ「改行ならないようにして」→ 会員管理の右上の操作（管理者にする・分析から除外（テスト垢）・退会させる）は折り返さない（入りきらなければ行ごと次の行へ） */
#mem-detail-pane > div:first-child .ml-auto { flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
#mem-detail-pane > div:first-child .ml-auto > * { flex: none; }
#mem-detail-pane > div:first-child :is(button, summary) { white-space: nowrap; }
#mem-detail-pane > div:first-child details[open] { flex-basis: 100%; }
#mem-detail-pane > div:first-child details:not([open]) { width: auto !important; }
/* 2026-11-22 カツ「かこのお知らせの表示ボタンの反応が悪い」→ 押せる範囲が字だけ（30×23px）で狭かった。管理画面の一覧の小さな文字のボタン（表示・削除など）は押せる範囲を広げ、指を乗せると色を付ける */
.kpu--admin #site-main :is(a, button).shrink-0:is(.text-xs, .text-sm) { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; margin: -6px 0; border-radius: 8px; }
.kpu--admin #site-main :is(a, button).shrink-0:is(.text-xs, .text-sm):hover { background: #eef4ff; text-decoration: none; }
