/* ============================================================
   /e — お知らせとブログ（2026-10-06 新設。e.css の後に読む）
   ページは tools/build.mjs が content/news・content/blog から作る（templates/e/*.html）
   ・お知らせ（.nw-*）: 新聞の告知欄のように端正で静か。日付が主役。二重罫・年ごとの行の一覧・署名
   ・ブログ（.cl-*）: 読み物として作り込む。カテゴリ色・表紙の図版・目次・図（手順）・引用・著者欄・関連・相談の導線
   守ること: カードの上端・左右端に色帯を付けない／ホバー演出は (hover:hover) and (pointer:fine) の中だけ／
            タップ標的 44px 以上／横溢れを overflow-x:hidden で隠さない／グラデーション文字は淡い面の上だけ
   ============================================================ */
:root {
  --c-meo: #0B6FB8; --c-meo-s: #E3F4FF; --c-meo-g: linear-gradient(135deg, #F4FBFF 0%, #DDF1FF 100%);
  --c-web: #07785A; --c-web-s: #E2F5EE; --c-web-g: linear-gradient(135deg, #F4FCF8 0%, #DDF3EA 100%);
  --c-ai:  #6A3FE8; --c-ai-s:  #EEE9FF; --c-ai-g:  linear-gradient(135deg, #F8F6FF 0%, #E9E2FF 100%);
}
[data-c="meo"] { --c: var(--c-meo); --cs: var(--c-meo-s); --cg: var(--c-meo-g); }
[data-c="web"] { --c: var(--c-web); --cs: var(--c-web-s); --cg: var(--c-web-g); }
[data-c="ai"]  { --c: var(--c-ai);  --cs: var(--c-ai-s);  --cg: var(--c-ai-g); }
[data-c="all"] { --c: var(--e-ink); --cs: var(--e-sky); }

/* 公開前の札（/e は見本なので下書きも出す） */
.e-draft { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 12px; border: 1px dashed #D9A23A; border-radius: 999px; background: #FFF6E2; color: #7A4F00; font-family: var(--font-jp); font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; vertical-align: middle; }
.e-draft::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #E0A030; }

/* パンくずの短い語（MEO・AI）も幅44pxを確保 */
:is(.nw-page, .cl-page) nav.ph-crumbs a { display: inline-block; min-width: 44px; text-align: center; }

/* 題名の全角の空き（tools/build.mjs の eTitle） */
.t-sp { display: inline-block; width: .6em; }

/* 見出しの英字ラベル */
.cl-sec-h { font-size: clamp(22px, calc(1.4vw + 12px), 30px); font-weight: 900; line-height: 1.45; letter-spacing: -.01em; color: var(--e-fg); }
.cl-sec-en { display: block; margin: 0 0 8px; line-height: 1.45; font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .3em; color: var(--e-ink); }

/* ============================================================
   お知らせ
   ============================================================ */
.nw-hero { padding: clamp(118px, 13vw, 168px) 0 0; }
.nw-wrap { max-width: 1000px; }
.nw-narrow { max-width: 780px; }
.nw-mast { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: 28px; padding-bottom: 22px; border-bottom: 3px solid var(--e-fg); }
.nw-title { font-size: clamp(38px, calc(4vw + 16px), 68px); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; color: var(--e-fg); }
.nw-en { display: block; margin-bottom: 12px; font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .32em; color: var(--e-ink); }
.nw-facts { display: flex; flex-wrap: wrap; margin: 0; }
.nw-facts > div { padding: 2px 22px; border-left: 1px solid var(--e-line); }
.nw-facts > div:first-child { padding-left: 0; border-left: 0; }
.nw-facts dt { font-size: 12px; font-weight: 700; color: var(--e-fg-3); }
.nw-facts dd { margin: 4px 0 0; font-size: 13px; color: var(--e-fg-2); }
.nw-facts b { font-family: var(--font-en); font-weight: 800; font-size: 24px; letter-spacing: -.01em; color: var(--e-fg); margin-right: 2px; }
.nw-facts a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--sl-line-2); border-radius: 999px; font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--e-ink); background: #fff; }
.nw-lead { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--e-fg); font-size: 14px; color: var(--e-fg-2); }

.nw-sheet { padding-top: clamp(40px, 6vw, 80px); }
/* 最後の区画とフッター（角丸で重なる）の間をあける */
.nw-sheet, .cl-list, .cl-after { padding-bottom: clamp(40px, 5vw, 72px); }
.nw-year { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
.nw-y { align-self: start; position: sticky; top: 104px; padding-top: 18px; font-family: var(--font-en); font-weight: 800; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px #8FAEEA; }
.nw-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--e-line); }
.nw-row { display: grid; grid-template-columns: 118px 84px minmax(0, 1fr) 28px; gap: 18px; align-items: baseline; min-height: 76px; padding: 26px 6px; border-top: 1px solid var(--e-line); color: var(--e-fg); }
.nw-row-d { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.nw-row-k { justify-self: start; padding: 2px 10px; border: 1px solid var(--e-fg-2); border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--e-fg-2); }
.nw-row-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 17px; font-weight: 700; line-height: 1.75; }
.nw-row-a { justify-self: end; font-family: var(--font-en); font-weight: 800; color: var(--e-ink); transition: transform .3s var(--e-ease); }
@media (hover: hover) and (pointer: fine) {
  .nw-row:hover .nw-row-t { color: #1E5BE0; }
  .nw-row:hover .nw-row-a { transform: translateX(4px); }
}
.nw-cross { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; min-height: 96px; margin-top: clamp(40px, 6vw, 72px); padding: 24px clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--e-sky); color: var(--e-fg); }
.nw-cross-en { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .3em; color: var(--e-ink); }
.nw-cross-t { font-size: clamp(15px, calc(.6vw + 11px), 18px); font-weight: 700; line-height: 1.7; }
.nw-cross-a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--e-grad-ink); color: #fff; font-family: var(--font-en); font-weight: 800; }

/* お知らせの記事 */
.nw-dateline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 32px; }
.nw-kind { padding: 4px 14px; border-radius: 4px; background: var(--e-fg); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.6; }
.nw-date { font-family: var(--font-en); font-weight: 800; font-size: clamp(22px, 2vw + 10px, 30px); letter-spacing: .01em; color: var(--e-fg); }
.nw-upd { font-size: 13px; color: var(--e-fg-3); }
.nw-upd time { font-family: var(--font-en); font-weight: 700; }
.nw-art-title { margin-top: 18px; padding-bottom: 28px; border-bottom: 3px double var(--e-fg); font-size: clamp(26px, calc(2vw + 14px), 40px); font-weight: 900; line-height: 1.5; letter-spacing: -.01em; color: var(--e-fg); text-wrap: pretty; }
.nw-body { font-size: 16.5px; line-height: 2.1; color: var(--e-fg-2); }
.nw-body > * + * { margin-top: 1.3em; }
.nw-body h2 { margin-top: 2.4em; font-size: 21px; font-weight: 900; line-height: 1.6; color: var(--e-fg); }
.nw-body a { color: #1E5BE0; text-decoration: underline; text-underline-offset: 4px; padding-block: 11px; }
.nw-body ul, .nw-body ol { padding-left: 1.3em; }
.nw-sign { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 14px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--e-line); }
.nw-sign img { width: auto; height: 44px; }
.nw-sign p { font-size: 13px; line-height: 1.8; color: var(--e-fg-2); text-align: right; }
.nw-sign a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-en); font-weight: 700; color: var(--e-ink); }
.nw-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.nw-pg { display: grid; align-content: center; gap: 4px; min-height: 88px; padding: 18px 22px; border: var(--e-card-line); border-radius: 20px; background: #fff; color: var(--e-fg); }
.nw-pg small { font-size: 12px; font-weight: 700; color: var(--e-ink); }
.nw-pg span { font-size: 15px; font-weight: 700; line-height: 1.6; }
.nw-pg-prev small::before { content: '← '; font-family: var(--font-en); }
.nw-pg-next { text-align: right; }
.nw-pg-next small::after { content: ' →'; font-family: var(--font-en); }
.nw-back { margin-top: 24px; text-align: center; }
.nw-back a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--sl-line-2); border-radius: 999px; font-weight: 700; color: var(--e-ink); background: #fff; }
@media (hover: hover) and (pointer: fine) { .nw-pg:hover { border-color: rgba(42,111,245,.4); } }

@media (max-width: 768px) {
  .nw-year { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .nw-y { position: static; padding-top: 0; font-size: 40px; }
  .nw-row { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px 12px; padding: 20px 2px; }
  .nw-row-t { grid-column: 1 / -1; font-size: 16px; }
  .nw-row-a { display: none; }
  .nw-cross { grid-template-columns: minmax(0, 1fr) auto; }
  .nw-cross-en { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nw-pager { grid-template-columns: minmax(0, 1fr); }
  .nw-pg-none { display: none; }
  .nw-facts > div { padding: 2px 14px; }
}

/* ============================================================
   ブログ: 一覧
   ============================================================ */
.cl-hero { padding: clamp(118px, 13vw, 160px) 0 clamp(56px, 6vw, 88px); } /* 書いている人のカードを、下の一覧の区画とくっつけない */
/* 2026-11-07 ブログの一覧は題だけ（キャッチと書き手の欄を外した。「普通のブログのページとして、そんなこと書いてるか普通？」） */
.cl-hero--simple { padding: clamp(112px, 12vw, 148px) 0 clamp(40px, 4vw, 56px); }
.cl-hero-h1 { margin: 20px 0 0; font-size: clamp(30px, calc(2.4vw + 16px), 48px); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; color: var(--e-fg); }
.cl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px 56px; align-items: end; }
.cl-hero-en { margin-top: 28px; font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .32em; color: var(--e-ink); }
.cl-hero-title { margin-top: 12px; font-size: clamp(32px, calc(3vw + 14px), 60px); font-weight: 900; line-height: 1.32; letter-spacing: -.025em; color: var(--e-fg); }
.cl-grad { background: var(--e-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cl-hero-lead { margin-top: 22px; max-width: 34em; font-size: 15.5px; line-height: 2; color: var(--e-fg-2); }

/* 著者欄（一覧の右と、記事の末尾） */
.au { display: grid; gap: 18px; padding: clamp(22px, 2.4vw, 30px); border: var(--e-card-line); border-radius: 28px; background: #fff; box-shadow: var(--e-card-shadow); }
.au-id { display: flex; align-items: center; gap: 14px; }
.au-mark { flex: none; display: grid; place-items: center; width: 52px; height: 52px; }   /* 公式シンボルは台に載せない（2026-10-30） */
.au-mark img { width: 52px; height: 52px; }
.au-name { display: grid; gap: 2px; }
.au-name small { font-size: 12px; font-weight: 700; color: var(--e-fg-3); }
.au-name strong { font-size: 20px; font-weight: 900; color: var(--e-fg); }
.au-name span { font-size: 13px; color: var(--e-fg-2); }
.au-guide { padding: 18px 20px 14px; border-radius: 20px; background: linear-gradient(140deg, #F1F7FF 0%, #F3F0FF 100%); }
.au-guide-h { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 900; color: var(--e-fg); }
.au-gpin { flex: none; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: radial-gradient(circle at 50% 50%, #fff 0 3px, transparent 3.5px), var(--e-grad-ink); }
.au-stats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.au-stats li { display: grid; gap: 4px; }
.au-v { font-family: var(--font-en); font-weight: 800; font-size: clamp(24px, calc(1.2vw + 12px), 34px); line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; background: var(--e-grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.au-v small { font-family: var(--font-jp); font-size: 13px; font-weight: 700; letter-spacing: 0; margin-left: 2px; }
.au-l { font-size: 12px; font-weight: 700; color: var(--e-fg-3); }
.au-asof { margin-top: 10px; font-size: 11px; color: var(--e-fg-3); text-align: right; }
.au-bio { font-size: 14.5px; line-height: 1.95; color: var(--e-fg-2); }
.au-link { display: inline-flex; align-items: center; width: fit-content; min-height: 44px; font-weight: 700; color: var(--e-ink); }
.au-link::after { content: ' →'; font-family: var(--font-en); margin-left: 6px; }
@media (max-width: 480px) {
  .au-stats { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .au-stats li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(42,111,245,.12); }
  .au-stats li .au-v { order: 2; font-size: 24px; }
}

/* カテゴリの大きなボタン（タブではなく、ボタンを並べる） */
.cl-list { padding-top: clamp(40px, 5vw, 72px); }
.cl-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.cl-catbtn, .cl-catlink { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 80px; padding: 14px 18px; border: var(--e-card-line); border-radius: 22px; background: #fff; color: var(--e-fg); font: inherit; text-align: left; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.cl-catbtn-i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--cs); }
.cl-catbtn-i svg { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cl-catbtn-t { display: grid; gap: 2px; min-width: 0; }
.cl-catbtn-t strong { font-size: 16px; font-weight: 900; }
.cl-catbtn-t small { font-size: 12px; font-weight: 500; color: var(--e-fg-3); }
.cl-catbtn-n { font-family: var(--font-en); font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--e-fg); }
.cl-catbtn-n small { font-family: var(--font-jp); font-size: 11px; font-weight: 700; margin-left: 2px; color: var(--e-fg-3); }
.cl-catbtn[aria-pressed="true"] { background: var(--e-grad-ink); border-color: transparent; color: #fff; }
.cl-catbtn[aria-pressed="true"] .cl-catbtn-t small, .cl-catbtn[aria-pressed="true"] .cl-catbtn-n, .cl-catbtn[aria-pressed="true"] .cl-catbtn-n small { color: #fff; }
.cl-catbtn[aria-pressed="true"] .cl-catbtn-i { background: rgba(255,255,255,.16); }
.cl-catbtn[aria-pressed="true"] .cl-catbtn-i svg { stroke: #fff; }
@media (hover: hover) and (pointer: fine) {
  .cl-catbtn:not([aria-pressed="true"]):hover, .cl-catlink:hover { border-color: rgba(42,111,245,.4); background: #FBFDFF; }
}

/* カード */
.cl-feed { margin-top: clamp(28px, 4vw, 48px); }
.cl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cl-feed .cl-grid { margin-top: 24px; }
@media (min-width: 673px) { .cl-grid:has(> .cl-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl-card { display: flex; flex-direction: column; min-width: 0; border: var(--e-card-line); border-radius: 26px; background: #fff; box-shadow: var(--e-card-shadow); overflow: clip; color: var(--e-fg); }
.cl-card[hidden] { display: none; }
.cl-cv { position: relative; display: block; aspect-ratio: 16 / 10; overflow: clip; background: var(--cs); }
.cv-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: transform .6s var(--e-ease); }
.cl-card-b { display: grid; align-content: start; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.cl-card-m { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-en); font-weight: 700; font-size: 13px; color: var(--e-fg-3); }
.cl-cat { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: var(--cs); color: var(--c); font-family: var(--font-jp); font-size: 12px; font-weight: 700; line-height: 1.6; }
.cl-cat--lg { padding: 6px 16px; font-size: 13px; background: #fff; }
.cl-card-t, .cl-card-d, .cl-plan-t, .nw-row-t, .nw-pg span, .au-name strong { overflow-wrap: anywhere; }
.cl-card-t { margin: 0; text-wrap: inherit; font-size: 17px; font-weight: 900; line-height: 1.65; }
/* 題名は縮めずに折り返す。行数の上限は安全弁（いまの最長は 344〜1280 の10幅で通常3行・先頭4行。2026-10-21 実測）。
   長い題名が来ても箱の外へ出さず、上限の行で止める */
.cl-card-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.cl-card--lead .cl-card-t { -webkit-line-clamp: 5; }
.cl-card-d { font-size: 14.5px; line-height: 1.95; color: var(--e-fg-2); }
.cl-card-more { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 700; color: var(--e-ink); }
.cl-card-more::after { content: ' →'; font-family: var(--font-en); }
@media (hover: hover) and (pointer: fine) {
  .cl-card { transition: box-shadow .3s ease, border-color .3s ease; }
  .cl-card:hover { border-color: rgba(42,111,245,.32); box-shadow: 0 22px 44px -24px rgba(30,60,140,.5); }
  .cl-card:hover .cv-svg { transform: scale(1.04); }
}
/* 先頭の1本は大きく */
.cl-card--lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.cl-card--lead .cl-cv { aspect-ratio: auto; min-height: 360px; }
.cl-card--lead .cl-card-b { align-content: center; gap: 14px; padding: clamp(26px, 3vw, 44px); }
.cl-card--lead .cl-card-t { font-size: clamp(22px, calc(1.2vw + 12px), 30px); line-height: 1.5; }
.cl-empty { margin-top: 24px; padding: 40px 24px; border: 1px dashed rgba(42,111,245,.3); border-radius: 22px; text-align: center; color: var(--e-fg-3); }

/* これから書く記事 */
.cl-plan { margin-top: clamp(56px, 7vw, 96px); }
.cl-plan-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cl-plan-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 64px; padding: 14px 20px; border: 1px dashed rgba(42,111,245,.28); border-radius: 18px; background: var(--e-page); }
.cl-plan-list li[hidden] { display: none; }
.cl-plan-t { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--e-fg-2); }

@media (max-width: 1080px) {
  .cl-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-hero-grid .au { max-width: 640px; }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .cl-card--lead { grid-template-columns: minmax(0, 1fr); }
  .cl-card--lead .cl-cv { min-height: 0; aspect-ratio: 16 / 9; }
  .cl-plan-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 672px) {
  .cl-grid { grid-template-columns: minmax(0, 1fr); }
  .cl-catbtn, .cl-catlink { min-height: 72px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 12px 16px; }
  .cl-catbtn-i { width: 44px; height: 44px; }
}

/* ============================================================
   ブログ: 記事
   ============================================================ */
.cl-top { padding: clamp(110px, 12vw, 140px) 0 0; }
.cl-cover { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); margin-top: 24px; min-height: 460px; border-radius: 36px; background: var(--cg); overflow: clip; }
.cl-cover-txt { display: grid; align-content: center; gap: 18px; padding: clamp(28px, 4vw, 60px); }
.cl-cover-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cl-cover-title { font-size: clamp(26px, calc(2vw + 14px), 44px); font-weight: 900; line-height: 1.45; letter-spacing: -.02em; color: var(--e-fg); text-wrap: pretty; }
.cl-cover-lead { max-width: 36em; font-size: 15.5px; line-height: 1.95; color: var(--e-fg-2); }
.cl-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.cl-meta span { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--e-fg); }
.cl-meta small { font-family: var(--font-jp); font-size: 12px; font-weight: 700; color: var(--e-fg-3); }
.cl-by { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(20,27,56,.1); }
.cl-by-mark { flex: none; display: grid; place-items: center; width: 42px; height: 42px; }   /* 公式シンボルは台に載せない（2026-10-30） */
.cl-by-mark img { width: 42px; height: 42px; }
.cl-by-t { display: grid; gap: 2px; }
.cl-by-t strong { font-size: 15px; font-weight: 900; color: var(--e-fg); }
.cl-by-t small { font-size: 12px; font-weight: 700; color: var(--e-fg-3); }
.cl-cover-art { display: grid; place-items: center; padding: clamp(20px, 3vw, 44px); }
.cl-cover-art .cv-svg { position: static; width: 100%; max-width: 560px; height: auto; aspect-ratio: 16 / 10; border-radius: 26px; box-shadow: 0 24px 48px -28px rgba(30,60,140,.45); }

.cl-main { padding-top: clamp(48px, 6vw, 88px); }
.cl-art-grid { display: grid; grid-template-columns: 260px minmax(0, 720px); justify-content: center; gap: 64px; align-items: start; }
.cl-side { position: sticky; top: 104px; }
.cl-col { min-width: 0; }
.cl-toc { padding: 18px 14px 12px; border-radius: 22px; background: var(--e-page); }
.cl-toc-h { display: flex; align-items: baseline; gap: 10px; padding: 0 8px; font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .2em; color: var(--e-ink); }
.cl-toc-h span { font-family: var(--font-jp); font-size: 12px; letter-spacing: .06em; font-weight: 700; color: var(--e-fg-3); }
.cl-toc ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.cl-toc a { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 4px; align-items: baseline; min-height: 44px; padding: 10px 8px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--e-fg-2); }
.cl-toc a .n { font-family: var(--font-en); font-weight: 800; font-size: 12px; color: var(--e-ink); }
.cl-toc a[aria-current="true"] { background: #fff; color: var(--e-fg); box-shadow: 0 8px 20px -14px rgba(30,60,140,.45); }
.cl-toc--inline { display: none; margin-bottom: 40px; }

/* 本文 */
.cl-body { counter-reset: h2; font-size: 17px; line-height: 2.05; color: var(--e-fg-2); }
.cl-body > * + * { margin-top: 1.35em; }
.cl-body > p:first-child { font-size: 18px; color: var(--e-fg); }
.cl-body h2 { counter-increment: h2; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 14px; margin-top: 2.6em; padding-bottom: .55em; border-bottom: 1px solid var(--e-line); font-size: clamp(22px, calc(1.2vw + 12px), 30px); font-weight: 900; line-height: 1.5; letter-spacing: -.01em; color: var(--e-fg); scroll-margin-top: 100px; }
.cl-body h2::before { content: counter(h2, decimal-leading-zero); font-family: var(--font-en); font-weight: 800; font-size: .6em; letter-spacing: .04em; color: var(--e-ink); }
.cl-body h3 { margin-top: 2em; font-size: 19px; font-weight: 900; line-height: 1.6; color: var(--e-fg); }
.cl-body strong { color: var(--e-fg); background: linear-gradient(transparent 64%, rgba(0,166,240,.18) 64%); }
.cl-body a { color: #1E5BE0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; padding-block: 11px; }
.cl-body > ul, .cl-body > ol, .md-note ul, .md-warn ul { padding-left: 1.3em; }
.cl-body li + li { margin-top: .35em; }
.cl-body li::marker { color: var(--e-ink); }
.cl-body code { padding: 2px 7px; border-radius: 6px; background: var(--e-sky); font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .88em; color: var(--e-fg); }
.cl-body blockquote { position: relative; margin: 1.6em 0 0; padding: 26px 28px 26px 70px; border-radius: 24px; background: var(--e-lilac); color: var(--e-fg); font-weight: 500; line-height: 1.95; }
.cl-body blockquote::before { content: '\201C'; position: absolute; left: 22px; top: 10px; font-family: var(--font-en); font-weight: 800; font-size: 64px; line-height: 1; color: #7B4BFF; opacity: .55; }
.cl-body .art-table { overflow-x: auto; border: var(--e-card-line); border-radius: 20px; background: #fff; }
.cl-body table { width: 100%; min-width: 34em; border-collapse: collapse; font-size: 14.5px; line-height: 1.75; }
.cl-body th, .cl-body td { padding: 14px 18px; border-bottom: 1px solid var(--e-line); text-align: left; vertical-align: top; }
.cl-body tbody tr:last-child td { border-bottom: 0; }
.cl-body th, .cl-body td { overflow-wrap: normal; } /* 表は横に送れるので、英単語を途中で割らない */
.cl-body th { background: var(--e-sky); color: var(--e-fg); font-weight: 900; white-space: nowrap; }
.cl-body td:first-child { font-weight: 700; color: var(--e-fg); white-space: nowrap; }
/* 最後の列が出典のリンクだけの表（build.mjs が付ける .art-table--src）: 1列目を折り返し、出典の列は細く、残りを中の列へ（2026-11-29 /blog/naver-place-japan の
   2つ目の表。1列目の「支払い方法・席数・個室・禁煙喫煙・お子様連れ」が折り返さずに広がり、直し方の列が狭くなっていた） */
.cl-body .art-table--src td:first-child { white-space: normal; }
.cl-body .art-table--src th:first-child { width: 26%; }
.cl-body .art-table--src th:last-child { width: 11em; }
.md-code { overflow-x: auto; border-radius: 20px; background: #141B38; }
.md-code pre { margin: 0; padding: 22px 26px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 13px; line-height: 1.75; color: #E6ECFF; white-space: pre; }
.cl-body .md-code code { padding: 0; background: none; color: inherit; font-size: inherit; }
.md-fig img { width: 100%; height: auto; border-radius: 20px; }

/* 図: 手順（:::steps） */
.md-steps { list-style: none; margin-left: 0; padding: 0 !important; }
.md-steps li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-bottom: 18px; margin: 0 !important; }
.md-steps li:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 60px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(#BCD2FA, #D8CCFF); }
.md-steps-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--e-grad-ink); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 17px; box-shadow: 0 10px 22px -12px rgba(42,85,230,.7); }
.md-steps-b { padding: 14px 20px 16px; border-radius: 18px; background: var(--e-page); }
.md-steps-b strong { display: block; background: none; font-size: 17px; font-weight: 900; line-height: 1.6; color: var(--e-fg); }
.md-steps-b p { margin-top: 4px; font-size: 15.5px; line-height: 1.9; }

/* 囲み（:::note / :::warn） */
.md-note, .md-warn { padding: 22px 26px; border-radius: 22px; background: var(--e-sky); }
.md-warn { background: #FFF4F5; border: 1px solid #FFD3D9; }
.md-note > * + *, .md-warn > * + * { margin-top: .8em; }
.md-box-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 16px; font-weight: 900; line-height: 1.6; color: var(--e-fg); }
.md-box-h::before { padding: 3px 10px; border-radius: 999px; font-family: var(--font-en); font-weight: 800; font-size: 11px; letter-spacing: .16em; color: #fff; }
.md-note .md-box-h::before { content: 'POINT'; background: var(--e-grad-ink); }
.md-warn .md-box-h::before { content: 'NG'; background: #C8283E; }
.md-warn li::marker { color: #C8283E; }

/* 記事の末尾 */
/* 著者欄（tools/build.mjs の eArticleAuthor。中身は記事のカテゴリで1つだけ HTML に書き出す）
   上に名前と肩書き → 横一列の実績の帯 → 紹介文。左右2列にすると右の箱の下が大きく空くので（2026-10-19 に直した）、
   帯は横いっぱいに1本で通す。見せ場は帯の1つだけ */
.cl-main { padding-bottom: clamp(104px, 12vw, 160px); } /* すぐ下の濃い相談の帯（.cl-cta）と離す（2026-10-19。フッターとくっついて見えた） */
.au--art { margin-top: clamp(64px, 7vw, 88px); grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "mark name link" "band band band" "bio bio bio"; align-items: center; column-gap: 16px; row-gap: 0; padding: clamp(24px, 3vw, 36px); }
.au--art .au-mark { grid-area: mark; width: 48px; height: 48px; }
.au--art .au-mark img { width: 48px; height: 48px; }
.au--art .au-name { grid-area: name; min-width: 0; }
.au--art .au-link { grid-area: link; }
.au-band { grid-area: band; display: grid; grid-template-columns: minmax(0, 15.5em) minmax(0, 1fr); align-items: center; margin-top: 22px; border-radius: 20px; background: linear-gradient(140deg, #F1F7FF 0%, #F3F0FF 100%); }
.au-band-h { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; row-gap: 4px; padding: 18px 8px 18px 22px; font-size: 14px; font-weight: 900; line-height: 1.6; color: var(--e-fg); word-break: auto-phrase; }
.au-band-h small { grid-column: 2; font-size: 11px; font-weight: 700; color: var(--e-fg-3); }
.au-band-logo { flex: none; width: 22px; height: 22px; object-fit: contain; }
.au-band-list { list-style: none; margin: 0; padding: 14px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.au-band-list > li { min-width: 0; padding: 4px 18px; border-left: 1px solid rgba(42,111,245,.16); }
.au-band--num .au-band-list > li { display: grid; gap: 4px; }
.au-band--num .au-band-list > li:first-child { border-left: 0; }
.au-band-h .nb { display: inline-block; }
.au-band--num .au-v { font-size: clamp(22px, calc(.9vw + 14px), 30px); }
.au-band--facts .au-band-list { grid-auto-flow: row; padding: 6px 22px 6px 0; }
.au-band--facts .au-band-list > li { padding: 12px 0 12px 20px; font-size: 14px; font-weight: 700; line-height: 1.75; color: var(--e-fg); word-break: auto-phrase; }
.au-band--facts .au-band-list > li + li { border-top: 1px solid rgba(42,111,245,.16); }
.au-band--chips { grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr); }
.au-band--chips .au-band-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 16px 18px; border-left: 1px solid rgba(42,111,245,.16); }
.au-band--chips .au-band-list > li { padding: 6px 12px; border: 0; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--e-fg); word-break: auto-phrase; }
.au--art .au-bio { grid-area: bio; margin-top: 20px; }
@media (max-width: 840px) {
  .au-band { grid-template-columns: minmax(0, 1fr); }
  .au-band-h { padding: 16px 20px 0; }
  .au-band-list { padding: 10px 4px 14px; }
  .au-band--chips .au-band-list { padding: 12px 20px 18px; border-left: 0; }
  .au-band--facts .au-band-list { padding: 6px 20px 8px; }
  .au-band--facts .au-band-list > li { padding: 10px 0; border-left: 0; }
}
@media (max-width: 672px) {
  .au--art { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "mark name" "band band" "bio bio" "link link"; }
  .au--art .au-link { margin-top: 8px; }
}
@media (max-width: 400px) {
  .au-band--num .au-band-list > li { padding: 4px 10px; }
  .au-band--num .au-v { font-size: 20px; }
  .au-band--num .au-v small { font-size: 11px; }
}

.cl-after { padding-top: clamp(56px, 7vw, 96px); }
.cl-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; padding: clamp(28px, 4vw, 56px); border-radius: 36px; background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.2), transparent 42%), var(--e-grad-ink); color: #fff; }
.cl-cta-en { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.85); }
.cl-cta h2 { margin-top: 10px; font-size: clamp(22px, calc(1.2vw + 13px), 32px); font-weight: 900; line-height: 1.5; color: #fff; }
.cl-cta-txt > p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.94); }
.cl-cta-btns { display: grid; gap: 12px; min-width: 280px; }
.cl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; }
.cl-btn--w { background: #fff; color: #1F57D6; }
.cl-btn--line { border: 1.5px solid rgba(255,255,255,.75); color: #fff; }
@media (hover: hover) and (pointer: fine) { .cl-btn--line:hover { background: rgba(255,255,255,.12); } .cl-btn--w:hover { background: #EEF5FF; } }
.cl-rel { margin-top: clamp(64px, 8vw, 104px); }
.cl-rel .cl-grid { margin-top: 24px; }
.cl-catnav { margin-top: clamp(56px, 7vw, 88px); }
.cl-catnav-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 20px; }

@media (max-width: 1080px) {
  .cl-art-grid { grid-template-columns: minmax(0, 720px); gap: 0; }
  .cl-side { display: none; }
  .cl-toc--inline { display: block; }
  .cl-cover { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cl-cover-art { order: -1; padding-bottom: 0; }
}
@media (max-width: 840px) {
  .cl-cta { grid-template-columns: minmax(0, 1fr); }
  .cl-cta-btns { min-width: 0; }
}
@media (max-width: 672px) {
  .cl-cover { border-radius: 26px; }
  .cl-cover-art .cv-svg { border-radius: 18px; }
  .cl-body { font-size: 15px; }
  .cl-body > p:first-child { font-size: 16px; }
  .cl-body blockquote { padding: 56px 20px 20px; }
  .cl-body blockquote::before { left: 18px; top: 6px; font-size: 56px; }
}
@media (max-width: 480px) {
  .md-steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .md-steps li:not(:last-child)::after { left: 21px; top: 48px; }
  .md-steps-n { width: 44px; height: 44px; border-radius: 14px; font-size: 15px; }
  .md-steps-b { padding: 12px 16px 14px; }
  .md-note, .md-warn { padding: 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-svg, .nw-row-a, .cl-catbtn, .cl-catlink { transition: none !important; }
}

/* /blog#meo などで開いたとき、カテゴリのボタンが固定ヘッダーの下に隠れないように（e.css の [id] の規則はボタンを含まない） */
.cl-catbtn[id] { scroll-margin-top: 128px; }

/* 著者欄の小物（一覧の au-multi と記事の au--art で使う） */
.au-gstar { flex: none; display: grid; place-items: center; width: 22px; height: 22px; }
.au-gstar svg { width: 20px; height: 20px; fill: var(--c-ai); }
.au-guide-h { word-break: auto-phrase; }

/* ブログ一覧の「書いている人」: MEO・Web制作・AI の3つを同じ重さで並べる */
.au-multi { display: grid; gap: 10px; padding: clamp(22px, 2.4vw, 30px); border: var(--e-card-line); border-radius: 28px; background: #fff; box-shadow: var(--e-card-shadow); }
.au-multi > .au { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 14px; }
.au-multi .au-guide { padding: 12px 16px; border-radius: 18px; background: var(--c-meo-s); }
/* 一覧ではローカルガイドの数字を1行の小さな並びにして、Web制作・AI の2行と同じ大きさにそろえる */
.au-multi .au-stats { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 6px 0 0 28px; }
.au-multi .au-stats li { display: flex; align-items: baseline; gap: 4px; padding: 0; border: 0; }
.au-multi .au-l { order: 1; font-size: 12px; color: var(--e-fg-2); }
.au-multi .au-v, .au-multi .au-stats li .au-v { order: 2; font-size: 16px; }
.au-multi .au-v small { font-size: 11px; }
.au-multi .au-asof { margin: 2px 0 0 28px; text-align: left; }
.au-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.au-more li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: var(--cs); }
.au-more-i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #fff; }
.au-more-i svg { width: 20px; height: 20px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.au-more-t { display: grid; gap: 2px; min-width: 0; }
.au-more-t strong { font-size: 14px; font-weight: 900; line-height: 1.5; color: var(--e-fg); word-break: auto-phrase; }
.au-more-t small { font-size: 12px; line-height: 1.6; color: var(--e-fg-2); word-break: auto-phrase; }
@media (max-width: 1080px) { .cl-hero-grid .au-multi { max-width: 640px; } .cl-hero-grid .au-multi > .au { max-width: none; } }
@media (max-width: 480px) {
  .au-multi .au-stats li { padding: 0; border: 0; }
}

/* スマホ（〜672px）の本文は PC より小さく（common.css の最後と同じ決まり。2026-11-02）。ブログの本文は上の 672px の区画で 15px */
@media (max-width: 672px) {
  .nw-body { font-size: 15px; }
  .md-steps-b p, .cl-cover-lead, .cl-hero-lead { font-size: 14.5px; }
  .cl-cta-txt > p:last-child { font-size: 14px; }
  .au-bio, .cl-card-d, .cl-body table { font-size: 13.5px; }
  .nw-lead { font-size: 13px; }
}
