/* LP（資料請求・相談予約・お問合せ）共通スタイル */

.p-lp {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f4f4f4;
  overflow-x: hidden;
}

.p-lp-main {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-lp-header {
  background: #fff;
}

.p-lp-header__inner {
  display: flex;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 64px;
}

.p-lp-header__logo img {
  display: block;
  width: auto;
  max-height: 40px;
}

@media (max-width: 767px) {
  .p-lp-header__inner {
    padding: 16px 24px;
  }
}

.p-lp-form {
  display: flex;
  align-items: stretch;
  flex: 1;
  width: 100%;
}

@media (max-width: 1023px) {
  .p-lp-form {
    flex-direction: column;
    align-items: stretch;
  }
}

.p-lp-form__left {
  flex: 1 1 48%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  background: #f4f4f4;
}

.p-lp-form__left-inner {
  width: 100%;
  max-width: 691px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 42px 64px 86px;
}

@media (max-width: 1023px) {
  .p-lp-form__left-inner {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .p-lp-form__left-inner {
    padding: 42px 24px;
    gap: 32px;
  }

  .p-lp-form--has-resources .p-lp-form__left-inner {
    padding-bottom: 86px;
  }

  .p-lp-form:not(.p-lp-form--has-resources) .p-lp-form__block--support {
    margin-top: 8px;
  }

  .p-lp-form__block--resources {
    order: 1;
  }

  .p-lp-form__block--support {
    order: 2;
  }
}

.p-lp-form__title {
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(28px, calc(1.6vw + 12px), 40px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
}

.p-lp-form__lead-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p-lp-form__lead {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 2px;
}

.p-lp-form__required-note {
  margin: 0;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 2px;
}

.p-lp-form__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.p-lp-form__block-title {
  margin: 0;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 2px;
}

.p-lp-form__block-title-sub {
  font-size: 18px;
}

.p-lp-form__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 20px;
  background: #fff;
  padding: 10px;
  min-width: 0;
}

.p-lp-form__logo {
  display: block;
}

.p-lp-form__logo img {
  display: block;
  width: var(--lp-logo-w);
  height: auto;
  max-width: 100%;
}

@media (max-width: 767px) {
  .p-lp-form__logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 10px;
  }

  .p-lp-form__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
  }

  .p-lp-form__logo--nolimit,
  .p-lp-form__logo--cityplus {
    height: 32px;
    order: 1;
  }

  .p-lp-form__logo--nanyo,
  .p-lp-form__logo--starret {
    order: 2;
  }

  .p-lp-form__logo--sanpuku,
  .p-lp-form__logo--daringman {
    order: 3;
  }

  .p-lp-form__logo--salesmarker,
  .p-lp-form__logo--lifeshop {
    order: 4;
  }

  .p-lp-form__logo img {
    width: auto;
    height: 32px;
    max-width: 100%;
  }
}

.p-lp-form__resources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  background: #fff;
}

.p-lp-form__resource-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 290 / 162.921;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e5ec;
  border-radius: 10px;
  color: #a0a8b5;
  font-size: 16px;
  font-weight: 700;
}

.p-lp-form__resource-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-lp-form__right {
  flex: 1 1 52%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  background: #fff;
}

.p-lp-form__right-inner {
  width: 100%;
  max-width: 749px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 2px 30px 20px 30px;
}

@media (max-width: 1023px) {
  .p-lp-form__right-inner {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .p-lp-form__right-inner {
    padding: 0 0 0 0;
  }
}

.p-lp-form__hubspot {
  width: 100%;
}

.p-lp-footer {
  background: #fff;
  padding: 24px;
  text-align: center;
}

.p-lp-footer__copyright {
  margin: 0;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.5;
}
