/* =============================================
   registration-form.css - 求人登録フォームページ
   ============================================= */

/* =============================================
   main：背景・レイアウト
   ============================================= */

.registration-form main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  padding: 118px 0 150px;
  background: url('../img/orange-bg.jpg') center top / cover;
}

/* =============================================
   ページタイトル
   ============================================= */

.registration-form .lower-page-title {
  display: flex;
  padding: 100px 0 70px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.registration-form .lower-page-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -8px;
}

.registration-form .lower-page-title-container img {
  width: 100px;
  height: 100px;
}

.registration-form .lower-page-subtitle {
  color: #9e6a41;
  text-align: center;
  font-family: "Baloo Tamma 2", sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin: 0;
}

.registration-form .lower-page-heading {
  color: #6f380b;
  text-align: center;
  font-family: "Potta One", sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.3;
  margin: 0;
}

/* =============================================
   セクション・レイアウト
   ============================================= */

.registration-form .lower-page-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.registration-form .lower-page-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1040px;
  gap: 60px;
}

/* =============================================
   ホワイトコンテナ
   ============================================= */

.registration-form .white-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 60px 40px;
  border-radius: 30px;
  background: #fff;
}

.registration-form .white-container-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 800px;
  gap: 60px;
}

/* =============================================
   セクションタイトル
   ============================================= */

.registration-form .container-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.registration-form .container-title img {
  width: 50px;
  height: 80px;
  aspect-ratio: 5/8;
}

.registration-form .container-title-textbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.registration-form .container-title-text {
  color: #754620;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}

.registration-form .container-title-underline {
  display: inline-block;
  height: 3px;
  align-self: stretch;
  border-radius: 2px;
  background: #754620;
  margin-top: -2px;
}

/* =============================================
   コンテンツブロック
   ============================================= */

.registration-form .inner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 800px;
  gap: 30px;
}

.registration-form .description-separator {
  width: 800px;
  height: 2px;
  border-radius: 10px;
  background: #b4987e;
}

.registration-form .description-title {
  color: #574b38;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}

/* =============================================
   登録フォームセクション固有
   ============================================= */

.jr-form-section__desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 756px;
}

.jr-form-section__desc p {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 28px;
  margin: 0;
}

.jr-form-section__note {
  color: #5c4635;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  line-height: 30px;
  width: 800px;
  margin: 0;
}

.jr-form-section__note strong {
  font-weight: 500;
}

.jr-form-section__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* =============================================
   ボタン
   ============================================= */

.jr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  border-radius: 40px;
  transition: opacity 0.2s;
  text-align: center;
}

.jr-btn:hover {
  opacity: 0.8;
}

.jr-btn--primary {
  background: #6f380b;
  color: #fff;
  font-size: 20px;
  padding: 20px 60px;
  border: 4px solid #fff;
  box-shadow: 0 4px 4px rgba(111, 56, 11, 0.25);
}

.jr-btn--outline {
  background: #fff;
  color: #6f380b;
  font-size: 18px;
  padding: 14px 52px;
  border: 1px solid #6f380b;
  line-height: 1.4;
}

/* =============================================
   チェックリスト
   ============================================= */

.registration-form .treatment-point-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: flex-start;
}

.registration-form .treatment-point-item {
  position: relative;
  padding-left: 26px;
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 22px;
}

.registration-form .treatment-point-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: url('../img/treatment-check.svg') center / contain no-repeat;
}

/* =============================================
   連絡先ボックス
   ============================================= */

.contact-box {
  border: 1px solid #6f380b;
  border-radius: 10px;
  overflow: hidden;
  width: auto;
}

.contact-box__header {
  background: #6f380b;
  color: #fff;
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 800;
  padding: 6px 0;
  line-height: 1.5;
}

.contact-box__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 24px;
  text-align: center;
}

.contact-box__org {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
  margin: 0;
}

.contact-box__address {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 24px;
  margin: 0;
}

.contact-box__tel {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  margin: 0;
}

.contact-box__hours {
  color: #6f380b;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0;
}

/* =============================================
   Responsive：タブレット (max-width: 1100px)
   ============================================= */

@media (max-width: 1100px) {
  .registration-form .lower-page-inner {
    width: calc(100% - 48px);
  }

  .jr-form-section__desc {
    width: 100%;
  }

  .jr-form-section__note {
    width: 100%;
  }

  .registration-form .white-container-area,
  .registration-form .inner-container,
  .registration-form .description-separator {
    width: 100%;
  }

  .contact-box {
    width: 100%;
    max-width: 418px;
  }
}

/* =============================================
   Responsive：SP (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {
  .registration-form main {
    padding: 70px 0 80px;
  }

  .registration-form .lower-page-title {
    padding: 48px 0 36px;
  }

  .registration-form .lower-page-title-container img {
    width: 68px;
    height: 68px;
  }

  .registration-form .lower-page-subtitle {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.6px;
  }

  .registration-form .lower-page-heading {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .registration-form .lower-page-inner {
    width: calc(100% - 32px);
  }

  .registration-form .white-container {
    padding: 32px 20px 40px;
    border-radius: 20px;
  }

  .registration-form .white-container-area {
    gap: 36px;
  }

  .registration-form .container-title {
    flex-direction: column;
  }

  .registration-form .container-title img {
    width: 40px;
    height: auto;
  }

  .registration-form .container-title-text {
    font-size: 22px;
    white-space: normal;
  }

  .registration-form .description-title {
    font-size: 20px;
  }

  .jr-form-section__desc p {
    font-size: 15px;
    line-height: 26px;
  }

  .jr-form-section__note {
    font-size: 14px;
    line-height: 26px;
  }

  .jr-btn--primary {
    font-size: 17px;
    padding: 16px 40px;
  }

  .jr-btn--outline {
    font-size: 16px;
    padding: 12px 40px;
  }

  .registration-form .treatment-point-item {
    font-size: 15px;
  }

  .contact-box {
    width: 100%;
    max-width: 100%;
  }

  .contact-box__tel {
    font-size: 20px;
  }

  .contact-box__hours {
    font-size: 15px;
  }
}

/* =============================================
   フォーム追加スタイル（日付セレクト等）
   ============================================= */

.c-form-select {
  padding: 10px 14px;
  border: 2px solid #9b7559;
  border-radius: 6px;
  background: #fff;
  color: #2a2a2a;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  outline: none;
  cursor: pointer;
}

.c-form-select:focus {
  border-color: #6f380b;
  box-shadow: 0 0 0 3px rgba(111, 56, 11, 0.18);
}

.c-form-date-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
  color: #4a3728;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
}

/* チェックボックス横のサブ入力欄 */
.c-form-input--note {
  width: 12em;
  margin-left: 6px;
}

#reserve-job-hope-later-note {
  width: 8em;
}

#reserve-work-parttime-note {
  width: 14em;
}

/* 卒業見込み入力欄 */
#reserve-grad-date {
  width: 14em;
}

/* 郵便番号・電話番号のボックス幅をコンテンツ幅に */
#reserve-postcode {
  width: 12em;
}

#reserve-tel {
  width: 16em;
}

/* 現住所フィールドの点線を非表示 */
.registration-form .c-form-subfield + .c-form-subfield {
  border-top: none;
  padding-top: 0;
  margin-top: 12px;
}
