/* 議会での質問（2026-10-26 作り直し）。site.css と brush-*.css の後に読む。
   ユーザー指摘「チープ・AIらしい・デザイン性の欠落」への対応:
   - 箱・タイル・円の矢印・枠付きタグを並べない。題を主役にした文字組みと罫で見せる
   - 依頼書04章の基本形（濃緑のベタ面＋白抜き、斜めの面）を、最重要のセクションの地にする
   - 選ぶ手段は「キーワード検索」と「テーマ索引（件数つき）」の2つ。会期は年表の見出しと検索欄の会期で選ぶ
   参考にした作り方: 左に見出しの列・右に罫の行（growin https://www.growin.jp/ ← modulesss /category/link-list）、
   罫で区切った索引（hq https://hq-hq.co.jp/ ← 同）。 */

/* ---------- 見出しの印（斜めに切った短い面。FV・下層の帯と同じ −18°） ---------- */
.qsect__h, .tq2__title, .qvideo__h { display: flex; align-items: center; gap: .45em; }
.qsect__h::before, .tq2__title::before, .qvideo__h::before { content: ""; flex: none; width: .3em; height: .95em; background: var(--secondary); transform: skewX(-18deg); }
.tq2__title::before { background: var(--accent); }

/* ---------- 帯（ページの頭） ---------- */
.qband { position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: var(--primary); color: var(--white); }
.qband::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 68%; width: 48%; background: var(--secondary); transform: skewX(-18deg); transform-origin: left bottom; }
/* 一覧ページだけ: 右の斜めの面を本人の写真にする。面は今までと同じ傾き（-18°）で、写真は逆向きに傾けて歪みを打ち消す。
   左側に濃い緑を重ね、上に乗る「会期」「並び順」の白い文字を読めるようにする（2026-10-26） */
.qband--photo::after { display: none; }
.qband__photo { position: absolute; z-index: -1; top: 0; bottom: 0; left: 66%; width: 52%; overflow: hidden; transform: skewX(-18deg); transform-origin: left bottom; }
/* 帯の上端はヘッダーの下に隠れるので、写真はヘッダーの下から始め、頭が切れないようにする */
.qband__photo img { position: absolute; top: var(--shell-h, 76px); left: -22%; width: 132%; height: calc(100% - var(--shell-h, 76px)); max-width: none; object-fit: cover; object-position: 36% 12%; transform: skewX(18deg); transform-origin: left bottom; }
.qband__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31, 77, 50, .62) 0%, rgba(31, 77, 50, .18) 45%, rgba(31, 77, 50, 0) 70%); }
.qband__in { max-width: 1200px; margin: 0 auto; padding: calc(var(--shell-h, 76px) + 36px) 40px 56px; } /* ヘッダーは負のマージンで本文に重なるため、その高さぶん下げる */
.qband--small .qband__in { padding-bottom: 44px; }
.qcrumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.qcrumbs li:not(:last-child)::after { content: "/"; margin: 0 .6em; opacity: .6; }
.qcrumbs a { color: inherit; text-decoration: none; display: inline-block; padding: 10px 0; margin: -10px 0; }
.qcrumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.qcrumbs [aria-current] { display: inline-block; max-width: 24em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.qband__title { margin-top: 22px; font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem); font-weight: 900; line-height: 1.2; letter-spacing: .02em; color: var(--white); }
.is-qdetail .qband__title { max-width: 26em; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.4; }
.qband__lead { margin-top: 16px; max-width: 40em; font-size: 1.0625rem; font-weight: 500; line-height: 1.85; color: rgba(255, 255, 255, .9); }
.qband__meta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: .9375rem; font-weight: 700; color: rgba(255, 255, 255, .86); }
/* 区切りの縦線は各項目の前に置き、行の頭に来た線は帯の左にはみ出させて見えなくする（2026-10-29 独立監査 F10: 区切りだけの行頭を作らない） */
.qband__meta { margin-left: -29px; clip-path: inset(-4px -4px -4px 29px); }
.qband__meta span::before { content: ""; display: inline-block; width: 1px; height: .9em; margin: 0 14px; background: rgba(255, 255, 255, .4); vertical-align: -.1em; }
.qband__meta span:first-child { font-family: var(--ff-en); font-weight: 600; letter-spacing: .04em; }
.qband__note { margin-top: 14px; font-size: .9375rem; color: rgba(255, 255, 255, .8); }
.qband__link { margin-top: 18px; }
.qband__link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.qband__link .ic { width: 18px; height: 18px; }

/* 検索欄（帯の中） */
.qform { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1fr) 170px 250px 140px; gap: 12px; align-items: end; }
.qform label { display: grid; gap: 8px; }
.qform__label { font-size: .9375rem; font-weight: 700; color: rgba(255, 255, 255, .86); }
.qform__field { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 4px; background: var(--white); color: var(--ink); }
.qform__field .ic { width: 20px; height: 20px; color: var(--secondary); }
.qform__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--ink); outline: none; }
.qform__field:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.qform select { width: 100%; height: 56px; padding: 0 40px 0 16px; border: 0; border-radius: 4px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231F4D32' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  -webkit-appearance: none; appearance: none; font: inherit; font-size: 1rem; font-weight: 700; color: var(--ink); }
.qform select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- ページ本体 ---------- */
.qpage { max-width: 1200px; margin: 0 auto; padding: 64px 40px 0; }
.qpage:last-of-type { padding-bottom: 96px; }
.qsect + .qsect, .qsect + .qcta, .qcta + .qsect { margin-top: 72px; }
.qsect__h { margin-bottom: 24px; font-size: 1.5rem; font-weight: 900; line-height: 1.4; letter-spacing: .03em; color: var(--primary); }
.qsect__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.qsect__count { display: flex; align-items: center; gap: 18px; font-size: 1rem; font-weight: 700; color: var(--muted); }
.qsect__count [data-qcount] { font-family: var(--ff-en); font-size: 1.25rem; color: var(--primary); }
.qsect__cond { flex-basis: 100%; margin: -8px 0 16px; font-size: .9375rem; font-weight: 700; line-height: 1.6; color: var(--secondary); }
/* 条件がある間（2026-10-29 独立監査 F04・比較案 B）: 探す入口（テーマの一覧・注目の質問）を隠し、結果を検索欄のすぐ下に */
.qsect__cond-i { display: inline-block; word-break: keep-all; overflow-wrap: anywhere; } /* 長い会期名は空白の位置で折る */
.is-filtering .qsect--themes, .is-filtering .qpage > .qsect:not(#all) { display: none; }
.is-filtering #all { margin-top: 0; }
.qsect__h[tabindex="-1"]:focus { outline: none; } /* 検索キーで送ったときの移動先（操作する部品ではない） */
.qform__reset { min-height: 44px; padding: 0 4px; border: 0; background: none; font-size: .9375rem; font-weight: 700; color: var(--secondary); text-decoration: underline; text-underline-offset: 4px; }
.qempty { padding: 32px 0; color: var(--muted); }
.qback { margin-top: 56px; }
.qback a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--secondary); text-decoration: none; }
.qback a:hover { text-decoration: underline; text-underline-offset: 4px; }
.qback .ic { width: 18px; height: 18px; }

/* テーマ索引（件数つき） */
.qtheme { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.qtheme a { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 16px; min-height: 72px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--pale), var(--pale)) left / 0 100% no-repeat; transition: background-size .28s var(--ease), color .2s; }
.qtheme__name { font-size: 1.125rem; font-weight: 700; line-height: 1.4; }
.qtheme__n { font-family: var(--ff-en); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--primary); }
.qtheme__n small { margin-left: 3px; font-family: var(--ff); font-size: .9375rem; font-weight: 700; }
.qtheme .ic { width: 20px; height: 20px; color: var(--secondary); transition: transform .25s var(--ease); }
.qtheme a:hover { background-size: 100% 100%; color: var(--primary); }
.qtheme a:hover .ic { transform: translateX(4px); }
.qtheme a[aria-current="page"] { color: var(--primary); box-shadow: inset 4px 0 0 var(--secondary); padding-left: 16px; }
.qtheme--dark { border-top-color: rgba(255, 255, 255, .24); grid-template-columns: minmax(0, 1fr); gap: 0; }
.qtheme--dark a { border-bottom-color: rgba(255, 255, 255, .24); color: var(--white); min-height: 56px; padding: 10px 4px; background-image: linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)); }
.qtheme--dark .qtheme__n { color: var(--white); }
.qtheme--dark .ic { color: var(--pale); }
.qtheme--dark a:hover { color: var(--white); }

/* 注目の質問（題を大きく。上に太い罫） */
.qpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 40px; }
.qpick__item { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 22px 40px 30px 0; border-top: 3px solid var(--primary); color: var(--ink); text-decoration: none; }
.qpick__meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9375rem; font-weight: 700; color: var(--muted); }
.qpick__meta { margin-left: -1.6em; clip-path: inset(-4px -4px -4px 1.6em); }
.qpick__meta span::before { content: "/"; display: inline-block; width: 1.6em; text-align: center; opacity: .5; }
.qpick__meta span:first-child { font-family: var(--ff-en); font-weight: 600; color: var(--primary); }
.qpick__theme { color: var(--secondary); }
.qpick__title { font-size: 1.375rem; font-weight: 900; line-height: 1.55; letter-spacing: .01em; }
.qpick__go { position: absolute; right: 0; top: 22px; display: inline-flex; color: var(--secondary); }
.qpick__go .ic { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.qpick__item:hover .qpick__title { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.qpick__item:hover .qpick__go .ic { transform: translateX(5px); }

/* 年表（会期の束） */
.qtimeline { border-top: 3px solid var(--primary); }
.qg { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.qg__head { padding-top: 18px; }
.qg__title { display: grid; gap: 6px; font-size: 1rem; }
.qg__title a { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.qg__title a:hover .qg__name { text-decoration: underline; text-underline-offset: 4px; }
.qg__ym { font-family: var(--ff-en); font-size: 1.75rem; font-weight: 600; line-height: 1; letter-spacing: .01em; color: var(--primary); }
.qg__name { font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
.qg__date { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.qg[hidden], .qcta[hidden] { display: none; }
.qg__list li[hidden] { display: none; }

/* 1件の行 */
.qrows { border-top: 3px solid var(--primary); }
.qrows--compact { border-top-width: 1px; border-top-color: var(--line); }
.qrow { display: grid; grid-template-columns: 190px minmax(0, 1fr) 28px; align-items: start; gap: 4px 28px; padding: 22px 8px 22px 0; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--pale), var(--pale)) left / 0 100% no-repeat; transition: background-size .3s var(--ease); }
.qrow--nowhen { grid-template-columns: minmax(0, 1fr) 28px; padding-left: 16px; }
.qg__list li + li .qrow, .qrows li + li .qrow { border-top: 1px solid var(--line-soft); }
.qrows li .qrow { border-bottom: 0; }
.qrows > li:last-child .qrow { border-bottom: 1px solid var(--line); }
.qrow__when { display: grid; gap: 4px; padding-top: 3px; }
.qrow__ym { font-family: var(--ff-en); font-size: 1.25rem; font-weight: 600; line-height: 1; color: var(--primary); }
.qrow__kind { font-size: .9375rem; font-weight: 500; line-height: 1.5; color: var(--muted); }
.qrow__main { display: grid; gap: 6px; min-width: 0; }
.qrow__theme { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; line-height: 1.4; color: var(--secondary); }
.qrow__theme::before { content: none; }
.qrow__title { font-size: 1.3125rem; font-weight: 700; line-height: 1.6; letter-spacing: .01em; }
.qrow__tags { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .9375rem; color: var(--muted); }
.qrow__go { align-self: center; display: inline-flex; color: var(--secondary); opacity: .55; transition: opacity .2s, transform .25s var(--ease); }
.qrow__go .ic { width: 22px; height: 22px; }
.qrow:hover { background-size: 100% 100%; }
.qrow:hover .qrow__title { color: var(--primary); }
.qrow:hover .qrow__go { opacity: 1; transform: translateX(4px); }

/* 一覧の途中のご意見（濃緑の帯） */
.qcta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; margin: 36px 0; padding: 30px 36px; border-radius: 0; background: var(--primary); color: var(--white); grid-template-columns: none; }
.qtimeline > .qcta { margin: 0; border-bottom: 1px solid var(--line); }
.qcta__text { font-size: 1.125rem; font-weight: 700; line-height: 1.7; color: var(--white); }
.qcta__btns { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; min-width: 0; }

/* 個別ページ */
.qdetail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.qdetail__main { display: grid; gap: 48px; align-content: start; }
.qdetail__main .qback { margin-top: 0; }
.qrel2 .qsect__h { font-size: 1.25rem; }
.qa { display: grid; gap: 40px; }
.qa__item { padding-top: 22px; border-top: 3px solid var(--primary); }
.qa__item--a { border-top-color: var(--secondary); }
.qa__h { display: flex; align-items: center; gap: 16px; font-size: 1.375rem; font-weight: 900; line-height: 1.4; color: var(--primary); }
.qa__mark { display: grid; place-items: center; width: 52px; height: 52px; background: var(--primary); color: var(--white); font-size: 1.5rem; font-weight: 900; }
.qa__item--a .qa__mark { background: var(--secondary); }
.qa__body { margin-top: 20px; max-width: 40em; }
.qa__body p { font-size: 1.0625rem; line-height: 2; }
.qa__body p + p { margin-top: .8em; }
.qa__pending { color: var(--muted); }
.qa__body blockquote { margin: 0; }
.qa__item--r .qa__mark { background: var(--white); color: var(--primary); box-shadow: inset 0 0 0 3px var(--primary); }
.qa__who { display: block; font-size: .875rem; font-weight: 900; line-height: 1.6; letter-spacing: .04em; color: var(--secondary); }
.qfacts__who span { display: block; }
.qa__cite { font-size: .9375rem; line-height: 1.7; color: var(--muted); }
.qa__cite a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
/* 本人の働きとして読める一文（問と答の上。濃緑の縦罫で引用と分ける） */
.qlead { max-width: 40em; padding-left: 18px; border-left: 4px solid var(--primary); font-size: 1.1875rem; font-weight: 700; line-height: 1.8; color: var(--primary); }
.qvideo { padding-top: 22px; border-top: 1px solid var(--line); }
.qvideo__h { font-size: 1.25rem; font-weight: 900; color: var(--primary); }
.qvideo__text { margin-top: 12px; font-size: 1.0625rem; line-height: 1.9; }
.qvideo__btn { margin-top: 20px; }
.qdetail__side { position: sticky; top: calc(var(--shell-h, 76px) + 24px); padding: 28px 26px; background: var(--pale); }
.qfacts div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(26, 29, 24, .14); }
.qfacts div:first-child { padding-top: 0; }
.qfacts dt { font-size: .9375rem; font-weight: 700; color: var(--muted); }
.qfacts dd { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.6; }
.qfacts dd a { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--primary); text-underline-offset: 3px; }
.qfacts dd a.kw { display: block; }
.qfacts__tags { display: flex; flex-wrap: wrap; gap: 2px 12px; font-weight: 500 !important; }
.qdetail__btns { margin-top: 22px; display: grid; gap: 12px; }
.qdetail__btns .obtn { width: 100%; }

/* ---------- TOP の議会での質問（濃緑のベタ面） ---------- */
.tq2 { position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: var(--primary); color: var(--white); padding: 104px 40px 0; }
.tq2::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 91%; width: 40%; background: var(--secondary); transform: skewX(-18deg); transform-origin: left bottom; }
.tq2__in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 400px minmax(0, 1fr); grid-template-areas: "intro latest" "themes latest"; gap: 48px 88px; align-items: start; }
.tq2__intro { grid-area: intro; }
.tq2__latest { grid-area: latest; }
.tq2__themes { grid-area: themes; }
.tq2__title { font-size: clamp(2rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 900; line-height: 1.3; letter-spacing: .03em; color: var(--white); }
.tq2__lead { margin-top: 18px; font-size: 1.0625rem; line-height: 1.9; color: rgba(255, 255, 255, .9); }
.qfind { margin-top: 30px; }
.qfind__label { display: block; margin-bottom: 10px; font-size: .9375rem; font-weight: 700; color: rgba(255, 255, 255, .86); }
.qfind__field { display: flex; height: 60px; border-radius: 4px; background: var(--white); overflow: hidden; }
.qfind__field:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.qfind__field input { flex: 1; min-width: 0; padding: 0 18px; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--ink); outline: none; }
.qfind__field button { width: 60px; border: 0; background: var(--accent); color: var(--white); display: grid; place-items: center; transition: background-color .2s; }
.qfind__field button:hover { background: var(--secondary); }
.qfind__field .ic { width: 22px; height: 22px; }
.tq2__sub { margin-bottom: 12px; font-size: .9375rem; font-weight: 700; color: rgba(255, 255, 255, .86); }
.tq2__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.tq2__label { font-size: .9375rem; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .86); }
.tq2__all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .5); }
.tq2__all .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tq2__all:hover .ic { transform: translateX(4px); }
.tq2__row { display: grid; grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: "meta go" "q go"; gap: 10px 24px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); color: var(--white); text-decoration: none; }
.tq2__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: .9375rem; font-weight: 700; color: rgba(255, 255, 255, .8); }
.tq2__meta { gap: 4px 16px; }
.tq2__ym { font-family: var(--ff-en); font-weight: 600; letter-spacing: .04em; color: var(--white); }
.tq2__theme { display: inline-flex; align-items: center; gap: 7px; color: var(--pale); }
.tq2__theme::before { content: ""; width: 5px; height: 13px; background: var(--accent); transform: skewX(-18deg); }
.tq2__q { grid-area: q; font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem); font-weight: 900; line-height: 1.55; letter-spacing: .01em; }
.tq2__go { grid-area: go; align-self: center; display: inline-flex; color: var(--white); opacity: .6; transition: opacity .2s, transform .25s var(--ease); }
.tq2__go .ic { width: 24px; height: 24px; }
.tq2__row:hover .tq2__q { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: rgba(255, 255, 255, .6); }
.tq2__row:hover .tq2__go { opacity: 1; transform: translateX(5px); }
.tq2__cta { max-width: 1200px; margin: 80px auto 0; padding: 36px 0 64px; border-top: 1px solid rgba(255, 255, 255, .26); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.tq2__cta-text { font-size: 1.125rem; font-weight: 700; line-height: 1.7; color: var(--white); }

/* 濃い面の上のボタン（buttons 担当の主・副を白に反転） */
.tq2 .btn-solid, .qcta .obtn--form { background: var(--white); color: var(--primary); border-color: var(--white); }
.qcta .obtn--line { background: var(--line-green); color: var(--ink); border-color: var(--line-green); } /* 公式LINE は LINE の色（brush-buttons.css の公式LINE の節） */

@media (max-width: 1100px) {
  .qform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .qform__kw { grid-column: 1 / -1; }
  .tq2__in { grid-template-columns: 340px minmax(0, 1fr); gap: 40px 56px; }
}
@media (max-width: 900px) {
  .qband::after { left: 76%; width: 70%; }
  /* スマホは右の面が細く、写真では本人と分からないので、今までどおり色の面にする */
  .qband--photo::after { display: block; }
  .qband__photo { display: none; }
  .qband__in { padding: calc(var(--shell-h, 64px) + 22px) 20px 40px; }
  .qband__title { margin-top: 16px; }
  .qform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "kw kw" "theme sort" "session session"; gap: 12px; margin-top: 26px; }
  .qform__kw { grid-area: kw; }
  .qform__sel:nth-of-type(2) { grid-area: theme; }
  .qform__sel:nth-of-type(3) { grid-area: session; }
  .qform__sel--sort { grid-area: sort; }
  .qpage { padding: 44px 20px 0; }
  .qpage:last-of-type { padding-bottom: 64px; }
  .qsect + .qsect, .qsect + .qcta, .qcta + .qsect { margin-top: 56px; }
  .qsect__h { font-size: 1.3125rem; }
  .qtheme { grid-template-columns: minmax(0, 1fr); }
  .qtheme--dark a { min-height: 56px; }
  .qpick { grid-template-columns: minmax(0, 1fr); }
  .qpick__title { font-size: 1.25rem; }
  .qg { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 24px 0 8px; }
  .qg__head { padding-top: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .qg__title, .qg__title a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .qg__ym { font-size: 1.75rem; }
  .qg__date { margin-top: 0; }
  .qrow { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 14px; padding: 20px 4px 20px 0; }
  .qrow--nowhen { padding-left: 0; }
  .qrow__when { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 0; }
  .qrow__ym { font-size: 1.125rem; }
  .qrow__title { font-size: 1.0625rem; }
  .qcta { padding: 26px 20px; }
  .qdetail { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .qdetail__side { position: static; padding: 24px 20px; }
  .qa__mark { width: 44px; height: 44px; font-size: 1.25rem; }
  .qa__h { font-size: 1.1875rem; gap: 12px; }
  .qlead { padding-left: 14px; font-size: 1.0625rem; }
  .tq2 { padding: 64px 20px 0; }
  .tq2::before { left: 86%; width: 60%; top: 0; }
  .tq2__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "latest" "themes"; gap: 44px; }
  .tq2__row { padding: 22px 0; gap: 8px 14px; }
  .tq2__cta { margin-top: 56px; padding: 30px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .qrow, .qtheme a, .qrow__go, .qtheme .ic, .qpick__go .ic, .tq2__go, .tq2__all .ic { transition: none; }
}

/* 2026-10-26 独立評価の指摘への対応 */
.qband__rel { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.qband__rel > span { font-size: .9375rem; font-weight: 700; color: rgba(255, 255, 255, .8); }
.qband__rel a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .5); }
.qband__rel .ic { width: 16px; height: 16px; }
.tq2__cta .qcta__btns .obtn--form { background: var(--white); color: var(--primary); border-color: var(--white); }
@media (max-width: 900px) {
  /* SP: 一覧の本体までを近づける（テーマ索引を2列に） */
  .qsect--themes .qtheme { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
  .qsect--themes .qtheme a { min-height: 56px; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 8px 2px; }
  .qsect--themes .qtheme .ic { display: none; }
  .qsect--themes .qtheme__name { font-size: 1rem; word-break: keep-all; }
  .qsect--themes .qtheme { gap: 0 12px; }
  .qsect--themes .qtheme__n { font-size: 1.125rem; }
  /* SP: パンくずの現在のページは見出しと同じ文言なので省く */
  .qcrumbs li:last-child { display: none; }
  .qcrumbs li:nth-last-child(2)::after { content: none; }
  .qrow__title { font-size: 1.125rem; }
  .qpick__item { padding-right: 36px; }
}

/* 題名・会期名・答弁者は行の長さをそろえて折る（2026-10-29 独立監査 F10。「について」だけの行が減る。pretty は keep-all と切れ目の組み合わせでかえって増えたので使わない。対応しないブラウザーは今までどおり） */
.qband__title, .qpick__title, .qrow__title, .qg__title, .qfacts dd, .qfacts__who span { text-wrap: balance; }
