/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本スタイル */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333333;
  background-color: #ffffff;
}

/* タイポグラフィ */
h1 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  color: #000000;
}

h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #333333;
}

p {
  margin-bottom: 16px;
}

/* 数字用フォント */
.number {
  font-family: 'Roboto Mono', monospace;
}

/* レイアウト */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.section {
  margin-bottom: 40px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FF3366;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e62e5c;
}

.btn-secondary {
  background-color: #333333;
}

.btn-secondary:hover {
  background-color: #444444;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #333333;
  color: #333333;
}

.btn-outline:hover {
  background-color: #f5f5f5;
}

/* フォーム */
.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #FF3366;
}

/* ヘッダー */
header {
  padding: 20px 0;
  border-bottom: 1px solid #CCCCCC;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #FF3366;
  text-decoration: none;
}

/* ステップ表示 */
.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #CCCCCC;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: #CCCCCC;
  border-radius: 50%;
  margin-bottom: 8px;
  font-weight: 500;
  color: white;
}

.step.active .step-number {
  background-color: #FF3366;
}

.step-line {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #CCCCCC;
  top: -16px;
  z-index: -1;
}

.step:last-child .step-line {
  display: none;
}

.step.active .step-line, .step.completed .step-line {
  background-color: #FF3366;
}

.step-label {
  font-size: 12px;
  color: #666666;
}

.step.active .step-label {
  color: #333333;
  font-weight: 500;
}

/* 求人カード */
.job-carousel {
  overflow: hidden;
  margin: 20px 0 40px;
  position: relative;
}

.job-cards {
  display: flex;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.job-card {
  flex: 0 0 300px;
  margin-right: 20px;
  padding: 20px;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  background-color: white;
}

.job-card-logo {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.job-card-title {
  font-weight: 500;
  margin-bottom: 8px;
}

.job-card-company {
  color: #666666;
  margin-bottom: 12px;
}

.job-card-salary {
  font-weight: 500;
  color: #FF3366;
  margin-bottom: 8px;
}

.job-card-location {
  color: #666666;
  font-size: 12px;
}

/* アバター選択 */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.avatar-option {
  position: relative;
  cursor: pointer;
}

.avatar-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.avatar-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.avatar-option input[type="radio"]:checked + .avatar-img {
  border-color: #FF3366;
}

/* 経歴入力 */
.experience-item {
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.experience-actions {
  display: flex;
  gap: 8px;
}

.experience-action {
  background: none;
  border: none;
  color: #666666;
  cursor: pointer;
}

.experience-action:hover {
  color: #333333;
}

.add-experience {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FF3366;
  background: none;
  border: 1px dashed #CCCCCC;
  padding: 12px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-experience:hover {
  background-color: #f5f5f5;
}

/* インポートオプション */
.import-options {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.import-option {
  flex: 1;
  padding: 16px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}

.import-option:hover {
  border-color: #FF3366;
  background-color: #f5f5f5;
}

.import-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: #666666;
}

.import-label {
  font-size: 12px;
  color: #333333;
}

/* ナビゲーションボタン */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .container {
    padding: 40px 16px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    overflow-x: auto;
    padding-bottom: 16px;
  }
  
  .job-card {
    flex: 0 0 280px;
  }
  
  .avatar-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .import-options {
    flex-direction: column;
  }
}
