@charset "utf-8";
/* CSS Document */
/* ===== ベース ===== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.7;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}


p {
  margin: 8px 0;
}

.small {
  font-size: 0.9em;
  color: #666;
}

/* ===== アンケート概要 ===== */
.survey-info {
  background: #f7f7f7;
  padding: 16px;
  border-radius: 6px;
  margin: 24px 0;
  font-size: 0.95em;
}

/* ===== グラフ ===== */
.survey-block {
  margin-top: 32px;
}

.survey-title {
  font-weight: bold;
  margin-bottom: 6px;
}

.bar {
  display: flex;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
}

.segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  color: #fff;
  white-space: nowrap;
  transition: width 0.8s ease;
}

.segment.strong { background: #ff9900; }
.segment.weak   { background: #ffad33; }
.segment.neg    { background: #ffc266;}
.segment.none    { background: #ffd699;}

.legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 12px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.legend li {
  display: flex;
  align-items: center;
  font-size: 14px;
}

/* スマホ：2列 */
@media (max-width: 767px) {
  .legend {
    grid-template-columns: repeat(2, 1fr);
  }
}


.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot.strong { background: #ff9900; }
.dot.weak   { background: #ffad33; }
.dot.neg    { background: #ffc266; }
.dot.none    { background: #ffd699; }

/* その他項目 */
.other-list {
  padding-left: 20px;
}

.other-list li {
  margin-bottom: 6px;
}

/* 戻り導線 */
.back-link {
  margin-top: 48px;
}

.back-link a {
  color: #f5a623;
  font-weight: bold;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* ===== SP対応 ===== */
@media (max-width: 600px) {
  .segment {
    font-size: 0.75em;
  }
}
.says .toukou {
    font-size: 90%;
    text-align: right;
    margin-top: 5px;
}
