/* ============================================================
   幼児ペアコース LP — yoji-pair.css v4.0
   参考デザイン（Image 1）準拠
   ・写真背景テキストを廃止 → 白/ベージュ地に写真カード
   ・絵文字なし
   ・文字サイズ最低1rem
   ・SWELLフォント変数継承
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --yp-font: var(--swl-font_family,
    'Noto Sans JP',
    "游ゴシック体","Yu Gothic",YuGothic,
    "Hiragino Kaku Gothic ProN","Hiragino Sans",
    Meiryo, sans-serif);

  /* ブランドカラー */
  --c-orange:     #F07A00;   /* メインオレンジ */
  --c-orange-d:   #C05E00;   /* 濃いオレンジ */
  --c-orange-l:   #FFA733;   /* 明るいオレンジ */
  --c-orange-bg:  #FFF4E6;   /* 極薄オレンジ */
  --c-yellow:     #FFD94A;   /* アクセントイエロー */
  --c-yellow-bg:  #FFFBE6;   /* 極薄イエロー */
  --c-green:      #2E7D52;   /* 安心グリーン */
  --c-green-bg:   #EAF5EE;   /* 薄グリーン */
  --c-red:        #D63B2F;   /* 強調レッド */
  --c-brown:      #5C3A1E;   /* 暖かいブラウン（見出し） */
  --c-text:       #333333;   /* 本文 */
  --c-text-s:     #555555;   /* サブ本文 */
  --c-text-m:     #888888;   /* ミュート */
  --c-border:     #E8DDD0;   /* ボーダー */
  --c-bg:         #FDFAF5;   /* ページ背景 */
  --c-bg-warm:    #FFF8F0;   /* 温かみ背景 */
  --c-white:      #FFFFFF;

  /* 形 */
  --r-s:  6px;
  --r-m:  12px;
  --r-l:  20px;
  --r-p:  999px;

  /* シャドウ */
  --sh-s: 0 2px 8px rgba(0,0,0,.08);
  --sh-m: 0 4px 20px rgba(0,0,0,.12);
  --sh-l: 0 8px 32px rgba(0,0,0,.16);

  /* 幅 */
  --max-w: 860px;
  --py:    72px;
}

/* ============================================================
   BASE
   ============================================================ */
.yp-page *, .yp-page *::before, .yp-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.yp-page {
  font-family: var(--yp-font);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  /* SWELLコンテナの制約を受けないよう幅を明示 */
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
.yp-page img  { max-width: 100%; height: auto; display: block; }
.yp-page a    { color: var(--c-orange); text-decoration: none; }
.yp-page a:hover { text-decoration: underline; }

/* ============================================================
   LAYOUT
   ============================================================ */

/* 全セクション・帯をフルワイド化
   SWELLのwp_headインラインCSSでl-mainContent系の
   overflow:visible / max-width:100% を保証済みのため
   ここで width:100vw + 負マージンが機能する */
.yp-page .hero,
.yp-page .camp-band,
.yp-page .target-sec,
.yp-page .mid-cta,
.yp-page .cls-sec,
.yp-page .voice-sec,
.yp-page .steps-sec,
.yp-page .sched-sec,
.yp-page .trial-sec,
.yp-page .guar-sec,
.yp-page .faq-sec,
.yp-page .cta-final {
  width: 100vw;
  margin-left:  calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* feat-wrap は80%幅（フルワイドではなく中央寄せ） */
.yp-page .feat-wrap {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.wk { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.sec { padding: var(--py) 0; }
.sec-sm { padding: 48px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
/* セクションラベル（英語小文字） */
.sec-en {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 6px;
}

/* セクション見出し */
.sec-h2 {
  font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--c-brown);
  margin-bottom: 1rem;
}
.sec-h2 b  { color: var(--c-orange); font-weight: 900; }
.sec-h2--c { text-align: center; }
.sec-h2--w { color: #fff; }
.sec-h2--w b { color: var(--c-yellow); }

/* 装飾ライン付き見出し */
.sec-h2-deco {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 28px;
}
.sec-h2-deco::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 4px;
  background: var(--c-orange);
  border-radius: var(--r-p);
}
.sec-h2-deco--c::after { left: 50%; transform: translateX(-50%); }

/* サブリード */
.sec-lead {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--c-text-s);
  margin-bottom: 2rem;
}
.sec-lead--c { text-align: center; }

/* 本文段落 */
.sec-p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text-s);
}
.sec-p + .sec-p { margin-top: 1rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--yp-font);
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: var(--r-p);
  cursor: pointer;
  text-decoration: none !important;
  text-align: center;
  border: none;
  line-height: 1.35;
  transition: transform .16s, box-shadow .16s, background .16s, filter .16s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none !important; }
.btn small { font-size: 0.8125rem; font-weight: 400; }

.btn-main {
  background: var(--c-orange);
  color: #fff !important;
  padding: 20px 40px;
  box-shadow: 0 5px 20px rgba(240,122,0,.40);
  position: relative;
  overflow: hidden;
}
.btn-main::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.btn-main:hover::after { left: 140%; }
.btn-main:hover { background: var(--c-orange-d); box-shadow: 0 8px 28px rgba(240,122,0,.50); color:#fff!important; }

.btn-sub {
  background: #fff;
  color: var(--c-orange) !important;
  border: 2px solid var(--c-orange);
  padding: 16px 36px;
  flex-direction: row;
  font-size: 1rem;
}
.btn-sub:hover { background: var(--c-orange-bg); color: var(--c-orange)!important; }

.btn-line {
  background: #06C755;
  color: #fff !important;
  padding: 16px 40px;
  box-shadow: 0 5px 20px rgba(6,199,85,.35);
  flex-direction: column;  /* 縦積み */
  gap: 2px;
}
.btn-line:hover { filter: brightness(1.08); box-shadow: 0 8px 28px rgba(6,199,85,.45); color:#fff!important; }

/* アイコンは絶対配置で左に出す */
.btn-line {
  position: relative;
  padding-left: 52px;  /* アイコン幅分左に余白 */
}
.btn-line__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn--wide { width: 100%; max-width: 460px; }
.btn--full { width: 100%; max-width: none; }

/* ============================================================
   CAMPAIGN BADGE — 価格バナー
   ============================================================ */
.price-badge {
  background: var(--c-red);
  color: #fff;
  border-radius: var(--r-m);
  padding: 20px 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
}
.price-badge__label { font-size: 0.875rem; font-weight: 700; margin-bottom: 2px; }
.price-badge__price {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
.price-badge__price sub { font-size: 1rem; vertical-align: baseline; }
.price-badge__note { font-size: 0.8125rem; margin-top: 4px; opacity: .88; }

/* ============================================================
   ① HERO
   ============================================================ */
/* ============================================================
   ① HERO — soroban.jpg 全画面背景・センター縦積みレイアウト
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0 72px;
  overflow: hidden;
  /* soroban.jpg を背景に + 濃いオーバーレイ */
  background-color: #1A0800;
  background-image:
    linear-gradient(160deg, rgba(160,55,0,.72) 0%, rgba(20,8,0,.78) 100%),
    url('https://www.net-de-soloban.com/wp-content/uploads/2026/04/soroban.jpg');
  background-size: cover;
  background-position: center;
}
/* 右下の装飾画像は削除 */

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 660px;  /* テキストブロックの幅 */
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.92);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--r-p);
  margin-bottom: 22px;
  letter-spacing: .06em;
}
.hero__h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.28;
  color: #fff;
  margin-bottom: 12px;
}
.hero__h1 span {
  display: inline;
  background: var(--c-yellow);
  color: var(--c-orange-d);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 92%;
}
.hero__tagline {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFD98C;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--c-yellow);
  line-height: 1.5;
}
.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 560px;
}
/* ポイント数値バッジ */
.hero__stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__stat {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-m);
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
  backdrop-filter: blur(4px);
}
.hero__stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FFD98C;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.hero__pill {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-p);
}
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}


/* ============================================================
   ② CAMPAIGN BAND
   ============================================================ */
.camp-band {
  background: var(--c-yellow);
  border-top: 3px solid #E5B800;
  border-bottom: 3px solid #E5B800;
  padding: 24px 0;
}
.camp-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.camp-tag {
  background: var(--c-red);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: var(--r-p);
  white-space: nowrap;
  flex-shrink: 0;
}
.camp-text {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-brown);
  line-height: 1.55;
}
.camp-text b { color: var(--c-red); }
.camp-sub { font-size: 0.9375rem; color: var(--c-text-s); font-weight: 400; }

/* ============================================================
   ③ TARGET — こんなお子さまに
   ============================================================ */
.target-sec {
  background: var(--c-bg-warm);
  padding: var(--py) 0;
}
.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.target-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 5px solid var(--c-orange);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  padding: 22px 26px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-brown);
  line-height: 1.55;
  box-shadow: var(--sh-s);
}

/* ============================================================
   ④-B 中間CTA
   ============================================================ */
.mid-cta {
  background: var(--c-orange);
  padding: 32px 0;
}
.mid-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.mid-cta__lead {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.mid-cta__sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.82);
}
.mid-cta .btn-line {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 14px 28px 14px 52px;
}

/* ============================================================
   ④ FEATURES — 左右写真+テキスト
   ============================================================ */
.feat-wrap { background: var(--c-white); }

/* セクションヘッダ（白背景内） */
.feat-header {
  text-align: center;
  padding: 56px 20px 40px;
}
.feat-step-label {
  display: inline-block;
  background: var(--c-orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  padding: 4px 20px;
  border-radius: var(--r-p);
  margin-bottom: 14px;
  letter-spacing: .06em;
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--c-border);
}
.feat-row:last-child { border-bottom: 1px solid var(--c-border); }

.feat-photo {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.feat-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.feat-row:hover .feat-photo img { transform: scale(1.04); }
.feat-num-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-orange);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 900;
  padding: 5px 16px;
  border-radius: var(--r-p);
  letter-spacing: .04em;
  box-shadow: var(--sh-s);
}

.feat-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--c-white);
}
.feat-body--bg { background: var(--c-bg-warm); }

.feat-ttl {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--c-brown);
  line-height: 1.5;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--c-border);
  padding-bottom: 14px;
}
.feat-ttl b { color: var(--c-orange); }

/* ============================================================
   ⑤ PRICE HIGHLIGHT — 価格を目立たせる
   ============================================================ */
.price-sec {
  background: linear-gradient(135deg, #fff4e6 0%, #fff9f0 100%);
  border-top: 4px solid var(--c-orange);
  border-bottom: 4px solid var(--c-orange);
  padding: 56px 0;
}
.price-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-m);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--c-border);
  gap: 16px;
}
.price-row:last-child { border-bottom: none; }
.price-lbl {
  font-size: 1rem;
  color: var(--c-text-s);
  line-height: 1.5;
}
.price-lbl small { display: block; font-size: 0.875rem; color: var(--c-text-m); }
.price-val {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--c-text);
  text-align: right;
  white-space: nowrap;
}
.price-val sub { font-size: 1rem; font-weight: 500; vertical-align: baseline; }
.price-strike { font-size: 1rem; color: var(--c-text-m); text-decoration: line-through; display: block; }
.price-free { color: var(--c-red); font-size: 1.5rem; font-weight: 900; }

/* ============================================================
   ⑥ CLASS CARDS — コース紹介
   ============================================================ */
.cls-sec { background: var(--c-bg-warm); padding: var(--py) 0; }
.cls-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.cls-card {
  background: var(--c-white);
  border-radius: var(--r-l);
  border: 1px solid var(--c-border);
  overflow: hidden;
  box-shadow: var(--sh-s);
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: box-shadow .2s, transform .2s;
}
.cls-card:hover { box-shadow: var(--sh-m); transform: translateY(-2px); }

.cls-photo {
  position: relative;
  overflow: hidden;
}
.cls-photo img { width: 100%; height: 100%; object-fit: cover; }
.cls-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 1rem;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: var(--r-p);
  color: #fff;
  box-shadow: var(--sh-s);
}
.cls-badge--a { background: var(--c-green); }
.cls-badge--b { background: var(--c-orange-l); }
.cls-badge--c { background: var(--c-orange); }

.cls-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.cls-catch {
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--c-brown);
  margin-bottom: 10px;
  line-height: 1.45;
}
.cls-catch b { color: var(--c-orange); }
.cls-target-lbl {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-text-m);
  background: #f5f0ea;
  padding: 2px 12px;
  border-radius: var(--r-p);
  margin-bottom: 8px;
}
.cls-goal-lbl {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-orange-d);
  background: var(--c-orange-bg);
  padding: 2px 12px;
  border-radius: var(--r-p);
  margin-bottom: 6px;
}
.cls-goal { font-size: 1rem; color: var(--c-text-s); line-height: 1.75; }

/* ============================================================
   ⑦ VOICE — 写真背景（適度なオーバーレイ）
   ============================================================ */
.voice-sec {
  position: relative;
  padding: var(--py) 0;
  background-color: #1A3A2A;
  background-image:
    linear-gradient(160deg, rgba(10,50,25,.82) 0%, rgba(5,30,12,.88) 100%),
    url('https://www.net-de-soloban.com/wp-content/uploads/2026/02/abacus-basic-course.png');
  background-size: cover;
  background-position: center;
}
/* セクション内の見出し・リード色を白に */
.voice-sec .sec-en  { color: rgba(200,240,218,.8); }
.voice-sec .sec-h2  { color: #fff; }
.voice-sec .sec-h2 b{ color: #7FFFC4; }
.voice-sec .sec-h2-deco::after { background: #7FFFC4; }

.voice-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-left: 5px solid rgba(127,255,196,.6);
  border-radius: var(--r-l);
  padding: 36px 36px 32px;
  margin-bottom: 20px;
  position: relative;
  backdrop-filter: blur(10px);
}
.voice-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,.18);
  position: absolute;
  top: 12px; left: 24px;
  pointer-events: none;
}
.voice-txt {
  font-size: 1.0625rem;
  line-height: 2;
  color: rgba(255,255,255,.92);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.voice-from {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.55);
  font-weight: 700;
}
.voice-results {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-l);
  padding: 28px 32px;
  backdrop-filter: blur(10px);
}
.voice-results__ttl {
  font-size: 1.0625rem;
  font-weight: 900;
  color: #A8F0CE;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.voice-results ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.voice-results li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}
.voice-results li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--c-green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='9' fill='%232E7D52'/%3E%3Cpath d='M5 9l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ============================================================
   ⑧ STEPS
   ============================================================ */
.steps-sec { background: var(--c-bg-warm); padding: var(--py) 0; }
.steps-list { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 0 36px;
}
.step__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 48px;
  flex-shrink: 0;
}
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(240,122,0,.35);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step__line {
  width: 2px;
  background: var(--c-border);
  flex: 1;
  min-height: 40px;
  margin: 4px 0;
}
.step:last-child .step__line { display: none; }
.step:last-child { padding-bottom: 0; }
.step__body { padding: 10px 0; flex: 1; }
.step__ttl {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--c-brown);
  margin-bottom: 8px;
  line-height: 1.45;
}
.step__ttl b { color: var(--c-orange); }
.step__p { font-size: 1rem; color: var(--c-text-s); line-height: 1.85; }

/* ============================================================
   ⑨ SCHEDULE
   ============================================================ */
.sched-sec { background: var(--c-white); padding: var(--py) 0; }
.sched-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.sched-day {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--sh-s);
}
.sched-hd {
  background: var(--c-orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 18px;
  text-align: center;
  letter-spacing: .04em;
}
.sched-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid var(--c-border);
  font-size: 1rem;
}
.sched-row:last-child { border-bottom: none; }
.slot-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--r-p);
  color: #fff;
}
.slot-a { background: var(--c-green); }
.slot-b { background: var(--c-orange-l); color: #fff; }
.slot-c { background: var(--c-orange); }

/* ============================================================
   ⑩ TRIAL CTA — 体験会申込セクション（写真背景）
   ============================================================ */
.trial-sec {
  position: relative;
  padding: var(--py) 0;
  background-color: #2A1200;
  background-image:
    linear-gradient(150deg, rgba(200,90,0,.80) 0%, rgba(160,55,0,.86) 100%),
    url('https://www.net-de-soloban.com/wp-content/uploads/2026/02/abacus-premium-course.png');
  background-size: cover;
  background-position: center;
}
/* 写真背景内のsec-en色 */
.trial-sec .sec-en { color: rgba(255,220,160,.75); }
.trial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;  /* 左右を上揃えにして高さ差を自然に */
}
.trial-body {}
.trial-box__ttl {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
/* trial左列のチェックリスト */
.trial-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.trial-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.trial-checks li::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='rgba(255,255,255,0.25)'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}
.trial-box {
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: var(--r-l);
  padding: 32px 28px;
}
.trial-dates { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.trial-row { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #fff; font-weight: 500; }
.trial-day-badge {
  background: #fff;
  color: var(--c-orange-d);
  font-size: 0.875rem;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: var(--r-p);
  flex-shrink: 0;
}
.trial-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.trial-slot {
  font-size: 0.9375rem;
  padding: 5px 14px;
  border-radius: var(--r-p);
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  background: rgba(255,255,255,.12);
}

/* ============================================================
   ⑪ GUARANTEE
   ============================================================ */
.guar-sec { background: var(--c-bg-warm); padding: var(--py) 0; }
.guar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.guar-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-l);
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: var(--sh-s);
  transition: box-shadow .2s, transform .2s;
}
.guar-card:hover { box-shadow: var(--sh-m); transform: translateY(-3px); }
.guar-mark {
  width: 72px; height: 72px;        /* 56px → 72px に拡大 */
  background: var(--c-orange-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.guar-mark svg { width: 40px; height: 40px; } /* 28px → 40px */
.guar-ttl {
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--c-brown);
  margin-bottom: 10px;
  line-height: 1.45;
}
.guar-p { font-size: 1rem; color: var(--c-text-s); line-height: 1.75; }

/* ============================================================
   ⑫ FAQ
   ============================================================ */
.faq-sec { background: var(--c-white); padding: var(--py) 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item:first-child { border-top: 1px solid var(--c-border); }
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.55;
  transition: color .15s;
}
.faq-q::-webkit-details-marker { display: none; }
details[open] .faq-q { color: var(--c-orange); }
.faq-q-num {
  width: 34px; height: 34px;
  background: var(--c-orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
details[open] .faq-q-num { background: var(--c-orange-d); }
.faq-q-txt { flex: 1; }
.faq-q-arr {
  font-size: 1rem;
  color: var(--c-orange);
  flex-shrink: 0;
  margin-top: 4px;
  transition: transform .22s;
  line-height: 1;
}
details[open] .faq-q-arr { transform: rotate(180deg); }
.faq-a {
  display: flex;
  gap: 14px;
  padding: 0 4px 24px;
  align-items: flex-start;
}
.faq-a-num {
  width: 34px; height: 34px;
  background: var(--c-orange-bg);
  color: var(--c-orange-d);
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-a-txt {
  font-size: 1rem;
  color: var(--c-text-s);
  line-height: 1.9;
  padding-top: 6px;
}

/* ============================================================
   ⑬ FINAL CTA
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-d) 100%);
  padding: 80px 0 88px;
  text-align: center;
}
.cta-final__note {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.55);
  line-height: 1.9;
  margin-top: 22px;
}

/* ============================================================
   STICKY BAR (mobile)
   ============================================================ */
.yp-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border);
  padding: 10px 16px 14px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.rv.on { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  :root { --py: 56px; }

  /* hero */
  .hero { min-height: 520px; padding: 60px 0 56px; }
  .hero::after { width: 50%; opacity: .18; }
  .hero__stats { gap: 10px; }
  .hero__stat { min-width: 90px; padding: 10px 14px; }
  .hero__cta { max-width: 100%; }

  /* features */
  .feat-wrap { width: 100%; margin-left: 0; margin-right: 0; }
  .feat-row { grid-template-columns: 1fr; }
  /* reverse row: モバイルでは画像が上になるよう order をリセット */
  .feat-row .feat-body[style*="order:2"] { order: 2 !important; }
  .feat-row .feat-photo[style*="order:1"] { order: 1 !important; }
  .feat-photo { min-height: 220px; }
  .feat-body { padding: 28px 22px; }

  /* mid-cta */
  .mid-cta__inner { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* price */
  .price-inner { grid-template-columns: 1fr; gap: 24px; }

  /* class cards */
  .cls-card { grid-template-columns: 1fr; }
  .cls-photo { min-height: 180px; }

  /* trial */
  .trial-inner { grid-template-columns: 1fr; gap: 28px; }

  /* guarantee */
  .guar-grid { grid-template-columns: 1fr; gap: 12px; }

  /* schedule */
  .sched-grid { grid-template-columns: 1fr; }

  /* target */
  .target-grid { grid-template-columns: 1fr; }

  /* camp */
  .camp-inner { flex-direction: column; gap: 12px; }

  /* sticky */
  .yp-sticky { display: block; }
  .cta-final { padding-bottom: 100px; }
}

@media (max-width: 480px) {
  .hero__h1 { font-size: 1.75rem; }
  .btn { font-size: 1rem; padding: 17px 24px; }
  .sec-h2 { font-size: 1.375rem; }
}
