/* <1280px: app.js stops zooming the 1920 canvas and these rules reflow it.
   ≥1280px is untouched (zoom-scaled Figma canvas). */
@media (max-width:1279px){
  /* Canvas + section shells */
  [data-node-id="2:20"],.s41,.s72,.s103,.s211,.s342{width:100%}
  .s6,.s41,.s72,.s103,.s211,.s294{padding:80px 40px;gap:48px}
  .s42,.s43,.s44,.s45,.s73,.s212,.s213,.s298{gap:48px}
  .s71{height:auto;aspect-ratio:1920/158}
  .s293{height:auto;aspect-ratio:1920/186}
  .s69,.s70,.s98{display:none}

  /* Shared heading / lead scale */
  .s48,.s78,.s79,.s106,.s216,.s295{font-size:clamp(26px,5.2vw,52px);line-height:1.4}
  .s49,.s77,.s107,.s217,.s218{font-size:clamp(32px,6.4vw,64px);line-height:1.4;letter-spacing:0}
  .s296,.s297{line-height:1.4}
  .s76,.s208{white-space:normal}
  /* Figma text boxes are flex-shrink:0 (max-content wide); let them wrap */
  .s208,.s232,.s234,.s257,.s319,.s336,.s340{flex-shrink:1;min-width:0}
  .s52,.s53,.s80,.s108,.s219{font-size:clamp(16px,2.4vw,22px);line-height:1.8}
  .s54{font-size:clamp(20px,3.4vw,32px);line-height:1.6}
  .s109,.s110{line-height:1.8}

  /* Header */
  .s1{height:64px;padding-inline:24px;gap:16px}
  .a-brand{width:auto}
  .a-brand img{width:auto;height:36px}
  .s3{width:auto;white-space:nowrap;font-size:14px}
  .s3 a{margin-right:16px!important}

  /* 01 Hero */
  [data-node-id="5:2"]{min-height:0}
  [data-node-id="5:2"] .s9{background:rgba(250,252,248,.55)}
  .s10{height:auto;flex-direction:column;align-items:flex-start;gap:32px}
  [data-node-id="3:13"]{width:100%}
  .s11{gap:28px;max-width:100%}
  .s14{font-size:clamp(15px,2.2vw,22px)}
  [data-node-id="5:2"] .s15 .s17{font-size:clamp(28px,7vw,56px);line-height:1.4}
  [data-node-id="5:2"] .s15>.s16{padding:4px 12px}
  .hero-description-line{font-size:clamp(15px,2.2vw,22px);line-height:1.8}
  [data-node-id="3:14"]>[data-node-id="5:6"]{position:static;height:auto;width:auto;padding:0;align-self:center}
  [data-node-id="3:22"]{zoom:.7}
  .original-bright-actions{height:auto;flex-wrap:wrap}
  .original-bright-actions button{font-size:18px;padding:14px 24px}

  /* 02 Problem: 3 cards */
  [data-node-id="23:172"]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px 24px;align-items:start}
  [data-node-id="23:172"]>.s56{width:auto;justify-content:center}
  .s57{height:auto;flex:1;min-width:0;gap:12px}
  .s58{zoom:.6}
  .s63{white-space:normal;font-size:clamp(18px,2.4vw,26px)}
  .s64,.s65{line-height:1.6}
  .s66{font-size:15px;line-height:1.8}

  /* 03 Deliverables */
  .s74{flex-direction:column;gap:24px}
  .s75{width:100%;gap:20px}
  .s80{width:auto}
  .s81{position:relative;left:auto;top:auto;width:100%;max-width:741.5px;height:auto;aspect-ratio:741.5/352}
  .s82{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;width:100%}
  [data-node-id="5:36"],[data-node-id="5:49"]{display:contents}
  .s84,.s88,.s93{width:auto;padding:24px;border-radius:24px;gap:10px}
  .s85,.s89,.s90,.s92,[data-node-id="3:31"] .s85,[data-node-id="3:31"] .s89{font-size:20px}
  .s87{font-size:15px;line-height:1.8}
  .s94{width:100%;padding:32px 24px;min-height:0!important}
  .s95{gap:16px}
  .s96{font-size:18px}
  .s97,[data-node-id="182:5"]{font-size:clamp(16px,2.4vw,24px);line-height:1.8}

  /* 04 Proof: case cards stack */
  .s112{padding:32px 24px;flex-direction:column;align-items:stretch}
  .s113{flex-direction:column;gap:32px;width:100%}
  .s114,.s182{flex:none;width:100%;gap:20px}
  .s115{gap:12px}
  .s119{font-size:26px;line-height:1.4}
  .s120{font-size:30px;line-height:1.4}
  .s121{font-size:clamp(24px,4vw,40px);line-height:1.4;white-space:normal}
  .s122{font-size:16px}
  .s123,.s124{line-height:1.8}
  .s125{flex-direction:column;align-self:stretch;gap:20px}
  .s126,.s155{width:100%;gap:20px}
  .s152{rotate:180deg}
  .s157{width:424px;max-width:100%;height:auto;aspect-ratio:424/282}
  .s160{flex-direction:column-reverse;align-items:stretch;gap:32px;width:100%}
  .s161{flex:none;width:100%}
  .s162,.s164{padding-right:0}
  .s163{width:100%;height:auto;aspect-ratio:722/259.5}
  .s166{flex-direction:column;gap:12px}
  .s170{font-size:14px;line-height:1.7}
  .s171{flex-wrap:wrap;gap:8px}
  .s178{width:auto;min-width:88px;height:auto;padding:7px 10px}
  .s174{font-size:20px}
  .s176{font-size:12px;line-height:1.4}
  .s180{font-size:12px;line-height:1.5}
  .s181{width:100%;gap:20px}
  .s183{align-self:center;width:648px;height:411px}
  .s207{padding:20px 16px}
  .s209,.s210{font-size:clamp(17px,2.6vw,26px);line-height:1.6}

  /* 05 Plans: 2-plan table + options + process */
  .s220{gap:32px}
  .s221{width:100%;grid-template-columns:160px 1fr 1fr;margin-top:56px}
  .s231,.s236,.s239,.s242,.s245,.s248,.s235,.s238,.s241,.s244,.s247,.s263,.s256,.s258,.s259,.s260,.s261,.s262{height:auto;min-height:72px;padding:12px}
  .s232{font-size:18px;white-space:normal}
  .s234,.s257{font-size:16px;line-height:1.6;white-space:normal}
  .s234 .s24,.s257 .s24{line-height:1.6}
  [data-node-id="27:3"],[data-node-id="27:4"]{height:auto;padding:20px 8px;min-width:0}
  [data-node-id="27:3"]{padding-top:28px}
  [data-node-id="32:109"],[data-node-id="32:110"]{width:auto}
  [data-node-id="32:116"]{display:none}
  .s253{font-size:26px}
  .s224{font-size:22px}
  .s255,.s30{font-size:28px}
  .s254,.s226{font-size:20px}
  .s228{font-size:14px}
  .s291{font-size:16px}
  .s290{padding:8px 20px;top:-52px;white-space:nowrap}
  .s264{width:100%;gap:32px}
  .s265{white-space:normal;font-size:17px;line-height:1.6}
  .s267{flex-wrap:wrap;gap:8px 20px}
  .s268{font-size:26px}
  .s269{font-size:16px}
  .s270{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
  .s271{width:auto;height:auto;padding:20px 12px}
  .s272{white-space:normal;gap:6px}
  .s273{font-size:16px}
  .s275{font-size:20px}
  .s274,.s276{line-height:1.5}
  .s277{padding:32px 24px;gap:24px;border-radius:28px}
  .s278{font-size:28px}
  .s279{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
  .s280,.s287{padding:24px}
  .s281,.s288{font-size:20px}
  .s282,.s283{line-height:1.6}
  .s284,.s289{font-size:15px;line-height:1.8}
  .s285,.s286{line-height:1.8}

  /* 06 Form + FAQ */
  .s104{gap:20px}
  .s295{font-size:clamp(26px,5.2vw,52px)}
  .s299{gap:16px}
  .s300{width:100%;padding-block:8px}
  .s301{font-size:26px;white-space:normal}
  .s302{gap:40px}
  .s303{width:100%}
  .s303>.s83,.s313{width:100%;height:auto;flex-wrap:wrap;gap:20px 24px;overflow:visible}
  .s304{flex:1 1 280px;width:auto;height:auto;overflow:visible}
  .s305{width:100%;height:auto}
  .s306,.s314{font-size:16px}
  .s308{width:100%;height:56px}
  .s308 input{font-size:16px!important}
  .s315{flex:1 1 280px;width:auto;height:auto}
  .s316{width:auto;font-size:14px;line-height:1.7}
  .s317{width:100%;align-items:flex-start;gap:4px}
  [data-node-id="22:25"]{width:44px;height:44px;padding:10px;margin:-10px 0 -10px -10px;box-sizing:border-box}
  .s319{white-space:normal;font-size:14px;line-height:1.7;padding-top:2px}
  .s320{width:min(504px,100%);padding:20px 56px;justify-content:center}
  .s321{left:auto;right:24px}
  .s322{font-size:18px;white-space:normal;text-align:center}
  .s323{width:100%;gap:20px}
  .s324{width:100%;font-size:22px;line-height:1.6}
  .s325{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
  .s326{width:auto;padding:24px;border-radius:24px}
  .s327,.s331{width:auto}
  .s328,.s329{line-height:1.6}
  .s330{font-size:15px;line-height:1.8}
  .s332{width:100%}
  .s333,.s341{padding:20px}
  .s334{width:100%}
  .s335{gap:12px}
  .s336{width:auto;height:auto;flex:1;font-size:17px;line-height:1.6}
  .s337{line-height:40px}
  .s338{white-space:normal;align-items:flex-start}
  .s339,.s340{line-height:1.7}
  .s340{flex-shrink:1;font-size:15px}

  /* Footer */
  .s342{padding:32px 24px}
  .s343{align-items:center;width:100%}
  [data-node-id="289:49"]>div:first-child{width:100%!important}
  .s345{align-items:center;width:100%}
  .s346,.s347,.s348{width:100%;height:auto;font-size:14px;line-height:1.7}
}

/* Phone */
@media (max-width:767px){
  .s6,.s41,.s72,.s103,.s211,.s294{padding:56px 16px;gap:40px}
  .s3{display:none}
  .s1{height:60px;padding-inline:16px}
  .a-brand img{height:30px}
  .s4{padding:12px 16px}
  .s5{font-size:14px}

  /* Hero */
  [data-node-id="3:22"]{zoom:.65}
  .s32{font-size:22px}
  .original-bright-actions{flex-direction:column;align-items:stretch;width:100%}
  .original-bright-actions button{font-size:16px;padding:14px 20px}

  /* Problem cards */
  .s58{zoom:.7}
  .s63{font-size:22px}

  /* Proof */
  .s112{padding:24px 16px}
  .s127,.s156{height:40px;padding-inline:28px}
  .s128{font-size:20px}
  .s119{font-size:22px}
  .s120{font-size:26px}
  /* Case 03 diagram: absolute Figma composite → stacked flow on phones */
  .s183{width:100%;height:auto}
  .s184{position:static;width:100%;height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px}
  .s184>*{position:static;translate:none;left:auto;top:auto}
  .s185,.s186,.s197,.s206{display:none}
  .s187,.s198{width:auto;height:auto;padding:4px 14px}
  .s188,.s199{width:auto;font-size:13px;line-height:1.4}
  .s189,.s200{width:100%;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #dce0dd}
  .s200{background:#e7f8f1;border-color:#c9eadc}
  .s190,.s191,.s194,.s200{font-size:14px}
  .s190,.s192,.s193,.s194,.s201{line-height:1.8}
  .s195,.s202{width:100%;height:auto;padding:8px 12px}
  .s196,.s203{width:auto;font-size:14px;line-height:1.4}
  .s204{width:auto;font-size:15px;line-height:1.6;margin-top:8px}
  .s205{white-space:normal;text-align:left;font-size:12px;line-height:1.5}

  /* Plans table: label column narrows, plan cells wrap */
  .s221{grid-template-columns:68px 1fr 1fr;gap:6px;margin-top:48px}
  .s231,.s236,.s239,.s242,.s245,.s248{padding:10px 4px}
  .s235,.s238,.s241,.s244,.s247,.s263,.s256,.s258,.s259,.s260,.s261,.s262{padding:10px 8px}
  .s232{font-size:14px}
  .s234,.s257{font-size:14px}
  [data-node-id="27:3"],[data-node-id="27:4"]{padding:16px 4px;border-top-left-radius:16px;border-top-right-radius:16px}
  [data-node-id="27:3"]{padding-top:24px}
  .s253{font-size:20px}
  .s224{font-size:18px}
  .s255,.s30{font-size:22px;letter-spacing:0}
  .s254,.s226{font-size:16px}
  .s231{border-top-left-radius:16px}
  .s248{border-bottom-left-radius:16px}
  .s263{border-bottom-right-radius:16px}
  .s291{font-size:13px}
  .s290{padding:6px 14px;top:-40px}
  .s270{grid-template-columns:repeat(2,minmax(0,1fr))}
  .s275{font-size:17px}
  .s277{padding:24px 16px}
  .s278{font-size:24px}

  /* Form */
  .s301{font-size:22px}
  .s320{width:100%;padding:18px 48px}
  .s333,.s341{padding:16px}
  .s336{font-size:16px}
}

/* 全幅: STANDARD 価格の白バーが数字を横切り取り消し線に見えるため非表示 */
[data-node-id="32:116"]{display:none}
