/* ========================================================
   スマート保育CMS +free（20_cms_free.html）
   cms-template.css（保育園向けホームページサービス）の後に読み込み、
   このページだけの部品を「cf-」で追加する。
   共通の部品（FV・流れ・サポート・CTA など）は cms-template.css をそのまま使う
   ======================================================== */

/* ---- 文字の大きさ ----
   スマート保育CMS（20_cms_template.html / cms-template.css）の決まりに合わせる：
   セクション見出し 28px／小見出し 20px／本文・リスト 16px／補足・注釈 13px
   （例外：FV題名 40px、特長の番号 40px、料金の数字 40px）。スマホの大きさも同じページに合わせている */

/* ---- FV：題名「スマート保育CMS +free」 ---- */
main.cms-lp .cf-fv_title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

main.cms-lp .cf-fv_plus {
  vertical-align: baseline;   /* 共通CSSの small { vertical-align: top } を打ち消す */
  margin-left: 0.4em;
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* FV背景の輪：このページだけ、うすい緑→うすい黄色のグラデーションにする
   （形・位置は cms-template.css の .ct-fv_blob--1〜3 のまま。色だけ差し替え） */
main.cms-free .ct-fv_blob--1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-15 -15 130 130'%3E%3Cdefs%3E%3ClinearGradient id='bg1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%' stop-color='%23D4ECD7'/%3E%3Cstop offset='100%' stop-color='%23FDF6CC'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M40,2 C66,-8 98,10 100,38 C102,64 86,74 80,96 C74,118 34,112 16,90 C-4,66 2,32 20,16 C26,10 32,4 40,2 Z' fill='none' stroke='url(%23bg1)' stroke-width='15' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

main.cms-free .ct-fv_blob--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-15 -15 130 130'%3E%3Cdefs%3E%3ClinearGradient id='bg1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%' stop-color='%23D4ECD7'/%3E%3Cstop offset='100%' stop-color='%23FDF6CC'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M56,4 C80,10 96,32 88,56 C82,74 96,90 74,98 C50,106 20,96 8,74 C-4,52 4,24 26,10 C36,4 46,1 56,4 Z' fill='none' stroke='url(%23bg1)' stroke-width='15' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

main.cms-free .ct-fv_blob--3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-15 -15 130 130'%3E%3Cdefs%3E%3ClinearGradient id='bg1' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%' stop-color='%23D4ECD7'/%3E%3Cstop offset='100%' stop-color='%23FDF6CC'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M34,10 C56,-10 92,-2 98,26 C104,52 90,60 92,84 C94,108 56,110 34,96 C10,80 -8,54 2,32 C10,16 22,18 34,10 Z' fill='none' stroke='url(%23bg1)' stroke-width='15' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

/* タグはアイコンなしの白い角丸。3つの幅をそろえる */
main.cms-lp .cf-fv_tags li {
  justify-content: center;
  min-width: 150px;
}

/* ---- 共通：緑の帯の見出し（両側に丸） ---- */
.cf-pill_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.cf-pill_dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b9e2c7;
}

.cf-pill_dot:first-child {
  box-shadow: -18px 0 0 -3px #b9e2c7;
}

.cf-pill_dot:last-child {
  box-shadow: 18px 0 0 -3px #b9e2c7;
}

.cf-pill {
  display: inline-block;
  padding: 8px 48px;
  border-radius: 999px;
  background: #7ec899;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* ========================================================
   無料で始める（FVの下）
   ======================================================== */
.cf-intro {
  --pad-t: clamp(30px, 5vh, 56px);
  --pad-b: calc(clamp(44px, 6.5vh, 72px) + var(--bleed));
  background: #fff;
}

.cf-intro_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.cf-intro_visual {
  position: relative;
  flex: 0 0 auto;
  width: 400px;
  padding-right: 70px;
}

/* 写真は丸く切り抜く（正方形の写真に差し替えても同じ見え方になる） */
.cf-intro_circle {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #f2f3f5;
  /* 写真の背景が白く、白いページと境目がなくなるので、うすい影で丸の形を見せる */
  box-shadow: 0 10px 28px rgba(60, 60, 70, 0.10), 0 2px 6px rgba(60, 60, 70, 0.05);
}

/* パソコンに向かう女性の写真（images/gf1420378357m.jpg）。
   左右反転して、ノートパソコンが左・女性が右に来るようにする。
   object-position は反転前の写真に対する位置（63% ＝ 女性とパソコンが丸に収まる位置） */
main.cms-lp .cf-intro_circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  transform: scaleX(-1);
}

/* スマホは右に傾けて、丸の右下に重ねる */
main.cms-lp .cf-intro_phone {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 140px;
  height: auto;
  transform: rotate(12deg);
  filter: drop-shadow(0 12px 20px rgba(60, 40, 20, 0.25));
}

.cf-intro_body {
  flex: 0 1 auto;
}

main.cms-lp .cf-intro_title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
}

.cf-intro_title span {
  display: block;
}

main.cms-lp .cf-check {
  margin-top: 26px;
}

.cf-check li {
  position: relative;
  padding: 5px 0 5px 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

/* ピンクの丸にチェック */
.cf-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;   /* 16px の文字の行の中央にそろえる */
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23f39a9a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='13' cy='13' r='11.5'/%3E%3Cpath d='M8 13.2l3.6 3.4L18.4 9'/%3E%3C/svg%3E") no-repeat center / contain;
}

.cf-check sup {
  font-size: 0.6em;
}

.cf-check small {
  font-size: 13px;
  font-weight: 400;
}

/* 下向きの三角3つ（次のセクションへ） */
.cf-intro_arrows {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: clamp(50px, 8vh, 80px);
}

.cf-intro_arrows i {
  width: 24px;
  height: 20px;
  background: #7ec899;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ========================================================
   できる4つのこと
   背景は cms-template.css の .ct-feature-group（グラデーション＋ブロブ）を使う
   ======================================================== */
main.cms-lp .cf-feat {
  --pad-t: clamp(56px, 8vh, 90px);
  --pad-b: clamp(60px, 9vh, 100px);
}

/* 注目のキーワード（各特長へのページ内リンク） */
.cf-keyword {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1010px;
  margin: 28px auto 0;
  padding: 16px 48px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(80, 50, 20, 0.12);
}

main.cms-lp .cf-keyword_label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

main.cms-lp .cf-keyword_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 8px 32px;
  flex: 1;
}

.cf-keyword_list a {
  color: #5aab7c;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cf-keyword_list a:hover {
  color: #5aab7c;
  opacity: 0.7;
}

/* 特長4つ：丸い画像＋矢印形のカード。偶数番は左右を入れ替える */
main.cms-lp .cf-feat_list {
  max-width: 1010px;
  margin: 56px auto 0;
}

.cf-feat_item {
  display: flex;
  align-items: center;
  gap: 26px;
}

.cf-feat_item + .cf-feat_item {
  margin-top: 56px;
}

.cf-feat_item--reverse {
  flex-direction: row-reverse;
}

.cf-feat_visual {
  position: relative;
  flex: 0 0 300px;
}

.cf-feat_circle {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}

/* 画像の見せる位置と拡大率は、項目ごとに --x / --y / --zoom で指定する */
main.cms-lp .cf-feat_circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--x, 50%) var(--y, 50%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--x, 50%) var(--y, 50%);
}

/* 画面録画の動画（正方形に切り抜き済み）を丸いっぱいに表示する */
main.cms-lp .cf-feat_circle video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 丸の右下に重ねるハッシュタグ */
.cf-feat_tag {
  position: absolute;
  right: -14px;
  bottom: 6%;
  color: #5aab7c;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 0 6px #fff, 0 0 3px #fff, 0 0 1px #fff;
}

/* カード：画像側に向かって尖った白い枠 */
.cf-feat_card {
  --tip: 64px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 44px 50px 44px calc(var(--tip) + 30px);
  border-radius: 24px;
  background: #fff;
  clip-path: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%);
}

.cf-feat_item--reverse .cf-feat_card {
  padding: 44px calc(var(--tip) + 30px) 44px 50px;
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%);
}

main.cms-lp .cf-feat_title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.cf-feat_num {
  flex: none;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #ff9494;
  letter-spacing: 0.04em;
}

main.cms-lp .cf-feat_text {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.9;
}

/* ========================================================
   料金（制作費・月額料金 0円）
   ======================================================== */
main.cms-lp .cf-price {
  --pad-t: calc(clamp(44px, 6.5vh, 72px) + var(--bleed));
  --pad-b: calc(clamp(44px, 6.5vh, 72px) + var(--bleed));
  background: #fff;
}

.cf-price_wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

main.cms-lp .cf-price_list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* 枠のグラデーションは cms-template.css の .ct-price_card を使う */
main.cms-lp .cf-price_card {
  flex: none;
  width: 290px;
  padding: 26px 24px 28px;
}

main.cms-lp .cf-price_label {
  display: inline-block;
  padding: 4px 22px;
  border-radius: 8px;
  background: #ff9494;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

main.cms-lp .cf-price_amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-top: 16px;
  font-weight: 700;
}

.cf-price_num {
  font-size: 40px;
  line-height: 1;
}

.cf-price_unit {
  font-size: 26px;
}

.cf-price_amount small {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 400;
}

/* 吹き出し「制作費 月額料金 ともに無料！」 */
main.cms-lp .cf-price_bubble {
  position: absolute;
  top: -20px;
  left: calc(50% + 316px);   /* カード2枚の右端（50%+300px）＋しっぽの長さ＋すき間 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: #7ec899;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* 吹き出しのしっぽ：丸の左に付けた「◀」で、左横の料金カード（月額料金）の枠を指す。
   根元は丸の内側に重ねて、継ぎ目が出ないようにしている */
.cf-price_bubble::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 58%;
  margin-top: -10px;
  border-right: 18px solid #7ec899;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

main.cms-lp .cf-price_note {
  margin-top: 18px;
  font-size: 13px;
  text-align: center;
}

/* ========================================================
   Q&A
   ======================================================== */
/* 背景：.ct-support と同じく、上下に半透明の帯を少しはみ出させる。
   section は content-visibility で外側が切れるため、外側の div に持たせる */
.cf-qa-group {
  position: relative;
  z-index: 1;
}

.cf-qa-group::before,
.cf-qa-group::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.cf-qa-group::before {
  top: calc(-1 * var(--bleed));
  bottom: calc(-1 * var(--bleed));
  z-index: -2;
  background: rgba(255, 243, 230, 0.5);
}

.cf-qa-group::after {
  top: 0;
  bottom: 0;
  z-index: -1;
  background: #fff3e6;
}

/* ---- 見出し・質問の見た目は、おまかせ保育システムLPの「よくある質問」と同じ ----
   css/hoiku-lp.css の .fv-head（緑のピル＋左右の丸）と .fv-faq（質問カード）の指定を写したもの。
   このページは hoiku-lp.css を読み込まないので、必要な分だけここに置いている。
   両側の丸だけは、このページのほかの見出しと同じ .cf-pill_dot（12px＋外側の小さい丸）を使い、
   丸と帯の間も「4つのこと」の見出し（.cf-pill_title）と同じにしている */
.fv-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.fv-head_pill {
  background: #6fbf8b;
  color: #fff;
  text-shadow: 1px 2px 0 rgba(38, 92, 63, 0.55);   /* 文字の下に濃い影を落として輪郭を出す */
  font-size: clamp(17px, 2.4vh, 20px);
  font-weight: 700;
  line-height: 1.4;
  padding: clamp(9px, 1.5vh, 12px) clamp(24px, 3vw, 38px);
  border-radius: 999px;
  text-align: center;
}

/* 保育システムLPは見出しの下に説明文があるが、このページには無いので、その分だけ質問との間を空ける */
.fv-faq_headwrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(22px, 3.4vh, 34px);
}

.fv-faq_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fv-faq_item {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* 質問（ボタン）：白カード＋緑の丸Qバッジ */
.fv-faq_q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  line-height: 1.6;
  transition: background 0.2s;
}

/* マウス操作の端末だけホバー色を出す（タップ後に色が残るのを防ぐ）。開いている間は必ず白 */
@media (hover: hover) {
  .fv-faq_q:hover {
    background: #f7fbf8;
  }
}

.fv-faq_q[aria-expanded="true"],
.fv-faq_q[aria-expanded="true"]:hover,
.fv-faq_q:focus {
  background: #fff;
}

.fv-faq_mark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #6fbf8b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.fv-faq_qtext {
  flex: 1 1 auto;
}

.fv-faq_arrow {
  flex: 0 0 auto;
  font-size: 14px;
  color: #6fbf8b;
  transition: transform 0.25s;
}

.fv-faq_q[aria-expanded="true"] .fv-faq_arrow {
  transform: rotate(180deg);
}

/* 回答 */
.fv-faq_a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px 16px;
  background: #fff;
  border-top: 1px dashed #dceae2;   /* 質問との区切り */
}

.fv-faq_a[hidden] {
  display: none;
}

/* 回答側の「A」は塗りつぶさず、輪郭のバッジに */
.fv-faq_mark--a {
  background: #fff;
  color: #6fbf8b;
  border: 1.5px solid #6fbf8b;
}

main.cms-lp .fv-faq_atext {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

/* ========================================================
   スマート保育CMS（有料版）のご案内
   枠と文字の配置は cms-template.css の .ct-free を使う
   ======================================================== */
.cf-upgrade_visual {
  position: relative;
  padding: 0 0 18px;
}

main.cms-lp .cf-upgrade_visual .cf-upgrade_pc {
  width: 86%;
}

main.cms-lp .cf-upgrade_visual .cf-upgrade_sp {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 20%;
  filter: drop-shadow(0 8px 14px rgba(60, 40, 20, 0.22));
}

main.cms-lp .cf-upgrade_sub {
  color: #5aab7c;
  font-weight: 500;
}

main.cms-lp .cf-upgrade_more {
  margin-top: 20px;
  text-align: right;
}

/* 「詳しくはこちら」ボタン：トップページのお知らせの「お知らせ一覧はこちら」と同じ見た目。
   css/20_news.css の .news-more_btn / .news-more_arrow の指定を写したもの
   （このページは 20_news.css を読み込まないので、ここに置いている） */
.news-more_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 66px 11px 28px;
  background: #ff9494;
  box-shadow: 0 3px 0 #ff6868;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.news-more_btn:hover {
  color: #fff;
  opacity: 0.8;
}

.news-more_btn:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 #ff6868;
}

/* 右端の丸囲みの矢印（白い線のSVG） */
.news-more_arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 38px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 26' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='25' cy='13' r='12'/%3E%3Cpath d='M1 13h28M24 8l5 5-5 5'/%3E%3C/svg%3E") no-repeat center / contain;
  font-size: 0;
  color: transparent;
  transform: translateY(-50%);
}

/* ========================================================
   iPad横向きなど（980〜1199px）
   ======================================================== */
@media (min-width: 980px) and (max-width: 1199px) {
  main.cms-lp .cf-fv_tags li {
    min-width: 0;
  }

  .cf-price_bubble {
    transform: scale(0.9);
  }
}

/* ========================================================
   タブレット（〜979px）
   ======================================================== */
@media (max-width: 979px) {
  main.cms-lp .cf-fv_title {
    font-size: 30px;
  }

  .cf-intro_row {
    gap: 40px;
  }

  .cf-intro_visual {
    width: 300px;
    padding-right: 50px;
  }

  main.cms-lp .cf-intro_phone {
    width: 104px;
  }

  main.cms-lp .cf-intro_title {
    font-size: 24px;
  }

  .cf-check li {
    font-size: 16px;
  }

  .cf-keyword {
    flex-direction: column;
    gap: 10px;
    padding: 16px 24px;
  }

  main.cms-lp .cf-keyword_list {
    justify-content: center;
    gap: 6px 28px;
  }

  .cf-feat_visual {
    flex-basis: 230px;
  }

  .cf-feat_tag {
    font-size: 24px;
  }

  .cf-feat_card {
    --tip: 44px;
    min-height: 240px;
    padding: 32px 32px 32px calc(var(--tip) + 22px);
  }

  .cf-feat_item--reverse .cf-feat_card {
    padding: 32px calc(var(--tip) + 22px) 32px 32px;
  }

  main.cms-lp .cf-feat_title {
    gap: 12px;
    font-size: 24px;
  }

  .cf-feat_num {
    font-size: 34px;
  }

  main.cms-lp .cf-feat_text {
    margin-top: 12px;
    font-size: 15px;
    word-break: auto-phrase;
  }

  /* 料金：カードを少し細くして、吹き出しをカードの右横に置く（しっぽは左のカードを指す） */
  main.cms-lp .cf-price_list {
    gap: 16px;
  }

  main.cms-lp .cf-price_card {
    width: 230px;
  }

  main.cms-lp .cf-price_bubble {
    top: -16px;
    left: calc(50% + 254px);   /* カード2枚の右端（50%+238px）＋しっぽ＋すき間 */
    width: 96px;
    height: 96px;
    font-size: 12px;
    transform: none;
  }
}

/* ========================================================
   スマートフォン（〜640px）
   ======================================================== */
@media (max-width: 640px) {
  main.cms-lp .cf-fv_title {
    font-size: 23px;
  }

  main.cms-lp .cf-fv_tags li {
    min-width: 0;
  }

  /* 説明文は文節の区切りで改行する（「無償／版」のような途中改行を防ぐ。対応ブラウザのみ） */
  main.cms-free .ct-fv_lead,
  main.cms-free .cf-upgrade_text,
  main.cms-free .cf-feat_text {
    word-break: auto-phrase;
  }

  .cf-pill_title {
    gap: 22px;
  }

  .cf-pill {
    padding: 8px 22px;
    font-size: 17px;
  }

  /* 無料で始める：写真 → 文章 の縦積み */
  main.cms-lp .cf-intro {
    --pad-t: 24px;
    --pad-b: calc(36px + var(--bleed));
  }

  .cf-intro_row {
    flex-direction: column;
    gap: 40px;
  }

  .cf-intro_visual {
    width: 250px;
    padding-right: 44px;
  }

  main.cms-lp .cf-intro_phone {
    width: 88px;
    bottom: -16px;
  }

  .cf-intro_body {
    width: 100%;
  }

  main.cms-lp .cf-intro_title {
    font-size: 21px;
    text-align: center;
  }

  main.cms-lp .cf-check {
    display: grid;
    justify-content: center;
    margin-top: 18px;
  }

  .cf-check li {
    padding-left: 34px;
    font-size: 15px;
  }

  .cf-check li::before {
    top: 7px;
    width: 22px;
    height: 22px;
  }

  .cf-intro_arrows {
    gap: 24px;
    margin-top: 40px;
  }

  .cf-intro_arrows i {
    width: 18px;
    height: 15px;
  }

  /* キーワード：2列×2段 */
  main.cms-lp .cf-feat {
    --pad-t: 44px;
    --pad-b: 52px;
  }

  .cf-keyword {
    margin-top: 22px;
    padding: 14px 16px;
  }

  main.cms-lp .cf-keyword_label {
    font-size: 14px;
  }

  main.cms-lp .cf-keyword_list {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px 24px;
  }

  .cf-keyword_list a {
    font-size: 15px;
  }

  /* 特長：画像 → カード の縦積み。カードは上（画像側）に小さな三角を付ける */
  main.cms-lp .cf-feat_list {
    margin-top: 36px;
  }

  .cf-feat_item,
  .cf-feat_item--reverse {
    flex-direction: column;
    gap: 22px;
  }

  .cf-feat_item + .cf-feat_item {
    margin-top: 44px;
  }

  .cf-feat_visual {
    flex: none;
    width: 230px;
  }

  .cf-feat_tag {
    right: -24px;
    font-size: 22px;
  }

  .cf-feat_card,
  .cf-feat_item--reverse .cf-feat_card {
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 26px 22px 28px;
    border-radius: 18px;
    clip-path: none;
  }

  .cf-feat_card::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    margin-left: -14px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 16px solid #fff;
  }

  main.cms-lp .cf-feat_title {
    font-size: 21px;
  }

  .cf-feat_num {
    font-size: 32px;
  }

  /* 料金：カードを縦に並べる（吹き出しをカードの上に置く指定は 767px 以下の欄） */
  main.cms-lp .cf-price {
    --pad-t: calc(40px + var(--bleed));
    --pad-b: calc(40px + var(--bleed));
  }

  .cf-price_wrap {
    margin-top: 24px;
  }

  main.cms-lp .cf-price_list {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 320px;
  }

  main.cms-lp .cf-price_card {
    width: 100%;
    padding: 20px 18px 22px;
  }

  main.cms-lp .cf-price_label {
    font-size: 20px;
  }

  .cf-price_num {
    font-size: 34px;
  }

  main.cms-lp .cf-price_note {
    font-size: 13px;
  }

  /* Q&A：見出しの丸と帯の間は「4つのこと」の見出しと同じだけ詰める */
  .fv-head {
    gap: 22px;
  }

  .fv-head_pill {
    padding: 9px 18px;
    font-size: 17px;
  }

  .fv-faq_headwrap {
    margin-bottom: 18px;
  }

  /* スマート保育CMSのご案内：ボタンは中央 */
  main.cms-lp .cf-upgrade_more {
    text-align: center;
  }

  main.cms-lp .ct-free_text.cf-upgrade_text {
    text-align: center;
  }
}

/* スマート保育CMSのご案内：タブレット幅は文章の欄が狭く、PC用の改行位置だと「に。」だけが次の行に落ちるため、
   改行を外して文節の区切りで折り返す */
@media (min-width: 641px) and (max-width: 979px) {
  main.cms-free .cf-upgrade_text br.pc {
    display: none !important;
  }

  main.cms-free .cf-upgrade_text {
    word-break: auto-phrase;
  }
}

@media (max-width: 767px) {
  /* 「詳しくはこちら」ボタン：20_news.css と同じく 767px 以下で少し小さく */
  .news-more_btn {
    font-size: 14px;
    padding: 10px 54px 10px 22px;
  }

  .news-more_arrow {
    right: 12px;
    width: 32px;
    height: 22px;
  }

  /* 料金：カードの右横に吹き出しを置く幅がないので、吹き出しはカードの上に置き、
     しっぽは「▼」にして下のカードを指す */
  .cf-price_wrap {
    flex-direction: column;
    align-items: center;
  }

  main.cms-lp .cf-price_bubble {
    position: relative;
    top: auto;
    left: auto;
    order: -1;
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    font-size: 12px;
  }

  .cf-price_bubble::after {
    left: 50%;
    top: auto;
    bottom: -12px;
    margin-left: -10px;
    margin-top: 0;
    border-top: 22px solid #7ec899;
    border-right: 10px solid transparent;
    border-bottom: 0;
    border-left: 10px solid transparent;
  }
}

/* Q&A：保育システムLPと同じく 767px 以下で内側の余白を詰める */
@media (max-width: 767px) {
  .fv-faq_q {
    gap: 10px;
    padding: 13px 14px;
    font-size: 15px;
  }

  .fv-faq_a {
    gap: 10px;
    padding: 14px;
  }

  main.cms-lp .fv-faq_atext {
    font-size: 14px;
  }

  .fv-faq_list {
    gap: 10px;
  }
}

/* ========================================================
   小さいスマートフォン（〜360px）
   ======================================================== */
@media (max-width: 360px) {
  main.cms-lp .cf-fv_title {
    font-size: 20px;
  }

  .cf-pill,
  .fv-head_pill {
    font-size: 15px;
  }
}
