﻿/* =========================================================
  FV / ファーストビュー
  ---------------------------------------------------------
  このCSSは、FV専用のレイアウト・装飾です。
  色・角丸・影・横幅などは common.css の :root 変数を使います。
========================================================= */


/* =========================================================
  FV / ファーストビュー：中央コピー型
  ---------------------------------------------------------
  画面中央にコピー・CTA・信頼要素を配置するFVです。
  背景画像の上に文字を置くため、
  可読性を保つオーバーレイを重ねます。
========================================================= */


/* ---------------------------------------------------------
  FV全体
  ---------------------------------------------------------
  position: relative;
  背景画像・オーバーレイ・本文を重ねるために指定します。

  overflow: hidden;
  背景画像や装飾がはみ出した時に切ります。
--------------------------------------------------------- */
.fv-center {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 120px 0 96px;
  background: var(--color-bg-soft);
}


/* ---------------------------------------------------------
  背景画像エリア
  ---------------------------------------------------------
  FV全体に敷く背景ビジュアルです。
  HTML上は画像を置いていますが、装飾扱いに近いです。
--------------------------------------------------------- */
.fv-center__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}


/* ---------------------------------------------------------
  背景画像
  ---------------------------------------------------------
  object-fit: cover;
  画像をFV全体にきれいに敷き詰めます。
--------------------------------------------------------- */
.fv-center__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------------------------------------------------------
  背景オーバーレイ
  ---------------------------------------------------------
  背景画像の上に白っぽい膜をかけ、
  文字を読みやすくします。
--------------------------------------------------------- */
.fv-center::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(252, 254, 254, 0.88) 0%,
      rgba(252, 254, 254, 0.78) 45%,
      rgba(252, 254, 254, 0.9) 100%
    );
}


/* ---------------------------------------------------------
  背景の薄い装飾
  ---------------------------------------------------------
  画像がない時でもFVが寂しくならないように、
  ほんのり色のグラデーションを重ねます。
--------------------------------------------------------- */
.fv-center::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 30%, rgba(95, 195, 184, 0.16), transparent 36%),
    radial-gradient(circle at 15% 80%, rgba(31, 122, 122, 0.08), transparent 30%);
  pointer-events: none;
}


/* ---------------------------------------------------------
  FV内側
  ---------------------------------------------------------
  コピー・ボタン・信頼要素を中央に配置します。
  z-indexで背景より前面に出します。
--------------------------------------------------------- */
.fv-center__inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
}


/* ---------------------------------------------------------
  補足ラベル
  ---------------------------------------------------------
  common.css の .c-label をベースに、
  中央FV用に少しだけ余白と背景を調整します。
--------------------------------------------------------- */
.fv-center__label {
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 122, 122, 0.12);
}


/* ---------------------------------------------------------
  メインコピー
  ---------------------------------------------------------
  中央コピー型の主役です。
  かなり大きくして、最初に視線を集めます。
--------------------------------------------------------- */
.fv-center__title {
  color: var(--color-text);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
}


/* ---------------------------------------------------------
  リードコピー
  ---------------------------------------------------------
  メインコピーの下に置く補足文です。
  長くしすぎず、2行程度に収めるときれいです。
--------------------------------------------------------- */
.fv-center__lead {
  margin-top: 28px;
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 2;
}


/* ---------------------------------------------------------
  CTAボタンエリア
  ---------------------------------------------------------
  メインボタンとサブボタンを横並びにします。
  PCでは中央に2つ並べるとバランスが良いです。
--------------------------------------------------------- */
.fv-center__buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 44px;
}


/* ---------------------------------------------------------
  FV内ボタン
  ---------------------------------------------------------
  common.css の .c-btn を使いつつ、
  このFVでは少し横幅を広めにします。
--------------------------------------------------------- */
.fv-center__btn {
  min-width: 260px;
  gap: 14px;
}


/* ---------------------------------------------------------
  ボタン矢印
  ---------------------------------------------------------
  CTAの「進む」印象を出すための矢印です。
--------------------------------------------------------- */
.fv-center__btn-arrow {
  font-size: 1.1em;
  line-height: 1;
}


/* ---------------------------------------------------------
  信頼・補足要素エリア
  ---------------------------------------------------------
  導入社数・継続率・満足度などを横並びで表示します。
  FV下部で安心感を補強する役割です。
--------------------------------------------------------- */
.fv-center__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 0;
  width: min(100%, 720px);
  margin-top: 54px;
  padding: 22px 0;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 122, 122, 0.10);
  box-shadow: var(--shadow-card);
}


/* ---------------------------------------------------------
  信頼要素1つ分
  ---------------------------------------------------------
  アイコン・ラベル・数値を縦に並べます。
  2つ目以降に区切り線を入れます。
--------------------------------------------------------- */
.fv-center__trust-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 24px;
  text-align: center;
}

.fv-center__trust-item + .fv-center__trust-item {
  border-left: 1px solid rgba(31, 122, 122, 0.12);
}


/* ---------------------------------------------------------
  信頼要素アイコン
  ---------------------------------------------------------
  今は絵文字で仮置きしています。
  実案件ではSVGアイコンに差し替えると安定します。
--------------------------------------------------------- */
.fv-center__trust-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-main);
  font-size: 1.35rem;
}


/* ---------------------------------------------------------
  信頼要素ラベル
  ---------------------------------------------------------
  「導入社数」「継続率」などの項目名です。
--------------------------------------------------------- */
.fv-center__trust-label {
  color: var(--color-text-light);
  font-size: 0.86rem;
  font-weight: 700;
}


/* ---------------------------------------------------------
  信頼要素の数値
  ---------------------------------------------------------
  一番見せたい数字です。
  strongタグにして、意味的にも強調します。
--------------------------------------------------------- */
.fv-center__trust-value {
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}


/* ---------------------------------------------------------
  PCだけ表示する改行
  ---------------------------------------------------------
  <br class="u-pc"> の制御用です。
--------------------------------------------------------- */
.u-pc {
  display: inline;
}
/* =========================================================
   Variation B：チェックリストレイアウト / PC
========================================================= */

/* セクション全体 */
.problem-b {
  background: var(--color-bg-soft);
}

/* 見出し下の説明文 */
.problem-b__lead {
  margin-top: 12px;
  color: var(--color-text-light);
  font-size: 0.98rem;
}

/* ラベル中央配置 */
.problem-b__label-wrap {
  margin-bottom: 22px;
  text-align: center;
}

/* チェックリスト全体 */
.problem-b__list {
  display: grid;
  gap: 16px;
  width: min(100%, 720px);
  margin: 34px auto 0;
  padding: 36px 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

/* チェックリスト1行 */
.problem-b__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 14px;
}

/* チェックアイコン */
.problem-b__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border: 1px solid var(--color-main);
  border-radius: 5px;
  color: var(--color-main);
  font-size: 0.85rem;
  font-weight: 700;
}

/* チェックリスト本文 */
.problem-b__text {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* CTAエリア */
.problem-b__cta {
  margin-top: 30px;
  text-align: center;
}

/* CTAリンク */
.problem-b__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--color-main);
  color: var(--color-main);
  font-weight: 700;
}

/* 矢印 */
.problem-b__link-arrow {
  font-size: 1.2em;
  line-height: 1;
}
/* =========================================================
   Variation B：番号ステップ型 / PC
========================================================= */

/* セクション全体 */
.reason-b {
  background: var(--color-bg-soft);
}

/* 小見出しラベル */
.reason-b__label {
  margin-bottom: 18px;
}

/* 見出し */
.reason-b__heading {
  margin-bottom: 48px;
}

/* タイトル */
.reason-b__title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.4;
  font-weight: 700;
}

/* リード文 */
.reason-b__lead {
  margin-top: 18px;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.9;
}

/* ステップ全体 */
.reason-b__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

/* 各ステップ */
.reason-b-step {
  position: relative;
  text-align: center;
}

/* ステップ同士をつなぐ点線 */
.reason-b-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(50% + 56px);
  width: calc(100% - 70px);
  border-top: 2px dashed var(--color-border);
}

/* 番号丸 */
.reason-b-step__number {
  position: absolute;
  top: 34px;
  left: calc(50% - 66px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 700;
}

/* アイコン丸 */
.reason-b-step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-main);
  font-size: 2rem;
  font-weight: 700;
}

/* ステップタイトル */
.reason-b-step__title {
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

/* ステップ本文 */
.reason-b-step__text {
  width: min(100%, 260px);
  margin-inline: auto;
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}
/* =========================================================
   Variation B：サービス内容をカードで紹介 / PC
========================================================= */

/* セクション全体 */
.price-b {
  background: var(--color-bg-soft);
}

/* 上部ラベル群 */
.price-b__top-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

/* Variation B ラベル */
.price-b__variation-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
}

/* 左テキスト + 右カード */
.price-b__inner {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  align-items: center;
  gap: 48px;
}

/* 左側テキスト */
.price-b__content {
  min-width: 0;
}

/* 見出し */
.price-b__title {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  line-height: 1.45;
  font-weight: 700;
}

/* リード文 */
.price-b__lead {
  margin-top: 22px;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.9;
}

/* 左側リンク群 */
.price-b__links {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  justify-items: start;
}

/* メインリンク */
.price-b__main-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-white);
  color: var(--color-text);
  font-weight: 700;
}

/* サブリンク */
.price-b__sub-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--color-main);
  color: var(--color-main);
  font-weight: 700;
}

/* サービスカード3列 */
.price-b__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* サービスカード */
.price-b-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px 22px 18px;
  text-align: center;
}

/* アイコン丸 */
.price-b-card__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(95, 195, 184, 0.16);
  color: var(--color-main);
  font-size: 1.7rem;
  font-weight: 700;
}

/* カードタイトル */
.price-b-card__title {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 700;
}

/* カード説明 */
.price-b-card__text {
  min-height: 58px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* 機能リスト */
.price-b-card__list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  text-align: left;
}

/* リスト1行 */
.price-b-card__list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text);
  font-size: 0.9rem;
}

/* チェックマーク */
.price-b-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-main);
  font-weight: 700;
}

/* カード下部ボタン */
.price-b-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}
/* =========================================================
   Variation B：縦並びステップ・タイムライン / PC
========================================================= */

/* セクション全体 */
.flow-b {
  background: var(--color-bg-soft);
}

/* 見出し下の説明文 */
.flow-b__lead {
  margin-top: 12px;
  color: var(--color-text-light);
  font-size: 0.98rem;
}

/* 上部ラベル群 */
.flow-b__top-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

/* Variation B ラベル */
.flow-b__variation-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
}

/* タイムライン全体 */
.flow-b__timeline {
  position: relative;
  display: grid;
  gap: 0;
  width: min(100%, 860px);
  margin-inline: auto;
}

/* 番号をつなぐ縦ライン */
.flow-b__timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 24px;
  width: 2px;
  background: var(--color-border);
}

/* ステップ1行 */
.flow-b__item {
  position: relative;
  display: grid;
  grid-template-columns: 50px 88px 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

/* ステップ間の区切り線 */
.flow-b__item:not(:last-child) {
  border-bottom: 1px dashed var(--color-border);
}

/* 左の丸数字 */
.flow-b__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-main);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-main);
  font-size: 1.35rem;
  font-weight: 700;
}

/* アイコン枠 */
.flow-b__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-white);
  color: var(--color-main);
  font-size: 1.8rem;
}

/* テキストエリア */
.flow-b__content {
  min-width: 0;
}

/* ステップ見出し */
.flow-b__title {
  margin-bottom: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

/* ステップ本文 */
.flow-b__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}
/* =========================================================
   Variation B：2カラムQ&Aカード / PC
========================================================= */

/* セクション全体 */
.faq-b {
  background: var(--color-bg-soft);
}

/* 見出し下の説明文 */
.faq-b__lead {
  margin-top: 12px;
  color: var(--color-text-light);
  font-size: 0.98rem;
}

/* 上部ラベル群 */
.faq-b__top-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

/* Variation B ラベル */
.faq-b__variation-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
}

/* FAQカードを2列に並べる */
.faq-b__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* FAQカード本体 */
.faq-b-card {
  display: grid;
  gap: 16px;
  padding: 26px;
}

/* Q行 / A行の共通レイアウト */
.faq-b-card__row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
}

/* Q/Aアイコン */
.faq-b-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-main);
  font-weight: 700;
  line-height: 1;
}

/* Aアイコンだけ少し薄くする */
.faq-b-card__icon--answer {
  background: var(--color-white);
}

/* 質問タイトル */
.faq-b-card__question {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
}

/* 回答文 */
.faq-b-card__answer {
  color: var(--color-text-light);
  font-size: 0.94rem;
  line-height: 1.85;
}
/* =========================================================
   Variation B：画像＋フォームの分割CTA / PC
========================================================= */

/* セクション全体 */
.cta-b {
  background: var(--color-bg-soft);
}

/* 見出し下の説明文 */
.cta-b__lead {
  margin-top: 12px;
  color: var(--color-text-light);
  font-size: 0.98rem;
}

/* 上部ラベル群 */
.cta-b__top-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

/* Variation B ラベル */
.cta-b__variation-label {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
}

/* 画像 + フォームの2カラム本体 */
.cta-b__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

/* 左の画像エリア */
.cta-b__visual {
  min-height: 480px;
  border-right: 1px solid var(--color-border);
}

/* 実画像を入れる場合 */
.cta-b__img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

/* 仮画像枠 */
.cta-b__placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 480px;
  padding: 40px;
  background:
    linear-gradient(to top right, transparent 49.7%, var(--color-border) 50%, transparent 50.3%),
    linear-gradient(to bottom right, transparent 49.7%, var(--color-border) 50%, transparent 50.3%),
    var(--color-bg-soft);
  color: var(--color-text-light);
  text-align: center;
}

/* 仮画像アイコン */
.cta-b__placeholder-icon {
  display: block;
  margin-bottom: 14px;
  color: var(--color-main);
  font-size: 3.2rem;
}

/* 右側フォームエリア */
.cta-b__form-area {
  padding: 44px 48px;
}

/* フォーム見出し */
.cta-b__form-title {
  text-align: center;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.45;
  font-weight: 700;
}

/* フォーム説明文 */
.cta-b__form-lead {
  margin-top: 10px;
  color: var(--color-text-light);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* フォーム本体 */
.cta-b-form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

/* フォーム1行 */
.cta-b-form__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 16px;
}

/* ラベル */
.cta-b-form__label {
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 700;
}

/* 入力欄共通 */
.cta-b-form__input,
.cta-b-form__textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: #ffffff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}

/* input */
.cta-b-form__input {
  height: 44px;
  padding: 0 14px;
}

/* textarea */
.cta-b-form__textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

/* placeholder */
.cta-b-form__input::placeholder,
.cta-b-form__textarea::placeholder {
  color: #a9b4b4;
}

/* 送信ボタン */
.cta-b-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 320px);
  min-height: 54px;
  margin: 14px auto 0;
  border: none;
  border-radius: var(--radius-s);
  background: var(--color-main);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

/* 注意書き */
.cta-b-form__note {
  color: var(--color-text-light);
  text-align: center;
  font-size: 0.82rem;
}