/* ===================== お問い合わせ ===================== */
.ct {
  max-width: 820px;
  padding-top: 36px;
  padding-bottom: 64px;
}
.ct-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.ct-steps .s {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ct-steps i {
  font-style: normal;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.ct-steps .s.on {
  color: var(--text);
}
.ct-steps .s.on i {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ct-steps .s.done i {
  background: var(--text);
  border-color: var(--text);
  color: var(--surface);
}
.ct-steps .ln {
  width: 48px;
  height: 2px;
  background: var(--border);
}
.ct-steps .ln.done {
  background: var(--text);
}
.ct-view {
  display: none;
}
.ct-view.on {
  display: block;
}
.ct-help {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.ct-help:hover {
  border-color: var(--accent);
}
.ct-help-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-dk);
}
.ct-help-ic svg {
  width: 22px;
  height: 22px;
}
.ct-help b {
  display: block;
  font-size: 15px;
}
.ct-help small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.6;
}
.ct-help-go {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-dk);
}
[data-theme="dark"] .ct-help-go {
  color: var(--accent);
}
.ct-notes {
  list-style: none;
  margin: 16px 4px 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.ct-notes li {
  padding-left: 1.1em;
  position: relative;
}
.ct-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}
.ct-form {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px clamp(20px, 4vw, 44px);
  display: grid;
  gap: 22px;
}
.ct-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ct-h h2 {
  font-size: 20px;
  font-weight: 700;
}
.ct-h span {
  font-size: 12px;
  color: var(--muted);
}
.req,
.opt {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: 1px;
}
.req {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 10%, var(--surface));
}
.opt {
  color: var(--muted);
  background: var(--surface-2);
}
.ct-h .req {
  margin: 0 4px 0 0;
}
.fd {
  display: grid;
  gap: 8px;
  position: relative;
  align-content: start;
}
.fd .lb {
  font-size: 14px;
  font-weight: 700;
}
.fd2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fd input,
.fd select,
.fd textarea {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.fd input,
.fd select {
  height: 52px;
}
.fd select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.fd textarea {
  padding: 14px 16px;
  line-height: 1.8;
  resize: vertical;
  min-height: 180px;
}
.fd input:focus,
.fd select:focus,
.fd textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.fd .err {
  border-color: var(--red);
}
.fd .emsg {
  display: none;
  font-size: 12px;
  color: var(--red);
}
.fd .err ~ .emsg {
  display: block;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.ct-cnt {
  justify-self: end;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}
.ct-agree {
  background: var(--surface-2);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.ct-agree p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.link {
  color: var(--accent-dk);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-theme="dark"] .link {
  color: var(--accent);
}
.chk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.chk input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.ct-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ct-btns .btn {
  height: 54px;
  min-width: 220px;
  justify-content: center;
  font-size: 16px;
  border-radius: 14px;
}
.ct-btns .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ct-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.ct-dl dt,
.ct-dl dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ct-dl dt {
  font-weight: 700;
  color: var(--muted);
  font-size: 13px;
}
.ct-dl dd {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.8;
}
.ct-done {
  text-align: center;
  justify-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.ct-ic {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-dk);
}
.ct-ic svg {
  width: 40px;
  height: 40px;
}
.ct-done h2 {
  font-size: 24px;
}
.ct-done p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.ct-done p b {
  color: var(--text);
  font-family: var(--font-en);
}
@media (max-width: 760px) {
  .ct {
    padding-top: 24px;
  }
  .ct-steps {
    margin-bottom: 22px;
  }
  .ct-steps .ln {
    width: 24px;
  }
  .ct-help {
    grid-template-columns: auto 1fr;
    padding: 16px;
  }
  .ct-help-go {
    grid-column: 2;
  }
  .ct-form {
    border-radius: 16px;
    padding: 24px 18px;
    gap: 20px;
  }
  .fd2 {
    grid-template-columns: 1fr;
  }
  .ct-dl {
    grid-template-columns: 1fr;
  }
  .ct-dl dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .ct-dl dd {
    padding-top: 6px;
  }
  .ct-btns .btn {
    width: 100%;
  }
  .ct-btns {
    flex-direction: column-reverse;
  }
  .ct-agree {
    text-align: left;
  }
}
