/* 受講サイトの無料体験のお申込み（/learn-trial/）だけの見た目。
   土台（header.site・.page-head・section.clause・footer.site・色と字のトークン）は
   legal-page.css。ここでは「できること」「流れ」「フォーム」「完了画面」だけを足す。 */

.lt .lt-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lt .lt-points li {
  margin: 0;
  padding: 16px 20px 16px 48px;
  position: relative;
  background: var(--surface-wash);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  line-height: 1.8;
}
.lt .lt-points li::before {
  content: "";
  position: absolute; left: 20px; top: 24px;
  width: 14px; height: 8px;
  border-left: 3px solid var(--brand-primary); border-bottom: 3px solid var(--brand-primary);
  transform: rotate(-45deg);
}
.lt .lt-points strong { display: block; font-size: 15.5px; font-weight: var(--fw-bold); }
.lt .lt-points span { display: block; font-size: 14px; color: var(--ink-soft); }

.lt .lt-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lt .lt-steps li {
  margin: 0;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  line-height: 1.8;
}
.lt .lt-steps__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-bottom: 8px;
  border-radius: 50%;
  background: var(--brand-primary); color: #fff;
  font-size: 14px; font-weight: var(--fw-black); line-height: 1;
}
.lt .lt-steps strong { display: block; font-size: 15.5px; font-weight: var(--fw-bold); }
.lt .lt-steps li > span:last-child { display: block; font-size: 13.5px; color: var(--ink-soft); }

.lt .lt-form, .lt .lt-done, .lt .lt-closed {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 32px;
}
.lt .lt-field { margin: 0 0 20px; }
.lt .lt-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: var(--fw-bold); line-height: 1.6; }
.lt .lt-field input,
.lt .lt-field select {
  display: block; width: 100%; max-width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 16px; /* 16px 未満だと iOS が入力時に拡大する */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.lt .lt-field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.lt .lt-field input::placeholder { color: #AAAAAA; }
.lt .lt-field input:focus,
.lt .lt-field select:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(78, 185, 195, 0.25); }
.lt .lt-field.is-error input,
.lt .lt-field.is-error select { border-color: #B23D28; }

.lt .lt-req, .lt .lt-opt {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  border-radius: 3px;
  font-size: 11px; font-weight: var(--fw-bold); line-height: 1.6; vertical-align: 1px;
  white-space: nowrap;
}
.lt .lt-req { background: #B23D28; color: #fff; }
.lt .lt-opt { background: var(--surface-alt); color: var(--ink-soft); border: 1px solid var(--line-soft); }

.lt .lt-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); }
.lt .lt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.lt .lt-consent { margin: 28px 0 0; padding: 18px 20px; background: var(--surface-alt); border-radius: var(--radius-md); }
.lt .lt-check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; cursor: pointer; }
.lt .lt-check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand-primary-bold); }
.lt .lt-consent .lt-hint { margin: 0; }

.lt .lt-msg { display: none; margin: 20px 0 0; padding: 12px 16px; border-radius: var(--radius-md); background: #FDEDEA; color: #B23D28; font-size: 14px; font-weight: var(--fw-bold); line-height: 1.7; }
.lt .lt-msg.is-shown { display: block; }

.lt .lt-submit {
  display: block; width: 100%; max-width: 360px; margin: 24px auto 0;
  padding: 16px 24px;
  border: none; border-radius: var(--radius-pill);
  background: var(--brand-primary-bold); color: #fff;
  font: inherit; font-size: 16px; font-weight: var(--fw-bold); letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lt .lt-submit:hover { background: var(--brand-primary-ink); }
.lt .lt-submit:focus-visible { outline: 3px solid rgba(78, 185, 195, 0.5); outline-offset: 3px; }
.lt .lt-submit:disabled { opacity: 0.6; cursor: default; }

.lt .lt-done { border-color: var(--brand-primary); background: var(--brand-primary-soft); text-align: center; outline: none; }
.lt .lt-done h3 { margin: 0 0 10px; font-size: 20px; font-weight: var(--fw-bold); color: var(--brand-primary-ink); line-height: 1.6; }
.lt .lt-done p { margin: 0 0 10px; font-size: 15.5px; line-height: 2; }
.lt .lt-done .lt-hint { margin: 14px 0 0; font-size: 13px; }
.lt .lt-closed p { margin: 0; }
.lt [hidden] { display: none !important; }

@media (max-width: 720px) {
  .lt .lt-steps { grid-template-columns: 1fr; }
  .lt .lt-steps li { padding: 16px 16px 16px 58px; position: relative; border-top-width: 1px; border-left: 4px solid var(--brand-primary); }
  .lt .lt-steps__no { position: absolute; left: 16px; top: 16px; margin: 0; }
  .lt .lt-form, .lt .lt-done, .lt .lt-closed { padding: 22px 18px; border-radius: var(--radius-md); }
  .lt .lt-points li { padding: 14px 16px 14px 42px; }
  .lt .lt-points li::before { left: 16px; top: 22px; }
  .lt .lt-submit { max-width: none; }
}
