/* manapick politics — PC レイアウト（link media: min-width:1025px で読み込む）
   パッケージ po-pc.css（本来 min-width:641px）の内容を、現行サイトの
   PC/SP 分離境界（1025/1024）に合わせて配置したもの。
   641〜1024px のタブレット帯は net-sp.css 内の min-width:641px ブロックが担う。 */

/* 注記の帯 */
.notice {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 36px;
  padding: 0 40px;
  background: var(--po-vgray);
  border-bottom: 1px solid var(--po-rule);
  font-size: 13px;
  color: var(--ink-2);
}
.notice b {
  font-family: var(--num);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--ink);
}
.notice i { width: 1px; height: 14px; background: var(--po-rule); flex: none; }
.notice a { margin-left: auto; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ヘッダー */
.hd3 {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
  padding: 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--ink);
}
.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);
}
.hd3 .r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hd3 .menu-button {
  display: inline-flex;
  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); }

.wrap3 { padding: 0 56px; }

/* 二層見出し */
.two-h { display: flex; align-items: baseline; gap: 16px; }
.two-h .en { font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; color: var(--ck); }
.two-h h2 { font-family: var(--mincho); font-weight: 700; font-size: 28px; letter-spacing: 0.05em; line-height: 1.45; }

.dbl { border-top: 3px solid var(--ink); position: relative; }
.dbl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1px;
  border-top: 1px solid var(--ink);
  margin-top: 2px;
}

/* 標本帯（下層ページ用。トップでは荷札様式を使う） */
.spec-band { background: var(--tint); padding: 0 56px; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.spec > div { padding: 16px 20px 14px; border-left: 1px solid var(--ink); }
.spec > div:first-child { border-left: 0; padding-left: 0; }
.spec .k { font-size: 12px; color: var(--ink); }
.spec .v { font-family: var(--num); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 4px 0; letter-spacing: 0.01em; }
.spec .v small { font-family: var(--jp); font-size: 13px; margin-left: 3px; }
.spec .s { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.spec a { color: var(--po-link-on-tint); text-decoration: underline; text-underline-offset: 3px; }

/* 結論カード */
.concl {
  position: relative;
  padding: 18px 22px 20px 26px;
  border-left: 4px solid var(--c);
  background: #fff;
  font-size: 16px;
  line-height: 1.9;
}
.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: 4px;
}

/* たとえ話バルーン */
.balloon {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  margin: 24px 0;
}
.balloon::after {
  content: "";
  position: absolute;
  left: 46px;
  bottom: -11px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
}
.balloon .lb {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 20px;
  color: var(--ck);
  line-height: 1.2;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}
.balloon p { font-family: var(--hand); font-size: 17px; line-height: 1.85; }
/* 政党ページ（様式 PO-P）では、バルーンの下マージンはモックHTMLの指定どおり 6px
   （政党ページ_参照モックのバルーンへのインライン指定。節の末尾に置かれるため） */
.gz .balloon { margin-bottom: 6px; }

/* 図と標題 */
.fig { margin: 22px 0 28px; }
.fig .cap {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}
.fig .cap b { font-family: var(--num); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; color: var(--ck); }

/* 記事グリッド（傍注レール＋本文＋サイドバー） */
/* 1280 で右の傍注（関係マップ・用語）が 178px しかなく1行9字前後で細切れになっていた → 左の節ラベルの列を 150→100px、
   傍注を 300px 固定に（1280 では本文 720px、1440 以上は本文 760px。外枠は下の「版面」で最大 1,240px に抑えて中央に置く） */
.artgrid { display: grid; grid-template-columns: 84px minmax(0, 760px) 300px; justify-content: space-between; gap: 0 32px; padding: 34px 0 60px; }
.sn { position: relative; }
.sn .no { font-family: var(--num); font-weight: 600; font-size: 14px; color: var(--ink-2); letter-spacing: 0.06em; }
.sn .wd { font-size: 12px; color: var(--ink-2); margin-top: 2px; line-height: 1.6; }
.arow { display: contents; }
.h2a { font-family: var(--mincho); font-weight: 700; font-size: 26px; line-height: 1.5; letter-spacing: 0.04em; margin: 0 0 14px; padding-top: 6px; }
.blk { padding: 30px 0 6px; border-top: 1px solid var(--ink); }
.p16 { font-size: 16px; line-height: 1.95; margin-bottom: 16px; }

/* 表 */
.tb { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.tb th, .tb td { padding: 11px 12px; 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: 15px; }
.tb th[scope="row"] { color: var(--ink-2); font-weight: 500; font-size: 13.5px; width: 150px; }
.tb td.n { font-family: var(--num); font-weight: 600; font-size: 18px; white-space: nowrap; }

/* 法律の注意枠 */
.legal-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--ink);
  background: var(--po-vgray);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 18px;
}
.legal-note b {
  font-family: var(--mincho);
  font-size: 14px;
  writing-mode: vertical-rl;
  letter-spacing: 0.3em;
  border-right: 1px solid var(--ink);
  padding-right: 10px;
}
.legal-note a { color: var(--ink); text-decoration: underline; }

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

.mob { display: none; }

/* ============ トップ「天秤の舞台」（PC） ============ */
.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) 480px minmax(0, 1fr);
  padding-bottom: 64px;
}
.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;
  font-size: 17px;
  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: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 14px 6px 8px;
  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: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.pl .tx { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pl b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.pl small { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .no { font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); }

.side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  min-height: 720px;
  padding: 0 44px;
  display: flex;
  flex-direction: column;
}
.side .beam { top: 62px; }
.side.L .beam { left: 50%; right: 0; }
.side.R .beam { left: 0; right: 50%; }
.side .ill { width: 100%; max-width: 330px; margin: 56px auto 0; position: relative; z-index: 1; }
.side .cart { position: absolute; top: 118px; }
.side.L .cart { left: 26px; }
.side.R .cart { right: 26px; }
.side .note { text-align: center; font-size: 15px; margin: 2px 0 0; }
.side .plh { margin: 12px auto 10px; width: 100%; max-width: 360px; }
.side .plist { display: grid; gap: 8px; width: 100%; max-width: 360px; margin: 0 auto; }

.col {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 240px 240px 0 0/150px 150px 0 0;
}
.col::before, .col::after {
  content: "";
  position: absolute;
  top: 150px;
  bottom: 40px;
  width: 12px;
  background:
    repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 10px) 0 0/6px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--ink) 0 1.5px, transparent 1.5px 50px) 0 0/12px 100% no-repeat;
}
.col::before { left: -20px; transform: scaleX(-1); }
.col::after { right: -20px; }

.hero2 { position: relative; text-align: center; background: #fff; padding: 104px 40px 44px; border-radius: 240px 240px 0 0/150px 150px 0 0; }
.hero2 .beam { left: -1px; right: -1px; top: 62px; height: 3px; }
.hero2 .fulcrum { position: absolute; left: 50%; top: 47px; transform: translateX(-50%); background: #fff; padding: 0 6px; line-height: 0; }
.hero2 .post { position: absolute; left: 50%; top: 80px; width: 3px; height: 16px; margin-left: -1.5px; background: var(--c); }
.hero2 .eyeb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--num);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--ck);
}
.hero2 h1 { font-family: var(--mincho); font-weight: 700; font-size: 32px; line-height: 1.5; letter-spacing: 0.06em; margin-top: 16px; }
.hero2 .lead { font-size: 16px; line-height: 2; margin-top: 14px; }
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.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: 15px;
  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 { display: none; }
.blk2 { background: #fff; position: relative; padding: 34px 40px 30px; border-top: 1px solid var(--po-rule); }
.sech { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; margin-bottom: 18px; }
.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: 22px; 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; }

/* 01 今日の一問（問題用紙） */
.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: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.opts2 button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  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; }

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

/* 03 階段と重なる円 */
.st3 { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.st3 li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border: 1.5px solid var(--ink);
  background: #fff;
  padding: 12px 14px;
  position: relative;
}
.st3 li:nth-child(2) { margin-left: 36px; }
.st3 li:nth-child(3) { margin-left: 72px; }
.st3 li:nth-child(2)::before, .st3 li:nth-child(3)::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -10px;
  width: 14px;
  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: auto 1fr; gap: 12px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--po-rule); }
.gs p { font-size: 15px; line-height: 1.75; }
.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); }

/* 04 選挙は5つの駅 */
.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: 13.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); }

/* 05 標本ラベル（荷札） */
.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: 26px; 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; }

/* 06 編集方針の条文 */
.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; margin: 0 -1.5px; }
.base i { display: block; height: 14px; background: #fff; border: 1.5px solid var(--ink); border-top: 0; }
.base i:nth-child(1) { width: calc(100% + 3px); }
.base i:nth-child(2) { width: calc(100% + 40px); }
.base i:nth-child(3) { width: calc(100% + 80px); background: var(--ink); }

/* 検索セクション（トップ内。SPの「探す」の着地点） */
.search-sec { background: #fff; border-top: 1.5px solid var(--ink); padding: 40px 56px 48px; }
.search-sec .searchbox { max-width: 640px; margin-top: 14px; }

/* 乗り換えセクション */
.xwrap2 { padding: 0 56px 64px; background: #fff; border-top: 1.5px solid var(--ink); }
.xwrap2 .sh { display: flex; align-items: baseline; gap: 14px; margin: 56px 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: repeat(4, 1fr); gap: 14px; }
.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; }

/* PC 狭幅（1025〜1150px）はヘッダー全項目が収まらないため検索欄を隠す */
@media (max-width: 1150px) {
  .hd3 .hd3-search { display: none; }
}

/* ============================================================
   段3：政党ページ（様式 PO-P・PC）
   ============================================================ */
.gz-head { padding: 26px 56px 0; }
.form-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); font-size: 12.5px; color: var(--ink-2); }
.namerow { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 0 18px; border-bottom: 1px solid var(--ink); }
.namerow h1 { font-family: var(--mincho); font-weight: 700; font-size: 40px; letter-spacing: 0.08em; line-height: 1.3; }
.namerow .sub2 { font-size: 13px; }
.namerow .note { font-size: 12.5px; max-width: 300px; text-align: right; }
.gz-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 26px 56px 60px; align-items: start; }
.gz > section { display: grid; grid-template-columns: 196px minmax(0, 1fr); border-bottom: 1px solid var(--ink); }
.gz > section > h2 { font-size: 18px; padding: 18px 16px 18px 0; border-right: 1px solid var(--po-rule); }
.gz > section > h2 small { display: block; margin-bottom: 4px; }
.gz > section > div { padding: 16px 0 18px 22px; }
.seat { display: grid; grid-template-columns: 150px 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--po-rule); }
.seat:last-of-type { border-bottom: 0; }
.seat .v { font-size: 22px; }
.seat .v small { font-size: 12.5px; }
.seat .m { grid-column: 3; margin-top: -8px; }
.kv th { width: 190px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--po-rule); }
.kv td { 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 { white-space: nowrap; }
.xfer-sec .g4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ============================================================
   段3：政党比較（PC）
   ============================================================ */
.cmpwrap { padding: 22px 56px 70px; }
.cmpwrap h1 { font-family: var(--mincho); font-weight: 700; font-size: 34px; line-height: 1.5; letter-spacing: 0.05em; margin: 12px 0 8px; }
.cmpwrap .lead { font-size: 16px; max-width: 760px; line-height: 1.9; }
.tblock { margin-top: 26px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 40px; padding: 14px 0; }
.tblock .ttl { font-family: var(--mincho); font-weight: 700; font-size: 17px; }
.tblock .tot { grid-row: span 2; align-self: center; font-family: var(--num); font-weight: 600; font-size: 22px; text-align: right; }
.tblock .tot small { font-family: var(--jp); font-size: 13px; color: var(--ink-2); display: block; font-weight: 400; }
.tblock .tsrc { font-size: 12.5px; color: var(--ink-2); }
.ct { width: 100%; border-collapse: collapse; font-size: 15px; }
.ct thead th { font-family: var(--mincho); font-size: 14px; text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--ink); }
.ct thead th small { display: block; font-family: var(--jp); font-size: 12px; color: var(--ink-2); font-weight: 400; }
.ct td { padding: 0 10px; height: 52px; border-bottom: 1px solid var(--po-rule); vertical-align: middle; }
.ct td.no { font-family: var(--num); font-weight: 600; font-size: 14px; color: var(--ink-2); width: 44px; text-align: right; }
.ct td.pt { font-weight: 700; white-space: nowrap; }
.ct td.pt .chip { margin-right: 10px; vertical-align: middle; }
.ct td.pt a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--po-rule); }
.ct td.sv { width: 230px; }
.ct .sv .v { display: inline-block; width: 40px; text-align: right; font-family: var(--num); font-weight: 600; font-size: 17px; margin-right: 10px; vertical-align: middle; }
.ct .sv .bar { display: inline-block; vertical-align: middle; width: 150px; height: 10px; background: #f0eff3; border: 1px solid var(--po-rule); position: relative; }
.ct .sv .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--bar); }
.ct td.yen, .ct td.pc2 { font-family: var(--num); font-weight: 600; font-size: 17px; text-align: right; white-space: nowrap; }
.ct tfoot td { height: 56px; border-top: 2px solid var(--ink); border-bottom: 3px double var(--ink); font-weight: 700; }
.ct tfoot .yen { font-size: 18px; }
.cnote { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; 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: 34px; }
.mobonly { display: none; }

/* ===== 段3 PC: 法律ヒーロー／選挙ヒーロー／流れの線／層の図／404／用語集 ===== */
.lhero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding: 22px 56px 30px; border-bottom: 1px solid var(--ink); }
.lhero h1 { font-family: var(--mincho); font-weight: 700; font-size: 38px; line-height: 1.5; letter-spacing: .05em; margin: 14px 0 10px; }
.lhero .lead { font-size: 16px; line-height: 1.95; max-width: 640px; }
.lhero .concl { margin-top: 20px; }
.ehero { padding: 22px 56px 0; }
.ehero h1 { font-family: var(--mincho); font-weight: 700; font-size: 36px; letter-spacing: .05em; line-height: 1.5; margin: 12px 0 8px; }
.ehero .lead { font-size: 16px; line-height: 1.9; max-width: 760px; }
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; padding: 26px 0 30px; border-top: 3px double var(--ink); border-bottom: 3px double var(--ink); }
.flow::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 52px; height: 4px; background: var(--c); }
.flow div { position: relative; text-align: center; padding: 0 12px; }
.flow i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 4px solid var(--c); font-style: normal; font-family: var(--num); font-weight: 700; font-size: 18px; position: relative; }
.flow b { display: block; font-size: 16px; }
.flow span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.flow .tag { top: -12px; padding: 0 8px 0 0; }
.ballots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 18px; }
.ballot { padding: 16px 18px 18px; }
.ballot .bh { font-size: 12.5px; }
.ballot .box { height: 86px; margin-top: 12px; font-size: 17px; }
.ballot .no2 { right: -12px; top: -12px; width: 30px; height: 30px; }
.layers { position: relative; height: 316px; margin-top: 6px; }
.ly { position: absolute; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; border: 1.5px solid var(--ink); }
.ly.ly-base { left: 0; right: 0; bottom: 0; height: 96px; background: var(--po-vgray); }
.ly.ly-mid { left: 60px; width: 58%; bottom: 96px; height: 104px; background: #fff; border-bottom: 0; }
.ly.ly-para { right: 0; width: 32%; bottom: 96px; height: 200px; background: #fff; border-style: dashed; border-bottom: 0; }
.ly.ly-mid b, .ly.ly-para b { font-size: 18px; }
.arrow { position: absolute; font-size: 12.5px; color: var(--ink); background: #fff; padding: 2px 8px; border: 1px solid var(--ink); border-radius: 999px; }
.scn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--ink); }
.scn li { padding: 16px 18px; border-right: 1px solid var(--po-rule); }
.scn li:last-child { border-right: 0; }
.stat3 li { display: grid; grid-template-columns: 200px 1fr auto; gap: 12px; align-items: baseline; min-height: 48px; padding: 10px 0; }
.e404 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 70px 0 90px; }
.e404 .big { font-size: 200px; }
.termgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0; }
.termgrid .tcell { padding: 20px 28px 22px 0; border-bottom: 1px solid var(--po-rule); }
.termgrid .tcell:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--po-rule); }
.artgrid > .side3 { grid-column: 3; grid-row: 1 / span 99; }
.ebranch .tag { top: -12px; padding: 0 8px 0 0; }
.elines .tag { top: -12px; padding: 0 8px 0 0; }
.qwrap { padding: 22px 56px 70px; }

/* ネットワークレール：1280px 前後で「編集方 針」「AI 道具を／選ぶ」のように折り返していた → 折り返さず、狭い幅では右端の補助リンク・ラベルを省く（同じリンクはヘッダーのメニューとフッターにある） */
.rail .s, .rail .rt a, .rail .lbl { white-space: nowrap; }
@media (max-width: 1440px) { .rail .rt { display: none; } }
@media (max-width: 1200px) { .rail .lbl { display: none; } .rail .s { margin-right: 10px; } }

/* ============================================================
   PC デザイン改善（11-18）— このファイルは 1025px 以上でだけ読み込まれる
   ============================================================ */
/* 六法ずかん・判例の分類チップ（すべて＋12分類＝13個）：6列だと「判例」だけが3段目に落ちていた → 7列で 7＋6 */
.lbf .lbf-chips--cat { grid-template-columns: repeat(7, minmax(0, 1fr)); }
/* 記事末のメルマガ：PC で入力欄が 1,100px 近くに伸び、説明文が1行77字になっていた → 左に見出しと説明、右に入力欄の2列 */
.pe-nl.art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; padding: 28px 32px; }
.pe-nl.art > .hd { grid-column: 1; grid-row: 1; }
.pe-nl.art > .d { grid-column: 1; grid-row: 2 / span 3; }
.pe-nl.art > .lb2 { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 8px; }
.pe-nl.art > .row { grid-column: 2; grid-row: 2; }
.pe-nl.art > .err { grid-column: 2; grid-row: 3; }
.pe-nl.art > .fine { grid-column: 2; grid-row: 4; }
/* 乗り換えカードの小見出し（英字）：字間を詰めて「TRANSFER → manapick license」を収める */
.xfer .k { letter-spacing: 0.08em; }

/* ============================================================
   独立監査（11-18 PC）への対応
   ============================================================ */
/* 版面：記事・一覧・政党ページの外枠に上限（中身 1,240px）を付けて中央に置く。1440・1920 で左に寄り、
   結論の箱が1行75字・傍注が本文より広くなっていたため */
main > .wrap3, main > .lhero, main > .gz-head, main > .gz-body, main > .cmpwrap, main > .qwrap, main > .e404 {
  max-width: 1352px; margin-left: auto; margin-right: auto; box-sizing: border-box;
}
.xwrap2 > .sh, .xwrap2 > .g4 { max-width: 1240px; margin-left: auto; margin-right: auto; }
.pe-footnl .in { max-width: 1240px; }
.route > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
/* 記事冒頭：右の「この法律の位置」の箱を傍注と同じ 300px 幅・同じ左端にし、冒頭の高さに引き伸ばさない */
.lhero { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.lhero > aside.ladder { align-self: start; }
.lhero .concl { max-width: 760px; }
/* 棒グラフのラベル列（9em＝約150px）を広げて「（違憲状⏎態）」のような折れを防ぐ */
.lb-bars li { grid-template-columns: minmax(0, 13em) minmax(0, 1fr) auto; }
/* 政党ページの議席数：日付の列を広げ、会派の注記をバーの直下に置く */
.seat { grid-template-columns: 200px 140px minmax(0, 1fr); grid-template-areas: "h v bar" "h v m"; row-gap: 4px; align-items: center; }
.seat .h { grid-area: h; }
.seat .v { grid-area: v; }
.seat .bar { grid-area: bar; align-self: end; }
.seat .m { grid-area: m; margin-top: 0; align-self: start; }
/* 一覧ページの「乗り換えて、次へ。」：暗いフッターに貼り付かないよう下に余白 */
main > .xfer-sec { padding-bottom: 72px; }
/* ニュース記事の目次：共有ボタン5つを1行に収める（「共有」の札は上の行に置く） */
.nside .share { gap: 4px; }
.nside .share-label { flex-basis: 100%; }
/* 注記・リードの1行が90字前後になっていた → 全角45字前後で折り返す */
/* lawbook.css・pe-extra.css の max-width（760px・720px）より後勝ちにするため main から指定する */
main .hub-note, main .gz-note, main .cmpwrap > .lead, main .hub-cat .section-lead, main .lh-part > .section-lead, main .cmpwrap > .section-lead, main .qhead-p, main .nidx__lead, main .pe-dict .dh p, main .fig .lb-note { max-width: 45em; }
.pe-footnl .fine { max-width: 46em; }
/* クイズ：本文の列をパンくずと同じ左端にそろえる（中央寄せの 860px 列をやめる） */
main > .qwrap > * { margin-left: 0 !important; margin-right: auto !important; }
/* 404：検索欄を文の下から離し、右端をほかのページにそろえる */
main > .e404 { padding-left: 56px; padding-right: 56px; }
.e404-search { margin-top: 18px; }
/* トップ（天秤の舞台）：中央の柱 480px だけが続き、左右が地紋だけになっていた → 柱を 640〜720px に広げ、全体に上限 */
.stage { grid-template-columns: minmax(300px, 1fr) minmax(0, 720px) minmax(300px, 1fr); max-width: 1680px; margin: 0 auto; }
.side { padding: 0 28px; }
/* フッターのサイトの案内：ロゴ＋2つのまとまりを横に。リンクは横に流して高さを抑える */
.ft-guide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: 28px; padding-bottom: 24px; margin-bottom: 28px; }
.ft-brand { grid-column: auto; align-content: start; }
.ft-col ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ft-col a { min-height: 32px; }
