@charset "UTF-8";
/* =========================================================
   FMcare LP コンテンツ部分 /  Figma: FMcare Claude (261:81)
   ※ ヘッダー・フッターはサイト共通（include/）を使用。
   ※ 既存の style.css / Bootstrap と干渉しないよう .fmcare-lp 配下に限定
   ========================================================= */

:root {
  --purple: #8462b0;
  --ink: #26242e;
  --sub: #54515f;
  --lav: #f6efff;
  --tint: #f8f4fd;
  --white: #fff;
  --gray-bar: #78777f;
  --line: #b3b3bd;
  --step-mid: #ececef;
  --step-customer: #edf5ff;
  --step-tu: #f8f4ff;
  --gradient: linear-gradient(122deg, #9c69ff, #b965fe 52.1%, #e79cff);
  --font-jp:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  --font-en: "Inter", var(--font-jp);
  --container: 1200px;
}

.fmcare-lp {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.fmcare-lp *,
.fmcare-lp *::before,
.fmcare-lp *::after {
  box-sizing: border-box;
}
.fmcare-lp img {
  /* max-width: 100%; */
  height: auto;
  display: block;
}
.fmcare-lp a {
  color: inherit;
  text-decoration: none;
}
.fmcare-lp h1,
.fmcare-lp h2,
.fmcare-lp h3,
.fmcare-lp h4,
.fmcare-lp p,
.fmcare-lp ul,
.fmcare-lp ol {
  margin: 0;
  padding: 0;
  font-family: var(--font-jp);
  color: inherit;
}
.fmcare-lp ul,
.fmcare-lp ol {
  list-style: none;
}
.fmcare-lp em {
  font-style: normal;
  color: #933fdb;
}
/* テンプレート共通の section { padding:60px 0 } を打ち消し、各セクションで個別に指定 */
.fmcare-lp section {
  overflow: visible;
}
/* サイト共通ヘッダーが position:fixed（高さ70px）のため、アンカー移動時の余白を確保 */
.fmcare-lp [id] {
  scroll-margin-top: 90px;
}
/* スマホだけで改行する <br class="sp-br"> */
.fmcare-lp .sp-br {
  display: none;
}

.fmcare-lp .fmc-container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 共通セクション ---------- */
.fmcare-lp .section {
  padding: 120px 0;
}
.fmcare-lp .section--tint {
  background: var(--tint);
}
.fmcare-lp .section__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 64px;
}
.fmcare-lp .section__title em {
  font-weight: 700;
}

/* ---------- トップコピー ---------- */
.fmcare-lp .top-copy {
  padding: 150px 24px 0;
}
/* ページの一番大きな見出し。ロゴを1行目、コピーを2行目に置き、左端を揃えて中央に配置
   （文字はFVやカードの見出し40pxより大きい48px、ロゴは文字幅に合わせる） */
.fmcare-lp .top-copy__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: fit-content;
  margin: 0 auto;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.4;
}
.fmcare-lp .top-copy__logo {
  width: 580px;
}
.fmcare-lp .top-copy__title em {
  font-weight: 700;
}

/* ---------- ファーストビュー ---------- */
/* 横幅・下の余白は「01 困りごと」のカード（幅1200px／間隔32px）に揃える */
.fmcare-lp .fv {
  padding: 50px 24px 32px;
}
.fmcare-lp .fv__card {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  background: var(--lav);
}
.fmcare-lp .fv__scene {
  width: 100%;
}
/* 見出しは「01 困りごと」のカード見出しと同じ文字サイズ・太さ
   PC・タブレット：1行・左寄せ（左に余白）／スマホ：2行・中央揃え */
.fmcare-lp .fv__headline {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  padding: 0 15%;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

/* ---------- 01 困りごと ---------- */
.fmcare-lp .trouble {
  padding-top: 0;
}
.fmcare-lp .trouble__cards {
  display: grid;
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  ); /* 中身が大きくても列幅を広げない */
  gap: 32px;
}
.fmcare-lp .trouble-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 56px 40px 0px;
  border-radius: 32px;
  background: var(--lav);
  min-width: 0; /* 追加 */
}
.fmcare-lp .trouble-card__img {
  height: min(420px, 36vw); /* 2枚とも同じ高さ。画面が狭いと小さくなる */
  width: auto;
  max-width: 100%; /* カードからはみ出さない */
  object-fit: contain; /* 幅で縮んでも縦横比を保つ */
  margin-top: auto; /* イラストをカードの下端に揃える */
}
.fmcare-lp .trouble-card__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.fmcare-lp .trouble__solve {
  margin-top: 56px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.fmcare-lp .trouble__solve em {
  font-weight: 700;
}

/* ---------- 02 調査ステップ ---------- */
.fmcare-lp .steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fmcare-lp .step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 24px 36px;
  border-radius: 28px;
  background: var(--white);
}
.fmcare-lp .step-card__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* お問い合わせボタンと同じグラデーション */
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.fmcare-lp .step-card__name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.fmcare-lp .step-card__img {
  width: 230px;
  height: 150px;
}
.fmcare-lp .step-card__sub {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.5;
  text-align: center;
}
.fmcare-lp .step-card__list,
.fmcare-lp .step-card__desc {
  align-self: stretch;
  font-size: 14px;
  line-height: 1.75;
}
.fmcare-lp .step-card__list {
  font-weight: 500;
}
.fmcare-lp .step-card__list li {
  padding-left: 1em;
  text-indent: -1em;
}
.fmcare-lp .step-card__list li::before {
  content: "●";
}
.fmcare-lp .step-card__desc {
  color: var(--sub);
}

/* ---------- 03 調査の流れ ---------- */
.fmcare-lp .flow .section__title {
  margin-bottom: 56px;
}
/* 「FMcare」ロゴ（fmcare_logo2.svg）を入れた見出し：調査の流れ／紹介動画 */
.fmcare-lp .section__title--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.fmcare-lp .brand-logo {
  width: auto;
  height: 40px;
}

.fmcare-lp .flow__diagram {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  gap: 24px;
}
.fmcare-lp .flow__bar {
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  padding: 24px 0;
}
.fmcare-lp .flow__bar span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.1em;
}
.fmcare-lp .flow__bar--customer {
  background: var(--gray-bar);
}
.fmcare-lp .flow__bar--tu {
  background: var(--purple);
}

.fmcare-lp .flow__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fmcare-lp .flow__row {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  align-items: center;
}
.fmcare-lp .flow__step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.fmcare-lp .flow__step--both {
  background: var(--step-mid);
}
.fmcare-lp .flow__step--customer {
  background: var(--step-customer);
}
.fmcare-lp .flow__step--tu {
  background: var(--step-tu);
}
.fmcare-lp .flow__step--detail {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 22px 24px;
}
.fmcare-lp .flow__detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
}
.fmcare-lp .flow__step--detail ul {
  font-size: 15px;
  color: var(--sub);
  line-height: 1.75;
}
.fmcare-lp .flow__step--detail li::before {
  content: "● ";
}
.fmcare-lp .flow__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.fmcare-lp .flow__arrow {
  position: relative;
  height: 2px;
  margin: 0 12px;
  background: var(--line);
}
.fmcare-lp .flow__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  border: 6px solid transparent;
  transform: translateY(-50%);
}
.fmcare-lp .flow__arrow--right::after {
  right: -2px;
  border-left: 10px solid var(--line);
  border-right: 0;
}
.fmcare-lp .flow__arrow--left::after {
  left: -2px;
  border-right: 10px solid var(--line);
  border-left: 0;
}

.fmcare-lp .price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 56px;
}
.fmcare-lp .price__person {
  width: 120px;
  height: 240px;
}
.fmcare-lp .price__body {
  text-align: center;
  padding-bottom: 24px;
}
.fmcare-lp .price__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
}
.fmcare-lp .price__value {
  margin: 8px 0;
  line-height: 1.2;
}
.fmcare-lp .price__num {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 700;
}
.fmcare-lp .price__unit {
  font-size: 22px;
  font-weight: 700;
}
.fmcare-lp .price__note {
  font-size: 15px;
  color: var(--sub);
}

/* ---------- 04 サポートプラン ---------- */
.fmcare-lp .plans .section__title {
  margin-bottom: 56px;
}
.fmcare-lp .plans__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.fmcare-lp .plan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 48px 56px;
  border-radius: 32px;
  background: var(--white);
}
.fmcare-lp .plan-card__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.fmcare-lp .plan-card__title em {
  font-weight: 700;
  margin-right: 1em;
}
.fmcare-lp .plan-card__img {
  width: 420px;
  height: 220px;
}
.fmcare-lp .plan-card__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--sub);
}

/* ---------- お問い合わせ ---------- */
.fmcare-lp .contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 120px 24px 60px;
  text-align: center;
}
.fmcare-lp .contact__partner {
  width: 367px;
}
.fmcare-lp .contact__title {
  font-size: 28px;
  font-weight: 900;
}
.fmcare-lp .btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--gradient);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.fmcare-lp .btn-gradient:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  color: var(--white);
}
.fmcare-lp .contact__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}
.fmcare-lp .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid var(--purple);
  background: var(--white);
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.fmcare-lp .btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-1px);
}

/* ---------- 動画 ---------- */
.fmcare-lp .movie {
  padding: 120px 0 0;
}
.fmcare-lp .movie .section__title {
  margin-bottom: 40px;
}
.fmcare-lp .movie__frame {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.fmcare-lp .movie__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fmcare-lp .credit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  font-size: 10px;
  line-height: 1.7;
  color: #73737f;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1100px) {
  /* 枠が小さくなる分、見出しを少し上げてイラストと重ならないように */
  .fmcare-lp .fv__headline {
    top: 32px;
    padding-left: 40px;
  }
  .fmcare-lp .plan-card__title em {
    display: block;
    margin-right: 0;
  }
  .fmcare-lp .steps__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .fmcare-lp .flow__row {
    grid-template-columns: 1fr 80px 1fr;
  }
  .fmcare-lp .flow__row > .flow__step--both {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .fmcare-lp .flow__row > .flow__step--both ~ .flow__arrow,
  .fmcare-lp .flow__row > .flow__arrow:first-child {
    display: none;
  }
}

@media (max-width: 768px) {
  .fmcare-lp .section {
    padding: 72px 0;
  }
  /* 困りごとはFVの直下に続くため上余白なし（.section の指定を上書き） */
  .fmcare-lp .trouble {
    padding-top: 0;
  }
  .fmcare-lp .section__title {
    font-size: 22px;
    margin-bottom: 40px;
  }
  .fmcare-lp .trouble__solve {
    font-size: 22px;
    margin-top: 40px;
  }
  .fmcare-lp .section__title--logo {
    gap: 6px 10px;
  }
  .fmcare-lp .brand-logo {
    height: 24px;
  }
  /* 固定ヘッダー（70px）の下にロゴが隠れないように */
  .fmcare-lp .top-copy {
    padding-top: 104px;
  }
  .fmcare-lp .top-copy__title {
    gap: 6px;
    font-size: 22px;
  }
  .fmcare-lp .top-copy__logo {
    width: 260px;
  }
  .fmcare-lp .fv {
    padding: 32px 24px 20px;
  }
  .fmcare-lp .fv__card {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
  }
  /* スマホでは見出しをイラストに重ねず、上に置く */
  .fmcare-lp .fv__headline {
    position: static;
    order: -1;
    padding: 40px 24px 0;
    font-size: 26px;
    text-align: center;
  }
  .fmcare-lp .fv__headline em {
    display: block;
  }
  .fmcare-lp .trouble__cards,
  .fmcare-lp .plans__cards,
  .fmcare-lp .steps__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .fmcare-lp .trouble-card {
    padding: 40px 24px 0px;
    gap: 24px;
    border-radius: 24px;
  }
  .fmcare-lp .trouble-card__title {
    font-size: 26px;
  }
  .fmcare-lp .trouble-card__img {
    height: 240px;
  }

  .fmcare-lp .flow__diagram {
    grid-template-columns: 1fr;
  }
  .fmcare-lp .flow__bar {
    display: none;
  }
  .fmcare-lp .flow__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fmcare-lp .flow__row > .flow__step {
    grid-column: auto;
    grid-row: auto;
  }
  .fmcare-lp .flow__arrow {
    display: none;
  }
  /* 担当ラベル（お客様／TU）。両者で行う 1・4・7 は「お客様」上段、「TU」下段 */
  .fmcare-lp .flow__step--customer::after,
  .fmcare-lp .flow__step--tu::after,
  .fmcare-lp .flow__step--both::after {
    margin-left: auto;
    flex: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    text-align: right;
  }
  .fmcare-lp .flow__step--customer::after {
    content: "お客様";
    color: var(--gray-bar);
  }
  .fmcare-lp .flow__step--tu::after {
    content: "TU";
    color: var(--purple);
  }
  .fmcare-lp .flow__step--both::after {
    content: "お客様\A TU";
    white-space: pre;
    /* 1行目（お客様）をグレー、2行目（TU）を紫に塗り分け */
    background: linear-gradient(
      to bottom,
      var(--gray-bar) 50%,
      var(--purple) 50%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  /* 4（調査打ち合わせ）は縦組みのため、ラベルを右上に固定 */
  .fmcare-lp .flow__step--detail {
    position: relative;
  }
  .fmcare-lp .flow__step--detail::after {
    position: absolute;
    top: 22px;
    right: 18px;
  }
  .fmcare-lp .flow__step--detail .flow__detail-title {
    padding-right: 44px;
  }
  .fmcare-lp .flow__row:nth-child(4) {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .fmcare-lp .price {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .fmcare-lp .price__body {
    order: -1;
    width: 100%;
    padding-bottom: 0;
  }
  .fmcare-lp .price__num {
    font-size: 44px;
  }
  .fmcare-lp .price__person {
    width: 80px;
    height: 160px;
  }

  .fmcare-lp .plan-card {
    padding: 32px 24px 40px;
    gap: 24px;
  }
  .fmcare-lp .plan-card__title {
    font-size: 22px;
  }
  .fmcare-lp .plan-card__img {
    width: 100%;
    height: auto;
  }

  .fmcare-lp .contact {
    padding-top: 72px;
  }
  .fmcare-lp .contact__partner {
    width: 260px;
  }
  .fmcare-lp .movie {
    padding-top: 72px;
  }
  .fmcare-lp .movie__frame {
    border-radius: 12px;
  }
  .fmcare-lp .contact__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .fmcare-lp .contact__title {
    font-size: 22px;
  }
  .fmcare-lp .sp-br {
    display: inline;
  }
}
