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


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


/* ---------------------------------------------------------
  FV全体
  ---------------------------------------------------------
  画面の最初に表示される大きなエリア。
  paddingで上下の余白を作り、背景をやわらかくします。
--------------------------------------------------------- */
.fv {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(95, 195, 184, 0.12), transparent 28%),
    linear-gradient(135deg, var(--color-bg) 0%, var(--color-sub) 100%);
}


/* ---------------------------------------------------------
  FV内側レイアウト
  ---------------------------------------------------------
  PCでは左：テキスト、右：画像の2カラムにします。
  画像側を少し広めにすると、ワイヤーフレームに近い印象になります。
--------------------------------------------------------- */
.fv__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 64px;
}


/* ---------------------------------------------------------
  左側コンテンツ
  ---------------------------------------------------------
  コピー・特徴・ボタンを縦に並べるエリア。
--------------------------------------------------------- */
.fv__content {
  position: relative;
  z-index: 1;
}


/* ---------------------------------------------------------
  補足ラベル
  ---------------------------------------------------------
  common.css の .c-label に少しだけFV用の余白を追加します。
--------------------------------------------------------- */
.fv__label {
  margin-bottom: 24px;
}


/* ---------------------------------------------------------
  メインコピー
  ---------------------------------------------------------
  FVで最も目立たせるテキスト。
  clamp()で画面幅に合わせて自然にサイズ調整します。
--------------------------------------------------------- */
.fv__title {
  color: var(--color-text);
  font-size: clamp(2.4rem, 4.4vw, 4.3rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.04em;
}


/* ---------------------------------------------------------
  リード文
  ---------------------------------------------------------
  メインコピーの補足説明。
  文字を少し淡くして、見出しより目立ちすぎないようにします。
--------------------------------------------------------- */
.fv__lead {
  margin-top: 28px;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 2;
}


/* ---------------------------------------------------------
  特徴・ベネフィット一覧
  ---------------------------------------------------------
  ワイヤーフレームの「アイコン3つ」の部分。
  3つの強みを横並びで表示します。
--------------------------------------------------------- */
.fv__points {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}


/* ---------------------------------------------------------
  特徴1つ分
  ---------------------------------------------------------
  アイコンと短いテキストを縦並びにします。
--------------------------------------------------------- */
.fv__point {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 92px;
}


/* ---------------------------------------------------------
  特徴アイコン
  ---------------------------------------------------------
  今は文字アイコンで代用。
  後からSVGや画像アイコンに差し替えできます。
--------------------------------------------------------- */
.fv__point-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-main);
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}


/* ---------------------------------------------------------
  特徴テキスト
  ---------------------------------------------------------
  アイコン下の短い説明。
--------------------------------------------------------- */
.fv__point-text {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}


/* ---------------------------------------------------------
  CTAエリア
  ---------------------------------------------------------
  メインボタンとテキストリンクを縦に並べます。
--------------------------------------------------------- */
.fv__buttons {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 40px;
}


/* ---------------------------------------------------------
  メインCTAボタン
  ---------------------------------------------------------
  common.css の .c-btn を使いつつ、FVでは少し横幅を広めにします。
--------------------------------------------------------- */
.fv__main-btn {
  min-width: 320px;
  gap: 14px;
}


/* ---------------------------------------------------------
  ボタン内の矢印
  ---------------------------------------------------------
  右向き矢印を少し離して、クリック感を出します。
--------------------------------------------------------- */
.fv__btn-arrow {
  font-size: 1.1em;
  line-height: 1;
}


/* ---------------------------------------------------------
  サブ導線リンク
  ---------------------------------------------------------
  「詳しく見る」系の控えめなリンク。
  メインCTAより目立たせすぎない役割です。
--------------------------------------------------------- */
.fv__text-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;
  line-height: 1.5;
}


/* ---------------------------------------------------------
  右側ビジュアルエリア
  ---------------------------------------------------------
  写真・イラストを置く場所。
  PCでは大きく見せて、FVの印象を作ります。
--------------------------------------------------------- */
.fv__visual {
  position: relative;
  z-index: 1;
}


/* ---------------------------------------------------------
  メインビジュアルの枠
  ---------------------------------------------------------
  ワイヤーフレーム右側の大きな画像枠。
  角丸・影・背景色でカード感を出します。
--------------------------------------------------------- */
.fv__image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--color-white);
  border: 1px solid rgba(31, 122, 122, 0.10);
  box-shadow: var(--shadow-soft);
}


/* ---------------------------------------------------------
  メインビジュアル画像
  ---------------------------------------------------------
  枠いっぱいに画像を表示します。
  object-fit: cover で、縦横比が違う画像でもきれいに収めます。
--------------------------------------------------------- */
.fv__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------------------------------------------------------
  画像がない時用のプレースホルダー
  ---------------------------------------------------------
  imgを使わず、仮の枠として表示したい時に使えます。
--------------------------------------------------------- */
.fv__image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  background:
    linear-gradient(45deg, transparent 49.6%, var(--color-border) 50%, transparent 50.4%),
    linear-gradient(-45deg, transparent 49.6%, var(--color-border) 50%, transparent 50.4%),
    var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-weight: 700;
  text-align: center;
}


/* ---------------------------------------------------------
  PCだけで表示する改行
  ---------------------------------------------------------
  HTML内の <br class="u-pc"> 用。
--------------------------------------------------------- */
.u-pc {
  display: inline;
}
/* =========================================================
   Variation A：カード3列レイアウト / PC
========================================================= */

/* セクション全体 */
.problem-a {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%);
}

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

/* ラベルを中央に置くための箱 */
.problem-a__label-wrap {
  margin-bottom: 18px;
  text-align: center;
}

/* 「こんなお悩みはありませんか？」のラベル */
.problem-a__label {
  margin-inline: auto;
}

/* カードを3列に並べる親要素 */
.problem-a__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

/* 悩みカード本体 */
.problem-a-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 230px;
  padding: 34px 26px;
  text-align: center;
}

/* カード内アイコン */
.problem-a-card__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(95, 195, 184, 0.16);
  color: var(--color-main);
  font-size: 1.6rem;
  font-weight: 700;
}

/* カードタイトル */
.problem-a-card__title {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

/* カード本文 */
.problem-a-card__text {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

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

/* テキストリンク型CTA */
.problem-a__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;
}

/* CTA矢印 */
.problem-a__link-arrow {
  font-size: 1.2em;
  line-height: 1;
}
/* =========================================================
   Variation A：アイコンカード型 / PC
========================================================= */

/* セクション全体 */
.reason-a {
  background: #ffffff;
}

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

/* 見出しエリア */
.reason-a__heading {
  margin-bottom: 40px;
}

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

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

/* カードを横並びにするグリッド */
.reason-a__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 特徴カード本体 */
.reason-a-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 230px;
  padding: 34px 24px;
  text-align: center;
}

/* アイコン丸枠 */
.reason-a-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-main);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--color-bg-soft);
}

/* カードタイトル */
.reason-a-card__title {
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}

/* カード本文 */
.reason-a-card__text {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}
/* =========================================================
   Variation A：3プランの料金テーブル / PC
========================================================= */

/* セクション全体 */
.price-a {
  background: #ffffff;
}

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

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

/* 小見出しラベル */
.price-a__section-label {
  font-size: 0.88rem;
}

/* 左テキスト + 右カード全体 */
.price-a__inner {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  align-items: center;
  gap: 48px;
}

/* 左側テキストエリア */
.price-a__content {
  min-width: 0;
}

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

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

/* 料金カードを3列に並べる */
.price-a__plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* 料金カード本体 */
.price-a-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

/* おすすめカード */
.price-a-card--featured {
  border-color: var(--color-main);
  transform: translateY(-14px);
}

/* おすすめバッジ */
.price-a-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  background: var(--color-main);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
}

/* カード上部 */
.price-a-card__head {
  padding: 30px 20px 20px;
  text-align: center;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

/* プラン名 */
.price-a-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

/* キャッチコピー */
.price-a-card__catch {
  margin-top: 6px;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* 価格エリア */
.price-a-card__price-area {
  padding: 26px 20px 22px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

/* 価格 */
.price-a-card__price {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

/* 円マーク */
.price-a-card__yen {
  font-size: 1.2rem;
}

/* 月額表記 */
.price-a-card__period {
  font-size: 0.95rem;
  font-weight: 700;
}

/* 税込 */
.price-a-card__tax {
  margin-top: 4px;
  color: var(--color-text-light);
  font-size: 0.82rem;
}

/* 機能リスト */
.price-a-card__list {
  display: grid;
  gap: 10px;
  padding: 24px 22px 28px;
}

/* リスト1行 */
.price-a-card__list li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

/* ボタン */
.price-a-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 32px);
  min-height: 52px;
  margin: auto 16px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.3s ease;
}

/* ボタンhover */
.price-a-card__btn:hover {
  transform: translateY(-2px);
  background: #eef6f6;
}

/* おすすめカードの濃いボタン */
.price-a-card__btn--dark {
  background: var(--color-main);
  border-color: var(--color-main);
  color: var(--color-white);
}

/* 下部比較リンク */
.price-a__compare {
  margin-top: 26px;
  text-align: center;
}

/* 比較リンク */
.price-a__compare-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;
}
/* =========================================================
   Variation A：横並びステップ・水平フロー / PC
========================================================= */

/* セクション全体 */
.flow-a {
  background: #ffffff;
}

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

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

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

/* 小見出しラベル */
.flow-a__section-label {
  font-size: 0.88rem;
}

/* ステップ一覧 */
.flow-a__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 34px;
  counter-reset: flow-number;
}

/* ステップ1つ分 */
.flow-a__item {
  position: relative;
  text-align: center;
}

/* ステップ間の矢印 */
.flow-a__item:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 18px;
  right: -28px;
  color: var(--color-text-light);
  font-size: 1.8rem;
  line-height: 1;
}

/* 丸数字 */
.flow-a__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  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-a__icon {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  margin: 0 auto 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-bg-soft);
  color: var(--color-main);
  font-size: 2.2rem;
}

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

/* ステップ本文 */
.flow-a__text {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}
/* =========================================================
   Variation A：アコーディオン型FAQ / PC
========================================================= */

/* セクション全体 */
.faq-a {
  background: #ffffff;
}

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

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

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

/* FAQリスト全体 */
.faq-a__list {
  display: grid;
  gap: 10px;
}

/* details のデフォルト三角を消すための指定 */
.faq-a__question {
  list-style: none;
}

.faq-a__question::-webkit-details-marker {
  display: none;
}

/* FAQ 1項目 */
.faq-a__item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  background: var(--color-white);
}

/* 質問行 */
.faq-a__question {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 18px;
  cursor: pointer;
}

/* Qアイコン */
.faq-a__q-icon,
.faq-a__a-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;
}

/* 質問テキスト */
.faq-a__q-text {
  font-weight: 700;
  line-height: 1.7;
}

/* 右端の開閉矢印 */
.faq-a__arrow {
  position: relative;
  width: 16px;
  height: 16px;
}

/* 矢印の線 */
.faq-a__arrow::before,
.faq-a__arrow::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 10px;
  height: 2px;
  background: var(--color-text-light);
}

/* 下向きの矢印に見せる */
.faq-a__arrow::before {
  left: 0;
  transform: rotate(45deg);
}

.faq-a__arrow::after {
  right: 0;
  transform: rotate(-45deg);
}

/* 開いた時は上向きにする */
.faq-a__item[open] .faq-a__arrow::before {
  transform: rotate(-45deg);
}

.faq-a__item[open] .faq-a__arrow::after {
  transform: rotate(45deg);
}

/* 回答行 */
.faq-a__answer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 0 18px 18px;
}

/* 回答テキスト */
.faq-a__a-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.9;
}
/* =========================================================
   Variation A：シンプルなCTAバンド / PC
========================================================= */

/* セクション全体 */
.cta-a {
  background: #ffffff;
}

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

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

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

/* CTA本体の大きな箱 */
.cta-a__box {
  padding: 56px 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%);
  text-align: center;
  box-shadow: var(--shadow-card);
}

/* CTA見出し */
.cta-a__title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.45;
  font-weight: 700;
}

/* CTA説明文 */
.cta-a__text {
  margin-top: 18px;
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.9;
}

/* CTAボタン */
.cta-a__btn {
  margin-top: 30px;
  min-width: 320px;
}

/* ボタン内矢印 */
.cta-a__btn-arrow {
  margin-left: 10px;
  font-size: 1.15em;
}