/* ============================================================
   CONTACT PAGES — contact.css
   ============================================================ */
:root {
  --ct-orange: #ea9801;
  --ct-dark:   #111;
  --ct-border: #e4e4e4;
  --ct-bg:     #f8f8f8;
  --ct-text:   #232323;
  --ct-sub:    #666;
  --ct-max:    760px;
}
/* ============================================================
   LAYOUT
   ============================================================ */
.ct-main {
  padding: 80px 0 120px;
  background: #fff;
}
.ct-inner {
  max-width: var(--ct-max);
  width: 90%;
  margin: 0 auto;
}
/* ============================================================
   STEP INDICATOR
   ============================================================ */
.ct-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
}
.ct-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px 0;
}
.ct-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ct-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Josefin Sans", sans-serif;
  font-size: .78rem;
  letter-spacing: 1px;
  color: #bbb;
  background: #fff;
  transition: all .3s ease;
}
.ct-step__label {
  font-size: .72rem;
  color: #bbb;
  letter-spacing: 1px;
  transition: color .3s ease;
}
.ct-step.is-active .ct-step__num {
  border-color: var(--ct-orange);
  background: var(--ct-orange);
  color: #fff;
}
.ct-step.is-active .ct-step__label {
  color: var(--ct-orange);
  font-weight: 700;
}
.ct-step__line {
  width: 80px;
  height: 1px;
  background: var(--ct-border);
  margin: 0 8px;
  margin-bottom: 24px;
  transition: background .3s ease;
}
.ct-step__line.is-done {
  background: var(--ct-orange);
}
/* ============================================================
   LEAD TEXT
   ============================================================ */
.ct-lead {
  font-size: .9rem;
  line-height: 1.9;
  color: var(--ct-sub);
  margin-bottom: 48px;
  text-align: center;
}

/* ============================================================
   FORM
   ============================================================ */
.ct-form {
  width: 100%;
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ct-border);
}
.ct-field:last-of-type {
  border-bottom: none;
}
.ct-label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ct-dark);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 0 10px;
}
.ct-required {
  font-family: "Josefin Sans", sans-serif;
  font-size: .6rem;
  letter-spacing: 1px;
  background: var(--ct-orange);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 400;
}
.ct-input-wrap {
  position: relative;
}
.ct-input,
.ct-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--ct-border);
  border-radius: 2px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: .9rem;
  color: var(--ct-text);
  background: var(--ct-bg);
  box-sizing: border-box;
  transition: border-color .25s ease, background .25s ease;
  outline: none;
  appearance: none;
}
.ct-input:focus,
.ct-textarea:focus {
  border-color: var(--ct-orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(234,152,1,.12);
}
.ct-input::placeholder,
.ct-textarea::placeholder {
  color: #bbb;
}
.ct-textarea {
  height: 200px;
  resize: vertical;
  line-height: 1.8;
}

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.ct-privacy {
  margin: 40px 0 48px;
}
.ct-privacy__box {
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  border-radius: 2px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
.ct-privacy__ttl {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ct-dark);
  margin-bottom: 12px;
  letter-spacing: .5px;
}
.ct-privacy__text p {
  font-size: .82rem;
  line-height: 1.8;
  color: var(--ct-sub);
}
.ct-agree {
  display: flex;
  align-items: center;
  gap: 0 14px;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}
/* CF7 acceptance チェックボックス */
.wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 0 10px;
  cursor: pointer;
  width: fit-content;
  margin: 0 auto;
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  cursor: pointer;
  accent-color: var(--ct-orange);
  margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: .88rem;
  color: var(--ct-text);
  letter-spacing: .5px;
}
.ct-agree__check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--ct-border);
  border-radius: 2px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  position: relative;
}
.ct-agree__check::after {
  content: '';
  width: 12px;
  height: 7px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
  opacity: 0;
  transition: opacity .2s ease;
}
.ct-agree input[type="checkbox"]:checked + .ct-agree__check {
  background: var(--ct-orange);
  border-color: var(--ct-orange);
}
.ct-agree input[type="checkbox"]:checked + .ct-agree__check::after {
  opacity: 1;
}
.ct-agree__label {
  font-size: .88rem;
  color: var(--ct-text);
  letter-spacing: .5px;
}
.ct-field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: #d32f2f;
  margin-top: 4px;
}
.ct-field-error.is-show { display: flex; }
.ct-field-error__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: #d32f2f;
  color: #fff;
  font-weight: 700;
  font-size: .7rem;
  border-radius: 50%;
  flex-shrink: 0;
}
/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
.ct-submit {
  text-align: center;
  margin-top: 8px;
}
.ct-submit--confirm {
  display: flex;
  justify-content: center;
  gap: 0 24px;
}
.ct-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0 14px;
  background: var(--ct-orange);
  color: #fff;
  border: none;
  padding: 18px 56px;
  font-family: "Josefin Sans", sans-serif;
  font-size: .85rem;
  letter-spacing: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background .3s ease, transform .2s ease;
  position: relative;
  overflow: hidden;
}
.ct-btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.ct-btn-submit:hover::before {
  transform: scaleX(1);
}
.ct-btn-submit:hover {
  transform: translateY(-2px);
}
.ct-btn-submit span,
.ct-btn-submit i {
  position: relative;
  z-index: 1;
}
.ct-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0 10px;
  background: transparent;
  color: var(--ct-sub);
  border: 1px solid var(--ct-border);
  padding: 18px 40px;
  font-family: "Josefin Sans", sans-serif;
  font-size: .85rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all .3s ease;
}
.ct-btn-back:hover {
  border-color: var(--ct-dark);
  color: var(--ct-dark);
}
/* ============================================================
   CONFIRM TABLE
   ============================================================ */
.ct-confirm-table {
  border-top: 1px solid var(--ct-border);
  margin-bottom: 56px;
}
.ct-confirm-row {
  display: flex;
  border-bottom: 1px solid var(--ct-border);
}
.ct-confirm-row dt {
  flex: 0 0 200px;
  padding: 22px 20px 22px 0;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ct-dark);
  letter-spacing: .5px;
}
.ct-confirm-row dd {
  flex: 1;
  padding: 22px 0;
  font-size: .9rem;
  color: var(--ct-text);
  line-height: 1.8;
  word-break: break-all;
}
.ct-confirm-message {
  white-space: pre-wrap;
}
/* ============================================================
   THANKS PAGE
   ============================================================ */
.ct-thanks {
  text-align: center;
  padding: 40px 0 20px;
}
.ct-thanks__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ct-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}
.ct-thanks__icon i {
  font-size: 2rem;
  color: #fff;
}
.ct-thanks__ttl {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ct-dark);
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.ct-thanks__text {
  font-size: .9rem;
  line-height: 2;
  color: var(--ct-sub);
  margin-bottom: 48px;
}
.ct-thanks__text small {
  font-size: .78rem;
  color: #aaa;
}
.ct-thanks__btn {
  display: inline-flex;
  align-items: center;
  gap: 0 14px;
  background: var(--ct-dark);
  color: #fff;
  padding: 18px 56px;
  font-family: "Josefin Sans", sans-serif;
  font-size: .85rem;
  letter-spacing: 3px;
  text-decoration: none;
  transition: background .3s ease;
}
.ct-thanks__btn:hover {
  background: var(--ct-orange);
}
.ct-thanks__btn:link,
.ct-thanks__btn:visited {
  color: #fff;
}
/* ============================================================
   ERROR STATE
   ============================================================ */
.ct-input.is-error,
.ct-textarea.is-error {
  border-color: #e53e3e;
  background: #fff5f5;
}

/* ============================================================
   SP (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {
  .ct-main {
    padding: 56px 0 80px;
  }
  .ct-steps {
    margin-bottom: 40px;
  }
  .ct-step__line {
    width: 40px;
  }
.ct-step__num {
  width: 40px;
  height: 40px;
  font-size: .7rem;
}
.ct-lead {
  font-size: .84rem;
  text-align: left;
}
.ct-field {
  margin-bottom: 24px;
  padding-bottom: 24px;
}
.ct-submit--confirm {
  flex-direction: column-reverse;
  gap: 16px 0;
}
.ct-btn-submit,
  .ct-btn-back {
  width: 100%;
  justify-content: center;
  padding: 16px 0;
}
  .ct-confirm-row {
    flex-direction: column;
  }
.ct-confirm-row dt {
  flex: none;
  padding: 16px 0 4px;
  font-size: .8rem;
  color: var(--ct-sub);
}
  .ct-confirm-row dd {
    padding: 0 0 16px;
  }
  .ct-thanks__ttl {
    font-size: 1.1rem;
  }
  .pc-only {
    display: none;
  }
}


/* destyle.css の appearance:none を上書き */
.wpcf7-checkbox input[type="checkbox"],
.wpcf7-acceptance input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* CF7 チェックボックス 中央揃え */
.wpcf7-acceptance,
.wpcf7-checkbox {
  display: flex;
  justify-content: center;
}

/* CF7 送信ボタン中央揃え */
.wpcf7-submit {
  display: block;
  margin: 0 auto;
}
.wpcf7 .ct-submit p {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wpcf7-spinner {
  display: none !important;
}

/* ステップインジケーター非表示 */
.ct-steps {
  display: none;
}
