@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f0f4f8;
  color: #333;
  margin: 0;
  padding: 40px;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 900px;
  width: 100%;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

p {
  color: #718096;
  margin-bottom: 2rem;
}

.demo-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-area {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.result-area h2 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: #2d3748;
}

.demo-box {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  background-color: #000;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  
  /* 透明度確認のための背景 */
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), 
                    linear-gradient(135deg, #ccc 25%, transparent 25%),
                    linear-gradient(45deg, transparent 75%, #ccc 75%), 
                    linear-gradient(135deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
}

.result-area p {
  font-family: monospace;
  font-size: 1rem;
  color: #4a5568;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.result-area p strong {
  display: inline-block;
  width: 60px;
  color: #2d3748;
}

.control-area {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}
