/* 刷新案 /v2 の上書き。元のSTUDIOの指定（v2.html の中の <style>）より優先させる */

:root {
  --v2-yellow: #ffde59; /* 「シリーズ累計○部突破」のバッジと同じ黄色 */
  --v2-navy: #14314a;   /* 元のLPの紺 */
  --v2-nav-h: 60px;     /* 上のメニューの高さ */
  --v2-font: var(--s-font-f1a2f042, 'Noto Sans JP', sans-serif);
  --v2-note-font: var(--s-font-f5a6d9ce, 'Noto Sans JP', sans-serif);
}
@media (max-width: 1024px) {
  :root { --v2-nav-h: 52px; }
}

/* 本文の書体：元の作りの英字用の書体（Raleway）は数字の一部が下にはみ出す昔風の形で、
   「20年」などが崩れて見えるため、日本語と同じ Noto Sans JP にそろえる（全ページ共通） */
html:root { --s-font-f1a2f042: 'Noto Sans JP', sans-serif !important; }

/* ページ内リンクで飛んだとき、上のメニューに隠れないように */
html { scroll-padding-top: calc(var(--v2-nav-h) + 20px); }

/* 画面のふちの枠（上・左・右の固定の帯）：紺 → 黄色 */
.sd[data-s-88103193-797b-4b9d-aeae-ef9605d0a094],
.sd[data-s-ea5c2f6e-cfe5-4750-bcf7-f85d5c5635cc],
.sd[data-s-7d55038e-b2d7-4ced-9804-54b8746bdc6d],
.sd[data-s-f221e161-7ddf-4754-bd99-2aafcc2b4c8c] {
  background: var(--v2-yellow) !important;
}

/* ---- 上のメニュー（左上にロゴ） ---- */
.v2-nav {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  font-family: var(--v2-font);
}
.v2-nav-inner {
  position: relative;
  max-width: 1180px;
  height: var(--v2-nav-h);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.v2-nav a { color: var(--v2-navy); text-decoration: none; }
.v2-nav-home { display: flex; align-items: center; height: 100%; }
.v2-nav-logo { display: block; height: 46px; width: auto; }
.v2-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.v2-nav-list a { font-size: 14px; font-weight: 500; white-space: nowrap; }
.v2-nav-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--v2-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.v2-nav-list .v2-nav-store {
  padding: 6px 20px;
  border: 1.5px solid var(--v2-navy);
  border-radius: 999px;
}
.v2-nav-list .v2-nav-store:hover { background: var(--v2-navy); color: #fff; text-decoration: none; }
.v2-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.v2-nav-btn { display: none; }

/* スマホ・タブレット：三本線のメニュー */
@media (max-width: 1024px) {
  .v2-nav { top: 0; left: 0; right: 0; }
  .v2-nav-inner { padding: 0 8px 0 12px; }
  .v2-nav-logo { height: 40px; }
  .v2-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .v2-nav-btn span { display: block; width: 22px; height: 2px; background: var(--v2-navy); transition: transform 0.2s, opacity 0.2s; }
  .v2-nav-toggle:checked + .v2-nav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .v2-nav-toggle:checked + .v2-nav-btn span:nth-child(2) { opacity: 0; }
  .v2-nav-toggle:checked + .v2-nav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .v2-nav-list {
    display: none;
    position: absolute;
    top: var(--v2-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .v2-nav-toggle:checked ~ .v2-nav-list { display: flex; }
  .v2-nav-list a,
  .v2-nav-list .v2-nav-store {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    border: 0;
    border-top: 1px solid #f0f0f0;
    border-radius: 0;
  }
}

/* ---- ファーストビュー ---- */
.sd[data-s-6b87169f-42e1-42f3-a0a7-e0890de8ef67] {
  background: #ffffff !important;
  padding-top: calc(var(--v2-nav-h) + 28px) !important;
}

/* 大見出し：「プロセス視覚化」に黄色のマーカー。行の途中で折り返さない（どの幅でも） */
header [data-s-4cee35fc-b281-4423-b0a2-a11db327161b] {
  display: block !important;
  white-space: nowrap;
}
header .v2-mark {
  background: linear-gradient(transparent 68%, var(--v2-yellow) 68%, var(--v2-yellow) 92%, transparent 92%);
}

/* 点数：普通の文で */
header .v2-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 18px 0 18px;
  font-family: var(--v2-font);
  color: #333;
  text-align: center;
  max-width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}
.v2-score-main {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--v2-navy);
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.v2-score-main strong {
  font-family: 'Rubik', var(--v2-font);
  font-size: 44px;
  font-weight: 700;
  margin: 0 4px 0 8px;
  letter-spacing: 0;
}

/* 21名の内訳：小さく、開け閉めできる。数字は桁をそろえて右寄せ */
.v2-score-data { margin-top: 6px; font-size: 12px; color: #555; }
.v2-score-data summary {
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  color: #888;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.v2-score-data summary::-webkit-details-marker { display: none; }
.v2-score-data summary::before { content: '＋ '; }
.v2-score-data[open] summary::before { content: '－ '; }
.v2-score-data table {
  border-collapse: collapse;
  margin: 10px auto 6px;
  font-size: 12px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
  width: 230px;
}
.v2-score-data th,
.v2-score-data td { padding: 2px 6px; white-space: nowrap; text-align: right; }
.v2-score-data th { font-weight: 500; color: #888; font-size: 11px; border-bottom: 1px solid #ddd; }
.v2-score-data td { border-bottom: 1px solid #f0f0f0; color: #444; }
.v2-score-data th:nth-child(1), .v2-score-data td:nth-child(1) { width: 70px; }
.v2-score-data th:nth-child(2), .v2-score-data td:nth-child(2) { width: 24px; padding: 2px 0; text-align: center; }
.v2-score-data th:nth-child(3), .v2-score-data td:nth-child(3) { width: 58px; }
.v2-score-data .v2-arrow { color: #bbb; }
.v2-score-data .v2-dash { color: #bbb; }
.v2-score-data .v2-num { color: var(--v2-navy); font-weight: 700; }
.v2-score-data .v2-mk { font-size: 10px; color: #999; margin-right: 1px; }
.v2-score-data .v2-fn { margin: 4px 0 0; font-size: 10px; color: #999; line-height: 1.7; }

/* 申込みボタン：元の紺のまま、文字は控えめに */
header [data-s-7cbc74c8-9d91-43ee-bc32-0f627fcba11a] {
  width: auto !important;
  height: auto !important;
  padding: 13px 40px !important;
  margin: 0 0 10px !important;
}
header [data-s-8361febd-c6be-4851-85ed-9701b89e4d23] {
  width: auto !important;
  height: auto !important;
  font-size: 15px !important;
  white-space: nowrap !important;
}

/* ボタンの下の注記2つ：同じ文字・同じ色で、続けて並べる */
.sd[data-s-e964b1d5-a720-47ee-ae04-8a72a0cb7ca8],
header .v2-coupon {
  font-family: var(--v2-note-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: var(--v2-navy) !important;
  opacity: 0.75;
  margin: 0 !important;
  height: auto !important;
}
header .v2-coupon { text-align: center; }
@media (max-width: 840px) {
  .sd[data-s-e964b1d5-a720-47ee-ae04-8a72a0cb7ca8],
  header .v2-coupon { font-size: 10px !important; }
}

/* 6,000部：丸いシールにして、商品画像の右上に重ねる */
.v2-hero-visual { position: relative; }
header [data-s-cd9b72ad-a5e3-4114-8c07-fc77434bca90] {
  position: absolute !important;
  z-index: 2;
  top: 0;
  right: 0;
  width: 112px !important;
  height: 112px !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
header [data-s-db5e0023-549d-40a5-b02d-9f692b916c51] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap;
  width: auto !important;
  color: var(--v2-navy) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em;
}
header [data-s-db5e0023-549d-40a5-b02d-9f692b916c51] b {
  font-family: 'Rubik', var(--v2-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

/* スマホ・タブレット（1024px以下）：1列。並び順は 小見出し→大見出し→画像（シール付き）→点数→ボタン→注記→動画 */
@media (max-width: 1024px) {
  /* 最初の画面の高さいっぱいに使う。空いた分は画像の上下と最後に配り、下の動画がのぞかないように */
  .v2-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: calc(100svh - var(--v2-nav-h) - 28px);
    padding-bottom: 8px;
    box-sizing: border-box;
  }
  .v2-hero-text { display: contents; }
  /* 中身は決まった間隔で並べ、全体を画面の上下まん中に置く（上の空きと下の空きを同じに） */
  header [data-s-e49adfe2-39ef-4399-a21e-03cf35d3bd44] { order: 1; margin-top: auto !important; }
  header [data-s-fd9b4f41-5436-47da-9345-be428ca5a475] { order: 2; }
  .v2-hero-visual {
    order: 3;
    display: block;
    width: min(88%, 620px);
    margin: 40px 0 0;
    padding: 0;
  }
  .v2-hero-visual picture { display: block; }
  header [data-s-136bf98a-c819-4caa-a731-cbc539bc4114] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
  header [data-s-cd9b72ad-a5e3-4114-8c07-fc77434bca90] {
    top: -20px;
    right: 6px;
    width: 92px !important;
    height: 92px !important;
  }
  header [data-s-db5e0023-549d-40a5-b02d-9f692b916c51] { font-size: 9px !important; }
  header [data-s-db5e0023-549d-40a5-b02d-9f692b916c51] b { font-size: 22px; }
  header .v2-score { order: 5; margin: 30px 0 38px; }
  header [data-s-7cbc74c8-9d91-43ee-bc32-0f627fcba11a] { order: 6; }
  header [data-s-e964b1d5-a720-47ee-ae04-8a72a0cb7ca8] { order: 7; }
  header .v2-coupon { order: 8; margin: 0 0 auto !important; }
  header [data-s-77423472-5420-4495-b360-1eeaa7e5a5df] { order: 9; margin-top: 48px !important; }
  header [data-s-4cee35fc-b281-4423-b0a2-a11db327161b] { text-align: center !important; }
}
@media (max-width: 390px) {
  .sd[data-s-6b87169f-42e1-42f3-a0a7-e0890de8ef67] { padding-top: calc(var(--v2-nav-h) + 18px) !important; }
  header [data-s-4cee35fc-b281-4423-b0a2-a11db327161b] { font-size: 23px !important; }
  .v2-hero { min-height: calc(100svh - var(--v2-nav-h) - 18px); }
  .v2-hero-visual { width: 90%; margin: 34px 0 0; }
  header [data-s-cd9b72ad-a5e3-4114-8c07-fc77434bca90] { top: -18px; right: 4px; width: 76px !important; height: 76px !important; }
  header [data-s-db5e0023-549d-40a5-b02d-9f692b916c51] { font-size: 8px !important; }
  header [data-s-db5e0023-549d-40a5-b02d-9f692b916c51] b { font-size: 18px; }
  header .v2-score { margin: 26px 0 32px; }
  .v2-score-main { font-size: 15px; }
  .v2-score-main strong { font-size: 36px; }
  header [data-s-7cbc74c8-9d91-43ee-bc32-0f627fcba11a] { padding: 11px 32px !important; }
  header [data-s-8361febd-c6be-4851-85ed-9701b89e4d23] { font-size: 13px !important; }
  header .v2-coupon { margin: 0 0 auto !important; }
}
@media (max-width: 340px) {
  header [data-s-4cee35fc-b281-4423-b0a2-a11db327161b] { font-size: 20px !important; }
}

/* PC（1025px以上）：左に文字、右に縦長の画像（右上に6,000部のシール） */
@media (min-width: 1025px) {
  .sd[data-s-6b87169f-42e1-42f3-a0a7-e0890de8ef67] { padding-top: calc(var(--v2-nav-h) + 44px) !important; }
  .v2-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    column-gap: 64px;
    align-items: center;
    width: 100%;
    max-width: 1080px;
    /* 最初の画面いっぱいに使い、下の「ユーザーの声」が半分だけのぞかないように */
    min-height: calc(100vh - var(--v2-nav-h) - 44px - 30px);
    margin: 0 auto;
    padding: 0 48px 24px;
    box-sizing: border-box;
  }
  .v2-hero-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
  /* 元の作りが幅ごとに並び順を変えているので、PCでも順番を固定する */
  .v2-hero-text > * { order: 0 !important; }
  .v2-hero-visual { display: block; min-width: 0; }
  .v2-hero-visual picture { display: block; }

  /* 小見出し：黄色の縦線 */
  header [data-s-e49adfe2-39ef-4399-a21e-03cf35d3bd44] {
    margin: 0 0 14px !important;
    padding-left: 12px !important;
    border-left: 4px solid var(--v2-yellow);
    text-align: left !important;
    width: auto !important;
    line-height: 1.3 !important;
    font-size: 18px !important;
  }
  /* 大見出しのまわりの箱：左寄せ */
  header [data-s-fd9b4f41-5436-47da-9345-be428ca5a475],
  header [data-s-1171248f-5ed9-4425-82d8-0dbba8c65312],
  header [data-s-5be5730b-0a98-4613-b4d1-1e30a79b4026],
  header [data-s-f18def4d-0fde-4f03-8052-60c9b6736033] {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  header [data-s-4cee35fc-b281-4423-b0a2-a11db327161b] {
    width: max-content !important;
    max-width: none !important;
    font-size: clamp(30px, 3.1vw, 44px) !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }

  header .v2-score { align-items: flex-start; text-align: left; margin: 48px 0 40px; padding: 0; }
  .v2-score-data table { margin-left: 0; }
  header [data-s-e964b1d5-a720-47ee-ae04-8a72a0cb7ca8],
  header .v2-coupon { text-align: left !important; width: auto !important; padding: 0 0 0 4px !important; }

  /* 右：縦長の画像。シールは右上に少しはみ出す */
  header [data-s-136bf98a-c819-4caa-a731-cbc539bc4114] {
    display: block;
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    margin: 0 !important;
  }
  header [data-s-cd9b72ad-a5e3-4114-8c07-fc77434bca90] { top: -18px; right: -30px; }

  /* 動画：下に中央そろえ */
  header [data-s-77423472-5420-4495-b360-1eeaa7e5a5df] { margin: 64px 0 0 !important; }
}

/* ---- ページ中ほど：ファーストビューから移した説明。「30日で身に付けるための教材が」と同じ文字 ---- */
.v2-moved {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0 40px;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}
.v2-lead {
  margin: 0 0 1.3em;
  max-width: 760px;
  color: #333;
  font-family: var(--s-font-5d83241c, 'Noto Sans JP', sans-serif);
  font-size: 16px; /* 「事例Ⅳを極めることが合格への確実な道しるべです。」と同じ大きさ */
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 390px) { .v2-lead { font-size: 14px; } }
@media (max-width: 320px) { .v2-lead { font-size: 11px; } }
/* 実績の細長い画像：元の画像が859px幅なので、拡大して粗く見えないよう小さめに */
.v2-moved > img {
  width: 100% !important;
  max-width: 560px !important;
  height: auto !important;
  margin: 0.4em 0 2em !important;
}

/* ---- 「２次試験で最も怖いこと」：冒頭だけ見せ、続きは開け閉め ---- */
.v2-more { width: 100%; }
.v2-more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  margin: 4px 0 56px;
}
.v2-more summary::-webkit-details-marker { display: none; }
.v2-more summary span {
  padding: 10px 28px;
  border: 1.5px solid var(--v2-navy);
  border-radius: 999px;
  color: var(--v2-navy);
  font-family: var(--v2-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.v2-more summary span::after { content: ' ▼'; font-size: 11px; }
.v2-more .v2-more-close { display: none; }
.v2-more .v2-more-close::after { content: ' ▲'; }
.v2-more[open] .v2-more-open { display: none; }
.v2-more[open] .v2-more-close { display: inline-block; }
.v2-more[open] summary { margin: 0 0 40px; }
.v2-more-body { display: flex; flex-direction: column; align-items: center; width: 100%; }
.v2-more-rest { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 16px; box-sizing: border-box; margin-bottom: 72px; }
/* 開いたときは本文の後ろに「閉じる」が来るように、summary を下へ */
.v2-more[open] { display: flex; flex-direction: column-reverse; }
.v2-more[open] summary { margin: 8px 0 56px; }
/* 閉じているときは、見せている冒頭のすぐ下にボタン */
[data-s-e0951acf-ebbf-4c60-a536-c5467d5d2b6d] { margin-bottom: 0 !important; padding-bottom: 24px !important; }

/* 3つ目の見出しの前の一言 */
.v2-kicker {
  margin: 0 0 10px;
  text-align: center;
  color: var(--v2-navy);
  font-family: var(--v2-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media (max-width: 390px) { .v2-kicker { font-size: 14px; } }

/* ---- ４つのスキルの箱・「４つのスキルに加えて」の箱：白地に紺の細い線 ---- */
.sd[data-s-5572e93d-41c1-4959-ace6-090b3e0d1dac],
.sd[data-s-3aa87c45-bdcb-4da0-a691-6b3816aaaaf4] {
  background: #fff !important;
  border: 1.5px solid var(--v2-navy);
  height: auto !important;
  padding: 36px 0 !important;
  box-sizing: border-box;
}
.sd[data-s-948d6249-b457-491a-bad5-2e61709b62ea],
.sd[data-s-957a5295-2cd8-4100-a715-46b16d4285a0],
.sd[data-s-97434d97-6057-4097-937a-f6b512ebfd6d],
.sd[data-s-4e0a8582-8675-4b17-8e52-a1f2fc366810] {
  color: var(--v2-navy) !important;
}
/* 「加えて」の箱は一回り小さく */
.sd[data-s-3aa87c45-bdcb-4da0-a691-6b3816aaaaf4] {
  gap: 24px !important;
  padding: 28px 0 !important;
  width: 30% !important;
  max-width: 30% !important;
}
.sd[data-s-97434d97-6057-4097-937a-f6b512ebfd6d],
.sd[data-s-4e0a8582-8675-4b17-8e52-a1f2fc366810] { font-size: 18px !important; }
.v2-box-label {
  margin: 0 0 -12px;
  padding: 3px 14px;
  background: var(--v2-yellow);
  border-radius: 999px;
  color: var(--v2-navy);
  font-family: var(--v2-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
@media (max-width: 840px) {
  .sd[data-s-3aa87c45-bdcb-4da0-a691-6b3816aaaaf4] { width: 44% !important; max-width: 44% !important; }
}
@media (max-width: 390px) {
  .sd[data-s-5572e93d-41c1-4959-ace6-090b3e0d1dac] { padding: 24px 0 !important; width: 62% !important; max-width: 62% !important; }
  .sd[data-s-3aa87c45-bdcb-4da0-a691-6b3816aaaaf4] { gap: 14px !important; padding: 18px 0 !important; width: 56% !important; max-width: 56% !important; }
  .sd[data-s-97434d97-6057-4097-937a-f6b512ebfd6d],
  .sd[data-s-4e0a8582-8675-4b17-8e52-a1f2fc366810] { font-size: 13px !important; }
  .v2-box-label { font-size: 10px; margin: 0 0 -6px; }
}

/* ---- 特徴：見出しはほかの見出し（「２次試験で最も怖いこと」）と同じ大きさ ---- */
.sd[data-s-70558173-7031-4e41-a870-f3c84df4b5ea] {
  font-size: 32px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.4 !important;
  color: #333 !important;
}
@media (max-width: 840px) {
  .sd[data-s-70558173-7031-4e41-a870-f3c84df4b5ea] { font-size: 20px !important; }
}

/* ---- 特徴：番号つきの2列リスト（01〜06）。スマホは1列 ---- */
.v2-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  width: 100%;
  max-width: 980px;
  margin: 48px auto 24px;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: var(--v2-font);
  text-align: left;
}
.v2-points li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid #e3e6ea;
}
.v2-points li:nth-child(-n+2) { border-top: 1px solid #e3e6ea; }
.v2-points-no {
  flex: none;
  width: 52px;
  font-family: 'Rubik', var(--v2-font);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--v2-yellow);
  -webkit-text-stroke: 1px #d4b000;
}
.v2-points-title {
  margin: 2px 0 6px;
  color: var(--v2-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}
.v2-points-text { margin: 0; color: #666; font-size: 14px; line-height: 1.7; }
/* 元の作りの span の文字色（黒っぽい灰色）を受けないように */
.v2-points-title span { color: inherit; }
/* 01 の「最大の特徴」の札：紺の地に黄色の文字。見出しの上に重ねて、行の高さはそろえたまま */
.v2-points li > div { position: relative; }
.v2-points-tag {
  position: absolute;
  top: -19px;
  left: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--v2-navy);
  color: var(--v2-yellow) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
@media (max-width: 840px) {
  .v2-points-tag { top: -16px; font-size: 10px; padding: 1px 9px; }
}
/* PC：2列とも中身の幅にして、全体をまん中に置く（右に空きが残って左に寄って見えないように） */
@media (min-width: 841px) {
  .v2-points {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    column-gap: 64px;
    max-width: none;
  }
}
@media (max-width: 840px) {
  .v2-points { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-top: 36px; padding: 0 20px; }
  .v2-points li:nth-child(2) { border-top: 0; }
  .v2-points li { gap: 14px; padding: 18px 2px; }
  .v2-points-no { width: 42px; font-size: 30px; }
  .v2-points-title { font-size: 15px; }
  .v2-points-text { font-size: 13px; }
}
@media (max-width: 390px) {
  .v2-points-no { width: 36px; font-size: 26px; }
  .v2-points-title { font-size: 14px; }
  .v2-points-text { font-size: 12px; }
}

/* ---- 一番下のボタン：クーポンのすぐ下に、大きく ---- */
.v2-bottom-cta { display: flex; justify-content: center; width: 100%; margin: 28px 0 48px; }
.v2-bottom-cta .sd[data-s-03927aba-ecd3-4911-8e7c-349c2e942efc] {
  position: static !important;
  width: 360px !important;
  max-width: 88% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 20px 24px !important;
  border-radius: 999px !important;
  box-sizing: border-box;
  opacity: 1 !important;
  transform: none !important;
}
.v2-bottom-cta .sd[data-s-f089da7e-2731-4f19-8d36-121ed381d306] {
  width: auto !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
@media (max-width: 390px) {
  .v2-bottom-cta .sd[data-s-03927aba-ecd3-4911-8e7c-349c2e942efc] { padding: 16px 20px !important; }
  .v2-bottom-cta .sd[data-s-f089da7e-2731-4f19-8d36-121ed381d306] { font-size: 16px !important; }
}

/* ---- その7 ---- */
/* 中ほどの説明：言葉の切れ目でだけ折り返す */
.v2-ib { display: inline-block; }
.v2-lead { line-height: 1.75; }
@media (max-width: 600px) { .v2-lead { font-size: 15px; letter-spacing: 0.02em; } }
@media (max-width: 390px) { .v2-lead { font-size: 14px; } }
@media (max-width: 340px) { .v2-lead { font-size: 12px; } }
.v2-moved { margin: 8px 0 48px; }

/* 「道しるべです。」の文とデータ①の間 */
.sd[data-s-bc694d2c-8bfa-4251-b773-963ac95b5d95] { margin-bottom: 64px !important; }
@media (max-width: 840px) { .sd[data-s-bc694d2c-8bfa-4251-b773-963ac95b5d95] { margin-bottom: 44px !important; } }


/* スマホ：一番下のボタンはトップのボタンと同じ大きさ */
@media (max-width: 1024px) {
  .v2-bottom-cta .sd[data-s-03927aba-ecd3-4911-8e7c-349c2e942efc] { width: auto !important; padding: 13px 40px !important; }
  .v2-bottom-cta .sd[data-s-f089da7e-2731-4f19-8d36-121ed381d306] { font-size: 15px !important; }
}
@media (max-width: 390px) {
  .v2-bottom-cta .sd[data-s-03927aba-ecd3-4911-8e7c-349c2e942efc] { padding: 11px 32px !important; }
  .v2-bottom-cta .sd[data-s-f089da7e-2731-4f19-8d36-121ed381d306] { font-size: 13px !important; }
}

/* ---- 軽い動き（画面に入ったら1回だけ） ---- */
/* データ①の＋10.4：手書き風の赤い丸を描く */
.v2-circled { position: relative; overflow: visible !important; }
.v2-circle {
  position: absolute;
  /* 右端の箱なので、横は箱の中に収める（外に出ると表の枠で切れる） */
  left: 3%;
  top: -14%;
  width: 94%;
  height: 128%;
  overflow: visible;
  pointer-events: none;
}
.v2-circle path {
  fill: none;
  stroke: #e53935;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.v2-js .v2-circled:not(.v2-in) .v2-circle path { stroke-dashoffset: 1; }
.v2-circled.v2-in .v2-circle path { animation: v2-draw 0.9s ease-out 0.25s both; }

/* 93％：ふわっと出る */
.v2-js .v2-pop:not(.v2-in) { opacity: 0; }
.v2-pop.v2-in { animation: v2-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* 21.5点UP：0から21.5までくるくる増える（数はスクリプトで。幅は最後の数字に合わせて固定し、横の文字が動かないように） */
.v2-count { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

@keyframes v2-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes v2-pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .v2-js .v2-pop:not(.v2-in) { opacity: 1; }
  .v2-pop.v2-in, .v2-circled.v2-in .v2-circle path { animation: none; }
  .v2-js .v2-circled:not(.v2-in) .v2-circle path { stroke-dashoffset: 0; }
}

/* 一番下のボタンの下の画像（燦ちゃん）。横長の1枚絵 */
.v2-closing { width: 100%; max-width: 760px; margin: 8px auto 56px; padding: 0 16px; box-sizing: border-box; }
.v2-closing img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 840px) { .v2-closing { margin-bottom: 40px; } }

/* YouTube の動画：16:9 にぴったり合わせ、白い背景との境目に薄い枠と影を付ける */
.frame:has(> iframe[src*="youtube.com"]) {
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(20, 49, 74, 0.18), 0 8px 24px rgba(20, 49, 74, 0.12);
  background: #e9edf1 !important;  /* 読み込み中に真っ黒な箱にならないよう薄い灰色 */
}
:has(> .frame > iframe[src*="youtube.com"]) { height: auto !important; }

/* ================================================================
   事例Ⅱ・Ⅲなど（/2MG-v2・/3MG-v2）の共通の見た目。事例Ⅳの刷新案にそろえる
   元の部品には tools/lp-v2-classes.mjs で「v2l-」の目印を付けてある
   ================================================================ */

/* 画面のふちの枠（上・左・右の固定の帯）：黄色 */
.sd.v2l-bar { background: var(--v2-yellow) !important; }

/* ---- トップ ---- */
.sd.v2l-header {
  display: block !important;
  background: #ffffff !important;
  padding: calc(var(--v2-nav-h) + 28px) 0 36px !important;
  height: auto !important;
}
.v2l-sub,
.v2l-title,
.v2l-tagline,
.v2l-note { margin: 0; font-family: 'Roboto Condensed', var(--v2-font); }
.v2l-sub { font-size: 14px; font-weight: 700; color: #333; line-height: 1.4; }
.v2l-title { color: var(--v2-navy); font-weight: 600; text-align: center; }
.v2l-catch { display: block; font-size: 16px; line-height: 1.6; letter-spacing: 0.04em; }
.v2l-name { display: block; font-size: 30px; line-height: 1.3; white-space: nowrap; }
.v2l-title .v2-mark {
  background: linear-gradient(transparent 62%, var(--v2-yellow) 62%, var(--v2-yellow) 92%, transparent 92%);
}
.v2l-tagline { color: var(--v2-navy); font-size: 18px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; }
/* 一言の下の小さな補足（知識＆記述・模範解答） */
.v2l-tagline-sub { display: block; margin-top: 8px; color: #555; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
@media (min-width: 1025px) { .v2l-tagline-sub { font-size: 15px; } }
/* スマホ・タブレットで横長の画像を使うページ（知識＆記述）：画像を広めに */
@media (max-width: 1024px) {
  .v2l-header .v2-hero-visual.v2l-visual-wide { width: min(96%, 640px); }
  .v2l-visual-wide .v2l-seal { top: -18px; right: 0; }
}

/* トップのボタン：事例Ⅳと同じ紺の丸いボタン */
header .sd.v2l-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important; /* 元の作りの「幅の35%まで」を外す（文字がはみ出すため） */
  height: auto !important;
  padding: 13px 40px !important;
  margin: 0 0 10px !important;
  background: var(--v2-navy) !important;
  border-radius: 32px !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2) !important;
}
header .sd.v2l-btn-label {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* ボタンの下の注記2つ */
.v2l-note { font-family: var(--v2-note-font); font-size: 10px; line-height: 1.7; color: var(--v2-navy); opacity: 0.75; text-align: center; }

/* 6,000部：丸いシール（事例Ⅳと同じ） */
.v2l-seal {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--v2-yellow);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  color: var(--v2-navy);
  font-family: 'Roboto Condensed', var(--v2-font);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.v2l-seal b { font-family: 'Rubik', var(--v2-font); font-weight: 700; line-height: 1.05; letter-spacing: 0; }
.v2l-header .v2-hero-visual img { display: block; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 !important; }

/* スマホ・タブレット：1列。小見出し→見出し→画像（シール付き）→一言→ボタン→注記。全体を画面の上下まん中に */
@media (max-width: 1024px) {
  .v2l-sub { order: 1; margin-top: auto; }
  .v2l-title { order: 2; margin-top: 8px; }
  .v2l-header .v2-hero-visual { order: 3; width: min(78%, 400px); margin: 36px 0 0; }
  .v2l-tagline { order: 5; margin: 30px 0 30px; text-align: center; }
  header .sd.v2l-btn { order: 6; }
  .v2l-note { order: 7; }
  .v2l-note-last { order: 8; margin-bottom: auto; }
  .v2l-seal { top: -16px; right: -26px; width: 92px; height: 92px; font-size: 9px; }
  .v2l-seal b { font-size: 22px; }
  /* 縦型の画像のページ（事例Ⅱ・Ⅲ・模範解答）：画像を少し小さくし、空きは上を少なめに（上2：下3）。2026-11-20 本人指示 */
  .v2l-header .v2-hero-visual:not(.v2l-visual-wide) { width: min(62%, 320px); }
  .v2l-header .v2-hero:not(:has(.v2l-visual-wide))::before { content: ''; order: 0; flex: 2 1 0; }
  .v2l-header .v2-hero:not(:has(.v2l-visual-wide))::after { content: ''; order: 99; flex: 3 1 0; }
  .v2l-header .v2-hero:not(:has(.v2l-visual-wide)) .v2l-sub { margin-top: 0; }
  .v2l-header .v2-hero:not(:has(.v2l-visual-wide)) .v2l-note-last { margin-bottom: 0; }
}
@media (max-width: 390px) {
  .sd.v2l-header { padding-top: calc(var(--v2-nav-h) + 18px) !important; }
  .v2l-catch { font-size: 15px; }
  .v2l-name { font-size: 27px; }
  .v2l-tagline { font-size: 16px; margin: 26px 0 26px; }
  .v2l-header .v2-hero-visual { width: 76%; margin-top: 30px; }
  .v2l-header .v2-hero-visual:not(.v2l-visual-wide) { width: 62%; }
  .v2l-seal { top: -14px; right: -18px; width: 76px; height: 76px; font-size: 8px; }
  .v2l-seal b { font-size: 18px; }
  header .sd.v2l-btn { padding: 11px 32px !important; }
  header .sd.v2l-btn-label { font-size: 13px !important; }
}
@media (max-width: 340px) {
  .v2l-catch { font-size: 13px; }
  .v2l-name { font-size: 23px; }
}

/* PC：左に文字、右に縦長の画像（右上にシール） */
@media (min-width: 1025px) {
  .sd.v2l-header { padding-top: calc(var(--v2-nav-h) + 44px) !important; padding-bottom: 60px !important; }
  .v2l-header .v2-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .v2l-sub { margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--v2-yellow); font-size: 18px; line-height: 1.3; }
  .v2l-title { text-align: left; }
  .v2l-catch { font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 4px; }
  .v2l-name { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.3; }
  .v2l-tagline { margin: 40px 0 40px; font-size: 20px; }
  .v2l-note { text-align: left; font-size: 12px; padding-left: 4px; }
  .v2l-seal { top: -18px; right: -30px; width: 112px; height: 112px; font-size: 11px; }
  .v2l-seal b { font-size: 28px; }
  .v2l-header .v2-hero-visual img { max-width: 380px !important; }
}

/* ---- 冒頭の文章：閉じているときは、冒頭のすぐ下に「続きを読む」 ---- */
.sd.v2l-story { margin-bottom: 0 !important; padding-bottom: 16px !important; height: auto !important; }
/* 内側の箱の下の余白と重なって、文とボタンの間が空きすぎるので、内側は0に。
   PCでは元の作りが箱の高さを決め打ちしている（文を短くしたので下が大きく空く）ため、高さは中身に合わせる */
.sd.v2l-story > .sd { padding-bottom: 0 !important; margin-bottom: 0 !important; height: auto !important; }
.sd.v2l-story > .sd > p:last-child { margin-bottom: 0 !important; }
.v2l-story ~ .v2-more .v2-more-body > .sd { margin-top: 0 !important; }
/* 開いた後の文を、上の冒頭の文と同じ幅・同じ位置に */
.v2l-story ~ .v2-more .v2-more-rest { padding: 0; }

/* ---- 背景：灰色の地を白に（区切りは見出しと余白で） ---- */
.sd.v2l-white { background-color: #ffffff !important; }

/* 文の中の大事な数行：白地に紺の細い線の箱（事例Ⅳの4つのスキルの箱と同じ線） */
.v2l-reasons {
  display: block;
  margin: 4px 0 8px;
  padding: 22px 26px;
  border: 1.5px solid var(--v2-navy);
  background: #fff;
  color: var(--v2-navy);
  font-weight: 700;
  line-height: 1.9;
}
@media (max-width: 390px) { .v2l-reasons { padding: 16px 16px; } }
/* 元の作りでは文の部品が横並び（flex）なので、箱が横に並ばないよう普通の段落に戻す */
p:has(> .v2l-reasons) { display: block !important; }

/* ---- 一番下のボタン：クーポンのすぐ下に、大きく（事例Ⅳと同じ） ---- */
.v2-bottom-cta .sd.v2l-bottom-btn {
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 360px !important;
  max-width: 88% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 20px 24px !important;
  border-radius: 999px !important;
  box-sizing: border-box;
  background: var(--v2-navy) !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2) !important;
  opacity: 1 !important;
  transform: none !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.v2-bottom-cta .sd.v2l-bottom-label {
  width: auto !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .v2-bottom-cta .sd.v2l-bottom-btn { width: auto !important; padding: 13px 40px !important; font-size: 15px !important; }
}
@media (max-width: 390px) {
  .v2-bottom-cta .sd.v2l-bottom-btn { padding: 11px 32px !important; font-size: 13px !important; }
}
