@charset "utf-8";
/* ==========================================================================
   page/top.css  ―  TOPページ固有スタイル

   カンプ実測値（1366px幅・ページ左上からの絶対座標）
     FVの高さ ……………………… 911px
     波の一番高いところ ………… y 668.5px
     波の一番低いところ ………… y 813.5px（振幅 145px）
     キャッチコピー ……………… x 85〜1300px / y 510〜750px
     影のグラデーション ………… y 483〜911px（高さ428px）
   ========================================================================== */


/* ==========================================================================
   ファーストビュー
   ========================================================================== */
.p-top-mv {
  position: relative;
  /* width を明示しないと、min-height に押されたときアスペクト比から
     横幅の方が計算されてしまい、画面より広くなる（1100px以下で横スクロール） */
  width: 100%;
  aspect-ratio: 1366 / 911;
  min-height: 560px;
}

.p-top-mv__bg {
  display: block;
  height: 100%;
}

.p-top-mv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* 写真の下端にかかるかすみ ― カンプの「グループ 287」1層目
   カンプと元写真を突き合わせて不透明度を逆算したところ、XDの指定どおり
   「y483.2 から 428px かけて 不透明度0 → 1」「色は #fafafa → #808080」でした。
   CSSのグラデーションは透明度を乗算済みで補間するため、XD（非乗算）の見え方に
   合わせて中間ストップを4つ足しています。 */
.p-top-mv::after {
  content: "";
  position: absolute;
  top: 53.04%;        /* 911px中 483.2px */
  right: 0;
  bottom: 0;          /* 483.2 + 428 = 911.2px ＝ 写真の下端 */
  left: 0;
  background: linear-gradient(to bottom,
    rgb(250 250 250 / 0)    0%,
    rgb(220 220 220 / 0.25) 25%,
    rgb(189 189 189 / 0.5)  50%,
    rgb(159 159 159 / 0.75) 75%,
    rgb(128 128 128 / 1)    100%);
  pointer-events: none;
}

/* キャッチコピー（Sicたいぷ・透過PNG）
   画像の余白を含めた配置。インクの左上がカンプ実測の x84 / y510.5 に来るよう算出 */
.p-top-mv__catch {
  position: absolute;
  bottom: 18.222%;  /* 911px中 166px */
  left: max(5.93%, calc(50% - 602px));  /* 1366px中 81px。広い画面では中央1366px枠の位置で止める */
  z-index: 2;       /* 土の波（z-index:1）より上に出す */
  width: min(94.217%, 1287px);          /* 1366px中 1287px */
}

.p-top-mv__catch img {
  display: block;
  width: 100%;
  height: auto;
}


/* 土の波。以前は .p-top-soil 全体（高さ2000px超）をマスクしていたが、
   マスクされた巨大なレイヤーはブラウザが一度に描画しきれず、
   セクションごと表示されないことがあったため、170pxの帯だけをマスクする */
.p-top-mv__wave {
  position: absolute;
  right: 0;
  bottom: 72.5px;          /* 911 − 838.5（波の帯の下端） */
  left: 0;
  z-index: 1;
  height: 170px;
  background-color: var(--color-soil);
  background-image: url(../../images/common/bg-soil.png);
  background-repeat: repeat;
  background-size: 256px auto;
  -webkit-mask-image: url(../../images/common/wave-01-fv.svg);
          mask-image: url(../../images/common/wave-01-fv.svg);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}


/* ==========================================================================
   FV直下の波 ― カンプ「グループ 287」の3層構造
   --------------------------------------------------------------------------
   XDの書き出しは次の3層でできていました。

     1層目  グラデーション（1366×428px）……… 上の .p-top-mv::after で再現
     2層目  茶色の波ベース #643a00 ……………… wave-01-fv.svg（波の形）
     3層目  テクスチャ画像を不透明度41.7%で重ねる（波の形でクリップ）

   2層目と3層目を合成した色を計算すると #7f5725 になり、カンプ実測の
   #7e5625 と一致します。つまり合成済みの bg-soil.png 1枚で置き換えられます。

   ※ 元のSVGは3.7MB（テクスチャPNGがbase64で埋め込まれていたため）。
      波の形だけを wave-01-fv.svg（351バイト）に抜き出しました。
   ========================================================================== */
.p-top-soil {
  position: relative;
  z-index: 1;
  margin-top: -72.5px;     /* 波の帯の下端（838.5px）から始める */

  background-color: var(--color-soil);
  background-image: url(../../images/common/bg-soil.png);
  background-repeat: repeat;
  background-position: 0 -170px;   /* 波の帯とテクスチャの継ぎ目を合わせる */
  background-size: 256px auto;
}

/* 装飾の基準を、カンプのカード上端（y834）に合わせる */
.p-top-soil__inner { top: -4.5px; }


/* ==========================================================================
   点線の道
   --------------------------------------------------------------------------
   3本ともカンプ上では途中で途切れて見えますが、実際は白いカードや写真の
   裏を通っているだけで、1本の連続したパスです。切り分けず、カード・写真より
   下のレイヤーに敷けばカンプ通りになります。

     path-dot-01.svg   left -88.8px  top  755.2px   1486.5 × 792.2   コンセプト
     path-dot-02.svg   left  -7.3px  top 1860.3px   1453.7 × 527.1   3つのねっこ
     path-dot-03.svg   left -18.3px  top 2981.9px   1035.2 × 1773.1  選ばれる理由

   （ページ左上からの絶対座標。マークアップ後に各セクションからの相対位置へ）
   ========================================================================== */
.p-top-path {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.p-top-path--01 { left: -88.8px; top:  755.2px; width: 1486.5px; }
.p-top-path--02 { left:  -7.3px; top: 1860.3px; width: 1453.7px; }
.p-top-path--03 { left: -18.3px; top: 2981.9px; width: 1035.2px; }

/* カード・写真・テキストは点線より上に */
.p-top-concept__card,
.p-top-nekko__card,
.p-top-strengths__photo { position: relative; z-index: 1; }

/* スクロールで道が描かれていく（JSで .is-active を付与。pathLength="1" 前提） */
.p-top-path.is-drawable path {
  stroke-dasharray: 0 1;
  transition: stroke-dasharray 2.4s var(--ease);
}

.p-top-path.is-drawable.is-active path { stroke-dasharray: 1 0; }


/* ==========================================================================
   実績（96,000人 / 約800人以上）
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標。セクション上端＝5737px）
     写真 ………………… 1366×803（result-photo.jpg・元画像1086×1448を cover で切り抜き）
     吹き出し1 ………… 左57    上5787（セクション上端から50）  443×335
     吹き出し2 ………… 左838.5 上6251.5（〃514.5）            496.7×340.4
     葉っぱ（1枚もの leaf-01）
       左上 … 左63   上5786   幅85    回転0度
       左   … 左20.7 上5893.8 幅76.5  回転77.5度
       右   … 左427  上5961.5 幅85    回転55度
     葉っぱ（双葉 leaf-02）
       吹き出し2 … 左763.8 上6397 幅148.5 回転0度

   写真は長方形のまま敷いて、上下のうねうねは「隣のセクションの色の波」を
   重ねて作る。上＝土（テクスチャ入り）／下＝深緑のベタ。

   ここは「写真の上に吹き出しを置いた1枚絵」なので、画面幅が変わっても
   写真と吹き出しの大きさの比率が崩れないよう、中身はすべて同じ倍率で
   拡大縮小する。--u がカンプ1366pxでの1pxぶんの長さ。
   ========================================================================== */
.p-top-result {
  position: relative;
  z-index: 2;                    /* 吹き出し2の下側が次の深緑セクションにはみ出すため */
  container-type: inline-size;   /* 中の --u がこのセクションの幅を基準にする */
  aspect-ratio: 1366 / 803;
  background-image: url(../../images/top/result-photo.jpg);
  background-position: center;
  background-size: cover;
}

/* 上端：土の波（テクスチャをマスクで乗せる） */
.p-top-result::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 55px;
  background-color: var(--color-soil);
  background-image: url(../../images/common/bg-soil.png);
  background-size: 256px auto;
  -webkit-mask-image: url(../../images/common/wave-04-soil-photo.svg);
          mask-image: url(../../images/common/wave-04-soil-photo.svg);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

/* 下端：深緑の波（単色） */
.p-top-result::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 40px;
  background-color: var(--color-green-dark);
  -webkit-mask-image: url(../../images/common/wave-05-photo-green.svg);
          mask-image: url(../../images/common/wave-05-photo-green.svg);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.p-top-result__inner {
  --u: calc(100cqw / 1366);   /* カンプ1366pxでの1px */
  position: relative;
  z-index: 1;                 /* 吹き出しを下端の緑の波（::after）より手前に出す */
  width: 100%;                /* 1366pxで止めない。写真と一緒に拡大縮小させる */
  height: 100%;
}

/* --- 吹き出し2つ --- */
.p-top-result__item {
  position: absolute;
  color: var(--color-brown);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p-top-result__item--01 {
  top: 6.2266%;            /* 803px中 50px */
  left: 4.1728%;           /* 1366px中 57px */
  width: 32.4304%;         /* 443px */
  aspect-ratio: 443 / 335;
  padding: calc(47 * var(--u)) calc(20 * var(--u)) 0 calc(57 * var(--u));
  background-image: url(../../images/top/balloon-result-01.svg);
}

.p-top-result__item--02 {
  top: 64.0722%;           /* 803px中 514.5px */
  left: 61.3836%;          /* 1366px中 838.5px */
  width: 36.3616%;         /* 496.7px */
  aspect-ratio: 496.7 / 340.4;
  /* 右のアキが狭いと、筑紫が入っていない環境（代替書体）で詳細文が4行に折り返す */
  padding: calc(63 * var(--u)) calc(30 * var(--u)) 0 calc(49 * var(--u));
  background-image: url(../../images/top/balloon-result-02.svg);
}

/* モッチーポップはカンプの書体より字幅が狭いので、字間を足して
   カンプと同じ1文字あたりの送り幅（見出し31px／数字51.5px）に合わせている */
.p-top-result__label {
  padding-left: calc(74 * var(--u));   /* カンプでは数字の上で中央寄せの位置にある */
  font-family: var(--font-heading);
  font-size: calc(27 * var(--u));
  line-height: calc(39 * var(--u));
  letter-spacing: 0.148em;
}

.p-top-result__num {
  font-family: var(--font-heading);
  font-size: calc(58 * var(--u));
  line-height: calc(70.7 * var(--u));
  letter-spacing: 0.12em;
  color: var(--color-green);
}

.p-top-result__num span { font-size: calc(42 * var(--u)); color: var(--color-brown); }

.p-top-result__num--lead {
  padding-right: calc(25 * var(--u));   /* カンプの中心（左端から242.5px）に合わせる */
  font-size: calc(35 * var(--u));
  line-height: calc(55 * var(--u));
  letter-spacing: 0.15em;
  color: var(--color-brown);
  text-align: center;
}

/* .p-top-result__num span より詳細度を上げないと数字が小さいままになる */
.p-top-result__num .p-top-result__big {
  font-size: calc(54 * var(--u));
  color: var(--color-green);
}

.p-top-result__desc {
  margin-top: calc(23 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: 700;
  line-height: calc(28 * var(--u));
}

.p-top-result__item--02 .p-top-result__desc { margin-top: calc(16 * var(--u)); }

/* --- 葉っぱ・集中線 --- */
.p-top-result__leaf,
.p-top-result__lines {
  position: absolute;
  height: auto;
  pointer-events: none;
}

/* 吹き出し1は1枚ものの葉（leaf-01）を3枚、カンプの角度で置く */
.p-top-result__leaf--a { top:  -0.299%; left:   1.354%; width: 19.190%; }
.p-top-result__leaf--b { top:  31.881%; left:  -8.194%; width: 17.268%; transform: rotate(77.5deg); }
.p-top-result__leaf--c { top:  52.090%; left:  83.521%; width: 19.190%; transform: rotate(55deg); }
/* 吹き出し2は双葉（leaf-02）を1枚だけ、回転なし */
.p-top-result__leaf--d { top:  42.744%; left: -15.040%; width: 29.898%; }

.p-top-result__lines { transform: scaleY(-1); }   /* カンプは上下反転の向き */
.p-top-result__item--01 .p-top-result__lines { top: 10.149%; left: 69.639%; width: 10.384%; }
.p-top-result__item--02 .p-top-result__lines { top: 16.011%; left: 80.511%; width: 10.066%; }


/* ==========================================================================
   土エリアの背景装飾
   --------------------------------------------------------------------------
   位置はカンプから実測（ページ左上からの絶対座標 → 土の上端 668.5px を引いた値）

     path-dot-01.svg     左 -88.8 / 上  755.2   ※FVキャッチ直下の半円アーチを含む
     path-dot-02.svg     左  -7.3 / 上 1860.3
     blob-green-01.png   左1104.5 / 上  858.5   黄緑（右側）
     blob-green-02.png   左  70.0 / 上 1271.0   濃緑＋黄緑の2つ組（左側）

   CSSの top は .p-top-soil__inner の上端（＝ページ834px）が基準なので、
   上の数値から 834 を引いた値を入れている。

   点線は1本の連続したパスで、カードの裏を通ります。切り分けていません。
   ========================================================================== */
/* 装飾は「1366px幅・中央寄せの箱」を基準に置く。
   固定pxのまま body 基準にすると、画面が1366pxより広いときに
   中央寄せのカードだけが右へずれて位置関係が壊れる。 */
.p-top-soil__inner {
  position: relative;
  width: min(1366px, 100%);
  margin-inline: auto;
}

.p-top-deco {
  position: absolute;
  z-index: 0;
  max-width: none;   /* リセットCSSの max-width:100% で幅が切られるのを解除 */
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* 点線の道は画面幅に合わせて横に伸ばし、どの画面幅でも左右に見切れるようにする。
   1366pxではカンプどおり（左-88.8 / 幅1486.5、左-7.3 / 幅1453.7）。
   縦は高さを固定して横だけ伸ばす（object-fit: fill） */
.p-top-deco--path01,
.p-top-deco--path02 { object-fit: fill; }

.p-top-deco--path01 { left: calc(50% - 56.5vw);   top:  -78.8px; width: 108.82vw; height: 791.7px; }
.p-top-deco--path02 { left: calc(50% - 50.534vw); top: 1026.3px; width: 106.42vw; height: 526.8px; }
/* 緑のブロブはカードより手前。カンプでも重なり部分は緑が見えている。
   点線はカードの裏を通るので z-index: 0 のまま */
.p-top-deco--blob01 { left: 1104.5px; top:   24.5px; width:  169px;   z-index: 2; }
.p-top-deco--blob02 { left:   70.0px; top:  437.0px; width:  185.5px; z-index: 2; }

/* 3つのねっこ・右側の濃い緑（カンプ：塗りの左端1289 上2119、右端で127.5px見切れる）。
   どの画面幅でも同じ見切れ方になるよう、画面の右端を基準にする */
/* 3つのねっこ・左の黄緑（blob-green-01 を150度回転。カンプ：右端133 上1856、左端で見切れる） */
.p-top-deco--blob05 {
  top: 1060.2px;
  left: 8.8px;   /* カードの下に少し入り込ませる */   /* カードに添える位置（1366px枠基準）。画面端基準にはしない */
  width: 143.3px;
  transform: rotate(150deg);
}

.p-top-deco--blob04 {
  top: 1256.2px;
  right: calc(50% - 50vw - 127.5px);
  left: auto;
  width: 237.5px;
}

@media screen and (max-width: 1100px) {
  .p-top-deco--path01,
  .p-top-deco--path02 { display: none; }   /* SP版のレイアウトが決まるまで非表示 */
  /* SPカンプ実測（土のブロックの上端からの位置）
       右 … 左313 上24 幅181（右端で見切れる）
       左 … 左-50 上308 幅120（左端で見切れる。ロゴと見出しの間の高さ） */
  .p-top-deco--blob01 { right: auto; left: 313px; top: 24px; width: 181px; }
  .p-top-deco--blob02 { left: -50px; top: 308px; width: 120px; }
}


/* ==========================================================================
   コンセプト
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標）
     カード ……… 左131.5px / 上834px / 1085.5 × 652.2px
     ロゴ ………… 左258px（カード左端から126.5px）/ 幅220px
     本文の左端 … 左585px（カード左端から453.5px）
   card-concept.svg は path の外側に 左右9px・上6px の余白（影の分）があるため、
   背景画像として敷くときはその分を見込んで配置しています。
   ========================================================================== */
.p-top-concept__card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 107px;
  width: min(1103.5px, 88%);
  min-height: 652px;               /* SVGの形が縦につぶれないよう、カンプの高さを確保 */
  top: -6px;                       /* card-concept.svg は影の分だけ上に6pxの余白を持つ。
                                      margin-top で下げるとマージンの相殺で親ごと動くため position でずらす */
  margin-left: 8.97%;              /* 1366px中 122.5px。中央寄せだと装飾と8.7pxずれる */
  margin-right: auto;
  /* ％指定のpaddingは「親要素の幅」を基準に計算されてしまうため、px で指定する */
  padding: 103px 89px 70px 135.5px;   /* 右は本文の折り返し位置をカンプに合わせて広げている */
  background-image: url(../../images/top/card-concept.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p-top-concept__logo {
  flex: 0 0 220px;
  align-self: center;
  /* カードの上下パディング差（103と70）を打ち消して、カードの外形の縦中央に置く */
  margin-bottom: 33px;
}

.p-top-concept__logo img {
  width: 100%;
  height: auto;
}

.p-top-concept__body {
  flex: 1;
  min-width: 0;
}

.p-top-concept__title {
  margin-bottom: 1.2em;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.55;
  letter-spacing: 0.35em;   /* カンプの字間（1行目の文字幅349px）に合わせる */
  color: var(--color-green);
}

.p-top-concept__body p {
  font-weight: 700;   /* 全文ボールド */
  font-size: 1.6rem;
  line-height: 39px;   /* カンプの行送り */
}

.p-top-concept__body p + p { margin-top: 0; }   /* カンプは段落間も行送りと同じ */

.p-top-concept__body strong { font-weight: 700; }


/* ==========================================================================
   3つのねっこ
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標）
     見出し …………… y1621.5〜1663
     リード3行 ……… y1706.5 / 1738 / 1768.5（行送り31.5px）
     カード1 ………… 左81.5  上1811.5   377×467
     カード2 ………… 左494.5 上1856.0   （カード1より +44.5px 下）
     カード3 ………… 左902.5 上1826.0   （カード1より +14.5px 下）
     まとめ文 ……… y2423.5 / 2474.5（行送り51px）
     ボタンの文字 … y2616.5〜2643

   card-nekko.png は 396×486px、形の実寸は 378×468px（左右9px・上6pxが余白）。
   3枚とも同じ形なので1ファイルを使い回している。
   ========================================================================== */
.p-top-nekko {
  padding-top: 87px;
  padding-bottom: 180px;
  color: #fff;
  text-align: center;
}

.p-top-nekko__en {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.p-top-nekko__title {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.4;
  letter-spacing: 0.323em;   /* カンプの文字幅783pxに合わせる */
}

.p-top-nekko__lead {
  margin-top: 29px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.97;
}

/* --- カード3枚 --- */
.p-top-nekko__list {
  display: flex;
  justify-content: space-between;
  width: 1217px;
  max-width: 94%;
  margin: 12px auto 0;
}

.p-top-nekko__item--kankaku { margin-top: 44.5px; }   /* カンプの段差 */
.p-top-nekko__item--kokoro  { margin-top: 14.5px; }

.p-top-nekko__card {
  width: 396px;
  min-height: 486px;
  padding: 34px 34px 40px;
  background-image: url(../../images/top/card-nekko.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--color-brown);
}

.p-top-nekko__illust {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 250px;
}

.p-top-nekko__illust img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.p-top-nekko__name {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

/* 見出しの左上にはねる赤い線 */
.p-top-nekko__lines {
  position: absolute;
  top: -26px;
  left: -46px;
  width: 45px;
  height: auto;
}

.p-top-nekko__key {
  font-size: 2.8rem;
  letter-spacing: 0.04em;
}

.p-top-nekko__item--ugoki   .p-top-nekko__key { color: var(--color-orange); }
.p-top-nekko__item--kankaku .p-top-nekko__key { color: var(--color-green-btn); }
.p-top-nekko__item--kokoro  .p-top-nekko__key { color: var(--color-red); }

.p-top-nekko__desc {
  margin-top: 14px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.9;
}

/* --- まとめ文 --- */
.p-top-nekko__result {
  margin-top: 78px;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.6;
  letter-spacing: 0.383em;   /* カンプの文字幅（1行目438px／2行目641px）に合わせる */
}

.p-top-nekko__num { font-size: 4rem; }

.p-top-nekko__mark {
  display: inline-block;
  padding-bottom: 10px;
  background-image: url(../../images/common/underline-wave.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 15px;   /* 波の高さはカンプ実測15px。横だけ伸ばす */
}

/* --- ボタン --- */
.p-top-nekko__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 47px;
}

/* カンプはボタンの中央に文字、矢印は右端から33pxの位置（文字の中央ぞろえを優先） */
.p-top-nekko__action .c-btn {
  position: relative;
  gap: 0;
  min-width: 366px;
  min-height: 78px;
  font-size: 1.8rem;
}

.p-top-nekko__action .c-btn img {
  position: absolute;
  top: 50%;
  right: 33px;
  width: 34px;
  height: auto;
  transform: translateY(-50%);
}

.p-top-nekko__swash {
  position: absolute;
  top: -58px;
  right: -74px;
  width: 60px;
  height: auto;
}


/* ==========================================================================
   選ばれる理由（Point 01〜03）
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標）
     Our Strengths … y2939〜2958.5（中央）
     大見出し ……… y2985前後
     写真1 ………… 左59.5  上3115.5   645.5×530.5（カンプと照合して確定）
     写真2 ………… 左672   上3745
     写真3 ………… 左75    上4244
     バッジ1 ……… 左100   上3067
     バッジ2 ……… 左697   上3670
     バッジ3 ……… 左100   上4258
     本文1の左端 … 728 ／ 本文2の左端 … 112

   写真は「マスク済みPNG（1枚1.6MB）」でいただいたものを、
   JPEG＋マスクPNGに分解して軽くしている（3枚で4.8MB → 605KB）。
   ========================================================================== */
.p-top-strengths {
  position: relative;
  z-index: 2;   /* 土のブロック（z-index:1）より前に出して、境目の波を見せる */
  padding: 64px 0 26.5px;   /* 次のセクションの波の上端がカンプの5044.5に来る */
  background-color: var(--color-cream);
}

/* 土のセクションとの境目のナミナミ（クリーム色で上に重ねる）。
   カンプ実測：境目は y2755〜2841 の波。wave-02 は波の下側が塗りつぶし */
.p-top-strengths::before {
  content: "";
  position: absolute;
  top: -89px;       /* 波のいちばん低い所が土のセクションの下端に来る位置 */
  right: 0;
  left: 0;
  height: 176.6px;
  background-color: var(--color-cream);
  -webkit-mask-image: url(../../images/common/wave-02-soil-cream.svg);
          mask-image: url(../../images/common/wave-02-soil-cream.svg);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-size: 100% 100%;
          mask-repeat: no-repeat;
}

.p-top-strengths__inner {
  position: relative;
  z-index: 1;   /* 境目のナミナミより前 */
  width: min(1366px, 100%);
  margin-inline: auto;
  text-align: center;
}

.p-top-strengths__en {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--color-brown);
}

.p-top-strengths__title {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-brown);
}

/* --- Point 01〜03 --- */
.p-top-strengths__list {
  position: relative;
  margin-top: 117px;   /* カンプ：1枚目の写真の上端3116 */
  text-align: left;
}

.p-top-strengths__item {
  position: relative;
  min-height: 620px;   /* カンプの写真の間隔：1→2が620、2→3が554 */
}

.p-top-strengths__item:nth-child(2) { min-height: 554px; }
.p-top-strengths__item:nth-child(3) { min-height: 600px; }

.p-top-strengths__media {
  position: absolute;
  top: -2px;
  left: 59.5px;
  width: 645.5px;
}

.p-top-strengths__item--reverse .p-top-strengths__media { left: 672px; }
.p-top-strengths__item:nth-child(3) .p-top-strengths__media { left: 75px; }

/* 吹き出しは写真より手前。写真は z-index:1 を持っているので 2 を当てる
   （同じ z-index だと、HTMLで後に書かれている写真が上に来てしまう）
   位置はカンプ実測：バッジ1 左100/上3067、バッジ2 左697/上3670、バッジ3 左100/上4258 */
.p-top-strengths__badge {
  position: absolute;
  z-index: 2;
  width: 175px;
}

.p-top-strengths__item:nth-child(1) .p-top-strengths__badge { top: -50.5px; left: 40.5px; }
.p-top-strengths__item:nth-child(2) .p-top-strengths__badge { top: -75px;   left: 25px; }
.p-top-strengths__item:nth-child(3) .p-top-strengths__badge { top: 14px;    left: 25px; }

.p-top-strengths__badge img { width: 100%; height: auto; }

/* 写真は切り抜き済みの透過PNGをそのまま配置 */
.p-top-strengths__photo {
  display: block;
  width: 100%;
  height: auto;
}

.p-top-strengths__body {
  padding-top: 105px;
  margin-left: 728px;
}

.p-top-strengths__item--reverse .p-top-strengths__body {
  margin-right: 728px;
  margin-left: 112px;
}

.p-top-strengths__lead {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  letter-spacing: 0.25em;
  line-height: 1.75;
  color: #5b9d40;
}

.p-top-strengths__text {
  font-weight: 700;
  margin-top: 26px;
  font-size: 1.4rem;
  line-height: 2;
  color: var(--color-brown);
}

.p-top-strengths__text strong { font-weight: 700; }

/* --- ボタン --- */
.p-top-strengths__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 48px;
}

.p-top-strengths__action .c-btn {
  position: relative;
  gap: 0;
  min-width: 370px;
  min-height: 77px;
  padding-right: 49px;   /* カンプは文字の中心がボタン中央より10.5px左（左パディング28pxとの差で調整） */
  font-size: 1.8rem;
}

.p-top-strengths__action .c-btn img {
  position: absolute;
  top: 50%;
  right: 33px;
  width: 34px;
  height: auto;
  transform: translateY(-50%);
}

.p-top-strengths__action .c-btn img { width: 34px; height: auto; }

.p-top-strengths__swash {
  position: absolute;
  top: -64px;        /* カンプ：ボタンの上端から64px上 */
  right: -112.5px;   /* カンプ：ボタンの右端から外へ */
  width: 86.7px;     /* カンプの見た目の大きさ66.5×97に合わせる */
  height: auto;
}

/* --- 背景装飾 --- */
.p-top-deco--blob03 {
  /* 「夢中」の先にある…のセクションと同じ黄緑の装飾。
     カンプ：幅234.4 上2980（セクションの内側から75px）、右端で96.4px見切れる。
     どの画面幅でも同じ見切れ方になるよう、画面の右端を基準にする */
  top: 75px;
  right: calc(50% - 50vw - 96.4px);
  left: auto;
  width: 234.4px;
}
/* 点線の道は画面幅に合わせて横に伸ばす（1366pxではカンプどおり 左-18.3 / 幅1035.2） */
/* Point03・右の黄緑（カンプ：左端1265 上4594、右端で215.7px見切れる） */
.p-top-deco--blob06 {
  top: 1689px;
  right: calc(50% - 50vw - 215.7px);
  left: auto;
  width: 316.7px;
}

/* Point03・左の緑（濃い緑ひとつの素材。カンプ：塗りの右端85 上4790） */
.p-top-deco--blob07 {
  top: 1836.6px;
  left: calc(50% - 50vw - 137.6px);
  width: 292.5px;
}

.p-top-deco--path03 {
  /* 点線そのものを左下へ520px描き足した1本のパス（継ぎ目なし）。
     カンプに写っている部分の形・位置は変えていない */
  left: -538.3px;
  top: 79.7px;
  width: 1555.2px;
}


/* ==========================================================================
   ご利用の流れ（Flow）
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標）
     クリーム→土の波 … 上端 y5044.5（wave-03、振幅111.5px）
     Flow ……………… y5157.5
     大見出し ………… y5188
     番号 01〜05 …… y5291
     丸と横線 ………… y5336
     アイコン ………… y5365.5（120×120）
     小見出し ………… y5498
     説明1行目 ……… y5561（行送り28px）

     5列の中心 … 160.8 / 421.8 / 682.8 / 943.8 / 1204.8（261px等間隔）
     列の幅 261px ／ 全体 1305px ／ 左右の余白 30.5px
   ========================================================================== */
.p-top-flow {
  position: relative;
  /* 1366pxではカンプどおり。画面が広いほど上下の余白を増やす（1920pxで+60px） */
  padding: calc(107px + (100vw - 1366px) * 0.108) 0 calc(120.7px + (100vw - 1366px) * 0.108);
  color: #fff;
  text-align: center;
  background-color: var(--color-soil);
  background-image: url(../../images/common/bg-soil.png);
  background-repeat: repeat;
  background-size: 256px auto;
}

/* 上端のクリーム色の波 */
.p-top-flow::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 112.5px;   /* 上端を1px重ねてマスクのアンチエイリアスの継ぎ目を隠す */
  background-color: var(--color-cream);
  -webkit-mask-image: url(../../images/common/wave-03-cream-soil.svg);
          mask-image: url(../../images/common/wave-03-cream-soil.svg);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.p-top-flow__inner {
  position: relative;
  width: min(1366px, 100%);
  margin-inline: auto;
}

.p-top-flow__en {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.p-top-flow__title {
  margin-top: 1.5px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* --- 5ステップ --- */
.p-top-flow__track {
  width: min(1305px, calc(100% - 40px));
  margin: 53.8px auto 0;
}

.p-top-flow__list {
  position: relative;
  display: flex;
}

/* 丸をつなぐ横線。最初と最後の丸の中心を結ぶ */
.p-top-flow__list::before {
  content: "";
  position: absolute;
  top: 45px;                 /* 丸の中心 */
  right: 10%;                /* 261px ÷ 2 ÷ 1305px */
  left: 10%;
  height: 2px;
  background-color: #fff;
}

.p-top-flow__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.p-top-flow__num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
}

.p-top-flow__dot {
  display: block;
  width: 24px;
  height: 24px;
  margin: 10.6px auto 0;
  background-color: #fff;
  border-radius: 50%;
}

.p-top-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-top: 18px;
}

.p-top-flow__icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* 04だけ2行なので、高さを2行分で固定して説明文の開始位置を揃える */
.p-top-flow__name {
  min-height: 51px;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1.5;
}

.p-top-flow__desc {
  margin-top: 11.7px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 2.15;
}


/* ==========================================================================
   保護者の声（Voice）
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標）
     Voice ………… y6597
     大見出し …… y6624.5
     吹き出し …… 左147.5 / 700.5   幅517.5   1段目 上6750.5 ／ 2段目 上7159.5
     （列の間 35.5px ／ 2列で1070.5px ＝ 左右の余白147.75px）

   吹き出しは文章量で高さが変わるので、本体はCSSの角丸で作り、
   しっぽだけ balloon-tail.svg を ::after に置いている。
   ========================================================================== */
.p-top-voice {
  position: relative;
  z-index: 1;    /* お知らせの緑の波より手前に出す */
  /* 実績セクションの吹き出し2が下へ52pxはみ出してくる。画面が広いほど
     はみ出し量も増えるので、見出しに掛からないよう上のアキも同じだけ広げる
     （1366pxではカンプどおり54px） */
  padding: calc(54px + max(0px, (100vw - 1381px) * 0.0379)) 0 0;
  color: #fff;
  text-align: center;
  background-color: var(--color-green-dark);
}

.p-top-voice__inner {
  position: relative;
  z-index: 1;                 /* 緑の飾りより手前 */
  width: min(1366px, 100%);
  margin-inline: auto;
}

/* --- 背景の緑の飾り ---------------------------------------------------
   カンプ実測（ページ左上からの絶対座標。セクション上端は6540px）
     右上 … blob-green-03 を72度回転／幅347.9  左1240 上6483.2
     右下 … blob-green-01 を-42度回転／幅317.7 左1185.1 上7437.1
   どちらも画面の右端で見切れるので、1366pxより広い画面でも
   見切れ方が変わらないよう画面右端を基準に置く。
   -------------------------------------------------------------------- */
.p-top-voice__deco {
  position: absolute;
  z-index: 0;
  max-width: none;   /* リセットCSSの max-width:100% を解除 */
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* 左：濃い緑＋黄緑の2つ組（カンプ：左-101.8 上6786.8／幅221.5・画面左端で見切れ） */
.p-top-voice__deco--lt {
  top: 246.8px;
  left: calc(50% - 50vw - 101.8px);
  width: 221.5px;
}

.p-top-voice__deco--rt {
  top: -56.8px;
  right: calc(50% - 50vw - 221.9px);
  width: 347.9px;
  transform: rotate(72deg);
}

.p-top-voice__deco--rb {
  top: 897.1px;
  right: calc(50% - 50vw - 136.8px);
  width: 317.7px;
  transform: rotate(-42deg);
}

.p-top-voice__en {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.12em;
}

.p-top-voice__title {
  margin-top: 9px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.p-top-voice__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 47.5px 36px;          /* カンプ：吹き出しの上端どうしが409px間隔 */
  width: min(1070px, 92%);   /* カンプ：左148〜右1218 */
  margin: 77.5px auto 0;     /* カンプ：吹き出しの上端がセクション上端から210.5px */
  text-align: left;
}

/* 吹き出しの形はカンプから輪郭を写し取ったSVG。
   角丸の長方形ではなく、手描きふうに左右で膨らみが違う形をそのまま使う。
   横幅はリストが1070pxで頭打ちになるので、1164px以上では変形しない。 */
.p-top-voice__bubble {
  position: relative;
  min-height: 246px;                  /* カンプ：517.5 × 246 */
  /* 上は カンプどおり本文の1行目が上から46.5px。
     左右は カンプ（左47.5px）より狭い34px。筑紫丸ゴが無い環境の代替書体は
     字幅が広く、1行が448pxになるため、カンプの位置だと吹き出しの丸みに
     文字が当たってしまう */
  padding: 38px 32px 0 34px;
  color: var(--color-brown);
  background-image: url(../../images/common/bubble-voice.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.p-top-voice__bubble p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 28px;
}

/* しっぽ */
.p-top-voice__bubble::after {
  content: "";
  position: absolute;
  /* カンプ実測：吹き出しの左端から63.5px、下へ25px出る大きさ（元画像の半分）。
     SVGは上に10ぶん伸ばしてあるので、本体と5px重なって継ぎ目が出ない。
     ％で置いているのは、吹き出しの箱が伸び縮みしてもしっぽが離れないようにするため
     （1366pxの吹き出し517.5×246に対する比率） */
  bottom: -10.163%;
  left: 12.271%;
  width: 6.86%;
  height: 13.618%;
  background-color: #fff;
  -webkit-mask-image: url(../../images/common/balloon-tail.svg);
          mask-image: url(../../images/common/balloon-tail.svg);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.p-top-voice__person {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.p-top-voice__person img {
  flex-shrink: 0;
  width: 79px;
  height: 79px;
  border-radius: 50%;
}

.p-top-voice__name {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  /* カンプの1文字あたりの送り幅22pxに合わせる */
  letter-spacing: 0.128em;
  line-height: 29px;
}

.p-top-voice__area {
  font-size: 1.4rem;
  line-height: 24px;
}


/* ==========================================================================
   お知らせ（News）
   --------------------------------------------------------------------------
   カンプ実測（1366px幅・ページ左上からの絶対座標）
     深緑→クリームの波 … 下端 y7718.5（wave-06。緑の形を上に重ねる）
     News ……………… y7783   左150
     お知らせ ………… y7829   左150
     サムネイル ……… 左449  上7801 / 7954 / 8107（113×112.5、行の間隔153）
     本文の左端 ……… 595
   ========================================================================== */
.p-top-news {
  position: relative;
  z-index: 0;
  margin-top: -105.3px;     /* 緑の波を「保護者の声」に食い込ませる */
  padding: 401px 0 83px;    /* 波(336.6px)＋見出しまでの距離 */
  background-color: var(--color-cream);
}

/* 上端に重ねる深緑の波 */
.p-top-news::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 336.65px;
  background-color: var(--color-green-dark);
  -webkit-mask-image: url(../../images/common/wave-06-green-cream.svg);
          mask-image: url(../../images/common/wave-06-green-cream.svg);
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}

.p-top-news__inner {
  position: relative;
  display: flex;
  width: min(1090px, 92%);
  margin-left: 11%;          /* 1366px中 150px */
}

.p-top-news__head { flex: 0 0 299px; }

.p-top-news__en {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-green);
}

.p-top-news__title {
  margin-top: 28px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  /* カンプは1文字あたり49.3px送り。書体差で完全には届かないので近づける */
  letter-spacing: 0.16em;
  color: var(--color-green);
}

.p-top-news__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-orange);
  transition: opacity var(--duration) var(--ease);
}

.p-top-news__more:hover { opacity: .7; }
.p-top-news__more img { width: 28px; height: auto; }

/* 記事リストは .c-news-list（style.css）を使う。TOPは幅だけ指定 */
.p-top-news__list { flex: 1; min-width: 0; }

.p-top-news__leaf {
  position: absolute;
  height: auto;
  pointer-events: none;
}

/* 葉っぱはすべて1枚もの（leaf-01）。角度・位置はカンプから実測
     右上 … 左1193   上7771.1 幅68    82度
     左上 … 左148.1  上8081.4 幅80.8   0度
     左下 … 左74.7   上8136.2 幅70.6 -124.5度
   （.p-top-news__inner の左上は カンプで 左150.3 / 上7781.3） */
.p-top-news__leaf--a { top: -10.2px; right: -20.7px; width: 68px;   transform: rotate(82deg); }
.p-top-news__leaf--b { top: 300.1px; left:   -2.2px; width: 80.8px; }
.p-top-news__leaf--c { top: 354.9px; left:  -75.6px; width: 70.6px; transform: rotate(-124.5deg); }




/* ==========================================================================
   以下、各セクション（これから）
   ========================================================================== */








/* ==========================================================================
   SP（〜767px）
   ========================================================================== */
@media screen and (max-width: 1100px) {
  .p-top-mv {
    aspect-ratio: 393 / 700;
    min-height: 0;
  }

  .p-top-mv__catch {
    bottom: 12%;
    left: 5%;
    width: 90%;
  }

  .p-top-concept__card {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 92%;
    margin-inline: auto;
    padding: 14% 8% 12%;
  }

  .p-top-concept__logo { flex: 0 0 auto; width: 160px; }
  .p-top-concept__title { font-size: 2.2rem; text-align: center; }

  .p-top-nekko { padding-top: 70px; padding-bottom: 100px; }
  .p-top-nekko__title { font-size: 2.4rem; }
  .p-top-nekko__lead  { font-size: 1.4rem; }
  .p-top-nekko__list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
  }
  .p-top-nekko__item--kankaku,
  .p-top-nekko__item--kokoro { margin-top: 0; }
  .p-top-nekko__card { width: min(396px, 88vw); min-height: 0; aspect-ratio: 396 / 486; }
  /* PCの字間（0.383em）のままだと2行目が入りきらず3行になる。カンプは約0.02em */
  .p-top-nekko__result { margin-top: 56px; font-size: 2rem; letter-spacing: 0.02em; }
  .p-top-nekko__num { font-size: 2.6rem; }
  .p-top-nekko__action { margin-top: 36px; }
  .p-top-nekko__action .c-btn { min-width: 0; width: min(296px, 82vw); min-height: 62px; font-size: 1.5rem; }
  /* カンプ：ボタンの右上。ボタン(296×62)の右端から20px外、上に43px */
  .p-top-nekko__swash { display: block; top: -43px; right: -20px; width: 48px; }

  /* カンプ：ボタン下端から土の波の頂点まで47px（波の食い込み42.1pxぶんを差し引く） */
  .p-top-strengths { padding: 36px 0 5px; }
  /* カンプのSP波は振幅31.5px（PCは87.7px）。マスクを縦に縮めて緩やかにする */
  .p-top-strengths::before { top: -32.8px; height: 63.4px; }
  .p-top-strengths__inner { padding-inline: 20px; }
  .p-top-strengths__title { font-size: 2.4rem; }
  /* カンプ：見出し2行目の字面下端からPoint01の写真上端まで20px */
  .p-top-strengths__list { margin-top: 16.5px; }
  .p-top-strengths__item,
  .p-top-strengths__item:nth-child(2),
  .p-top-strengths__item:nth-child(3) { min-height: 0; margin-bottom: 48px; }
  .p-top-strengths__media,
  .p-top-strengths__item--reverse .p-top-strengths__media,
  .p-top-strengths__item:nth-child(3) .p-top-strengths__media {
    position: relative; left: auto; width: 100%; margin-bottom: 20px;
  }
  .p-top-strengths__badge { top: -24px; left: 0; width: 110px; }
  .p-top-strengths__item--reverse .p-top-strengths__badge { left: 0; }
  .p-top-strengths__body,
  .p-top-strengths__item--reverse .p-top-strengths__body {
    padding-top: 0; margin-inline: 0;
  }
  /* カンプの字送り約19.8px（PCの0.25emがSPに効いて3行に折り返していた） */
  .p-top-strengths__lead { font-size: 1.8rem; letter-spacing: 0.1em; }
  .p-top-strengths__text { font-size: 1.3rem; }
  /* カンプ：本文の字面下端からボタン上端まで112px（間に矢印が入る） */
  .p-top-strengths__action { margin-top: 58.5px; }
  .p-top-strengths__action .c-btn { min-width: 0; width: min(296px, 82vw); min-height: 62px; font-size: 1.5rem; }
  /* カンプ：ボタンの上、右端から4.4px内側。字面42.5×76に合わせて9度傾ける */
  .p-top-strengths__swash { display: block; top: -92px; right: 4.4px; width: 63.7px; transform: rotate(-9deg); }
  /* カンプ：黄緑が右端で見切れる（見える範囲 x340〜393 / y3370〜3553） */
  /* カンプ：波に重なって右端で見切れる（見える範囲 x354.5〜393 / 波の谷の62.5px上から133px） */
  .p-top-deco--blob03 { right: auto; left: 342.5px; top: -99.8px; width: 159px; }
  .p-top-deco--path03 { display: none; }

  .p-top-mv__wave { height: 70px; bottom: 30px; }
  .p-top-soil { margin-top: -30px; }
  /* --- お知らせ：PCの横並びのままだとリストが63pxまで潰れるので縦積みに --- */
  .p-top-news__inner {
    display: block;
    width: min(1090px, 90%);
    margin-inline: auto;
  }

  .p-top-news__head { flex: none; }

  .p-top-news__list { margin-top: 28px; }

  .p-top-news__leaf--a,
  .p-top-news__leaf--b,
  .p-top-news__leaf--c { display: none; }   /* 位置はSPカンプに合わせて後で入れ直す */

  /* --- 土エリアの緑の飾り：PC座標のままだと見出しに重なる --- */
  .p-top-deco--blob06,
  .p-top-deco--blob07 { display: none; }

  /* ====== SPカンプ実測（393px幅・ページ左上からの絶対座標） ====== */

  /* --- FVのキャッチコピー：SPは3行に組んだ専用画像 ---
     字面 左20.5〜379 / 上537〜688.5。画像は字面の外に左右3.5・上3の余白を持つ */
  .p-top-mv__catch {
    top: 76.357%;      /* 700px中 534.5px */
    bottom: auto;
    left: 4.198%;      /* 393px中 16.5px */
    width: 99.491%;    /* 393px中 391px */
  }

  /* --- コンセプトカード：SP専用のSVG（381.327×844.392／影の分 左右9・上6） ---
     カードの塗り 左18〜381 / 上771〜1597
     ロゴ 左112 上813 幅170 ／ 見出し 左71 字面上1121（行送り43）
     本文 左45 字面上1240（行送り25） */
  /* カンプではカードの上端（影込みの枠）がページ765px。FV(700px)からの差を
     コンセプト側の上パディングで作る */
  /* FVのキャッチとの間がカンプ（約70px）だと空きすぎるので半分に詰めた（-35px） */
  .p-top-concept { padding-top: 64.5px; }

  .p-top-concept__card {
    display: block;
    top: 0;
    width: min(97.03%, 381.327px);
    min-height: 0;
    aspect-ratio: 381.327 / 844.392;
    margin-left: 2.29%;
    margin-right: auto;
    padding: 48px 33px 0 36px;
    background-image: url(../../images/top/card-concept-sp.svg);
  }

  .p-top-concept__logo {
    flex: none;
    width: 170px;
    margin: 0 auto;
  }

  .p-top-concept__body { margin-top: 80.75px; }

  .p-top-concept__title {
    margin: 0 0 0 26px;
    font-size: 2.6rem;
    line-height: 43px;
    letter-spacing: 0.08em;
  }

  .p-top-concept__title + p { margin-top: 36.9px; }

  /* 本文は見出しより内側に収めて小さめに（左右20px内側・13px） */
  .p-top-concept__body p {
    padding-inline: 20px;
    font-size: 1.3rem;
    line-height: 23px;
  }

  /* --- 3つのねっこの背景の点線の道（SP専用） ---
     カンプ：左-208 / 上1825（原寸742.323×1491.611で配置） */
  .p-top-deco--path-sp {
    position: absolute;
    z-index: 0;
    top: 215.6px;
    left: -52.93%;    /* 393px中 -208px */
    width: 188.888%;  /* 393px中 742.323px。どの幅でも画面の両端まで届く */
    max-width: none;
    height: auto;
    pointer-events: none;
  }

  .p-top-nekko { position: relative; }
  .p-top-nekko > *:not(.p-top-deco--path-sp) { position: relative; z-index: 1; }



  /* ====== 1100px以下：中身は --sp-max で止めて中央寄せ ======
     （背景写真・波・点線の道は画面いっぱいのまま） */
  .p-top-concept__card,
  .p-top-nekko__list,
  .p-top-strengths__inner,
  .p-top-flow__track,
  .p-top-voice__list,
  .p-top-news__inner {
    width: min(100% - var(--sp-gut) * 2, var(--sp-max));
    margin-inline: auto;
  }

  /* コンセプトカードは形が決まっているので、設計幅(381.327)を超えたら
     縦横比をやめて中身の高さに任せる */
  .p-top-concept__card {
    width: min(100% - 12px, 381.327px);
    aspect-ratio: auto;
    min-height: 844.392px;
    padding-bottom: 60px;
  }

  /* --- ご利用の流れ：縦のタイムラインに --- */
  .p-top-flow { padding: 64px 0 85px; }
  /* カンプ：Flow の字面34.5×10.5 ／ 見出しの字面165×25 */
  .p-top-flow__en { font-size: 1.15rem; }
  .p-top-flow__title { font-size: 2.6rem; line-height: 36px; letter-spacing: 0.115em; }
  .p-top-flow__track { position: relative; margin-top: 58px; }
  .p-top-flow__list { display: block; }
  .p-top-flow__list::before {
    top: 11.5px;
    right: auto;
    bottom: 34px;
    left: 88px;
    width: 2px;
    height: auto;
  }

  .p-top-flow__item {
    display: block;
    min-height: 261px;
    padding-left: 144px;
    text-align: left;
  }

  .p-top-flow__num {
    position: absolute;
    top: 0;
    left: 49px;
    font-size: 1.3rem;
  }

  .p-top-flow__dot {
    position: absolute;
    top: 0;
    left: 76.5px;
    width: 23px;
    height: 23px;
    margin: 0;
  }

  .p-top-flow__icon {
    width: 146px;
    height: 120px;
    margin-top: 0;
  }

  .p-top-flow__name {
    min-height: 0;
    margin-top: 8px;
    font-size: 1.9rem;
    line-height: 26px;
  }

  .p-top-flow__desc {
    margin-top: 8px;
    font-size: 1.2rem;
    line-height: 23px;
  }

  /* --- 保護者の声：吹き出しを縦1列に --- */
  .p-top-voice { padding-top: 70px; }
  .p-top-voice__en { font-size: 1.2rem; }
  .p-top-voice__title { margin-top: 12px; font-size: 2.8rem; }

  .p-top-voice__list {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 35px;
  }

  .p-top-voice__bubble {
    min-height: 0;
    padding: 26px 24px 30px;
  }

  .p-top-voice__bubble p { font-size: 1.3rem; line-height: 24px; }

  .p-top-voice__person { gap: 21px; margin-top: 40px; }
  .p-top-voice__person img { width: 73px; height: 73px; }
  .p-top-voice__name { font-size: 1.6rem; letter-spacing: 0.1em; line-height: 24px; }
  .p-top-voice__area { font-size: 1.2rem; line-height: 20px; }


  /* --- ご利用の流れ：上のナミナミに見出しが潜っていたので余白を取り直す ---
     カンプ：波の高さ88px／「Flow」の字面がセクション上端から112px */
  .p-top-flow { padding-top: 110px; }
  .p-top-flow::before { top: -1px; height: 89px; }

  /* 縦線の下端と、その先端の白丸（カンプ：直径14px） */
  .p-top-flow__list::before { bottom: 0; }

  .p-top-flow__list::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 81px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
  }

  /* --- 保護者の声：アイコンと吹き出しの間を詰める --- */
  .p-top-voice__person { margin-top: 24px; }

  /* --- お知らせの葉っぱ（SPカンプの位置で復活） ---
     セクション上端からの位置。inner ではなくセクションを基準にする */
  .p-top-news__inner { position: static; }

  .p-top-news__leaf--a,
  .p-top-news__leaf--b,
  .p-top-news__leaf--c { display: block; }

  .p-top-news__leaf--b { top:   8.7px; left:  70.3px; right: auto; width: 49.3px; transform: none; }
  .p-top-news__leaf--c { top:  45px;   left:  22.3px; width: 42.5px; transform: rotate(55.5deg); }
  .p-top-news__leaf--a { top: 178.1px; left: 328.6px; right: auto; width: 45.9px; transform: rotate(77.5deg); }

  /* --- お知らせ：SPカンプ実測 ---
     波の高さ116 ／ Newsの字面が上端から105 ／ 見出しと「一覧を見る」は同じ行 */
  /* アイコンの下に余白を足して、波との間を空ける */
  .p-top-voice { padding-bottom: 40px; }
  .p-top-news { margin-top: 0; padding: 103px 0 60px; }
  /* SPカンプは左端が平らで右下がりの一本波（PCとは形が違う） */
  .p-top-news::before {
    height: 116px;
    -webkit-mask-image: url(../../images/common/wave-06-green-cream-sp.svg);
            mask-image: url(../../images/common/wave-06-green-cream-sp.svg);
  }

  .p-top-news__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    flex: none;
  }

  .p-top-news__en { grid-area: 1 / 1; }
  .p-top-news__title { grid-area: 2 / 1; margin-top: 10px; font-size: 2.6rem; letter-spacing: 0.08em; }
  /* カンプ：「一覧を見る」の字面下端を「お知らせ」の字面下端に揃える */
  .p-top-news__more { grid-area: 2 / 2; justify-self: end; margin-top: 0; margin-bottom: -7.3px; }

  /* 葉っぱは緑の波より手前に */
  .p-top-news__leaf { z-index: 2; }

  /* --- 見出しはSPカンプでは2行・約27px --- */
  .p-top-nekko__title { font-size: 2.7rem; line-height: 34px; }
  .p-top-strengths__title { font-size: 2.7rem; line-height: 36px; }

  /* --- 3つのねっこのカード：中身が収まるように高さは成り行き --- */
  .p-top-nekko__card {
    width: min(96vw, 377px);
    min-height: 0;
    aspect-ratio: auto;
    /* カンプのカードは高さ378.5〜401.5pxで、絵の上下に余白がある
       （絵の字面上端まで約48px・詳細文の字面下端から約65px） */
    padding: 42px 30px 56px;
  }

  .p-top-nekko__illust { height: auto; }

  /* イラストは3枚とも縦横比が違うので、カンプの実寸に合わせて個別に指定
     （カンプの字面：うごき184×174 ／ かんかく71×171 ／ こころ194×158）
     margin-top は、素材ごとの透明な余白ぶんを打ち消して字面の上端を揃える分 */
  .p-top-nekko__illust img { height: auto; }
  .p-top-nekko__item--ugoki   .p-top-nekko__illust img { width: 190px; }
  .p-top-nekko__item--kankaku .p-top-nekko__illust img { width: 97px; }
  .p-top-nekko__item--kokoro  .p-top-nekko__illust img { width: 208.5px; }
  .p-top-nekko__item--kankaku .p-top-nekko__illust { margin-top: -6px; }
  .p-top-nekko__item--kokoro  .p-top-nekko__illust { margin-top: -11px; }

  /* カンプ：名前の字面が幅168px（カード上端から233px）、詳細文が284px */
  .p-top-nekko__name { margin-top: 4px; font-size: 2.1rem; line-height: 1.1; }
  .p-top-nekko__key { font-size: 3.3rem; }
  .p-top-nekko__lines { top: -22px; left: -40px; width: 38px; }
  .p-top-nekko__desc { margin-top: 8px; font-size: 1.45rem; line-height: 28px; }

  /* 緑の飾り（SPカンプ実測。土のブロックの上端からの位置）
       左 … blob-green-01 を 左-121.5 / 上1497 / 幅208.5（左端で見切れ）
       右 … blob-green-03 を 左325   / 上2274 / 幅194.6（右端で見切れ） */
  .p-top-deco--blob04,
  .p-top-deco--blob05 { display: block; }

  .p-top-deco--blob05 {
    top: 1462px;       /* カンプ1497px。コンセプト上の余白を35px詰めた分 */
    left: -121.5px;
    width: 208.5px;
    transform: none;
  }

  .p-top-deco--blob04 {
    top: 2239px;       /* カンプ2274px。同上 */
    right: auto;
    left: 325px;
    width: 194.6px;
  }

  /* --- コンセプト：ロゴと見出しの間を少し詰める --- */
  .p-top-concept__body { margin-top: 64px; }

  /* --- フッター：ロゴとキャッチの間を少し詰める --- */
}


/* ==========================================================================
   768px以下（スマホ）
   --------------------------------------------------------------------------
   実績だけは 768〜1100px ではPCの横長バナーをそのまま縮めて使い、
   768px以下でSP用の縦長写真に切り替える。
   ========================================================================== */
@media screen and (max-width: 767px) {
  .p-top-result {
    aspect-ratio: 802 / 2007;
    background-image: url(../../images/top/result-photo.jpg);
    /* 縦長に切り抜くと横は元画像の約半分しか入らないので、右へ寄せて
       講師の顔と胸のロゴを見せる（子どもは旧SP写真と同じく左端で切れる） */
    background-position: 65% center;
  }

  /* 文字の大きさは吹き出しの幅に比例させる（PCは幅443で --u が1） */
  .p-top-result__inner { --u: calc(min(84cqw, 330px) / 443); }

  .p-top-result__item--01,
  .p-top-result__item--02 {
    left: 50%;
    width: min(84%, 330px);
  }

  .p-top-result__item--01 { top: 3%;  transform: translateX(-56%); }
  .p-top-result__item--02 { top: 60%; transform: translateX(-44%); }

  /* 吹き出しごとに文字の基準幅が違う（PCは01が443px・02が496.7px） */
  .p-top-result__item--01 { --u: calc(min(84cqw, 330px) / 443); }
  .p-top-result__item--02 { --u: calc(min(84cqw, 330px) / 496.7); }

  /* --- 選ばれる理由：写真は片側を画面端まで、文字は左右に5.85%（カンプ23px） ---
     カンプ：Point01 左9〜画面端／Point02 画面端〜右12／Point03 左9〜画面端 */
  .p-top-strengths__inner { padding-inline: 0; }

  .p-top-strengths__media,
  .p-top-strengths__item--reverse .p-top-strengths__media,
  .p-top-strengths__item:nth-child(3) .p-top-strengths__media {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin-left: calc(50% - 50vw + 9px);
    margin-right: calc(50% - 50vw);
  }

  .p-top-strengths__item--reverse .p-top-strengths__media {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw + 12px);
  }

  .p-top-strengths__body,
  .p-top-strengths__item--reverse .p-top-strengths__body {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: 5.85%;
  }

  /* バッジはカンプの位置で写真に重ねる */
  .p-top-strengths__badge { width: 105px; }
  .p-top-strengths__item:nth-child(1) .p-top-strengths__badge { top: 3px; left: 1px; right: auto; }
  .p-top-strengths__item:nth-child(2) .p-top-strengths__badge { top: 5px; left: auto; right: 19px; }
  .p-top-strengths__item:nth-child(3) .p-top-strengths__badge { top: 1px; left: 1px; right: auto; }

  /* 写真は少し大きくして、片側を画面の外まで出す */
  .p-top-strengths__media,
  .p-top-strengths__item:nth-child(3) .p-top-strengths__media {
    width: calc(100vw + 40px);
    margin-left: calc(50% - 50vw + 9px);
    margin-right: auto;
  }

  .p-top-strengths__item--reverse .p-top-strengths__media {
    width: calc(100vw + 40px);
    /* 右端を画面の右から12pxの所で止めて、左に40pxはみ出させる */
    margin-left: calc(100% - 100vw - 40px);
    margin-right: 0;
  }

  /* 約800人以上の吹き出しをもう少し右下へ */
  .p-top-result__item--02 { top: 64%; transform: translateX(-42%); }
}
