@charset "UTF-8";
/* =========================================================
   Atleta 料金ページ
   Figma: Atletaデザインリニューアル / 料金プラン_PC (16689:8673)

   クラスは lp- プレフィックス。atleta.css とは同時に読み込まれないが、
   ブロック名は price ページ固有のものを使い衝突を避けている。
   ========================================================= */

:root {
  --red: #d80c18;
  --red-head: #cb2b31;   /* プランカードのヘッダー帯 */
  --red-band: #b5091b;
  --red-deep: #af1e2d;
  --navy: #101828;
  --navy-icon: #21324b;
  --ink: #333333;
  --gray: #4a5565;
  --gray-light: #6a7282;
  --muted: #666666;
  --mute-light: #999999;
  --disabled: #99a1af;
  --bg-gray: #f9fafb;
  --bg-pink: #fff3f3;
  --bg-pink-tag: #fdeef1;
  --bg-cream: #fffce6;
  --highlight: #fff9ce;
  --line: #e3e3e3;
  --line-soft: #f3f4f6;
  --grad: linear-gradient(90deg, #ff6900 0%, #e7000b 100%);
  --content: 918px;
  --header-h: 80px;      /* 固定ヘッダー #renewal_2026_header の高さ */
  --pagenav-h: 57px;     /* pagenav の高さ（リンク56px + border 1px） */
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ---------------------------------------------------------------
   ベース。既存テーマのヘッダー・フッターに影響しないよう
   .lp-price 配下だけにスコープしている
   --------------------------------------------------------------- */
.lp-price,
.lp-price *,
.lp-price *::before,
.lp-price *::after { box-sizing: border-box; }

.lp-price {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* リセットは :where() で詳細度0にする（コンポーネント側の指定を勝たせるため） */
:where(.lp-price img) { max-width: 100%; height: auto; vertical-align: middle; }
:where(.lp-price a) { color: inherit; text-decoration: none; }
:where(.lp-price ul),
:where(.lp-price ol) { margin: 0; padding: 0; list-style: none; }
:where(.lp-price button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(.lp-price h1),
:where(.lp-price h2),
:where(.lp-price h3),
:where(.lp-price h4),
:where(.lp-price p) { margin: 0; }
:where(.lp-price h2),
:where(.lp-price h3),
:where(.lp-price h4),
h2.lp-section__title { font-weight: 700; }

/* 既存テーマの a { color: rgba(0,0,0,.87) } を打ち消す */
.lp-price a:not([class]) { color: inherit; }
.lp-price .sp-br { display: none; }
span.only_sp { display: none; }

.lp-container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
//  padding: 0 24px;
}

.lp-section { padding: 96px 0; }
.lp-section--gray { background: var(--bg-gray); }

.lp-section__head { text-align: center; }
.lp-section__title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--navy);
}
.lp-section__lead {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
}
.lp-note {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--mute-light);
  text-align: center;
}
.lp-note--left { text-align: left; }

/* ---------- buttons ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity .2s, box-shadow .2s;
}
.lp-btn:hover { opacity: .8; }
.lp-btn--grad { background: var(--grad); color: #fff; }
.lp-btn--outline { background: #fff; color: var(--red); border: 1px solid var(--red); }
/* base.css の a:hover{color:rgba(0,0,0,.54)} に負けないよう、hover時も元の文字色を維持 */
a.lp-btn--grad:hover, a.lp-btn--grad:focus { color: #fff; }
a.lp-btn--outline:hover, a.lp-btn--outline:focus { color: var(--red); }
.lp-btn__icon { flex: 0 0 auto; width: 20px; height: 20px; display: block; }
.lp-btn__icon svg { width: 100%; height: 100%; display: block; }

/* テキストリンク（→付き） */
.lp-textLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  transition: opacity .2s;
}
.lp-textLink:hover { opacity: .7; }
.lp-textLink svg { width: 8px; height: 14px; flex: 0 0 auto; }

/* 「今後提供予定」バッジ */
.lp-soonBadge {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  background: #eeeeee;
  color: var(--gray-light);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

/* =========================================================
   breadcrumb
   ========================================================= */
.lp-crumb { padding: 24px 0 0; }
.lp-crumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray-light);
}
.lp-crumb__list a { color: var(--gray-light); }
.lp-crumb__list a:hover { text-decoration: underline; }
.lp-crumb__sep { width: 14px; height: 14px; color: #cbd0d8; flex: 0 0 auto; }
.lp-crumb__current { color: var(--navy); font-weight: 700; }

/* =========================================================
   hero
   ========================================================= */
.lp-priceHero { padding: 64px 0; background: var(--bg-pink); }
.lp-priceHero__row {
  display: flex;
  align-items: center;
  gap: 48px;
}
.lp-priceHero__body { flex: 1 1 auto; min-width: 0; }
.lp-priceHero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 58px;
  color: var(--navy);
}
/* 見出しの「3」だけ大きく見せる。もとは HTML のインライン style だったが、
   SP では等倍に戻すためクラスに出している（PC の値は変更していない） */
.lp-priceHero__big { font-size: 52px; }
.lp-priceHero__lead {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--gray);
}
.lp-priceHero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.lp-priceHero__illust { width: 300px; flex: 0 0 auto; }

/* =========================================================
   pagenav（ページ内アンカー）
   ========================================================= */
/* base.css の body { overflow-x: hidden } があると body がスクロールコンテナに
   なり、sticky が効かなくなる。clip はスクロールコンテナを作らないので
   はみ出し防止の意図は保ったまま sticky を動かせる（このページのみ上書き） */
body:has(.lp-price) { overflow-x: clip; }

/* スクロールしても固定ヘッダーのすぐ下に貼り付いて表示し続ける */
.lp-pagenav {
  position: sticky;
  top: var(--header-h);
  z-index: 100;          /* ヘッダー（9999）より下、本文より上 */
  background: #fff;
  border-bottom: 1px solid var(--line);
}

/* アンカー遷移時に固定ヘッダー＋pagenav の下に隠れないようにする */
.lp-price [id] {
  scroll-margin-top: calc(var(--header-h) + var(--pagenav-h));
}

/* ヘッダーは 1024px 以下で 72px になるため追従位置を合わせる */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
}
/* SP は pagenav のリンク高さが 48px */
@media (max-width: 600px) {
  :root { --pagenav-h: 49px; }
}
.lp-pagenav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
}
.lp-pagenav__list a {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.lp-pagenav__list a:hover { color: var(--red); border-bottom-color: var(--red); }

/* =========================================================
   料金プラン
   ========================================================= */
.lp-planCommon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 40px auto 0;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--highlight);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
.lp-planCommon svg { width: 20px; height: 20px; color: var(--red); flex: 0 0 auto; }
.lp-planCommon__wrap { text-align: center; }

/* 3枚のカードで行位置を揃えるため、親グリッドの行をカードが subgrid で共有する。
   行構成: 1)head 2)unit 3〜5)specs の3行 = 計5行
   ロイヤルだけにあるバッジや「税込」補助行の有無で行がずれるのを防ぐ。 */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, auto);
  column-gap: 24px;
  row-gap: 0;
  margin-top: 32px;
}
.lp-plan {
  position: relative;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  padding: 0 0 28px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
/* プランごとの色。ヘッダー帯の背景と枠線の色が連動する */
.lp-plan--starter { border-color: var(--navy-icon); }
.lp-plan--starter .lp-plan__head { background: var(--navy-icon); }
.lp-plan--basic { border-color: var(--red-head); }
.lp-plan--basic .lp-plan__head { background: var(--red-head); }
.lp-plan--royal { border-color: var(--red); }
.lp-plan--royal .lp-plan__head { background: var(--red-head); }

/* リボンはカード上辺に重ねる。フローから外すことで
   ロイヤルカードだけ見出し位置が下がるのも防いでいる。 */
.lp-plan__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border: 2px solid #fff;
  border-radius: 34px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}
/* プラン名はカード全幅の帯。カード上部の角丸に合わせる（枠線2px分を引く） */
.lp-plan__head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  border-radius: 14px 14px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.lp-plan__unit { margin-top: 24px; padding: 0 24px; text-align: center; }
.lp-plan__unitLabel { font-size: 13px; font-weight: 700; line-height: 18px; color: var(--muted); }
.lp-plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-top: 2px;
}
/* 単価は基本は黒。最安のロイヤルプランのみ赤で強調する */
.lp-plan__priceNum { font-size: 44px; font-weight: 900; line-height: 48px; color: var(--navy); }
.lp-plan__priceYen { font-size: 20px; font-weight: 700; line-height: 20px; color: var(--navy); }
.lp-plan--royal .lp-plan__priceNum,
.lp-plan--royal .lp-plan__priceYen { color: var(--red); }
.lp-plan__tax { margin-top: 6px; font-size: 12px; font-weight: 400; line-height: 18px; color: var(--mute-light); }
.lp-plan__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bg-cream);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

/* specs 自体も subgrid にして、3行それぞれをカード間で揃える */
.lp-plan__specs {
  width: 242px;
  max-width: calc(100% - 48px);
  margin: 4px auto 0;
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
}
.lp-plan__spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lp-plan__spec:last-child { border-bottom: 0; }

/* subgrid 非対応ブラウザ向けのフォールバック。
   Figma の行高（72px）を最低値にして、おおよその行揃えを保つ。 */
@supports not (grid-template-rows: subgrid) {
  .lp-plans { grid-template-rows: none; row-gap: 0; align-items: stretch; }
  .lp-plan { display: flex; flex-direction: column; }
  .lp-plan__specs { display: block; margin-top: auto; }
  .lp-plan__spec { min-height: 72px; }
  .lp-plan__unit { min-height: 202px; }
}
.lp-plan__specLabel {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: var(--muted);
  white-space: pre-line;
}
.lp-plan__specValue { text-align: right; flex: 0 0 auto; }
.lp-plan__specNum {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1px;
}
.lp-plan__specNum b { font-size: 20px; font-weight: 900; line-height: 24px; color: var(--navy); }
.lp-plan__specNum span { font-size: 13px; font-weight: 700; line-height: 24px; color: var(--navy); }
.lp-plan__specNone { font-size: 16px; font-weight: 900; line-height: 24px; color: var(--disabled); }
.lp-plan__specSub { display: block; font-size: 10px; font-weight: 400; line-height: 24px; color: var(--mute-light); white-space: nowrap; }

/* =========================================================
   ご利用料金例
   ========================================================= */
.lp-exampleCard {
  margin-top: 40px;
  padding: 32px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.lp-exampleCard__scroll { padding: 0 32px; overflow-x: auto; }
.lp-exampleTable {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}
.lp-exampleTable th {
  padding: 16px 20px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  color: var(--gray-light);
  white-space: nowrap;
}
.lp-exampleTable td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.lp-exampleTable tr:last-child td { border-bottom: 0; }
.lp-exampleTable__people {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.lp-exampleTable__people b { font-size: 20px; font-weight: 900; line-height: 28px; color: var(--navy); }
.lp-exampleTable__people span { font-size: 13px; font-weight: 700; line-height: 20px; color: var(--navy); }
.lp-planTag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-planTag b { font-size: 13px; font-weight: 700; line-height: 20px; }
.lp-planTag span { font-size: 11px; font-weight: 500; line-height: 20px; }
.lp-planTag--starter { background: #eef0f2; color: var(--gray-light); }
.lp-planTag--basic { background: var(--bg-pink-tag); color: var(--red-deep); }
.lp-planTag--royal { background: var(--bg-pink-tag); color: var(--red); }
.lp-exampleTable__fee {
  display: flex;
  align-items: baseline;
  gap: 1px;
  white-space: nowrap;
}
.lp-exampleTable__fee b { font-size: 24px; font-weight: 900; line-height: 30px; color: var(--red); }
.lp-exampleTable__fee span { font-size: 13px; font-weight: 700; line-height: 20px; color: var(--red); }
.lp-exampleTable__tax {
  display: flex;
  align-items: baseline;
  gap: 1px;
  white-space: nowrap;
  color: var(--gray-light);
}
.lp-exampleTable__tax b { font-size: 16px; font-weight: 700; line-height: 24px; }
.lp-exampleTable__tax span { font-size: 12px; font-weight: 500; line-height: 20px; }
/* ---------- 見積もり計算器（表の最終行） ---------- */
.lp-calc td {
  background: var(--bg-pink);
  border-bottom: 0;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.lp-calc td:first-child { border-radius: 8px 0 0 8px; }
.lp-calc td:last-child { border-radius: 0 8px 8px 0; }
.lp-calc__label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  color: var(--red-deep);
}
.lp-calc__field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-calc__input,
.lp-calc__select {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  transition: border-color .2s, box-shadow .2s;
}
.lp-calc__input:focus,
.lp-calc__select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 12, 24, .12);
}
.lp-calc__input { width: 92px; text-align: right; }
.lp-calc__select { width: 100%; max-width: 160px; cursor: pointer; }
.lp-calc__fieldUnit { font-size: 13px; font-weight: 700; line-height: 20px; color: var(--navy); }
.lp-calc__over {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  color: var(--gray-light);
}
/* 「月額料金」ラベルは SP 専用（PC は表の見出しが担う） */
.lp-calc__resultLabel { display: none; }

/* 金額を入力欄の高さに合わせる（ラベル16px + margin 6px 分下げる） */
.lp-calc .lp-exampleTable__fee,
.lp-calc .lp-exampleTable__tax { margin-top: 24px; }

/* 未入力時は単位の「円」を隠して「—」だけ見せる */
.lp-exampleTable__fee.is-empty span,
.lp-exampleTable__tax.is-empty span { display: none; }
.lp-exampleTable__fee.is-empty b { color: var(--disabled); }
.lp-exampleTable__tax.is-empty b { color: var(--disabled); }

.lp-exampleCard__note { padding: 16px 32px 0; }

.lp-quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 28px 26px 4px;
  border-top: 1px solid var(--line);
}
.lp-quote__title { font-size: 20px; font-weight: 700; line-height: 30px; color: var(--navy); }
.lp-quote__text { margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 22px; color: var(--gray); }
.lp-quote__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* =========================================================
   オプション
   ========================================================= */
.lp-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.lp-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}
/* カード上部の全幅イメージ（左右のパディングを打ち消して端まで） */
.lp-opt__img {
  display: block;
  width: calc(100% + 48px);
  margin: 0 -24px;
  aspect-ratio: 302 / 170;
  flex: 0 0 auto;
}
.lp-opt__img img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
/* ロゴ画像はトリミングせず全体を表示する */
.lp-opt__img--contain img {
  object-fit: contain;
  background: #fff;
}
/* タイトルは1行のカードと2行のカードが混在するため、Figma と同じ
   2行ぶん（26px × 2）の高さを常に確保する。
   これで .lp-opt__text の開始位置が3枚のカードでそろう。 */
.lp-opt__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  color: var(--navy);
}
.lp-opt__text { margin-top: 24px; font-size: 13px; font-weight: 400; line-height: 22px; color: var(--gray); }
.lp-opt__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lp-opt__priceNum { font-size: 26px; font-weight: 900; line-height: 32px; color: var(--red); }
.lp-opt__priceYen { font-size: 16px; font-weight: 700; line-height: 24px; color: var(--red); }
.lp-opt__priceTax { padding-left: 5px; font-size: 11px; font-weight: 400; line-height: 20px; color: var(--muted); }
/* 説明文の行数が違ってもプランの価格行を下端で揃える */
.lp-opt__spacer { flex: 1 1 auto; min-height: 24px; }

.lp-freeHead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.lp-freeHead__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 28px;
  white-space: nowrap;
}
.lp-freeHead__title { font-size: 20px; font-weight: 700; line-height: 28px; color: var(--navy); }

.lp-frees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.lp-free {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  border-radius: 12px;
  background: var(--bg-gray);
  text-align: center;
}
.lp-free__title { font-size: 16px; font-weight: 700; line-height: 26px; color: var(--navy); }
.lp-free__text { margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 20px; color: var(--gray-light); }

/* =========================================================
   お支払い方法
   ========================================================= */
.lp-pays {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  align-items: stretch;
  margin-left: 108px;
  margin-right: 108px;
}
.lp-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.lp-pay--primary { border-color: var(--red); }
.lp-pay__ribbon {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}
.lp-pay__icon { color: var(--navy-icon); }
.lp-pay__icon svg { width: 32px; height: 32px; display: block; }
.lp-pay__title { margin-top: 14px; font-size: 16px; font-weight: 700; line-height: 24px; color: var(--navy); }
.lp-pay__text { margin-top: 8px; font-size: 13px; font-weight: 400; line-height: 22px; color: var(--gray); }
.lp-pay__link { margin-top: auto; padding-top: 10px; font-size: 12px; }
.lp-pay__link .lp-textLink { font-size: 12px; line-height: 20px; }
.lp-pay__link .lp-textLink svg { width: 6px; height: 11px; }

.lp-payNotes { margin-top: 20px; text-align: center; }
.lp-payNotes li {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gray-light);
}
.lp-payNotes li + li { margin-top: 4px; }

/* 横並びの案内バー（お支払い方法の変更 / 学校法人向け） */
.lp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 20px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.lp-bar--pink { border-color: transparent; background: var(--bg-pink); }
.lp-bar__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--navy);
}
.lp-bar--pink .lp-bar__title { font-size: 15px; color: var(--red-deep); }
.lp-bar__text { margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 21px; color: var(--gray-light); }
.lp-bar--pink .lp-bar__text { font-size: 12px; line-height: 20px; color: var(--gray); }
.lp-bar__action { flex: 0 0 auto; }
.lp-btn--dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity .2s;
}
.lp-btn--dark:hover { opacity: .8; }
a.lp-btn--dark:hover, a.lp-btn--dark:focus { color: #fff; }
.lp-btn--dark svg { width: 8px; height: 14px; flex: 0 0 auto; }

/* ご請求について */
.lp-billing { margin: 64px 32px 0px; }
.lp-billing__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-billing__bar {
  width: 5px;
  height: 24px;
  border-radius: 1px;
  background: var(--red);
  flex: 0 0 auto;
}
.lp-billing__title { font-size: 22px; font-weight: 700; line-height: 32px; color: var(--navy); }
.lp-billing__list { margin-top: 20px; }
.lp-billing__item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
}
.lp-billing__item + .lp-billing__item { border-top: 1px solid var(--line); }
.lp-billing__num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}
.lp-billing__itemTitle { font-size: 15px; font-weight: 700; line-height: 24px; color: var(--navy); }
.lp-billing__itemText { margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 22px; color: var(--gray); }
.lp-billing__accent { color: #d80c18; }

/* =========================================================
   プラン変更・契約
   ========================================================= */
.lp-changes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.lp-change { padding: 24px 28px; }
.lp-change + .lp-change { border-left: 1px solid var(--line); }
.lp-change__title { font-size: 17px; font-weight: 700; line-height: 26px; color: var(--navy); }
.lp-change__text { margin-top: 10px; font-size: 13px; font-weight: 400; line-height: 22px; color: var(--gray); }

.lp-termHead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.lp-termHead svg { width: 22px; height: 22px; color: var(--red); flex: 0 0 auto; }
.lp-termHead__title { font-size: 20px; font-weight: 700; line-height: 28px; color: var(--navy); }

.lp-terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.lp-term {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.lp-term--accent { border-color: var(--red); background: var(--bg-pink); }
.lp-term__name { font-size: 14px; font-weight: 700; line-height: 20px; color: var(--muted); }
.lp-term__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-top: 8px;
}
.lp-term__num { font-size: 44px; font-weight: 900; line-height: 52px; color: var(--red); }
.lp-term__unit { font-size: 18px; font-weight: 700; line-height: 28px; color: var(--red); }
.lp-term--none .lp-term__num { font-size: 34px; color: var(--disabled); }
.lp-term__note { margin-top: 4px; font-size: 12px; font-weight: 700; line-height: 18px; color: var(--gray-light); }

/* =========================================================
   よくあるご質問
   ========================================================= */
.lp-faqs { margin-top: 40px; }
.lp-faq {
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.lp-faq + .lp-faq { margin-top: 16px; }
.lp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 32px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--navy);
}
.lp-faq__q svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform .25s;
}
.lp-faq.is-open .lp-faq__q svg { transform: rotate(180deg); }
.lp-faq__a {
  display: none;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ink);
}
.lp-faq.is-open .lp-faq__a { display: block; }
.lp-faq__more { margin-top: 40px; text-align: center; }

/* =========================================================
   ご契約中のお客様へ
   ========================================================= */
.lp-mypage__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lp-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.lp-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.lp-link:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(216, 12, 24, .08); }
.lp-link__title { display: block; font-size: 15px; font-weight: 700; line-height: 24px; color: var(--navy); }
.lp-link__text { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 18px; color: var(--mute-light); }
.lp-link__arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-pink);
  color: var(--red);
  flex: 0 0 auto;
}
.lp-link__arrow svg { width: 7px; height: 12px; display: block; }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 960px) {
  .lp-section { padding: 72px 0; }
  .lp-section__title { font-size: 30px; }
  .lp-section__lead { font-size: 17px; }

  /* ナビは横スクロール。スクロールバーはデザインに無いので隠す
     （Windows/Chrome では領域を占有する太いバーが出てしまう） */
  .lp-pagenav__list {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* 旧 Edge / IE */
    -webkit-overflow-scrolling: touch;
  }
  .lp-pagenav__list::-webkit-scrollbar { display: none; }
  .lp-pagenav__list a { white-space: nowrap; }

  /* 1カラムに落ちたらカード間の行揃えは不要なので subgrid を解除する
     （subgrid は親の row-gap を継承するため、そのままだとカード内に隙間が入る） */
  .lp-plans {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 420px;
    margin-inline: auto;
  }
  .lp-plan { display: flex; flex-direction: column; }
  .lp-plan__specs { display: block; }
  .lp-opts { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .lp-opt__spacer { display: none; }
  .lp-frees { grid-template-columns: repeat(2, 1fr); }
  .lp-pays { grid-template-columns: repeat(2, 1fr); }
  .lp-changes { grid-template-columns: 1fr; }
  .lp-change + .lp-change { border-left: 0; border-top: 1px solid var(--line); }
  .lp-terms { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .lp-links { grid-template-columns: repeat(2, 1fr); }

  .lp-quote { flex-direction: column; align-items: flex-start; }
  .lp-bar { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   スマホ
   Figma: Atletaデザインリニューアル / 料金プラン_SP (16959:156069)

   375px アートボードの実測値をそのまま当てている。
   PC のデザインには手を入れず、この @media 内だけで完結させる方針。
   ========================================================= */
@media (max-width: 600px) {
  .lp-container { padding: 0 16px; }

  /* SP デザインでは「プラン変更・契約」が「お支払い方法・ご請求」より前に来る。
     PC 側の DOM 順は変えられないので、SP だけ flex の order で入れ替える。
     背景のグレー／白の交互も入れ替わるため合わせて上書きする。 */
  .lp-price { display: flex; flex-direction: column; }
  .lp-price > .lp-crumb     { order: 1; }
  .lp-price > .lp-priceHero { order: 2; }
  .lp-price > .lp-pagenav   { order: 3; }
  .lp-price > #plan         { order: 4; }
  .lp-price > #example      { order: 5; }
  .lp-price > #option       { order: 6; }
  .lp-price > #contract     { order: 7; background: var(--bg-gray); }
  .lp-price > #payment      { order: 8; background: #fff; }
  .lp-price > #faq          { order: 9; }
  .lp-price > #mypage       { order: 10; }
  /* ページ内ナビのリンク順も同じ入れ替えを行う（4番目と5番目） */
  .lp-pagenav__list li:nth-child(1) { order: 1; }
  .lp-pagenav__list li:nth-child(2) { order: 2; }
  .lp-pagenav__list li:nth-child(3) { order: 3; }
  .lp-pagenav__list li:nth-child(4) { order: 5; }
  .lp-pagenav__list li:nth-child(5) { order: 4; }
  .lp-pagenav__list li:nth-child(6) { order: 6; }
  .lp-pagenav__list li:nth-child(7) { order: 7; }

  .lp-section { padding: 48px 0; }
  .lp-section__title { font-size: 22px; line-height: 33px; }
  .lp-section__lead { margin-top: 12px; font-size: 13px; line-height: 23px; letter-spacing: -.2px; }
  .lp-note { margin-top: 12px; font-size: 11px; line-height: 18px; text-align: left;}

  .lp-btn { width: 100%; padding: 15px 20px; font-size: 15px; line-height: 22px; }
  .lp-btn__icon { width: 18px; height: 18px; }
  .lp-textLink { font-size: 13px; }

  /* ---------- breadcrumb ---------- */
  .lp-crumb { padding: 10px 0; }
  .lp-crumb__list { gap: 6px; font-size: 11px; }
  .lp-crumb__sep { width: 5px; height: 8px; }
  .lp-crumb__current { color: var(--red); }

  /* hero は 960px 以下すべてで SP レイアウトにするため、
     ファイル末尾の専用 @media にまとめている */

  /* ---------- pagenav ---------- */
  .lp-pagenav__list { gap: 4px; padding: 0 12px; }
  .lp-pagenav__list a { height: 48px; padding: 0 10px; font-size: 12px; line-height: 18px; }

  /* ---------- 料金プラン ---------- */
  .lp-planCommon { margin-top: 24px; padding: 12px 20px; font-size: 13px; line-height: 20px; gap: 8px; }
  .lp-planCommon svg { width: 16px; height: 16px; }

  .lp-plans { gap: 20px; margin-top: 24px; }
  .lp-plan { padding: 0 0 20px; }
  .lp-plan__ribbon { padding: 3px 14px; font-size: 11px; line-height: 19px; transform: translate(50%, -50%);}
  .lp-plan__head { padding: 4px 16px; font-size: 18px; line-height: 26px; letter-spacing: -.4px; }

  .lp-plan__unit { margin-top: 18px; padding: 0 20px; }
  .lp-plan__unitLabel { font-size: 12px; line-height: 18px; }
  .lp-plan__priceNum { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .lp-plan__priceYen { font-size: 18px; line-height: 20px; }
  .lp-plan__tax { margin-top: 4px; font-size: 11px; line-height: 17px; }
  .lp-plan__badge { margin-top: 10px; padding: 5px 10px; font-size: 11px; line-height: 17px; }

  /* SP はカード幅いっぱいの比較行。区切り線は各行の上に入る */
  .lp-plan__specs { width: auto; max-width: none; margin: 16px 35px 0; }
  .lp-plan__spec {
    padding-top: 12px;
    padding-bottom: 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    min-height: 62px;
  }
  /* subgrid フォールバック（PC の行揃え用）の最低高は SP では不要 */
  .lp-plan__unit { min-height: 0; }
  .lp-plan__specLabel { font-size: 11px; line-height: 17px; }
  .lp-plan__specNum b { font-size: 19px; line-height: 24px; }
  .lp-plan__specNum span { font-size: 12px; line-height: 24px; }
  .lp-plan__specNone { font-size: 15px; line-height: 24px; }
  .lp-plan__specSub { font-size: 10px; line-height: 22px; }

  /* ---------- ご利用料金例 ----------
     SP は横スクロールをやめて画面幅に収める（案C）。
     マークアップは PC と同じ 4 列の <table> のまま、tr を grid にして
     4 列目「税込」を 3 列目「月額（税抜）」の下に折り込み、見た目を 3 列にしている。
     PC 側の table 表示には一切影響しない。 */
  .lp-exampleCard { margin-top: 24px; padding: 24px 0; }
  .lp-exampleCard__scroll { padding: 0 16px; overflow-x: visible; }
  .lp-exampleTable { display: block; width: 100%; min-width: 0; }
  .lp-exampleTable thead,
  .lp-exampleTable tbody { display: block; }

  /* 1列目=利用人数 / 2列目=プラン / 3列目=金額（上下2段） */
  .lp-exampleTable tr {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, auto);
    column-gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--line-soft);
  }
  .lp-exampleTable tbody tr:last-child { border-bottom: 0; }
  .lp-exampleTable tr > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .lp-exampleTable tr > :nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .lp-exampleTable tr > :nth-child(3) { grid-column: 3; grid-row: 1; }
  .lp-exampleTable tr > :nth-child(4) { grid-column: 3; grid-row: 2; }

  /* 見出し行。背景は tr にまとめて敷く（セルごとだと列間の隙間で途切れる） */
  .lp-exampleTable thead tr {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--line);
  }
  .lp-exampleTable th {
    padding: 10px 0;
    background: none;
    border: 0;
    font-size: 10px;
    line-height: 15px;
    white-space: normal;
  }
  /* 「税込」の見出しは 3 列目の見出しに含める形にして隠す */
  .lp-exampleTable th:nth-child(4) { display: none; }
  .lp-exampleTable th:nth-child(3) { grid-row: 1 / span 2; text-align: right; }
  .lp-exampleTable thead tr :nth-child(1),
  .lp-exampleTable thead tr :nth-child(2) { grid-row: 1 / span 2; }

  .lp-exampleTable td { padding: 12px 0; border: 0; }
  /* プランタグは inline-flex なので、そのままだと列の左端（人数側）に寄る。
     見出しとセルの両方を列内で中央寄せして均等に見せる */
  .lp-exampleTable tr > :nth-child(2) { text-align: center; }
  .lp-exampleTable__people b { font-size: 18px; line-height: 26px; }
  .lp-exampleTable__people span { font-size: 11px; }
  .lp-planTag { flex-wrap: wrap; gap: 2px 6px; padding: 5px 10px; }
  .lp-planTag b { font-size: 11px; line-height: 18px; }
  .lp-planTag span { font-size: 10px; line-height: 18px; }
  .lp-exampleTable__fee { justify-content: flex-end; }
  .lp-exampleTable__fee b { font-size: 20px; line-height: 26px; }
  .lp-exampleTable__fee span { font-size: 12px; }
  .lp-exampleTable__tax { justify-content: flex-end; }
  .lp-exampleTable__tax b { font-size: 11px; line-height: 16px; }
  .lp-exampleTable__tax span { font-size: 10px; line-height: 16px; }
  /* 3列目は金額と税込を上下に積むので、上段の下パディングを詰める */
  .lp-exampleTable td:nth-child(3) { padding-bottom: 0; }
  .lp-exampleTable td:nth-child(4) { padding-top: 0; }

  /* ---------- 見積もり計算器 ----------
     1段目: [人数を入力] [プランを選択] ＋ 超過人数
     2段目: 月額料金 ○○円 （税込○○円）
     tr を flex にして 2 行に折り返す。3・4 列目には割合の基準幅を与え、
     600px までのどの幅でも必ず 2 段目に回り、かつ 2 つが同じ行に並ぶようにしている。

     セレクタは `.lp-exampleTable tr.lp-calc` にする必要がある。
     上の `.lp-exampleTable tr { display: grid }` より詳細度を高くしないと
     grid が勝ってしまい、計算行が 3 列グリッドのまま崩れる。 */
  .lp-exampleTable tr.lp-calc {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 14px 12px;
    border-radius: 12px;
    background: var(--bg-pink);
    border-bottom: 0;
  }
  /* 汎用側で 2 列目を中央寄せしているので、計算行では左寄せに戻す */
  .lp-exampleTable tr.lp-calc td {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    text-align: left;
  }
  /* 1段目: [1]=人数（1列目） [2]=プラン＋超過（2〜3列目）
     2段目: [3]=月額料金＋税抜（1〜2列目・右寄せ） [4]=税込（3列目・左寄せ）
     grid で行と列を直接指定するので、画面幅によって段組みが変わらない。 */
  .lp-exampleTable tr.lp-calc td:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
  .lp-exampleTable tr.lp-calc td:nth-child(2) {
    grid-area: 1 / 2 / 2 / 4;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: center;
  }
  .lp-calc td:nth-child(2) .lp-calc__label { grid-column: 1 / -1; margin-bottom: 4px; }
  .lp-calc td:nth-child(2) .lp-calc__field { grid-column: 1; display: flex; min-width: 0; }
  .lp-calc td:nth-child(2) .lp-calc__over { grid-column: 2; }
  .lp-exampleTable tr.lp-calc td:nth-child(3) {
    grid-area: 2 / 1 / 3 / 3;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
  }
  .lp-exampleTable tr.lp-calc td:nth-child(4) {
    grid-area: 2 / 3 / 3 / 4;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
  }

  .lp-calc__label { margin-bottom: 4px; font-size: 12px; }
  .lp-calc__input { width: 68px; }
  /* % 幅は使わない（内容幅の計算が狂うため）。flex で列いっぱいに伸ばす */
  .lp-calc__select { width: auto; max-width: none; min-width: 0; flex: 1 1 auto; }
  /* 超過人数は select の右に置く（下段への折り返しをやめる） */
  .lp-calc__over { min-height: 0; margin-top: 0; font-size: 11px; white-space: nowrap; }

  .lp-calc__resultLabel {
    display: block;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    color: var(--red-deep);
  }
  /* 税込はカッコ付きで税抜の右に並べる */
  .lp-calc td:nth-child(4) .lp-exampleTable__tax::before { content: "（"; }
  .lp-calc td:nth-child(4) .lp-exampleTable__tax::after { content: "）"; }
  .lp-calc td:nth-child(4) .lp-exampleTable__tax.is-empty::before,
  .lp-calc td:nth-child(4) .lp-exampleTable__tax.is-empty::after { content: none; }
  .lp-calc .lp-exampleTable__tax { justify-content: flex-start; align-items: baseline; }
  .lp-calc .lp-exampleTable__tax b { font-size: 12px; line-height: 20px; }
  .lp-calc .lp-exampleTable__tax span { font-size: 11px; line-height: 20px; }
  .lp-calc .lp-exampleTable__fee b { font-size: 22px; line-height: 28px; }
  .lp-calc .lp-exampleTable__fee span { font-size: 13px; }
  /* PC で入力欄の高さに合わせていた下げ幅は SP では不要 */
  .lp-calc .lp-exampleTable__fee,
  .lp-calc .lp-exampleTable__tax { margin-top: 0; }

  .lp-exampleCard__note { padding: 12px 16px 0; }
  .lp-quote { padding: 20px 16px 4px; gap: 16px; }
  .lp-quote__title { font-size: 16px; line-height: 25px; }
  .lp-quote__text { font-size: 12px; line-height: 20px; }
  .lp-quote__actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }

  /* ---------- オプション ---------- */
  .lp-opts { gap: 16px; margin-top: 24px; max-width: none; }
  .lp-opt { padding: 0 0 20px; }
  /* 画像はカード全幅。PC のはみ出し指定を打ち消す */
  .lp-opt__img { width: 100%; margin: 0; aspect-ratio: 378 / 180; }
  .lp-opt__title { min-height: 0; margin-top: 14px; padding: 0 16px; font-size: 16px; line-height: 25px; }
  .lp-opt__text { margin-top: 10px; padding: 0 16px; font-size: 12px; line-height: 21px; }
  .lp-opt__price { width: 80%; margin: 14px 16px 0; padding-top: 14px; }
  .lp-opt__priceNum { font-size: 24px; line-height: 30px; }
  .lp-opt__priceYen { font-size: 15px; line-height: 22px; }
  .lp-opt__priceTax { font-size: 10px; line-height: 18px; }

  /* SP では横並びのまま（960 の縦積みを戻す） */
  .lp-freeHead { flex-direction: row; gap: 8px; margin-top: 32px; }
  .lp-freeHead__badge { padding: 2px 10px; font-size: 11px; line-height: 20px; }
  .lp-freeHead__title { font-size: 16px; line-height: 25px; text-align: left; }
  .lp-frees { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
  .lp-free { padding: 14px 10px; border-radius: 12px; }
  .lp-free__title { font-size: 13px; line-height: 20px; letter-spacing: -.2px; }
  .lp-free__text { font-size: 11px; line-height: 17px; }

  /* ---------- お支払い方法 ---------- */
  .lp-pays { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 0; }
  .lp-pay { padding: 20px 12px 16px; }
  .lp-pay__ribbon { margin-bottom: 10px; padding: 2px 12px; font-size: 10px; line-height: 18px; }
  .lp-pay__icon svg { width: 28px; height: 28px; }
  .lp-pay__title { margin-top: 10px; font-size: 14px; line-height: 21px; letter-spacing: -.2px; }
  .lp-pay__text { margin-top: 6px; font-size: 11px; line-height: 18px; }
  .lp-pay__link { padding-top: 8px; }
  .lp-pay__link .lp-textLink { font-size: 11px; }

  .lp-payNotes { margin-top: 16px; text-align: left; }
  .lp-payNotes li { font-size: 11px; line-height: 18px; }

  .lp-bar { gap: 10px; margin-top: 16px; padding: 16px; border-radius: 12px; }
  .lp-bar__title { font-size: 14px; line-height: 22px; }
  .lp-bar--pink .lp-bar__title { font-size: 13px; line-height: 21px; }
  .lp-bar__text { margin-top: 4px; font-size: 11px; line-height: 18px; }
  .lp-bar--pink .lp-bar__text { font-size: 11px; line-height: 18px; }
  .lp-btn--dark { width: 100%; justify-content: center; padding: 11px 20px; font-size: 13px; }

  .lp-billing { margin: 40px 0px 0px; }
  .lp-billing__bar { width: 4px; height: 20px; }
  .lp-billing__title { font-size: 18px; line-height: 27px; }
  .lp-billing__list { margin-top: 14px; }
  .lp-billing__item { gap: 10px; padding: 14px 0; }
  .lp-billing__num { width: 20px; height: 20px; margin-top: 2px; font-size: 10px; }
  .lp-billing__itemTitle { font-size: 13px; line-height: 21px; }
  .lp-billing__itemText { font-size: 12px; line-height: 20px; }

  /* ---------- プラン変更・契約 ---------- */
  .lp-changes { margin-top: 24px; padding: 4px 16px; }
  .lp-change { padding: 18px 0; }
  .lp-change__title { font-size: 15px; line-height: 24px; }
  .lp-change__text { margin-top: 6px; font-size: 12px; line-height: 21px; }

  /* SP では横並びのまま（960 の縦積みを戻す） */
  .lp-termHead { flex-direction: row; gap: 8px; margin-top: 32px; }
  .lp-termHead svg { width: 18px; height: 18px; }
  .lp-termHead__title { font-size: 15px; line-height: 24px; text-align: left; }
  /* 最低利用期間は SP でも 3 カラム */
  .lp-terms { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; max-width: none; }
  .lp-term { padding: 14px 6px; border-radius: 12px; }
  .lp-term__name { font-size: 11px; line-height: 16px; }
  .lp-term__value { margin-top: 4px; }
  .lp-term__num { font-size: 30px; line-height: 38px; }
  .lp-term--none .lp-term__num { font-size: 22px; }
  .lp-term__unit { font-size: 13px; line-height: 20px; }
  .lp-term__note { margin-top: 2px; font-size: 10px; line-height: 15px; }

  /* ---------- よくあるご質問 ---------- */
  .lp-faqs { margin-top: 24px; }
  .lp-faq { border-radius: 12px; }
  .lp-faq + .lp-faq { margin-top: 12px; }
  .lp-faq__q { gap: 12px; padding: 16px; font-size: 13px; line-height: 21px; }
  .lp-faq__q svg { width: 14px; height: 14px; }
  .lp-faq__a { padding: 14px 16px; font-size: 12px; line-height: 21px; }
  .lp-faq__more { margin-top: 24px; }

  /* ---------- ご契約中のお客様へ ---------- */
  .lp-mypage__head { flex-direction: row; gap: 6px; }
  .lp-links { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .lp-link { padding: 14px 16px; border-radius: 12px; }
  .lp-link__title { font-size: 13px; line-height: 21px; }
  .lp-link__text { font-size: 11px; line-height: 17px; }
  .lp-link__arrow { width: 24px; height: 24px; }
  
  span.only_sp { display: inline; }
}

/* =========================================================
   hero（ページ上部）だけ 960px 以下で PC / モバイルを切り替える
   960px 以下はコンテンツ幅の都合で PC デザインが崩れるため、
   600px 用だった SP レイアウトをそのまま 960px 以下まで適用する。
   ※ hero 以外のセクションのブレークポイントは変更していない
   ========================================================= */
@media (max-width: 960px) {
  /* SP は「見出し → リード → イラスト → ボタン」の縦一列。
     イラストは body の外にあるため body を display:contents で透過させ、
     row 直下の並びとして order を振っている。 */
  .lp-priceHero { padding: 24px 0 40px; }
  .lp-priceHero__row { flex-direction: column; align-items: stretch; gap: 0; }
  .lp-priceHero__body { display: contents; }
  .lp-priceHero__title { order: 1; font-size: 24px; line-height: 38px; letter-spacing: .2px; text-align: center; }
  /* SP は「3」だけ 32px / Black（Figma の文字単位スタイル）。色は
     .lp-billing__accent の赤をそのまま使う */
  .lp-priceHero__big { font-size: 32px; font-weight: 900; }
  .lp-priceHero__lead { order: 2; margin: 12px auto; font-size: 13px; line-height: 24px; letter-spacing: -.2px; }
  .lp-priceHero__illust { order: 3; width: 240px; margin: 20px auto 0; align-self: center; }
  .lp-priceHero__cta { order: 4; flex-direction: column; align-items: stretch; gap: 10px; margin: 20px auto; }
}
