/* brush-cards: 2026-10-26 ブラッシュアップ（modulesss.com 参照）。site.css を上書きする
   方針: 写真枠の代わりに置いていた「濃緑＋斜めの面＋年月」のタイル（.ttile）と、正方形・角丸カードの並びをやめる。
   依頼書08章「議会での質問ページは写真なしでも成立するレイアウト。文字と年月の情報設計で見せる」を、文字と罫線の組版で満たす。
   参照（技法だけ。画像・文言・コードは持ち込まない。ギャラリーのカテゴリ URL ← 元サイト）
   - 年（小）と月（大）を縦に積み、縦罫で題と段組みする／濃緑の面に白抜き
       modulesss /category/slider ← ROBOPRO https://ai.folio-sec.com/ （毎月の実績の横送り）
   - 罫線で区切った行（日付｜枠線のタグ｜題）、行全体がリンクでホバーで淡い面
       modulesss /category/link-list ← HQ https://hq-hq.co.jp/ （NEWS）
   - 左に見出しの列、右に罫線の行（会期ごとに束ねる型に使う）
       modulesss /category/link-list ← Growin' Partners https://www.growin.jp/ （TOPICS）
   - 行の右端の円の矢印、罫線で区切った大きなリンク行
       modulesss /category/link-list ← SEVEN DEX https://sevendex.com/
   床値: 押せる範囲 44px 以上、UI の反応 280ms、prefers-reduced-motion で動きを止める */

:root { --row-line: rgba(31, 77, 50, .2); --row-line-strong: rgba(31, 77, 50, .32); }

/* =====================================================================
   年月の積み（.ym）— 旧 .ttile の置き換え。aria-hidden（会期名はメタ行・読み上げ用の文字で持つ）
   ===================================================================== */
.ym { display: inline-grid; grid-auto-rows: min-content; justify-items: start; align-content: start; gap: 4px; flex: none;
  font-family: var(--ff-en); font-weight: 600; line-height: .9; color: var(--primary); letter-spacing: 0; }
.ym__y { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; color: var(--secondary); }
.ym__m { font-size: 2.5rem; letter-spacing: -.02em; }
/* 行の左端: 縦罫で題と分ける */
.ym--row { align-self: stretch; padding: 3px 0 0; border-right: 1px solid var(--row-line); }
/* 会期の束の見出し */
.ym--group .ym__y { font-size: 1rem; }
.ym--group .ym__m { font-size: 4rem; }
/* 濃緑の面の上（注目の質問・個別の帯） */
.ym--card, .ym--band { align-self: stretch; color: var(--white); border-right: 1px solid rgba(255, 255, 255, .42); }
.ym--card .ym__y, .ym--band .ym__y { color: rgba(255, 255, 255, .86); }
.ym--card { padding-right: 16px; }
.ym--card .ym__m { font-size: 2.75rem; }
.ym--band { padding-right: 28px; }
.ym--band .ym__y { font-size: 1rem; }
.ym--band .ym__m { font-size: 4.5rem; }

/* =====================================================================
   罫線の行（質問の一覧・最新・関連・課題ページの関連）— HQ・SEVEN DEX の型
   ===================================================================== */
/* 罫線は行の文字より 12px 外へ出す（文字の左端は見出しと揃う） */
.qlist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 18px; padding: 0; border-top: 1px solid var(--row-line); }
.qlist--one, .qlist--group { margin: 0; }
.qlist > li { border-bottom: 1px solid var(--row-line); }
.qlist > li[hidden], .qlist [hidden] { display: none; }
.qitem { position: relative; isolation: isolate; display: grid; grid-template-columns: 76px minmax(0, 1fr) 40px; align-items: start; column-gap: 24px;
  margin: 0; padding: 24px 12px; color: var(--ink); text-decoration: none; transition: none; }
.qitem--nodate { grid-template-columns: minmax(0, 1fr) 40px; }
.qitem::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pale); transform: scaleX(0); transform-origin: left center; transition: transform .28s var(--ease); }
.qitem:hover, .qitem:focus-visible { opacity: 1; }
.qitem:hover::before, .qitem:focus-visible::before { transform: scaleX(1); }
.qitem__body { gap: 7px; }
.qitem__title { font-size: 1.125rem; font-weight: 700; line-height: 1.55; letter-spacing: .01em; color: var(--ink); }
.qitem:hover .qitem__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.qitem__sum { font-size: .9375rem; font-weight: 500; line-height: 1.85; color: var(--muted); }
.qitem__go, .news-slide__go { align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--row-line-strong); color: var(--primary);
  transition: background-color .28s var(--ease), border-color .28s var(--ease), color .28s var(--ease); }
.qitem__go .ic, .qcard2__go .ic, .news-slide__go .ic { width: 16px; height: 16px; transition: transform .28s var(--ease); }
.qitem:hover .qitem__go, .qitem:focus-visible .qitem__go { background: var(--primary); border-color: var(--primary); color: var(--white); }
.qitem:hover .qitem__go .ic, .qcard2:hover .qcard2__go .ic, .news-slide a:hover .news-slide__go .ic { transform: translateX(3px); }

/* 行のメタ: テーマは枠線のタグ（HQ）、会期は灰の小さな文字。左に寄せる */
.qitem .qmeta, .qcard2 .qmeta { justify-content: flex-start; gap: 4px 12px; }
.qitem .qmeta__theme { padding: 1px 8px 2px; border: 1px solid var(--row-line-strong); border-radius: 3px; font-size: .8125rem; font-weight: 700; line-height: 1.5; color: var(--primary); }
.qitem .qmeta__theme::before { display: none; }
.qitem .qmeta__session { font-size: .8125rem; font-weight: 500; color: var(--muted); text-align: left; }
.qitem .qtags, .qcard2 .qtags { gap: 2px 14px; font-size: .8125rem; line-height: 1.5; }

/* 一覧の途中の導線（依頼書07章）: 行の並びの中の淡い面の1行 */
.qlist > .qcta { margin: 0; border-radius: 0; padding: 28px 24px; }

/* =====================================================================
   会期ごとに束ねる（Growin' Partners の型: 左に見出しの列、右に罫線の行）
   ===================================================================== */
.qgroups { display: flex; flex-direction: column; gap: 56px; padding: 0 30px; }
.qgroup { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 36px; border-top: 2px solid var(--primary); }
.qgroup__h { align-self: start; position: sticky; top: calc(var(--shell-h, 76px) + 24px); margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; color: var(--primary); }
.qgroup__link { display: grid; gap: 12px; padding: 24px 0 8px; color: inherit; text-decoration: none; }
.qgroup__kind { font-size: .9375rem; font-weight: 700; line-height: 1.5; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
a.qgroup__link:hover .qgroup__kind { text-decoration: underline; text-underline-offset: 4px; }
a.qgroup__link { min-height: 44px; }
.qlist--group { padding: 0; border-top: 0; }
.qlist--group > li:last-child { border-bottom: 0; }

/* =====================================================================
   注目の質問（横送り）— ROBOPRO の型: 濃緑の面＋年月の積み＋縦罫＋題
   ===================================================================== */
/* 横送りの枠（overflow）でフォーカスの輪が切れないよう、上下に 8px の逃げ */
.hscroll--cards { gap: 16px; margin-block: -8px; padding-block: 8px; }
.hscroll--cards > li { flex: 0 0 312px; display: flex; }
.qcard2 { position: relative; display: flex; flex-direction: column; gap: 20px; width: 100%; color: var(--ink); text-decoration: none; transition: none; }
.qcard2:hover { opacity: 1; }
.qcard2--feat { min-height: 236px; padding: 22px 22px 20px; border-radius: 6px; background: var(--primary); color: var(--white); transition: background-color .28s var(--ease); }
.qcard2--feat:hover, .qcard2--feat:focus-visible { background: var(--secondary); }
.qcard2__top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 16px; }
.qcard2__title { font-size: 1.125rem; font-weight: 700; line-height: 1.55; letter-spacing: .01em; font-feature-settings: "palt" 1; }
.qcard2--feat .qcard2__title { color: var(--white); }
.qcard2__foot { margin-top: auto; display: grid; gap: 6px; padding-right: 52px; }
.qcard2--feat .qmeta__theme, .qcard2--feat .qmeta__session { color: var(--white); text-align: left; }
.qcard2--feat .qmeta__theme::before { background: var(--white); }
.qcard2--feat .qtags { color: rgba(255, 255, 255, .82); }
.qcard2__go { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55); color: var(--white); transition: background-color .28s var(--ease), color .28s var(--ease); }
.qcard2--feat:hover .qcard2__go, .qcard2--feat:focus-visible .qcard2__go { background: var(--white); color: var(--primary); }

/* =====================================================================
   個別ページ: 写真枠のヒーロー → 濃緑の帯に年月と題（同じ ROBOPRO の段組み）。本文の白カードは罫線に
   ===================================================================== */
.qd__band { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 28px; padding: 36px 36px 38px; border-radius: 0 0 12px 12px; background: var(--primary); color: var(--white); }
.qd__band .qd__title { align-self: center; color: var(--white); font-size: 1.875rem; line-height: 1.45; letter-spacing: .01em; }
.qd__inner { padding-top: 28px; }
/* 個別のメタ行も一覧の行と同じ組み（テーマ＝枠線のタグ、会期＝灰の文字、左寄せ）。
   リンク自体は site.css の上下 10px の余白で押せる範囲 44px 以上を保ち、枠線は内側の span に引く */
.qd__top .qmeta { justify-content: flex-start; gap: 6px 14px; }
.qd__top .qmeta__theme::before { display: none; }
.qd__top .qmeta__tag { display: inline-block; padding: 1px 10px 2px; border: 1px solid var(--row-line-strong); border-radius: 3px; font-size: .875rem; font-weight: 700; line-height: 1.5; color: var(--primary); }
.qd__top .qmeta__session { font-size: .875rem; color: var(--muted); text-align: left; }
.qd__top .qtags { gap: 2px 14px; font-size: .8125rem; }
.qd__card { padding: 18px 2px 0; border-top: 1px solid var(--row-line); border-radius: 0; background: transparent; }
.qrel__h { margin-bottom: 8px; }
.qlist--rel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; margin: 0 48px; padding: 0 0 64px; border-top: 0; }
.qlist--rel > li:nth-child(-n+2) { border-top: 1px solid var(--row-line); }

/* =====================================================================
   TOP: 議会での質問（lisa の白カード → 淡い面の上の罫線の行。年月の積み＋題）
   ===================================================================== */
.tq__list { display: block; border-top: 1px solid var(--row-line-strong); }
.tq__list > li { border-bottom: 1px solid var(--row-line-strong); }
.qcard { position: relative; isolation: isolate; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: start; column-gap: 22px;
  margin: 0; padding: 24px 14px 20px; border-radius: 0; background: transparent; transition: none; }
.qcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); transform: scaleX(0); transform-origin: left center; transition: transform .28s var(--ease); }
.qcard:hover, .qcard:focus-visible { opacity: 1; }
.qcard:hover::before, .qcard:focus-visible::before { transform: scaleX(1); }
.qcard__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qcard__meta { gap: 4px 12px; }
.qcard .pill { padding: 1px 8px 2px; border: 1px solid var(--row-line-strong); border-radius: 3px; background: transparent; color: var(--primary); font-size: .8125rem; font-weight: 700; }
.qcard__session { color: var(--muted); }
.qcard__title { margin-top: 0; font-size: 1.125rem; line-height: 1.6; }
.qcard__more { margin-top: 2px; }
.qcard__plus { transition: background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease); }
.qcard:hover .qcard__plus { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =====================================================================
   TOP: お知らせのカルーセル（斜めの面のグラフィック → 日付を大きく組んだ縦の列）
   ===================================================================== */
.news-slide a { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 252px; padding: 20px 4px 24px; border-top: 3px solid var(--primary); border-bottom: 1px solid var(--row-line); color: var(--ink); }
.news-slide__date { display: grid; align-content: end; gap: 4px; min-height: 84px; font-family: var(--ff-en); font-weight: 600; line-height: .9; color: var(--primary); }
.news-slide__y { font-size: .875rem; font-weight: 500; letter-spacing: .08em; color: var(--secondary); }
.news-slide__md { font-size: 3.5rem; letter-spacing: -.02em; }
.news-slide__date--none .news-slide__md { font-family: var(--ff); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.news-slide__meta { margin-top: 4px; padding: 0; }
.news-slide__title { margin-top: 0; padding: 0 52px 0 0; font-size: 1.125rem; line-height: 1.6; }
.news-slide__go { position: absolute; right: 4px; bottom: 22px; }
.news-slide a:hover .news-slide__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.news-slide a:hover .news-slide__go { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =====================================================================
   TOP: 課題のスライド（5px 枠の角丸パネル → 濃緑の面。左に「課題」と番号の列、縦罫、右に題と要点）
   ===================================================================== */
.iss-slider__list { border: 0; border-radius: 6px; background: var(--primary); }
.iss-slide a { color: var(--white); }
.iss-slide__bar { display: none; }
.iss-slide__tag { left: 0; top: 0; bottom: 0; width: 132px; padding: 34px 0 0 32px; justify-items: start; align-content: start; gap: 6px; background: transparent; clip-path: none; }
.iss-slide__tag::after { content: ""; position: absolute; right: 0; top: 34px; bottom: 34px; width: 1px; background: rgba(255, 255, 255, .38); }
.iss-slide__tag span:first-child { font-size: .875rem; letter-spacing: .24em; color: rgba(255, 255, 255, .86); }
.iss-slide__no { margin-top: 0; font-size: 5.5rem; font-weight: 600; line-height: .9; }
.iss-slide__body { gap: 18px; padding: 34px 36px 30px 164px; }
.iss-slide__title { color: var(--white); font-size: 1.625rem; line-height: 1.45; }
.iss-slide__lead { padding: 0; border-radius: 0; background: transparent; color: rgba(255, 255, 255, .92); font-size: 1rem; line-height: 1.9; }
.iss-slide__more { color: var(--white); }
.iss-slide__more .ic { transition: transform .28s var(--ease); }
.iss-slide a:hover .iss-slide__more .ic { transform: translateX(3px); }

/* =====================================================================
   TOP: 県政報告＋議会での質問の2枚（影の白カード → 罫線と上辺の帯）と、表紙の仮置き（紙の表紙に見せる）
   ===================================================================== */
.trep-card { border-radius: 4px; box-shadow: none; background: var(--white); border: 1px solid var(--row-line); border-top: 4px solid var(--primary); }
.trep-card--digital { border-top-color: var(--secondary); }
.trep-card--digital > a { border-radius: 0; }
.cover-ph { container-type: inline-size; align-content: start; justify-items: stretch; gap: 0; padding: 0; border: 1px solid var(--row-line); background: var(--white); color: var(--primary);
  box-shadow: 0 12px 26px rgba(26, 29, 24, .16); line-height: 1.25; }
.cover-ph > span:first-child { display: block; padding: 16% 6% 9%; background: var(--primary); color: var(--white); text-align: center; font-size: max(12px, 11cqi); font-weight: 900; letter-spacing: .14em; }
.cover-ph > span:nth-child(2) { padding-top: 18%; text-align: center; font-size: max(14px, 17cqi); font-weight: 900; letter-spacing: .04em; }
.cover-ph__note { justify-self: center; margin-top: 10%; border-color: var(--secondary); color: var(--secondary); font-size: max(12px, 6.5cqi); }
.cover-ph--flat { box-shadow: none; border-radius: 2px; }

/* 県政報告の一覧（rcard → 罫線の行） */
.rgrid { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 960px; border-top: 1px solid var(--row-line); }
.rgrid > li { border-bottom: 1px solid var(--row-line); }
.rcard { position: relative; isolation: isolate; gap: 36px; margin: 0; padding: 28px 14px; border-radius: 0; box-shadow: none; transition: none; }
.rcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pale); transform: scaleX(0); transform-origin: left center; transition: transform .28s var(--ease); }
.rcard:hover, .rcard:focus-visible { opacity: 1; }
.rcard:hover::before, .rcard:focus-visible::before { transform: scaleX(1); }
.rcard__cover { flex: 0 0 132px; border-radius: 0; overflow: visible; }
.rcard__title { margin: 10px 0 20px; font-weight: 700; }
.rcard__more .ic { transition: transform .28s var(--ease); }
.rcard:hover .rcard__more .ic { transform: translateX(3px); }

/* =====================================================================
   県政の課題と、私の考え（白カード → 番号の列＋罫線。番号は CSS の連番で、TOP の「課題 1〜6」と同じ）
   ===================================================================== */
/* 番号の列は 2026-10-26 ユーザー指示「課題ページの番号（1〜6）は消す」で外した */
.issue { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 16px; align-content: start;
  margin: 0 30px; padding: 30px 0 0; border-top: 2px solid var(--primary); }
.issue > * { grid-column: 1; min-width: 0; }
.issue__card { padding: 0; border-radius: 0; background: transparent; }
.issue__rel { margin-top: 12px; }
.issue .qitem { padding: 22px 12px; border-radius: 0; background: transparent; }

/* =====================================================================
   SP・タブレット
   ===================================================================== */
@media (max-width: 950px) {
  .qlist { margin: 0 8px; }
  .qlist--one, .qlist--group { margin: 0; }
  .qitem { grid-template-columns: 56px minmax(0, 1fr) 32px; column-gap: 14px; padding: 20px 12px; }
  .qitem--nodate { grid-template-columns: minmax(0, 1fr) 32px; }
  .qitem__title { font-size: 1rem; }
  .qitem__go { width: 32px; height: 32px; }
  .qitem__go .ic { width: 14px; height: 14px; }
  .ym__y { font-size: .75rem; }
  .ym--row .ym__m { font-size: 2rem; }
  .qgroups { gap: 40px; padding: 0 20px; }
  .qgroup { grid-template-columns: minmax(0, 1fr); }
  .qgroup__h { position: static; }
  .qgroup__link { display: flex; align-items: flex-end; gap: 16px; padding: 18px 0 14px; border-bottom: 1px solid var(--row-line); }
  .ym--group .ym__y { font-size: .8125rem; }
  .ym--group .ym__m { font-size: 2.75rem; }
  .qgroup__kind { padding-bottom: 2px; }
  .hscroll--cards { gap: 12px; }
  .hscroll--cards > li { flex-basis: 280px; }
  .qcard2--feat { min-height: 220px; padding: 20px 18px 18px; }
  .ym--card .ym__m { font-size: 2.25rem; }
  .qcard2__title { font-size: 1rem; }
  .qcard2__go { right: 14px; bottom: 14px; }
  .qd__band { column-gap: 18px; padding: 24px 20px 26px; border-radius: 0; }
  .ym--band { padding-right: 18px; }
  .ym--band .ym__y { font-size: .8125rem; }
  .ym--band .ym__m { font-size: 2.75rem; }
  .qd__band .qd__title { font-size: 1.375rem; line-height: 1.5; }
  .qd__inner { padding-top: 22px; }
  .qlist--rel { grid-template-columns: minmax(0, 1fr); margin: 0 8px; padding: 0 0 40px; }
  .qlist--rel > li:nth-child(2) { border-top: 0; }
  .news-slide a { min-height: 232px; padding: 18px 2px 22px; }
  .news-slide__date { min-height: 70px; }
  .news-slide__md { font-size: 2.75rem; }
  .news-slide__title { font-size: 1rem; }
  .rcard { gap: 16px; padding: 20px 10px; }
  .rcard__cover { flex-basis: 96px; }
  .rcard__title { margin: 6px 0 14px; }
  /* TOP 県政報告の2枚: 列を中身の幅で広げない（320〜390 でカードが画面より広くなり、端末画面がカードの右の縁で切れていた）。
     題の幅は残し、端末画面はその余りに合わせて縮める。最大は参照 maeshima-top の SP と同じ 144.8×217 */
  .trep__cards { grid-template-columns: minmax(0, 1fr); }
  .trep-card--digital .trep-card__text { flex: 1 1 0; min-width: min-content; }
  .trep-card__screen { flex: 0 1 156.8px; min-width: 0; }
  .trep-card__device { width: 100%; max-width: 144.8px; height: auto; }
  .trep-card__device img { height: auto; aspect-ratio: 134.8 / 198; } /* 比率は余白の無い画像に持たせる（余白つきの箱では WebKit と Chrome で高さが 19px ずれる） */
  /* 紙のカード: 文字の列は表紙の手前（8px 空ける）まで広げる。64%＋右 20px では 320・360 で「バックナン／バー」と折れていた。
     表紙は 104px（right -8・rotate 5deg は site.css のまま）を基本に、列が「第1号を制作中です。」1行ぶん（約 160px）を
     下回る幅では 84px まで縮める。1.06 は 5deg 回転した表紙の外接幅の係数（cos5°＋1.405×sin5°） */
  .trep-card--paper { container-type: inline-size; --cv: clamp(84px, (100cqi - 140px) / 1.06, 104px); }
  .trep-card--paper .trep-card__text { flex: 1 1 auto; padding-right: 0; margin-right: calc(var(--cv) * 1.06 - 21px); }
  .trep-card--paper .trep-card__cover { width: var(--cv); }
  .trep-card--paper .text-link { white-space: nowrap; }
  .issue { grid-template-columns: minmax(0, 1fr); row-gap: 12px; margin: 0 20px; padding-top: 22px; }
  .issue > * { grid-column: 1; }
}
@media (max-width: 900px) {
  .iss-slide__tag { width: 76px; padding: 20px 0 0 18px; }
  .iss-slide__tag::after { top: 20px; bottom: 20px; }
  .iss-slide__tag span:first-child { font-size: .75rem; letter-spacing: .16em; }
  .iss-slide__no { font-size: 3rem; }
  .iss-slide__body { gap: 10px; padding: 20px 18px 18px 96px; }
  .iss-slide__title { font-size: 1.125rem; }
}
@media (max-width: 767px) {
  .qcard { grid-template-columns: 54px minmax(0, 1fr); column-gap: 14px; padding: 20px 10px 16px; }
  .qcard .ym--row .ym__m { font-size: 2rem; }
  .qcard__title { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .qitem::before, .qcard::before, .rcard::before { transition: none; }
  .qitem__go, .qcard2--feat, .qcard2__go, .qcard__plus, .news-slide__go { transition: none; }
  .qitem__go .ic, .qcard2__go .ic, .news-slide__go .ic, .iss-slide__more .ic, .rcard__more .ic { transition: none; }
}
