@charset "utf-8";
/* ============================================================
   QUOREA MAKE の作り方のページ（/make/ea/・/make/backtest/。 2026-11-30。 同日の夜に、 絵つきの部品へ組み直し）
   - 土台はログイン前の共通 (quorea-lp.css) と MAKE の入口 (make-lp.css)。 ここはこの 2 ページだけの部品 (mg- で始まる)
   - デザインの決まり (design-refs/stripe-DESIGN.md を朱にしたもの = quorea-lp.css のトークン) に合わせる:
     22px 以上の見出しは細字 (300〜400)・色と影はトークン・カードの角丸は 8〜10px (窓と絵のカードだけ 12px)・英字の小見出しは等幅の大文字・並ぶ数字は等幅
   - 絵の作りは MAKE の入口と同じ: 淡い朱の地の上に、 文字の入った白い小さな画面。 平たい朱の丸だけの見出し・絵のない文だけのカードは作らない
   - 図の色: 見せたい方 = 朱 (--key-line)・比べる相手 = 暖かい灰 (--index-gray)。 値は図の横に字 (文字の色) で出す
   - 間の取り方はトップと同じ: PC は見出しと説明 → 中身 56px (手順の図は 64px)・カードどうし 20〜24px、 スマホ (640 以下) は見出しと説明 → 中身 32px・塊どうし 28px
   - 文は地続き。 改行は <br> の所だけ (文の切れ目)
   - 1〜2 字だけ次の行に落ちる幅を作らないための組み方 (文を直すときはこの 3 つを崩さない):
     1) PC (1160 以上) = 中身の幅が決まっている (.wrap が上限の 1112px)。 どの幅でも同じ所で折り返すので、 1280 で確かめれば足りる
     2) タブレット (641〜1159) = 全部 1 列に積む。 文は 1 行に収まる長さ (説明は 31 字・本文は 32 字まで) にして、 折り返させない
     3) スマホ (640 以下) = 字の大きさを幅に合わせる (320〜440 は 375 と同じ所で折り返す)。 441〜640 は中身の幅を 440 の時と同じにする。 375 で確かめれば足りる
   ============================================================ */

.mg-page h1, .mg-page h2, .mg-page h3, .mg-page th, .mg-page summary, .mg-page figcaption { word-break: normal; text-wrap: wrap; }
.mg-page .site-nav a[aria-current="page"] { color: var(--ember); }
/* 見出しの「、」の改行は、 1 行に収まらない幅 (960 以下) でだけ入れる (実績のページの .br-nar と同じ形)。 PC では 1 行 */
.mg-page .br-nar { display: none; }
.mg-page #reality .sec-head { max-width: 880px; }
@media (max-width: 960px) { .mg-page .br-nar { display: inline; } }

/* ── 文の中のリンク・小さな部品 ── */
.mg-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--ember-cta); }
.mg-more:hover { color: var(--ember-hover); }
/* 次に読むページへのカード (.ml-next。 形は make-lp.css で MAKE の入口と共通)。 STEP 4 の下では札の箱との間をあける */
.mg-step-copy .ml-next { margin-top: 14px; }
.mg-dots { display: flex; gap: 7px; }
.mg-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2d6ce; }
/* 条件の横の「見る足」の札 */
.mg-span { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-style: normal; font-size: 11px; line-height: 1.6; color: var(--body); white-space: nowrap; vertical-align: 1px; }
/* ON・OFF のスイッチ (作る画面と同じ形) */
.mg-sw { position: relative; flex: none; display: inline-flex; align-items: center; width: 46px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ember-cta); font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.06em; line-height: 1; color: var(--white); }
.mg-sw::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.mg-sw.is-off { justify-content: flex-end; background: #e3e8ee; color: var(--body); }
.mg-sw.is-off::after { right: auto; left: 3px; }
.mg-sw.is-anim { animation: mg-sw-bg 7s ease infinite; }
.mg-sw.is-anim::after { animation: mg-sw-knob 7s ease infinite; }
@keyframes mg-sw-bg { 0%, 12% { background: #e3e8ee; color: rgba(255,255,255,0); } 18%, 94% { background: var(--ember-cta); color: var(--white); } 100% { background: #e3e8ee; color: rgba(255,255,255,0); } }
@keyframes mg-sw-knob { 0%, 12% { right: 27px; } 18%, 94% { right: 3px; } 100% { right: 27px; } }
/* 順に入れ替わる数字 (3 つを重ねて、 1 つずつ見せる) */
.mg-roll { position: relative; display: inline-block; }
.mg-roll > b { position: absolute; left: 0; right: 0; top: 0; font-weight: inherit; text-align: center; opacity: 0; animation: mg-roll 9s ease infinite; }
.mg-roll > b:first-child { position: relative; display: block; opacity: 1; }
.mg-roll > b:nth-child(2) { animation-delay: -6s; }
.mg-roll > b:nth-child(3) { animation-delay: -3s; }
@keyframes mg-roll { 0%, 29% { opacity: 1; } 33.3%, 96% { opacity: 0; } 100% { opacity: 1; } }

/* ── 最初の画面 ── */
.mg-hero { padding: 80px 0 104px; }
.mg-hero-grid { display: grid; grid-template-columns: 528px minmax(0, 1fr); gap: 48px; align-items: center; }
.mg-h1 { font-size: 52px; line-height: 1.26; letter-spacing: -1.5px; }
.mg-hero .lead { max-width: none; }
.mg-hv { position: relative; height: 640px; }
.mg-hv .ml-win { top: 0; }
.mg-hv .ml-visual-note { left: -58px; bottom: 0; }
.mg-hv-bt .ml-visual-note { left: 300px; bottom: -42px; }
/* 作る画面の 4 枚を、 重ねてゆっくり入れ替える (JS なし。 1 枚目は最初から出す) */
.mg-slides img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; animation: mg-slide 18s ease infinite; }
.mg-slides img:nth-child(1) { opacity: 1; }
.mg-slides img:nth-child(2) { animation-delay: -13.5s; }
.mg-slides img:nth-child(3) { animation-delay: -9s; }
.mg-slides img:nth-child(4) { animation-delay: -4.5s; }
@keyframes mg-slide { 0%, 22% { opacity: 1; } 28%, 94% { opacity: 0; } 100% { opacity: 1; } }
/* 同じルールを、 コードで書いた形 (暗い札) → 条件で作った形 (白い札) */
.mg-code { position: absolute; left: -58px; top: 252px; z-index: 2; width: 318px; overflow: hidden; border-radius: 10px; background: rgba(26,14,10,0.88); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 34px 60px -24px rgba(0,0,0,0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: rotate(-2.5deg); }
.mg-code-h { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mg-code-h .mg-dots { gap: 5px; }
.mg-code-h .mg-dots i { width: 8px; height: 8px; background: rgba(255,255,255,0.18); }
.mg-code-h b { min-width: 0; overflow: hidden; font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.6); white-space: nowrap; text-overflow: ellipsis; }
.mg-code-h em { margin-left: auto; padding: 2px 8px; border: 1px solid rgba(255,255,255,0.22); border-radius: 4px; font-style: normal; font-size: 10.5px; line-height: 1.5; color: rgba(255,255,255,0.78); white-space: nowrap; }
.mg-code pre { margin: 0; padding: 12px 14px 0; height: 196px; overflow: hidden; font-family: var(--mono); font-size: 10.5px; line-height: 1.75; color: rgba(255,255,255,0.64); white-space: pre; -webkit-mask-image: linear-gradient(#000 58%, transparent 100%); mask-image: linear-gradient(#000 58%, transparent 100%); }
.mg-code .c, .mg-mock .c { color: rgba(255,255,255,0.38); }
.mg-code .k, .mg-mock .k { color: #f39a6a; }
.mg-code .n, .mg-mock .n { color: #ffe2cf; }
.mg-hv-to { position: absolute; left: 128px; top: 462px; z-index: 4; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ember-cta); box-shadow: 0 0 0 6px rgba(224,86,42,0.24), 0 12px 22px -8px rgba(0,0,0,0.7); }
.mg-hv-to svg { width: 16px; height: 16px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mg-hv-rule { left: 150px; top: 430px; width: 348px; padding: 14px 16px 16px; animation: float 8s ease-in-out -2s infinite; }
.mg-hv-rule-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mg-hv-rule-h .logo-mark { width: 20px; height: 20px; border-radius: 5px; font-size: 12px; }
.mg-hv-rule-h b { color: var(--heading); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.mg-hv-rule-h em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--body); white-space: nowrap; }
.mg-hv-rule .ml-cond { padding: 8px 10px; font-size: 12.5px; }
.mg-hv-rule .ml-and { margin: 5px 0 5px 14px; }
.mg-hv-rule .mg-span { margin-left: 6px; padding: 0 6px; font-size: 10px; }
.mg-done { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ember-cta); font-size: 11.5px; font-weight: 500; line-height: 1.5; color: var(--white); }
.mg-hv-rule .c1, .mg-hv-rule .ml-and, .mg-hv-rule .c2, .mg-hv-rule .mg-done { animation: mg-in 8s ease infinite backwards; }
.mg-hv-rule .ml-and { animation-delay: .5s; }
.mg-hv-rule .c2 { animation-delay: 1s; }
.mg-hv-rule .mg-done { animation-delay: 1.7s; }
@keyframes mg-in { 0%, 4% { opacity: 0; transform: translateX(-10px); } 12%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* バックテストの結果の画面 (SVG。 窓の幅に合わせて、 画像と同じように縮む)。 左から右へなぞる線に合わせて、 損益の線と取引の記録が伸びる */
.mg-bts { display: block; width: 100%; height: auto; }
.mg-bts text { font-family: var(--font); }
.mg-bts .t-k { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; fill: var(--ember); }
.mg-bts .t-h { font-size: 22px; font-weight: 400; fill: var(--heading); }
.mg-bts .t-s { font-size: 12px; fill: var(--body); }
.mg-bts .t-b { font-size: 15px; font-weight: 500; fill: var(--heading); }
.mg-bts .t-t { font-size: 10.5px; fill: var(--ember-deep); }
.mg-bts .t-c { font-size: 12.5px; fill: var(--heading); }
.mg-bts .t-a { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; fill: var(--ember); }
.mg-bts .t-d { font-size: 11.5px; font-weight: 500; fill: var(--ember-deep); }
.mg-bts .t-x { font-size: 11px; fill: var(--body); }
.mg-bts .dot { fill: var(--ember-cta); }
.mg-bts .grid line { stroke: var(--grid); stroke-width: 1; }
.mg-bts .dd rect { fill: rgba(224,86,42,0.09); }
.mg-bts .area { fill: url(#mg-bts-fill); }
.mg-bts .line { fill: none; stroke: var(--key-line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.mg-bts .rug path { fill: none; stroke: #c9b8ad; stroke-width: 2; stroke-linecap: round; }
.mg-bts .scan line { stroke: var(--ember); stroke-width: 1.5; }
.mg-bts .scan circle { fill: var(--ember-cta); }
.mg-bts .line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: mg-bts-line 9s ease-in-out infinite; }
.mg-bts .area, .mg-bts .dd { opacity: 0; animation: mg-bts-in 9s ease infinite; }
.mg-bts .rug { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); animation: mg-bts-rug 9s ease-in-out infinite; }
.mg-bts .scan { animation: mg-bts-scan 9s ease-in-out infinite; }
@keyframes mg-bts-line { 0%, 5% { stroke-dashoffset: 100; } 47%, 100% { stroke-dashoffset: 0; } }
@keyframes mg-bts-in { 0%, 45% { opacity: 0; } 55%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes mg-bts-rug { 0%, 5% { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); } 47%, 100% { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }
@keyframes mg-bts-scan { 0%, 5% { transform: translateX(0); opacity: 1; } 47% { transform: translateX(688px); opacity: 1; } 53%, 100% { transform: translateX(688px); opacity: 0; } }
.mg-hv-pill { position: absolute; left: 30px; top: -20px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 14px; border-radius: 8px; background: var(--warm-deep); box-shadow: var(--shadow-deep), 0 0 0 1px rgba(255,255,255,0.12); font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.72); white-space: nowrap; }
.mg-hv-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.mg-hv-pill b { margin-left: 2px; color: var(--white); font-size: 14.5px; font-weight: 500; }
.mg-hv-live { left: -52px; top: 468px; width: 332px; padding: 16px 20px; }
.mg-hv-stats { left: 298px; top: 522px; display: flex; padding: 14px 4px; }
.mg-hv-stats div { padding: 0 16px; border-left: 1px solid var(--border); }
.mg-hv-stats div:first-child { border-left: 0; }
.mg-hv-stats small { display: block; font-size: 11px; color: var(--body); white-space: nowrap; }
.mg-hv-stats b { display: block; margin-top: 2px; color: var(--heading); font-size: 22px; font-weight: 300; line-height: 1.25; white-space: nowrap; }
.mg-hv-stats b i { margin-left: 2px; font-style: normal; font-size: 12px; color: var(--body); }

/* ── 4 つのステップ (説明と画面を左右に。 1 つおきに左右を入れ替える。 説明の幅は決まった値) ── */
.mg-steps { display: grid; gap: 96px; margin: 64px 0 0; padding: 0; list-style: none; }
.mg-step { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: center; }
.mg-step:nth-child(even) { grid-template-columns: minmax(0, 1fr) 440px; }
.mg-step:nth-child(even) .mg-step-copy { order: 2; }
/* 番号: 細い大きな数字＋「STEP 1 / 4」＋進み具合の 4 本 (平たい丸は使わない) */
.mg-step-k { display: flex; align-items: flex-end; gap: 14px; }
.mg-step-no { font-size: 60px; font-weight: 300; line-height: 0.86; letter-spacing: -2px; background: var(--grad-ember); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.mg-step-of { display: grid; gap: 9px; padding-bottom: 3px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; line-height: 1; color: var(--ember); }
.mg-step-bar { display: flex; gap: 4px; }
.mg-step-bar i { width: 24px; height: 3px; border-radius: 2px; background: var(--ember-soft); }
.mg-step-bar i.is-on { background: var(--ember-cta); }
.mg-step-t { margin-top: 20px; font-size: 28px; font-weight: 300; line-height: 1.4; letter-spacing: -0.5px; color: var(--heading); }
.mg-step-lead { margin-top: 10px; font-size: 16px; line-height: 1.9; color: var(--text); }
/* 選ぶものの札 (作る画面の中身と同じ言葉。 選んだものは朱) */
.mg-spec { margin: 22px 0 0; border: 1px solid var(--border); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-ambient); }
.mg-spec > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 48px; padding: 9px 18px; border-top: 1px solid var(--border); }
.mg-spec > div:first-child { border-top: 0; }
.mg-spec dt { font-size: 12.5px; line-height: 1.5; color: var(--body); white-space: nowrap; }
.mg-spec dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; margin: 0; }
.mg-chip { padding: 3px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-size: 12.5px; line-height: 1.6; color: var(--label); white-space: nowrap; }
.mg-chip.is-on { border-color: var(--ember-light); background: var(--ember-tint); font-weight: 500; color: var(--ember-deep); }
.mg-chip.is-more { padding-left: 2px; padding-right: 0; border-color: transparent; background: transparent; color: var(--body); }
.mg-spec.is-togs > div { grid-template-columns: minmax(0, 1fr) auto; }
.mg-spec.is-togs dt { font-size: 14px; color: var(--heading); }
.mg-spec.is-togs dt small { margin-left: 10px; font-size: 12px; color: var(--body); }
.mg-field { display: inline-block; padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); font-size: 13px; line-height: 1.6; color: var(--heading); white-space: nowrap; }
.mg-prog { display: inline-block; width: 96px; height: 6px; border-radius: 3px; background: #ebe3de; overflow: hidden; }
.mg-prog i { display: block; height: 100%; border-radius: 3px; background: var(--grad-ember); transform-origin: left; animation: ml-fill 6s cubic-bezier(.4,0,.2,1) infinite; }
/* 画面の画像: 窓の枠に入れ、 後ろに淡い朱の光 */
.mg-shot { position: relative; margin: 0; }
.mg-shot::before { content: ""; position: absolute; left: 8%; right: -6%; top: 12%; bottom: -10%; pointer-events: none; background: radial-gradient(closest-side, rgba(240,128,80,0.26), rgba(240,128,80,0) 100%); }
.mg-step:nth-child(even) .mg-shot::before { left: -6%; right: 8%; }
.mg-shot-win { position: relative; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-float), 0 0 0 1px rgba(6,27,49,0.06); }
.mg-shot-win img { display: block; width: 100%; height: auto; }
.mg-shot .ml-url { font-family: var(--font); }

/* ── 例のルール (左にルール、 右に図のカード 2 枚。 上端と下端を揃える) ── */
.mg-ex { display: grid; grid-template-columns: minmax(0, 1fr) 488px; gap: 24px; align-items: stretch; margin-top: 56px; }
.mg-sheet { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-elev); }
.mg-sheet-h { display: flex; align-items: center; gap: 14px; padding: 20px 28px; border-bottom: 1px solid #f6e9e1; background: linear-gradient(180deg, var(--ember-tint) 0%, #fdfbfa 100%); }
.mg-sheet-n { flex: 1; min-width: 0; }
.mg-sheet-n b { display: block; color: var(--heading); font-size: 17px; font-weight: 500; line-height: 1.4; }
.mg-sheet-n small { display: block; font-size: 12.5px; color: var(--body); }
.mg-sheet-b { flex: 1; display: flex; flex-direction: column; justify-content: space-around; padding: 10px 28px 26px; }
.mg-sheet-k { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--ember); }
.mg-sheet-k::after { content: ""; flex: 1; height: 1px; background: var(--ember-soft); }
.mg-sheet .ml-cond { padding: 12px 14px; font-size: 14.5px; }
.mg-sheet-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-sheet .ml-and { margin: 7px 0 7px 18px; }
/* 条件どうしのつなぎ (または) は、 和文なので普通の字で */
.ml-and.is-or { font-family: inherit; font-size: 12px; letter-spacing: 0.06em; }
.mg-sheet-foot { padding: 12px 28px; border-top: 1px solid var(--border); background: var(--tint); font-size: 12px; line-height: 1.7; color: var(--body); }
.mg-ex-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mg-art { display: flex; flex-direction: column; }
.mg-art .ml-get-vis { flex: 1; height: auto; min-height: 172px; padding: 20px 24px; }
.mg-art-b { padding: 20px 26px 24px; }
.mg-art-b b { display: block; color: var(--heading); font-size: 18px; font-weight: 500; line-height: 1.5; }
.mg-art-b p { margin-top: 6px; font-size: 14.5px; line-height: 1.85; color: var(--text); }
/* 図 1: 日足と 10 分足を AND でつなぐ */
.mg-tf { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.mg-tf-p { position: relative; padding: 12px 14px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-soft); }
.mg-tf-k { display: inline-block; padding: 1px 8px; border: 1px solid var(--ember-soft); border-radius: 4px; background: var(--ember-tint); font-size: 11px; font-weight: 500; line-height: 1.6; color: var(--ember-deep); }
.mg-tf-p svg { display: block; width: 100%; height: 76px; margin-top: 8px; overflow: visible; }
.mg-tf-p .g { fill: none; stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mg-tf-p .p { fill: none; stroke: #c9b8ad; stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mg-tf-p .m1 { fill: none; stroke: var(--key-line); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-tf-p .m2 { fill: none; stroke: var(--index-gray); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-tf-p .z { fill: rgba(224,86,42,0.1); }
.mg-tf-p .r { fill: none; stroke: var(--key-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-tf-p .b { fill: var(--ember-cta); stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mg-tf-p text { font-family: var(--font); font-size: 10px; fill: var(--ember-deep); }
.mg-tf-p small { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11.5px; line-height: 1.5; color: var(--label); white-space: nowrap; }
.mg-tf-p small i { flex: none; width: 14px; height: 0; border-top: 2.4px solid var(--key-line); }
.mg-tf-p small i.k2 { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--ember-cta); }
.mg-tf-and { padding: 3px 8px; border-radius: 4px; background: var(--white); border: 1px solid var(--ember-light); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--ember); }
/* 図 2: しきい値を変えると、 サインの数が変わる */
.mg-tune { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mg-tune .ml-cond { align-self: flex-start; padding: 8px 12px; font-size: 13px; box-shadow: var(--shadow-soft); }
.mg-tune .mg-roll > b { color: var(--ember-deep); }
.mg-tune svg { display: block; width: 100%; height: 58px; overflow: visible; }
.mg-tune .g { fill: none; stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mg-tune .p { fill: none; stroke: #c9b8ad; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-tune svg g path { fill: var(--ember-cta); }
.mg-tune .s2 { animation: mg-s2 9s ease infinite; }
.mg-tune .s3 { opacity: 0; animation: mg-s3 9s ease infinite; }
@keyframes mg-s2 { 0%, 29% { opacity: 1; } 33.3%, 62% { opacity: 0; } 66.6%, 100% { opacity: 1; } }
@keyframes mg-s3 { 0%, 62% { opacity: 0; } 66.6%, 96% { opacity: 1; } 100% { opacity: 0; } }
.mg-tune-r { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; color: var(--label); }
.mg-tune-r > b { min-width: 3.2em; color: var(--heading); font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.mg-tune.is-step { gap: 8px; }
.mg-tune.is-step .ml-cond { padding: 7px 10px; font-size: 12.5px; box-shadow: none; }
.mg-tune.is-step svg { height: 50px; }

/* ── EA の自作との違い (2026-12-01 組み直し): 上に「自動売買を始めるまで」の手順の 2 本の列、 下に項目ごとの表 ── */
/* 手順の列: 同じ 6 つの升に並べる。 EA の自作は 6 つ・MAKE は 4 つで終わり、 残りの 2 つに「コードもVPSも不要」 */
.mg-lanes { margin-top: 56px; padding: 22px 30px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-elev); }
.mg-lanes-h { display: block; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 12.5px; line-height: 1.5; color: var(--body); }
.mg-lane { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: center; gap: 22px; padding: 20px 0; }
.mg-lane.is-make { margin: 0 -16px; padding: 20px 16px; border-radius: 10px; background: linear-gradient(90deg, var(--ember-tint) 0%, rgba(255,248,244,0.35) 100%); }
.mg-lane-h b { display: flex; align-items: center; gap: 8px; color: var(--heading); font-size: 16px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.mg-lane-h b .logo-mark { width: 22px; height: 22px; border-radius: 6px; font-size: 13px; }
.mg-lane-h small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--body); }
.mg-lane.is-make .mg-lane-h small { font-weight: 500; color: var(--ember-deep); }
.mg-lane-s { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
/* 升どうしをつなぐ線 (升の後ろ。 MAKE は 4 つ目の升まで) */
.mg-lane-s::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 2px; margin-top: -1px; background: #e9e0da; }
.mg-lane.is-make .mg-lane-s::before { right: calc(33.333% + 23px); background: linear-gradient(90deg, var(--ember-light), var(--ember)); }
.mg-lane-s li { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 64px; padding: 9px 12px; border: 1px solid var(--border-warm); border-radius: 8px; background: var(--tint); font-size: 13px; line-height: 1.45; color: var(--body); }
.mg-lane-s li i { display: flex; align-items: center; gap: 6px; font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; line-height: 1; color: #b3a398; }
.mg-lane-s li i em { padding: 2px 6px; border-radius: 999px; background: var(--ember-cta); font-family: var(--font); font-style: normal; font-size: 9.5px; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--white); }
.mg-lane.is-make .mg-lane-s li { border-color: var(--ember-light); background: var(--white); color: var(--heading); font-weight: 500; box-shadow: 0 10px 20px -14px rgba(224,86,42,0.6); }
.mg-lane.is-make .mg-lane-s li i { color: var(--ember); }
.mg-lane-s li.is-end { grid-column: span 2; flex-direction: row; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--ember-light); background: rgba(255,255,255,0.55); box-shadow: none; color: var(--ember-deep); }
.mg-lane-s li.is-end::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ember-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
/* 項目ごとの表: MAKE の列は 1 枚のカードとして浮かせる。 見出しの行は 3 つとも同じ下端に揃える */
.mg-cmp { position: relative; margin-top: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.mg-cmp-hl { position: absolute; right: -12px; top: -14px; bottom: -14px; width: calc(38% + 12px); border: 1px solid var(--ember-light); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-float); }
.mg-cmp-hl::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: 10px 10px 0 0; background: var(--grad-ember); }
.mg-cmp-t { position: relative; width: 100%; border-collapse: collapse; table-layout: fixed; }
.mg-cmp-t .c0 { width: 24%; }
.mg-cmp-t .c1, .mg-cmp-t .c2 { width: 38%; }
.mg-cmp-t th, .mg-cmp-t td { padding: 18px 28px; border-top: 1px solid var(--border-warm); text-align: left; vertical-align: middle; font-size: 15px; font-weight: 400; line-height: 1.7; color: var(--body); }
.mg-cmp-t thead th { padding: 24px 28px 18px; border-top: 0; vertical-align: bottom; }
.mg-cmp-t thead b { display: flex; align-items: center; gap: 8px; color: var(--heading); font-size: 17px; font-weight: 500; line-height: 1.4; }
.mg-cmp-t thead b .logo-mark { width: 22px; height: 22px; border-radius: 6px; font-size: 13px; }
.mg-cmp-t thead small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--body); }
.mg-cmp-k { display: block; font-size: 12.5px; line-height: 1.6; color: var(--body); }
.mg-cmp-t tbody th { display: flex; align-items: center; gap: 12px; color: var(--heading); font-weight: 500; }
.mg-cmp-t td.is-make, .mg-cmp-t th.is-make { padding-left: 36px; padding-right: 36px; }
.mg-cmp-t td.is-make { color: var(--heading); font-weight: 500; }
/* MAKE の列の印: 字の行の上下の真ん中に揃える */
.mg-yes { display: flex; align-items: center; gap: 12px; }
.mg-yes::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ember-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: 0 6px 12px -6px rgba(222,54,0,0.6); }
.mg-cmp-note { margin-top: 30px; font-size: 13.5px; line-height: 1.8; color: var(--body); }
/* 2 色のアイコン (MAKE の入口の .ml-dicon と同じ作りの小さい版) */
.mg-ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(180deg, #ffffff 0%, #fff4ee 100%); border: 1px solid #f6dfd2; box-shadow: inset 0 1px 0 #fff, 0 10px 18px -12px rgba(224,86,42,0.5); }
.mg-ic svg { width: 22px; height: 22px; }
.mg-ic .f1 { fill: var(--ember); }
.mg-ic .f1.o { fill: rgba(224,86,42,0.5); }
.mg-ic .f2 { fill: #fcd9c6; }
.mg-ic .st { fill: none; stroke: var(--ember-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 3 つ並ぶ流れ (手順の 3 つ .steps をカードにした形は quorea-lp.css。 ここはカードの中の「〜を読む →」と図の中身だけ) ── */
.mg-flow .step .mg-more { align-self: flex-start; margin-top: 14px; margin-left: 26px; margin-right: 26px; }
@media (min-width: 1160px) { .mg-flow .step .mg-more { margin-left: 22px; margin-right: 22px; } }
@media (min-width: 961px) and (max-width: 1159px) { .mg-flow .step .mg-more { grid-column: 2; grid-row: 4; margin-top: 12px; margin-left: 32px; margin-right: 32px; } }
@media (max-width: 640px) { .mg-flow .step .mg-more { margin-top: 12px; margin-left: 20px; margin-right: 20px; } }
.mg-sv-acct { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px; }
.mg-sv-acct .mp-acct { padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); }
.mg-sv-acct .mp-lock { width: 30px; height: 30px; border-radius: 8px; }
.mg-sv-acct .mp-acct-t b { font-size: 12.5px; white-space: nowrap; }
.mg-sv-acct .mp-acct-t small { font-size: 10.5px; white-space: nowrap; }
.mg-sv-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--ember-light); border-radius: 8px; background: var(--white); box-shadow: 0 10px 20px -14px rgba(224,86,42,0.6); }
.mg-sv-row .ml-rimg { width: 30px; height: 30px; border-radius: 8px; }
.mg-sv-row .ml-rimg svg { width: 16px; height: 16px; }
.mg-sv-row .ml-run-name b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-sv-row .ml-run-name small { font-size: 10.5px; }
.mg-sv-toast { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--warm-deep); font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.86); white-space: nowrap; overflow: hidden; animation: mg-toast 7s ease infinite; }
.mg-sv-toast span { flex: none; padding: 1px 7px; border-radius: 4px; background: var(--ember-cta); font-size: 10.5px; color: var(--white); }
@keyframes mg-toast { 0%, 24% { opacity: 0; transform: translateY(8px); } 32%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ── 結果の読み方 (2026-12-01 組み直し。 先に「どんな局面で稼ぐロボットか」を決めてから読む。 得意な局面だけで稼ぐ形を否定しない) ── */
.mg-rv { display: flex; flex-direction: column; justify-content: center; }
/* 01 狙う局面: いつも少しずつ稼ぐ形と、 得意な局面だけで稼ぐ形 (どちらも良い形として並べる) */
.mg-rv-role { gap: 10px; }
.mg-role { display: grid; grid-template-columns: 38px minmax(0, 1fr) 96px; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border: 1px solid var(--ember-light); border-radius: 10px; background: var(--white); box-shadow: 0 10px 20px -14px rgba(224,86,42,0.6); }
.mg-role .ml-rthumb { width: 38px; height: 38px; border-radius: 9px; }
.mg-role-t { min-width: 0; }
.mg-role-t b { display: block; color: var(--heading); font-size: 13.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.mg-role-t small { display: block; margin-top: 1px; font-size: 11px; line-height: 1.5; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-role-c { display: block; width: 96px; height: 34px; overflow: visible; }
.mg-role-c .z { fill: rgba(224,86,42,0.12); }
.mg-role-c .l { fill: none; stroke: var(--key-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* 02 取引回数: 狙った局面 (帯) が来るたびに取引しているか。 帯の外では取引しない */
.mg-rv-reg { gap: 14px; }
.mg-reg { position: relative; height: 78px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.mg-reg .b { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--ember-light); border-right: 1px dashed var(--ember-light); background: rgba(224,86,42,0.09); }
.mg-reg .ax { position: absolute; left: 14px; right: 14px; bottom: 22px; height: 1px; background: #e3dad4; }
.mg-reg .t { position: absolute; bottom: 23px; width: 0; height: 0; margin-left: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 11px solid var(--ember-cta); }
.mg-reg-c { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.mg-reg-c span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-size: 11.5px; line-height: 1.5; color: var(--label); white-space: nowrap; }
.mg-reg-c span.is-ok { border-color: transparent; background: var(--ember-cta); font-weight: 500; color: var(--white); }
.mg-reg-c i.b { width: 12px; height: 10px; border: 1px dashed var(--ember-light); border-radius: 2px; background: rgba(224,86,42,0.12); }
.mg-reg-c i.t { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--ember-cta); }
/* 03 損益の推移: 狙った局面で毎回稼いでいる形と、 1 回だけの当たり */
.mg-rv-src { flex-direction: row; align-items: stretch; gap: 14px; }
.mg-rv-half { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--ember-light); border-radius: 8px; background: var(--white); box-shadow: 0 14px 28px -16px rgba(224,86,42,0.6); }
.mg-rv-half.is-dim { border-color: var(--border); box-shadow: none; }
.mg-rv-k { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: #f1ece8; font-size: 11px; line-height: 1.6; color: var(--body); white-space: nowrap; }
.mg-rv-k.is-ok { background: var(--ember-cta); font-weight: 500; color: var(--white); }
.mg-rv-half svg { flex: 1; display: block; width: 100%; min-height: 0; overflow: visible; }
.mg-rv-dd .g, .mg-rv-half .g { fill: none; stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mg-rv-half .l { fill: none; stroke: var(--key-line); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-rv-half .z { fill: rgba(224,86,42,0.1); }
.mg-rv-half.is-dim .l { stroke: var(--index-gray); }
.mg-rv-half.is-dim .z { fill: rgba(154,134,118,0.14); }
/* 04 最大の下げ: 山から谷までを示す */
.mg-rv-dd { position: relative; padding-top: 14px; padding-bottom: 14px; }
.mg-rv-dd svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mg-rv-dd .z { fill: rgba(224,86,42,0.1); }
.mg-rv-dd .l { fill: none; stroke: var(--key-line); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-rv-dd .br { fill: none; stroke: var(--ember-deep); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.mg-rv-dd .pk, .mg-rv-dd .tr { fill: var(--ember-cta); stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mg-rv-tag { position: absolute; display: flex; flex-direction: column; padding: 6px 12px 7px; border: 1px solid var(--ember-light); border-radius: 8px; background: var(--white); box-shadow: 0 14px 28px -16px rgba(224,86,42,0.6); font-size: 11px; line-height: 1.4; color: var(--body); white-space: nowrap; }
.mg-rv-tag b { color: var(--heading); font-size: 20px; font-weight: 300; line-height: 1.2; letter-spacing: -0.4px; }
/* 組み合わせる: 得意な局面の違うロボットの線と、 組み合わせた線 (幅いっぱいのカード。 図は説明のための例) */
.mg-combo { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 44px; margin-top: 20px; padding: 34px 36px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-ambient); }
.mg-combo-t { margin-top: 8px; font-size: 22px; font-weight: 400; line-height: 1.5; letter-spacing: -0.3px; color: var(--heading); }
.mg-combo-c p { margin-top: 12px; font-size: 15px; line-height: 1.9; color: var(--text); }
.mg-combo-v { position: relative; margin: 0; padding: 20px 22px 14px; border: 1px solid #f6e9e1; border-radius: 10px; background: linear-gradient(180deg, var(--ember-tint) 0%, #fdfbfa 100%); }
.mg-combo-v svg { display: block; width: 100%; height: 196px; overflow: visible; }
.mg-combo-v .g { fill: none; stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mg-combo-v .z { fill: rgba(224,86,42,0.1); }
.mg-combo-v .la, .mg-combo-v .lb, .mg-combo-v .lc { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-combo-v .la { stroke: #b3a398; stroke-width: 2; }
.mg-combo-v .lb { stroke: #ec9572; stroke-width: 2; }
.mg-combo-v .lc { stroke: #e0562a; stroke-width: 3.6; }
.mg-combo-z { position: absolute; left: calc(22px + (100% - 44px) * 0.484); top: 26px; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--white); font-size: 10.5px; font-weight: 500; line-height: 1.5; color: var(--ember-deep); white-space: nowrap; }
.mg-combo-lg { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 11.5px; line-height: 1.6; color: var(--body); }
.mg-combo-lg i { display: inline-block; width: 18px; height: 0; margin-right: 6px; vertical-align: 3px; border-top: 2px solid #b3a398; }
.mg-combo-lg i.b { border-top-color: #ec9572; }
.mg-combo-lg i.c { border-top: 3.6px solid #e0562a; vertical-align: 2px; }

/* ── 公開後に再現されるか (分かったことを 3 枚のカードに。 図は定数の数字から描く)
   図の色は実績のページと同じ: 主役 = 朱 #e0562a・比べる相手 = 暖かい灰色 #b3a398・マスの空き = #e9e0da。 値は字で出す ── */
.mg-page { --mg-hot: #e0562a; --mg-cmp: #b3a398; --mg-off: #e9e0da; }
.mg-ev { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 56px; }
.mg-ev-card { display: flex; flex-direction: column; padding: 34px 36px 30px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-elev); }
.mg-ev-k { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.mg-ev-t { margin-top: 8px; font-size: 22px; font-weight: 400; line-height: 1.5; letter-spacing: -0.3px; color: var(--heading); }
.mg-ev-h p { margin-top: 8px; font-size: 15px; line-height: 1.85; color: var(--text); }
/* 凡例 (色の四角・線・点＋字) */
.mg-lg { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.6; color: var(--body); }
.mg-lg li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.mg-lg i { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--mg-cmp); }
.mg-lg i.is-after { background: var(--mg-hot); }
.mg-lg i.is-wf { width: 8px; height: 8px; border-radius: 1.5px; background: var(--mg-hot); }
.mg-lg i.is-pt-many, .mg-lg i.is-pt-few { border-radius: 50%; }
.mg-lg i.is-pt-few { background: var(--mg-hot); }
.mg-lg i.is-ln-top { width: 20px; height: 3px; border-radius: 2px; background: var(--mg-hot); }
.mg-lg i.is-ln { width: 20px; height: 2px; border-radius: 1px; background: #d5c9c1; }
/* 01 市場ごと: バックテストと公開後の棒＋下回った割合のマス目 */
.mg-mks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--border); }
.mg-mk { padding: 26px 36px 4px 0; }
.mg-mk + .mg-mk { padding: 26px 0 4px 36px; border-left: 1px solid var(--border); }
.mg-mk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mg-mk-h b { color: var(--heading); font-size: 16px; font-weight: 500; }
.mg-mk-h span { font-size: 12.5px; color: var(--body); font-variant-numeric: tabular-nums; }
.mg-pair { display: grid; gap: 14px; margin-top: 18px; }
.mg-pair-r { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "k k" "bar v"; align-items: center; column-gap: 14px; row-gap: 7px; }
.mg-pair-r small { grid-area: k; font-size: 12.5px; line-height: 1.4; color: var(--body); }
.mg-bar { grid-area: bar; position: relative; height: 18px; border-left: 1px solid #d9cfc8; }
.mg-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); min-width: 3px; border-radius: 0 4px 4px 0; background: var(--mg-cmp); }
.mg-bar.is-after::before { background: var(--mg-hot); }
.mg-pair-r b { grid-area: v; color: var(--body); font-size: 30px; font-weight: 300; line-height: 1; letter-spacing: -0.8px; text-align: right; white-space: nowrap; }
.mg-pair-r b i { margin-left: 2px; font-style: normal; font-size: 15px; letter-spacing: 0; }
.mg-pair-r.is-after b { color: var(--heading); }
.mg-wf { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 22px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.mg-waffle { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; transform: scaleY(-1); }
.mg-waffle i { aspect-ratio: 1; border-radius: 1.5px; background: var(--mg-off); }
.mg-waffle i.on { background: var(--mg-hot); }
.mg-wf p { font-size: 14px; line-height: 1.75; color: var(--text); }
.mg-wf p b { display: block; margin-bottom: 4px; color: var(--heading); font-size: 36px; font-weight: 300; line-height: 1.05; letter-spacing: -1px; }
.mg-wf p b i { margin-left: 2px; font-style: normal; font-size: 16px; letter-spacing: 0; }
/* 02 バックテストの成績の順に分けた 5 つの組: 左 = バックテスト・右 = 公開後の 1 年。 上位 2 割の線だけ朱 (順位の入れ替わりを見せる)。 右に上位 2 割の数字と最大の下げ */
.mg-f2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 44px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--border); }
.mg-slope-h { position: relative; height: 40px; margin: 0 124px 0 118px; }
.mg-slope-h span { position: absolute; bottom: 12px; transform: translateX(-50%); font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--label); text-align: center; white-space: nowrap; }
.mg-slope-h span:first-child { left: 0; }
.mg-slope-h span:last-child { left: 100%; }
.mg-slope-h small { display: block; font-size: 11px; font-weight: 400; color: var(--body); }
.mg-slope-p { position: relative; height: 250px; margin: 0 124px 8px 118px; }
.mg-slope-p svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mg-slope-p .ax { stroke: #e3dad4; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mg-slope-p .ln { stroke: #d5c9c1; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mg-slope-p .ln.is-top { stroke: var(--mg-hot); stroke-width: 3.6; }
.mg-sd { position: absolute; top: calc(var(--y) * 1%); z-index: 1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--mg-cmp); box-shadow: 0 0 0 2px var(--white); }
.mg-sd.is-l { left: 0; }
.mg-sd.is-r { left: 100%; }
.mg-sd.is-top { z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--mg-hot); }
.mg-sd b { position: absolute; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-sd.is-l b { right: 16px; text-align: right; }
.mg-sd.is-r b { left: 16px; }
.mg-sd.is-top b { font-size: 14px; color: var(--heading); }
.mg-sd b em { margin-right: 6px; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--body); }
.mg-sd.is-r b em { margin: 0 0 0 6px; color: var(--ember-deep); font-weight: 500; }
.mg-take { padding: 24px 26px 22px; border: 1px solid var(--ember-soft); border-radius: 10px; background: var(--ember-tint); }
.mg-take-k { display: block; font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--ember-deep); }
.mg-take-n { display: flex; align-items: flex-end; gap: 16px; margin-top: 12px; }
.mg-take-n span { min-width: 0; }
.mg-take-n small { display: block; font-size: 11.5px; line-height: 1.5; color: var(--body); white-space: nowrap; }
.mg-take-n b { display: block; margin-top: 4px; color: var(--heading); font-size: 34px; font-weight: 300; line-height: 1.05; letter-spacing: -1px; white-space: nowrap; }
.mg-take-n .is-bt b { color: var(--body); }
.mg-take-n b i { margin-left: 2px; font-style: normal; font-size: 16px; letter-spacing: 0; }
.mg-take-to { position: relative; flex: none; align-self: center; width: 22px; height: 2px; margin-top: 22px; background: var(--ember-light); }
.mg-take-to::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--ember-light); border-right: 2px solid var(--ember-light); transform: rotate(45deg); }
.mg-take-dd { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ember-soft); }
.mg-take-dd > small { display: block; margin-bottom: 4px; font-size: 12px; line-height: 1.5; color: var(--body); }
.mg-ddr { display: grid; grid-template-columns: 84px minmax(0, 1fr) 96px; align-items: center; gap: 10px; margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--label); }
.mg-ddr .trk { display: block; height: 10px; }
.mg-ddr .trk i { display: block; width: var(--w); height: 100%; border-radius: 0 3px 3px 0; background: var(--mg-cmp); }
.mg-ddr.is-top .trk i { background: var(--mg-hot); }
.mg-ddr b { font-weight: 500; text-align: right; color: var(--heading); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* 03 条件の数: 組ごとに、 少ない組 (灰) と多い組 (朱) の点を線でつなぐ。 横の目盛り = 公開後の 1 年がプラスだったロボットの割合 (50〜100%)・右に差 */
.mg-dumb { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.mg-dumb-hd, .mg-dumb-x, .mg-dumb-r { display: grid; grid-template-columns: 236px minmax(0, 1fr) 104px; column-gap: 28px; align-items: center; }
.mg-dumb-hd { padding-bottom: 4px; font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--label); }
.mg-dumb-hd span:last-child { text-align: right; }
.mg-dumb-x { height: 22px; }
.mg-dumb-x > span { position: relative; grid-column: 2; height: 100%; }
.mg-dumb-x b { position: absolute; left: calc((var(--v) - 50) * 2%); top: 5px; transform: translateX(-50%); font-size: 11px; font-weight: 400; line-height: 1; color: var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mg-dumb-r { height: 52px; border-top: 1px solid var(--grid); }
.mg-dumb-r:last-of-type { border-bottom: 1px solid var(--grid); }
.mg-dumb-n { font-size: 13px; line-height: 1.4; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-dumb-n b { display: inline-block; width: 34px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; color: var(--ember); }
.mg-dumb-t { position: relative; height: 100%; background: linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 20% 100% repeat-x; box-shadow: inset -1px 0 0 var(--grid); }
/* 2 つの点をつなぐ線は、 点の白い縁 (半径 6.5px ＋ 2px) の外で止める (点の中まで入らないように。 2026-12-01 飛田さん「丸の中まで線が入っているのが違和感」)。
   名前は .ln にしない (quorea-lp.css の .ln = 丸い番号の部品の z-index・枠線・影が付いて、 点の上に描かれていた) */
.mg-dumb-t .mg-dumb-seg { position: absolute; left: calc((var(--a) - 50) * 2% + 9px); top: 50%; width: calc((var(--b) - var(--a)) * 2% - 18px); height: 2px; margin-top: -1px; border-radius: 1px; background: var(--ember-light); }
.mg-dumb-t .pt { position: absolute; z-index: 1; left: calc((var(--v) - 50) * 2%); top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--mg-cmp); box-shadow: 0 0 0 2px var(--white); }
/* 見せたい方 = 条件が少ない組 (朱・値は濃い字)、 比べる相手 = 多い組 (暖かい灰・値は薄い字)。 2026-12-01 飛田さん「条件が少ない方が良いと言いたいので色が逆」 */
.mg-dumb-t .pt.is-few { background: var(--mg-hot); }
.mg-dumb-t .pt em { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 11.5px; line-height: 1; color: var(--body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-dumb-t .pt.is-few em { font-weight: 500; color: var(--heading); }
.mg-dumb-t .pt.is-many em { left: auto; right: 18px; }
.mg-dumb-g { font-size: 22px; font-weight: 300; line-height: 1; letter-spacing: -0.4px; text-align: right; color: var(--heading); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mg-dumb-r:hover { background: var(--ember-tint); }

/* ── 気をつけること (MAKE の入口の .about-terms。 図だけこのページの中身) ── */
.mg-page .ml-gets-head { margin-top: 72px; }
.mg-tips { margin-top: 22px; }
.mg-tips .at-k { font-size: 11px; }
.mg-page .mg-tips li:nth-child(2) .at-k { background: var(--ember-tint); border-color: var(--ember-soft); color: var(--ember-cta); }
/* 01 条件を足しすぎない: 2 つまでははっきり、 足した分は薄く */
.mg-tv-few { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; -webkit-mask-image: linear-gradient(#000 72%, transparent 100%); mask-image: linear-gradient(#000 72%, transparent 100%); }
.mg-tv-few .ml-cond { padding: 6px 10px; font-size: 12px; }
.mg-tv-few .ml-cond.is-x1 { opacity: 0.5; }
.mg-tv-few .ml-cond.is-x2 { opacity: 0.24; }
.mg-tv-cut { display: flex; align-items: center; gap: 10px; margin: 1px 0; font-size: 11px; font-weight: 500; line-height: 1.4; color: var(--ember-deep); white-space: nowrap; }
.mg-tv-cut::before, .mg-tv-cut::after { content: ""; flex: 1; height: 1px; background: var(--ember-light); }
/* 02 理由のあるルール: 稼げる理由のメモ */
.mg-tv-why { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding-left: 26px; }
.mg-why { padding: 12px 16px 13px; border-top: 3px solid var(--amber); border-radius: 4px 4px 10px 4px; background: var(--white); box-shadow: var(--shadow-deep); font-size: 13.5px; font-weight: 500; line-height: 1.6; color: var(--heading); transform: rotate(-2deg); }
.mg-why small { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 400; color: var(--body); }
.mg-why-ok { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 4px 11px 4px 8px; border-radius: 999px; background: var(--ember-cta); font-size: 11.5px; font-weight: 500; line-height: 1.5; color: var(--white); }
.mg-why-ok::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 03 公開後の成績 */
.mg-tv-live .ml-ring { position: absolute; left: 20px; top: 16px; animation: ml-ring-loop 6s cubic-bezier(.3,.7,.2,1) infinite; }
.mg-tv-live .ml-ring span { font-size: 19px; }
.mg-tv-live .ml-pub { right: 20px; top: 18px; }
.mg-tv-live .ml-curve { height: 108px; margin-top: 54px; }
.mg-tv-live .k1 { stroke-dasharray: 400; stroke-dashoffset: 400; animation: ml-line3 6s ease infinite; }
/* 強く見せる一文: 暗い帯 (MAKE の入口の .ml-soon と同じ地)。 右は公開から 1 年の印 */
.mg-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 372px; align-items: center; gap: 40px; margin-top: 24px; padding: 34px 40px; overflow: hidden; border-radius: 12px; background: radial-gradient(ellipse 55% 140% at 100% 50%, rgba(224,86,42,0.45), transparent 70%), linear-gradient(120deg, var(--warm-deep) 0%, var(--brand-dark) 100%); box-shadow: var(--shadow-float); color: rgba(255,255,255,0.8); }
.mg-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse 40% 90% at 100% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 40% 90% at 100% 50%, #000, transparent 75%); }
.mg-band > * { position: relative; z-index: 1; }
.mg-band p { margin-top: 12px; }
.mg-band p small { display: block; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.74); }
.mg-band p b { display: block; margin-top: 2px; color: var(--white); font-size: 28px; font-weight: 300; line-height: 1.4; letter-spacing: -0.5px; }
.mg-band p b em { font-style: normal; font-weight: 400; background: linear-gradient(135deg, #ffb27d 0%, #f0703e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mg-yr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.mg-yr-a, .mg-yr-b { padding: 4px 10px; border: 1px solid rgba(255,255,255,0.24); border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.5; color: rgba(255,255,255,0.86); white-space: nowrap; }
.mg-yr-b { border-color: transparent; background: var(--ember-cta); color: var(--white); box-shadow: 0 10px 22px -10px rgba(224,86,42,0.9); }
.mg-yr-t { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.mg-yr-t i { height: 8px; border-radius: 2px; background: rgba(255,255,255,0.14); animation: mg-yr 7s ease infinite; animation-delay: calc(var(--i) * 0.22s); }
@keyframes mg-yr { 0%, 4% { background: rgba(255,255,255,0.14); } 10%, 88% { background: #f0703e; } 100% { background: rgba(255,255,255,0.14); } }
.mg-yr-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.58); }
.mg-yr-cap b { font-weight: 500; color: #f39a6a; white-space: nowrap; }

/* ── タブレット (641〜1159): 全部 1 列に積む。 文は 1 行に収まる長さで書いてある ── */
@media (max-width: 1159px) {
	.mg-hero { padding: 56px 0 72px; }
	.mg-hero-grid { grid-template-columns: 1fr; gap: 44px; }
	.mg-h1 { font-size: 44px; }
	.mg-hv { height: auto; max-width: 720px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
	.mg-hv .ml-glow { top: -4%; height: 70%; }
	.mg-hv .ml-win { grid-column: 1 / -1; position: relative; top: auto; width: 100%; transform: none; }
	.mg-hv .ml-card, .mg-code, .mg-hv-pill { position: relative; left: auto; top: auto; width: auto; }
	/* 矢印の丸は 34px の丸のまま (幅を auto にすると中の矢印の 16px に縮んで楕円になる。 2026-12-01 飛田さん「スマホでつぶれてる」) */
	.mg-hv-to { position: relative; left: auto; top: auto; }
	.mg-code { transform: none; align-self: stretch; }
	.mg-hv-rule { animation: none; }
	.mg-hv .ml-visual-note { grid-column: 1 / -1; position: static; text-align: right; }
	.mg-hv-pill { grid-column: 1 / -1; grid-row: 1; justify-self: start; margin-bottom: -4px; }
	.mg-hv-bt { grid-template-columns: minmax(0, 1fr) auto; }
	.mg-hv-live, .mg-hv-stats { animation: none; }
	.mg-steps { gap: 64px; margin-top: 48px; }
	.mg-step, .mg-step:nth-child(even) { grid-template-columns: 1fr; gap: 32px; }
	.mg-step:nth-child(even) .mg-step-copy { order: 0; }
	.mg-step-copy, .mg-shot { max-width: 720px; }
	.mg-shot::before, .mg-step:nth-child(even) .mg-shot::before { left: 4%; right: 4%; }
	.mg-ex { grid-template-columns: 1fr; gap: 20px; max-width: 720px; margin-top: 44px; }
	.mg-ex-side { grid-template-rows: none; gap: 20px; }
	/* 手順の列は、 名前を上に・升を 3 つずつ (MAKE は 2 段目の残りに「不要」) */
	.mg-lanes { max-width: 720px; margin-top: 44px; padding: 20px 22px 12px; }
	.mg-lane { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
	.mg-lane.is-make { margin: 0 -12px; padding: 18px 12px; }
	.mg-lane-s { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mg-lane-s::before { display: none; }
	/* 比べる表は、 項目ごとに縦に積む (列の名前を各行に出す) */
	.mg-cmp { max-width: 720px; margin-top: 28px; border: 0; background: none; }
	.mg-cmp-hl { display: none; }
	.mg-cmp-t, .mg-cmp-t tbody, .mg-cmp-t tr, .mg-cmp-t th, .mg-cmp-t td { display: block; width: auto; }
	.mg-cmp-t thead, .mg-cmp-t colgroup { display: none; }
	.mg-cmp-t tbody tr { margin-top: 14px; padding: 18px 20px 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-ambient); }
	.mg-cmp-t tbody tr:first-child { margin-top: 0; }
	.mg-cmp-t tbody th, .mg-cmp-t tbody td { padding: 0; border: 0; }
	.mg-cmp-t tbody th { margin-bottom: 12px; }
	.mg-cmp-t tbody td { position: relative; margin-top: 8px; padding: 10px 14px 11px; border: 1px solid transparent; border-radius: 8px; background: var(--tint); font-size: 14.5px; }
	.mg-cmp-t tbody td::before { content: "EAを自作する"; display: block; margin-bottom: 2px; font-size: 11px; font-weight: 400; color: var(--body); }
	.mg-cmp-t tbody td.is-make { padding: 10px 14px 11px; border-color: var(--ember-light); background: var(--ember-tint); }
	.mg-cmp-t tbody td.is-make::before { content: "QUOREA MAKE"; color: var(--ember-deep); }
	.mg-cmp-note { max-width: 720px; margin-top: 22px; }
	.mg-page .mg-reads { grid-template-columns: 1fr; gap: 16px; max-width: 720px; }
	.mg-combo { grid-template-columns: 1fr; gap: 26px; max-width: 720px; padding: 30px 30px; }
	.mg-ev { gap: 16px; max-width: 720px; margin-top: 44px; }
	.mg-ev-card { padding: 30px 30px 26px; }
	/* 市場ごとの 2 つは縦に積む (横に並べると、 マス目の横の文が狭くなって落ちる) */
	.mg-mks { grid-template-columns: minmax(0, 1fr); }
	.mg-mk, .mg-mk + .mg-mk { padding: 24px 0 4px; border-left: 0; }
	.mg-mk + .mg-mk { margin-top: 22px; border-top: 1px solid var(--border); }
	.mg-pair-r { grid-template-columns: minmax(0, 1fr) 96px; }
	.mg-wf { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
	.mg-f2 { grid-template-columns: 1fr; gap: 24px; }
	.mg-dumb-hd, .mg-dumb-x, .mg-dumb-r { grid-template-columns: 196px minmax(0, 1fr) 88px; column-gap: 20px; }
	.mg-page .ml-gets-head { margin-top: 56px; }
	.mg-page .mg-tips { grid-template-columns: 1fr; gap: 16px; max-width: 720px; }
	.mg-band { grid-template-columns: 1fr; gap: 24px; max-width: 720px; padding: 30px 30px; }
}

/* ── スマホ (640 以下) ── */
@media (max-width: 640px) {
	.mg-hero-grid { gap: 36px; }
	.mg-h1 { font-size: 34px; line-height: 1.32; letter-spacing: -0.8px; }
	.mg-hv, .mg-hv-bt { grid-template-columns: 1fr; gap: 12px; }
	.mg-hv-to { justify-self: center; margin: -4px 0; transform: rotate(90deg); }
	.mg-code pre { height: 150px; font-size: 10px; }
	.mg-hv-pill { margin-bottom: -2px; padding: 8px 14px 8px 12px; }
	.mg-hv-stats { justify-content: space-between; padding: 14px 6px; }
	.mg-hv-stats div { padding: 0 12px; }
	.mg-hv-stats b { font-size: 20px; }
	.mg-steps { gap: 52px; margin-top: 32px; }
	.mg-step, .mg-step:nth-child(even) { gap: 24px; }
	.mg-step-no { font-size: 52px; }
	.mg-step-t { margin-top: 16px; font-size: 23px; }
	.mg-step-lead { font-size: 15px; }
	.mg-spec { margin-top: 18px; }
	.mg-spec > div { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 9px 14px; }
	.mg-chip { padding: 2px 9px; font-size: 12px; }
	.mg-spec.is-togs dt small { display: block; margin: 0; }
	.mg-shot-win { border-radius: 10px; }
	.mg-ex { gap: 14px; margin-top: 32px; }
	.mg-ex-side { gap: 14px; }
	.mg-sheet-h { padding: 16px 18px; }
	.mg-sheet-b { padding: 4px 18px 22px; }
	.mg-sheet-k { margin: 20px 0 10px; }
	.mg-sheet .ml-cond { padding: 10px 12px; font-size: 13.5px; }
	.mg-sheet-foot { padding: 10px 18px; }
	.mg-art .ml-get-vis { min-height: 0; padding: 16px 16px; }
	.mg-art-b { padding: 18px 18px 20px; }
	.mg-art-b b { font-size: 17px; }
	.mg-tf { gap: 6px; }
	.mg-tf-p { padding: 10px 10px 8px; }
	.mg-tf-p svg { height: 62px; }
	.mg-tf-p small { font-size: 10.5px; }
	.mg-tf-and { padding: 2px 5px; font-size: 10px; }
	.mg-lanes { margin-top: 32px; padding: 16px 16px 8px; }
	.mg-lane { padding: 16px 0; }
	.mg-lane.is-make { margin: 0 -8px; padding: 16px 8px; }
	.mg-lane-s { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.mg-lane-s li { min-height: 56px; padding: 8px 10px; font-size: 12.5px; }
	.mg-cmp { margin-top: 20px; }
	.mg-cmp-t tbody tr { margin-top: 12px; padding: 16px 16px 18px; }
	.mg-cmp-note { margin-top: 18px; font-size: 13px; }
	.mg-page .mg-reads { gap: 14px; }
	.mg-role { grid-template-columns: 34px minmax(0, 1fr) 72px; gap: 10px; padding: 9px 10px 9px 8px; }
	.mg-role .ml-rthumb { width: 34px; height: 34px; border-radius: 8px; }
	.mg-role-c { width: 72px; height: 30px; }
	.mg-role-t b { font-size: 13px; }
	.mg-reg { height: 70px; }
	.mg-reg-c span { padding: 2px 8px; font-size: 11px; }
	.mg-rv-src { gap: 10px; }
	.mg-rv-half { padding: 10px 10px; }
	.mg-combo { gap: 22px; padding: 24px 20px; }
	.mg-combo-t { font-size: 20px; }
	.mg-combo-v { padding: 16px 14px 12px; }
	.mg-combo-v svg { height: 160px; }
	.mg-combo-z { left: calc(14px + (100% - 28px) * 0.484); top: 20px; }
	.mg-ev { gap: 14px; margin-top: 32px; }
	.mg-ev-card { padding: 24px 20px 22px; }
	.mg-ev-t { font-size: 20px; }
	.mg-mks { grid-template-columns: 1fr; margin-top: 20px; }
	.mg-mk, .mg-mk + .mg-mk { padding: 22px 0 0; border-left: 0; }
	.mg-mk + .mg-mk { margin-top: 24px; border-top: 1px solid var(--border); }
	.mg-pair-r b { font-size: 26px; }
	.mg-wf { margin-top: 20px; padding-top: 18px; }
	.mg-wf p b { font-size: 32px; }
	.mg-f2 { margin-top: 20px; padding-top: 20px; }
	/* 線の図は、 組の名前を数字の上に置いて左右の幅を詰める */
	.mg-slope-h { margin: 0 64px; }
	.mg-slope-p { height: 220px; margin: 0 64px 8px; }
	.mg-sd b em { display: block; margin: 0 0 1px; font-size: 10.5px; }
	.mg-sd.is-r b em { margin: 1px 0 0; }
	.mg-sd.is-top b { font-size: 13px; }
	.mg-take { padding: 20px 18px 18px; }
	.mg-take-n { gap: 12px; }
	.mg-take-n b { font-size: 30px; }
	.mg-ddr { grid-template-columns: 76px minmax(0, 1fr) 84px; gap: 8px; font-size: 12px; }
	/* 条件の数の図は、 名前と差を上に・点の列を下に */
	.mg-dumb { padding-top: 18px; }
	.mg-dumb-hd { display: block; padding-bottom: 6px; }
	.mg-dumb-hd span:first-child, .mg-dumb-hd span:last-child { display: none; }
	.mg-dumb-x { grid-template-columns: 1fr; }
	.mg-dumb-x > span { grid-column: 1; }
	.mg-dumb-r { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n g" "t t"; row-gap: 2px; height: auto; padding: 10px 0 4px; }
	.mg-dumb-n { grid-area: n; font-size: 12.5px; }
	.mg-dumb-g { grid-area: g; font-size: 17px; }
	.mg-dumb-t { grid-area: t; height: 30px; }
	.mg-page .ml-gets-head { margin-top: 44px; }
	.mg-page .mg-tips { gap: 14px; }
	.mg-band { gap: 20px; margin-top: 14px; padding: 26px 22px; }
	.mg-band p small { font-size: 14px; }
	.mg-band p b { font-size: 21px; letter-spacing: -0.3px; }
	.mg-yr { gap: 8px; }
	.mg-yr-t { gap: 3px; }
}
/* 441〜640 (小さいタブレットなど) は、 中身の幅を 440 の時と同じにして真ん中に置く (字の大きさは 440 の時のまま = 375 と同じ所で折り返す) */
@media (min-width: 441px) and (max-width: 640px) {
	.mg-page main .wrap { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) {
	.mg-slides img, .mg-roll > b, .mg-sw.is-anim, .mg-sw.is-anim::after, .mg-hv-rule, .mg-hv-rule *, .mg-bts *, .mg-prog i, .mg-tune .s2, .mg-tune .s3, .mg-sv-toast, .mg-yr-t i, .mg-tv-live .k1, .mg-tv-live .ml-ring { animation: none !important; }
	.mg-bts .line, .mg-tv-live .k1 { stroke-dashoffset: 0; }
	.mg-bts .area, .mg-bts .dd { opacity: 1; }
	.mg-bts .rug { -webkit-clip-path: none; clip-path: none; }
	.mg-bts .scan { display: none; }
	.mg-yr-t i { background: #f0703e; }
}
/* 字の大きさを幅に合わせる規則 (スマホ) は、 この下に道具 (QUOREA刷新\make_guide\fluid_css.py) が書き足す。 手で書き換えない */
/* FLUID-BEGIN */
@media (max-width: 640px) {
	.mg-hero .lead { font-size: clamp(13.43px, calc((100vw - 32.0px) / 21.438), 19.03px); }
	.mg-page .sec-head .lead { font-size: clamp(13.43px, calc((100vw - 32.0px) / 21.438), 19.03px); }
	.mg-h1 { font-size: clamp(28.55px, calc((100vw - 32.0px) / 10.088), 40.44px); }
	.mg-page .sec-head .h-section { font-size: clamp(22.67px, calc((100vw - 32.0px) / 12.704), 32.12px); }
	.mg-step-lead { font-size: clamp(12.59px, calc((100vw - 32.0px) / 22.867), 17.84px); }
	.mg-step-t { font-size: clamp(19.31px, calc((100vw - 32.0px) / 14.913), 27.36px); }
	.mg-art-b p { font-size: clamp(11.89px, calc((100vw - 70.0px) / 21.034), 17.59px); }
	.mg-art-b b { font-size: clamp(13.93px, calc((100vw - 70.0px) / 17.941), 20.62px); }
	.mg-sheet .ml-cond { font-size: clamp(10.84px, calc((100vw - 96.0px) / 20.667), 16.65px); }
	.mg-combo-c p { font-size: clamp(12.26px, calc((100vw - 74.0px) / 20.067), 18.24px); }
	.mg-combo-t { font-size: clamp(16.35px, calc((100vw - 74.0px) / 15.050), 24.32px); }
	.mg-cmp-note { font-size: clamp(10.92px, calc((100vw - 32.0px) / 26.385), 15.46px); }
	.mg-lanes-h { font-size: clamp(10.28px, calc((100vw - 66.0px) / 24.720), 15.13px); }
	.mg-page .mg-flow .step .h-card { font-size: clamp(14.71px, calc((100vw - 74.0px) / 16.722), 21.89px); }
	.mg-reads .ml-get-body p { font-size: clamp(11.07px, calc((100vw - 112.0px) / 18.786), 17.46px); }
	.mg-reads .ml-get-body b { font-size: clamp(13.44px, calc((100vw - 112.0px) / 15.471), 21.20px); }
	.mg-ev-h p { font-size: clamp(12.26px, calc((100vw - 74.0px) / 20.067), 18.24px); }
	.mg-ev-t { font-size: clamp(16.35px, calc((100vw - 74.0px) / 15.050), 24.32px); }
	.mg-wf p { font-size: clamp(10.17px, calc((100vw - 174.0px) / 14.357), 18.53px); }
	.mg-tips > li > p { font-size: clamp(11.37px, calc((100vw - 82.0px) / 20.929), 17.11px); }
	.mg-tips > li > b { font-size: clamp(14.62px, calc((100vw - 82.0px) / 16.278), 21.99px); }
	.mg-band p b { font-size: clamp(17.14px, calc((100vw - 76.0px) / 14.238), 25.57px); }
	.mg-band p small { font-size: clamp(11.42px, calc((100vw - 76.0px) / 21.357), 17.04px); }
	.mg-cmp-t tbody tr:not(.is-fit) td { font-size: clamp(11.64px, calc((100vw - 96.0px) / 19.241), 17.88px); }
	.mg-page .faq-body p { font-size: clamp(12.12px, calc((100vw - 40.0px) / 23.103), 17.31px); }
	.mg-page .faq summary { font-size: clamp(12.30px, calc((100vw - 70.0px) / 20.333), 18.20px); }
	.mg-page .notes dd { font-size: clamp(10.07px, calc((100vw - 92.0px) / 22.640), 15.37px); }
	.mg-page .notes-foot { font-size: clamp(10.08px, calc((100vw - 32.0px) / 28.583), 14.27px); }
}
/* FLUID-END */
