/*
design plan（2026-11-20 作り直し・智翔が見本 3 案から「吹き出し」を選択）
- 誰に何を: 「あの言い回しの元ネタは？」と検索して来た人に、言われた言葉 → さかのぼる → 元ネタ を会話の流れで読ませ、次の言葉へ回遊させる
- コンセプト: ミームは「誰かが言った言葉」。言葉は吹き出し、確かめた元ネタはその返信。吹き出しの色は広まった場所（ロゴや他人の画像は使わず色だけ）
- 色: 地 #e9edf3 / 墨 #141821 / 返信の白 #fff / 補助 #5b6577 / 罫 #d5dae3 / 強調 #ffd84a（間隔の札だけ）＋場所の色（.t-*）
- 書体: LINE Seed JP 1 書体（400 / 700 / 800）。数字は tabular-nums
- 参照: Know Your Meme（項目ごとに顔がある → 言葉そのものを大きな吹き出しに）／ニコニコ大百科（元の言葉を枠で逐語に見せる）／
  ピクシブ百科事典（題の直下に 1 行の定義）／メッセージアプリの会話画面（日付の札・左右の吹き出し・入力欄）
- 数値: 表題 clamp(1.75rem,6vw,2.75rem) / 4 段（札 12px・本文 15px・吹き出し 19px・表題）/ 話題の間隔 clamp(3rem,6vw,4.5rem) /
  角は「吹き出し 20px＋しっぽ 5px」と「丸薬 999px」の 2 種類・影なし
*/
:root{--bg:#e9edf3;--ink:#141821;--sub:#5b6577;--line:#d5dae3;--card:#fff;--soft:#eef1f6;--mark:#ffd84a;
  --t-title:clamp(1.75rem,6vw,2.75rem);--t-bub:1.1875rem;--t-body:.9375rem;--t-label:.75rem;--gap-topic:clamp(3rem,6vw,4.5rem);--r:20px;--tail:5px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:72px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"LINE Seed JP","Hiragino Sans","Noto Sans JP",sans-serif;font-size:var(--t-body);line-height:1.8;-webkit-font-smoothing:antialiased;overflow-wrap:anywhere}
a{color:inherit}
button,input,select{font:inherit}
a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #0b6fbd;outline-offset:3px}
h1,h2,h3,p,ol,ul,dl,dd,figure{margin:0}
h1,h2,h3{word-break:auto-phrase}
.num{font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px 12px;z-index:9}
.shell{max-width:1320px;margin:0 auto;padding:0 16px}
.text-link{font-weight:800;text-underline-offset:3px}
.label,.section-kicker,.who{font-size:var(--t-label);font-weight:700;color:var(--sub);letter-spacing:.02em}

/* 場所の色 */
.t-x{background:#141821;color:#fff}.t-tw{background:#0b6fbd;color:#fff}.t-tiktok{background:#e0245e;color:#fff}.t-yt{background:#d12a22;color:#fff}
.t-nico{background:#fff;color:#141821;box-shadow:inset 0 0 0 2px #141821}.t-futaba{background:#f6e7c8;color:#5a1a12}.t-ch{background:#dfe9df;color:#12301c}
.t-ig{background:#6b34d8;color:#fff}.t-tv{background:#ffd84a;color:#141821}.t-etc{background:#fff;color:#141821}

/* 吹き出し */
.bub{display:inline-block;max-width:100%;font-size:var(--t-bub);font-weight:800;line-height:1.38;padding:11px 16px;border-radius:var(--r) var(--r) var(--r) var(--tail);text-decoration:none}
a.bub:hover{filter:brightness(1.08)}
.bub.big{font-size:var(--t-title);line-height:1.25;padding:16px 22px;border-radius:28px 28px 28px 7px}
.bub.big h1{font:inherit}
.day{text-align:center;margin:14px 0 10px}.day>span{display:inline-block;font-size:var(--t-label);font-weight:700;color:var(--sub);background:#dce1ea;border-radius:999px;padding:3px 14px}

/* 上の帯と下 */
.site-header{position:sticky;top:0;z-index:5;background:var(--ink);color:#fff}
.header-inner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 20px;padding-top:10px;padding-bottom:10px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:1.0625rem;line-height:1.2}
.brand small{display:block;font-size:.6875rem;font-weight:400;opacity:.7}
.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;background:#fff;color:var(--ink);border-radius:12px 12px 12px 3px;font-weight:800;font-size:1.0625rem}
.brand-mark span{color:#e0245e}
.site-header nav{display:flex;gap:6px;margin-left:auto;overflow-x:auto;max-width:100%;scrollbar-width:none}
.site-header nav::-webkit-scrollbar{display:none}
.site-header nav a{flex:none;font-size:.8125rem;font-weight:700;text-decoration:none;padding:5px 12px;border-radius:999px;border:1px solid #fff3}
.site-header nav a:hover{background:#fff;color:var(--ink)}
main{display:block;padding-bottom:var(--gap-topic)}
.site-footer{background:var(--ink);color:#fff;padding:32px 0}
.footer-inner{display:flex;flex-wrap:wrap;gap:20px 48px;justify-content:space-between;align-items:flex-start}
.footer-inner>div:first-child{display:flex;gap:12px;align-items:center;font-size:.8125rem}
.footer-inner>div:last-child{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.8125rem;max-width:720px}
.footer-inner span{opacity:.75}.footer-inner .brand-mark,.footer-inner .brand-mark span{opacity:1}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:var(--t-label);color:var(--sub);padding-top:14px;padding-bottom:4px}

/* 言葉の並び（吹き出し＋返信） */
.hub-timeline{list-style:none;padding:0;display:grid;gap:20px}
.hub-timeline li{display:grid;grid-template-columns:auto auto 1fr;justify-items:start;gap:4px 0}
.hub-timeline time,.hub-timeline li>span{font-size:.71875rem;font-weight:700;color:var(--sub);grid-row:1}
.hub-timeline li>span::before{content:"·";margin:0 6px}
.hub-timeline li>a,.hub-timeline li>p,.hub-timeline li>.tag-chips{grid-column:1/-1}
.hub-timeline li>p{font-size:.78125rem;line-height:1.6;background:#fff;color:#39414f;border-radius:var(--tail) 14px 14px 14px;padding:7px 12px;max-width:94%}
.hub-timeline li>p i{font-style:normal;font-weight:800;color:var(--ink);background:var(--mark);border-radius:999px;padding:1px 8px;margin-left:8px;white-space:nowrap}
.hub-timeline li:nth-child(3n+2){grid-template-columns:1fr auto auto;justify-items:end}
.hub-timeline li:nth-child(3n+2)>time{grid-column:2}.hub-timeline li:nth-child(3n+2)>span{grid-column:3}
.hub-timeline li:nth-child(3n+2)>a{border-radius:var(--r) var(--r) var(--tail) var(--r)}
.hub-timeline li:nth-child(3n+2)>p{border-radius:14px var(--tail) 14px 14px}
.tag-chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{display:inline-block;font-size:.78125rem;font-weight:700;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 12px}
a.chip:hover{border-color:var(--ink)}
.empty{text-align:center;color:var(--sub);padding:24px 0}
.more{text-align:center;margin-top:24px}

/* 入力欄（検索と絞り込み） */
.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.search-box{flex:1 1 100%;display:flex;align-items:center;gap:8px;background:#fff;border-radius:999px;padding:4px 18px;border:2px solid var(--ink)}
.search-box input{flex:1;min-width:0;border:0;background:none;font-size:1rem;padding:8px 0;outline:none}
.select-box select{appearance:none;font-size:.8125rem;font-weight:700;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 16px;max-width:44vw}
.stats{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:var(--t-label);color:var(--sub)}
.record-count{font-weight:800;color:var(--ink)}

/* 表紙 */
.app{padding-top:18px}
.home-intro{margin-bottom:26px}
.ask{display:flex;justify-content:flex-end;margin-top:6px}
.ask h1{background:var(--ink);color:#fff;font-size:var(--t-title);font-weight:800;line-height:1.28;padding:16px 22px;border-radius:28px 28px 7px 28px}
.lead{background:#fff;border-radius:7px var(--r) var(--r) var(--r);padding:13px 16px;margin-top:10px;max-width:94%}
.info,.side{margin-top:var(--gap-topic);display:grid;gap:14px;align-content:start}
.info>div,.side>div{background:#fff;border-radius:16px;padding:16px;min-width:0}
.info h2,.side h2{font-size:1rem;font-weight:800;margin-bottom:4px}
.info p,.side p{font-size:.8125rem;color:#39414f}
.pick .bub{margin:6px 0 2px}
.legend ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px;font-size:.78125rem;font-weight:700}
.legend li{display:flex;align-items:center;gap:6px}.legend i{width:16px;height:16px;border-radius:8px 8px 8px 2px}
.legend .t-etc{box-shadow:inset 0 0 0 1px #aab3c2}

/* 数字の部品 */
.barlist{list-style:none;padding:0;margin-top:8px}
.barlist li{display:grid;grid-template-columns:6.5em 1fr 2.4em;align-items:center;gap:8px;font-size:.8125rem;padding:3px 0}
.barlist a,.barlist span{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.barlist i{display:block;height:9px;background:var(--ink);border-radius:5px;min-width:3px}
.barlist b{text-align:right}
.ranklist{list-style:none;padding:0;margin:8px 0}
.ranklist li{display:grid;grid-template-columns:1fr auto;gap:0 10px;padding:9px 0;border-bottom:1px solid var(--line)}
.ranklist a{font-weight:800;text-decoration:none}.ranklist span{grid-column:1;font-size:.71875rem;color:var(--sub)}
.ranklist b{grid-column:2;grid-row:1/3;align-self:center;font-size:.8125rem;background:var(--mark);border-radius:999px;padding:1px 10px;white-space:nowrap}
.gapline{display:grid;grid-template-columns:auto minmax(48px,1fr) auto;align-items:center;gap:8px;margin:14px 0}
.gapline>div:not(.gap-mid){background:#fff;border-radius:14px 14px 14px 4px;padding:7px 12px;line-height:1.35}
.info .gapline>div:not(.gap-mid){background:var(--soft)}
.gapline>div:last-child:not(.gap-mid),.info .gapline>div:last-child:not(.gap-mid){background:var(--ink);color:#fff;border-radius:14px 14px 4px 14px}
.gapline span{display:block;font-size:.6875rem;opacity:.75}.gapline b{font-size:.875rem;white-space:nowrap}
.gap-mid{position:relative;height:6px;border-radius:3px;background:linear-gradient(90deg,var(--ink) calc(var(--g)*100%),#c3cbd8 0)}
.gap-mid i{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-style:normal;font-size:.78125rem;font-weight:800;background:var(--mark);border-radius:999px;padding:1px 10px;white-space:nowrap}
.yearbars{display:grid;grid-template-columns:repeat(var(--n),minmax(8px,1fr));gap:2px;background:#fff;border-radius:16px;padding:14px 12px 8px;overflow-x:auto}
.yearbars a,.yearbars span{display:grid;grid-template-rows:14px 120px 14px;text-decoration:none;min-width:0}
.yearbars b{font-size:.5625rem;text-align:center;line-height:14px}
.yearbars i{align-self:end;background:#aab3c2;border-radius:3px 3px 0 0;min-height:1px}
.yearbars a i{background:var(--ink)}.yearbars a:hover i,.yearbars a[aria-current] i{background:#e0245e}
.yearbars small{font-size:.5625rem;text-align:center;line-height:14px;color:var(--sub);white-space:nowrap}
.year-nav{display:flex;justify-content:space-between;margin-top:10px;font-weight:800;font-size:.875rem}

/* 記事 */
.detail>.who{margin:0 8px 4px}
.aka{font-size:.8125rem;color:var(--sub);margin:6px 8px 0}
.summary{background:#fff;border-radius:var(--r) 7px var(--r) var(--r);padding:16px;margin:14px 0 0 auto;max-width:min(94%,760px)}
.summary>p{font-size:1rem;line-height:1.85}
.certainty{display:inline-block;font-size:var(--t-label);font-weight:700;background:var(--soft);border-radius:999px;padding:2px 12px;margin:10px 0 4px}
.summary dl div{border-top:1px solid var(--line);padding:8px 0 2px}
.summary dt,.rail dt{font-size:.71875rem;color:var(--sub);font-weight:700}.summary dd{font-weight:800}
.detail>.gapline{max-width:760px;margin:18px 0 0}
.detail-main{min-width:0;max-width:760px}
.detail-main section{margin-top:var(--gap-topic)}
.detail-main h2,.hub-section h2,.about-body h2{font-size:1.375rem;font-weight:800;line-height:1.4;margin:2px 0 12px}
.detail-main h3,.hub-section h3,.about-body h3{font-size:1rem;font-weight:800;margin:22px 0 8px}
.detail-main section>p{background:#fff;border-radius:7px var(--r) var(--r) var(--r);padding:14px 16px;font-size:1rem;line-height:1.95}
#faq h3,.hub-faq h3{display:table;margin:22px 0 8px auto;background:var(--ink);color:#fff;border-radius:18px 18px var(--tail) 18px;padding:9px 15px;font-size:.9375rem;max-width:92%}
.hub-faq p{background:#fff;border-radius:7px var(--r) var(--r) var(--r);padding:14px 16px;max-width:760px}
.timeline{list-style:none;padding:0;margin-top:14px}
.timeline li{display:grid;grid-template-columns:auto 1fr;justify-items:start;align-items:center;gap:5px 8px;margin-top:16px}
.timeline time{font-size:var(--t-label);font-weight:800;background:#dce1ea;border-radius:999px;padding:2px 12px}
.prec{font-size:.6875rem;color:var(--sub)}
.what{grid-column:1/-1;background:#fff;border-radius:7px 18px 18px 18px;padding:10px 14px;font-weight:700;line-height:1.6}
.timeline li:nth-child(even) .what{justify-self:end;border-radius:18px 7px 18px 18px}
.evidence,.timeline details{grid-column:1/-1;font-size:.75rem;color:var(--sub)}
.timeline li:nth-child(even) .evidence{justify-self:end;text-align:right}
.timeline details{width:100%}.timeline summary{cursor:pointer;font-weight:700}
.detail-main p.note{background:#fff7d6}
.embed{margin:12px 0}.frame{aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#000}.frame iframe{width:100%;height:100%;border:0}
.embed img{max-width:100%;height:auto;border-radius:16px;display:block}.screenshot-img{border:1px solid var(--line)}
.embed figcaption{font-size:.75rem;color:var(--sub);margin-top:6px}
.shop{margin-top:var(--gap-topic);background:#fff;border:2px solid var(--ink);border-radius:var(--r) var(--r) var(--r) 7px;padding:16px}
.shop .label span{margin-left:8px;border:1px solid var(--sub);border-radius:4px;padding:0 6px;font-size:.6875rem}
.shop p{font-weight:800;font-size:1.0625rem;margin:6px 0}.shop small{display:block;font-size:.71875rem;color:var(--sub);margin-top:8px}
.relations ul{list-style:none;padding:0}
.relations li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.relations li a{font-weight:800;text-decoration:none}.relations li span{font-size:.71875rem;color:var(--sub);white-space:nowrap}
.detail-main .relations>p{background:none;padding:0;font-size:.875rem}
.sources{background:#fff;border-radius:16px;padding:6px 16px 6px 36px}
.sources li{padding:10px 0;border-bottom:1px solid var(--line)}.sources li:last-child{border:0}
.sources li>a{font-weight:700}.kind{font-size:.6875rem;font-weight:800;border:1px solid var(--ink);border-radius:4px;padding:0 6px;margin-right:8px}
.sub{display:block;font-size:.75rem;color:var(--sub)}
.detail-main p.history{background:none;padding:0;font-size:.75rem;color:var(--sub);margin-top:10px;line-height:1.7}
.rail{margin-top:var(--gap-topic);background:#fff;border-radius:16px;padding:16px;align-self:start}
.toc{list-style:none;padding:0;margin:6px 0 12px}
.toc a{display:block;padding:7px 0;border-bottom:1px solid var(--line);font-weight:700;text-decoration:none;font-size:.875rem}
.rail dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.rail dd{font-weight:800;font-size:.875rem}

/* 一覧・年・集計・用語 */
.page-intro{padding-top:8px}
.page-intro h1{display:inline-block;background:var(--ink);color:#fff;font-size:clamp(1.5rem,4.6vw,2.25rem);font-weight:800;line-height:1.32;padding:14px 20px;border-radius:26px 26px 26px 7px;margin-top:4px}
.page-intro h1 em{font-style:normal;color:var(--mark)}
.page-intro>p{background:#fff;border-radius:7px var(--r) var(--r) var(--r);padding:12px 16px;margin-top:10px;max-width:760px}
.page-intro>p.hub-count{background:none;padding:0 4px;font-size:.8125rem;color:var(--sub)}
.page-intro .tag-chips{margin-top:12px}
.hub-section{margin-top:var(--gap-topic)}
.hub-section>p{max-width:760px;margin-bottom:12px}
.year-strip{margin-top:24px}
.hub-table{overflow-x:auto;background:#fff;border-radius:16px}
.hub-table table{border-collapse:collapse;width:100%;min-width:560px;font-size:.84375rem}
.hub-table th,.hub-table td{text-align:left;padding:9px 14px;border-bottom:1px solid var(--line)}
.hub-table th{font-size:var(--t-label);color:var(--sub)}.hub-table td:first-child{font-weight:800}.hub-table a{text-decoration:none}
.home-cols{display:grid;gap:14px}.home-cols>div{background:#fff;border-radius:16px;padding:16px;min-width:0}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px 18px}
.card-link{display:block;text-decoration:none}
.card-top{display:flex;gap:8px;align-items:center;font-size:.71875rem;font-weight:700;color:var(--sub);margin-bottom:4px}
.card-top .chip{border:0;background:none;padding:0;font-size:inherit}
.card h3{margin:0}.card p{font-size:.78125rem;line-height:1.6;background:#fff;color:#39414f;border-radius:var(--tail) 14px 14px 14px;padding:7px 12px;margin-top:4px}
.glossary .term{margin:22px 0;scroll-margin-top:80px}
.glossary dt{display:table;background:#fff;box-shadow:inset 0 0 0 2px var(--ink);border-radius:18px 18px 18px var(--tail);padding:7px 15px;font-weight:800;font-size:1.0625rem}
.glossary dt a{text-decoration:none}.glossary dt small{display:block;font-size:.71875rem;font-weight:400;color:var(--sub)}
.glossary dd{margin-top:6px}.glossary dd p{max-width:760px}
.glossary dd p:first-child{background:#fff;border-radius:var(--tail) 16px 16px 16px;padding:10px 14px}
.glossary dd p+p{font-size:.8125rem;padding:4px 4px 0}
.term-meta{color:var(--sub)}
.term:target dt{background:var(--mark)}
.glossary-index{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.glossary-index a{display:inline-block;font-size:.8125rem;font-weight:700;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 12px}
.meme-list .record-count{font-size:.8125rem}
.meme-list section{margin-top:36px}
.about-body{margin-top:var(--gap-topic);display:grid;gap:8px}
.about-body p{background:#fff;border-radius:7px var(--r) var(--r) var(--r);padding:13px 16px;max-width:760px;margin-bottom:8px}
.about-body p.about-note{background:none;padding:0 4px;font-size:.8125rem;color:var(--sub)}

@media(min-width:700px){
  .shell{padding:0 28px}
  .hub-section .hub-timeline{display:block;columns:2;column-gap:40px}
  .hub-section .hub-timeline li{break-inside:avoid;margin-bottom:22px}
  .home-cols{grid-template-columns:repeat(3,1fr)}
  .info,.side{grid-template-columns:1fr 1fr}
}
@media(min-width:1040px){
  .app{display:grid;grid-template-columns:250px minmax(0,1fr) 320px;gap:0 36px;align-items:start;padding-top:28px}
  .side{grid-column:1;grid-row:1;margin-top:0;grid-template-columns:1fr;position:sticky;top:72px}
  .stream{grid-column:2;grid-row:1}
  .info{grid-column:3;grid-row:1;margin-top:0;grid-template-columns:1fr}
  .stream .hub-timeline{display:block;columns:2;column-gap:32px}
  .stream .hub-timeline li{break-inside:avoid;margin-bottom:22px}
  .detail-grid{display:grid;grid-template-columns:minmax(0,760px) 300px;gap:0 56px;justify-content:space-between;align-items:start}
  .rail{position:sticky;top:76px}
  .hub-section .hub-timeline{columns:3}
  .about-body{grid-template-columns:260px minmax(0,1fr);gap:8px 40px}
  .select-box select{max-width:none}
}
/* 実写で見つけた直し */
.section-kicker{display:block}
.search-box{flex:none;width:100%}
.yearbars b{visibility:hidden}
.hub-section>.barlist li{grid-template-columns:9.5em 1fr 2.4em}
.info .bub.t-etc,.info .legend .t-etc{background:var(--soft)}
@media(min-width:700px){.yearbars b{visibility:visible}}
/* スマホでは表を横に流さず、1 件を 1 枚に畳む */
@media(max-width:699px){.hub-table table{min-width:0}.hub-table thead{display:none}.hub-table tr{display:block;padding:10px 14px;border-bottom:1px solid var(--line)}.hub-table td{display:inline;padding:0;border:0;font-size:.8125rem;color:var(--sub)}.hub-table td:first-child{display:block;color:var(--ink);font-size:.9375rem}.hub-table td+td+td::before{content:" · "}}
/* 検品: 用語の一覧も PC で列を増やす・日付札の文字を濃く（AA） */
.day>span{color:#4a5466}
.glossary .term{break-inside:avoid}
@media(min-width:700px){.glossary{columns:2;column-gap:28px}.glossary .term:first-child{margin-top:0}}
@media(min-width:1040px){.glossary{columns:3}}
/* 案内役（架空の人物）の語り。ミームの吹き出し（色つき・しっぽ）と見分けるため、顔写真つき・点線の枠・生成りの地にする */
.talk{display:flex;gap:10px;align-items:flex-start;margin:var(--gap-topic) 0 14px;max-width:620px}
.talk img{flex:none;width:56px;height:56px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff}
.talk>div{background:#fffaf0;border:2px dashed #b9a98a;border-radius:16px;padding:8px 14px 10px}
.talk p{margin:2px 0 0;font-size:.875rem;line-height:1.7}
.talk-name{font-weight:800;font-size:.8125rem;text-decoration:none}.talk-name small{font-weight:400;color:var(--sub);margin-left:6px;text-decoration:underline}
.home-intro .talk{margin:12px 0}
.guide-photo{display:block;width:100%;max-width:240px;height:auto;border-radius:16px;margin-top:12px}
.talk p{background:none!important;padding:0!important;border-radius:0}
