@charset "utf-8";
/* ============================================================
   アフィリエイト (2026-10-30。 templates5/guest/partner.tpl)
   色・カード・ボタン・区画は quorea-lp.css を使い、 ここは並べ方と図だけ
   ============================================================ */

/* ── 見出し：左に文、右に報酬の画面の例 ── */
.pt-head {
	position: relative; overflow: hidden;
	padding: 72px 0 80px;
	border-bottom: 1px solid var(--border);
}
.pt-head::before {
	content: ""; position: absolute; right: -6%; top: -70%;
	width: 860px; height: 860px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(232,138,74,0.24), rgba(224,86,42,0.08) 55%, transparent 72%);
	pointer-events: none;
}
.pt-head-grid { z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.pt-head .eyebrow { margin-bottom: 14px; }
.pt-title { font-size: 44px; line-height: 1.3; letter-spacing: -0.8px; }
.pt-lead { margin-top: 18px; max-width: 640px; font-size: 16px; line-height: 1.95; color: var(--text); }
.pt-keys { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.pt-keys li { padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,0.9); box-shadow: var(--shadow-soft); }
.pt-keys small { display: block; font-size: 12.5px; font-weight: 500; color: var(--label); }
.pt-keys b { display: block; margin-top: 6px; font-size: 20px; font-weight: 400; line-height: 1.3; letter-spacing: -0.4px; color: var(--ember-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-keys b span { margin-left: 2px; font-size: 14px; letter-spacing: 0; }
.pt-keys em { display: block; margin-top: 4px; font-size: 12px; font-style: normal; color: var(--body); }
.pt-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 報酬の画面の例 (浮かせた 3 枚。 トップのヒーローの画面と同じ作り) */
.pt-visual { position: relative; height: 460px; }
.pt-mock { position: absolute; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-float), 0 0 0 1px rgba(6,27,49,0.05); }
.pt-mock-reward { top: 0; right: 0; width: 360px; padding: 22px 24px 18px; }
.pt-mock-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; color: var(--heading); }
.pt-mock-tag { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); font-size: 11.5px; font-weight: 400; color: var(--label); }
.pt-mock-label { margin-top: 14px; font-size: 12px; color: var(--body); }
.pt-mock-big { color: var(--heading); font-size: 44px; font-weight: 300; letter-spacing: -1.2px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pt-mock-big small { margin-left: 2px; font-size: 20px; letter-spacing: 0; color: var(--label); }
.pt-stack { display: flex; gap: 2px; height: 10px; margin-top: 16px; }
.pt-stack span { border-radius: 2px; }
.pt-stack span:first-child { border-radius: 5px 2px 2px 5px; }
.pt-stack span:last-child { border-radius: 2px 5px 5px 2px; }
.pt-stack .s1, .pt-stack-rows i.s1 { background: var(--amber); }
.pt-stack .s2, .pt-stack-rows i.s2 { background: var(--ember-deep); }
.pt-stack-rows { margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--label); }
.pt-stack-rows li { display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto; align-items: baseline; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); }
.pt-stack-rows li:first-child { border-top: 0; }
.pt-stack-rows i { width: 10px; height: 10px; border-radius: 3px; align-self: center; }
.pt-stack-rows span { font-size: 11.5px; color: var(--muted); }
.pt-stack-rows b { font-weight: 500; color: var(--heading); font-variant-numeric: tabular-nums; }
.pt-mock-note { margin-top: 8px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.pt-mock-link { top: 300px; left: -8px; width: 320px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.pt-link-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--ember-tint); border: 1px solid var(--ember-soft); }
.pt-link-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ember-cta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pt-link-t { min-width: 0; }
.pt-link-t small { display: block; font-size: 11.5px; color: var(--body); }
.pt-link-t code { display: block; margin-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-mock-new { top: 392px; right: 12px; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; font-size: 12.5px; color: var(--label); white-space: nowrap; }
.pt-mock-new b { font-weight: 500; color: var(--ember-cta); font-variant-numeric: tabular-nums; }
.pt-new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-cta); box-shadow: 0 0 0 3px rgba(222,54,0,0.15); }

/* ── 流れ：上に小さな画面の絵、下に手順 ── */
.pt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; }
.pt-step { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-ambient); }
.pt-step-visual { position: relative; height: 184px; display: grid; place-items: center; background: linear-gradient(180deg, var(--ember-tint) 0%, #fdfbfa 100%); border-bottom: 1px solid #f6e9e1; }
.pt-step-body { padding: 22px 24px 26px; }
.pt-step-body .h-card { margin-top: 8px; font-size: 19px; }
.pt-no { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; color: var(--ember); }
.pt-step-body p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: var(--text); }

/* 画面の絵の部品 */
.pt-ui { width: 224px; padding: 14px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-ambient); }
.pt-ui svg { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pt-ui-lines { display: grid; gap: 7px; }
.pt-ui-lines i { display: block; height: 7px; border-radius: 4px; background: #eef2f6; }
.pt-ui-id { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 8px 12px; }
.pt-ui-av { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ember-tint); border: 1px solid var(--ember-soft); }
.pt-ui-av svg { width: 24px; height: 24px; stroke: var(--ember); stroke-width: 1.7; }
.pt-ui-ok { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-self: start; gap: 6px; margin-top: 6px; padding: 4px 11px 4px 5px; border-radius: 999px; background: var(--ember-tint); border: 1px solid var(--ember-soft); font-size: 11.5px; font-weight: 500; color: var(--ember-deep); }
.pt-ui-ok i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--ember-cta); }
.pt-ui-ok svg { width: 11px; height: 11px; stroke: var(--white); stroke-width: 2.4; }
.pt-ui-form { display: grid; gap: 10px; }
.pt-ui-field small { display: block; font-size: 10.5px; color: var(--body); }
.pt-ui-field span { display: block; margin-top: 4px; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--border); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pt-ui-check { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--label); }
.pt-ui-check i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; background: var(--ember-cta); }
.pt-ui-check svg { width: 12px; height: 12px; stroke: var(--white); stroke-width: 2.2; }
.pt-ui-status { display: inline-flex; align-items: center; justify-self: start; gap: 7px; padding: 4px 10px; border-radius: 999px; background: var(--ember-tint); border: 1px solid var(--ember-soft); font-size: 11px; font-weight: 500; color: var(--ember-deep); }
.pt-ui-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.pt-ui-blog { display: grid; gap: 10px; padding-top: 10px; }
.pt-ui-bar { display: flex; gap: 5px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.pt-ui-bar i { width: 7px; height: 7px; border-radius: 50%; background: #e3e8ee; }
.pt-ui-link { display: inline-flex; align-items: center; justify-self: start; gap: 6px; padding: 6px 12px; border-radius: 6px; background: var(--ember-cta); font-size: 11.5px; font-weight: 500; color: var(--white); box-shadow: 0 6px 14px -8px rgba(222,54,0,0.6); }
.pt-ui-link em { font-style: normal; }
.pt-ui-coin { position: absolute; right: calc(50% - 132px); top: 26px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--ember-soft); box-shadow: var(--shadow-soft); font-size: 12px; font-weight: 500; color: var(--ember-cta); }

/* ── 報酬：左に説明、右に図 ── */
.pt-card { margin-top: 28px; padding: 32px; }
/* 説明と条件はカードの幅いっぱい、 その下に図と計算例を左右に並べる */
.pt-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 24px; }
.pt-card-k { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--ember-tint); border: 1px solid var(--ember-soft); font-size: 12px; font-weight: 500; color: var(--ember-deep); }
.pt-card-head .h-card { margin-top: 12px; }
.pt-card-head p { margin-top: 8px; font-size: 14.5px; line-height: 1.9; color: var(--text); }
/* 支払いの条件: 枠でまとめ、 市場ごとの回数を大きく出す。 「設定だけでは対象外」も枠の中に印を付けて置く */
.pt-cond-box { margin-top: 20px; padding: 18px 20px 16px; border-radius: 10px; background: var(--ember-tint); border: 1px solid var(--ember-soft); }
.pt-cond-tl { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--heading); }
.pt-cond-tl svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ember-cta); fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pt-cond { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
.pt-cond div { padding: 14px 18px 16px; border-radius: 8px; background: var(--white); border: 1px solid var(--ember-soft); }
.pt-cond dt { display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--tint); border: 1px solid var(--border-warm); font-size: 12px; font-weight: 500; color: var(--label); }
.pt-cond dd { margin: 8px 0 0; }
.pt-cond-num { display: block; font-size: 15px; font-weight: 500; color: var(--ember-deep); }
.pt-cond-num b { margin-right: 2px; font-size: 32px; font-weight: 400; line-height: 1.15; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.pt-cond-txt { display: block; margin-top: 2px; font-size: 14px; color: var(--text); }
.pt-cond-not { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--label); }
.pt-cond-not i { flex: none; width: 18px; height: 18px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--ember-deep); font-family: var(--mono); font-size: 11px; font-style: normal; font-weight: 600; line-height: 1; color: var(--ember-deep); }
.pt-cond-not b { font-weight: 500; color: var(--heading); }
.pt-fine { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--body); }
.pt-chart { display: flex; flex-direction: column; padding: 22px 24px 18px; border-radius: 10px; border: 1px solid var(--border-warm); background: linear-gradient(180deg, var(--white) 0%, var(--tint) 100%); }
.pt-chart-tl { font-size: 13px; font-weight: 500; color: var(--label); }

/* 初回報酬：人数ごとの階段 (額が上がるほど濃い朱) */
.pt-stairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.pt-stair { display: grid; text-align: center; }
.pt-stair-col { position: relative; height: 184px; border-bottom: 1px solid #d9cec7; }
.pt-stair-bar { position: absolute; left: 10%; right: 10%; bottom: 0; height: calc(var(--h) * 1% * 0.74); border-radius: 4px 4px 0 0; background: var(--ember); }
.pt-stair:nth-child(1) .pt-stair-bar { background: #f3a684; }
.pt-stair:nth-child(2) .pt-stair-bar { background: #ec7d52; }
.pt-stair:nth-child(3) .pt-stair-bar { background: #e0562a; }
.pt-stair:nth-child(4) .pt-stair-bar { background: #b8441f; }
.pt-stair-val { position: absolute; left: 0; right: 0; bottom: calc(var(--h) * 1% * 0.74 + 6px); font-size: 12px; color: var(--body); white-space: nowrap; }
.pt-stair-val b { font-size: 19px; font-weight: 400; letter-spacing: -0.3px; color: var(--heading); font-variant-numeric: tabular-nums; }
.pt-stair-lbl { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--label); }
.pt-stair-two { margin-top: 2px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 継続報酬：ランクごとの横棒 */
/* 横の計算例と高さを揃えるので、 ランクの行は縦に均等に散らす */
.pt-ranks { flex: 1; display: flex; flex-direction: column; justify-content: space-around; margin: 14px 0 0; padding: 0; list-style: none; }
.pt-ranks li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 68px 92px; align-items: center; gap: 12px; padding: 7px 0; }
.pt-rank { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--white); font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--label); }
.pt-ranks li:first-child .pt-rank { border-color: transparent; background: var(--ember-cta); color: var(--white); }
.pt-rank-track { height: 10px; border-radius: 5px; background: #f1ebe7; overflow: hidden; }
.pt-rank-bar { display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: 5px; background: var(--ember); }
.pt-ranks b { font-size: 14.5px; font-weight: 500; text-align: right; color: var(--heading); font-variant-numeric: tabular-nums; }
.pt-ranks small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 計算例：人数の表と、 段ごとの小計・合計 */
.pt-example { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-radius: 10px; background: var(--ember-tint); border: 1px solid var(--ember-soft); }
.pt-example-tl { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--heading); }
.pt-example-k { flex: none; padding: 1px 8px; border-radius: 4px; background: var(--ember-cta); font-size: 11.5px; font-weight: 500; color: var(--white); }
.pt-ex-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 8px; background: var(--white); border: 1px solid var(--ember-soft); font-variant-numeric: tabular-nums; }
.pt-ex-table th, .pt-ex-table td { padding: 9px 12px; text-align: center; border-top: 1px solid #f6e9e1; }
.pt-ex-table thead th { border-top: 0; background: #fffbf8; font-size: 11.5px; font-weight: 500; color: var(--body); }
.pt-ex-table thead th:first-child, .pt-ex-table tbody th { text-align: left; }
.pt-ex-table thead th:first-child { width: 50%; }
.pt-ex-table.is-rank thead th:first-child { width: 40%; }
.pt-ex-table tbody th { font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--label); }
.pt-ex-table td { font-size: 14px; color: var(--muted); }
.pt-ex-table td.is-now { font-weight: 500; color: var(--heading); }
.pt-ex-table thead th.is-now { color: var(--ember-deep); }
.pt-ex-table.is-rank th, .pt-ex-table.is-rank td { padding-left: 6px; padding-right: 6px; }
.pt-ex-table.is-rank thead th:first-child, .pt-ex-table.is-rank tbody th { padding-left: 12px; }
.pt-ex-table.is-rank thead th:not(:first-child) { font-family: var(--mono); font-size: 12px; color: var(--label); }
.pt-calc { font-variant-numeric: tabular-nums; }
.pt-calc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 9px 2px; border-bottom: 1px dashed #efd5c7; }
.pt-calc-row .pt-tag { padding: 1px 9px; font-size: 11.5px; }
.pt-calc-x { font-size: 13.5px; line-height: 1.75; color: var(--text); }
.pt-calc-v { font-size: 15px; font-weight: 500; color: var(--heading); white-space: nowrap; }
.pt-calc-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 2px 0; }
.pt-calc-sum > span:first-child { font-size: 13px; font-weight: 500; color: var(--label); }
.pt-sum { font-size: 30px; font-weight: 300; letter-spacing: -0.6px; color: var(--ember-deep); }
.pt-sum small { margin-left: 2px; font-size: 15px; letter-spacing: 0; }
.pt-ex-note { margin-top: auto; font-size: 12px; line-height: 1.7; color: var(--body); }

/* ── 2 段階報酬：人のつながりの図 ── */
/* 2 段階報酬: ①〜④の流れを 4 枚で見せ、 ④から①へ戻る線で「2 段目の報酬があなたに入る」を示す
   ①③ (アフィリエイターになる) と ②④ (顧客を紹介する) を同じ形の絵にして、 繰り返しだと分かるようにする */
.pt-jr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pt-jr { margin-top: 40px; padding-bottom: 34px; }
.pt-jr-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.pt-jr-step { position: relative; display: flex; flex-direction: column; border-radius: 12px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-ambient); }
/* カードの間の矢印 */
.pt-jr-step + .pt-jr-step::before { content: ""; position: absolute; left: -20px; top: 74px; width: 9px; height: 9px; border-top: 2px solid var(--ember); border-right: 2px solid var(--ember); transform: rotate(45deg); }
.pt-jr-visual { position: relative; height: 156px; display: grid; place-items: center; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, var(--ember-tint) 0%, #fdfbfa 100%); border-bottom: 1px solid #f6e9e1; }
.pt-jr-visual svg { width: 220px; max-width: 92%; height: auto; overflow: visible; }
.pt-jr-no { position: absolute; left: 12px; bottom: 12px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ember-cta); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--white); }
.pt-jr-body { padding: 18px 20px 22px; }
/* 主語は札に分け、 見出しは 1 行に (4 枚の見出しと本文の高さを揃える) */
.pt-jr-who { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--label); }
.pt-jr-who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--heading); }
.pt-jr-who.is-sub::before { background: var(--ember-cta); }
.pt-jr-body .h-card { margin-top: 4px; font-size: 17px; line-height: 1.5; white-space: nowrap; }
.pt-jr-body p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--text); text-wrap: wrap; }
/* 絵の部品 (あなた = 紺、 紹介した方 = 朱の淡い色、 顧客 = 白。 小さな画面は上の「ご利用の流れ」の絵と同じ作り) */
.pt-jr-visual .j-cd { fill: var(--white); stroke: #e5edf5; filter: url(#pt-jr-sh); }
.pt-jr-visual .j-ln { fill: #eef2f6; }
.pt-jr-visual .j-dot { fill: #e3e8ee; }
.pt-jr-visual .j-bar { stroke: #eef2f6; }
.pt-jr-visual circle.j-you { fill: var(--heading); }
.pt-jr-visual circle.j-sub { fill: var(--ember-cta); }
.pt-jr-visual circle.j-cu { fill: #fde6da; stroke: var(--white); stroke-width: 2; filter: url(#pt-jr-sh); }
/* 人型は塗り: あなた = 紺の地に白、 紹介した方 = 朱の地に白、 顧客 = 淡い朱の地に朱 */
.pt-jr-visual .j-youp, .pt-jr-visual .j-subp { fill: var(--white); fill-opacity: 0.94; }
.pt-jr-visual .j-cup { fill: #f08a63; }
.pt-jr-visual text { font-size: 10px; font-weight: 500; }
.pt-jr-visual .j-bdg { fill: var(--ember-tint); stroke: var(--ember-soft); }
.pt-jr-visual .j-ok { fill: var(--ember-cta); }
.pt-jr-visual .j-okm { fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-jr-visual .j-bt { font-size: 10.5px; fill: var(--ember-deep); }
.pt-jr-visual .j-chip { fill: var(--white); stroke: var(--ember-soft); filter: url(#pt-jr-sh); }
.pt-jr-visual .j-ct { font-size: 9.5px; fill: var(--label); }
.pt-jr-visual .j-lk { fill: none; stroke: var(--ember-cta); stroke-width: 1.6; stroke-linecap: round; }
.pt-jr-visual .j-cta { fill: var(--ember-cta); }
.pt-jr-visual .j-cta-ar { fill: none; stroke: var(--white); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pt-jr-visual .j-ctat { font-size: 9px; font-weight: 600; text-anchor: middle; fill: var(--white); letter-spacing: 0.06em; }
.pt-jr-visual .j-fl { fill: none; stroke: var(--ember-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-jr-visual .j-fd { fill: var(--ember-light); }
.pt-jr-visual .j-t1 { fill: var(--ember-soft); }
.pt-jr-visual .j-t1t { font-size: 10px; text-anchor: middle; fill: var(--ember-deep); }
.pt-jr-visual .j-t2 { fill: var(--ember-cta); }
.pt-jr-visual .j-t2t { font-size: 10px; text-anchor: middle; fill: var(--white); }
/* ④ → ①: カードの下を U の字で戻る線 (①の真ん中に矢印、 ④の真ん中に点)。 真ん中に札 */
.pt-jr-back { position: relative; height: 46px; margin: 0 calc((100% - 84px) / 8); border: 2px solid var(--ember-light); border-top: 0; border-radius: 0 0 18px 18px; }
.pt-jr-back::before { content: ""; position: absolute; left: -8px; top: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 10px solid var(--ember); }
.pt-jr-back::after { content: ""; position: absolute; right: -6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ember-light); }
.pt-jr-back p { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--ember-light); box-shadow: var(--shadow-soft); white-space: nowrap; }
.pt-jr-back p > svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ember-tint); fill: none; stroke: var(--ember-cta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-jr-back b { display: block; font-size: 14.5px; font-weight: 500; color: var(--heading); }
.pt-jr-back b i { display: inline-grid; place-items: center; width: 19px; height: 19px; margin: 0 2px; border-radius: 50%; background: var(--ember-cta); font-family: var(--mono); font-size: 11px; font-style: normal; font-weight: 500; color: var(--white); vertical-align: 1px; }
.pt-jr-back small { display: block; margin-top: 2px; font-size: 12px; color: var(--body); font-variant-numeric: tabular-nums; }
.pt-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--ember-deep); background: var(--ember-soft); }
.pt-tag.is-2 { color: var(--white); background: var(--ember-cta); }
/* 2 段階報酬の同意の注意は、 説明のすぐ下に小さく */
.pt-two-note { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--body); }

/* ── 注意事項 ── */
.pt-notes { margin: 32px 0 0; padding: 0 0 0 1.6em; max-width: 880px; font-size: 14.5px; line-height: 1.9; color: var(--text); }
.pt-notes > li + li { margin-top: 12px; }
.pt-notes ul { margin: 10px 0 0; padding: 0; list-style: none; }
.pt-notes ul > li { position: relative; padding-left: 1.1em; }
.pt-notes ul > li + li { margin-top: 8px; }
.pt-notes ul > li::before { content: ""; position: absolute; left: 0.2em; top: 0.85em; width: 5px; height: 5px; border-radius: 50%; background: var(--ember-light); }
/* 不適切な表示の 4 つ: 番号は丸い札にして、 白い枠の中に区切り線で並べる */
.pt-marks { counter-reset: mark; margin: 10px 0 4px; padding: 4px 18px; list-style: none; border-radius: 8px; background: var(--white); border: 1px solid var(--border-warm); }
.pt-marks li { counter-increment: mark; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 12px; padding: 10px 0; font-size: 14px; line-height: 1.7; }
.pt-marks li + li { border-top: 1px solid var(--border-warm); }
.pt-marks li::before { content: counter(mark); width: 20px; height: 20px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: var(--ember-tint); border: 1px solid var(--ember-soft); font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1; color: var(--ember-deep); }
#notes .pt-fine { margin-top: 20px; max-width: 880px; font-size: 13px; }

/* ── 終わりの案内 ── */
.pt-cta { padding: 72px 0 104px; }
.pt-cta-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.pt-cta-title { font-size: 26px; font-weight: 400; letter-spacing: -0.3px; }
.pt-cta p { margin-top: 6px; font-size: 14.5px; color: var(--text); }
.pt-cta .btn { flex: none; }

@media (max-width: 1080px) {
	.pt-head-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.pt-visual { max-width: 560px; }
	.pt-card-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 1080px) {
	/* 2 列にするときは、 カードの間の矢印と U の字の線をやめ、 戻りは札だけにする */
	.pt-jr { padding-bottom: 0; }
	.pt-jr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.pt-jr-step + .pt-jr-step::before { display: none; }
	.pt-jr-back { height: auto; margin: 16px 0 0; border: 0; }
	.pt-jr-back::before, .pt-jr-back::after { display: none; }
	.pt-jr-back p { position: static; transform: none; white-space: normal; }
}
@media (max-width: 860px) {
	.pt-head { padding: 44px 0 48px; }
	.pt-head::before { width: 520px; height: 520px; right: -45%; top: -40%; }
	.pt-title { font-size: 30px; }
	.pt-lead { font-size: 15px; }
	.pt-keys { grid-template-columns: minmax(0, 1fr); }
	.pt-keys li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 16px; }
	.pt-keys small { grid-column: 1; grid-row: 1; }
	.pt-keys em { grid-column: 1; grid-row: 2; margin-top: 2px; font-size: 11.5px; }
	.pt-keys b { grid-column: 2; grid-row: 1 / 3; margin-top: 0; font-size: 21px; text-align: right; }
	.pt-ctas .btn { flex: 1 1 100%; }
	/* 画面の例は縦に重ねる */
	.pt-visual { height: auto; display: flex; flex-direction: column; }
	.pt-mock { position: relative; top: auto; left: auto; right: auto; }
	.pt-mock-reward { width: 100%; padding: 20px 18px 14px; }
	.pt-mock-big { font-size: 38px; }
	.pt-mock-link { z-index: 2; width: 88%; margin-top: 14px; margin-left: -4px; }
	.pt-mock-new { z-index: 3; align-self: flex-end; margin-top: -8px; font-size: 12px; padding: 10px 14px; }
	.pt-cond-box { padding: 16px 14px 14px; }
	.pt-cond { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.pt-cond div { padding: 12px 14px 14px; }
	.pt-cond-num b { font-size: 28px; }
	.pt-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
	.pt-step-visual { height: 168px; }
	.pt-card { padding: 24px 18px; }
	.pt-chart { padding: 18px 14px 14px; }
	.pt-stairs { gap: 8px; }
	.pt-stair-col { height: 168px; }
	.pt-stair-val b { font-size: 16px; }
	.pt-stair-val { font-size: 10.5px; }
	.pt-stair-lbl { font-size: 12px; }
	.pt-stair-two { font-size: 10.5px; }
	.pt-ranks li { grid-template-columns: 28px minmax(0, 1fr) 64px; grid-template-rows: auto auto; row-gap: 0; column-gap: 10px; }
	.pt-ranks small { grid-column: 2 / 4; grid-row: 2; }
	.pt-example { padding: 16px 14px; }
	.pt-ex-table th, .pt-ex-table td { padding: 8px 9px; }
	.pt-ex-table tbody th { font-size: 12px; }
	.pt-ex-table.is-rank th, .pt-ex-table.is-rank td { padding-left: 3px; padding-right: 3px; }
	.pt-ex-table.is-rank thead th:first-child, .pt-ex-table.is-rank tbody th { padding-left: 10px; }
	/* 式は 2 行目に回して幅を取る */
	.pt-calc-row { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; }
	.pt-calc-x { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
	.pt-calc-v { text-align: right; }
	.pt-sum { font-size: 26px; }
	.pt-jr-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	/* 縦に並べるときの矢印は下向き */
	.pt-jr-step + .pt-jr-step::before { display: block; left: calc(50% - 5px); top: -12px; transform: rotate(135deg); }
	.pt-jr-body .h-card { font-size: 16.5px; }
	.pt-cta { padding: 48px 0 72px; }
	.pt-cta-box { flex-direction: column; align-items: stretch; }
}
