/* レジュメノー 共通スタイル */
:root {
  --brand-color: #fcc64d;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --mid-gray: #e0e0e0;
  --dark-gray: #777777;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --font-family: 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--mid-gray);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
  margin-left: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--brand-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
}

.progress-container {
  width: 100%;
  max-width: 500px;
  margin: 30px auto;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  background-color: var(--mid-gray);
  z-index: 0;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 4px;
  background-color: var(--brand-color);
  z-index: 1;
  transition: width 0.3s ease;
}

.step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.step.active {
  border-color: var(--brand-color);
  background-color: var(--brand-color);
  color: var(--white);
}

.step.completed {
  border-color: var(--brand-color);
  background-color: var(--brand-color);
  color: var(--white);
}

.step-label {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  white-space: nowrap;
  color: var(--dark-gray);
}

.step.active .step-label {
  color: var(--text-color);
  font-weight: bold;
}

.main-content {
  padding: 30px 0;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

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

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--mid-gray);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-color);
  box-shadow: 0 0 0 2px rgba(252, 198, 77, 0.2);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--brand-color);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn:hover {
  background-color: #ecb73b;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--brand-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background-color: var(--brand-color);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: var(--mid-gray);
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.job-carousel {
  padding: 20px 0;
  margin: 20px 0;
  overflow: hidden;
  position: relative;
}

.job-carousel-container {
  display: flex;
  animation: scroll 40s linear infinite;
}

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

.job-card {
  flex: 0 0 300px;
  margin-right: 20px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background-color: var(--white);
}

.job-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.company-logo {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 10px;
}

.job-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.company-name {
  font-size: 14px;
  color: var(--dark-gray);
}

.job-details {
  font-size: 14px;
}

.job-salary {
  font-weight: 500;
  color: #28a745;
}

.job-location {
  color: var(--dark-gray);
}

.avatar-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.avatar-option {
  width: 120px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s;
}

.avatar-option:hover {
  background-color: var(--light-gray);
}

.avatar-option.selected {
  background-color: rgba(252, 198, 77, 0.2);
  border: 2px solid var(--brand-color);
}

.avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 8px;
  object-fit: cover;
}

.avatar-name {
  font-size: 14px;
  font-weight: 500;
}

.education-experience-container {
  margin-top: 20px;
}

.add-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  border: 2px dashed var(--mid-gray);
  border-radius: 6px;
  padding: 15px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 15px;
}

.add-button:hover {
  background-color: rgba(252, 198, 77, 0.1);
  border-color: var(--brand-color);
}

.add-button-text {
  margin-left: 8px;
}

.entry-card {
  padding: 15px;
  border: 1px solid var(--mid-gray);
  border-radius: 6px;
  margin-bottom: 15px;
  position: relative;
}

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

.entry-title {
  font-weight: 500;
}

.entry-subtitle {
  color: var(--dark-gray);
  font-size: 14px;
}

.entry-date {
  color: var(--dark-gray);
  font-size: 14px;
}

.remove-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--light-gray);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.remove-button:hover {
  background-color: #ffdddd;
}

.import-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 90%;
  max-width: 500px;
}

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

.modal-title {
  font-size: 20px;
  font-weight: bold;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark-gray);
}

.file-upload {
  border: 2px dashed var(--mid-gray);
  padding: 30px;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.file-upload:hover {
  border-color: var(--brand-color);
  background-color: rgba(252, 198, 77, 0.05);
}

.file-upload-text {
  margin-bottom: 15px;
}

.file-input {
  display: none;
}

