:root {
  --bg: #f6f9fe !important;
  --panel: #ffffff;
  --ink: #071a3d;
  --muted: #637089;
  --line: #e4eaf3;
  --accent: #075ef2 !important;
  --accent-soft: #edf4ff !important;
  --grad-1: #075ef2 !important;
  --grad-2: #287dff !important;
  --blue: #075ef2;
  --orange: #ff5b2e;
  --green: #36b8a3;
  --purple: #9358e8;
  --navy: #071a3d;
  --topic-shadow: 0 12px 34px rgba(18, 53, 99, .09);
  --topic-shadow-sm: 0 5px 18px rgba(18, 53, 99, .07);
}

html {
  scroll-padding-top: 88px;
  overflow-x: clip !important;
}
body { overflow-x: clip !important; }
body { background: var(--bg) !important; color: var(--navy) !important; }

.modern-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(221, 229, 240, .95);
  backdrop-filter: blur(16px);
}
.modern-header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.modern-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy) !important;
  text-decoration: none;
  white-space: nowrap;
}
.modern-logo-mark { width: 36px; height: 36px; display: block; flex: 0 0 auto; }
.modern-logo-text { font-size: 19px; font-weight: 900; letter-spacing: -.04em; }
.modern-nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.modern-nav a {
  color: var(--navy) !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.modern-nav a:hover { color: var(--blue) !important; }
.modern-header-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 9px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), #087cff);
  box-shadow: 0 7px 17px rgba(7, 94, 242, .2);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 555px;
  margin: 24px auto 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff !important;
  box-shadow: var(--topic-shadow);
}
.hero::before {
  inset: 0 0 0 47% !important;
  background: var(--topic-hero-image, url('images/topics/ai-copyright/ai-copyright-hero.webp')) center / cover no-repeat !important;
  opacity: .96 !important;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(7, 94, 242, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 94, 242, .028) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.hero-inner {
  min-height: 553px;
  padding: 38px 48px 34px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.hero-inner > * { position: relative; z-index: 2; }
.hero .top-nav { margin: 0 0 18px; }
.hero .top-nav a {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue) !important;
  font-size: 11px;
}
.hero .top-nav a::after { content: ' › テーマ一覧 › ' attr(data-topic-title); color: #738198; font-weight: 600; }
.hero-photo { display: none !important; }
.hero-inner > span {
  background: #eee9ff !important;
  color: #6f4bd3 !important;
  border: 0 !important;
  padding: 5px 10px !important;
  margin-bottom: 10px !important;
  font-size: 10px !important;
}
.hero h1 {
  max-width: 540px;
  margin: 0 0 10px;
  color: var(--navy) !important;
  font-size: clamp(34px, 4.1vw, 50px) !important;
  line-height: 1.22;
  letter-spacing: -.05em;
}
.hero .question-line {
  max-width: 520px;
  margin: 0 0 12px;
  color: var(--navy) !important;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}
.hero .lead {
  max-width: 510px;
  color: #4f5e76 !important;
  font-size: 12px;
  line-height: 1.8;
}
.thirty-summary {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 510px !important;
  gap: 9px !important;
  margin-top: 17px !important;
}
.thirty-summary-title {
  display: flex !important;
  grid-column: 1 / -1 !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.thirty-summary-title::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue, #075ef2);
  content: "";
  transform: rotate(45deg);
}
.thirty-summary-title::after {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue, #075ef2), transparent);
  content: "";
}
.thirty-summary-title h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--navy, #081b3f) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .12em !important;
}
.thirty-summary-title p { display: none !important; }
.thirty-summary li {
  position: relative;
  min-height: 130px;
  overflow: hidden;
  padding: 23px 82px 20px 25px !important;
  background:
    linear-gradient(var(--blue, #075ef2), var(--blue, #075ef2)) left top / 76px 3px no-repeat,
    linear-gradient(var(--blue, #075ef2), var(--blue, #075ef2)) left top / 3px 76px no-repeat,
    linear-gradient(#7b8cff, #7b8cff) right bottom / 76px 3px no-repeat,
    linear-gradient(#7b8cff, #7b8cff) right bottom / 3px 76px no-repeat,
    linear-gradient(125deg, rgba(255,255,255,.97), rgba(238,243,255,.9) 64%, rgba(226,234,255,.84)) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 14px 32px rgba(28, 50, 94, .12);
  color: #44536a !important;
  font-size: 12px;
  line-height: 1.65 !important;
  backdrop-filter: blur(8px);
  clip-path: polygon(0 13px, 13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%);
  animation: conclusion-frame-in .7s cubic-bezier(.2, .8, .2, 1) both;
}
.thirty-summary li::before,
.thirty-summary li::after {
  position: absolute;
  width: 13px;
  height: 13px;
  content: "";
  pointer-events: none;
}
.thirty-summary li::before {
  top: 0;
  left: 0;
  background: linear-gradient(135deg, transparent 46%, var(--blue, #075ef2) 47%, var(--blue, #075ef2) 54%, transparent 55%);
}
.thirty-summary li::after {
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 46%, #7b8cff 47%, #7b8cff 54%, transparent 55%);
}
.thirty-summary .conclusion-count,
.thirty-summary .conclusion-detail,
.thirty-summary .conclusion-focus strong {
  position: relative;
  z-index: 1;
  display: block;
}
.thirty-summary .conclusion-count {
  position: absolute;
  top: 19px;
  right: 18px;
  display: grid;
  width: 52px;
  height: 52px;
  place-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--navy, #081b3f);
  box-shadow: 5px 5px 0 rgba(7, 94, 242, .2);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  animation: conclusion-count-in .48s cubic-bezier(.2, 1.5, .4, 1) .4s both;
}
.thirty-summary .conclusion-count b {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
  letter-spacing: -.04em;
}
.thirty-summary .conclusion-focus strong {
  color: var(--navy, #081b3f);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.42;
  letter-spacing: -.025em;
}
.thirty-summary .conclusion-detail {
  margin-top: 9px;
  color: #52627a;
}
@keyframes conclusion-frame-in {
  from { opacity: 0; transform: translateX(-10px); clip-path: polygon(0 13px, 13px 0, 18% 0, 18% calc(100% - 13px), calc(18% - 13px) 100%, 0 100%); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes conclusion-count-in {
  from { opacity: 0; transform: rotate(-12deg) scale(.6); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .thirty-summary li,
  .thirty-summary .conclusion-count {
    animation: none !important;
  }
}
.wave-divider { display: none !important; }

main { padding: 0 20px 72px !important; }
.stats {
  width: min(1180px, 100%);
  margin: 14px auto 20px !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  background: transparent !important;
}
.stats::before { display: none; }
.stat {
  min-width: 0;
  padding: 18px 18px !important;
  border: 1px solid var(--line) !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: var(--navy) !important;
  box-shadow: var(--topic-shadow-sm) !important;
}
.stat:hover { background: #fff !important; transform: translateY(-2px); }
.stat span { color: #68758a !important; font-size: 10px !important; margin-bottom: 6px !important; }
.stat strong {
  color: var(--navy) !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}
.stat:first-child strong { color: var(--blue) !important; font-size: 25px !important; }

.panel,
.note-panel {
  width: min(1180px, 100%);
  margin: 14px auto 0 !important;
  padding: 30px 34px !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: var(--topic-shadow-sm) !important;
}
.panel:nth-of-type(odd), .panel:nth-of-type(even) { background: #fff !important; }
.panel > *, .note-panel > * { max-width: none !important; }
.panel-title { margin-bottom: 22px !important; }
.panel-title h2 { color: var(--navy); font-size: 23px !important; letter-spacing: -.035em; }
.panel-title h2::before { width: 4px !important; height: 24px !important; background: var(--blue) !important; }
.panel-title span { padding: 4px 10px !important; background: #f5f7fa !important; border-color: var(--line) !important; font-size: 10px !important; }

#explainer-section .explainer-lead,
#explainer-section .explainer-grid {
  width: 100% !important;
  max-width: none !important;
}
#explainer-section .explainer-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}
#explainer-section .explainer-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
#explainer-section .explainer-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1915 / 821 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: var(--accent-soft, #edf4ff) !important;
}

.manga-grid { gap: 14px !important; }
.manga-page-card,
.sample-card,
.axis-card,
.related-card,
.table-wrap { border: 1px solid var(--line) !important; box-shadow: 0 5px 16px rgba(18, 53, 99, .06) !important; }
.manga-page-card { border-radius: 13px !important; }
.manga-page-card span { font-size: 12px !important; }
.vote-image-card { border-radius: 13px !important; box-shadow: var(--topic-shadow-sm) !important; }

#stance-map-section { padding-bottom: 34px !important; }
#stance-map-inner { max-width: 820px !important; }
#stance-map-section canvas { border: 0 !important; border-radius: 13px !important; }
#stance-map-section #smCanvasHeat {
  top: 6px !important;
  left: 6px !important;
  width: calc(100% - 12px) !important;
  height: calc(100% - 12px) !important;
  border-radius: 13px !important;
  background: #fbfcfe !important;
}
#stance-map-section.panel {
  background: #0f0e2e url('images/shared/arena-bg.webp') center/cover no-repeat !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 18px 48px rgba(15, 14, 46, .22) !important;
}
#stance-map-section .panel-title h2 { color: #fff !important; }
#stance-map-section .panel-title span {
  color: rgba(255, 255, 255, .78) !important;
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(255, 255, 255, .2) !important;
}
#stance-map-section .map-caption { color: rgba(255, 255, 255, .76) !important; }
#stance-map-section #sm-wrap { max-width: 660px !important; }
#stance-map-section .sm-controls {
  max-width: 660px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#issue-arena-section .sm-controls,
#issue-arena-section .arena-controls,
#issue-arena-section .arena-legend {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 640px !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .82) !important;
}
#stance-map-section .sm-legend { color: rgba(255, 255, 255, .82) !important; }
#stance-map-section .sm-fbtn {
  border-color: rgba(255, 255, 255, .28) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: rgba(255, 255, 255, .9) !important;
}
#stance-map-section .sm-fbtn.active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

/* 論点アリーナはAIテーマの表示仕様を全テーマの基準にする */
#issue-arena-section,
#stance-map-section {
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  padding: 42px min(6vw, 72px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #0f0e2e url('images/shared/arena-bg.webp') center / cover no-repeat !important;
  box-shadow: none !important;
  scroll-margin-top: 88px !important;
}
#issue-arena-inner,
#stance-map-inner {
  width: 100% !important;
  max-width: 720px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
#issue-arena-section > .panel-title,
#issue-arena-section > .arena-caption,
#issue-arena-section > .map-caption,
#issue-arena-section > .arena-legend,
#issue-arena-section > .arena-user-note {
  width: 100% !important;
  max-width: 720px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
#issue-arena-section .panel-title,
#stance-map-section .panel-title {
  height: 42px !important;
  min-height: 42px !important;
  margin-bottom: 12px !important;
}
#issue-arena-section .arena-caption,
#issue-arena-section .map-caption,
#issue-arena-section .map-caption-a,
#stance-map-section .arena-caption,
#stance-map-section .map-caption,
#stance-map-section .map-caption-a {
  box-sizing: border-box !important;
  height: 84px !important;
  min-height: 84px !important;
  margin: 0 0 16px !important;
  overflow: hidden !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
}
#issue-arena-section #sm-wrap,
#issue-arena-section #sm-wrap-arena,
#issue-arena-section #arena-wrap,
#issue-arena-section .arena-wrap,
#stance-map-section #sm-wrap,
#stance-map-section #sm-wrap-arena,
#stance-map-section #arena-wrap {
  width: 100% !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0f0e2e !important;
  box-shadow: none !important;
}
#issue-arena-section .arena-wrap canvas,
#issue-arena-section #sm-wrap canvas {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0f0e2e !important;
}
#stance-map-section #smCanvasHeat {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px !important;
  background: #0f0e2e !important;
}
#stance-map-section #smCanvas {
  border-radius: 10px !important;
  background: transparent !important;
}
#issue-arena-section .panel-title h2,
#stance-map-section .panel-title h2 {
  color: #fff !important;
}
#issue-arena-section .panel-title span,
#stance-map-section .panel-title span {
  color: rgba(255, 255, 255, .78) !important;
  background: rgba(255, 255, 255, .1) !important;
  border-color: rgba(255, 255, 255, .2) !important;
}
#issue-arena-section .arena-caption,
#issue-arena-section .map-caption,
#stance-map-section .map-caption {
  color: rgba(255, 255, 255, .76) !important;
}
#your-marker-note-arena,
#your-marker-note,
#arena-marker-note,
.arena-user-note {
  width: 100% !important;
  max-width: 640px !important;
  margin: 8px auto 0 !important;
  color: rgba(255, 255, 255, .7) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-align: center !important;
}
#vote-result.vote-result-unified {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 142px !important;
  margin-top: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.participant-vote-summary {
  margin: 0 0 12px !important;
  padding: 10px 14px !important;
  border: 1px solid #c4b5fd !important;
  border-left: 5px solid #6d28d9 !important;
  border-radius: 10px !important;
  background: #f5f3ff !important;
  color: #5b21b6 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
#vote-result .vote-result-card {
  box-sizing: border-box !important;
  min-height: 92px !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid #dbe7f7 !important;
  border-left: 5px solid var(--blue) !important;
  border-radius: 12px !important;
  background: var(--accent-soft, #edf4ff) !important;
}
#vote-result #vote-position-label {
  display: block !important;
  color: var(--navy) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
}
#vote-result #vote-position-text {
  margin: 6px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}
#vote-result .vote-result-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  margin-top: 10px !important;
}
#vote-result .vote-result-actions #share-x,
#vote-result .vote-result-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
#vote-result .vote-result-actions #share-x {
  border: 1px solid #000 !important;
  background: #000 !important;
  color: #fff !important;
}
#vote-result .vote-result-actions button {
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--navy) !important;
}

@media (max-width: 720px) {
  #issue-arena-section,
  #stance-map-section {
    padding: 30px 16px !important;
  }
  #issue-arena-section .panel-title,
  #stance-map-section .panel-title {
    height: auto !important;
    min-height: 42px !important;
  }
  #issue-arena-section .arena-caption,
  #issue-arena-section .map-caption,
  #issue-arena-section .map-caption-a,
  #stance-map-section .arena-caption,
  #stance-map-section .map-caption,
  #stance-map-section .map-caption-a {
    height: auto !important;
    min-height: 84px !important;
    overflow: visible !important;
  }
}
.sm-controls { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8faff; }
.fbtn { border-color: #dbe4f0 !important; color: #44536a; }
.fbtn.active { background: var(--blue) !important; border-color: var(--blue) !important; }
#startTour { background: var(--blue) !important; }
.sm-stat-cards { gap: 9px !important; }
.sm-sbox { padding: 10px 12px !important; border: 1px solid var(--line); border-radius: 10px !important; background: #fff !important; }

.axis-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 12px !important; }
.axis-card { min-height: 220px !important; padding: 20px !important; border-radius: 14px !important; }
.axis-card h3 { font-size: 15px !important; }
.axis-count { font-size: 32px !important; }
.sample-grid { gap: 13px !important; }
.sample-card { border-radius: 14px !important; }
.sample-card > h3 { padding: 15px 16px 12px !important; }
.sample-card > div { padding: 13px 16px 16px !important; }
.temp-bar-wrap { margin: 0 0 18px; }
.temp-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.temp-bar {
  display: flex;
  height: 28px;
  overflow: hidden;
  border-radius: 7px;
  background: #e7e7f7;
}
.temp-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.temp-seg.con { background: #dc2626; }
.temp-seg.neutral { background: #94a3b8; }
.temp-seg.process { background: #059669; }
.temp-seg.pro { background: #2563eb; }
.temp-bar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.temp-bar-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-radius: 2px;
  vertical-align: middle;
}
.temp-bar-legend i.con { background: #dc2626; }
.temp-bar-legend i.neutral { background: #94a3b8; }
.temp-bar-legend i.process { background: #059669; }
.temp-bar-legend i.pro { background: #2563eb; }
@media (max-width: 720px) {
  .temp-bar-label { flex-direction: column; gap: 2px; }
  .temp-bar-legend { gap: 5px 10px; }
}
.quadrant-nav a { border-radius: 999px !important; color: #4b5970 !important; font-size: 10px !important; }
.details-panel details { max-width: none !important; border-radius: 12px !important; }
.details-panel summary { background: #f6f9fd !important; color: var(--navy) !important; }
.note-panel { border-left: 4px solid var(--blue) !important; background: linear-gradient(135deg, #edf4ff, #fff) !important; }
.conflict-panel { border-image: none !important; }

footer { margin-top: 0 !important; background: #07172f !important; }

.vote-step2-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}
.vote-step2-head .vote-step-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
}
.vote-step2-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.vote-step2-question {
  display: block;
}
.vote-step2-helper {
  display: block;
  margin-top: 3px;
  color: var(--muted, #637089);
  font-size: 12px;
  font-weight: 500;
}
.vote-step-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--line, #e4eaf3);
  border-radius: 999px;
  background: #fff;
  color: var(--navy, #071a3d);
  box-shadow: 0 4px 12px rgba(18, 53, 99, .06);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.vote-step-back:hover {
  border-color: var(--blue, #075ef2);
  color: var(--blue, #075ef2);
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(18, 53, 99, .1);
}
.vote-step-back:focus-visible {
  outline: 3px solid rgba(7, 94, 242, .22);
  outline-offset: 2px;
}

/* Vote step 2: keep every theme's stance choices visually and spatially stable. */
#vote-step2 #vote-stance-btns {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
}
#vote-step2 .vote-stance-btn {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  min-height: 166px !important;
  height: 182px !important;
  width: 100% !important;
  padding: 16px 15px 14px !important;
  border: 1px solid var(--line, #e4eaf3) !important;
  border-top: 5px solid var(--stance-color, var(--blue, #075ef2)) !important;
  border-radius: 13px !important;
  background: linear-gradient(180deg, #fff, var(--stance-bg, #f6f9fd)) !important;
  color: var(--navy, #071a3d) !important;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .09) !important;
  text-align: left !important;
  font-family: inherit !important;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
#vote-step2 .vote-stance-btn:hover {
  border-color: var(--stance-color, var(--blue, #075ef2)) !important;
  transform: translateY(-2px) !important;
  filter: none !important;
  box-shadow: 0 12px 26px rgba(16, 24, 40, .14) !important;
}
#vote-step2 .vote-stance-btn:focus-visible {
  border-color: var(--stance-color, var(--blue, #075ef2)) !important;
  outline: 3px solid rgba(7, 94, 242, .2) !important;
  outline-offset: 2px;
}
#vote-step2 .vote-stance-btn:disabled {
  cursor: wait;
  opacity: .7;
  transform: none !important;
}
#vote-step2 .vote-stance-btn .vs-icon,
#vote-step2 .vote-stance-btn > b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  margin: 0 0 9px !important;
  border-radius: 50% !important;
  background: var(--stance-color, var(--blue, #075ef2)) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
#vote-step2 .vote-stance-btn .vs-title,
#vote-step2 .vote-stance-btn .vote-stance-title,
#vote-step2 .vote-stance-btn > strong {
  display: block !important;
  margin: 0 !important;
  color: var(--stance-color, var(--blue, #075ef2)) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}
#vote-step2 .vote-stance-btn .vs-desc,
#vote-step2 .vote-stance-btn .vote-stance-desc,
#vote-step2 .vote-stance-btn > span:not(.vs-icon):not(.vs-title):not(.vote-stance-title),
#vote-step2 .vote-stance-btn > small {
  display: block !important;
  margin: 5px 0 0 !important;
  color: var(--muted, #637089) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}
#vote-step2 .vote-stance-btn::after {
  content: "選ぶ" !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  margin: auto 0 0 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: var(--stance-color, var(--blue, #075ef2)) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Article provenance and methodology */
.article-trust {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line, #e4eaf3);
  border-radius: 16px;
  background: var(--panel, #fff);
  box-shadow: 0 5px 18px rgba(18, 53, 99, .07);
  color: var(--ink, #071a3d);
}
/* 本文直下へ置く場合も、通常のパネルと同じ読みやすい幅にそろえる。 */
main > .article-trust {
  width: min(1180px, 100%);
  margin: 14px auto 0;
}
.article-trust-heading {
  margin-bottom: 18px;
}
.article-trust-heading h2 {
  margin: 2px 0 0 !important;
  font-size: 20px !important;
  line-height: 1.35;
}
.article-trust-kicker {
  margin: 0;
  color: var(--blue, #075ef2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.article-trust-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}
.article-trust-meta > div {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--soft, #f5f8fc);
}
.article-trust-meta dt {
  margin: 0 0 3px;
  color: var(--muted, #637089);
  font-size: 11px;
  font-weight: 800;
}
.article-trust-meta dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.article-trust a {
  color: var(--blue, #075ef2);
  text-underline-offset: 2px;
}
.article-trust-method {
  display: grid;
  grid-template-columns: minmax(120px, .32fr) minmax(0, 1.68fr);
  gap: 8px 16px;
}
.article-trust-method h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.article-trust-method p,
.article-trust-caution,
.article-trust-contact {
  margin: 0;
  color: var(--muted, #637089);
  font-size: 12px;
  line-height: 1.75;
}
/* 「この争点の背景」末尾の一次情報リンク。SNSとAI以外の出典であることを示す */
.background-sources {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #e6ebf3);
}
.background-sources h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink, #071a3d);
}
.background-sources ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted, #637089);
}
.background-sources li {
  margin-bottom: 5px;
}
.background-sources-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted, #637089);
}

/* 「収集・分類で分かったこと」。h3 と同じ2カラムグリッドの右列に入る */
.article-trust-observations {
  margin: 0;
  padding-left: 18px;
  color: var(--muted, #637089);
  font-size: 12px;
  line-height: 1.75;
}
.article-trust-observations li {
  margin-bottom: 5px;
}
.article-trust-observations li:last-child {
  margin-bottom: 0;
}
.article-trust-caution {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--purple, #9358e8);
  border-radius: 0 9px 9px 0;
  background: #f7f3ff;
  color: var(--ink, #071a3d);
}
.article-trust-contact {
  margin-top: 12px;
}

@media (max-width: 1050px) {
  .modern-nav { display: none; }
  .modern-header-button { margin-left: auto; }
  .hero::before { inset: 0 0 0 52% !important; opacity: .72 !important; }
  .axis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 720px) {
  .modern-header-inner { width: calc(100% - 28px); height: 62px; }
  .modern-logo-text { font-size: 16px; }
  .modern-header-button { padding: 0 12px; }
  .hero { width: calc(100% - 24px); min-height: 834px; margin-top: 12px; }
  .hero::before { inset: 48% 0 0 0 !important; mask-image: linear-gradient(180deg, transparent, #000 32%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%); }
  .hero-inner { min-height: 832px; padding: 26px 20px 250px !important; justify-content: flex-start; }
  .hero h1 { font-size: 33px !important; }
  .hero .question-line { font-size: 17px; }
  .thirty-summary li { padding: 21px 68px 19px 19px !important; }
  .thirty-summary .conclusion-count {
    top: 17px;
    right: 14px;
    width: 46px;
    height: 46px;
  }
  .thirty-summary .conclusion-count b { font-size: 16px; }
  .vote-step2-head { flex-direction: column; gap: 10px; }
  #vote-step2 #vote-stance-btns { grid-template-columns: 1fr !important; }
  #vote-step2 .vote-stance-btn { min-height: 142px !important; height: auto !important; }
  .thirty-summary { grid-template-columns: 1fr !important; }
  .thirty-summary li { min-height: auto; }
  main { padding-inline: 12px !important; }
  .stats { grid-template-columns: 1fr 1fr !important; gap: 9px !important; }
  .stat { padding: 14px !important; }
  .stat strong { font-size: 13px !important; }
  .stat:first-child strong { font-size: 22px !important; }
  .panel, .note-panel { padding: 23px 17px !important; }
  .panel-title h2 { font-size: 20px !important; }
  .axis-grid { grid-template-columns: 1fr !important; }
  #stance-map-inner { max-width: 100% !important; }
  .article-trust { padding: 19px 16px; }
  .article-trust-meta { grid-template-columns: 1fr; }
  .article-trust-method { grid-template-columns: 1fr; gap: 3px; }
  .article-trust-method p + h3 { margin-top: 10px; }
}

/* =========================================================
   論点図解の拡大ビューア（全テーマ共通）
   - 各ページのインラインCSSより後に読み込まれるので、ここが最終定義になる
   - ai-copyright / elderly-license-revocation はインラインCSSを持たないため、
     この定義がないとオーバーレイにならず本文中に巨大画像が差し込まれる
   - 21:9の論点図解はモバイルで縮小すると文字が読めないため、
     ピンチズーム（touch-action）と拡大→パン（is-zoom）に対応する
   ========================================================= */
.explainer-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999;
  display: none;
  padding: 12px;
  background: rgba(15, 23, 42, .92);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}
.explainer-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 拡大中はスクロールコンテナへ切り替える。
   flexの中央寄せのままだと、はみ出した左端・上端へスクロールで到達できない。 */
.explainer-modal.open.is-zoom { display: block; }

.explainer-modal img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 24px);
  border-radius: 8px;
  object-fit: contain;
  touch-action: inherit;
}
.explainer-modal.is-zoomable img { cursor: zoom-in; }
.explainer-modal.is-zoom img {
  max-width: none !important;
  max-height: none !important;
  border-radius: 0;
  cursor: zoom-out;
}
.explainer-modal.is-zoom img.is-grabbing { cursor: grabbing; }

/* 拡大中は明るい図解が背面に来るため、半透明白のままだと閉じるボタンが埋もれる */
.explainer-modal-close {
  position: fixed !important;
  top: 14px;
  right: 16px;
  z-index: 2;
  background: rgba(15, 23, 42, .82) !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.explainer-modal-close:hover,
.explainer-modal-close:focus-visible {
  background: rgba(15, 23, 42, .95) !important;
}
.explainer-modal-hint {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .85);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  pointer-events: none;
  transition: opacity .25s ease;
}
.explainer-modal-hint[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .explainer-modal-hint { transition: none; }
}

/* 4スタンス構成テーマ（消費税減税など）の「条件付き賛成」用セグメント。
   論点アリーナの点の色と揃えるため橙を使う。 */
.temp-seg.mid { background: #f59e0b; }
.temp-bar-legend i.mid { background: #f59e0b; }
