/* ========================================
   ステップフォーム
======================================== */
.step-form .step {
  display: none;
}

.step-form .step.active {
  display: block;
  animation: stepFadeIn 0.35s ease-out both;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stepShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

.step-form .step.shake {
  animation: stepShake 0.4s ease;
}

/* プログレスバー */
.step-progress {
  padding: 16px 4% 8px;
}

.step-progress__bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}

.step-progress__fill {
  height: 100%;
  width: 14.28%;
  background: linear-gradient(to right, #ff8265, #ff6040);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.step-progress__text {
  text-align: center;
  font-size: clamp(13px, 2.5vw, 16px);
  color: #888;
  margin: 8px 0 0;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.step-progress__text .current-step {
  color: #ff6040;
  font-size: 1.1em;
}

/* ステップ質問テキスト */
.step__question {
  font-size: clamp(15px, 4vw, 18px);
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 20px 0 16px;
}

/* ステップ内の c-item 調整 */
.step-form .step .c-item {
  flex-direction: column;
  align-items: center !important;
}

.step-form .step .c-item .label {
  /* display: none; */
  color: #ff795b;
  font-size: 16px !important;
}

.step-form .step .c-item .wpcf7-form-control-wrap {
  width: 80%;
  max-width: 320px;
  margin: 0 auto;
}

/* ラジオボタンを中央寄せ */
.step-form .step .c-item .wpcf7-form-control.wpcf7-radio {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* アクションボタン */
.step__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0 4%;
}

.step__actions--confirm {
  flex-wrap: wrap;
}

.step-next,
.step-back {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: clamp(13px, 3vw, 15px);
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.step-next {
  background: linear-gradient(to right, #ff8265, #ff6040);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 96, 64, 0.3);
  min-width: 140px;
}

.step-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 96, 64, 0.4);
}

.step-next:active {
  transform: translateY(0);
}

.step-back {
  background: #fff;
  color: #888;
  border: 1px solid #ddd;
}

.step-back:hover {
  background: #f5f5f5;
}

/* 確認画面 */
.confirm-list {
  padding: 0 4%;
}

.confirm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  gap: 8px;
}

.confirm-item:last-child {
  border-bottom: none;
}

.confirm-label {
  font-size: clamp(12px, 2.8vw, 14px);
  font-weight: bold;
  color: #666;
  min-width: 80px;
  flex-shrink: 0;
}

.confirm-value {
  font-size: clamp(13px, 3vw, 15px);
  color: #333;
  flex: 1;
  text-align: left;
  word-break: break-all;
}

.confirm-edit {
  font-size: clamp(11px, 2.5vw, 13px);
  color: #ff6040;
  background: none;
  border: 1px solid #ff6040;
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.confirm-edit:hover {
  background: #ff6040;
  color: #fff;
}

/* 確認画面の送信ボタン */
.step__actions--confirm .c-send {
  width: 100%;
  margin-top: 8px;
}

/* iOS Safari 自動ズーム防止（フォントサイズ16px以上で回避） */
.cntct .form-area .c-mailform.step-form input[type="tel"],
.cntct .form-area .c-mailform.step-form input[type="email"],
.cntct .form-area .c-mailform.step-form input[type="text"],
.cntct .form-area .c-mailform.step-form textarea,
.cntct .form-area .c-mailform.step-form select {
  font-size: 16px !important;
}

input,
textarea,
select {
  font-size: 16px;
}

.cntct .form-area .c-mailform .c-item .wpcf7-form-control-wrap {
  width: 80%;
}

.cntct
  .form-area
  .c-mailform
  .c-item
  .wpcf7-form-control-wrap
  .wpcf7-form-control
  .wpcf7-list-item {
  border-radius: 999px;
}

.cntct
  .form-area
  .c-mailform
  .c-item
  .wpcf7-form-control-wrap
  .wpcf7-form-control
  .wpcf7-list-items
  label {
  border-radius: 999px;
}

.cntct .form-area .c-mailform {
  border-radius: 4px;
  background-color: #f0f0f0;
  padding: 2%;
}

.cntct
  .form-area
  .c-mailform
  .c-item
  .wpcf7-form-control-wrap
  .wpcf7-form-control
  .wpcf7-list-item
  label {
  border-radius: 999px;
  line-height: 39px;
}

.cntct .form-area .c-mailform .c-item .wpcf7-form-control-wrap .wpcf7-radio {
  height: 40px;
}

.cntct
  .form-area
  .c-mailform
  .c-item
  .wpcf7-form-control-wrap
  .wpcf7-form-control.wpcf7-select {
  background-color: #fff;
}

.cntct .form-area .c-mailform .c-item .wpcf7-form-control-wrap textarea {
  background-color: #fff;
}

.cntct
  .form-area
  .c-mailform
  .c-item
  .wpcf7-form-control-wrap
  input[type="email"] {
  background-color: #fff;
}

.cntct
  .form-area
  .c-mailform
  .c-item
  .wpcf7-form-control-wrap
  input[type="tel"] {
  background-color: #fff;
}

.step-form .step[data-step="1"] .c-item .label {
  display: none;
}

.ano {
  font-size: 10px;
  padding: 0 2%;
}

.main .cntct {
  padding: 2% !important;
}
