/* ============================================================
   A/B テスト test 側 専用スタイル（ファーストビュー）

   lp-test.html だけが読み込む。control 側には一切影響しない。
   （style.css は control と共有しているので、そちらは触らないこと）

   クラス名に fvb- を付けているのは、style.css の .fv / .badge / .cta と
   衝突させないため。

   元案: ひとり親方com_ファーストビュー改善サンプル_2026-07-30.html（木村さん）
   スマホでの表示を前提に組み、PC 幅では中央寄せで破綻しないようにしている。
   ============================================================ */

.fvb {
  position: relative;
  min-height: 100svh;
  padding: 18px 18px 26px;
  color: #fff;
  background: #2a3844;
  overflow: hidden;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* 背景写真。全体を暗幕で沈めると印象が重くなるので、写真自体は明るめに出し、
   文字側は下の暗幕と text-shadow で読ませる。
   background-position の 40% は、390x844 で人物の顔が出る位置を実測で選んだもの。 */
.fvb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/FV2.jpeg") no-repeat 40% top;
  background-size: cover;
  filter: brightness(1.12) saturate(1.1);
}

/* 写真の上に敷く暗幕。コピーのある左ほど濃く、人物のいる右へ向けて抜く */
.fvb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(20, 31, 42, 0.6) 0%,
    rgba(22, 35, 48, 0.38) 46%,
    rgba(28, 43, 58, 0.12) 72%,
    rgba(34, 51, 68, 0) 94%
  );
}

.fvb-inner {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0 auto;
}

/* ---- ロゴ ---- */
.fvb-logo {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.fvb-logo .fvb-logo-dot {
  color: #ffd94d;
}

.fvb-logo small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 600;
  color: #cfe0d5;
  letter-spacing: 0.5px;
}

/* ---- バッジ ---- */
.fvb-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #b4232f;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

/* ---- 見出し ---- */
.fvb-title {
  width: 68%;
  margin-top: 10px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.45;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 4px 18px rgba(0, 0, 0, 0.6);
}

.fvb-title .fvb-accent {
  color: #ffd94d;
}

.fvb-sub {
  width: 66%;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: #eaf1f7;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ---- オファーカード ---- */
.fvb-offer {
  position: relative;
  margin-top: 18px;
  padding: 16px 16px 12px;
  border-radius: 14px;
  background: #fff;
  color: #1a2330;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.fvb-offer-tag {
  position: absolute;
  top: -11px;
  left: 14px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #ffd94d;
  color: #5b4400;
  font-size: 11px;
  font-weight: 800;
}

.fvb-offer-title {
  margin-top: 4px;
  font-size: 16.5px;
  line-height: 1.5;
}

.fvb-offer-title .fvb-ul {
  border-bottom: 3px solid #ffd94d;
}

.fvb-offer-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.fvb-offer-list li {
  position: relative;
  margin: 4px 0;
  padding-left: 20px;
  font-size: 12px;
  color: #33414f;
}

.fvb-offer-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: #06c755;
  font-weight: 800;
}

/* ---- CTA（LINE） ---- */
.fvb-cta {
  display: block;
  margin-top: 14px;
  padding: 15px 10px 13px;
  border-radius: 12px;
  background: #06c755;
  box-shadow: 0 4px 0 #049f44;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.fvb-cta:hover,
.fvb-cta:focus {
  background: #05b34c;
  color: #fff;
}

.fvb-cta small {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.92;
}

.fvb-micro {
  margin-top: 8px;
  font-size: 10.5px;
  color: #e6eef5;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* ---- 実績チップ ---- */
.fvb-proof {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.fvb-chip {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(20, 30, 40, 0.55);
  font-size: 10.5px;
  line-height: 1.55;
}

.fvb-chip b {
  display: block;
  font-size: 11.5px;
  color: #ffd94d;
}

.fvb-scroll {
  margin-top: 14px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ---- 小さめの端末 ---- */
@media (max-width: 360px) {
  .fvb-title {
    width: 74%;
    font-size: 24px;
  }

  .fvb-sub {
    width: 72%;
  }

  .fvb-offer-title {
    font-size: 15.5px;
  }
}

/* ---- PC 幅。スマホ想定のデザインなので中央に寄せて破綻を防ぐ ---- */
@media (min-width: 768px) {
  .fvb {
    min-height: 0;
    padding: 48px 24px 56px;
  }

  .fvb::after {
    background-position: 60% 30%;
  }

  .fvb::before {
    background: linear-gradient(
      120deg,
      rgba(22, 34, 46, 0.78) 0%,
      rgba(24, 38, 52, 0.58) 42%,
      rgba(30, 46, 62, 0.24) 72%,
      rgba(36, 54, 72, 0.06) 100%
    );
  }

  .fvb-title,
  .fvb-sub {
    width: 100%;
  }
}
