@charset "UTF-8";

/* ============================================================
   ：オープニング・ローディング画面（既存のまま完全維持）
   ============================================================ */
.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-stage {
  width: 85%;
  max-width: 320px;
}

.loader-stage svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* SVGパーツカラー */
.logo-navy-1 { fill: #112c4a; }
.logo-navy-2 { fill: #142e4c; }
.logo-navy-3 { fill: #0d2b4a; }
.logo-navy-4 { fill: #122d4b; }
.logo-navy-6 { fill: #132d4b; }
.logo-navy-8 { fill: #102d4b; }
.logo-navy-9 { fill: #0f2c4b; }
.logo-leaf   { fill: var(--color-accent); }
.logo-gray   { fill: #68727d; }

/* SVGパスのアニメーション */
.anim-k-stem {
  clip-path: inset(100% 0 0 0);
  animation: loaderStem 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}
@keyframes loaderStem {
  to { clip-path: inset(0 0 0 0); }
}

.anim-k-pillar {
  opacity: 0;
  transform: translateY(-6px);
  animation: loaderFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s;
}
.anim-k-foot {
  opacity: 0;
  transform: translateY(6px);
  animation: loaderFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

.anim-leaf-sub {
  transform-origin: 576px 81px;
  opacity: 0;
  transform: scale(0) rotate(-15deg);
  animation: loaderLeaf 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.65s;
}
.anim-leaf-main {
  transform-origin: 618px 49px;
  opacity: 0;
  transform: scale(0) rotate(15deg);
  animation: loaderLeaf 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.75s;
}
@keyframes loaderLeaf {
  0%   { opacity: 0; transform: scale(0); }
  70%  { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.anim-leaf-joint {
  opacity: 0;
  animation: loaderFade 0.3s ease-out forwards 0.75s;
}

.anim-text-school {
  opacity: 0;
  transform: translateX(-14px);
  animation: loaderSchool 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.85s;
}
@keyframes loaderSchool {
  to { opacity: 1; transform: translateX(0); }
}
@keyframes loaderFade {
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   ：FV（ファーストビュー） & 初期フェードイン
   ============================================================ */
.fv {
  border-bottom: 3px solid var(--color-accent);/* 緑のライン */
  padding-block: 0; /* セクションの上下余白を消す */
}

/* 初期表示エリア（FV & お悩み）のフェードイン基盤（既存維持） */
#fv,
#trouble {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* JSによってクラスが付与されたらフワッと出現 */
#fv.is-visible,
#trouble.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fv__layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
}

.fv__text-box {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: clamp(3rem, 8vw, 5rem); /* 文字の上下余白 */
}

.fv__image-box {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 100%;
}

.fv__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* スマホ表示時の拡大・位置調整 */
  transform: scale(1.3) translate(-10%, 10%);
  opacity: 0.5;
}

/* PC（768px以上）：レイヤー構造は維持したまま、横長画像に差し替える */
@media (min-width: 768px) {
  .fv__image-box img {
    content: url('../image/fv-smile-row.webp');
    transform: none;
    opacity: 0.8;
  }
}

.fv-badge {
  display: inline-block;
  background-color: #ffffff;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 6px rgba(16, 43, 76, 0.04);
}

/* FV見出し：前回の重複エラーを解消し、下線・マージンのみ指定
   （フォントサイズは :root の --fs-h1 を自動継承） */
.fv-title {
  margin: 0 0 1.25rem 0;
  /* 写真の上でも文字がくっきり浮き立つ白グロー（ぼかしシャドウ） */
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5),
               0 0 12px rgba(255, 255, 255, 0.7);
}

.fv-title span {
  color: var(--color-accent-dark);
  border-bottom: 2px solid rgba(61, 216, 75, 0.4);
}

/* リード文：女の子の顔を見せるため、初期状態は透明＋下から浮き上がる設定 */
.fv-lead {
  font-size: clamp(0.95rem, 0.86rem + 0.39vw, 1.15rem);
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.8;
  
  /* 写真の上でも文字がくっきり浮き立つ白グロー（ぼかしシャドウ） */
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9),
               0 0 12px rgba(255, 255, 255, 0.7);

  /* 初期状態（透明で8px下に落としておく） */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease-out,
              transform 0.8s ease-out;
}

/* クラス付与後、0.9秒待ってから出現（遅延発火）
   ※お好み調整：待機時間を変えたい場合は transition-delay の秒数
     （0.8s で少し早め、1.2s でしっかり見せる）を変更してください */
#fv.is-visible .fv-lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* ============================================================
   第7章：Sec1 保護者のお悩み（背景写真重ねレイアウト）
   ============================================================ */
#trouble {
  transition-delay: 0.15s;
  position: relative;
  overflow: hidden;
}

/* 親グリッド：写真とコンテンツを完全に同階層で重ねる（維持） */
.trouble__layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
}

/* 奥レイヤー：背景写真（スマホ表示）（維持） */
.trouble__bg-image {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  pointer-events: none; /* 下の写真がタップを邪魔しないようにする */
  /* 親セクションの padding-block を相殺して天底まで突き抜ける指定 */
  margin-top: calc(-1 * clamp(3rem, 6vw, 5rem));
  margin-bottom: calc(-1 * clamp(3rem, 6vw, 5rem));
  height: calc(100% + (2 * clamp(3rem, 6vw, 5rem)));
}

.trouble__bg-image img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
  /* スマホ：文字の可読性を保つため透明度を落とし、左下寄りに配置 */
  opacity: 0.25;
  object-position: center bottom;
}

/* 手前レイヤー：見出し＋アコーディオン（維持） */
.trouble__content {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* アコーディオン全体枠（維持） */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin-inline: auto;
}

/* アコーディオン本体：背景が透けないよう白ベタ塗り（維持） */
.accordion-item {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background-color: var(--color-bg-white);
  box-shadow: 0 2px 8px rgba(16, 43, 76, 0.04);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item[open] {
  border-color: #cbdad0;
  box-shadow: 0 6px 20px rgba(16, 43, 76, 0.08);
}

.accordion-header {
  padding: 1.25rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  user-select: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

/* ★変更：見出し文字サイズを 1rem → 0.875rem に引き締めて圧迫感を排除 */
.accordion-title-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-grow: 1;
  line-height: 1.45;
}

/* 矢印アイコン（維持） */
.accordion-arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid #708090;
  border-bottom: 2px solid #708090;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.accordion-item[open] .accordion-arrow {
  transform: rotate(-135deg);
}

/* ★変更：開いた中身全体のパディングを微調整（点線からの距離を確保） */
.accordion-body {
  padding: 1.25rem 1rem 1.5rem 1rem;
  font-size: var(--fs-sub); /* 他セクションと同じ本文サイズ（約0.78rem〜0.8rem） */
  color: var(--color-text-main);
  border-top: 1px dashed var(--color-border);
  margin-top: 0; /* paddingで綺麗に受けるため 0 へ */
}

/* ★変更：緑リード文（サイズ 0.85rem ＋ 本文との距離を 1.2rem 空けて明確に境界化） */
.accordion-body .body-lead {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  line-height: 1.6;
  margin: 0 0 1.2rem 0; /* 下の本文との間にしっかり呼吸空間を作る */
}

/* ★変更：本文p同士の間隔を 0.75rem → 0.85rem に広げて段落のまとまりを明確化 */
.accordion-body p {
  line-height: 1.75;
  margin: 0 0 0.85rem 0;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   PC表示時（768px以上）：
   - 横長画像（worry-raw.jpg）に切り替え
   - お母さん（左）をくっきり見せ、アコーディオンを右余白へ寄せる
   ------------------------------------------------------------ */
@media (min-width: 768px) {
  /* ★追加：PCでは見出しと本文を元のゆったりサイズへ戻す */
  .accordion-title-text {
    font-size: 1rem;
  }
  .accordion-body .body-lead {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }
  .accordion-body p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
/* 白背景の光彩シャドウで文字を浮き立たせる */
  #trouble .section-title,
  #trouble .section-desc {
    text-shadow: 
      0 0 16px rgba(255, 255, 255, 0.95),
      0 0 8px rgba(255, 255, 255, 0.9),
      0 1px 3px rgba(255, 255, 255, 0.9);
  }
  .trouble__bg-image img {
    content: url('../image/worry-row.webp');
    opacity: 0.5;
    object-position: left center;
    height: 100%;
    max-height: 700px;
  }

  .accordion-list {
    margin-left: auto;
    margin-right: 0;
    max-width: 580px;
  }
}
/* ============================================================
   ：Sec2 スクールKの特徴（写真付きカード型）
   ============================================================ */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--color-bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 43, 76, 0.04);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.feature-card .feature-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.feature-card .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-body {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.feature-num {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(61, 216, 75, 0.35);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* .feature-title は h3 の共通ルール（--fs-h3）を自動継承するため、
   余白（margin）のみを定義 */
.feature-title {
  margin: 0 ;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

/* 緑文字のリード文 */
.feature-lead {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: 0 ;
  margin-bottom: 1.25rem;
}

/* グレーの本文テキスト */
.feature-text {
 
  color: var(--color-text-sub);
  margin: 0 ;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-link-wrap {
  text-align: right;
  margin-top: auto;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .feature-card .feature-img {
    height: 180px;
  }
}

/* ============================================================
   第9章：Sec3 安心の料金体系
   ============================================================ */

/* ------------------------------------------------------------
   全体レイアウト（スマホ：縦積み）
------------------------------------------------------------ */
.price-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1080px;
  margin-inline: auto;
}

/* 面談写真ラッパー */
.policy-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.policy-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* policy-box 本体枠 */
.policy-box {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}

/* ------------------------------------------------------------
   policy-list：上1枚 ➔ 矢印 ➔ 下2枚（スマホ・PC共通グリッド）
------------------------------------------------------------ */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 0.75rem; /* スマホ時の下段2列の隙間 */
}

/* カード共通スタイル */
.policy-item {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;    /* バッジ・見出しを中央揃え */
  text-align: center;     /* テキストを中央揃え */
}

/* 【指示反映】上段HEARINGカード：上段2列ぶち抜き ＆ center配置 */
.policy-item--hearing {
  grid-column: 1 / 3;
  grid-row: 1;
  
}

/* 英語見出しバッジ */
.policy-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  background-color: rgba(46, 139, 87, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

/* HEARINGバッジのカラー差別化 */
.policy-item--hearing .policy-tag {
  color: var(--color-primary);
  background-color: rgba(27, 75, 114, 0.1);
}



.policy-text p {
  font-size: var(--fs-sub);
  color: var(--color-text-sub);
  margin: 0;
  line-height: 1.6;
}

/* 分岐矢印エリア：中央配置 ＆ カード幅にレスポンシブ追従 */
.policy-branch-arrow {
  grid-column: 1 / 3;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 0;
  width: 100%;
}

.policy-branch-arrow svg {
  width: 50%;          /* 下段カードのセンターを指す比率 */
  min-width: 140px;    /* スマホで小さくなりすぎない下限 */
  max-width: 220px;    /* PCで広がりすぎない上限 */
  height: 38px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: miter;
}

/* 下段2枚のグリッド配置（左：CUSTOMIZING / 右：FLEXIBILITY） */
.policy-item:nth-child(3) {
  grid-column: 1 / 2;
  grid-row: 3;
}

.policy-item:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 3;
}

/* カード内の見出し（共通） */
.policy-item__title {
  display: block;
  font-size: 0.875rem;     /* 下段2枚向けのサイズ（改行を減らす） */
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 0.65rem;  /* 下の説明文との余白 */
}

/* 上段（HEARING）だけ横幅が広いため、少し堂々としたサイズに戻す */
.policy-item--hearing .policy-item__title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------
   CTAボタンエリア
------------------------------------------------------------ */
.policy-cta-wrap {
  text-align: center;
  border-top: 1px dashed var(--color-border);
  padding-top: 1.5rem;
}



.btn-policy-link:hover {
  opacity: 0.8;
}

.btn-policy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;                   /* 文字と矢印の隙間を適正化 */
  width: 100%;
  max-width: 100%;               /* スマホ時は幅制限を解除して親枠いっぱいに広げる */
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  
  /* ★1行に収めるための文字サイズ＆字間調整 */
  font-size: 0.78rem;            /* 約12.5px：小さすぎず1行に収まるベストバランス */
  letter-spacing: 0.01em;
  white-space: nowrap;           /* ★絶対に改行させない指定 */
  
  /* ★上下を少し薄くしてボタン全体をスリムに（左右余白も適正化） */
  padding: 0.75rem 0.5rem;
  border-radius: 6px;            /* ボタンが小さくなった分、角丸も6pxにしてシャープに */
  box-shadow: 0 4px 12px rgba(16, 43, 76, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* PC（768px以上）では文字を大きくしてゆったり見せる */
@media (min-width: 768px) {
  .btn-policy-link {
    max-width: 380px;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
    gap: 0.5rem;
  }
}
/* ============================================================
   PC（768px以上）：左画像・右policy-boxの2カラム化
   ============================================================ */
@media (min-width: 768px) {
  /* 外枠：左右2カラム展開 */
  .price-content-wrap {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }

  /* 左の面談写真 */
  .policy-image {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .policy-image picture,
  .policy-image img {
    content: url(../image/tuition-column.webp);
    height: 100%;
    object-fit: cover;
  }

  /* 右の policy-box */
  .policy-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* 下段2枚の横マージンをPC向けに少し広げる */
  .policy-list {
    gap: 0 1rem;
    margin-bottom: 2rem;
  }
}
/* ============================================================
   第10章：Sec4 無料体験案内（メインCTA）
   ============================================================ */
.trial-banner {
  /* 深緑〜濃紺への滑らかなグラデーション（世界観の統一） */
  background: linear-gradient(135deg, #1b4b3e 0%, #10263e 100%);
  border-radius: 16px;
  padding: clamp(3rem, 7vw, 4.5rem) 1.25rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 38, 62, 0.15);
  max-width: 800px;
  margin-inline: auto;
}

.trial-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a7f3d0;
  background-color: transparent;
  border: 1px solid rgba(167, 243, 208, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* 背景濃紺のため文字色白を上書き（サイズはh2共通ルールを自動継承） */
.trial-headline {
  color: #ffffff;
  font-size: clamp(1.2rem, 4.5vw, 1.75rem);
  margin: 0 0 1.25rem 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
/* 本文段落エリア */
.trial-copy {
  margin: 0 auto 2rem auto;
  max-width: 290px;
}
.trial-copy p {
  font-size: 0.75rem;      
  color: #e2e8f0;
  line-height: 1.75;
  margin: 0 0 0.85rem 0;        /* 段落間の隙間 */
  
}

.trial-copy p:last-child {
  margin-bottom: 0;
}

.trial-note {
  font-size: 0.72rem;           /* わずかに縮めて2行に綺麗に収める */
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  max-width: 280px;            /* 綺麗に折り返すための幅指定 */
  margin-inline: auto;
}

@media (min-width: 768px) {
  .trial-copy {
    max-width: 580px;
  }
  .trial-copy p {
    font-size: 0.875rem;
  }
  .trial-note {
    max-width: 100%;
    font-size: 0.8rem;
  }
}
.btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ------------------------------------------------------------
   CTAボタン（375pxで絶対に1行で収める指定）
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 360px;
  text-decoration: none;
  font-weight: 700;
  
  /* ★1行に収めるための文字サイズ＆改行禁止 */
  font-size: 0.85rem;           /* 約13.6px：1行に綺麗に収まるサイズ */
  white-space: nowrap;          /* ★絶対に改行させない */
  
  /* ★パディング：上下を少しスリムに、左右を詰めて幅を確保 */
  padding: 0.85rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: color 0.2s cubic-bezier(0.45, 0, 0.55, 1),
              transform 0.2s cubic-bezier(0.45, 0, 0.55, 1),
              box-shadow 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

/* 矢印アイコン */
.btn-arrow {
  display: inline-block;
  font-size: 0.95rem;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

/* PC（768px以上）ではボタンを大きく堂々と戻す */
@media (min-width: 768px) {
  .btn-primary {
    max-width: 440px;
    font-size: 1rem;
    padding: 1.15rem 1.75rem;
    gap: 0.5rem;
  }
}

/* 指定のスライド機能（.slide） */
.btn-primary.slide {
  background: #ffffff;
  color: #1b4b3e; /* 通常時の文字色：深緑 */
  
  position: relative;
  z-index: 1;
  
}

.btn-primary.slide::after {
  background: var(--color-primary); /* スライドして満ちる色：ディープネイビー */
  position: absolute;
  inset: -2px; 
  content: '';
  
  border-radius: inherit;
  transform: scaleX(0); /* 【変更】横方向だけ 0 にする */
  transform-origin: left center; /* 【変更】基準点を左中央にする */
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.btn-primary.slide:hover {
  color: #ffffff; /* ホバー時の文字色：白反転 */
  /* transform: translateY(-2px); */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  
}

.btn-primary.slide:hover::after {
  transform: scale(1);
}

/* 矢印アイコンの連動アニメーション */
.btn-arrow {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}

.btn-primary.slide:hover .btn-arrow {
  transform: translateX(4px);
}

/* 補足注記テキスト */
.trial-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* PC用改行クラス（未定義の場合用） */
.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}



