/* =====================================================
   form.css — LANDLENS form / thanks page
   ===================================================== */

.page-form {
  background: #EAF2F9;
}

/* ── Thanks page ── */
.page-thanks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-thanks .site-header {
  flex-shrink: 0;
}

.thanks-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

/* PC: 870 × 493（title 73 / body 420） */
.thanks-card {
  width: 870px;
  max-width: 100%;
  height: 493px;
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  box-sizing: border-box;
}

.thanks-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 73px;
  padding: 0 24px;
  box-sizing: border-box;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.thanks-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 420px;
  /* デザイン実測: top49 / bottom58 */
  padding: 49px 40px 58px;
  box-sizing: border-box;
  text-align: center;
}

.thanks-card__logo {
  display: block;
  /* デザイン実測: 約274×51 */
  width: 274px;
  height: auto;
  margin-bottom: 66px;
}

.thanks-card__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 52px;
}

.thanks-card__check {
  display: inline-flex;
  flex-shrink: 0;
}

.thanks-card__check svg {
  display: block;
  /* デザイン実測: 直径約40 */
  width: 40px;
  height: 40px;
}

.thanks-card__done {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.thanks-card__message {
  margin: 0 0 34px;
  font-size: 16px;
  color: var(--text-mid);
  line-height: 2;
  letter-spacing: 0.04em;
}

.thanks-card__home {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-decoration: underline;
}

.thanks-card__home:hover {
  opacity: 0.85;
}

.page-thanks .copyright {
  flex-shrink: 0;
  padding: 18px 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .thanks-card {
    width: 100%;
    max-width: 870px;
    height: auto;
  }

  .thanks-card__title {
    height: auto;
    min-height: 64px;
    padding: 16px;
    font-size: 20px;
  }

  .thanks-card__body {
    height: auto;
    padding: 40px 28px 48px;
  }
}

/* SP: カード約334×484（title 70 / body 414）に合わせて実測調整 */
@media (max-width: 640px) {
  .thanks-page {
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
  }

  .thanks-card {
    width: 100%;
    max-width: 334px;
    height: auto;
    margin: 0 auto;
  }

  .thanks-card__title {
    min-height: 0;
    height: 70px;
    padding: 0 16px;
    font-size: 18px;
  }

  .thanks-card__body {
    height: auto;
    min-height: 414px;
    padding: 30px 24px 59px;
  }

  .thanks-card__logo {
    width: 281px;
    max-width: 100%;
    margin-bottom: 41px;
  }

  .thanks-card__status {
    gap: 12px;
    margin-bottom: 39px;
  }

  .thanks-card__check svg {
    width: 56px;
    height: 56px;
  }

  .thanks-card__done {
    font-size: 28px;
  }

  .thanks-card__message {
    font-size: 14px;
    margin-bottom: 37px;
    line-height: 2.15;
  }

  .thanks-card__home {
    font-size: 16px;
    padding: 0;
  }

  .page-thanks .copyright {
    padding: 16px 0;
    font-size: 12px;
  }
}

.page-form .site-header__inner {
  justify-content: flex-start;
}

.page-form .site-logo {
  display: inline-flex;
}

/* ── Form page main ── */
.form-page {
  padding: 0 0 80px;
}

.form-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Title bar ── */
.form-page__title {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding: 18px 16px;
}

/* ── Contact block（リード → 電話 → メールの縦3段） ── */
.form-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 0 8px;
  text-align: center;
}

.form-contact__lead {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-text);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.form-contact__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: 14px 28px;
  background: var(--white);
  border: 1px solid #D5DEE8;
  border-radius: 8px;
  color: var(--navy);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(30, 60, 100, 0.08);
}

.form-contact__mail {
  display: block;
  margin: 0;
  font-size: 13px;
  color: var(--navy-text);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.form-contact__mail:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ── Benefits ── */
.form-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 32px;
  list-style: none;
  padding: 0;
  align-items: center;
}

.form-benefit {
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
}

.form-benefit__icon {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Form card (FormRun shell) ── */
.form-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(30, 60, 100, 0.1);
  padding: 28px 24px 32px;
  margin-bottom: 24px;
}

.form-card .formrun-embed {
  min-height: 120px;
}

.form-card__assurance {
  margin-top: 28px;
  text-align: center;
}

.form-card__assurance-title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin-bottom: 10px;
}

.form-card__assurance-note {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── FAQ on form page ── */
.page-form #faq {
  background: var(--white);
  padding: 64px 0;
}

.page-form #faq > .container {
  max-width: 1080px;
}

.page-form .cta-card {
  flex: 0 0 min(420px, 42%);
}

.page-form .cta-card__actions {
  display: none;
}

.page-form .footer-brand__tagline {
  max-width: 18em;
}

/* SP: 特典は上2・下1の三角配置 */
@media (max-width: 640px) {
  .form-page {
    padding: 0 0 40px;
  }

  .form-page__inner {
    padding: 0 16px;
  }

  .form-page__title {
    font-size: 18px;
    padding: 16px 12px;
  }

  .form-contact {
    gap: 10px;
    padding: 24px 0 4px;
  }

  .form-contact__lead {
    font-size: 12px;
  }

  .form-contact__tel {
    max-width: 100%;
    padding: 12px 20px;
    font-size: 32px;
  }

  .form-contact__mail {
    font-size: 12px;
  }

  .form-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    column-gap: 8px;
    row-gap: 4px;
    margin: 20px auto 28px;
    max-width: 340px;
  }

  .form-benefit {
    max-width: 156px;
  }

  .form-benefit:nth-child(3) {
    grid-column: 1 / -1;
  }

  .form-card {
    padding: 20px 16px 24px;
    border-radius: 12px;
    margin-bottom: 0;
  }

  .form-card__assurance {
    margin-top: 24px;
  }

  .form-card__assurance-title {
    font-size: 16px;
  }

  .form-card__assurance-note {
    font-size: 11px;
    padding: 0 4px;
  }

  .page-form #faq {
    padding: 48px 0 56px;
  }

  .page-form .cta-card {
    flex: none;
    width: 100%;
    padding: 32px 24px;
    gap: 28px;
  }

  .page-form .cta-card__badge {
    font-size: 13px;
    padding: 10px 14px;
  }

  /* SP Footer: ロゴ中央 → タグライン → 2カラムリンク */
  .page-form {
    padding-bottom: 0;
  }

  .page-form .site-footer {
    padding: 48px 0 40px;
  }

  .page-form .site-footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .page-form .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .page-form .footer-brand svg {
    width: 180px;
    height: auto;
  }

  .page-form .footer-brand__tagline {
    max-width: none;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .page-form .footer-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 48px;
    width: 100%;
  }

  .page-form .footer-col {
    text-align: left;
  }

  .page-form .footer-col__heading {
    margin-bottom: 14px;
  }

  .page-form .footer-col__item {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .page-form .copyright {
    padding: 16px 0;
    font-size: 12px;
  }
}

/* formページにはモバイルCTAバーがないので余白を戻す */
@media (max-width: 768px) {
  body.page-form {
    padding-bottom: 0;
  }
}
