/* =========================================================
   sg-page.css（統合版 / 子テーマ配置用）
   ---------------------------------------------------------
   方針（整理版）:
   - 影響範囲は .sg-page 配下に限定（他ページへ漏れない）
   - HTMLのセクション構成 A〜L + X-CTA に合わせてコメントを整理
   - Lightning / VK Blocks の既定スタイルは尊重しつつ必要箇所のみ上書き
   - G（nb-supportV2）のCSSを追加して統合（本ファイル内で完結）

   目次:
   0. BASE（変数/ユーティリティ/幅補正/アクセシビリティ）
   A. ヒーロー（.sg-hero）
   B. キャンペーン（.sg-campaign）
   C. はじめての皆さまへ（.nb-first）
   D. 個人レッスン訴求（.pl-section）
   E. NEXT誘導（.sg-next-section）
   F. コース紹介（.nb-accordion）
   G. サポート（タイムライン）/ nb-supportV2
   H. 体験レッスンの流れ（.nb-flow）
   I. 生徒さんの声（.voices-section）
   J. イベント演出（.event-rain）
   K. 料金（.lesson-pricing tabs）
   L. 教室情報（.school-info）
   X. 共通CTA（.nb-cta）
========================================================= */


/* =========================================================
   0. BASE
========================================================= */

/* ---------- ページ内変数（.sg-page 限定） ---------- */
.sg-page{
  /* Common tone */
  --nb-mint:#82c7a5;
  --nb-pink:#f9cada;
  --nb-honey:#f2d46f;
  --nb-head:#3d668f;
  --nb-bg:#fdfcf8;
  --nb-text:#2b2b2b;
  --nb-white:#fff;

  /* CTA */
  --cta-primary:#1100ab;
  --cta-white:#fff;
  --cta-glow:rgba(17,0,171,.35);
  --cta-primary-hover-fallback:#4b48e6;
  --cta-red:#d60000;

  /* Voices */
  --v-base:#fff;
  --v-bg:#f8fbfd;
  --v-border:#e7ebee;
  --v-text:#1e293b;
  --v-muted:#64748b;
  --v-primary:var(--vk-color-primary, #007bbb);

  /* SupportV2 */
  --spv2-bg:#f7fbff;
  --spv2-line:#d7e6f7;
  --spv2-node:#0ea5e9;
  --spv2-card:#ffffff;
  --spv2-text:#0f172a;
  --spv2-muted:#475569;
}

/* ---------- ちょいユーティリティ（ページ内のみ） ---------- */
.sg-page .pc-only{ display:inline; }
.sg-page .sp-only{ display:none; }
@media (max-width:680px){
  .sg-page .pc-only{ display:none !important; }
  .sg-page .sp-only{ display:inline !important; }
}

/* ---------- 動きが苦手な方への配慮 ---------- */
@media (prefers-reduced-motion: reduce){
  .sg-page *{
    animation-duration:0.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------- alignwide 補正（ページ内のみ） ---------- */
.sg-page .entry-body .alignwide,
.sg-page .alignwide{
  max-width: var(--vk-width-container, 1100px);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0;
  padding-right: 0;
}

/* ---------- 共通インナー ---------- */
.sg-page .sg-main-inner{
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

/* ---------- フォーカスリング（キーボード操作時） ---------- */
.sg-page :where(a, button, summary, input, label):focus-visible{
  outline:3px solid rgba(14,165,233,.35);
  outline-offset:3px;
  border-radius:10px;
}


/* =========================================================
   A. ヒーロー（.sg-hero）
========================================================= */
.sg-page .sg-hero{
  background: linear-gradient(135deg,#f7fbff 0%,#e3f2ff 45%,#fef6ff 100%);
  padding: clamp(18px,4.5vw,32px) 0;
}
.sg-page .sg-hero__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:14px;
}
.sg-page .sg-hero__logo img{
  max-width:140px;
  height:auto;
  display:block;
  margin-inline:auto;
}
.sg-page .sg-hero__body{ max-width:600px; }
.sg-page .sg-hero__title{
  margin:0 0 .4rem;
  font-weight:800;
  color:#0f172a;
}
.sg-page .sg-hero__title-main{
  display:block;
  font-size:clamp(2rem,4vw,2.4rem);
  letter-spacing:.08em;
}
.sg-page .sg-hero__lead{
  margin:.2rem 0 .8rem;
  font-size:clamp(.9rem,1.6vw,1rem);
  color:#475569;
  line-height:1.6;
}
.sg-page .sg-hero__actions{
  display:flex;
  justify-content:center;
  gap:10px;
}
.sg-page .sg-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.6rem 1.6rem;
  border-radius:999px;
  background: linear-gradient(135deg,#ff8a5c,#ffb347);
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  text-decoration:none;
  box-shadow:0 5px 12px rgba(248,113,113,.30);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.sg-page .sg-hero__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(248,113,113,.4);
}
@media (max-width: 768px){
  .sg-page .sg-hero{ padding:16px 0 22px; }
  .sg-page .sg-hero__logo img{ max-width:120px; }
}


/* =========================================================
   B. キャンペーン（.sg-campaign）
========================================================= */
.sg-page .sg-campaign{ padding: 10px 0 20px; }
.sg-page .sg-campaign__inner{ display:flex; justify-content:center; }
.sg-page .sg-campaign__img{
  width:100%;
  height:auto;
  display:block;
  border-radius:8px;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}


/* =========================================================
   C. はじめての皆さまへ（.nb-first）
========================================================= */
.sg-page .nb-first{
  margin: clamp(24px,4vw,48px) 0;
  padding: 28px 0;
  background:#fff;
}
.sg-page .nb-first__inner{ text-align:center; }
.sg-page .nb-first__title{
  margin:0 0 18px;
  font-size: clamp(1.6rem,3.2vw,2.1rem);
  font-weight:800;
  color:#1f2937;
  letter-spacing:.02em;
}
.sg-page .nb-first__photo{ margin:0 0 20px; }
.sg-page .nb-first__photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  object-fit:cover;
}
@media (max-width: 600px){
  .sg-page .nb-first__title{ font-size:1.8rem; }
  .sg-page .nb-first__photo img{ border-radius:12px; }
}


/* =========================================================
   D. 個人レッスン訴求（.pl-section）
========================================================= */
.sg-page .pl-section{
  background:#f3f1ee;
  padding:3rem 1.5rem 3.5rem;
  font-family:"YuGothic","游ゴシック体","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  box-sizing:border-box;
}
.sg-page .pl-inner{ max-width:980px; margin:0 auto; }
.sg-page .pl-section,
.sg-page .pl-section p,
.sg-page .pl-section li{
  font-size:1.05rem;
  line-height:1.7;
}
.sg-page .pl-row{
  display:flex;
  flex-direction:column;
  gap:1rem;
  background:#fff;
  margin-bottom:1.5rem;
  padding:1.3rem 1.1rem;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.sg-page .pl-row--reverse{ flex-direction:column; }
.sg-page .pl-text{ flex:1; text-align:center; }
.sg-page .pl-tag{
  display:inline-block;
  padding:.3rem .9rem;
  border:1px solid #555;
  background:#f7f5f2;
  font-weight:700;
  font-size:1.1rem;
  letter-spacing:.08em;
  margin:0;
}
.sg-page .pl-photo{ flex:1; margin:0; }
.sg-page .pl-photo img{
  width:100%;
  height:auto;
  border-radius:10px;
  object-fit:cover;
  display:block;
}
.sg-page .pl-answer{
  background:#fff;
  border-radius:14px;
  padding:2rem 1.4rem 2.1rem;
  box-shadow:0 6px 14px rgba(0,0,0,.07);
  text-align:center;
}
.sg-page .pl-answer__main{
  font-size:1.6rem;
  font-weight:700;
  line-height:1.8;
  margin:0 0 2rem;
}
@media (min-width:768px){
  .sg-page .pl-answer__main{ font-size:2rem; }
}
.sg-page .pl-marker{
  display:inline-block;
  padding:0 .25em;
  background:linear-gradient(transparent 60%, #c8ecff 60%);
  color:#e53980;
  font-weight:700;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
.sg-page .pl-points{
  list-style:none;
  padding:0;
  margin:0 auto;
  max-width:420px;
}
.sg-page .pl-points li{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  margin-bottom:1rem;
}
.sg-page .pl-points .icon{
  flex-shrink:0;
  font-size:1.4rem;
  margin-right:.5rem;
  line-height:1.2;
}
.sg-page .pl-points .text{
  text-align:center;
  font-size:1rem;
  line-height:1.7;
}
.sg-page .pl-points .text span{ font-weight:700; color:#000; }
.sg-page .pl-banner{
  display:block;
  background:#d94878;
  color:#fff;
  padding:1.2rem 1.4rem;
  border-radius:40px;
  max-width:620px;
  margin:2rem auto 0;
  text-align:center;
  line-height:1.9;
}
.sg-page .pl-banner .big-key{
  font-size:1.45em;
  font-weight:700;
  color:#fff;
}
.sg-page .pl-bottom-photo{ margin-top:2rem; }
.sg-page .pl-bottom-photo img{
  width:100%;
  height:auto;
  border-radius:12px;
  object-fit:cover;
  display:block;
}
@media (min-width:768px){
  .sg-page .pl-section{ padding:4rem 1.5rem 4.5rem; }
  .sg-page .pl-row{
    flex-direction:row;
    align-items:center;
    padding:1.6rem;
    gap:1.4rem;
  }
  .sg-page .pl-row--reverse{ flex-direction:row-reverse; }
  .sg-page .pl-answer{ padding:2.2rem 2.5rem 2.4rem; }
  .sg-page .pl-points{ max-width:640px; margin:0 auto 1.6rem; }
  .sg-page .pl-banner{ font-size:1.1rem; }
}
@media (max-width:767px){
  .sg-page .pl-banner{
    max-width:90%;
    padding:1.4rem 1rem;
    line-height:1.95;
  }
}


/* =========================================================
   E. NEXT誘導（.sg-next-section）
========================================================= */
.sg-page .sg-next-section{
  margin-top:3rem;
  padding:clamp(26px,4.5vw,40px) 0 18px;
  background:linear-gradient(135deg,#fef5f2 0%,#ffffff 45%,#f3f9ff 100%);
}
.sg-page .sg-next__inner{
  max-width:900px;
  margin-inline:auto;
  padding:clamp(18px,3.5vw,26px) clamp(20px,4.5vw,40px);
  text-align:center;
  background:#fff;
  border-radius:24px;
  box-shadow:0 0 0 rgba(255,127,80,0);
  opacity:0;
  transform:translateY(40px);
  transition:opacity .7s ease-out, transform .7s ease-out, box-shadow .7s ease-out;
}
.sg-page .sg-next-section.is-visible .sg-next__inner{
  opacity:1;
  transform:translateY(0);
  animation:sg-glowPulse 2.4s ease-in-out 1s infinite alternate;
}
.sg-page .sg-next__lead{
  margin:0 0 10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  align-items:center;
}
.sg-page .sg-next__lead-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 10px;
  font-size:.75rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  border-radius:999px;
  background:#fee2e2;
  color:#b91c1c;
}
.sg-page .sg-next__lead-main{
  display:inline-block;
  line-height:1.4;
  font-size:clamp(1.3rem,2.7vw,1.8rem);
  font-weight:800;
  letter-spacing:.06em;
  background:linear-gradient(135deg,#f97316,#ec4899);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.sg-page .sg-next__note{
  font-size:clamp(.95rem,1.6vw,1.05rem);
  color:#475569;
  line-height:1.8;
  margin:0 0 14px;
}
.sg-page .sg-next__note-em{
  font-weight:700;
  color:#0ea5e9;
  position:relative;
  display:inline-block;
}
.sg-page .sg-next__note-em::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:6px;
  background:rgba(14,165,233,.18);
  border-radius:999px;
  z-index:-1;
}
.sg-page .sg-next__arrow-wrap{
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:4px;
  color:#ff7f50;
}
.sg-page .sg-next__arrow-icon{
  width:22px;
  height:22px;
  opacity:0;
  animation:sg-arrowDown 1.8s infinite;
}
.sg-page .sg-next__arrow-icon:nth-child(1){ animation-delay:0s; }
.sg-page .sg-next__arrow-icon:nth-child(2){ animation-delay:.15s; }
.sg-page .sg-next__arrow-icon:nth-child(3){ animation-delay:.3s; }

@keyframes sg-arrowDown{
  0%{ opacity:0; transform:translateY(0); }
  40%{ opacity:1; transform:translateY(3px); }
  100%{ opacity:0; transform:translateY(7px); }
}
@keyframes sg-glowPulse{
  0%{ box-shadow:0 0 0 rgba(255,127,80,0); }
  100%{
    box-shadow:
      0 0 20px rgba(255,127,80,.22),
      0 10px 30px rgba(15,23,42,.16);
  }
}
@media (max-width:768px){
  .sg-page .sg-next__inner{
    padding:16px 16px 18px;
    border-radius:20px;
  }
  .sg-page .sg-next__note{ font-size:.9rem; }
  .sg-page .sg-next__lead{ gap:6px; }
  .sg-page .sg-next__arrow-icon{ width:20px; height:20px; }
}


/* =========================================================
   F. コース紹介（nb-accordion）
========================================================= */
.sg-page .nb-accordion--mint{
  background:var(--nb-bg);
  padding:clamp(24px,6vw,56px) 14px;
}
.sg-page .nb-acc__section{
  max-width:980px;
  margin:0 auto 12px;
  font-size:clamp(20px,2.6vw,28px);
  font-weight:900;
  color:var(--nb-head);
  border-left:8px solid var(--nb-mint);
  padding-left:12px;
}
.sg-page .nb-acc{
  max-width:980px;
  margin:10px auto;
  background:var(--nb-white);
  border:1px solid rgba(61,102,143,.12);
  border-radius:14px;
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  overflow:hidden;
  transition:box-shadow .25s ease;
}
.sg-page .nb-acc:hover{ box-shadow:0 10px 28px rgba(0,0,0,.08); }
.sg-page .nb-acc__summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  padding:16px 46px 16px 18px;
  position:relative;
}
.sg-page .nb-acc__summary::-webkit-details-marker{ display:none; }
.sg-page .nb-acc__title{
  margin:0;
  color:var(--nb-head);
  font-weight:900;
  letter-spacing:.01em;
  font-size:clamp(16px,2.1vw,20px);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.sg-page .nb-acc__title::before{
  content:"";
  flex:0 0 auto;
  width:12px;
  height:12px;
  border-radius:999px;
  background:var(--nb-mint);
  box-shadow:0 0 0 2px var(--nb-head) inset;
}
.sg-page .nb-acc__summary::after{
  content:"＋";
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--nb-head);
  font-weight:900;
  opacity:.85;
}
.sg-page .nb-acc[open] .nb-acc__summary::after{ content:"－"; }
.sg-page .nb-acc__body{
  padding:0 18px 16px;
  border-top:1px dashed rgba(61,102,143,.18);
}
.sg-page .nb-acc__body p{
  margin:12px 0 0;
  color:var(--nb-text);
  line-height:1.85;
  font-size:clamp(14px,1.9vw,16px);
  font-weight:450;
}
.sg-page .nb-point{ color:var(--nb-mint); font-weight:700; }
.sg-page .nb-acc__body strong{ font-weight:800; color:#233b56; }

.sg-page .nb-btn{
  display:inline-block;
  background:var(--nb-mint);
  color:var(--nb-head);
  font-weight:800;
  padding:10px 18px;
  border-radius:10px;
  text-decoration:none;
  transition:background .2s, transform .2s, box-shadow .2s;
  box-shadow:0 6px 14px rgba(130,199,165,.28);
}
.sg-page .nb-btn:hover{
  background:#69b090;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(130,199,165,.34);
}

.sg-page .nb-acc__wrap{
  display:grid;
  grid-template-columns:1fr min(38vw,260px);
  gap:16px 20px;
  align-items:start;
}
.sg-page .nb-acc__media{
  margin:8px 0 0;
  padding:0;
  display:block;
  max-width:min(38vw,260px);
}
.sg-page .nb-acc__media img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  object-fit:cover;
}
@media (max-width:720px){
  .sg-page .nb-acc__wrap{ grid-template-columns:1fr; }
  .sg-page .nb-acc__media{ max-width:100%; margin:8px auto 0; }
  .sg-page .nb-acc__media img{ border-radius:10px; }
}
@media (max-width:600px){
  .sg-page .nb-acc{ margin:12px auto; }
  .sg-page .nb-acc__body p{ line-height:1.95; }
  .sg-page .nb-btn{ display:block; text-align:center; width:100%; }
}


/* =========================================================
   G. サポート（タイムライン）/ nb-supportV2
========================================================= */
.sg-page .nb-supportV2{
  padding:clamp(28px,5vw,54px) 0;
  margin:clamp(18px,3vw,40px) 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(14,165,233,.14), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(130,199,165,.16), transparent 55%),
    var(--spv2-bg);
}
.sg-page .nb-supportV2 .sg-main-inner{
  max-width: 880px; /* タイムラインの見やすさ優先 */
}

/* 見出し */
.sg-page .nb-supportV2 .sec-title{
  margin:0 0 14px;
  text-align:center;
  font-weight:900;
  letter-spacing:.02em;
  color:var(--spv2-text);
  font-size:clamp(1.35rem,2.8vw,1.9rem);
  line-height:1.35;
}

/* リード */
.sg-page .nb-supportV2 .lead{
  margin:0 auto 18px;
  max-width: 780px;
  text-align:center;
  color:var(--spv2-muted);
  line-height:1.9;
  font-size:clamp(.95rem,1.7vw,1.05rem);
}
.sg-page .nb-supportV2 .lead strong{
  color:var(--spv2-text);
  font-weight:900;
}

/* タイムライン */
.sg-page .nb-supportV2 .list{
  position:relative;
  display:grid;
  gap:12px;
  margin: 18px 0 14px;
  padding: 6px 0 0;
}
.sg-page .nb-supportV2 .list::before{
  content:"";
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:4px;
  border-radius:999px;
  background:linear-gradient(to bottom, rgba(14,165,233,.18), rgba(130,199,165,.20));
  box-shadow:0 0 0 1px rgba(215,230,247,.9) inset;
}

/* 各項目 */
.sg-page .nb-supportV2 .item{
  position:relative;
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  align-items:start;
}

/* ノード（番号） */
.sg-page .nb-supportV2 .node{
  width:40px;
  height:40px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg, var(--spv2-node), #2563eb);
  box-shadow:0 10px 22px rgba(2,132,199,.22), 0 2px 6px rgba(15,23,42,.10);
  position:relative;
  z-index:1;
  margin-left:0;
}

/* カード */
.sg-page .nb-supportV2 .card{
  background:var(--spv2-card);
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  padding:14px 14px 13px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.sg-page .nb-supportV2 .card h3{
  margin:0 0 6px;
  color:var(--spv2-text);
  font-weight:900;
  font-size:clamp(1.02rem,1.8vw,1.12rem);
  letter-spacing:.01em;
}
.sg-page .nb-supportV2 .card p{
  margin:0;
  color:var(--spv2-muted);
  line-height:1.85;
  font-size:clamp(.92rem,1.6vw,1.0rem);
}
.sg-page .nb-supportV2 .card p strong{
  color:var(--spv2-text);
  font-weight:900;
}

/* クロージング / 注記 */
.sg-page .nb-supportV2 .closing{
  margin:14px auto 8px;
  text-align:center;
  font-weight:800;
  color:var(--spv2-text);
  letter-spacing:.01em;
}
.sg-page .nb-supportV2 .note{
  margin:0;
  text-align:center;
  color:var(--spv2-muted);
  font-size:.9rem;
}

/* SP調整 */
@media (max-width:680px){
  .sg-page .nb-supportV2 .list::before{ left:18px; }
  .sg-page .nb-supportV2 .item{ grid-template-columns:40px 1fr; gap:10px; }
  .sg-page .nb-supportV2 .node{ width:36px; height:36px; font-size:.95rem; }
  .sg-page .nb-supportV2 .card{ border-radius:14px; padding:12px; }
}


/* =========================================================
   H. 体験レッスンの流れ（.nb-flow）
========================================================= */
.sg-page .nb-flow{
  background:#f9fbfa;
  border-radius:16px;
  padding:20px 14px 24px;
  margin:36px 0;
  font-family:"Hiragino Sans","Noto Sans JP",sans-serif;
  color:var(--nb-text);
}
.sg-page .nb-flow h2{
  text-align:center;
  font-size:20px;
  font-weight:800;
  color:var(--nb-head);
  margin:0 0 12px;
  letter-spacing:.02em;
}
.sg-page .nb-photo{
  max-width:880px;
  margin:0 auto 14px;
}
.sg-page .nb-photo figure{
  margin:0;
  position:relative;
  overflow:hidden;
  border-radius:14px;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  background:#fff;
}
.sg-page .nb-photo img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .35s ease;
}
.sg-page .nb-photo figure:hover img{ transform:scale(1.02); }
.sg-page .nb-photo figcaption{
  position:absolute;
  left:10px;
  bottom:10px;
  background:rgba(255,255,255,.9);
  color:#365;
  font-size:12px;
  padding:4px 8px;
  border-radius:8px;
  font-weight:700;
}
.sg-page .nb-lead{
  text-align:center;
  font-size:14.5px;
  color:#4a4f55;
  max-width:820px;
  margin:6px auto 14px;
}
.sg-page .nb-steps{
  display:grid;
  gap:10px;
  max-width:880px;
  margin:0 auto;
}
.sg-page .nb-step{
  background:#fff;
  border-radius:12px;
  padding:12px;
  box-shadow:0 3px 10px rgba(0,0,0,.06);
  border-left:6px solid var(--nb-mint);
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:flex-start;
}
.sg-page .nb-badge{
  width:28px;
  height:28px;
  border-radius:999px;
  background:var(--nb-mint);
  color:#103b2f;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:13.5px;
  margin-top:2px;
}
.sg-page .nb-step h3{
  margin:0;
  font-size:15.5px;
  font-weight:800;
  color:#2f4e79;
}
.sg-page .nb-step p{
  grid-column:1 / -1;
  margin:6px 0 0;
  font-size:14.5px;
  line-height:1.7;
}
.sg-page .nb-illu{ position:relative; }
.sg-page .nb-illu::after{
  content:"";
  position:absolute;
  right:10px;
  top:10px;
  width:24px;
  height:24px;
  opacity:.25;
  background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24" fill="%2382C7A5"><path d="M7 4h2v3h6V4h2v3h3v2h-3v6h3v2h-3v3h-2v-3H9v3H7v-3H4v-2h3V9H4V7h3V4zm2 7v6h6v-6H9z"/></svg>') no-repeat center/contain;
}
.sg-page .nb-message{
  max-width:880px;
  margin:14px auto 0;
  padding:16px 18px;
  background:rgba(255,255,255,.96);
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  border:1px solid rgba(130,199,165,.25);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.sg-page .nb-message::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at top left, rgba(130,199,165,.18), transparent 60%);
  opacity:.85;
  pointer-events:none;
}
.sg-page .nb-message__inner{ position:relative; }
.sg-page .nb-message p{
  margin:4px 0;
  font-size:14.5px;
  line-height:1.9;
  color:#3f4a50;
}
.sg-page .nb-message p strong{ color:#2f4e79; font-weight:800; }
.sg-page .nb-note{
  font-size:12.5px;
  color:#6c7278;
  text-align:right;
  max-width:880px;
  margin:8px auto 0;
}
@media (min-width:760px){
  .sg-page .nb-flow h2{ font-size:22px; }
  .sg-page .nb-lead{ font-size:15px; }
  .sg-page .nb-step h3{ font-size:16px; }
  .sg-page .nb-step p,
  .sg-page .nb-message p{ font-size:15px; }
}


/* =========================================================
   I. 生徒さんの声（voices）
========================================================= */
.sg-page .voices-section{
  background:var(--v-bg);
  border:1px solid var(--v-border);
  border-radius:18px;
  padding:36px 0 30px;
  margin:clamp(24px,4vw,48px) 0;
}
.sg-page .voices__inner{
  max-width:var(--vk-width-container, 1100px);
  margin-inline:auto;
  padding:0 16px;
}
.sg-page .voices__header{ text-align:center; margin-bottom:14px; }
.sg-page .voices__title{
  margin:0;
  font-size:clamp(1.4rem,2.8vw,1.9rem);
  font-weight:800;
  color:var(--v-text);
}
.sg-page .voices__subtitle{
  margin:.25rem 0 0;
  color:var(--v-muted);
  font-size:clamp(.9rem,1.6vw,1rem);
}
.sg-page .voices-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.sg-page .voice-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  background:var(--v-base);
  border:1px solid var(--v-border);
  border-radius:14px;
  padding:14px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.sg-page .voice-card__title{
  margin:.1rem 0 .35rem;
  font-weight:800;
  font-size:1.02rem;
  color:var(--v-text);
}
.sg-page .voice-card__text{ margin:0; color:#334155; line-height:1.7; }
.sg-page .avatar{
  width:68px;
  height:68px;
  margin:0;
  border-radius:50%;
  overflow:hidden;
  box-shadow:0 3px 8px rgba(15,23,42,.16);
}
.sg-page .avatar__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.sg-page .voices__closing{
  margin:18px auto 0;
  max-width:820px;
  text-align:center;
  color:#1f2933;
  font-size:clamp(.95rem,1.8vw,1.05rem);
  line-height:1.8;
}
.sg-page .br-sp{ display:none; }
@media (max-width:980px){
  .sg-page .voices-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .sg-page .voice-card{ grid-template-columns:1fr; text-align:left; }
  .sg-page .avatar{ margin-inline:auto; }
  .sg-page .br-sp{ display:inline; }
}
@media (prefers-contrast:more){
  .sg-page .voice-card__text{ color:#0f172a; }
}

/* VK Heading の余計な装飾をこのセクション内で無効化 */
.sg-page .voices-section .vk_heading,
.sg-page .voices-section .vk_heading-title,
.sg-page .voices-section [class*="vk_heading"],
.sg-page .voices-section .wp-block-heading{
  border:0 !important;
  box-shadow:none !important;
  background:none !important;
  padding:0 !important;
}
.sg-page .voices-section .vk_heading::before,
.sg-page .voices-section .vk_heading::after,
.sg-page .voices-section [class*="vk_heading"]::before,
.sg-page .voices-section [class*="vk_heading"]::after,
.sg-page .voices-section .wp-block-heading::before,
.sg-page .voices-section .wp-block-heading::after{
  content:none !important;
  display:none !important;
}


/* =========================================================
   J. イベント演出（event-rain）
========================================================= */
.sg-page .event-rain-section{
  max-width:var(--vk-width-container, 1100px);
  margin-inline:auto;
  padding-inline:16px;
  margin-bottom:80px;
}
.sg-page .event-rain{
  position:relative;
  width:min(100%,520px);
  margin:0 auto;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  background:radial-gradient(circle at top, #1f2937 0%, #020617 55%, #000 100%);
  aspect-ratio:16/9;
}
.sg-page .event-rain__stage{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.sg-page .event-rain__photo{
  position:absolute;
  background-size:cover;
  background-position:center;
  border-radius:12px;
  opacity:0;
  filter:contrast(1.15) saturate(1.15) blur(.35px);
  box-shadow:0 8px 18px rgba(0,0,0,.35);
  animation:eventPhotoFall linear infinite;
  will-change:transform, opacity;
}
@keyframes eventPhotoFall{
  0%{
    transform:translate3d(0,-140%,0) rotate(var(--rot-start)) scale(.9);
    opacity:0;
  }
  10%{ opacity:.95; }
  60%{ opacity:.95; }
  100%{
    transform:translate3d(0,160%,0) rotate(var(--rot-end)) scale(1.05);
    opacity:0;
  }
}
.sg-page .event-rain__overlay{
  position:absolute;
  inset:auto 8% 10% 8%;
  color:#fff;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.7);
  pointer-events:none;
}
.sg-page .event-rain__tagline{
  display:inline-block;
  padding:.2em .8em;
  border-radius:999px;
  background:rgba(15,23,42,.7);
  font-size:.75rem;
  margin:0 0 .4rem;
}
.sg-page .event-rain__title{
  font-size:clamp(1.2rem,2.4vw,1.6rem);
  margin:.1rem 0 .3rem;
  line-height:1.5;
}
.sg-page .event-rain__caption{
  font-size:clamp(.8rem,1.5vw,.9rem);
  margin:0;
  opacity:.9;
}
@media (max-width:768px){
  .sg-page .event-rain{ width:min(100%,420px); aspect-ratio:4/3; }
  .sg-page .event-rain__overlay{ inset:auto 6% 8% 6%; }
}


/* =========================================================
   K. 料金（lesson-pricing tabs）
========================================================= */
.sg-page .lesson-pricing .lp__container{
  max-width:var(--vk-width-container,1100px);
  margin-inline:auto;
  padding-inline:16px;
}

.sg-page .lp-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 12px;
}
.sg-page .lp-tab{
  appearance:none;
  border:1px solid var(--vk-color_border,#e7ebee);
  background:#fff;
  color:#222;
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}
.sg-page .lp-tab.is-active{
  background:#e8f2f8;
  border-color:#c6dfea;
}

/* パネル */
.sg-page .lp-panel{ margin-top:6px; }
.sg-page .lp-panel[hidden]{ display:none !important; }

/* テーブル */
.sg-page .lp-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid #e7ebee;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.sg-page .lp-table th,
.sg-page .lp-table td{
  padding:14px;
  border-top:1px solid #e7ebee;
}
.sg-page .lp-table tr:first-child th,
.sg-page .lp-table tr:first-child td{ border-top:none; }
.sg-page .lp-table th{
  width:32%;
  background:#f7fafc;
  color:#0f172a;
}

/* 行内表示 */
.sg-page .lp-fee-line{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 1rem;
  align-items:center;
}
.sg-page .lp-sub-note{ margin-top:.35rem; color:#475569; }
.sg-page .lp-tax{ color:#64748b; }
.sg-page .lp-note-inline{ color:#0ea5e9; font-weight:700; }

/* キャンペーン表記 */
.sg-page .lp-note-campaign{
  display:inline-block;
  margin-left:.35rem;
  color:#b91c1c;
  font-weight:800;
}

/* 打ち消し */
.sg-page .lp-price--strike{
  position:relative;
  color:#7b8794;
}
.sg-page .lp-price--strike::after{
  content:"";
  position:absolute;
  left:0; right:0; top:50%;
  height:2px;
  background:#ccc;
}

/* 追加の注意行（HTMLに合わせて補強） */
.sg-page .lp-extra-row .lp-extra-cell{
  background:#fcfeff;
  padding:14px;
}
.sg-page .lp-notes{
  margin:0;
  padding-left:1.2em;
  color:#334155;
}
.sg-page .lp-notes li{ margin:.35em 0; }

/* SPで縦積み */
@media (max-width:640px){
  .sg-page .lp-table th,
  .sg-page .lp-table td{ display:block; width:auto; }
  .sg-page .lp-table th{ border-top:none; }
}


/* =========================================================
   L. 教室情報（school-info）
========================================================= */
.sg-page .school-info{
  margin:clamp(24px,4vw,48px) 0;
  background:#f9fafc;
  border:1px solid #e7ebee;
  border-radius:18px;
  padding:36px 0;
}
.sg-page .school-info__inner{
  max-width:var(--vk-width-container,1080px);
  margin-inline:auto;
  padding-inline:16px;
}
.sg-page .school-title-block{ text-align:center; margin-bottom:2.2rem; }
.sg-page .section-title{
  margin:0 0 .8rem;
  font-weight:800;
  line-height:1.25;
}
.sg-page .title-small{
  font-size:clamp(.9rem,1.6vw,1.1rem);
  font-weight:500;
  color:#4b5563;
  letter-spacing:.02em;
}
.sg-page .title-large{
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;
  letter-spacing:.02em;
  color:#0f172a;
  display:inline-block;
  margin-top:.15em;
}
.sg-page .access{ margin:.6rem 0 0; }
.sg-page .access-badge{
  display:inline-block;
  padding:.55rem 1.2rem;
  border-radius:999px;
  background:#e8f2f8;
  border:1px solid #c6dfea;
  font-weight:700;
  font-size:clamp(.85rem,1.4vw,.95rem);
  color:#0f172a;
  letter-spacing:.01em;
}
.sg-page .school-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:20px;
}
.sg-page .school-col .school-card + .school-card{ margin-top:14px; }
.sg-page .school-card{
  background:#fff;
  border:1px solid #e7ebee;
  border-radius:14px;
  padding:18px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.sg-page .school-card-title{
  margin:0 0 .6rem;
  font-size:1.05rem;
  border-left:4px solid var(--vk-color-primary, #007bbb);
  padding-left:.6rem;
}
.sg-page .school-addr{ font-style:normal; line-height:1.7; }
.sg-page .school-tel{ margin:.25rem 0; }
.sg-page .school-hours{ margin:0; line-height:1.7; }
.sg-page .pay-block + .pay-block{ margin-top:12px; }
.sg-page .pay-head{ font-weight:700; margin:0 0 .3rem; }
.sg-page .pay-list{ margin:0; padding-left:1.2em; }
.sg-page .pay-list li{ margin:.25em 0; }

/* マップタブ（radio） */
.sg-page .tabs{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:6px;
}
.sg-page .tabs input{ position:absolute; opacity:0; pointer-events:none; }
.sg-page .tabs label{
  display:inline-block;
  padding:.45rem .9rem;
  border:1px solid #e7ebee;
  background:#f5f6fa;
  border-radius:10px 10px 0 0;
  font-weight:700;
  font-size:.9rem;
  cursor:pointer;
  user-select:none;
}
.sg-page .tabs .tab-content{
  width:100%;
  display:none;
  border:1px solid #e7ebee;
  border-radius:0 12px 12px 12px;
  padding:12px;
  margin-top:-1px;
  background:#fff;
}
.sg-page #map-photo:checked ~ label[for="map-photo"],
.sg-page #map-gmap:checked ~ label[for="map-gmap"]{
  background:#fff;
}
.sg-page #map-photo:checked ~ .photo,
.sg-page #map-gmap:checked ~ .gmap{
  display:block;
}
.sg-page .map-photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}
.sg-page .gmap-wrap{
  position:relative;
  padding-top:62%;
  border-radius:12px;
  overflow:hidden;
}
.sg-page .gmap-wrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.sg-page .steps{ margin:0; padding-left:1.2em; }
.sg-page .steps li{ margin:.35rem 0; }

@media (max-width:900px){
  .sg-page .school-grid{ grid-template-columns:1fr; }
}


/* =========================================================
   X. 共通CTA（nb-cta）
========================================================= */
.sg-page .nb-cta{
  padding:28px 0 34px;
  margin:clamp(18px,3vw,36px) 0;
  border-radius:16px;
}
.sg-page .nb-cta__inner{
  max-width:850px;
  margin-inline:auto;
  padding:0 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.sg-page .nb-cta__pretext{
  margin:0 0 18px;
  font-size:clamp(15px,2.4vw,17px);
  color:#374151;
  line-height:1.7;
}
.sg-page .nb-cta__pre-main{ font-weight:900; color:#111827; }
.sg-page .nb-cta__pre-sub{ font-size:clamp(14px,2.2vw,16px); }
.sg-page .nb-cta__arrow{
  display:inline-block;
  margin:0 .35rem;
  color:var(--cta-red);
  font-size:1.3em;
  animation:nb-cta-arrow-bounce 1.8s ease-in-out infinite;
}
@keyframes nb-cta-arrow-bounce{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(3px); }
}
.sg-page .nb-cta__btn{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(100%,680px);
  min-height:120px;
  padding:20px 28px;
  border-radius:999px;
  text-decoration:none;
  background:var(--cta-primary) !important;
  color:var(--cta-white) !important;
  font-weight:900;
  box-shadow:0 8px 20px var(--cta-glow), 0 2px 6px rgba(0,0,0,.12);
  transition:background .18s ease, transform .05s ease, box-shadow .18s ease;
  overflow:hidden;
}
.sg-page .nb-cta__btn:active{ transform:translateY(1px); }
.sg-page .nb-cta__btn-text{
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.35;
}
.sg-page .line1{ font-size:clamp(20px,3.2vw,26px); font-weight:900; }
.sg-page .line2{
  margin-top:6px;
  font-size:clamp(14px,2.4vw,18px);
  font-weight:600;
  opacity:.95;
}
.sg-page .nb-cta__btn::after{
  content:"";
  position:absolute;
  top:-120%;
  left:-30%;
  width:40%;
  height:340%;
  transform:rotate(25deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
  animation:nb-cta-sheen-slow 3.6s ease-in-out infinite;
  opacity:0;
  pointer-events:none;
}
@keyframes nb-cta-sheen-slow{
  0%{ transform:translateX(-60%) rotate(25deg); opacity:0; }
  20%{ opacity:.9; }
  80%{ transform:translateX(240%) rotate(25deg); opacity:.9; }
  100%{ opacity:0; }
}
.sg-page .nb-cta__btn:hover{
  background:var(--cta-primary-hover-fallback) !important;
  color:var(--cta-white) !important;
}
@supports (color: color-mix(in hsl, black, white)){
  .sg-page .nb-cta__btn:hover{
    background:color-mix(in hsl, var(--cta-primary), white 28%) !important;
  }
}
@media (max-width:680px){
  .sg-page .nb-cta__btn{
    width:100% !important;
    min-height:130px !important;
    border-radius:24px !important;
  }
  .sg-page .line1{ font-size:22px !important; }
  .sg-page .line2{ font-size:16px !important; }
  .sg-page .nb-cta__pretext{ font-size:15px; }
}
@media (max-width:360px){
  .sg-page .line1{ font-size:20px !important; }
  .sg-page .line2{ font-size:15px !important; }
}