/* ============================================
   Components — 共通UIコンポーネント（編集不可）
   ============================================ */

/* --- Footer Links --- */
.footer-links {
  text-align: center;
  padding: 1.5em 0;
  font-size: 13px;
}
.footer-links a {
  color: #666;
  text-decoration: underline;
  font-weight: normal;
  margin: 0 0.7em;
}

/* --- Survey Overview（調査概要ページ） --- */
.survey-page__title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 1.5em 0 1em;
}
.survey-overview {
  margin: 0 0 2em;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}
.survey-overview__heading {
  background: #f7f8fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}
.survey-overview__body {
  padding: 12px 16px;
}
.survey-overview__row {
  display: flex;
  gap: 4px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}
.survey-overview__row:last-child {
  border-bottom: none;
}
.survey-overview__label {
  flex-shrink: 0;
  width: 110px;
  font-weight: 600;
  color: #333;
}
.survey-overview__value {
  flex: 1;
}
.survey-overview__note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #333;
}
@media (max-width: 480px) {
  .survey-overview__row {
    flex-direction: column;
    gap: 0;
  }
  .survey-overview__label {
    width: auto;
    font-size: 12px;
  }
}

/* --- Floating Buttons --- */
.floating-ranking-btn {
  display: block;
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  width: min(580px, calc(100vw - 32px));
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.floating-ranking-btn img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.floating-ranking-btn:hover { opacity: 0.92; }
.floating-ranking-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-cta-btn {
  display: block;
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  width: min(580px, calc(100vw - 32px));
  background: transparent;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
}
.floating-cta-btn img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.floating-cta-btn:hover { opacity: 0.92; }
.floating-cta-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

@media (max-width: 650px) {
  .floating-ranking-btn {
    bottom: 6px; left: 8px; right: 8px; width: auto; transform: none;
  }
  .floating-ranking-btn.is-hidden { transform: translateY(20px); }
  .floating-cta-btn {
    bottom: 6px; left: 8px; right: 8px; width: auto; transform: none;
  }
  .floating-cta-btn.is-hidden { transform: translateY(20px); }
}

/* 装飾クラス */
.bold-red { color: #e60033; font-weight: bold; }
.marker-pink { background: linear-gradient(transparent 60%, #ffd0d1 60%); font-weight: bold; }
.bold-blue { color: #0095d9; font-weight: bold; }
.note-annotation { font-size: 13px; color: #888; margin: 0.5em 0; text-align: right; line-height: 1.4; }
.marker { background: linear-gradient(transparent 60%, #ffff00 0%); font-weight: bold; }
