/* フォント読み込み（Google Fonts） */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Noto+Sans+JP:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

body {
    margin: 0;
    padding: 40px 0;
    background-color: #f9f9fb;
    color: #333;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
  }
  
  

.container {
  width: 90%;
  max-width: 600px;
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.language-switch button {
    background-color: #e0e7ff;
    color: #1e1e2f;
    border: none;
    padding: 8px 12px;
    margin-left: 6px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .language-switch button:hover {
    background-color: #c7d2fe;
  }
  

label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

textarea, input[type="text"], input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

.generate-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.generate-fields input {
  flex: 1 1 40%;
}

button {
  padding: 10px 20px;
  border: none;
  background-color: #4f46e5;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #3730a3;
}

button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

.divider {
  text-align: center;
  color: #999;
  margin: 20px 0;
}

.download {
  text-align: center;
  margin-top: 20px;
}

.description {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f3f4f6;
    border-radius: 12px;
    font-size: 14px;
  }

  .container, .description, footer {
    width: 90%;
    max-width: 600px;
  }
  
  .auto-fill {
    margin-bottom: 30px;
  }
  
  .auto-fill textarea, .auto-fill input {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
  }
  
  #auto-fill-button {
    padding: 10px 20px;
    border: none;
    background-color: #4f46e5;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  #auto-fill-button:hover {
    background-color: #3730a3;
  }
  
  