.content {
  padding: 30px;
  background-color: #fafafa;
  min-height: calc(100vh - 200px);
}

/* 指標説明セクション */
.indicator-explanation {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.indicator-title {
  color: #2c3e50;
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 3px solid #0284c7;
  padding-bottom: 10px;
}

.explanation-summary {
  background: #f0f9ff;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #0284c7;
  margin-bottom: 0;
}

.explanation-summary p {
  color: #334155;
  font-size: 1.05em;
  line-height: 1.75;
  margin: 0;
}

/* チャートセクション */
.chart-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chart-container {
  width: 100%;
  height: 640px;
}

.speed-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #333;
}

.speed-control label {
  font-weight: 600;
  white-space: nowrap;
}

.speed-control select {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.speed-control select:focus {
  outline: none;
  border-color: #0284c7;
}

.playback-btn {
  padding: 5px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.play-btn {
  background: #0284c7;
  color: white;
  border-color: #0284c7;
}

.play-btn:hover:not(:disabled) {
  background: #0369a1;
  border-color: #0369a1;
}

.stop-btn {
  background: white;
  color: #333;
}

.stop-btn:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #ef4444;
  color: #ef4444;
}

.playback-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.loading-message {
  text-align: center;
  padding: 60px 0;
  color: #666;
  font-size: 1.1em;
}

/* データ活用ガイド */
.usage-guide {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.usage-guide h2 {
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 3px solid #0284c7;
  padding-bottom: 10px;
}

.explanation-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.detail-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  transform: translateY(-2px);
}

.detail-item h3 {
  color: #2c3e50;
  font-size: 1.1em;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.detail-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.notation {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  margin-top: 20px;
}

.notation p {
  color: #666;
  font-size: 0.9em;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .content {
    padding: 15px;
  }

  .indicator-explanation,
  .chart-section,
  .usage-guide {
    padding: 20px;
    margin-bottom: 20px;
  }

  .indicator-title {
    font-size: 1.4em;
  }

  .explanation-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .chart-container {
    height: 520px;
  }
}

@media screen and (max-width: 480px) {
  .content {
    padding: 10px;
  }

  .indicator-explanation,
  .chart-section,
  .usage-guide {
    padding: 15px;
  }

  .indicator-title {
    font-size: 1.2em;
  }

  .chart-container {
    height: 440px;
  }
}
