/**
 * エントリーフォーム用CSS
 * このファイルはSassのコンパイル後のスタイルが適用されるまでの一時的なものです。
 * 本番では sass/project/_p-entry-form.scss からコンパイルされたスタイルを使用してください。
 */

/* レイアウト */
.l-entry-form {
  margin-top: 80px;
  padding: 40px 0 80px;
  background-color: #ffffff;
  min-height: 60vh;
}

@media screen and (max-width: 767px) {
  .l-entry-form {
    margin-top: 60px;
    padding: 20px 0 60px;
  }
}

/* フォームコンテナ */
.p-entry-form__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー部分 */
.p-entry-form__header {
  text-align: center;
  margin-bottom: 30px;
}

.p-entry-form__title {
  font-size: 28px;
  font-weight: 700;
  color: #191919;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__title {
    font-size: 22px;
  }
}

/* 企業情報表示 */
.p-entry-form__company-info {
  background: linear-gradient(135deg, #6EB950 0%, #5da043 100%);
  color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.p-entry-form__company-label {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.p-entry-form__company-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__company-name {
    font-size: 18px;
  }
}

.p-entry-form__company-title {
  font-size: 14px;
  opacity: 0.9;
}

/* エラーボックス */
.p-entry-form__error-box {
  background-color: #fff3f3;
  border: 1px solid #ffcccc;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.p-entry-form__error-box p {
  color: #cc0000;
  margin-bottom: 15px;
}

/* ステップ表示 */
.p-entry-form__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.p-entry-form__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
}

.p-entry-form__step.active {
  opacity: 1;
}

.p-entry-form__step.active .p-entry-form__step-number {
  background-color: #6EB950;
  color: #ffffff;
}

.p-entry-form__step.done {
  opacity: 0.7;
}

.p-entry-form__step.done .p-entry-form__step-number {
  background-color: #ccc;
  color: #ffffff;
}

.p-entry-form__step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #191919;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 16px;
}

.p-entry-form__step-text {
  font-size: 12px;
  color: #191919;
}

.p-entry-form__step-line {
  width: 60px;
  height: 2px;
  background-color: #e0e0e0;
  margin: 0 10px 20px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__step-line {
    width: 30px;
  }
}

/* フォーム */
.p-entry-form__form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 767px) {
  .p-entry-form__form {
    padding: 20px;
  }
}

.p-entry-form__field {
  margin-bottom: 25px;
}

.p-entry-form__label {
  display: block;
  font-weight: 600;
  color: #191919;
  margin-bottom: 8px;
  font-size: 14px;
}

.p-entry-form__label .required {
  background-color: #e74c3c;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 500;
}

.p-entry-form__label .optional {
  background-color: #95a5a6;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 500;
}

.p-entry-form__input,
.p-entry-form__select,
.p-entry-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.p-entry-form__input:focus,
.p-entry-form__select:focus,
.p-entry-form__textarea:focus {
  outline: none;
  border-color: #6EB950;
}

.p-entry-form__input.error,
.p-entry-form__select.error,
.p-entry-form__textarea.error {
  border-color: #e74c3c;
  background-color: #fff5f5;
}

.p-entry-form__input::placeholder,
.p-entry-form__textarea::placeholder {
  color: #aaa;
}

.p-entry-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-color: #ffffff;
  padding-right: 40px;
  cursor: pointer;
}

.p-entry-form__select.year {
  width: 100px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__select.year {
    width: 80px;
  }
}

.p-entry-form__select.month,
.p-entry-form__select.day {
  width: 80px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__select.month,
  .p-entry-form__select.day {
    width: 65px;
  }
}

.p-entry-form__select.full {
  width: 100%;
}

.p-entry-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.p-entry-form__date-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.p-entry-form__date-group span {
  font-size: 14px;
  color: #191919;
}

.p-entry-form__radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.p-entry-form__radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.p-entry-form__radio input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: #6EB950;
}

.p-entry-form__radio span {
  font-size: 14px;
}

.p-entry-form__error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}

/* プライバシーポリシー */
.p-entry-form__privacy {
  margin: 30px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.p-entry-form__checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.p-entry-form__checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  accent-color: #6EB950;
}

.p-entry-form__checkbox span {
  font-size: 14px;
}

.p-entry-form__checkbox span a {
  color: #6EB950;
  text-decoration: underline;
}

.p-entry-form__checkbox span a:hover {
  text-decoration: none;
}

/* ボタン */
.p-entry-form__buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.p-entry-form__buttons.confirm {
  flex-direction: row;
}

@media screen and (max-width: 767px) {
  .p-entry-form__buttons.confirm {
    flex-direction: column-reverse;
  }
}

.p-entry-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.p-entry-form__btn.submit {
  background: linear-gradient(135deg, #6EB950 0%, #5da043 100%);
  color: #ffffff;
}

.p-entry-form__btn.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(110, 185, 80, 0.4);
}

.p-entry-form__btn.back {
  background-color: #e0e0e0;
  color: #191919;
}

.p-entry-form__btn.back:hover {
  background-color: #d0d0d0;
}

@media screen and (max-width: 767px) {
  .p-entry-form__btn {
    width: 100%;
    padding: 15px 20px;
  }
}

/* 確認画面 */
.p-entry-form__confirm {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 767px) {
  .p-entry-form__confirm {
    padding: 20px;
  }
}

.p-entry-form__confirm-text {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 14px;
}

.p-entry-form__confirm-list {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.p-entry-form__confirm-list dt {
  background-color: #f8f9fa;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.p-entry-form__confirm-list dd {
  padding: 15px 20px;
  font-size: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.p-entry-form__confirm-list dd:last-child {
  border-bottom: none;
}

/* 完了画面 */
.p-entry-form__complete {
  text-align: center;
  background-color: #ffffff;
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 767px) {
  .p-entry-form__complete {
    padding: 40px 20px;
  }
}

.p-entry-form__complete-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background-color: #6EB950;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-entry-form__complete-icon svg {
  width: 40px;
  height: 40px;
  color: #ffffff;
}

.p-entry-form__complete-title {
  font-size: 28px;
  font-weight: 700;
  color: #6EB950;
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__complete-title {
    font-size: 24px;
  }
}

.p-entry-form__complete-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

@media screen and (max-width: 767px) {
  .p-entry-form__complete-text {
    font-size: 14px;
  }
}

.p-entry-form__complete-note {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 企業ページのエントリーボタン */
.p-post__entry-section {
  margin: 40px 0;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .p-post__entry-section {
    margin: 30px 0;
    padding: 0;
  }
}

.p-post__entry-box {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
  border: 2px solid #ffd700;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-post__entry-box {
    padding: 20px 15px;
  }
}

.p-post__entry-text {
  font-size: 16px;
  color: #191919;
  margin-bottom: 20px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .p-post__entry-text {
    font-size: 14px;
  }
}

.p-post__entry-text .sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .p-post__entry-text .sp-only {
    display: inline;
  }
}

.p-post__entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 50px;
  background: linear-gradient(135deg, #6EB950 0%, #5da043 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(110, 185, 80, 0.3);
}

.p-post__entry-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(110, 185, 80, 0.4);
}

@media screen and (max-width: 767px) {
  .p-post__entry-btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
  }
}

.p-post__entry-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-post__entry-btn-icon svg {
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 767px) {
  .p-post__entry-btn-icon svg {
    width: 20px;
    height: 20px;
  }
}
