/* =========================================================
   ASTAGE LP 2026 FV final overrides
   Version: 20260721-v92-fv-logo-white
   Scope: FV only
========================================================= */

#main .hero-fv-renewal .fv-renewal-script {
  top: 7.2% !important;
  line-height: 1.5 !important;
}

#main .hero-fv-renewal .fv-renewal-logo img {
  content: url("../images/logo-white-red.png") !important;
  display: block !important;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .32)) !important;
}

body.astage-lp .site-header .brand img {
  content: normal !important;
  display: block !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .5)) !important;
}

body.astage-lp .site-header.is-scrolled .brand img {
  content: normal !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .32)) !important;
}

#main .hero-fv-renewal .fv-renewal-logo {
  left: clamp(54px, 5.5vw, 86px) !important;
  z-index: 20 !important;
}

#main .hero-fv-renewal .fv-renewal-script span {
  line-height: inherit !important;
}

#main .hero-fv-renewal .fv-renewal-script span + span {
  margin-top: .22em !important;
}

#main .hero-fv-renewal .fv-renewal-script > .fv-script-direct,
#main .hero-fv-renewal .fv-renewal-script > .fv-script-purchase {
  display: inline !important;
}

#main .hero-fv-renewal .fv-renewal-script > .fv-script-direct + .fv-script-purchase::before {
  content: " ";
}

#main .hero-fv-renewal .fv-renewal-feature h2 {
  font-size: clamp(18px, 1.28vw, 24px) !important;
  line-height: 1.32 !important;
  letter-spacing: .045em !important;
}

#main .hero-fv-renewal .fv-renewal-feature:last-child h2 {
  font-size: clamp(16px, 1.16vw, 22px) !important;
  line-height: 1.34 !important;
}

#main .hero-fv-renewal .fv-renewal-feature p {
  font-size: clamp(12px, .82vw, 16px) !important;
  line-height: 1.46 !important;
  letter-spacing: .045em !important;
}

@media (min-width: 701px) and (max-width: 1180px) {
  #main .hero-fv-renewal .fv-renewal-logo {
    left: clamp(32px, 5vw, 64px) !important;
  }

  #main .hero-fv-renewal .fv-renewal-script {
    top: 4.4% !important;
    line-height: 1.5 !important;
  }

  #main .hero-fv-renewal .fv-renewal-script span + span {
    margin-top: .2em !important;
  }

  #main .hero.hero-new-fv.hero-fv-renewal,
  #main .hero-fv-renewal .fv-renewal-inner {
    min-height: clamp(840px, 88vw, 960px) !important;
  }

  #main .hero-fv-renewal .fv-renewal-copy {
    top: clamp(108px, 12vw, 140px) !important;
    left: clamp(32px, 5vw, 64px) !important;
    width: min(420px, 43vw) !important;
    max-width: min(420px, 43vw) !important;
  }

  #main .hero-fv-renewal .fv-renewal-title > span:first-child {
    font-size: clamp(27px, 3vw, 34px) !important;
    line-height: 1.25 !important;
  }

  #main .hero-fv-renewal .fv-renewal-title > span:nth-child(2) {
    font-size: clamp(34px, 4vw, 44px) !important;
    line-height: 1.22 !important;
  }

  #main .hero-fv-renewal .fv-renewal-lead {
    font-size: clamp(13px, 1.55vw, 15px) !important;
    line-height: 1.78 !important;
  }

  #main .hero-fv-renewal .fv-renewal-zero strong {
    font-size: clamp(82px, 9vw, 102px) !important;
  }

  #main .hero-fv-renewal .fv-renewal-zero em {
    font-size: clamp(28px, 3.3vw, 36px) !important;
  }

  #main .hero-fv-renewal .fv-renewal-assessment,
  #main .hero-fv-renewal .fv-renewal-note {
    width: min(330px, 39vw) !important;
    min-width: 0 !important;
  }

  #main .hero-fv-renewal .fv-renewal-features {
    left: clamp(32px, 5vw, 64px) !important;
    right: clamp(32px, 5vw, 64px) !important;
    bottom: clamp(28px, 4vw, 46px) !important;
    height: auto !important;
    min-height: 132px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) !important;
    column-gap: clamp(18px, 3vw, 34px) !important;
    row-gap: 0 !important;
    align-items: center !important;
    padding: clamp(14px, 2vw, 20px) clamp(18px, 3vw, 32px) !important;
    background: rgba(1, 17, 33, .72) !important;
    border-top: 1px solid rgba(215, 173, 85, .28) !important;
    box-sizing: border-box !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature-divider {
    display: block !important;
    width: 1px !important;
    height: 70% !important;
    background: rgba(255, 255, 255, .32) !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature {
    gap: clamp(10px, 1.8vw, 18px) !important;
    min-width: 0 !important;
  }

  #main .hero-fv-renewal .fv-renewal-icon {
    flex-basis: clamp(42px, 5vw, 56px) !important;
    width: clamp(42px, 5vw, 56px) !important;
    height: clamp(42px, 5vw, 56px) !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature h2 {
    font-size: clamp(14px, 1.45vw, 17px) !important;
    line-height: 1.34 !important;
    letter-spacing: .025em !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature:last-child h2 {
    font-size: clamp(13px, 1.35vw, 16px) !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature p {
    font-size: clamp(10px, 1.15vw, 12px) !important;
    line-height: 1.44 !important;
    letter-spacing: .025em !important;
  }
}

@media (max-width: 700px) {
  #main .hero-fv-renewal .fv-renewal-script {
    top: 3.8% !important;
    right: 2.8% !important;
    width: 42vw !important;
    max-width: 168px !important;
    font-size: clamp(20px, 5.4vw, 28px) !important;
    line-height: 1.48 !important;
    text-align: center !important;
    transform: rotate(-3deg) scaleX(1.02) !important;
  }

  #main .hero-fv-renewal .fv-renewal-script span + span {
    margin-top: -.02em !important;
  }

  #main .hero-fv-renewal .fv-renewal-script > .fv-script-direct,
  #main .hero-fv-renewal .fv-renewal-script > .fv-script-purchase {
    display: block !important;
  }

  #main .hero-fv-renewal .fv-renewal-script > .fv-script-direct + .fv-script-purchase::before {
    content: none !important;
  }

  #main .hero-fv-renewal .fv-renewal-script::before {
    inset: -8px -16px -8px -16px !important;
    opacity: .55 !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature h2,
  #main .hero-fv-renewal .fv-renewal-feature:last-child h2 {
    font-size: 16px !important;
    line-height: 1.34 !important;
  }

  #main .hero-fv-renewal .fv-renewal-feature p {
    font-size: 11px !important;
    line-height: 1.42 !important;
  }
}

#main .hero-fv-renewal .fv-renewal-zero em {
  margin-left: -.7em !important;
}

@media (max-width: 700px) {
  #main .hero-fv-renewal .fv-renewal-logo {
    top: 12px !important;
    left: clamp(28px, 8vw, 34px) !important;
    z-index: 20 !important;
  }
}

#main .company-intro > img,
.site-footer .footer-inner > img {
  content: url("../images/logo-white-red.png") !important;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .28)) !important;
}

/* =========================================================
   2026-07-21 V89 performance
   FVの大きな写真をPC/SP別の軽量画像に差し替え
========================================================= */

#main .hero-fv-renewal .fv-renewal-photo {
  background-image:
    linear-gradient(90deg, rgba(3, 24, 43, .5) 0%, rgba(3, 24, 43, .12) 34%, rgba(3, 24, 43, 0) 68%),
    url("../images/fv-sapporo-pc-light.webp") !important;
}

@media (max-width: 700px) {
  #main .hero-fv-renewal .fv-renewal-photo {
    background-image:
      linear-gradient(90deg, rgba(3, 24, 43, .72) 0%, rgba(3, 24, 43, .18) 36%, rgba(3, 24, 43, 0) 72%),
      url("../images/fv-sapporo-sp-light.webp") !important;
  }
}
/* Arkheテーマの通常ヘッダー・本文枠をLPでは無効化 */
body.page-template-page-astage-lp-new-fv-php,
body.page-template-page-astage-lp-new-fv-php #wrapper {
  overflow-x: hidden !important;
}

body.page-template-page-astage-lp-new-fv-php #header,
body.page-template-page-astage-lp-new-fv-php .l-header,
body.page-template-page-astage-lp-new-fv-php #footer,
body.page-template-page-astage-lp-new-fv-php .l-footer {
  display: none !important;
}

body.page-template-page-astage-lp-new-fv-php #wrapper {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-page-astage-lp-new-fv-php #content,
body.page-template-page-astage-lp-new-fv-php .l-content,
body.page-template-page-astage-lp-new-fv-php .l-content__body,
body.page-template-page-astage-lp-new-fv-php #main_content,
body.page-template-page-astage-lp-new-fv-php .l-main__body,
body.page-template-page-astage-lp-new-fv-php .p-front,
body.page-template-page-astage-lp-new-fv-php .p-front__content,
body.page-template-page-astage-lp-new-fv-php .c-postContent {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-page-astage-lp-new-fv-php #main {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.astage-lp .c-postContent > .site-footer,
body.page-template-page-astage-lp-new-fv-php .c-postContent > .site-footer {
  margin-top: 0 !important;
}
body.page-id-1809 #header,
body.page-id-1809 .l-header {
  display: none !important;
}

body.page-id-1809 #wrapper,
body.page-id-1809 #content,
body.page-id-1809 .l-content,
body.page-id-1809 .l-content__body,
body.page-id-1809 #main_content,
body.page-id-1809 .l-main__body,
body.page-id-1809 .p-front__content,
body.page-id-1809 .c-postContent {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

