@charset "UTF-8";
/* ==============================
   forms.css
   エントリー・カジュアル面談・お問い合わせ 共通スタイル
   global.css / layout.css を前提とする
   ============================== */

/* ==============================
   ページヘッダー
   ============================== */
.form-page__header {
  background-color: #fff;
  padding: 52px 60px 44px;
  text-align: center;
  border-bottom: 1px solid #eef2f8;
}

.form-page__header-inner {
  max-width: 760px;
  margin: 0 auto;
}

.form-page__title {
  font-size: 48px;
  font-weight: 700;
  color: #003d70;
  margin-bottom: 12px;
}

.form-page__title-line {
  width: 80px;
  height: 3px;
  background-color: #003d70;
  margin: 0 auto 14px;
}

.form-page__subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #5a82a0;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.form-page__description {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;

  font-size: 16px;
  color: #003d70;
  line-height: 1.9;
  font-weight: 600;
  text-align: left;
}

.form-page__description--center {
  text-align: center;
}

.form-page__server-error {
  display: none;
  max-width: 760px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1px solid #f5c2bc;
  border-radius: 4px;
  background-color: #fef0ee;
  color: #8a2b21;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}

.form-page__server-error.is-visible {
  display: block;
}

/* ==============================
   フォームラッパー
   ============================== */
.form-page__body {
  background-color: #fff;
  padding: 56px 60px;
}

.form-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ==============================
   フォームセクション
   ============================== */
.form-section {
  margin-bottom: 48px;
}

.form-section__heading {
  font-size: 20px;
  font-weight: 700;
  color: #003d70;
  padding-bottom: 12px;
  border-bottom: 2px solid #003d70;
  margin-bottom: 28px;
}

/* ==============================
   フォームグループ（各フィールド）
   ============================== */
.form-group {
  margin-bottom: 24px;
}

.form-group__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #003d70;
  margin-bottom: 8px;
}

.form-group__required {
  font-size: 11px;
  font-weight: 700;
  color: #c0392b;
  background-color: #fef0ee;
  border: 1px solid #f5c2bc;
  border-radius: 3px;
  padding: 1px 6px;
  flex-shrink: 0;
}

.form-group__optional {
  font-size: 11px;
  font-weight: 600;
  color: #7a99b5;
  background-color: #f0f4f8;
  border: 1px solid #cdd9e5;
  border-radius: 3px;
  padding: 1px 6px;
  flex-shrink: 0;
}

/* ==============================
   入力コントロール共通
   ============================== */
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  color: #003d70;
  background-color: #fff;
  border: 1.5px solid #d9e1ea;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
  flex: 1;
}

.form-control:focus {
  border-color: #003d70;
  box-shadow: 0 0 0 3px rgba(0, 61, 112, 0.1);
}

.form-control::placeholder {
  color: #aabbc8;
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23003d70' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

/* ==============================
   横並び入力グループ
   ============================== */
/* 生年月日 */
.form-group--birth {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.form-group--birth .form-control {
  flex: 0 0 auto;
}

.form-group--birth .form-control--year {
  width: 100px;
}

.form-group--birth .form-control--month,
.form-group--birth .form-control--day {
  width: 80px;
}

.form-group__unit {
  font-size: 16px;
  color: #003d70;
  font-weight: 600;
}

/* ==============================
   チェックボックス・ラジオボタン
   ============================== */
.form-checkbox-group,
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #003d70;
  font-weight: 600;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"],
.form-radio input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: #003d70;
  cursor: pointer;
  flex-shrink: 0;
}

/* 個人情報同意 */
.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: #003d70;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.6;
}

.form-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #003d70;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-agreement__link {
  color: #003d70;
  text-decoration: underline;
}

.form-note {
  font-size: 12px;
  color: #7a99b5;
  font-weight: 600;
}

/* ==============================
   エラーメッセージ
   ============================== */
.form-error {
  font-size: 12px;
  color: #c0392b;
  font-weight: 700;
  margin-top: 6px;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-control.is-error {
  border-color: #c0392b;
}

/* ==============================
   仕切り線
   ============================== */
.form-divider {
  border: none;
  border-top: 1px solid #e8eef5;
  margin: 32px 0;
}

/* ==============================
   送信・確認ボタン
   ============================== */
.form-actions {
  margin-top: 36px;
  text-align: center;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  padding: 0 40px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  background-color: #003d70;
  color: #fff;
  transition:
    background-color 0.2s,
    color 0.2s;
  font-family: inherit;
}

.form-submit:not(:disabled):hover {
  background-color: #fff;
  color: #003d70;
  outline: 2px solid #003d70;
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==============================
   補助案内セクション
   ============================== */
.form-support {
  background-color: #f7f9fc;
  padding: 52px 60px;
  text-align: center;
  border-top: 1px solid #eef2f8;
}

.form-support__button {
  min-width: 240px;
  height: 52px;
  padding: 0 40px;
  font-size: 15px;
  font-weight: 700;
}

.form-support__inner {
  max-width: 600px;
  margin: 0 auto;
}

.form-support__heading {
  font-size: 20px;
  font-weight: 700;
  color: #003d70;
  margin-bottom: 12px;
}

.form-support__text {
  font-size: 16px;
  color: #003d70;
  line-height: 1.7;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-support__notes {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  text-align: left;
  display: inline-block;
}

.form-support__notes li {
  font-size: 13px;
  color: #003d70;
  font-weight: 600;
  line-height: 1.7;
  padding-left: 1.2em;
  position: relative;
}

.form-support__notes li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ==============================
   カジュアル面談：特徴3列
   ============================== */
.casual-features {
  background-color: #f7f9fc;
  padding: 80px 60px;
  border-bottom: 1px solid #eef2f8;
}

.casual-features__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.casual-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px 32px;
  position: relative;
}

.casual-feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  width: 1px;
  height: 60%;
  background-color: #dfe5ec;
}

.casual-feature__icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003d70;
  margin-bottom: 20px;
}

.casual-feature__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.casual-feature > div:last-child {
  width: 100%;
}

.casual-feature__title {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #003d70;
}

.casual-feature__text {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: #003d70;
  text-align: left;
}

/* ==============================
   日程入力グループ
   ============================== */
.form-schedule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.form-schedule-row__label {
  font-size: 13px;
  font-weight: 700;
  color: #003d70;
  flex-shrink: 0;
  width: 64px;
}

.form-schedule-row .form-control--date {
  flex: 1;
  min-width: 140px;
}

.form-schedule-row .form-control--time {
  width: 160px;
}

.form-schedule-item {
  margin-bottom: 16px;
}

.form-schedule-item .form-schedule-row {
  margin-bottom: 0;
}

/* ==============================
   Responsive - Tablet (1200px)
   ============================== */
@media (max-width: 1200px) {
  .form-page__header {
    padding: 44px 40px 36px;
  }

  .form-page__title {
    font-size: 40px;
  }

  .form-page__body {
    padding: 48px 40px;
  }

  .form-support {
    padding: 44px 40px;
  }

  .casual-features {
    padding: 60px 40px;
  }

  .casual-feature {
    padding: 28px 20px 32px;
  }

  .casual-feature__icon {
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
  }

  .casual-feature__title {
    font-size: 19px;
  }

  .casual-feature__text {
    font-size: 16px;
  }

  .form-section__heading {
    font-size: 19px;
  }
}

/* ==============================
   Responsive - Mobile (900px)
   ============================== */
@media (max-width: 900px) {
  .form-page__header {
    padding: 36px 30px 28px;
  }

  .form-page__title {
    font-size: 36px;
  }

  .form-page__body {
    padding: 40px 30px;
  }

  .form-support {
    padding: 40px 30px;
  }

  .casual-features {
    padding: 60px 30px;
  }

  .casual-features__inner {
    grid-template-columns: 1fr;
  }

  .casual-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
    gap: 0;
  }

  .casual-feature:not(:last-child)::after {
    display: none;
  }

  .casual-feature:not(:last-child) {
    border-bottom: 1px solid #dfe5ec;
  }

  .casual-feature__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .casual-feature__title {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .casual-feature__text {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* ==============================
   Responsive - Small Mobile (640px)
   ============================== */
@media (max-width: 640px) {
  .form-page__header {
    padding: 28px 16px 24px;
  }

  .form-page__title {
    font-size: 28px;
  }

  .form-page__body {
    padding: 32px 16px;
  }

  .form-group__label {
    font-size: 15px;
  }

  .form-group--birth {
    flex-wrap: wrap;
  }

  .form-group--birth .form-control--year {
    width: 90px;
  }

  .form-group--birth .form-control--month,
  .form-group--birth .form-control--day {
    width: 70px;
  }

  .form-support {
    padding: 36px 16px;
  }

  .form-support__button {
    width: 100%;
    min-width: 0;
  }

  .form-support__text {
    font-size: 15px;
  }

  .form-submit {
    width: 100%;
    min-width: unset;
  }

  .casual-features {
    padding: 40px 16px;
  }

  .casual-feature {
    padding: 28px 0;
  }

  .casual-feature__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
  }

  .casual-feature__title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .casual-feature__text {
    font-size: 15px;
    line-height: 1.8;
  }

  .form-schedule-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-schedule-row__label {
    width: auto;
  }

  .form-schedule-row .form-control--date,
  .form-schedule-row .form-control--time {
    width: 100%;
    min-width: unset;
  }

  .form-control {
    font-size: 16px;
  }

  .form-page__description {
    font-size: 16px;
  }

  .form-section__heading {
    font-size: 20px;
  }
}

/* ==============================
   確認画面共通スタイル
   お問い合わせ・カジュアル面談・エントリー
   ============================== */
.confirm-intro {
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
  color: #003d70;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #e8eef5;
}

.confirm-table__row {
  border-bottom: 1px solid #e8eef5;
}

.confirm-table__label,
.confirm-table__value {
  padding: 18px 20px;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.confirm-table__label {
  width: 180px;
  color: #003d70;
  background-color: #f4f7fb;
  font-weight: 700;
  white-space: nowrap;
}

.confirm-table__value {
  color: #003d70;
  font-weight: 600;
  white-space: normal;
}

/* お問い合わせ内容だけ改行を保持 */
.confirm-table__value--multiline {
  white-space: pre-wrap;
}

.confirm-table__empty {
  color: #7a99b5;
  font-weight: 600;
}
.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.confirm-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  height: 52px;
  padding: 0 36px;
  border: 2px solid #003d70;
  border-radius: 4px;
  background-color: #fff;
  color: #003d70;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.confirm-back:hover {
  background-color: #003d70;
  color: #fff;
}

.confirm-actions .form-submit {
  width: auto;
  min-width: 240px;
}

.confirm-error {
  display: none;
  padding: 24px;
  border: 1px solid #f5c2bc;
  border-radius: 4px;
  background-color: #fef0ee;
  color: #8a2b21;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
  margin-top: 24px;
}

.confirm-error.is-visible {
  display: block;
}

.confirm-error__link {
  display: inline-block;
  margin-top: 14px;
  color: #003d70;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .confirm-table,
  .confirm-table tbody,
  .confirm-table tr,
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  .confirm-table__row {
    border-bottom: none;
  }

  .confirm-table__label {
    font-size: 14px;
    padding: 12px 14px 8px;
    border-top: 1px solid #e8eef5;
    white-space: normal;
  }

  .confirm-table__value {
    font-size: 14px;
    padding: 8px 14px 16px;
    border-bottom: 1px solid #e8eef5;
  }

  .confirm-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .confirm-back,
  .confirm-actions .form-submit {
    width: 100%;
    min-width: 0;
  }

  .confirm-intro {
    font-size: 15px;
  }
}

/* ==============================
   お問い合わせ完了画面
   ============================== */
.complete-page {
  min-height: 460px;
  display: flex;
  align-items: center;
}

.complete-page .form-page__inner {
  width: 100%;
}

.complete-card {
  width: 100%;
  padding: 56px 48px;
  border: 1px solid #e3ebf3;
  border-radius: 6px;
  background-color: #f7f9fc;
  text-align: center;
}

.complete-card__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  color: #003d70;
}

.complete-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.complete-card__heading {
  margin-bottom: 20px;
  color: #003d70;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}

.complete-card__text {
  margin-bottom: 16px;
  color: #003d70;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.complete-card__note {
  color: #668aa8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.complete-card__actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.complete-card__button {
  min-width: 240px;
  min-height: 52px;
  font-size: 15px;
}

/* ==============================
   Responsive - Mobile
   ============================== */
@media (max-width: 900px) {
  .complete-page {
    min-height: 400px;
  }

  .complete-card {
    padding: 48px 32px;
  }

  .complete-card__heading {
    font-size: 24px;
  }

  .complete-card__text {
    font-size: 16px;
  }
}

/* ==============================
   Responsive - Small Mobile
   ============================== */
@media (max-width: 640px) {
  .complete-page {
    min-height: 360px;
  }

  .complete-card {
    padding: 40px 20px;
  }

  .complete-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .complete-card__heading {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .complete-card__text {
    font-size: 15px;
    line-height: 1.8;
  }

  .complete-card__note {
    font-size: 12px;
  }

  .complete-card__actions {
    margin-top: 28px;
  }

  .complete-card__button {
    width: 100%;
    min-width: 0;
  }
}
