/* デモ管理画面ログイン情報依頼フォーム */

.demo-inquiry-page {
  min-height: 100dvh;
  color: var(--green-white);
  background: var(--pine-ink);
}

.demo-inquiry-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.demo-inquiry-page .header-inner {
  justify-content: space-between;
}

.demo-inquiry-back {
  margin-left: auto;
  min-height: 2.25rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.9rem;
}

.demo-inquiry {
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.demo-inquiry-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.demo-inquiry-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--sage);
  font-size: var(--text-14);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.demo-inquiry h1 {
  margin: 0 0 1rem;
  font-size: var(--text-28);
  line-height: var(--leading-title);
  color: var(--green-white);
}

.demo-inquiry-lead {
  margin: 0 0 2rem;
  color: rgb(from var(--green-white) r g b / 78%);
  font-size: var(--text-16);
  line-height: var(--leading);
}

.demo-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.demo-field label {
  font-size: var(--text-16);
  font-weight: 700;
  color: var(--green-white);
}

.demo-field .req,
.demo-field .opt {
  margin-inline-start: 0.35rem;
  font-size: var(--text-14);
  font-weight: 500;
}

.demo-field .req {
  color: var(--system-mint);
}

.demo-field .opt {
  color: rgb(from var(--green-white) r g b / 55%);
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgb(from var(--green-white) r g b / 22%);
  border-radius: 0.65rem;
  background: rgb(from var(--pine) r g b / 55%);
  color: var(--green-white);
  font: inherit;
  line-height: 1.5;
}

.demo-field input::placeholder,
.demo-field textarea::placeholder {
  color: rgb(from var(--green-white) r g b / 42%);
}

.demo-field input:focus,
.demo-field textarea:focus {
  outline: 2px solid var(--system-mint);
  outline-offset: 2px;
}

.demo-field input[aria-invalid="true"],
.demo-field textarea[aria-invalid="true"] {
  border-color: var(--system-pink);
}

.demo-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.demo-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--text-14);
  line-height: 1.7;
  color: rgb(from var(--green-white) r g b / 82%);
  cursor: pointer;
}

.demo-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--system-mint);
}

.demo-error {
  margin: 0;
  color: var(--system-pink);
  font-size: var(--text-14);
}

.demo-error-global {
  margin-top: 0.25rem;
}

.demo-actions {
  margin-top: 0.5rem;
}

.demo-actions .btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.demo-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.demo-confirm-list {
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.demo-confirm-list > div {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgb(from var(--green-white) r g b / 14%);
}

.demo-confirm-list dt {
  margin: 0;
  color: rgb(from var(--green-white) r g b / 58%);
  font-size: var(--text-14);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.demo-confirm-list dd {
  margin: 0;
  color: var(--green-white);
  font-size: var(--text-16);
  line-height: var(--leading);
  word-break: break-word;
}

.demo-inquiry-thanks .demo-inquiry-lead {
  margin-bottom: 2.25rem;
}

@media (max-width: 767px) {
  .demo-inquiry-page .header-inner {
    min-height: 3.5rem;
  }

  .demo-inquiry-back {
    font-size: 0.85rem;
  }
}
