/* manapick politics — SP・タブレット レイアウト（link media: max-width:1024px で読み込む）
   パッケージ po-sp.css（本来 max-width:640px）と、po-pc.css のタブレット帯
   （641〜1023px）の内容を、現行サイトの PC/SP 分離境界（1025/1024）に合わせて配置。
   既定値は SP（〜640px）、末尾の min-width:641px ブロックがタブレット帯を上書きする。
   SP は PC の縮小ではなく、並びと部品の形を変える。 */

/* ネットワークレール（SP は表示のみ。タップは乗り換えシートで受ける） */
.rail { height: 34px; padding: 0 12px; gap: 10px; overflow: hidden; pointer-events: none; }
.rail .lbl, .rail .rt { display: none; }
.rail .s { margin-right: 2px; padding-right: 6px; font-size: 0; gap: 0; }
.rail .s i { width: 11px; height: 11px; }
.rail .s.on { font-size: 12px; gap: 6px; }
.rail .s.on b { display: none; }
.rail a { pointer-events: none; }

/* 注記の帯 */
.notice { display: block; padding: 8px 16px; background: var(--po-vgray); border-bottom: 1px solid var(--po-rule); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
.notice b, .notice i { display: none; }
.notice span { display: block; }
.notice a { color: var(--ink); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }

/* ヘッダー */
.hd3 { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--ink); }
.hd3 nav, .hd3 .hd3-search { display: none; }
/* SP はドロワーの起動を下部タブバーの「メニュー」に一本化する（ヘッダー右側のはみ出し防止） */
.hd3 .menu-button { display: none; }
.hd3 .pe-menu { display: none; }
.hd3 .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.hd3 .btn-c { height: 44px; font-size: 12.5px; padding: 0 14px; }
.hd3 .menu-button {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  background: none;
  border: 0;
  font-family: var(--jp);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.hd3 .menu-button-lines { display: grid; gap: 4px; }
.hd3 .menu-button-lines span { display: block; width: 20px; height: 2px; background: var(--ink); }
.wm { font-size: 21px; }
.wm .sub { font-size: 12px; }
.hd3 .wm { display: inline-flex; align-items: center; min-height: 44px; }

.wrap3 { padding: 0 16px; }

/* 二層見出し */
.two-h { display: block; }
.two-h .en { display: block; font-family: var(--num); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; color: var(--ck); }
.two-h h2 { font-family: var(--mincho); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; line-height: 1.5; margin-top: 2px; }

/* 標本帯 */
.spec-band { background: var(--tint); padding: 0 16px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.spec > div { padding: 12px 10px 10px; }
.spec > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--ink); }
.spec > div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
.spec .k { font-size: 12px; }
.spec .v { font-family: var(--num); font-weight: 600; font-size: 21px; line-height: 1.25; margin: 2px 0; }
.spec .v small { font-family: var(--jp); font-size: 12px; margin-left: 2px; }
.spec .s { font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.spec a { color: var(--po-link-on-tint); text-decoration: underline; }

/* 結論カード */
.concl { position: relative; padding: 14px 14px 16px 18px; border-left: 4px solid var(--c); background: #fff; font-size: 16px; line-height: 1.85; }
.concl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 4px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.concl b.k { display: block; font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; color: var(--ck); margin-bottom: 2px; }

/* たとえ話バルーン */
.balloon { position: relative; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 18px; background: #fff; margin: 22px 0; }
.balloon::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -10px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
.balloon .lb { display: block; font-family: var(--hand); font-weight: 600; font-size: 16px; color: var(--ck); margin-bottom: 4px; }
.balloon p { font-family: var(--hand); font-size: 16px; line-height: 1.8; }
/* 政党ページ（様式 PO-P）では、バルーンの下マージンはモックHTMLの指定どおり 6px */
.gz .balloon { margin-bottom: 6px; }

/* 図と標題 */
.fig { margin: 18px 0 24px; }
.fig .cap { font-size: 13.5px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.fig .cap b { font-family: var(--num); font-weight: 600; color: var(--ck); margin-right: 8px; }

/* 記事グリッド（SP は1列。傍注レールは番号のみ見出しの上に置く） */
.artgrid { display: block; padding: 18px 0 40px; }
.sn { display: inline-flex; gap: 8px; align-items: baseline; margin-bottom: 2px; }
.sn .no { font-family: var(--num); font-weight: 600; font-size: 13px; color: var(--ink-2); }
.sn .wd { display: none; }
.h2a { font-family: var(--mincho); font-weight: 700; font-size: 21px; line-height: 1.55; letter-spacing: 0.03em; margin: 0 0 12px; }
.blk { padding: 22px 0 4px; border-top: 1px solid var(--ink); }
.p16 { font-size: 16px; line-height: 1.9; margin-bottom: 14px; }

/* 表 */
.tb { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.tb th, .tb td { padding: 10px 8px; border-bottom: 1px solid var(--po-rule); text-align: left; vertical-align: top; }
.tb thead th { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--mincho); font-size: 13px; word-break: keep-all; overflow-wrap: normal; }
.tb th[scope="row"] { color: var(--ink-2); font-weight: 500; font-size: 13px; width: 72px; }
.tb td.n { font-family: var(--num); font-weight: 600; font-size: 17px; white-space: nowrap; }

/* 法律の注意枠 */
.legal-note { padding: 14px; border: 1.5px solid var(--ink); background: var(--po-vgray); font-size: 14px; line-height: 1.8; margin-top: 16px; }
.legal-note b { display: block; font-family: var(--mincho); font-size: 14px; margin-bottom: 4px; }
.legal-note a { color: var(--ink); text-decoration: underline; }

/* サイドバー */
.side3 { display: grid; gap: 12px; margin-top: 20px; }
.mini { border: 1px solid var(--ink); background: #fff; padding: 14px; font-size: 13.5px; }
.mini h4 { font-family: var(--mincho); font-size: 15px; margin-bottom: 8px; }

.pc { display: none !important; }

/* フッター路線図（SP は縦の路線図） */
.route { padding: 40px 20px 96px; }
.route .lead { font-size: 20px; }
.route .map { grid-template-columns: 1fr; gap: 0; }
.route .map.six::before {
  left: 24px;
  right: auto;
  top: 20px;
  bottom: 20px;
  width: 6px;
  height: auto;
  background: linear-gradient(180deg, var(--mp) 0 16.66%, var(--ai) 16.66% 33.33%, var(--li) 33.33% 50%, var(--ca) 50% 66.66%, var(--co) 66.66% 83.33%, var(--po) 83.33%);
}
.route .st { display: grid; grid-template-columns: 54px 1fr; text-align: left; align-items: center; padding: 6px 0; }
.route .st i { width: 42px; height: 42px; margin: 0; border-width: 5px; grid-row: span 3; }
.foot-note { display: grid; gap: 8px; margin-top: 20px; font-size: 12.5px; line-height: 1.7; }

/* SP 下部タブバー */
.spbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 62px;
  border-radius: 18px;
  background: #111318;
  color: #fff;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.spbar a, .spbar button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.7;
  color: #fff;
  text-decoration: none;
  background: none;
  border: 0;
  font-family: var(--jp);
  cursor: pointer;
  min-height: 44px;
}
.spbar a.on, .spbar button.on { opacity: 1; }
.spbar svg { width: 22px; height: 22px; }
/* 下のナビ（高さ62px＋下10px）の逃げは、最後の要素であるフッター（.route）の下余白 96px が担う。
   body にも余白を足すと、暗いフッターの下に紙色の帯（84px）が出ていたので 0 にする（sp.css の指定も打ち消す） */
body { padding-bottom: 0; }

/* ============ トップ「天秤の舞台」（SP） ============ */
.stage {
  background: radial-gradient(circle, #cfc8b6 1.1px, transparent 1.4px) 0 0/20px 20px, var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 10px;
  padding: 0 12px;
}
.side .beam, .hero2 .beam { position: absolute; height: 3px; background: var(--c); border-radius: 2px; }
.pan-ill { display: block; width: 100%; height: auto; }
.cart {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 700;
  letter-spacing: 0.32em;
  border: 1.5px solid var(--ink);
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
  background: #fff;
  padding: 14px 8px;
}
.note { font-family: var(--hand); font-weight: 600; color: var(--ck); line-height: 1.6; }
.plh { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid var(--ink); padding-bottom: 6px; }
.plh .en { font-family: var(--num); font-weight: 700; letter-spacing: 0.2em; font-size: 13px; }
.plh .ct { font-family: var(--num); font-weight: 600; letter-spacing: 0.12em; font-size: 12px; color: var(--ink-2); }
.pl {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 5px 10px 5px 6px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.pl .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.pl .ic svg { width: 18px; height: 18px; }
.pl .tx { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pl b { font-size: 14.5px; font-weight: 700; white-space: normal; line-height: 1.3; word-break: keep-all; overflow-wrap: break-word; }
/* 幅360前後では「クーリング・オフ」が「クーリング・オ⏎フ」と割れていたので、丸札の内側の余白を詰めて1行に収める */
@media (max-width: 374px) {
  .pl { grid-template-columns: 24px minmax(0, 1fr); gap: 6px; padding: 5px 8px 5px 5px; }
  .pl .ic { width: 24px; height: 24px; }
  .pl .ic svg { width: 16px; height: 16px; }
  .pl b { font-size: 14px; letter-spacing: 0; }
}
.pl small, .pl .no { display: none; }

.col { display: contents; }
.hero2 {
  position: relative;
  text-align: center;
  background: #fff;
  order: 1;
  grid-column: 1/3;
  margin-top: 16px;
  padding: 58px 18px 24px;
  box-shadow: 0 0 0 1.5px var(--ink);
  border-radius: 190px 190px 0 0/96px 96px 0 0;
}
.hero2 .beam { display: none; }
.hero2 .fulcrum { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); line-height: 0; }
.hero2 .post { display: none; }
.hero2 .eyeb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--num);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--ck);
}
.hero2 h1 {
  font-family: var(--mincho);
  font-weight: 700;
  font-size: min(26px, calc((100vw - 60px) / 10.4));
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-top: 12px;
}
.hero2 .lead { font-size: 16px; line-height: 1.95; margin-top: 12px; }
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cta2 .b {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.cta2 .b:first-child { flex-direction: row-reverse; }
.cta2 .b i { font-style: normal; font-family: var(--num); color: var(--ck); }

.beam-sp { order: 2; grid-column: 1/3; display: block; position: relative; height: 46px; }
.beam-sp::before { content: ""; position: absolute; left: 25%; right: 25%; top: 22px; height: 3px; background: var(--c); border-radius: 2px; }
.beam-sp::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: 22px;
  height: 24px;
  border-left: 1.5px dashed var(--ink);
  border-right: 1.5px dashed var(--ink);
}
.beam-sp span { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); background: var(--paper); padding: 0 6px; line-height: 0; }

.side { order: 3; display: flex; flex-direction: column; padding-bottom: 18px; min-width: 0; }
.side.R { order: 4; }
.side .beam, .side .cart, .side .note { display: none; }
.side .ill { width: 100%; margin: 0 auto -6px; }
.side .plh { margin: 6px 0 8px; }
.side .plh .ct { display: none; }
.side .plist { display: grid; gap: 6px; }

.blk2 { order: 5; grid-column: 1/3; background: #fff; position: relative; padding: 28px 18px 24px; box-shadow: 0 0 0 1.5px var(--ink); border-top: 1px solid var(--po-rule); }
.sech { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; margin-bottom: 18px; }
.sech .wt { width: 48px; height: 45px; }
.sech .en { font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; color: var(--ck); }
.sech h2 { font-family: var(--mincho); font-weight: 700; font-size: 21px; line-height: 1.45; letter-spacing: 0.04em; margin-top: 2px; }
.sech .hn { font-family: var(--hand); font-weight: 600; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  color: var(--ink);
}
.more i { font-style: normal; color: var(--ck); font-family: var(--num); }
.fine { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-top: 10px; }

.paper {
  border: 1.5px solid var(--ink);
  padding: 18px 18px 14px;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, #e7e2d6 31px 32px), #fff;
}
.paper .q { font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.6; }
.paper .q em { font-family: var(--it); font-style: italic; font-weight: 500; font-size: 26px; color: var(--ck); margin-right: 6px; }
.opts2 { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.opts2 button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--jp);
  color: var(--ink);
  cursor: pointer;
}
.opts2 button i { font-style: normal; font-family: var(--num); font-size: 13px; color: var(--ink-2); }
.opts2 button.is-correct { border-width: 3px; }
.opts2 button.is-wrong { border-style: dashed; }
.paper .result { margin-top: 12px; font-size: 14.5px; line-height: 1.8; }
.paper .result b { font-family: var(--mincho); }
.paper .result a { color: var(--ck); text-decoration: underline; text-underline-offset: 3px; }

.roster2 ol { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; border-top: 1.5px solid var(--ink); margin: 0; padding: 0; }
.roster2 li { display: flex; align-items: center; gap: 8px; min-height: 48px; border-bottom: 1px solid var(--po-rule); font-size: 14.5px; font-weight: 500; }
.two { display: flex; gap: 22px; flex-wrap: wrap; }

.st3 { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.st3 li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 12px 14px;
  position: relative;
}
.st3 li:nth-child(2) { margin-left: 24px; }
.st3 li:nth-child(3) { margin-left: 48px; }
.st3 li:nth-child(2)::before, .st3 li:nth-child(3)::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -10px;
  width: 10px;
  height: 26px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.st3 b { font-family: var(--mincho); font-weight: 700; font-size: 17px; }
.st3 b small { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.st3 span { font-size: 13px; color: var(--ink-2); }
.st3 li:first-child { box-shadow: 4px 4px 0 var(--c); }
.gs { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--po-rule); }
.gs p { font-size: 15px; line-height: 1.75; justify-self: stretch; }
.gs p b { display: block; font-family: var(--mincho); font-size: 16px; }
.gs .u { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }

.fl5 { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; margin: 4px 0 6px; padding: 0; }
.fl5::before { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 3px; background: var(--ink); }
.fl5 li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  position: relative;
}
.fl5 li i { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3.5px solid var(--c); }
.fl5 li:nth-child(3) i { background: var(--c); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--c); }

.tg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.tag2 {
  position: relative;
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 20px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tag2::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.tag2.t1 { transform: rotate(-1.6deg); }
.tag2.t2 { transform: rotate(1.2deg); }
.tag2.t3 { grid-column: 1/3; transform: rotate(-0.6deg); }
.tag2 .k { font-size: 12.5px; color: var(--ink-2); }
.tag2 b { font-family: var(--num); font-weight: 600; font-size: 21px; line-height: 1.1; letter-spacing: 0.01em; }
.tag2 b small { font-family: var(--jp); font-size: 13px; font-weight: 700; margin-left: 3px; }
.tag2 .s { font-size: 12px; color: var(--ink-2); border-top: 1px dashed var(--po-rule); padding-top: 6px; margin-top: 4px; }

.j6 { list-style: none; border-top: 1.5px solid var(--ink); margin: 0; padding: 0; }
.j6 li { display: grid; grid-template-columns: 62px 1fr; column-gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--po-rule); font-size: 15px; }
.j6 b { font-family: var(--mincho); font-weight: 700; color: var(--ck); }
.j6 small { grid-column: 2; font-size: 13px; color: var(--ink-2); }
.j6 .body { grid-column: 2; font-size: 14.5px; line-height: 1.85; color: var(--ink); }
.about2 { display: grid; gap: 10px; margin-top: 18px; }
.about2 p { border-left: 4px solid var(--ink); background: var(--po-vgray); padding: 12px 14px; font-size: 14.5px; line-height: 1.8; }
.about2 b { display: block; font-family: var(--mincho); font-size: 16px; }
.about-text { margin-top: 18px; font-size: 14.5px; line-height: 1.9; }
.about-text p + p { margin-top: 10px; }

.base { display: flex; flex-direction: column; align-items: center; order: 6; grid-column: 1/3; margin: 0; }
.base i { display: block; height: 12px; background: #fff; border: 1.5px solid var(--ink); border-top: 0; }
.base i:nth-child(1) { width: 100%; }
.base i:nth-child(2) { width: calc(100% + 12px); }
.base i:nth-child(3) { width: calc(100% + 24px); background: var(--ink); }

.search-sec { background: #fff; border-top: 1.5px solid var(--ink); padding: 28px 16px 36px; }
.search-sec .searchbox { margin-top: 12px; }

.xwrap2 { padding: 0 16px 40px; background: #fff; border-top: 1.5px solid var(--ink); }
.xwrap2 .sh { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 18px; }
.xwrap2 .sh h2 { font-family: var(--mincho); font-weight: 700; font-size: 26px; letter-spacing: 0.05em; }
.xwrap2 .sh .k { font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; color: var(--ck); }
.xwrap2 .g4 { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* ============================================================
   段3：政党ページ（様式 PO-P・SP）
   ============================================================ */
.crumb { padding-top: 6px; }
.crumb a, .crumb span { display: inline-flex; align-items: center; min-height: 44px; }
.gz-head { padding: 18px 16px 0; }
.form-top { display: block; padding: 8px 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.form-top b { display: block; }
.namerow { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 16px 0 14px; border-bottom: 1px solid var(--ink); }
.namerow h1 { font-family: var(--mincho); font-weight: 700; font-size: 28px; letter-spacing: 0.06em; line-height: 1.3; }
.namerow .sub2 { font-size: 12.5px; }
.namerow .note { grid-column: 1 / 3; font-size: 12.5px; }
.gz-body { padding: 18px 16px 40px; }
.gz > section { border-bottom: 1px solid var(--ink); padding: 14px 0 16px; }
.gz > section > h2 { font-size: 19px; margin-bottom: 8px; }
.gz > section > h2 small { margin-right: 8px; }
.seat { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--po-rule); }
.seat .v { font-size: 21px; text-align: right; }
.seat .v small { font-size: 12px; margin-left: 3px; }
.seat .bar { grid-column: 1 / 3; }
.seat .m { grid-column: 1 / 3; }
.kv th { display: block; font-size: 12.5px; padding: 8px 0 0; border-bottom: 0; }
.kv td { display: block; padding: 0 0 8px; }
.srcl li > .srcl-m { display: block; }

/* 段3：政党比較（SP） */
.cmpwrap { padding: 16px 16px 40px; }
.cmpwrap h1 { font-family: var(--mincho); font-weight: 700; font-size: 24px; line-height: 1.55; margin: 10px 0 6px; }
.cmpwrap .lead { font-size: 16px; line-height: 1.85; }
.tblock { margin-top: 18px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); padding: 12px 0; }
.tblock .ttl { font-family: var(--mincho); font-weight: 700; font-size: 16px; }
.tblock .tot { font-family: var(--num); font-weight: 600; font-size: 21px; margin: 4px 0; }
.tblock .tot small { font-family: var(--jp); font-size: 12px; color: var(--ink-2); margin-left: 6px; font-weight: 400; }
.tblock .tsrc { font-size: 12px; color: var(--ink-2); }
.ct { display: none; }
.mobonly { display: block; }
.clist { list-style: none; border-top: 1px solid var(--ink); margin-top: 14px; }
.clist li { padding: 12px 0; border-bottom: 1px solid var(--po-rule); }
.clist .t { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 16px; }
.clist .t .no { font-family: var(--num); font-weight: 600; font-size: 13px; color: var(--ink-2); width: 22px; }
.clist .t a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--po-rule); display: inline-flex; align-items: center; min-height: 44px; }
.clist .r { display: grid; grid-template-columns: 52px 1fr 46px; gap: 10px; align-items: center; font-size: 12.5px; min-height: 26px; }
.clist .r .k { color: var(--ink-2); }
.clist .r .bar { height: 10px; background: #f0eff3; border: 1px solid var(--po-rule); position: relative; }
.clist .r .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--bar); }
.clist .r .v { font-family: var(--num); font-weight: 600; font-size: 16px; text-align: right; }
.clist .r .yv { font-family: var(--num); font-weight: 600; font-size: 15px; }
.cnote { display: grid; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.cnote div { border-top: 1px solid var(--ink); padding-top: 8px; }
.cmp-src { margin-top: 28px; }

/* 段3：ハブ（SP） */
.prow a { grid-template-columns: 26px auto 1fr; row-gap: 2px; }
.prow .sts { grid-column: 3; white-space: normal; }
.prow .go2 { display: none; }
.idx-list .entry-head { flex-wrap: wrap; row-gap: 2px; }
.idx-list .entry-leader { display: none; }
.hubmeta > div { grid-template-columns: 64px 1fr; }
.xfer-sec { padding-bottom: 40px; }
.xfer-sec .sh { margin: 40px 0 18px; }
.xfer-sec .g4 { grid-template-columns: 1fr; }

/* ============ タブレット帯（641〜1024px）：po-pc の寸法＋舞台の組み替え ============ */
@media (min-width: 641px) {
  .notice { display: flex; align-items: center; gap: 18px; height: 36px; padding: 0 40px; font-size: 13px; }
  .notice b { display: block; font-family: var(--num); font-weight: 600; letter-spacing: 0.14em; font-size: 11px; color: var(--ink); }
  .notice i { display: block; width: 1px; height: 14px; background: var(--po-rule); flex: none; }
  .notice span { display: inline; }
  .notice a { margin-left: auto; }

  .hd3 { gap: 26px; height: 68px; padding: 0 24px; }
  .hd3 nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
  .hd3 nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
  .hd3 nav a.on { font-weight: 700; text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; text-decoration-color: var(--c); }
  /* タブレット帯はヘッダー全項目が収まらないため、検索欄とメニューボタンを隠す
     （ナビ6項目で主要導線を確保し、検索はトップの検索セクションが担う） */
  .hd3 .hd3-search { display: none; }
  .hd3 .menu-button { display: none; }
  .hd3 .pe-menu { display: none; }
  .hd3 .btn-c { height: 44px; font-size: 13px; padding: 0 18px; }
  .wm { font-size: 26px; }
  .wm .sub { font-size: 15px; }

  .stage { grid-template-columns: 1fr 1fr; padding: 0 24px; column-gap: 16px; }
  .hero2 { margin-top: 24px; }
  .side { position: relative; height: auto; min-height: 0; padding: 0 0 18px; }
  .side .ill { margin-top: 8px; max-width: 240px; margin-left: auto; margin-right: auto; }
  .blk2 { padding: 34px 40px 30px; }
  .base i { height: 14px; }

  .route { padding: 56px 48px 40px; }
  .route .lead { font-size: 26px; }
  .route .map { grid-template-columns: repeat(6, 1fr); gap: 0; }
  .route .map.six::before {
    left: 8.33%;
    right: 8.33%;
    top: 22px;
    bottom: auto;
    width: auto;
    height: 6px;
    background: linear-gradient(90deg, var(--mp) 0 16.66%, var(--ai) 16.66% 33.33%, var(--li) 33.33% 50%, var(--ca) 50% 66.66%, var(--co) 66.66% 83.33%, var(--po) 83.33%);
  }
  .route .st { display: block; text-align: center; padding: 0; }
  .route .st i { width: 50px; height: 50px; margin: 0 auto 12px; border-width: 6px; }
  .foot-note { display: flex; gap: 26px; margin-top: 22px; font-size: 12.5px; line-height: normal; }

  .spbar { display: none; }
  body { padding-bottom: 0; }

  .two-h { display: flex; align-items: baseline; gap: 16px; }
  .two-h .en { display: inline; font-size: 12px; }
  .two-h h2 { font-size: 28px; letter-spacing: 0.05em; margin-top: 0; }
  .spec { grid-template-columns: repeat(4, 1fr); }
  .spec > div { padding: 16px 20px 14px; border-left: 1px solid var(--ink); border-bottom: 0; }
  .spec > div:first-child { border-left: 0; padding-left: 0; }
  .spec .v { font-size: 26px; }
  .concl { padding: 18px 22px 20px 26px; line-height: 1.9; }
  .artgrid { display: grid; grid-template-columns: 150px minmax(0, 760px) 1fr; gap: 0 40px; padding: 34px 0 60px; }
  /* PC（net-pc.css）と同じ配置指定。サイドバーを3列目に固定しないと自動配置が
     .sn／.blk-c の組を3列へばらまき、本文列が潰れる（768px の実測で確認） */
  .artgrid > .side3 { grid-column: 3; grid-row: 1 / span 99; }
  .sn { display: block; margin-bottom: 0; }
  .sn .wd { display: block; }
  .h2a { font-size: 26px; margin: 0 0 14px; }
  .blk { padding: 30px 0 6px; }
  .side3 { position: sticky; top: 20px; margin-top: 0; }
  .xwrap2 { padding: 0 56px 64px; }
  .xwrap2 .g4 { grid-template-columns: repeat(4, 1fr); }
  .xwrap2 .xg .xfer { grid-template-columns: auto 1fr; }
  .xwrap2 .xg .xfer .go { grid-column: 1/3; justify-content: flex-end; border-top: 1px dashed var(--rule); padding-top: 8px; }
  .search-sec { padding: 40px 56px 48px; }

  /* 段3：政党ページ（タブレット帯は PC の様式＋サイドバーは本文の下） */
  .gz-head { padding: 26px 40px 0; }
  .form-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12.5px; }
  .form-top b { display: inline; }
  .namerow { grid-template-columns: auto 1fr auto; gap: 18px; padding: 22px 0 18px; }
  .namerow h1 { font-size: 34px; }
  .namerow .note { grid-column: auto; max-width: 300px; text-align: right; }
  .gz-body { padding: 26px 40px 60px; }
  .gz > section { display: grid; grid-template-columns: 196px minmax(0, 1fr); padding: 0; }
  .gz > section > h2 { font-size: 18px; padding: 18px 16px 18px 0; border-right: 1px solid var(--po-rule); margin-bottom: 0; }
  .gz > section > h2 small { display: block; margin-bottom: 4px; margin-right: 0; }
  .gz > section > div { padding: 16px 0 18px 22px; }
  .seat { grid-template-columns: 150px 150px minmax(0, 1fr); gap: 16px; }
  .seat .v { font-size: 22px; text-align: left; }
  .seat .bar { grid-column: auto; }
  .seat .m { grid-column: 3; margin-top: -8px; }
  .kv th { display: table-cell; width: 190px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--po-rule); }
  .kv td { display: table-cell; padding: 9px 0; }
  .kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
  .srcl li { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .srcl li > .srcl-m { display: inline; white-space: nowrap; }
  .xfer-sec .g4 { grid-template-columns: repeat(2, 1fr); }
  .cmpwrap { padding: 22px 40px 60px; }
}

/* ===== 段3 SP: 法律ヒーロー／選挙ヒーロー／流れの線／層の図／404／用語集 ===== */
.lhero { padding: 14px 16px 22px; border-bottom: 1px solid var(--ink); }
.lhero h1 { font-family: var(--mincho); font-weight: 700; font-size: 24px; line-height: 1.55; letter-spacing: 0; margin: 10px 0 8px; }
.lhero .lead { font-size: 16px; line-height: 1.9; }
.lhero .concl { margin-top: 16px; }
.lhero .ladder { padding: 14px 14px 12px; margin-top: 22px; }
.lhero .ladder .cap { font-size: 13px; margin-bottom: 8px; }
.ehero { padding: 14px 16px 0; }
.ehero h1 { font-family: var(--mincho); font-weight: 700; font-size: 24px; line-height: 1.55; margin: 10px 0 6px; }
.ehero .lead { font-size: 16px; line-height: 1.85; }
.flow { position: relative; display: grid; gap: 0; margin: 22px 0 0; padding: 20px 0 16px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.flow::before { content: ""; position: absolute; left: 24px; top: 30px; bottom: 30px; width: 4px; background: var(--c); }
.flow div { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 0 12px; align-items: center; min-height: 64px; }
.flow i { grid-row: span 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 4px solid var(--c); font-style: normal; font-family: var(--num); font-weight: 700; font-size: 16px; position: relative; }
.flow b { font-size: 16px; align-self: end; }
.flow span { font-size: 13px; color: var(--ink-2); align-self: start; }
.flow .tag { top: -10px; padding-right: 6px; }
.ballots { display: grid; gap: 16px; margin: 8px 0 16px; }
.ballot { padding: 14px; }
.ballot .bh { font-size: 12px; }
.ballot .box { height: 70px; margin-top: 10px; font-size: 16px; }
.ballot .no2 { right: -8px; top: -10px; width: 28px; height: 28px; }
.layers { display: grid; gap: 0; margin-top: 4px; }
.ly { position: relative; padding: 14px; border: 1.5px solid var(--ink); }
.ly b { display: block; font-size: 17px; }
.ly .tg { right: 10px; top: 8px; letter-spacing: .14em; }
.ly.ly-para { order: 1; border-style: dashed; margin: 0 0 10px; }
.ly.ly-mid { order: 2; margin: 0 18px; border-bottom: 0; }
.ly.ly-base { order: 3; background: var(--po-vgray); }
.arrow { display: none; }
.scn { border: 1.5px solid var(--ink); }
.scn li { padding: 14px; border-bottom: 1px solid var(--po-rule); }
.scn li:last-child { border-bottom: 0; }
.scn li b { margin-top: 4px; }
.stat3 li { padding: 10px 0; }
.stat3 li b { display: block; }
.stat3 li span { display: block; }
.stat3 a { display: inline-flex; min-height: 44px; align-items: center; }
.steps li { grid-template-columns: 44px 1fr; padding: 14px; }
.steps li::before { font-size: 26px; }
table.t th, table.t td { padding: 10px 8px; }
.tb th, .tb td { padding: 10px 8px; }
.tb thead th { font-size: 14px; word-break: keep-all; overflow-wrap: normal; }
.tb th[scope="row"] { width: 72px; }
.g3 { grid-template-columns: 1fr; }
.e404 { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 40px 0 60px; }
.e404 .big { font-size: 120px; }
.e404 h1 { font-size: 26px; }
.termgrid .tcell { padding: 16px 0 18px; border-bottom: 1px solid var(--po-rule); }
.cathead h2 { font-size: 19px; }
.ebranch { gap: 0 12px; padding: 20px 0 16px; margin-top: 22px; }
.ebranch .br i { width: 50px; height: 50px; font-size: 14px; }
.elines { padding: 20px 0 16px; margin-top: 22px; }
.eline { grid-template-columns: 50px 1fr; }
.eline i { width: 50px; height: 50px; font-size: 14px; }
.ebranch .tag { top: -10px; padding-right: 6px; }
.elines .tag { top: -10px; padding-right: 6px; }
.phead { padding: 18px 0 22px; }
.phead h1 { font-size: 26px; line-height: 1.55; letter-spacing: .02em; margin: 10px 0 8px; }
.split2 { grid-template-columns: 1fr; }
.gapbar { grid-template-columns: 1fr auto; }
.gapbar-track { grid-column: 1 / 3; order: 3; }
.qwrap { padding: 16px 16px 40px; }
.qhead h1 { font-size: min(24px, calc((100vw - 32px) / 14)); letter-spacing: 0; }
.sets { gap: 8px; margin-bottom: 16px; }
.sets button { flex-direction: column; justify-content: center; align-items: stretch; min-height: 60px; padding: 6px 12px; font-size: 14px; }
.sets button small { font-size: 12px; }
.paper { box-shadow: none; }
.ph1 { padding: 10px 14px; font-size: 12.5px; flex-wrap: wrap; }
.ph1 .dev { font-size: 12px; }
.dots { padding: 12px 14px 0; }
.dots i::after { right: -4px; top: -3px; width: 8px; height: 8px; }
.dots i.n::after { width: 12px; height: 12px; top: -5px; }
.qbody { padding: 16px 14px 18px; }
.qno { font-size: 17px; }
.qno small { display: block; margin-left: 0; }
.qq { font-size: 20px; margin: 8px 0 14px; }
.ans-row { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 6px 0; }
.exp { margin-top: 14px; padding: 12px 14px; grid-template-columns: 1fr; gap: 4px; }
.qnav2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; }
.qnav2.only-next { grid-template-columns: 1fr; }
.qnav2 .btn-c, .qnav2 .btn-o2 { justify-content: center; min-height: 48px; }
.res { grid-template-columns: 1fr; margin-top: 24px; }
.res .sc { border-right: 0; border-bottom: 3px double var(--ink); padding: 16px 14px; }
.res .sc .v { font-size: 34px; }
.res .res-main { padding: 16px 14px; }
.res ol { padding: 4px 0; }
.res li { grid-template-columns: 52px 26px 1fr; gap: 8px; font-size: 13.5px; }
.res li a { grid-column: 3; display: inline-flex; align-items: center; min-height: 44px; }

/* SP：全ページ上部の注記が4行を占めていた → 1行（非公式の表示＋編集方針へのリンク）に畳む。法律相談ではない旨は各記事と編集方針・フッターに掲載 */
.notice { display: flex; align-items: center; flex-wrap: wrap; gap: 0 10px; padding: 0 16px; }
.notice span { display: inline; }
.notice span:nth-of-type(2) { display: none; }
.notice a { margin-left: auto; }
