@charset "utf-8";
/* =========================================================
   TOP ファーストビュー（カードレイアウト）
   左に大きなビジュアル、右に2枚のカードを積む構成
   使用箇所: common/inc/top/mv-06.html
   ========================================================= */

.fv-f {
  --gap: 16px;
  --radius: 14px;
  /* ヘッダー（padding16 + バー66）と自身の上下 padding を引いて画面の高さに収める。
     低い画面で潰れないよう下限を持たせる。dvh 非対応は前者にフォールバック */
  --fv-h: max(560px, calc(100vh - 154px));
  --fv-h: max(560px, calc(100dvh - 154px));
  padding: 16px 16px 56px;
  background: #eff3f9;
}

.fv-f__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr);
  gap: var(--gap);
  max-width: 1392px;
  margin: 0 auto;
}

/* =========================================================
   左：メインビジュアル
   ========================================================= */
.fv-f__hero {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: var(--fv-h);
  background: #0d1526;
  text-decoration: none;
  isolation: isolate;
}

/* 親は min-height だけで height:auto のため、height:100% は解決されない。
   四辺を固定して枠に一致させないと object-fit のトリミングが起きず、
   object-position が効かなくなる */
/* top.css の `.p-dhk-top img { height:auto }` が詳細度(0,1,1)で勝ってしまうため、
   こちらも2クラスにして上書きする。これを外すと object-position が効かなくなる */
.fv-f .fv-f__hero-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  /* img は置換要素なので height:100% が親の min-height に解決されない。
     高さを実数で与えないと object-fit のトリミングが起きず object-position が無効になる */
  height: var(--fv-h);
  object-fit: cover;
  object-position: 50% 23%;
  transition: transform 1.2s cubic-bezier(.2, .7, .3, 1);
}

.fv-f__hero:hover .fv-f__hero-img {
  transform: scale(1.035);
}

/* 下半分を沈ませて文字を読ませる */
.fv-f__hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, .52) 46%,
    rgba(255, 255, 255, .86) 70%,
    rgba(255, 255, 255, .96) 100%);
}

.fv-f__hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: var(--fv-h);
  padding: 48px 56px 44px;
}

.fv-f__ttl {
  font-size: clamp(4rem, 3.6vw, 5.6rem);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: .02em;
  color: #30395e;
  /* 背景の写真が細かいので、白い光彩で文字を浮かせる */
  text-shadow:
    0 0 18px rgba(255, 255, 255, .9),
    0 0 44px rgba(255, 255, 255, .7);
}

.fv-f__hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
}

/* 行ごとに背景を敷いて白抜きにする（角丸なし） */
.fv-f__read {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: .04em;
}

/* 1行につき1つの帯。inline-block にしないと clip-path が効かない */
.fv-f__read-in {
  display: table;
  padding: 7px 18px;
  background: rgba(48, 57, 94, .92);
  color: #fff;
}

.fv-f__read-in + .fv-f__read-in {
  margin-top: 6px;
}

/* ローディング中は隠しておき、明けた合図で左から伸ばす。
   JS が動かないときは is-loading が付かないので、そのまま表示される */
.is-loading .fv-f__read-in {
  clip-path: inset(0 100% 0 0);
}

.is-ready .fv-f__read-in {
  clip-path: inset(0 100% 0 0);
  animation: fvReadIn .85s cubic-bezier(.22, .72, .24, 1) forwards;
}

.is-ready .fv-f__read-in:nth-child(2) {
  animation-delay: .16s;
}

@keyframes fvReadIn {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.fv-f__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid rgba(15, 26, 61, .32);
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #0f1a3d;
  transition: background .24s, border-color .24s, color .24s;
}

.fv-f__hero:hover .fv-f__btn {
  background: #0f1a3d;
  border-color: #0f1a3d;
  color: #fff;
}

/* =========================================================
   右：2枚のカード
   ========================================================= */
.fv-f__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap);
  min-width: 0;
}

.fv-f__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1020;
  text-decoration: none;
  isolation: isolate;
}

.fv-f .fv-f__card-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .3, 1);
}

.fv-f__card:hover .fv-f__card-img {
  transform: scale(1.05);
}

.fv-f__card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, .72) 72%,
    rgba(255, 255, 255, .94) 100%);
}

/* カード中央のロゴ */
.fv-f .fv-f__card-logo {
  position: absolute;
  z-index: 1;
  top: 42%;
  left: 50%;
  width: 54%;
  max-width: 268px;
  height: auto;
  transform: translate(-50%, -50%);
}

.fv-f__card-body {
  position: absolute;
  z-index: 1;
  right: 128px;
  bottom: 28px;
  left: 32px;
}

.fv-f__label {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(15, 26, 61, .62);
}

.fv-f__card-ttl {
  margin-top: 8px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  color: #0f1a3d;
}

.fv-f__card-btn {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0f1a3d;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  transition: background .24s;
}

.fv-f__card:hover .fv-f__card-btn {
  background: #2c56f7;
}

/* =========================================================
   実績バッジ（グリッドの下）
   ========================================================= */
.fv-f__badges {
  container-type: inline-size;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 2.2cqw;
  row-gap: 12px;
  max-width: 1392px;
  margin: 28px auto 0;
  padding: 0 8px;
}

.fv-f__badge {
  position: relative;
  flex: 0 0 auto;
  width: 26em;
  min-height: 8.6em;
  padding: 0 3.9em;
  font-size: 9px; /* cqw 非対応ブラウザ向けフォールバック */
  font-size: min(1.1cqw, 9px);
  line-height: 1;
  text-align: center;
  color: #1e2a8a;
}

.fv-f__badge::before,
.fv-f__badge::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3.1em;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.fv-f__badge::before {
  left: 0;
  background-image: url("/common/img/top/fv/laurel-l.svg");
}

.fv-f__badge::after {
  right: 0;
  background-image: url("/common/img/top/fv/laurel-r.svg");
}

.fv-f__badge-lead {
  display: block;
  padding-top: .2em;
  font-size: 2em;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
}

.fv-f__badge-num {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: .1em;
  font-size: 5em;
  font-weight: 900;
  letter-spacing: -.01em;
}

.fv-f__badge-unit {
  padding-bottom: .06em;
  font-size: .48em;
}

.fv-f__badge-sub {
  width: 1em;
  padding-bottom: .28em;
  margin-left: .06em;
  font-size: .24em;
  line-height: 1.15;
  text-align: left;
}

.fv-f__badge-ast {
  align-self: flex-start;
  padding-top: .2em;
  font-size: .3em;
}

.fv-f__badge-note {
  flex: 1 1 300px;
  min-width: 0;
  margin-left: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #8a93a6;
}

/* =========================================================
   〜1200px
   ========================================================= */
@media print, screen and (max-width: 1200px) {
  .fv-f__hero-body {
    padding: 40px 40px 36px;
  }
  .fv-f__card-body {
    right: 116px;
    left: 24px;
  }
  .fv-f .fv-f__card-logo {
    width: 58%;
    max-width: 216px;
  }
  .fv-f__card-ttl {
    font-size: 1.5rem;
  }
}

/* =========================================================
   〜960px：縦積み。カードは横2列に並べる
   ========================================================= */
@media print, screen and (max-width: 960px) {
  /* 縦積みになるので画面いっぱいをやめ、固定の高さに戻す */
  .fv-f {
    --fv-h: 520px;
    padding: 12px 12px 44px;
  }
  .fv-f__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fv-f__side {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
  .fv-f__card {
    min-height: 210px;
  }
  .fv-f__badges {
    column-gap: 3cqw;
  }
  .fv-f__badge {
    font-size: min(1.9cqw, 9px);
  }
  .fv-f__badge-note {
    flex-basis: 100%;
    margin-left: 0;
  }
}

/* =========================================================
   SP
   ========================================================= */
@media print, screen and (max-width: 767px) {
  .fv-f {
    --gap: 10px;
    --radius: 12px;
    --fv-h: 460px;
    padding: 10px 10px 36px;
  }
  .fv-f__hero-body {
    padding: 28px 24px 26px;
  }
  /* SPは見出しが人物に重なるので、白の霞みを早めに立ち上げる */
  .fv-f__hero::after {
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 18%,
      rgba(255, 255, 255, .74) 46%,
      rgba(255, 255, 255, .96) 100%);
  }
  .fv-f .fv-f__hero-img {
    object-position: 50% 18%;
  }
  .fv-f__ttl {
    font-size: 3rem;
    line-height: 1.38;
  }
  .fv-f__hero-foot {
    display: block;
    margin-top: 20px;
  }
  .fv-f__read {
    font-size: 1.3rem;
  }
  .fv-f__br {
    display: none;
  }
  .fv-f__btn {
    display: flex;
    width: 100%;
    margin-top: 18px;
  }
  .fv-f__side {
    grid-template-columns: minmax(0, 1fr);
  }
  .fv-f__card {
    min-height: 168px;
  }
  .fv-f__card-body {
    right: 108px;
    bottom: 22px;
    left: 22px;
  }
  .fv-f__card-ttl {
    font-size: 1.5rem;
  }
  .fv-f__card-btn {
    right: 20px;
    bottom: 22px;
    min-width: 78px;
    height: 36px;
  }
  .fv-f__badges {
    column-gap: 3cqw;
    margin-top: 22px;
  }
  .fv-f__badge {
    font-size: min(1.62cqw, 9px);
  }
  .fv-f__badge-note {
    font-size: .9rem;
  }
}

/* =========================================================
   【一時】実績バッジと注釈を非表示にする
   戻すときはこのブロックごと削除する
   ========================================================= */
.fv-f__badges {
  display: none;
}

.fv-f {
  padding-bottom: 16px;
}

/* =========================================================
   導入企業ロゴの帯（既存 .p-sponsor）
   1行 → 2行（上下で流れる向きが逆）にし、1行あたりを低くする
   ※ top.css 本体は触らず、このプレビュー側で上書きしている
   ========================================================= */
.p-sponsor {
  height: auto;
  padding-block: 14px;
}

/* 1行用トラックを止め、2行用トラック（既存のSP用マークアップ）を使う */
.p-sponsor__track--pc {
  display: none;
}

.p-sponsor__tracks-sp {
  display: grid;
  row-gap: 10px;
}

.p-sponsor__logo {
  max-height: 40px;
}

.p-sponsor__logo--toppan {
  max-height: 17px;
}

.p-sponsor__logo--duskin {
  max-height: 28px;
}

@media print, screen and (max-width: 767px) {
  .p-sponsor {
    padding-block: 10px;
  }
  .p-sponsor__track--pc {
    display: none;
  }
  .p-sponsor__tracks-sp {
    display: grid;
    row-gap: 8px;
  }
  .p-sponsor__logo {
    max-height: 28px;
  }
  .p-sponsor__logo--toppan {
    max-height: 13px;
  }
  .p-sponsor__logo--duskin {
    max-height: 20px;
  }
}
