.lp.first-view {
  width: 100%;
  max-width: 2048px;
  margin-inline: auto;
  aspect-ratio: 2048 / 795;
  position: relative;
  overflow: hidden;
  background-image: url("../img/fv-pc-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.lp.first-view .first-view__inner {
  width: 100%;
  height: 100%;
  position: relative;
}

/* 上部の課題コピー */
.lp.first-view .first-view__copy {
  width: 42.3%;
  position: absolute;
  top: 8.8%;
  left: 9.8%;
}

.lp.first-view .first-view__copy img {
  display: block;
  width: 100%;
  height: auto;
}

/* FCEロゴ＋メインコピー */
.lp.first-view .first-view__title {
  width: 37.7%;
  position: absolute;
  top: 34.5%;
  left: 11.7%;
  margin: 0;
}

.lp.first-view .first-view__title img {
  display: block;
  width: 100%;
  height: auto;
}

/* CTA */
.lp.first-view .first-view__cta {
  width: 39%;
  position: absolute;
  top: 63.2%;
  left: 13.4%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px, 1vw, 20px);
}

.lp.first-view .first-view__button {
  min-height: clamp(44px, calc(2.03vw + 36.1px), 75px);
  padding: 0.45em 1em;
  border: 2px solid #fff;
  border-radius: 7px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), 0 4px 8px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp.first-view .first-view__button:hover {
  transform: translateY(2px);
  opacity: 0.88;
}

/* 左ボタン */
.lp.first-view .first-view__button--consultation {
  background: linear-gradient(180deg, #e60024 0%, #c60725 100%);
}

/* 右ボタン */
.lp.first-view .first-view__button--document {
  background: linear-gradient(180deg, #0a60a8 0%, #00284a 100%);
}

.lp.first-view .first-view__button-small {
  font-size: clamp(9px, calc(0.56vw + 4.32px), 15px);
  font-weight: 500;
  line-height: 1.2;
}

.lp.first-view .first-view__button-main {
  font-size: clamp(13px, calc(1.11vw + 3.65px), 25px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

/* 吹き出しアイコン */
.lp.first-view .first-view__button--consultation::before {
  content: "";
  width: clamp(20px, 1.8vw, 35px);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  background-image: url("../img/icon-consultation.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 資料アイコン */
.lp.first-view .first-view__button--document::before {
  content: "";
  width: clamp(20px, 1.8vw, 35px);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  background-image: url("../img/icon-document.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* SP */
@media screen and (max-width: 840px) {
  .lp.first-view {
    max-width: none;
    aspect-ratio: 780 / 1188;
    background-image: url("../img/fv-sp-bg.webp");
    background-position: center top;
    background-size: 100% auto;
    padding: 0 14px;
  }

  .lp.first-view .first-view__copy {
    width: 24.56%;
    top: 4%;
    left: 5%;
  }

  .lp.first-view .first-view__title {
    width: 101%;
    top: 59%;
    left: 54%;
    transform: translateX(-50%);
  }

  .lp.first-view .first-view__lead {
    width: 100%;
    top: 76%;
    left: 0;
    padding-inline: 15px;
    font-size: clamp(12px, 3.5vw, 16px);
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: normal;
  }

  .lp.first-view .first-view__cta {
    width: 100%;
    top: 87%;
    transform: translateX(-50%);
    left: 50%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lp.first-view .first-view__button {
    min-height: clamp(47px, calc(5.11vw + 27.07px), 70px);
    padding: 0.4em 0.25em 0.4em 1.4em;
    border-width: 1px;
  }

  .lp.first-view .first-view__button-small {
    font-size: clamp(9px, 2.6vw, 13px);
  }

  .lp.first-view .first-view__button-main {
    font-size: clamp(14px, 4vw, 19px);
    letter-spacing: 0;
  }

  .lp.first-view .first-view__button--consultation::before,
  .lp.first-view .first-view__button--document::before {
    width: clamp(19px, calc(2.44vw + 9.47px), 30px);
    left: 8%;
  }
}
