@charset "UTF-8";
/*
 * CM LP（/lp/office/・/lp/cm-office-1〜4,6〜10/）のファーストビューと CTA（2026-11 改修）
 * 各ページの index-cm*.css の後に読み込む（cm-office-9・10 は style.css より前）
 * Figma: toB TOP コーディング用 / Section A〜D・Section CTA
 *
 * ファーストビューは section に付けたクラスで切り替える
 *   --type-a … office, cm-office-1〜3（Section A）
 *   --type-b … cm-office-4, 7, 8（Section B）
 *   --type-c … cm-office-6（Section C。--type-b と併用し、色だけ変える）
 *   --type-d … cm-office-9, 10（Section D）
 *   --no-headline … スマホの見出し（150万人以上…）を出さない（cm-office-4, 7〜10）
 * 数値は 1920px 幅のデザインの px ÷ 16（スマホは 375px 幅のデザインの px ÷ 16）
 */

/* =========================================================
 * 共通
 * ========================================================= */
.section-firstview-fact--image03 img {
  /* SVG に影が含まれているので、既存の drop-shadow は付けない */
  -webkit-filter: none;
  filter: none;
}

.section-firstview-visual__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* B・D のスマホでだけ出す「150万人以上の登録者から即日採用」 */
.section-firstview-headline {
  display: none;
}

/* =========================================================
 * ファーストビュー Section A
 * ========================================================= */
.section-firstview--type-a .section-firstview-container {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  height: 50.25em;
  padding: 11.25em 6.25em 3.75em 6.25em;
}

.section-firstview--type-a .section-firstview-bgimg {
  top: auto;
  right: 5em;
  bottom: .875em;
  width: 45.5625em;
}

.section-firstview--type-a .section-firstview-maincopy {
  margin-top: 0;
}

.section-firstview--type-a .section-firstview-fact {
  grid-template-columns: 15.5em 15.625em 23.625em;
  -webkit-column-gap: 1.6875em;
  -moz-column-gap: 1.6875em;
  column-gap: 1.6875em;
  width: 58.125em;
  margin-top: 1.25em;
}

.section-firstview--type-a .section-firstview-fact__item:nth-of-type(1),
.section-firstview--type-a .section-firstview-fact__item:nth-of-type(2) {
  padding-bottom: .625em;
}

.section-firstview--type-a .section-firstview-cta {
  /* ボタンを Figma の大きさ（500 × 96px）にそろえるため 0.84 倍にする。上の余白は 60px */
  font-size: .84em;
  margin-top: 4.4643em;
}

@media screen and (max-width: 767px) {
  .section-firstview--type-a .section-firstview-container {
    height: auto;
    padding: 4em .875em 1.875em .875em;
  }

  .section-firstview--type-a .section-firstview-bgimg {
    top: 9em;
    right: auto;
    bottom: auto;
    left: calc(50% - 9.65625em);
    width: 19.3125em;
  }

  .section-firstview--type-a .section-firstview-fact {
    grid-template-columns: 5.625em 5.625em 9.125em;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    width: 100%;
    margin: 17.875em 0 0 0;
  }

  .section-firstview--type-a .section-firstview-fact__item:nth-of-type(1),
  .section-firstview--type-a .section-firstview-fact__item:nth-of-type(2) {
    padding-bottom: .28125em;
  }

  .section-firstview--type-a .section-firstview-cta {
    font-size: 1em;
    margin-top: 1.875em;
  }
}

/* =========================================================
 * ファーストビュー Section B・C・D（共通部分）
 * ========================================================= */
.section-firstview--type-b .section-firstview-content,
.section-firstview--type-d .section-firstview-content {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 0;
}

.section-firstview--type-b .section-firstview-fact,
.section-firstview--type-d .section-firstview-fact {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  width: 100%;
  margin: 0;
}

.section-firstview--type-b .section-firstview-maincopy__text,
.section-firstview--type-d .section-firstview-maincopy__text {
  white-space: nowrap;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .05em;
  text-shadow: .0652em .0652em 0 rgba(0, 0, 0, .25);
}

.fv-color__white .section-firstview--type-c .section-firstview-maincopy__text {
  text-shadow: none;
}

.section-firstview--type-b .section-firstview-topics,
.section-firstview--type-d .section-firstview-topics {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  width: auto;
}

.section-firstview--type-b .section-firstview-visual,
.section-firstview--type-d .section-firstview-visual {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.section-firstview--type-b .section-firstview-visual__image,
.section-firstview--type-d .section-firstview-visual__image {
  width: 100%;
}

.section-firstview--type-b .section-firstview-attention,
.section-firstview--type-d .section-firstview-attention {
  width: 97.4%;
  padding: 0;
}

.section-firstview--type-b .section-firstview-attention__image,
.section-firstview--type-d .section-firstview-attention__image {
  position: static;
  width: 100%;
}

.section-firstview--type-b .section-firstview-attention__image img,
.section-firstview--type-d .section-firstview-attention__image img {
  -webkit-filter: none;
  filter: none;
}

/* =========================================================
 * ファーストビュー Section B・C（本文｜モニター｜フォーム）
 * ========================================================= */
.section-firstview--type-b {
  --fv-form-width: 36.25em;
}

.section-firstview--type-b .section-firstview-container {
  grid-template-columns: 39.8963em 36.25em var(--fv-form-width);
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-column-gap: 1.3019em;
  -moz-column-gap: 1.3019em;
  column-gap: 1.3019em;
  padding: 8.125em 2.5em 2.5em 2.5em;
}

.section-firstview--type-b .section-firstview-content {
  row-gap: 2.5em;
}

.section-firstview--type-b .section-firstview-fact {
  grid-template-columns: 9.7732em 1fr;
  -webkit-column-gap: 1.2063em;
  -moz-column-gap: 1.2063em;
  column-gap: 1.2063em;
  row-gap: 1.0406em;
}

.section-firstview--type-b .section-firstview-fact__item:nth-of-type(2) {
  padding-bottom: .394em;
}

.section-firstview--type-b .section-firstview-maincopy__text {
  font-size: 3.3725em;
}

.section-firstview--type-b .section-firstview-topics {
  grid-template-columns: repeat(3, 11.9534em);
  -webkit-column-gap: .7712em;
  -moz-column-gap: .7712em;
  column-gap: .7712em;
}

.section-firstview--type-b .section-firstview-topic__text-01 {
  font-size: 1.5832em;
}

.section-firstview--type-b .section-firstview-topic__text-02--num {
  font-size: 6.0684em;
}

.section-firstview--type-b .section-firstview-topic__text-02--unit {
  font-size: 2.5951em;
}

/* モニター（列 580px）：画像は 560px で左寄せ、「まずは資料をダウンロード」は 603px で左に 36px はみ出す */
@media screen and (min-width: 768px) {
  .section-firstview--type-b .section-firstview-visual {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .section-firstview--type-b .section-firstview-visual__image {
    width: 96.5517%;
  }

  .section-firstview--type-b .section-firstview-attention {
    width: 103.9135%;
    margin-top: .357em;
    margin-left: -6.2256%;
  }
}

/*
 * cm-office-8（フォームが 1100px 以上で 400px 固定）
 * Figma の余白（左右 40px・列の間 20.83px）にそろえ、フォームが細くなった分は本文とモニターを大きくして埋める
 * 本文＋モニターの幅 ＝ 100vw − 左右 5em − 列の間 2.6038em − 400px（html は 0.8333vw）＝ 93.6635vw − 400px（デザインでは 76.1463em）
 */
@media screen and (min-width: 1100px) {
  .section-firstview--type-b:has(.section-firstview-form--type-02) {
    --fv-form-width: 400px;
  }

  .section-firstview--type-b:has(.section-firstview-form--type-02) .section-firstview-container {
    grid-template-columns: minmax(0, 39.8963fr) minmax(0, 36.25fr) var(--fv-form-width);
  }

  .section-firstview--type-b:has(.section-firstview-form--type-02) .section-firstview-container__item:first-child,
  .section-firstview--type-b:has(.section-firstview-form--type-02) .section-firstview-visual {
    /* 1920px を超えるとコンテナ（最大 1920px）と html の文字サイズが止まるので、1920px のときの値で止める */
    font-size: calc((93.6635vw - 400px) / 76.1463);
    font-size: min((93.6635vw - 400px) / 76.1463, 18.3631px);
  }
}

/*
 * 768px 以上：FV の高さは本文とモニターで決め、フォームが長いときは FV の下にはみ出させる
 * はみ出すのは導入事例のロゴの帯まで。「受賞歴・採択歴」に届く分はフォームの中でスクロールさせる（max-height は幅ごとに下で指定）
 */
@media screen and (min-width: 768px) {
  .section-firstview--type-b {
    z-index: 2;
    overflow: visible;
  }

  .section-firstview--type-b .section-firstview-container__item:last-child {
    -ms-flex-item-align: start;
    align-self: start;
    height: 0;
  }

  .section-firstview--type-b .section-firstview-container__item:last-child > .section-firstview-form {
    /* index-cm*.css の min-height（40em）が max-height より優先されるので外す */
    min-height: 0;
    overflow-y: auto;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
  }
}

/*
 * 1100px 以上：フォームの上端から受賞歴の上端まで（10px 手前で止める）
 *   4・6・7 … 50.25rem（html の文字サイズに比例）
 *   8       … 本文とモニターの倍率が違うので 1100px で 426px、1920px で 894px（≒ 57.07vw − 201.8px。1920px で止める）
 */
@media screen and (min-width: 1100px) {
  .section-firstview--type-b .section-firstview-container__item:last-child > .section-firstview-form {
    max-height: calc(50.25rem - 10px);
  }

  .section-firstview--type-b .section-firstview-container__item:last-child > .section-firstview-form--type-02 {
    max-height: calc(57.07vw - 211.8px);
    max-height: min(57.07vw - 211.8px, 884px);
  }
}

/*
 * 768〜1099px：縦 2 段にせず「本文｜モニター｜フォーム（38%）」の 1 段のまま縮める
 * 本文＋モニターの幅 ＝ 95vw − フォーム 36.1vw − 列の間 4vw ＝ 54.9vw（デザインでは 76.1463em）
 */
@media screen and (min-width: 768px) and (max-width: 1099px) {
  .section-firstview--type-b {
    font-size: 1.3vw;
  }

  .section-firstview--type-b .section-firstview-container {
    grid-template-columns: minmax(0, 39.8963fr) minmax(0, 36.25fr) 38%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: 2vw;
    -moz-column-gap: 2vw;
    column-gap: 2vw;
    height: auto;
    padding: 7.5vw 2.5vw 3.125vw 2.5vw;
  }

  .section-firstview--type-b .section-firstview-container__item:first-child,
  .section-firstview--type-b .section-firstview-visual {
    font-size: .721vw;
  }

  /* フォームの上端から受賞歴の上端まで：768px で 281px、1099px で 415px（≒ 40.48vw − 30px）。10px 手前で止める */
  .section-firstview--type-b .section-firstview-container__item:last-child > .section-firstview-form {
    max-height: calc(40.48vw - 40px);
  }
}

/* =========================================================
 * ファーストビュー Section D（本文｜モニター。フォームは右の固定欄）
 * 文字サイズの基準は style.css でメイン幅（100vw − 400px）÷ 120 になっている
 * Figma は 1920px 幅の左 1520px（右 400px はフォーム想定）なので、
 * 1520px をメイン幅いっぱいに広げるよう 1920 / 1520 倍にする
 * ========================================================= */
.section-firstview--type-d .section-firstview-container {
  font-size: 1.2632em;
  grid-template-columns: 42.77em 37.79em;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  align-content: start;
  -webkit-column-gap: 3.37em;
  -moz-column-gap: 3.37em;
  column-gap: 3.37em;
  height: 47.3125em;
  padding: 6.25em 3.5625em 1.6875em 7.5em;
}

.section-firstview--type-d .section-firstview-content {
  font-size: 1em;
  row-gap: 1.612em;
}

.section-firstview--type-d .section-firstview-fact {
  grid-template-columns: 10.46em 1fr;
  -webkit-column-gap: 1.294em;
  -moz-column-gap: 1.294em;
  column-gap: 1.294em;
  row-gap: 1.116em;
}

.section-firstview--type-d .section-firstview-fact__item:nth-of-type(2) {
  padding-bottom: .4185em;
}

.section-firstview--type-d .section-firstview-maincopy__text {
  font-size: 3.6157em;
}

.section-firstview--type-d .section-firstview-topics {
  grid-template-columns: repeat(3, 12.805em);
  -webkit-column-gap: .826em;
  -moz-column-gap: .826em;
  column-gap: .826em;
}

.section-firstview--type-d .section-firstview-topic__text-01 {
  font-size: 1.696em;
}

.section-firstview--type-d .section-firstview-topic__text-02--num {
  font-size: 6.5009em;
}

.section-firstview--type-d .section-firstview-topic__text-02--unit {
  font-size: 2.78em;
}

.section-firstview--type-d .section-firstview-attention {
  margin-top: -.9375em;
}

/* 「まずは資料をダウンロード」：右のフォームが出ない幅（1079px 以下）はページ下部のフォームへ移動する */
.section-firstview-attention__link {
  display: block;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
}

@media (hover: hover) {
  .section-firstview-attention__link:hover {
    opacity: .8;
  }
}

/* 1080px 以上は右にフォームが出ているので押せなくする */
@media screen and (min-width: 1080px) {
  .section-firstview-attention__link {
    pointer-events: none;
  }
}

/* style.css は 768〜1921px で FV の高さと上の余白を画面幅から決めているので、元の値に戻す */
@media screen and (min-width: 768px) and (max-width: 1921px) {
  .section-firstview--type-d .section-firstview-container {
    height: 47.3125em;
    padding-top: 6.25em;
  }
}

/* 1080〜1180px はヘッダーが高くなる（メイン幅 × 0.107）ので、その分（5.22em）中身を下げる */
@media screen and (min-width: 1080px) and (max-width: 1180px) {
  .section-firstview--type-d .section-firstview-container {
    height: 52.53em;
    padding-top: 11.47em;
  }
}

/* =========================================================
 * ファーストビュー Section B・C・D のスマホ
 * ========================================================= */
@media screen and (max-width: 767px) {
  .section-firstview--type-b .section-firstview-container,
  .section-firstview--type-d .section-firstview-container {
    font-size: 1em;
    grid-template-columns: 100%;
    grid-template-areas: none;
    height: auto;
    padding: 4em .875em 1.875em .875em;
  }

  .section-firstview--type-b .section-firstview-content,
  .section-firstview--type-d .section-firstview-content {
    font-size: 1em;
    row-gap: .875em;
    padding-bottom: 1.25em;
  }

  .section-firstview--type-b .section-firstview-headline,
  .section-firstview--type-d .section-firstview-headline {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: .375em;
    -moz-column-gap: .375em;
    column-gap: .375em;
    position: relative;
    width: 100%;
    margin: 0;
    color: #fff;
  }

  .section-firstview-headline__num {
    display: block;
    position: relative;
    -webkit-font-feature-settings: "palt" on;
    font-feature-settings: "palt" on;
    font-family: Poppins;
    font-size: 5em;
    font-weight: 700;
    line-height: 77%;
    letter-spacing: -.0300429185em;
  }

  .section-firstview-headline__text {
    display: block;
    position: relative;
    white-space: nowrap;
    text-align: justify;
    -webkit-font-feature-settings: "palt" on;
    font-feature-settings: "palt" on;
    font-size: 1.625em;
    font-weight: 900;
    line-height: 130%;
    letter-spacing: .02em;
  }

  .section-firstview-headline__notes {
    position: absolute;
    right: 0;
    bottom: -1.0185185185em;
    font-size: .4074074074em;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: .05em;
  }

  .section-firstview--type-b .section-firstview-visual,
  .section-firstview--type-d .section-firstview-visual {
    position: absolute;
    top: 9em;
    left: calc(50% - 9.65625em);
    width: 19.3125em;
  }

  .section-firstview--type-c .section-firstview-visual {
    top: 4.125em;
  }

  /* 見出し（150万人以上…）を出さないページ（cm-office-4, 7〜10）は Section C と同じ位置にする */
  .section-firstview--no-headline .section-firstview-visual {
    top: 4.125em;
  }

  /* 後に書いた --type-b・--type-d の margin（17em）より優先させるため、--type-b・--type-d と重ねて指定する */
  .section-firstview--type-b.section-firstview--no-headline .section-firstview-fact,
  .section-firstview--type-d.section-firstview--no-headline .section-firstview-fact {
    margin-top: 17.875em;
  }

  .section-firstview--type-b .section-firstview-attention,
  .section-firstview--type-d .section-firstview-attention {
    display: none;
  }

  .section-firstview--type-b .section-firstview-fact,
  .section-firstview--type-d .section-firstview-fact,
  .fv-color__white .section-firstview--type-b .section-firstview-fact {
    grid-template-columns: 5.625em 5.625em 9.125em;
    grid-template-rows: auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
    row-gap: 0;
    /* 見出しの下からの距離（286px − 行間 14px） */
    margin: 17em 0 0 0;
  }

  /* Section C は見出しがないので、コンテナの上から 286px */
  .fv-color__white .section-firstview--type-c .section-firstview-fact {
    margin-top: 17.875em;
  }

  .section-firstview--type-b .section-firstview-fact__item:nth-of-type(1),
  .section-firstview--type-b .section-firstview-fact__item:nth-of-type(2),
  .section-firstview--type-d .section-firstview-fact__item:nth-of-type(1),
  .section-firstview--type-d .section-firstview-fact__item:nth-of-type(2) {
    padding-bottom: .28125em;
  }

  .section-firstview--type-b .section-firstview-fact__item:nth-of-type(1),
  .section-firstview--type-d .section-firstview-fact__item:nth-of-type(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .section-firstview--type-b .section-firstview-fact__item:nth-of-type(2),
  .section-firstview--type-d .section-firstview-fact__item:nth-of-type(2) {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .section-firstview--type-b .section-firstview-fact__item:nth-of-type(3),
  .section-firstview--type-d .section-firstview-fact__item:nth-of-type(3) {
    grid-column: 3/4;
    grid-row: 1/2;
  }

  .section-firstview--type-b .section-firstview-maincopy,
  .section-firstview--type-d .section-firstview-maincopy {
    margin-top: .375em;
  }

  .section-firstview--type-b .section-firstview-maincopy__text,
  .section-firstview--type-d .section-firstview-maincopy__text {
    font-size: 1.957em;
  }

  .section-firstview--type-b .section-firstview-topics,
  .section-firstview--type-d .section-firstview-topics {
    grid-template-columns: repeat(3, 6.931em);
    -webkit-column-gap: .447em;
    -moz-column-gap: .447em;
    column-gap: .447em;
  }

  .section-firstview--type-b .section-firstview-topic__text-01,
  .section-firstview--type-d .section-firstview-topic__text-01 {
    font-size: .918em;
  }

  .section-firstview--type-b .section-firstview-topic__text-02--num,
  .section-firstview--type-d .section-firstview-topic__text-02--num {
    font-size: 3.519em;
  }

  .section-firstview--type-b .section-firstview-topic__text-02--unit,
  .section-firstview--type-d .section-firstview-topic__text-02--unit {
    font-size: 1.505em;
  }
}

/* =========================================================
 * ファーストビューのフォーム（Section B・C の cm-office-4・6・7。cm-office-11 は cm-office-11.css で同じ指定）
 * .section-firstview-form の中に同じクラスの #hubspot-form が入っているので、
 * 背景は不透明の白にし、影は外側の箱だけにする
 * ========================================================= */
.section-firstview--type-b .section-firstview-form:has(> #hubspot-form),
.section-firstview--type-b #hubspot-form {
  background: rgba(255, 255, 255, 1);
}

.section-firstview--type-b #hubspot-form {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* =========================================================
 * CTA セクションのカイクマ（Section CTA）
 * PC：右端からの距離と幅。下端は帯の下端にそろえる
 * cm-office-9・10 の 768〜1921px と 1080〜1180px は style.css で上書きする
 * ========================================================= */
.section-cta-bear picture,
.section-cta-bear img {
  display: block;
  width: 100%;
  height: auto;
}

/* 帯の高さを Figma に合わせる（ボタン 1 つ：300px、見出し＋ボタン 2 つ：400px） */
@media screen and (min-width: 768px) {
  .section-cta-01-container,
  .section-cta-02-container {
    padding-top: 5em;
    padding-bottom: 5em;
  }

  .section-cta-03-container {
    padding-top: 3.125em;
    padding-bottom: 2.8125em;
  }

  .section-cta-03-heading-02 {
    grid-template-columns: 8.5em 1fr;
  }

  .section-cta-03-list {
    margin-top: 3.75em;
  }
}

/* 画像は Figma の書き出し範囲（帯の下端で切れている）。width ＝ 書き出しの幅（01・04・05 は PC で 0.88 倍）、margin-right ＝ 1920 − 右端 */
.section-cta-bear--01 {
  width: 19.91em;
  margin-right: 19.6081em;
}

.section-cta-bear--03 {
  width: 19.875em;
  margin-right: 17.9188em;
}

.section-cta-bear--04 {
  width: 22.22em;
  margin-right: 19.7056em;
}

.section-cta-bear--05 {
  width: 20.35em;
  margin-right: 16.95em;
}

.section-cta-bear--06 {
  width: 23.3125em;
  margin-right: 14.65em;
}

@media screen and (max-width: 767px) {
  /* ボタン 1 つの帯：ボタンの上に顔を出す */
  .section-cta-bear--01 {
    top: -1.9063em;
    bottom: auto;
    left: calc(50% - 5.5469em);
    width: 9.85em;
    margin-right: 0;
  }

  .section-cta-bear--04 {
    top: -2.3794em;
    bottom: auto;
    left: calc(50% - 5.9969em);
    width: 10.7625em;
    margin-right: 0;
  }

  .section-cta-bear--05 {
    top: -2.4438em;
    bottom: auto;
    left: calc(50% - 4.69em);
    width: 10.6426em;
    margin-right: 0;
  }

  /* 見出し＋ボタン 2 つの帯：ボタンの下に置く（06 は Figma では下が 7px 切れているが、帯は切り取らないので下端にそろえる） */
  .section-cta-bear--03 {
    bottom: 0;
    left: calc(50% - 5.3106em);
    width: 10.6531em;
    margin-right: 0;
  }

  .section-cta-bear--06 {
    bottom: 0;
    left: calc(50% - 6.4963em);
    width: 13.8831em;
    margin-right: 0;
  }

  .section-cta-03-container {
    padding-bottom: 13.75em;
  }
}
