.step-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 52px;
  counter-reset: step;
}
.step-item {
  flex: 1;
  text-align: center;
  position: relative;
}
.step-item + .step-item::before {
  content: '';
  position: absolute;
  top: 24px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-md); font-weight: 700;
  margin: 0 auto 12px;
  position: relative; z-index: 1;
}
.step-item h4 { font-weight: 700; margin-bottom: 5px; color: var(--text); }
.step-item p  { font-size: var(--fs-base); color: var(--text-light); line-height: 1.6; }

.week-tab-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.week-tab {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 700;
  cursor: pointer; background: white;
  color: var(--text);
  transition: all .2s;
}
.week-tab.active,
.week-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.form-submit-area {
  text-align: center;
  margin-top: 32px;
  padding-top: 28px;
}
.privacy-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: var(--fs-base);
  color: var(--text);
  justify-content: center;
}
.privacy-check input { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.privacy-check a { color: var(--primary); text-decoration: underline; }

.confirm-banner {
  background: var(--primary-light);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 28px;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--primary-dark);
}
.confirm-banner strong { display: block; font-size: var(--fs-base); margin-bottom: 4px; }

/* 日付入力ラッパー（モバイルだけ擬似プレースホルダー表示） */
.date-input-wrap { position: relative; max-width: 240px; }
.date-input-wrap .date-placeholder { display: none; }
@media (max-width: 767px) {
  /* 空欄時のみ枠を高くする（プレースホルダーの間延び感を軽減） */
  .date-input-wrap.is-empty input[type="date"] { padding-top: 22px; padding-bottom: 22px; }
  .date-input-wrap.is-empty .date-placeholder {
    display: block;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: var(--fs-base);
  }
}

@media (max-width: 600px) {
  .step-flow { flex-direction: column; gap: 0; }
  .step-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    text-align: left;
    padding-bottom: 24px;
    position: relative;
  }
  .step-item + .step-item::before { display: none; }
  .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px; top: 48px; bottom: 0;
    width: 2px; background: var(--border);
  }
  .step-num { grid-row: 1 / 3; margin: 0; align-self: start; }
  .step-item h4 { align-self: center; margin-bottom: 4px; }
  .step-item p { grid-column: 2; }
}
