/*
 * MAIN hero / diagonal gradient variation (2026-08-15)
 * 1920 × 994px の既存ステージと viewport scale の仕組みは維持する。
 * グローバルナビゲーションには一切影響させない。
 */

.fv4ref,
.fv4ref-stage {
  height: 994px;
  background: linear-gradient(100deg, #061d48 0%, #0b3a7c 56%, #0754a8 82%, #031b48 100%);
}

.fv4ref-stage {
  --fv-guide-left-stage: 350px;
  --fv-guide-right-stage: 1570px;
}

.fv4ref-main {
  position: absolute;
  inset: 0 0 auto;
  width: 1920px;
  height: 705px;
  overflow: hidden;
  background-color: #071e49;
  background-image: url("hero-light-trails-background-v2-20260815.png");
  background-repeat: no-repeat;
  background-position: center 80%;
  background-size: cover;
  box-shadow: none;
}

.fv4ref-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
  background: url("hero-white-cutout-20260815.svg") 50% 0 / 1920px 705px no-repeat;
}

.fv4ref-main::after {
  content: none !important;
  display: none !important;
}

.fv4ref-navy {
  display: none !important;
}

/* 対応業種：追加済みの「買取専門店」を含め、元の横幅内へ収める。 */
.fv4ref-industry-nav {
  left: var(--fv-guide-left-stage);
  top: 48px;
  z-index: 12;
  width: 552px;
  height: 58px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
}

.fv4ref-industry-nav::after {
  left: 0;
  bottom: -13px;
  width: 592px;
  height: 2px;
  opacity: .46;
  background: linear-gradient(90deg, transparent 0%, #1658a0 16%, #1e8fc9 64%, transparent 100%);
}

.fv4ref-industry-nav a {
  font-size: 15px;
  letter-spacing: .01em;
  border-color: rgba(22, 88, 160, .38);
}

.fv4ref-industry-nav a:nth-child(1) { width: 126px; }
.fv4ref-industry-nav a:nth-child(2) { width: 140px; font-size: 14px; }
.fv4ref-industry-nav a:nth-child(3) { width: 62px; }
.fv4ref-industry-nav a:nth-child(4) { width: 56px; }
.fv4ref-industry-nav a:nth-child(5) { width: 56px; }
.fv4ref-industry-nav a:nth-child(6) { width: 112px; font-size: 14px; }

/* 左コピー：現行のゴシックルールを保ち、参照カンプのジャンプ率へ合わせる。 */
.fv4ref-copy {
  left: calc(var(--fv-guide-left-stage) + 6px);
  top: 0;
  z-index: 6;
  width: 720px;
  height: 405px;
  color: #0e3d72;
}

.fv4ref-lead {
  left: 0;
  top: 132px;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .055em;
}

.fv4ref-copy h1 {
  left: -6px;
  top: 195px;
  z-index: 2;
  align-items: flex-end;
  color: #0e3d72;
  line-height: .98;
  letter-spacing: -.045em;
}

.fv4ref-copy h1 span {
  /* background-clip:text の字面が低い環境でも下端を切らない描画余白。 */
  padding: 0 .08em 12px 0;
  margin: 0 -.08em -12px 0;
  color: transparent;
  font-size: 158px;
  font-weight: 900;
  letter-spacing: -.07em;
  background: linear-gradient(180deg, #1658a0 0%, #0a4b9d 48%, #0e3d72 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}

.fv4ref-copy h1 small {
  margin: 0 0 12px 24px;
  color: #0e3d72;
  font-size: 70px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.fv4ref-copy-line {
  left: -24px;
  top: 326px;
  z-index: 1;
  width: 418px;
  height: 33px;
  opacity: .82;
  background: url("hero-kaitetsu-swash-light-v1-delivery-64a56ac644.webp") center / 100% 100% no-repeat;
  clip-path: none;
  filter: none;
}

/* POS帯＋公式ロゴ */
.fv4ref-product {
  left: var(--fv-guide-left-stage);
  top: 0;
  z-index: 8;
  width: 610px;
  height: 540px;
  color: #0e3d72;
}

.fv4ref-product-sub {
  left: 0;
  top: 389px;
  width: 418px;
  height: 48px;
  padding: 0 22px;
  gap: 9px;
  border-radius: 5px;
  background: linear-gradient(105deg, #0e3d72 0%, #1658a0 78%, #1e8fc9 132%);
  box-shadow: 0 8px 18px -12px rgba(5, 38, 82, .7), inset 0 1px rgba(255,255,255,.23);
}

.fv4ref-product-sub .jp {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .055em;
}

.fv4ref-product-sub strong {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: .04em;
}

.fv4ref-product-row {
  left: 0;
  top: 452px;
  width: 570px;
  padding: 0;
  align-items: flex-end;
  justify-content: flex-start;
}

.fv4ref-product-logo {
  width: 289px;
  height: auto;
}

.fv4ref-product-ruby {
  margin: 0 0 17px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
}

/* 支給透過PNG。素材内の影を活かし、CSS影は重ねない。 */
.fv4ref-tablet {
  display: block !important;
  left: calc(var(--fv-guide-right-stage) - 820px);
  top: 38px;
  z-index: 4;
  width: 820px;
  max-width: none;
  height: auto;
  filter: none;
}

/* 実績サークル */
.fv4ref-badges {
  left: calc(var(--fv-guide-right-stage) - 556px);
  top: 511px;
  z-index: 10;
  gap: 26px;
}

.fv4ref-badge {
  width: 168px;
  height: 168px;
  border: 4px solid transparent;
  padding: 13px;
  background:
    radial-gradient(circle at 50% 37%, #fff 0%, #fbfdff 60%, #f0f5fa 100%) padding-box,
    linear-gradient(145deg, #d9ebf8 0%, #1658a0 44%, #1e8fc9 74%, #edf7fc 100%) border-box;
  box-shadow: 0 12px 22px -13px rgba(3, 33, 76, .58), 0 0 0 3px rgba(255,255,255,.65);
}

.fv4ref-badge::after {
  content: none;
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 112px;
  height: 27px;
  transform: translateX(-50%);
  background: url("hero-badge-laurel-20260815.svg") center / contain no-repeat;
  pointer-events: none;
}

.fv4ref-badge.is-subsidy::after { content: none; }

.fv4ref-badge .t1 {
  font-size: 14px;
  line-height: 1.28;
  color: #0e3d72;
}

.fv4ref-badge .t2 {
  margin-top: 3px;
  color: #0e3d72;
  font-size: 51px;
  line-height: .88;
}

.fv4ref-badge .t2 small { font-size: 17px; }
.fv4ref-badge .t3 { margin-top: 3px; color: #0e3d72; font-size: 13px; }
.fv4ref-badge:nth-child(2) .t2 { font-size: 46px; }
.fv4ref-badge.is-subsidy .t1 { font-size: 12.5px; }
.fv4ref-badge.is-subsidy img { width: 70px; margin-top: 5px; }

/* 企業ロゴ帯：先方指定どおりスクロール面をヒーロー幅100%で通す。 */
.fv4ref-logo-card.logo-slider-sec {
  box-sizing: border-box;
  left: 0;
  top: 705px;
  z-index: 12;
  width: 1920px;
  height: 164px;
  padding: 16px 0 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.fv4ref-logo-card .logo-lead { margin: 0 0 10px; gap: 20px; }
.fv4ref-logo-card .logo-lead span { font-size: 25px; letter-spacing: .05em; }
.fv4ref-logo-card .logo-lead::before,
.fv4ref-logo-card .logo-lead::after {
  color: #1658a0;
  font-size: 24px;
}

.fv4ref-logo-card .logo-scroll-wrapper {
  width: 100%;
  height: 82px;
  margin: 0;
  border-color: #e5ebf1;
  border-right: 0;
  border-left: 0;
}

.fv4ref-logo-card .logo-item {
  width: 202px;
  height: 80px;
  padding: 6px 0;
}

.fv4ref-logo-card .logo-item img { max-width: 78%; max-height: 74%; }

/* 4機能帯：FVと同じ光跡背景へ濃紺の可読性レイヤーを重ね、連続感を出す。 */
.fv4ref-functions {
  box-sizing: border-box;
  left: 0;
  top: 869px;
  z-index: 11;
  width: 1920px;
  height: 125px;
  padding: 0;
  background-color: #071e49;
  background-image:
    linear-gradient(100deg,
      rgba(4, 23, 61, .86) 0%,
      rgba(6, 48, 107, .72) 43%,
      rgba(8, 84, 158, .64) 73%,
      rgba(4, 23, 59, .88) 100%),
    url("hero-light-trails-background-v2-20260815.png");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, center 92%;
  background-size: 100% 100%, cover;
}

.fv4ref-functions-card {
  box-sizing: border-box;
  height: 125px;
  padding: 0 80px;
  background: transparent;
}

.fv4ref-function {
  gap: 24px;
  padding: 0 35px;
}

.fv4ref-function:not(:last-child)::after {
  top: 24px;
  height: 77px;
  border-right: 1px solid rgba(255,255,255,.72);
}

.fv4ref-function-icon {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.fv4ref-function img,
.fv4ref-function:nth-child(2) img,
.fv4ref-function:nth-child(3) img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  clip-path: none;
  transform: none;
}

.fv4ref-function:nth-child(4) img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  clip-path: inset(0 23% 0 0);
  transform: translateX(7px);
}

.fv4ref-function strong {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .01em;
}

.fv4ref-function p { display: none; }
