/* lpm001 専用スタイル。careernaviテーマの共通CSSとは独立しており、依存しない。 */
/* 利用ユーザーの90%以上がスマホのため、モバイルファーストで設計する（デスクトップは末尾のmedia queryで最小限拡張するのみ）。 */

.lpm001 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #222;
  line-height: 1.7;
  font-size: 15px;
  /* 画面下部固定CTAの高さぶん、コンテンツ末尾が隠れないように余白を確保 */
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  -webkit-text-size-adjust: 100%;
}

.lpm001 * {
  box-sizing: border-box;
}

/* デフォルト絵文字は使わず、ブランドカラーの線画SVGアイコンで統一する */
.lpm001-icon {
  width: 20px;
  height: 20px;
}

.lpm001-banner {
  padding: 10px 0 0;
  text-align: center;
  background: linear-gradient(180deg, #eef7f4 0%, #f5f8f7 100%);
}

.lpm001-banner__top {
  margin: 0 0 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lpm001-banner__logo {
  display: block;
  height: 22px;
  width: auto;
  margin: 0;
}

.lpm001-banner__update {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: #e8964f;
  margin: 0;
}

.lpm001-banner__image-wrap {
  line-height: 0; /* 画像下のインライン要素の余白（隙間）を防ぐ */
}

.lpm001-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

.lpm001-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 52px;
  padding: 14px 24px;
  background: #2f8f7a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(47, 143, 122, 0.35);
}

/* 画面下部固定CTA（スマホでスクロール中も常に登録導線を確保） */
.lpm001-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e2e2e2;
  transition: transform 0.2s ease;
}

.lpm001-sticky-cta.is-hidden {
  transform: translateY(100%);
}

.lpm001-cta--sticky {
  max-width: none;
}

.lpm001-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 16px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.lpm001-section__title {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 28px;
  padding-bottom: 14px;
  position: relative;
}

.lpm001-section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #2f8f7a;
  border-radius: 999px;
}

/* こんなお悩みありませんか */
.lpm001-worries__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lpm001-worries__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #f5f8f7;
  border-radius: 10px;
  font-size: 14px;
}

.lpm001-worries__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 999px;
  color: #2f8f7a;
}

.lpm001-worries__text {
  flex: 1;
}

.lpm001-worries__result {
  padding: 20px;
  background: #eef7f4;
  border-radius: 10px;
  text-align: center;
}

.lpm001-worries__result-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 14px;
  background: #2f8f7a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.lpm001-worries__result-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0;
}

/* 選ばれる理由 */
.lpm001-strengths__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.lpm001-strengths__list li {
  padding: 20px;
  background: #f5f8f7;
  border-radius: 8px;
  text-align: center;
}

.lpm001-strengths__num {
  font-size: 19px;
  font-weight: 900;
  color: #2f8f7a;
  margin: 0 0 4px;
}

.lpm001-strengths__desc {
  font-size: 13px;
  color: #555;
  margin: 0;
}

.lpm001-strengths__note {
  font-size: 10px;
  color: #999;
  margin: 4px 0 0;
}

.lpm001-strengths__reason {
  margin: 24px 0 0;
  padding: 20px;
  background: #eef7f4;
  border-radius: 8px;
}

.lpm001-strengths__reason-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  background: #2f8f7a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}

.lpm001-strengths__reason-text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.lpm001-strengths__support {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lpm001-strengths__support li {
  position: relative;
  padding: 10px 12px 10px 32px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.lpm001-strengths__support li::before {
  content: "◎";
  position: absolute;
  left: 8px;
  color: #2f8f7a;
}

.lpm001-strengths__free {
  text-align: center;
  font-size: 15px;
  margin: 16px 0 0;
}

.lpm001-strengths__free strong {
  color: #e0554f;
  font-size: 17px;
}

/* 安心・保証訴求 */
.lpm001-safety__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lpm001-safety__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #fdf9ec;
  border-radius: 10px;
}

.lpm001-safety__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 999px;
  color: #2f8f7a;
}

.lpm001-safety__item-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.lpm001-safety__item-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* 登録の流れ */
.lpm001-flow__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  display: flex;
  flex-direction: column;
}

.lpm001-flow__list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 28px 0;
}

.lpm001-flow__list li:last-child {
  padding-bottom: 0;
}

/* ステップ番号バッジをつなぐ縦のタイムライン線 */
.lpm001-flow__list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: #dcebe7;
}

.lpm001-flow__num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #2f8f7a;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border-radius: 999px;
  z-index: 1;
}

.lpm001-flow__body {
  padding-top: 6px;
}

.lpm001-flow__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.lpm001-flow__desc {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* フォーム */
.lpm001-form {
  background: #f5f8f7;
}

/* 登録フォーム：ステップウィザード（既存entry LPと同じ項目・6ステップ構成を、lpm001独自のCSS/JSで再現） */
.lpm001-wizard {
  background: #fff;
  border-radius: 16px;
  padding: 24px 18px 28px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.lpm001-wizard__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 8px 12px;
  background: #eef7f4;
  color: #2f8f7a;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
}

.lpm001-wizard__progress {
  height: 8px;
  background: #e2e2e2;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.lpm001-wizard__progress-bar {
  height: 100%;
  width: 16.666%;
  background: #2f8f7a;
  transition: width 0.25s ease;
}

.lpm001-wizard__count {
  font-size: 12px;
  color: #888;
  margin: 0 0 20px;
  text-align: right;
}

.lpm001-wizard__step {
  display: none;
}

.lpm001-wizard__step.is-active {
  display: block;
  animation: lpm001-step-in 0.32s ease both;
}

@keyframes lpm001-step-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lpm001-wizard__step.is-active {
    animation: none;
  }
}

.lpm001-wizard__title {
  font-size: 17px;
  font-weight: 900;
  color: #1a1a1a;
  padding-left: 12px;
  border-left: 4px solid #2f8f7a;
  margin: 0 0 6px;
}

.lpm001-wizard__subtitle {
  font-size: 13px;
  color: #666;
  margin: 0 0 16px;
}

.lpm001-wizard__label {
  font-size: 13px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.lpm001-wizard__required {
  color: #e0554f;
}

.lpm001-wizard__error {
  font-size: 12px;
  font-weight: 700;
  color: #e0554f;
  margin: 6px 0 0;
}

.lpm001-wizard input.is-invalid,
.lpm001-wizard select.is-invalid.lpm001-wizard__select {
  border-color: #e0554f;
  background: #fdf2f1;
}

.lpm001-wizard__note {
  font-size: 11px;
  color: #888;
  margin: 6px 0 0;
}

.lpm001-wizard__options {
  display: grid;
  gap: 10px;
}

.lpm001-wizard__options--row {
  grid-template-columns: repeat(2, 1fr);
}

/* MW WP Formが出力する選択肢マークアップ（.mwform-radio-field等）を、lpm001の中だけでカード風にスタイリング */
.lpm001-wizard .mwform-radio-field,
.lpm001-wizard .mwform-checkbox-field {
  display: block;
}

.lpm001-wizard .mwform-radio-field label,
.lpm001-wizard .mwform-checkbox-field label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* 選択されるまでは控えめな見た目にし、質問文（太字＋アクセント枠）との違いを分かりやすくする */
.lpm001-wizard .mwform-radio-field-text,
.lpm001-wizard .mwform-checkbox-field-text {
  font-size: 15px;
  font-weight: 400;
  color: #555;
}

.lpm001-wizard .mwform-radio-field input,
.lpm001-wizard .mwform-checkbox-field input {
  flex: none;
  width: 20px;
  height: 20px;
  accent-color: #2f8f7a;
}

.lpm001-wizard .mwform-radio-field input:checked + .mwform-radio-field-text,
.lpm001-wizard .mwform-checkbox-field input:checked + .mwform-checkbox-field-text {
  font-weight: 700;
  color: #2f8f7a;
}

/* 転職希望時期：選択肢名の右に添える「〇年〇月まで」の目安表示（JSで自動挿入） */
.lpm001-wizard__req-date-hint {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #999;
}

.lpm001-wizard .mwform-radio-field:has(input:checked) label,
.lpm001-wizard .mwform-checkbox-field:has(input:checked) label {
  border-color: #2f8f7a;
  background: #eef7f4;
  box-shadow: 0 2px 8px rgba(47, 143, 122, 0.15);
}

.lpm001-wizard__substep {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e2e2e2;
}

.lpm001-wizard__substep:not([hidden]) {
  animation: lpm001-step-in 0.32s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .lpm001-wizard__substep:not([hidden]) {
    animation: none;
  }
}

.lpm001-wizard input[type="text"],
.lpm001-wizard input[type="tel"],
.lpm001-wizard input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px; /* iOSでズームされないよう16px以上に */
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* 都道府県セレクト：他の入力欄よりタップ領域・文字を大きくし、独自の矢印アイコンを付ける */
.lpm001-wizard__select-wrap {
  position: relative;
}

.lpm001-wizard__select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid #2f8f7a;
  border-bottom: 2.5px solid #2f8f7a;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.lpm001-wizard__select {
  width: 100%;
  min-height: 58px;
  padding: 14px 44px 14px 18px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  appearance: none;
  -webkit-appearance: none;
}

.lpm001-wizard__select:focus {
  border-color: #2f8f7a;
  outline: none;
}

.lpm001-wizard__next,
.lpm001-wizard__prev {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.lpm001-wizard__next {
  background: #2f8f7a;
  color: #fff;
}

.lpm001-wizard__prev {
  background: none;
  color: #888;
  text-decoration: underline;
}

/* 利用規約・プライバシーポリシーへの同意（entry011の内容・配置を踏襲） */
.lpm001-wizard__terms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  background: #f5f8f7;
  border-radius: 10px;
}

.lpm001-wizard__terms-icon {
  flex: none;
  display: flex;
  color: #2f8f7a;
}

.lpm001-wizard__terms-text {
  font-size: 12px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.lpm001-wizard__terms-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #2f8f7a;
  text-decoration: underline;
  cursor: pointer;
}

/* 利用規約モーダル */
.lpm001-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.lpm001-terms-modal[hidden] {
  display: none;
}

.lpm001-terms-modal__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
}

.lpm001-terms-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.lpm001-terms-modal__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.lpm001-terms-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #999;
  padding: 0;
}

.lpm001-terms-modal__body {
  padding: 16px 20px;
  overflow-y: auto;
}

.lpm001-terms__heading {
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 12px;
}

.lpm001-terms__subheading {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 8px;
}

.lpm001-terms__text {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 10px;
}

.lpm001-terms__list {
  margin: 0 0 10px;
  padding-left: 20px;
}

.lpm001-terms__list li {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}

.lpm001-terms-modal__foot {
  padding: 12px 20px;
  border-top: 1px solid #eee;
}

.lpm001-terms-modal__action {
  display: block;
  width: 100%;
  min-height: 44px;
  background: #2f8f7a;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

body.lpm001-modal-open {
  overflow: hidden;
}

.lpm001-wizard input[type="submit"] {
  display: block;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  background: #2f8f7a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
}

/* フッター */
.lpm001-footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #e2e2e2;
}

/* サービス紹介セクション：カテゴリごとのタブ切り替え */
.lpm001-tabs__nav {
  display: flex;
  gap: 4px;
  margin: 0 0 24px;
  border-bottom: 2px solid #eee;
}

.lpm001-tabs__button {
  flex: 1;
  min-height: 44px;
  padding: 8px 2px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  white-space: nowrap;
}

.lpm001-tabs__button.is-active {
  color: #2f8f7a;
  border-bottom-color: #2f8f7a;
}

.lpm001-tabs__panel {
  display: none;
}

.lpm001-tabs__panel.is-active {
  display: block;
}

.lpm001-tabs__panel-title {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 20px;
}

/* タブレット以上は最小限の拡張のみ（主要ターゲットはスマホのため大きく作り込まない） */
@media (min-width: 768px) {
  .lpm001-banner {
    padding: 32px 20px 40px;
  }

  /* モバイルでは画面幅いっぱいの前提の画像・ロゴ行を、PCでは他セクションと同じ640px幅に収めて
     引き伸ばし・サイズ感のちぐはぐさを防ぐ（画像自体の解像度は750pxのため、それ以上の拡大も避ける） */
  .lpm001-banner__top,
  .lpm001-banner__image-wrap {
    max-width: 640px;
    margin: 0 auto;
  }

  .lpm001-banner__top {
    margin-bottom: 16px; /* ロゴ・日付行と画像の間の余白を少し広げる */
  }

  .lpm001-banner__image {
    border-radius: 12px;
  }

  .lpm001-cta {
    width: auto;
  }

  .lpm001-sticky-cta {
    display: none; /* PCでは常時CTAが視界に入りやすいため固定バーは非表示 */
  }

  .lpm001 {
    padding-bottom: 0;
  }

  /* 以下、配置・余白のみの微調整（スマホ向けの構成自体は変えない） */
  .lpm001-section {
    padding: 56px 24px;
  }

  .lpm001-wizard {
    padding: 32px 28px 36px;
  }

  .lpm001-tabs__nav {
    gap: 8px;
    margin-bottom: 32px;
  }

  .lpm001-tabs__button {
    font-size: 14px;
    padding: 12px 8px;
  }

  .lpm001-footer {
    padding: 32px 20px;
  }
}

.lpm001-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.lpm001-footer a {
  color: #666;
}

/* 連絡先画面（step6）の安心材料・送信ボタン下の一言（2026-10-06、lpm001のJSで挿入。lpm002には挿入されない）。
   見た目はlpm002の最初の画面の安心材料（白いピル型＋チェックマーク）に合わせる */
.lpm001-contact-reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin: 10px 0 16px;
  padding: 8px 10px;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lpm001-contact-reassure li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
  white-space: nowrap;
}

.lpm001-contact-reassure li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 4px;
  height: 8px;
  border-right: 2px solid #2f8f7a;
  border-bottom: 2px solid #2f8f7a;
  transform: translateY(-65%) rotate(45deg);
}

.lpm001-submit-note {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #2f8f7a;
  text-align: center;
}
