/* ステップ入力（wizard.js）用 */
form .section[hidden], form .button-container[hidden], .wz-next[hidden] { display: none !important; }
.wz-progress { scroll-margin-top: 8px; }
.wz-progress { background: #f4fbf9; border: 1px solid #d7efe8; border-radius: 14px; padding: 14px 16px 10px; margin: 16px 0 6px; }
.wz-count { font-weight: 700; color: #2c3e50; font-size: 15px; margin-bottom: 8px; }
.wz-bar { height: 8px; background: #dfe9ee; border-radius: 99px; overflow: hidden; }
.wz-bar span { display: block; height: 100%; background: #18bc9c; border-radius: 99px; transition: width .3s; }
.wz-dots { list-style: none; display: flex; gap: 4px; padding: 0; margin: 10px 0 4px; overflow-x: auto; }
.wz-dots li { flex: 1; min-width: 0; }
.wz-dots button { width: 100%; border: 0; background: none; padding: 2px 0; cursor: pointer; color: #8a9aa8; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wz-dots span { width: 26px; height: 26px; border-radius: 50%; background: #dfe9ee; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.wz-dots em { font-style: normal; font-size: 11px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wz-dots li.done span { background: #8fd9c8; }
.wz-dots li.now span { background: #18bc9c; box-shadow: 0 0 0 3px #c9efe5; }
.wz-dots li.now em { color: #2c3e50; font-weight: 700; }
.wz-note { margin: 6px 0 0; font-size: 12px; color: #5d7083; }
.wz-nav { display: flex; gap: 12px; justify-content: space-between; margin: 28px 0 10px; }
.wz-nav button { flex: 1; max-width: 240px; padding: 15px 10px; font-size: 17px; font-weight: 700; border-radius: 12px; cursor: pointer; font-family: inherit; }
.wz-back { background: #fff; color: #2c3e50; border: 2px solid #c7d3dc; }
.wz-next { background: #18bc9c; color: #fff; border: 0; box-shadow: 0 4px 0 #12a386; margin-left: auto; }
@media (max-width: 600px) {
  .wz-dots em { display: none; }
  .wz-nav { position: sticky; bottom: 0; background: rgba(255,255,255,.96); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); margin: 20px 0 0; z-index: 5; }
  .wz-nav button { max-width: none; }
  form input[type="text"], form input[type="email"], form input[type="date"], form input[type="number"], form textarea, form select { font-size: 16px; }
}

/* 最後のステップの作成ボタンを目立たせる */
form button.create-resume-button { background: #18bc9c !important; color: #fff !important; border: 0 !important; box-shadow: 0 4px 0 #12a386; font-weight: 700; font-size: 18px; padding: 16px 28px; }
@media (max-width: 600px) { form .wz-submit { flex-direction: column; gap: 12px; } form .wz-submit button { width: 100%; margin: 0; white-space: nowrap; } }
