/* =========================================================
   構造メモ（維持）
========================================================= */

/* 1. 最上部の隙間リセット */
html {
    margin-top: 0 !important;
}

/* 2. パンくず非表示 */
#study-lp .breadcrumb-area {
    display: none;
}

/* =========================
   LP内 h2 の装飾リセット
========================= */
#study-lp h2 {
  border: none;
  background: none;
}

#study-lp h2::before,
#study-lp h2::after {
  content: none;
  display: none;
}

#study-lp .hero::before,
#study-lp .hero::after,
#study-lp .problem::before,
#study-lp .user-type::before {
  pointer-events: none;
}

/* ===== Study LP : base layout ===== */
#study-lp {
  /* 1. ベースのフォントと色（ゴシック体 Noto Sans） */
  font-family: "Noto Sans Japanese", "Noto Sans JP", sans-serif;
  color: #4B391A;
  font-weight: 300;
  
  font-size: 16px;
  line-height: 1.8; /* 1.7より少し広げて読みやすく */
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;

  /* 文字を滑らかにする（ジャギ防止） */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== text : 共通設定 ===== */
#study-lp p,
#study-lp li,
#study-lp summary,
#study-lp div {
  font-size: 18px;
  line-height: 1.8;
  color: #4B391A;
}

/* ===== serif : 明朝体を使う場所の指定 ===== */
/* ここに並べるだけで、自動的に Noto Serif JP が適用されます */
#study-lp h1,
#study-lp h2,
#study-lp .user-type-title span,
#study-lp .hero-points p,
#study-lp .user-type-closing,
#study-lp .value p {
  font-family: "Noto Serif JP", serif;
}

#study-lp {
  -webkit-font-smoothing: antialiased; /* Mac/Chromeでの文字の太り過ぎ防止 */
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.01); /* Windowsでのカスレ防止 */
}


#study-lp h2 {
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  color: #4B391A;
  margin: 0 0 24px;
  padding: 0;
}


/* ===== section spacing ===== */
#study-lp section {
 padding: 0;
}

/* ===== images ===== */
#study-lp img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* HEROエリア全体 */
#study-lp .hero {
  position: relative;
  padding: 84px 0 !important;
  text-align: center;
  overflow: visible;
  z-index: 1;
}

/* 背景画像 */
#study-lp .hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url("../images/study-lp-top-v2.webp") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -2;
}

/* オーバーレイ */
#study-lp .hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.30);
  z-index: -1;
}

/* メイン見出し（H1） */
#study-lp .hero h1 {
  position: relative;
  z-index: 5;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.35;
  color: #4B391A;
  background-color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  padding: 18px 40px;
  margin: 20px 0 50px 0 !important;
}

/* H1内のマーカー装飾 */
#study-lp .hero h1::before,
#study-lp .hero h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 14px;
  background: rgba(244, 217, 167, 0.9);
  z-index: -1;
  border-radius: 2px;
}
#study-lp .hero h1::before { top: 54px; width: 150px; }
#study-lp .hero h1::after { top: 108px; width: 420px; }


/* 3つのポイント：ベース設定 */
#study-lp .hero-points {
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 32px; 
  margin-bottom: 55px;
  z-index: 2;
  flex-wrap: wrap;
}

#study-lp .hero-points p {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0; 
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 26px; 
  color: #4B391A;
  text-align: center;
  line-height: 1.3;
}

#study-lp .hero-points p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* 親(p)のサイズに追従させる */
  height: 100%;
  background: rgba(228,244,244,0.80);
  border-radius: 50%;
  z-index: -1;
}

#study-lp .hero-subcopy p {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  color: #4B391A;
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 10px 28px;
}

/* CTAボタン */
/* セレクタは既存のままでOK（機能しているため） */
#study-lp .hero a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  
  /* 【修正の核】固定幅をやめ、iPhone 11 Pro以下の幅にも自動対応させる */
  width: 100%;
  max-width: 360px; /* PCでは360pxを維持 */
  
  height: 64px;
  background: #2F9AA0 !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  margin: 10px auto 0 !important;
  position: relative;
  z-index: 5;
  
  /* 実機での計算を狂わせない設定 */
  padding: 0 44px 0 20px;
  box-sizing: border-box; /* 必須：これがないとwidthにpaddingが足されてはみ出します */
}

/* 矢印（維持） */
#study-lp .hero a::after {
  content: "›";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
}

/* =========================================================
   共通設定：セクションの全幅背景（problem / session / user-type）
========================================================= */
#study-lp .problem,
#study-lp .session,
#study-lp .user-type {
  position: relative;
  background-color: #F7F4F1; 
  box-shadow: 0 0 0 100vw #F7F4F1;
  clip-path: inset(0 -100vw);
  text-align: center;
}

/* =========================================================
   problemセクション
========================================================= */
#study-lp .problem {
  padding: 56px 0;
}
#study-lp .problem p{
  text-align:center;
}
/* =========================================================
   sessionセクション
========================================================= */
#study-lp .session {
  padding: 0 0 100px;
}

#study-lp .session-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

#study-lp .session-items h2 {
  width: 100%;
  margin: 0 0 50px 0 !important;
}

#study-lp .session-items h3 {
 font-family: 'Noto Serif JP', serif;
}

#study-lp .session-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

#study-lp .session-item {
  position: relative;
  width: 300px;
  flex: 0 0 300px;
  padding: 26px 10px 18px;
}

#study-lp .session-item::before {
  content: "";
  position: absolute;
  left: 50%; top: -10px;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.35;
  z-index: 0;
}

/* 画像出し分け */
#study-lp .session-item:nth-child(1)::before { background-image: url("../images/study-lp-hero-point-02.webp"); }
#study-lp .session-item:nth-child(2)::before { background-image: url("../images/study-lp-hero-point-01.webp"); }
#study-lp .session-item:nth-child(3)::before { background-image: url("../images/study-lp-hero-point-03.webp"); }

#study-lp .session-item h3 { font-size: 22px; margin-bottom: 15px; position: relative; z-index: 1; }
#study-lp .session-item p { font-size: 16px; margin-bottom: 10px; position: relative; z-index: 1; }

#study-lp .session-link {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  margin-top: 15px;
  padding: 10px 24px;
  background: #fff;
  color: #2B8C9A;
  border: 2px solid #2B8C9A;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   user-type：統合版タイトル
========================= */
#study-lp .user-type {
  padding: 72px 0;
}

/* 二重定義を削除し、ここに集約 */
#study-lp .user-type-title {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
}

#study-lp .user-type-title span {
  display: inline !important;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  line-height: 1.8;
  color: #4B391A;
  background: linear-gradient(transparent 60%, rgba(244, 217, 167, 0.9) 60%) !important;
  padding: 0 8px !important;
}

/* カード：方眼紙 */
#study-lp .user-type-card {
  background-color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  margin: 0 auto 48px;
  max-width: 700px;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#study-lp .user-type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.7;
  z-index: 0;
}

#study-lp .user-type-card > * { position: relative; z-index: 1; }

#study-lp .user-type-illust img { max-width: 140px; margin: 0 auto 18px; }

#study-lp .user-type-voices { margin: 28px auto 24px; max-width: 760px; }
#study-lp .user-type-voice-item { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }

#study-lp .user-type-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; box-shadow: 0 3px 3px rgba(0,0,0,0.20); flex: 0 0 64px; background: #fff; }
#study-lp .user-type-avatar img { width: 100%; height: 100%; object-fit: cover; }

#study-lp .user-type-bubble {
  flex: 1;
  background: #fff;
  box-shadow: 0 3px 3px rgba(0,0,0,0.20);
  padding: 20px 24px;
  color: #4B391A;
  border: 1px solid #4B391A;
  position: relative;
}

#study-lp .user-type-bubble::before,
#study-lp .user-type-bubble::after {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
#study-lp .user-type-bubble::before { border-right: 14px solid #4B391A; }
#study-lp .user-type-bubble::after { border-right: 14px solid #fff; left: -13px; }

#study-lp .user-type-explanation { margin-top: 18px; line-height: 1.8; }

#study-lp .user-type-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; margin: 28px auto 0; padding: 14px 28px;
  background: #fff; color: #2B8C9A; border: 2px solid #2B8C9A; border-radius: 4px;
  text-decoration: none; font-weight: 500;
  box-shadow: 0 3px 3px rgba(0,0,0,0.12);
  transition: all .2s ease;
}
#study-lp .user-type-cta::after { content: "＞"; font-size: 0.9em; }
#study-lp .user-type-cta:hover { background: rgba(43, 140, 154, 0.08); box-shadow: 0 4px 6px rgba(0,0,0,0.15); }

#study-lp .user-type-closing { margin: 48px auto 56px; font-size: 20px; font-family: 'Noto Serif JP', serif; }

/* =========================
   value：全幅背景（白）＋方眼
========================= */
#study-lp .value {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 0;
  background-color: #ffffff;
  box-shadow: 0 0 0 100vw #ffffff;
  clip-path: inset(0 -100vw);
}

#study-lp .value::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.55;
  pointer-events: none;
}

#study-lp .value > * { position: relative; z-index: 1; }

#study-lp .value h2 {
  display: inline-block;
  position: relative;
  margin: 0 0 28px 0;
  padding: 8px 0;
}

#study-lp .value h2::before,
#study-lp .value h2::after {
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  height: 14px; background: rgba(244, 217, 167, 0.9); z-index: -1; border-radius: 2px;
}
#study-lp .value h2::before { top: 26px; width: 220px; }
#study-lp .value h2::after { top: 64px; width: 420px; }

#study-lp .value ul {
  list-style: none; max-width: 760px; margin: 0 auto 20px; padding: 28px 28px;
  text-align: left; border: 1px solid #4B391A; background: #F7F4F1; border-radius: 24px;
}

#study-lp .value li {
  position: relative; padding-left: 52px; margin-bottom: 14px;
}

#study-lp .value li::before {
  content: ""; position: absolute; left: 0; top: 0.25em; width: 28px; height: 28px;
  border-radius: 50%; background-color: #2F9AA0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.0 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px 16px;
}

#study-lp .value p { margin: 48px auto 10px; font-size: 20px; font-family: 'Noto Serif JP', serif; }

/* =========================
   voice
========================= */
#study-lp .voice { padding: 56px 0 120px; }
#study-lp .voice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
#study-lp .voice-card {
  position: relative; background: rgba(247, 244, 241, 0.85); border-radius: 4px; padding: 30px 24px 64px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.18);
}
#study-lp .voice-card p { margin: 0; text-align: left; line-height: 1.9; }
#study-lp .voice-illust { position: absolute; left: 70%; bottom: -70px; transform: translateX(-50%); width: 90px; }
#study-lp .voice-illust img { width: 100%; border: 4px solid #fff; box-shadow: 0 4px 6px rgba(0,0,0,0.18); background: #fff; }

/* =========================
   solution
========================= */
#study-lp .solution {
  position: relative; padding: 56px 0;
  background: #F7F4F1; box-shadow: 0 0 0 100vw #F7F4F1; clip-path: inset(0 -100vw);
}

#study-lp .solution, #study-lp .solution * { font-family: 'Noto Serif JP', serif; color: #4B391A; }

#study-lp .solution-box {
  position: relative; max-width: 920px; margin: 0 auto 56px; padding: 44px 48px 40px;
  background: #fff; border-radius: 8px; border: 1px solid rgba(75,57,26,0.18);
  overflow: hidden; text-align: left;
}

#study-lp .solution-box::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 24px 24px; opacity: 0.55; z-index:0; pointer-events:none;
}

#study-lp .solution-box > * { position: relative; z-index: 1; }

#study-lp .solution-reco-head {
  display: table; margin: 0 auto 20px; padding: 10px 22px;
  border: 1px solid rgba(75,57,26,0.70); background: #fff; font-weight: 500;
}

#study-lp .solution-reco-list { list-style: none; padding-left: 0; }
#study-lp .solution-reco-list li { position: relative; padding-left: 18px; margin-bottom: 10px; }
#study-lp .solution-reco-list li::before {
  content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px;
  border-radius: 50%; background: #967B60; transform: translateY(-50%);
}

#study-lp .solution-note { 
  background: #F7F4F1; 
  border-radius: 8px; 
  padding: 24px; 
  margin: 20px 0;
  text-align: left !important; 
}
#study-lp .solution-note p {
  text-align: left !important;
  margin: 0;
}

/* =========================================================
   アコーディオン（solution-acc）: 構造とデザイン
========================================================= */

/* ① ボックスの基本外装 */
#study-lp .solution-acc {
  border: 1px solid #4b391a;
  background: #E4F4F4;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
}

/* ② レイアウト（PCデフォルト） */
#study-lp .solution-acc-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* ②連動防止：個別の高さを維持 */
  gap: 18px;
  margin-bottom: 26px;
}
#study-lp .solution-acc { flex: 1; }

/* ③ 見出し（summary）の装飾：ここが不足していました */
#study-lp .solution-acc summary {
  list-style: none;         /* 標準の矢印を消す */
  cursor: pointer;
  position: relative;       /* アイコンの基準点 */
  padding: 18px 60px 18px 18px; /* 右側にアイコン用の余白を確保 */
  font-weight: 700;
  text-align: center;       /* 見出しは中央寄せ */
  display: block;           /* 擬似要素を安定させるため */
}

/* iOS/Safari等の標準マーカーを確実に消去 */
#study-lp .solution-acc summary::-webkit-details-marker { display: none; }

/* ④ 右側のアイコン（＋/−） */
#study-lp .solution-acc summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #4b391a;      /* 濃い茶色 */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-family: sans-serif;  /* 記号の形を安定させる */
  transition: all 0.3s;
}

/* 開いたときの状態 */
#study-lp .solution-acc[open] {
  background: #fff;         /* 中身は白背景に */
}
#study-lp .solution-acc[open] summary {
  border-bottom: 1px solid #E4F4F4; /* 区切り線 */
}
#study-lp .solution-acc[open] summary::after {
  content: "−";
  background: #2F9AA0;      /* 開いたらサイトカラーへ */
}

/* ⑤ 中身のリスト：左寄せ箇条書き（ここまでは以前のご希望通り） */
#study-lp .solution-acc ul {
  text-align: left !important;
  margin: 0 !important;
  padding: 24px 20px 24px 45px !important;
  list-style: disc outside !important;
}

#study-lp .solution-acc li {
  margin-bottom: 12px !important;
  line-height: 1.6;
  display: list-item !important;
  list-style-type: disc !important;
}

/*solution-CTA*/

#study-lp .solution-cta {
  display: flex; align-items: center; justify-content: center;
  width: 360px; max-width: 90%; height: 64px; margin: 0 auto;
  background: #2F9AA0; color: #fff !important; text-decoration: none; font-weight: 600;
  position: relative; padding-right: 10px; transition: opacity 0.2s ease;
}
#study-lp .solution-cta::after { content: "›"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #fff !important; }
#study-lp .solution-cta:hover { opacity: 0.70; }

/* =========================
   Study LP : Mobile
========================= */

@media (max-width: 768px) {
  #study-lp section { padding: 44px 0; }
  #study-lp p, #study-lp li { font-size: 16px; }
  /* 全体の H2 サイズ調整 */
  #study-lp h2 {
    font-size: 24px !important; /* 30pxから24pxへ縮小 */
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
  }

  /* セクションごとの微調整が必要な場合 */
  #study-lp .session-items h2 {
    margin-bottom: 30px !important; /* 白い箱の中の見出し余白 */
  }
	
#study-lp .hero {
    /* 物理的な「はみ出し」を防ぐために親に余白を持たせる */
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  #study-lp .hero a {
    /* モバイルでは360px制限を解除し、画面幅（親のパディング内側）にフィットさせる */
    max-width: 100%; 
  }

  /* 1. HERO h1: 背景ボックスとマーカー位置の完全修正 */
  #study-lp .hero h1 {
    font-size: 26px !important;
    padding: 14px 18px !important;
    margin: 0 0 40px 0 !important; /* 下との隙間を確保 */
    background-color: rgba(255, 255, 255, 0.85) !important;
    background-image: 
      linear-gradient(rgba(244, 217, 167, 0.9), rgba(244, 217, 167, 0.9)),
      linear-gradient(rgba(244, 217, 167, 0.9), rgba(244, 217, 167, 0.9)) !important;
    background-repeat: no-repeat !important;
    /* 位置を1.3emと2.6emに下げて、文字と重なりすぎないように調整 */
    background-size: 140px 10px, 240px 10px !important;
    background-position: center 1.3em, center 2.6em !important;
    display: inline-block !important;
  }
  
  /* PC用のマーカー疑似要素を確実に消す（重なり防止） */
  #study-lp .hero h1::before,
  #study-lp .hero h1::after {
    display: none !important;
  }


  #study-lp .hero-points {
    gap: 10px; /* スマホでは円同士を近づける */
    margin-bottom: 40px;
  }

  #study-lp .hero-points p {
    width: 110px; /* スマホで見栄えの良いサイズに落とす */
    height: 110px;
    font-size: 18px; /* 文字もスマホ用に調整 */
  }

  /* 擬似要素は width: 100% にしているので自動で 110px になります */


  /* 3. サブコピーボックス */
  #study-lp .hero .hero-subcopy {
    margin-top: 40px !important;
    position: relative;
    z-index: 5;
    clear: both;
  }
  #study-lp .hero .hero-subcopy p{
	text-align:center;
  }

/* モバイル版：sessionセクション内の全要素を中央寄せに固定 */
  #study-lp .session-item h3,
  #study-lp .session-item p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ボタン（a）をブロック要素のように扱い、中央に配置 */
  #study-lp .session-link {
    display: flex !important;
    justify-content: center;
    margin: 15px auto 0 !important; /* 上余白15px、左右autoで中央 */
    width: fit-content;
    padding: 10px 24px;
  }

	
  /* 1. セクション全体の「はみ出し」を物理的にカット */
  #study-lp .user-type {
    overflow: hidden !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 2. 白いカードが画面幅を超えないように強制 */
  #study-lp .user-type-card {
    width: calc(100% - 20px) !important; /* 左右に16pxずつの余白を作る */
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 34px 15px !important;
    box-sizing: border-box !important; /* paddingを幅に含める（必須） */
    border-radius: 18px !important;
    max-width: none !important;
  }
  /* 3. 中身の要素（吹き出しなど）もカード幅に従うように設定 */
  #study-lp .user-type-voice-item {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #study-lp .user-type-bubble {
    flex: 1;
    min-width: 0 !important; /* flex子要素のはみ出し防止 */
    word-break: break-all;
  }

	#study-lp .user-type-title span {
  font-size: 24px;
  line-height: 1.8;
}

/* 1. カードを1列（縦積み）に強制上書き（Grid方式で解決） */
  #study-lp .voice-cards {
    display: grid !important;
    grid-template-columns: 1fr !important; 
    gap: 40px !important; 
    width: 100% !important;
  }

  /* 2. カード自体の設定 */
  #study-lp .voice-card {
    position: relative !important;
    width: 100% !important;
    padding: 22px 18px 85px !important; /* 下側の突き抜けスペース */
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  /* 3. 写真風イラスト（突き抜け用） */
  #study-lp .voice-illust {
    position: absolute !important;
    bottom: -35px !important; /* 枠外へ突き出す */
    right: 20px !important;
    left: auto !important;
    width: 90px !important;
    z-index: 10 !important;
  }
	
	/* --- solution-acc スマホ専用設定 --- */
  #study-lp .solution-box {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #study-lp .solution-acc-row {
    flex-direction: column !important; /* モバイル：縦積み */
    width: 100% !important;
    gap: 12px;
  }
  #study-lp .solution-acc {
    width: 100% !important;
  }
	
}

/* =========================
   Study LP : Tablet & Mobile
========================= */

/* 1060px以下になったら、重なりを防ぐために即座に縦並びへ */
@media (max-width: 1060px) {
  
  /* 親コンテナの幅を確保 */
  #study-lp .session-items {
    padding: 60px 20px !important;
    width: calc(100% - 32px) !important;
    margin: 0 auto;
  }

  /* 1. 縦並びに強制変更 */
  #study-lp .session-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important; 
    display: flex !important;
  }

  /* 2. カードの設定 */
  #study-lp .session-item {
    width: 100% !important;
    max-width: 450px !important; 
    flex: none !important;
    padding: 40px 20px !important;
    text-align: center !important;
  }

  /* 3. 背景の水彩画像の中央固定 */
  #study-lp .session-item::before {
    width: 280px !important; 
    height: 280px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important; 
    aspect-ratio: 1 / 1;
  }
}

/* 900px以下での微調整（隙間を少し詰めるだけ） */
@media (max-width: 900px) {
  #study-lp .session-row {
	  gap: 	5px !important;
  }

  #study-lp .session-item {
    max-width: 400px !important;
  }
}