.campaign-result-empty {
  box-sizing: border-box;
  padding: 1.2em;
  border: 2px dashed #ddd;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  font-weight: 700;
}
.campaign-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.campaign-result-question {
  width: 100%;
}
.campaign-result-card {
  box-sizing: border-box;
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.campaign-result-card-head {
  margin-bottom: 14px;
}
.campaign-result-question-id {
  display: inline-block;
  margin: 0 0 .45em;
  padding: .25em .75em;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: .8em;
  font-weight: 700;
  line-height: 1.4;
}
.campaign-result-card h3 {
  margin: 0 0 .25em;
  font-size: 1.05em;
  line-height: 1.45;
}
.campaign-result-total {
  margin: 0;
  font-size: .9em;
  font-weight: 700;
}
.campaign-result-donut-wrap {
  display: block;
}
.campaign-result-donut {
  position: relative;
  width: min(180px, 72vw);
  height: min(180px, 72vw);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 14px;
  border-radius: 50%;
}
.campaign-result-donut::after {
  content: "";
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: #fff;
}
.campaign-result-donut > span {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}
.campaign-result-donut small {
  font-size: .45em;
}
.campaign-result-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}
.campaign-result-legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 7px;
  align-items: center;
  margin: .42em 0;
  font-size: .92em;
  line-height: 1.35;
}
.campaign-result-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.campaign-result-count {
  font-weight: 700;
  white-space: nowrap;
}
.campaign-result-bars {
  list-style: none;
  padding: 0;
  margin: 0;
}
.campaign-result-bars li + li {
  margin-top: 12px;
}
.campaign-result-bar-head {
  display: flex;
  justify-content: space-between;
  gap: .8em;
  margin-bottom: 5px;
  font-size: .92em;
  font-weight: 700;
  line-height: 1.35;
}
.campaign-result-bar-head span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.campaign-result-bar-head strong {
  flex: 0 0 auto;
  white-space: nowrap;
}
.campaign-result-bar-track {
  overflow: hidden;
  height: 14px;
  border-radius: 999px;
  background: #f0f0f0;
}
.campaign-result-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}
@media screen and (min-width: 761px) {
  .std_flex3 .campaign-result-card {
    padding: 16px;
  }
  .std_flex3 .campaign-result-card h3 {
    font-size: .98em;
  }
  .std_flex3 .campaign-result-donut {
    width: 150px;
    height: 150px;
  }
  .std_flex3 .campaign-result-percent {
    display: none;
  }
}
@media screen and (max-width: 760px) {
  .campaign-result-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .campaign-result-card {
    padding: 16px;
  }
  .campaign-result-donut {
    width: min(170px, 70vw);
    height: min(170px, 70vw);
  }
}

/* 3列内では円グラフをコンパクトに表示 */
.std_flex3 .campaign-result-card--pie {
  min-height: 0;
}
.std_flex3 .campaign-result-donut-wrap {
  display: block;
}
.std_flex3 .campaign-result-legend li {
  font-size: .88em;
}
