/* ========== お問い合わせフォーム（3ステップ） ========== */

.wcc-contact-wrap {
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 0 20px 40px;
}

.wcc-contact-heading {
  text-align: center;
  margin: 48px 0 28px;
}

.wcc-contact-heading h2 {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #2a3140;
  letter-spacing: 0.04em;
}

.wcc-contact-heading p {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: rgba(42, 49, 64, 0.65);
}

.wcc-contact-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.wcc-contact-progress {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
}

.wcc-contact-progress li {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 14px 10px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #888;
  border-right: 1px solid #e5e5e5;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease;
}

.wcc-contact-progress li:last-child {
  border-right: none;
}

.wcc-contact-progress li strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 700;
}

.wcc-contact-progress li.is-active {
  background: #6eafca;
  color: #fff;
}

.wcc-contact-progress li.is-done {
  background: #e8f4f8;
  color: #3a7a8f;
}

.wcc-contact-progress li::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: #e5e5e5;
  z-index: 1;
  pointer-events: none;
}

.wcc-contact-progress li:last-child::after {
  display: none;
}

.wcc-contact-step {
  display: none;
  padding: 28px 24px 32px;
}

.wcc-contact-step.is-active {
  display: block;
}

.wcc-form-row {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 0;
  border-bottom: 1px solid #eee;
}

@media (max-width: 720px) {
  .wcc-form-row {
    grid-template-columns: 1fr;
  }
}

.wcc-form-row__label {
  background: #f7f4ef;
  padding: 16px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #eee;
}

@media (max-width: 720px) {
  .wcc-form-row__label {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
}

.wcc-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
}

.wcc-badge--req {
  background: #e85a28;
  color: #fff;
}

.wcc-badge--opt {
  background: #9e9e9e;
  color: #fff;
}

.wcc-form-row__fields {
  padding: 16px 18px;
  background: #fff;
}

.wcc-form-row__fields input[type="text"],
.wcc-form-row__fields input[type="email"],
.wcc-form-row__fields input[type="tel"],
.wcc-form-row__fields select,
.wcc-form-row__fields textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
}

.wcc-form-row__fields textarea {
  min-height: 140px;
  resize: vertical;
}

.wcc-form-row__fields input:focus,
.wcc-form-row__fields select:focus,
.wcc-form-row__fields textarea:focus {
  outline: none;
  border-color: #6eafca;
  box-shadow: 0 0 0 2px rgba(110, 175, 202, 0.2);
}

.wcc-field-hint {
  font-size: 0.78rem;
  color: #666;
  margin-top: 6px;
  line-height: 1.5;
}

.wcc-field-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
}

.wcc-name-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.wcc-name-pair .wcc-field-group {
  flex: 1;
  min-width: 120px;
}

.wcc-field-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: #555;
}

.wcc-radio-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wcc-radio-list label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  font-size: 0.9rem;
}

.wcc-radio-list input {
  margin-top: 3px;
}

.wcc-press-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #555;
}

.wcc-press-note a {
  color: #2a7a9a;
}

.wcc-privacy-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.wcc-privacy-block h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.wcc-privacy-block ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #444;
}

.wcc-privacy-block a {
  color: #2a7a9a;
}

.wcc-agree-box {
  background: #fff8f0;
  border: 1px solid #f0e0d0;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 16px;
}

.wcc-agree-box label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
}

.wcc-agree-box input {
  margin-top: 3px;
}

.wcc-form-actions {
  margin-top: 22px;
  text-align: center;
}

.wcc-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  max-width: 100%;
  padding: 16px 32px;
  background: #e85a28;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.15s ease;
}

.wcc-btn-submit:hover {
  background: #d14e22;
}

.wcc-btn-submit:active {
  transform: scale(0.99);
}

.wcc-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 24px;
  margin-right: 12px;
  background: #fff;
  color: #444;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.wcc-btn-secondary:hover {
  background: #f5f5f5;
}

.wcc-form-error {
  color: #c62828;
  font-size: 0.82rem;
  margin-top: 8px;
}

.wcc-contact-step[data-step="2"] .wcc-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wcc-contact-step[data-step="2"] .wcc-summary-list li {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.88rem;
}

.wcc-contact-step[data-step="2"] .wcc-summary-list strong {
  color: #666;
  font-weight: 600;
}

.wcc-contact-step[data-step="3"] {
  text-align: center;
  padding: 48px 24px 56px;
}

.wcc-contact-step[data-step="3"] h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: #2a7a5a;
}

.wcc-contact-step[data-step="3"] p {
  margin: 0 0 24px;
  color: #555;
  line-height: 1.7;
}

.wcc-field-error {
  border-color: #c62828 !important;
}

@media (max-width: 540px) {
  .wcc-contact-step[data-step="2"] .wcc-summary-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .wcc-contact-step[data-step="2"] .wcc-summary-list strong {
    font-size: 0.78rem;
  }
}