body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f9fafc;
  color: #333;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
}
h1 {
  font-size: 2rem;
  color: #0077cc;
  text-align: center;
}
h1 a{
  color: #0077cc;
  text-decoration: none;
}
h1 a:link{
  color: #0077cc;
  text-decoration: none;
}
.intro {
  background: #e8f4fd;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
}
.vote-form {
  text-align: center;
  margin: 1rem 0;
}
.vote-button {
  background-color: #00a36c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  margin-left: 8px;
}
ul {
  list-style: none;
  padding: 0;
}
li {
  background-color: #f0f8ff;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.reaction-button {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.reaction-count {
  font-size: 0.7rem;
  text-align: center;
  color: #555;
}
.history-link {
  font-size: 0.8rem;
  text-decoration: none;
  margin-left: 10px;
}
.message {
  font-weight: bold;
  background: #f0f8ff;
  padding: 1rem;
  border-left: 5px solid #007acc;
  margin-bottom: 1rem;
}
footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #888;
}
@media screen and (max-width: 600px) {
  .container {
    padding: 1rem;
  }
  li {
    font-size: 0.9rem;
  }


}

.chart-icon {
  font-weight: bold;
  color: #007acc;
  background-color: #e0f0ff;
  padding: 2px 6px;
  border-radius: 6px;
  text-decoration: none;
}
.stock-up { color: #28a745; font-weight: bold; }
.stock-down { color: #dc3545; font-weight: bold; }
.stock-same { color: #999; font-weight: bold; }
.actions {
  text-align: center;
  margin-top: 2rem;
}
.actions a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007acc;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.actions a:hover {
  background-color: #005f99;
}
.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  flex-shrink: 1;
}

.share-buttons a {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 6px 4px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-share {
  background: #06C755;
  color: white;
}

.line-share:hover {
  background: #04a74d;
}

.x-share {
  background: black;
  color: white;
}

.x-share:hover {
  background: #333;
}
.taittsuu-share {
  background: #7d4eff;
  color: white;
}

.taittsuu-share:hover {
  background: #5f33cc;
}
.ticker-wrap {
  width: 100%;
  background: #fff3cd;
  overflow: hidden;
  border-bottom: 2px solid #ffa500;
  padding: 6px 0;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
 transform: translateX(0); /* ← これ追加でスタート位置を調整 */
}

.ticker span {
  display: inline-block;
  padding: 0 50px;
  font-weight: bold;
  color: #d35400;
  font-size: 0.95rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}