/* TOCコンテンツセクションのスタイル */
.tool-content {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  max-width: 1000px;
  padding: 2rem;
  position: relative;
}

.tool-header {
  align-items: center;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.tool-header h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 0;
}

.close-tool-btn {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 1.5rem;
  height: 30px;
  line-height: 30px;
  padding: 0;
  text-align: center;
  transition: color 0.3s ease;
  width: 30px;
}

.close-tool-btn:hover {
  color: #333;
}

.tool-container {
  min-height: 300px;
}

.loading {
  align-items: center;
  color: #666;
  display: flex;
  font-size: 1.2rem;
  height: 200px;
  justify-content: center;
  width: 100%;
}
