.lp.first-view {
  background-image: url(../img/fv-bg-pc.webp);
  background-position: top;
  overflow: hidden;
}

@media screen and (min-width: 1441px) {
  .lp.first-view {
    background-image: url(../img/fv-bg-large.webp);
    background-size: contain;
    background-position: right;
    max-width: 1920px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 840px) {
  .lp.first-view {
    background-image: url(../img/fv-bg-sp.webp);
    padding-top: 31px;
    background-size: cover;
    background-position: center;
  }
}

@media screen and (min-width: 431px) and (max-width: 500px) {
  .lp.first-view {
    background-size: cover;
  }
}
@media screen and (min-width: 375px) and (max-width: 430px) {
  .lp.first-view {
    background-position: top;
    background-size: contain;
  }
}

.lp.first-view .first-view__inner {
  height: 596px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 125px;
  padding-top: 61px;
  gap: 0;
}
@media screen and (min-width: 1441px) {
  .lp.first-view .first-view__inner {
    height: 655px;
    padding-left: clamp(125px, 14.6vw, 282px);
  }
}

@media screen and (min-width: 841px) and (max-width: 1024px) {
  .lp.first-view .first-view__inner {
    padding-left: clamp(25px, 12.2vw, 125px);
  }
}
@media screen and (max-width: 840px) {
  .lp.first-view .first-view__inner {
    height: clamp(655px, 95.2vw, 800px);
    padding: 0;
    justify-content: space-between;
  }
}

@media screen and (min-width: 375px) and (max-width: 390px) {
  .lp.first-view .first-view__inner {
    height: 620px;
  }
}

@media screen and (max-width: 840px) {
  .lp.first-view .first-view__text {
    padding-left: 20px;
  }
}

.lp.first-view .first-view__title {
  max-width: 454px;
  margin-bottom: clamp(4px, 1.1vw, 16px);
}
@media screen and (max-width: 840px) {
  .lp.first-view .first-view__title {
    max-width: clamp(341px, 54vw, 454px);
  }
}
.lp.first-view .first-view__lead {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: bold;
  line-height: 1.75;
  margin-bottom: clamp(16px, 1.52vw, 22px);
  font-feature-settings: "palt";
}

.lp.first-view .first-view__service-name {
  font-size: clamp(17px, 1.73vw, 25px);
  font-weight: bold;
  line-height: 1.2;
  padding-bottom: 57px;
}
.lp.first-view .first-view__cta {
  display: flex;
  gap: 13px;
  margin-bottom: 28px;
}
@media screen and (max-width: 840px) {
  .lp.first-view .first-view__cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 26px;
    margin-bottom: clamp(58px, 11.9vw, 100px);
  }
}
@media screen and (min-width: 375px) and (max-width: 390px) {
  .lp.first-view .first-view__cta {
    margin-bottom: 80px;
  }
}

.lp.first-view .first-view__button {
  font-size: clamp(16px, 1.31vw, 19px);
  font-weight: bold;
  line-height: 1;
  border-radius: 100vw;
  display: inline-block;
  padding: 1.2em 2.2em 1.2em 2em;
  position: relative;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 840px) {
  .lp.first-view .first-view__button {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

.lp.first-view .first-view__button--balloon::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 9%;
  display: block;
  width: 11px;
  height: 11px;
  transform: translateY(-50%) rotate(45deg);
}
.lp.first-view .first-view__button--balloon::before {
  content: "";
  position: absolute;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  left: 50%;
  height: 34px;
  top: -20px;
  transform: translateX(-50%);
}
.lp.first-view .first-view__button--document {
  background: linear-gradient(90deg, #ec7730 0%, #ec5630 100%);
  color: #fff;
}
.lp.first-view .first-view__button--document::after {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.lp.first-view .first-view__button--document::before {
  width: 195px;
  background-image: url(../img/fv-cta-document-microcopy.webp);
}
.lp.first-view .first-view__button--trial {
  background-color: #3e88ed;
  color: #ffef5f;
}
.lp.first-view .first-view__button--trial::after {
  border-top: 2px solid #ffef5f;
  border-right: 2px solid #ffef5f;
}
.lp.first-view .first-view__button--trial::before {
  width: 151px;
  background-image: url(../img/fv-cta-trial-microcopy-pc.webp);
}

@media screen and (max-width: 840px) {
  .lp.first-view .first-view__button--trial::before {
    width: 195px;
    background-image: url(../img/fv-cta-trial-microcopy-sp.webp);
  }
}
.lp.first-view .first-view__emblem {
  max-width: clamp(400px, 38.5vw, 555px);
}
@media screen and (max-width: 840px) {
  .lp.first-view .first-view__emblem {
    display: none;
  }
}
.lp.first-view .first-view__detail {
  position: absolute;
  left: 82px;
  bottom: 27px;
  /* max-width: 619px; */
  max-width: clamp(400px, 42.9vw, 619px);
  font-size: 10px;
  margin-top: 31px;
  line-height: 1.7;
}

@media screen and (min-width: 1441px) {
  .lp.first-view .first-view__detail {
    left: clamp(82px, 14.6vw, 282px);
    max-width: clamp(555px, 32.3vw, 619px);

    bottom: 48px;
  }
}

@media screen and (max-width: 840px) {
  .lp.first-view .first-view__detail {
    display: none;
  }
}
.lp.first-view .first-view__device {
  position: absolute;
  right: 106px;
  bottom: 0;
  max-width: clamp(380px, 38.5vw, 555px);
}
@media screen and (min-width: 1441px) {
  .lp.first-view .first-view__device {
    max-width: clamp(555px, 32.8vw, 630px);
    right: clamp(106px, 9.37vw, 180px);
    bottom: 22px;
  }
}
@media screen and (min-width: 1281px) and (max-width: 1350px) {
  .lp.first-view .first-view__device {
    right: 80px;
  }
}
@media screen and (min-width: 1191px) and (max-width: 1280px) {
  .lp.first-view .first-view__device {
    right: 50px;
  }
}

@media screen and (min-width: 1081px) and (max-width: 1190px) {
  .lp.first-view .first-view__device {
    right: 20px;
  }
}
@media screen and (min-width: 841px) and (max-width: 1080px) {
  .lp.first-view .first-view__device {
    right: 0;
  }
}

@media screen and (max-width: 840px) {
  .lp.first-view .first-view__device {
    bottom: auto;
    max-width: clamp(253px, 66vw, 555px);
    right: clamp(-81px, 11.9vw, -100px);
    top: clamp(20px, 9.6vw, 81px);
  }
}
@media screen and (min-width: 501px) and (max-width: 767px) {
  .lp.first-view .first-view__device {
    top: 107px;
  }
}
@media screen and (max-width: 500px) {
  .lp.first-view .first-view__device {
    top: 117px;
  }
}

.function__item:nth-child(3) .function__button {
  position: relative;
}
