.copy_block {
  background: #e3f2fd;
  padding: 20px;
  margin: 20px 0;
  border: 2px solid #2196F3;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.copy_trigger {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 12px 24px;
  margin: 10px 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.copy_trigger:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.copy_trigger:active {
  transform: translateY(0);
}


/* コピー完了バルーン */
.copy-balloon {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
  white-space: nowrap;
}

.copy-balloon.show {
  opacity: 1;
  animation: balloonPop 0.3s ease-out;
}

@keyframes balloonPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.code-block {
  background: #f4f4f4;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #666;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
}

.example-section {
  margin: 30px 0;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
}

.notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}