/* =========================================================
   トップページ「メリハリ版」の上書きCSS（2026-12-02）
   index.html だけが、他のCSSの「後」に読み込む。他のページ・他のCSSには影響しない。

   やっていること
     ① 背景のリズム：ヒーロー(黒) → お悩み(ミント) → 特徴(白) → 比較(明るめの緑) → 流れ(ミント)
                      → 実績(白) → 声(明るめの緑) → FAQ(白)
        （濃い帯をページの前・中・後に1つずつ散らす。「なぜ月額2,980円で続けられるのか」は削除した）
     ② セクション見出し：英字ラベルを塗りバッジに、文字を大きく、黄色マーカーは句ごとに
     ③ 申込から公開までの流れ：5ステップの簡易版（くわしい説明は折りたたみ）
     ④ よくある質問：6問を先に出し、残りは折りたたみ
     ⑤ PCの本文幅を少し広げる
     ⑥ 既存の不具合の修正（スマホで帯の右端に白い隙間／オプション誘導のボタンのはみ出し）
     ⑦ ヒーロー直下の安心バッジ：キーワード＋補足の2段（2026-12-02 追加）

   元に戻すとき：index.html を _trashbox\comisai\ のバックアップに戻す。
     ・ローカル元_20261202_バッジ流れ移動前\ ＝ メリハリ版の初回公開（流れが実績の下・理由あり・旧バッジ）の版
     ・ローカル元_20261202_メリハリ前\ ＝ メリハリ版の前（このCSSを読まない版）
   index.html を戻せばこのCSSは読まれなくなるか、旧版のまま使われる（このファイルは残しておいて構わない。
   ただし「バッジ流れ移動前」に戻す場合は、css\meri.css も同じフォルダーのものに戻すこと）。

   注意
     ・見出しの黄色マーカーは、必ず <span class="ph">…</span> で囲んだ文字に付く。
       新しい見出しを足すときも .ph で囲むこと（囲まないとマーカーが出ない）。
     ・折り返しは .ph の切れ目だけ。読点「、」を行末に置かないため、句の間は空白で区切る。
   ========================================================= */

:root {
  --m-deep: #1B5E52;       /* 濃い緑（見出し文字・バッジの色）2026-12-03 #0E3B34 から少し薄く */
  --m-band: #1F3A68;       /* 比較・声の帯：紺（2026-12-03 緑 #17594D から変更。上半分が緑・下半分が紺） */
  --m-teal: #0ABAB5;
  --m-teal-soft: #7FF0E3;
  --m-mint: #E3F5F0;
  --m-yellow: #F3C94A;
  --m-orange: #F7941D;     /* 申込ボタン・料金が発生する工程 専用 */
}

/* ---------------------------------------------------------
   ① 背景
--------------------------------------------------------- */
.trust-bar,
.worries-section { background: var(--m-mint); }

.compare-section { background: var(--m-band); }
.flow-timeline { background: var(--m-mint); border-top: 0; }

.compare-section .compare-lead,
.voice-section .voice-lead { color: #CBD5E8; text-wrap: balance; }
.compare-section .compare-table-wrap {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
}

/* 声：緑の帯の上のカードは影を深くして浮かせる */
.voice-section .voice-card { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25); border-color: transparent; }

/* 声は本文幅の白地だったので、画面いっぱいのミントにして実績と分ける */
.voice-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding: 80px 20px;
  background: var(--m-band);
}

/* ---------------------------------------------------------
   ② セクション見出し
--------------------------------------------------------- */
.section-title-deco--hero { gap: 16px; margin-bottom: 56px; }

/* 英字ラベル：塗りのバッジ */
.section-title-deco--hero .section-title-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px 7px 22px;          /* 字間ぶんの右の余りを左で補う */
  border-radius: 999px;
  background: var(--m-deep);
  color: var(--m-teal-soft);
  font-size: 14px;
  letter-spacing: 0.3em;
}
.section-title-deco--hero .section-title-eyebrow::before,
.section-title-deco--hero .section-title-eyebrow::after { display: none; }

.section-title-deco--hero .section-title-main { font-size: 48px; letter-spacing: 0.03em; }
/* 既存のマーカー（見出し全体に1本）はやめて、句ごとに引く（2行に折れても横いっぱいの帯にならない） */
.section-title-deco--hero .section-title-main::after { display: none; }

.ph { display: inline-block; position: relative; z-index: 0; isolation: isolate; }
.ph::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 18px;
  background: var(--m-yellow);
  border-radius: 999px;
  z-index: -1;
}

/* 明るめの緑の帯（比較・声）：白文字・ターコイズのバッジ */
.compare-section .section-title-main,
.voice-section .section-title-main { color: #ffffff; }
.compare-section .section-title-eyebrow,
.voice-section .section-title-eyebrow { background: var(--m-teal); color: #04201C; }
/* マーカーは他の見出しと同じ位置・太さ・黄色。黄色に重なる白文字が読めるよう、文字のまわりを濃い緑でふち取る */
.compare-section .section-title-main,
.voice-section .section-title-main {
  text-shadow: 3px 0 0 var(--m-band), -3px 0 0 var(--m-band), 0 3px 0 var(--m-band), 0 -3px 0 var(--m-band),
               2px 2px 0 var(--m-band), -2px 2px 0 var(--m-band), 2px -2px 0 var(--m-band), -2px -2px 0 var(--m-band);
}

/* ---------------------------------------------------------
   ③ 流れ（5ステップ）
--------------------------------------------------------- */
.flow-simple { padding: 80px 20px 88px; }

.fs-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 18px;
}

/* 料金の境目：ステップの上に帯で見せる（0円ゾーン／月額ゾーン） */
.fs-gate {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  line-height: 1.4;
}
.fs-gate b { font-size: 21px; font-weight: 900; }
.fs-gate span { font-size: 14px; font-weight: 700; }
.fs-gate.is-free { grid-column: 1 / 4; background: var(--m-teal); color: #04201C; }
.fs-gate.is-pay  { grid-column: 4 / 6; background: var(--m-orange); color: #2A1600; }

.fs-step {
  position: relative;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 12px 22px;
  background: #ffffff;
  border-radius: 16px;
  text-align: center;
  color: #0B2A22;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.fs-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--m-teal);
  color: #04201C;
  font: 900 23px/46px 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
}
.fs-step.is-pay .fs-num { background: var(--m-orange); color: #2A1600; }
.fs-step h3 {
  margin: 6px 0 0;
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 900;
  line-height: 1.35;
}
.fs-step p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #3A4A46; }
.fs-time {
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #E3F5F0;
  color: #00574F;
  font-size: 13px;
  font-weight: 800;
}
.fs-step.is-pay .fs-time { background: #FFF1DC; color: #7A4300; }

/* ステップ間の矢印 */
.fs-step:not(.is-last)::after {
  content: "";
  position: absolute;
  top: 50%; right: -19px;
  transform: translateY(-50%);
  border: 9px solid transparent;
  border-left: 12px solid rgba(255, 255, 255, 0.6);
}

/* 「くわしい説明」「その他の質問」の折りたたみ（共通のボタン形） */
.fs-more { max-width: 898px; margin: 40px auto 0; }
.fs-more > summary,
.faq-more > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}
.fs-more > summary::-webkit-details-marker,
.faq-more > summary::-webkit-details-marker { display: none; }
.fs-more > summary::after,
.faq-more > summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.fs-more[open] > summary::after,
.faq-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }

.fs-more > summary { border: 2px solid rgba(255, 255, 255, 0.6); color: #ffffff; }
.fs-more > summary:hover { background: rgba(255, 255, 255, 0.1); }
.fs-more-body {
  margin-top: 24px;
  padding: 32px 28px 8px;
  background: #F7FAF9;
  border-radius: 20px;
}

/* 流れは明るい（ミント）帯：暗い帯向けだった白い矢印・白い縁・濃い影を、明るい地に合わせる */
.fs-step { box-shadow: 0 8px 22px rgba(14, 59, 52, 0.12); border: 1px solid #CFE9E1; }
.fs-step:not(.is-last)::after { border-left-color: rgba(14, 59, 52, 0.35); }
.fs-more > summary { border-color: var(--m-deep); color: var(--m-deep); background: #ffffff; }
.fs-more > summary:hover { background: #F4FBF8; }
.fs-more-body { border: 1px solid #CFE9E1; }
.flow-simple .flow-tl-cta { box-shadow: 0 8px 22px rgba(14, 59, 52, 0.1); }

/* ---------------------------------------------------------
   ④ FAQ
--------------------------------------------------------- */
.faq-more { max-width: 940px; margin: 20px auto 0; }
.faq-more > summary { border: 2px solid var(--m-deep); color: var(--m-deep); background: #ffffff; }
.faq-more > summary:hover { background: var(--m-mint); }
.faq-more > .faq-list { margin-top: 16px; }

/* ---------------------------------------------------------
   ⑤ PCの本文幅（広い画面だけ）。読み物の流れ・FAQ・料金表は広げない
--------------------------------------------------------- */
@media (min-width: 1100px) {
  .worries-grid { max-width: 1200px; }
  .works-inner,
  .voice-inner { max-width: 1200px; }
  .compare-inner { max-width: 980px; }
}

/* ---------------------------------------------------------
   タブレット・スマホ
--------------------------------------------------------- */
@media (max-width: 1099px) {
  .section-title-deco--hero .section-title-main { font-size: 40px; }
}

/* 流れは縦並び。ステップは1行ずつ：番号｜題名と一言｜時間 */
@media (max-width: 860px) {
  .fs-steps { grid-template-columns: 1fr; max-width: 560px; row-gap: 14px; }
  .fs-gate,
  .fs-gate.is-free,
  .fs-gate.is-pay { grid-row: auto; grid-column: auto; }
  .fs-gate b { font-size: 18px; }
  .fs-step {
    grid-row: auto;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 14px 16px;
    text-align: left;
  }
  .fs-num { grid-row: 1 / 3; width: 44px; height: 44px; font-size: 21px; line-height: 44px; }
  .fs-step h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 17px; }
  .fs-step p { grid-column: 2; grid-row: 2; font-size: 14px; }
  .fs-time { grid-column: 3; grid-row: 1 / 3; margin: 0; white-space: nowrap; }
  .fs-step:not(.is-last)::after {
    top: 100%; right: auto; left: 30px;
    transform: none;
    border: 7px solid transparent;
    border-top: 9px solid rgba(14, 59, 52, 0.35);
  }
  /* 折りたたみと申込カードも、縦並びのステップと幅をそろえる */
  .fs-more,
  .flow-simple .flow-tl-cta { max-width: 560px; }
}

@media (max-width: 768px) {
  .section-title-deco--hero { gap: 12px; margin-bottom: 36px; }
  .section-title-deco--hero .section-title-eyebrow { padding: 5px 12px 5px 16px; font-size: 12px; letter-spacing: 0.24em; }
  .section-title-deco--hero .section-title-main { font-size: 30px; }
  .ph::after { height: 12px; bottom: 1px; }

  .compare-section .section-title-main,
  .voice-section .section-title-main {
    text-shadow: 2px 0 0 var(--m-band), -2px 0 0 var(--m-band), 0 2px 0 var(--m-band), 0 -2px 0 var(--m-band),
                 1.5px 1.5px 0 var(--m-band), -1.5px 1.5px 0 var(--m-band), 1.5px -1.5px 0 var(--m-band), -1.5px -1.5px 0 var(--m-band);
  }
  .voice-section { padding: 56px 16px; }
  .flow-simple { padding: 56px 16px 64px; }
  .fs-more > summary,
  .faq-more > summary { font-size: 15px; padding: 14px 16px; }
  .fs-more-body { padding: 20px 12px 2px; border-radius: 16px; }
}

/* ---------------------------------------------------------
   ⑥ 既存の不具合の修正
--------------------------------------------------------- */

/* スマホ（幅700px以下）で「詳しくはこちら」ボタンが、width:100% ＋ 左右の余白（content-box）で
   画面の左右に18pxずつはみ出していた */
.option-teaser-btn { box-sizing: border-box; text-align: center; }

/* 幅768px以下で、画面いっぱいの帯の右端に約5pxの白い隙間が出ていた。
   本文の左右余白が左右で非対称(2px/12px)なため、100vw のフルブリードが右にずれる。
   お悩み・特徴・FAQ には style.css に同じ対策があり、それ以外の帯にも同じ式を当てる。
   （帯が白〜ごく薄い色の間は目立たなかったが、濃い色の帯では見える） */
@media screen and (max-width: 768px) {
  .main-content > .compare-section,
  .main-content > .works-section,
  .main-content > .voice-section,
  .main-content > .flow-timeline,
  .main-content > .option-teaser-section {
    width: calc(100% + 14px);
    max-width: none;
    margin-left: -2px;
    margin-right: -12px;
  }
}

/* ---------------------------------------------------------
   ⑦ ヒーロー直下の安心バッジ：キーワード＋補足の2段
   （ヒーローで既に言っている「縛りなし」「完成を見てから」と重ならない、
     「後から困らない理由」を並べる。全国対応はヒーローの帯へ移した）
--------------------------------------------------------- */
.trust-bar-item .tb-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.trust-bar-item .tb-key { font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.trust-bar-item .tb-sub { font-size: 13px; font-weight: 600; line-height: 1.4; color: #4A5F5A; }

@media (max-width: 600px) {
  .trust-bar-item .tb-text { align-items: center; gap: 3px; text-align: center; }
  .trust-bar-item .tb-key { font-size: 0.86rem; white-space: normal; word-break: keep-all; }
  .trust-bar-item .tb-sub { font-size: 12px; white-space: normal; word-break: keep-all; }
}

/* ヒーローの帯に「全国対応」を足したので、幅の狭いスマホでは文字を少し詰めて1行に収める */
@media (max-width: 380px) {
  .hero--a .hero-a-assure { padding: 4px 10px; font-size: 11.5px; letter-spacing: 0; gap: 0 .35em; }
}
/* 幅320〜359pxのバッジ：カードの幅が約140pxになるので文字を少し小さく */
@media (max-width: 359px) {
  .trust-bar-item { padding: 12px 6px; }
  .trust-bar-item .tb-key { font-size: 0.8rem; }
  .trust-bar-item .tb-sub { font-size: 11.5px; }
}

/* =========================================================
   ⑧ お悩み・サービスの特徴の作り直し（2026-12-03）
   試作：ワーク\お悩み見直し_20261203\src の worries-a.css / features-a.css / features-a1.css をそのまま統合
   ========================================================= */

/* =========================================================
   お悩みセクション 試作A：チェックリスト型（2026-12-03）
   meri.css の後に読む上書き。カードをやめ、✓付きの1行×6つ＋受けの一文
   ========================================================= */

/* 高さを抑える：PCの上下余白 80px → 64px（スマホ・タブレットの上5pxは worries.css のまま） */
@media (min-width: 1200px) { .worries-section { padding-top: 64px; } }
.worries-section { padding-bottom: 64px; }
.worries-section .section-title-deco--hero { margin-bottom: 36px; }

.wc-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  text-align: left;
}

.wc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #CFE9E1;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 4px 14px rgba(14, 59, 52, 0.06);
}
.wc-item b { color: var(--m-deep); font-weight: 800; }

/* チェック印：塗りの角丸四角に白いチェック */
.wc-mark {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--m-teal);
  position: relative;
}
.wc-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 7px;
  height: 13px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* 受けの一文：濃い緑の札＋下向きの三角で、下の「サービスの特徴」へつなぐ */
.wc-answer {
  margin: 36px auto 0;
  max-width: 980px;
  position: relative;
  background: var(--m-deep);
  color: #ffffff;
  border-radius: 14px;
  padding: 20px 24px 22px;
  text-align: center;
}
.wc-answer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border: 14px solid transparent;
  border-bottom: 0;
  border-top-color: var(--m-deep);
}
.wc-answer-main {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.45;
}
.wc-answer-main em { font-style: normal; color: var(--m-yellow); }
.wc-answer-sub {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: #C9DDD9;
}
.wc-nw { display: inline-block; }

/* タブレット以下：1列 */
@media (max-width: 700px) {
  .worries-section { padding-bottom: 48px; }
  .worries-section .section-title-deco--hero { margin-bottom: 24px; }
  .wc-list { grid-template-columns: 1fr; gap: 10px; max-width: 520px; }
  .wc-item { font-size: 16px; padding: 13px 16px; gap: 12px; }
  .wc-answer { margin-top: 26px; max-width: 520px; padding: 16px 16px 18px; }
  .wc-answer-main { font-size: 20px; }
  .wc-answer-sub { font-size: 14px; text-align: left; }
}
@media (max-width: 359px) {
  .wc-item { font-size: 15px; }
  .wc-answer { padding: 14px 12px 16px; }
  .wc-answer-main { font-size: 16px; }
}

/* =========================================================
   サービスの特徴 試作A：アイコン3列カード（2026-12-03）
   meri.css・worries-a.css の後に読む上書き。写真をやめ、お悩みへの答えを3枚のカードで
   ========================================================= */

.features-section .features-section-inner { padding: 64px 20px; }
.features-section .section-title-deco--hero { margin-bottom: 36px; }

.fa-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fa-card {
  background: #F4FBF8;
  border: 1px solid #CFE9E1;
  border-radius: 16px;
  padding: 28px 26px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.fa-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.fa-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #CFE9E1;
  color: #1D9E75;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fa-icon svg { width: 34px; height: 34px; display: block; }

.fa-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1D9E75;
  line-height: 1;
  margin-bottom: 6px;
}
.fa-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--m-deep);
  letter-spacing: 0.02em;
}

.fa-sub {
  margin: 0 0 10px;
  padding-top: 14px;
  border-top: 1px dashed #BFE0D6;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #0E5E45;
}
.fa-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}
.fa-nw { display: inline-block; }

/* タブレット以下：縦に積む（768pxで3列だと細長くなるため） */
@media (max-width: 999px) {
  .fa-grid { grid-template-columns: 1fr; max-width: 560px; gap: 14px; }
}
@media (max-width: 700px) {
  .features-section .features-section-inner { padding: 48px 16px; }
  .features-section .section-title-deco--hero { margin-bottom: 24px; }
  .fa-card { padding: 20px 18px 18px; }
  .fa-head { gap: 12px; margin-bottom: 12px; }
  .fa-icon { flex-basis: 52px; width: 52px; height: 52px; }
  .fa-icon svg { width: 30px; height: 30px; }
  .fa-title { font-size: 21px; }
  .fa-sub { font-size: 16px; padding-top: 12px; }
  .fa-text { font-size: 15px; }
}
@media (max-width: 359px) {
  .fa-title { font-size: 19px; }
  .fa-sub { font-size: 15px; }
  .fa-text { font-size: 14px; }
}

/* =========================================================
   サービスの特徴 試作A-1：アイコンを大きく・濃く（2026-12-03）
   features-a.css の後に読む。60pxの白い丸 → 84pxの濃い緑の丸＋白い線
   ========================================================= */

.fa-head { gap: 18px; margin-bottom: 18px; }

.fa-icon {
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  background: var(--m-deep);
  border: 0;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(14, 59, 52, 0.22);
}
.fa-icon svg { width: 46px; height: 46px; }

@media (max-width: 700px) {
  .fa-head { gap: 14px; margin-bottom: 14px; }
  .fa-icon { flex-basis: 68px; width: 68px; height: 68px; }
  .fa-icon svg { width: 38px; height: 38px; }
}
@media (max-width: 359px) {
  .fa-icon { flex-basis: 60px; width: 60px; height: 60px; }
  .fa-icon svg { width: 34px; height: 34px; }
}
