/* Top-page guide sections: Screens, Problem, How, Message flow, Pricing. */

/* Screens */
.cyl-headline{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.cyl-plan{display:inline-flex;align-items:center;padding:3px 10px;border:1px solid rgba(255,138,60,.45);border-radius:999px;background:var(--accent-soft);color:var(--accent-deep);font-size:11.5px;font-weight:700;line-height:1.5}
/* 全プランで使える画面の札は緑 */
.cyl-plan.is-all{border-color:rgba(46,125,50,.35);background:rgba(46,125,50,.08);color:var(--green)}
.cyl-desc{min-height:1.8em;font-size:15px;color:#3b414c}

/* Problem */
#problem .card{display:flex;align-items:center;gap:18px;min-width:0;padding:22px 24px}
#problem .concept-icon{width:48px;height:48px;flex:none;margin:0}
#problem .card h3{min-width:0;margin:0;font-size:17.5px;font-weight:800;line-height:1.55;text-wrap:pretty}

/* What each plan can do */
.can-plans{display:grid;gap:22px;margin-top:44px}
.can-plan{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start;min-width:0;padding:26px;border-radius:18px;background:var(--panel)}
.can-plan.studio.pro{border:2px solid var(--accent);box-shadow:0 16px 36px rgba(207,90,23,.10)}
.can-plan.studio.free{border:1px solid rgba(255,138,60,.5)}
.can-plan.creator{border:1px solid rgba(124,156,255,.5)}
.can-plan-head{display:grid;grid-template-columns:56px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:16px;row-gap:4px;align-items:center;min-width:0}
.can-plan-icon{display:grid;place-items:center;width:56px;height:56px;grid-column:1;grid-row:1/3;margin:0;border-radius:999px;flex:none}
.can-plan-icon .ui-icon{width:29px;height:29px}
.can-plan.studio.pro .can-plan-icon{color:#fff;background:var(--accent-deep)}
.can-plan.studio.free .can-plan-icon{color:var(--accent-deep);background:var(--accent-soft)}
.can-plan.creator .can-plan-icon{color:var(--blue-deep);background:var(--blue-soft)}
.can-plan-name{grid-column:2;grid-row:1/3;min-width:0}
.can-plan-tag{display:inline-flex;align-items:center;margin-bottom:9px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.4}
.can-plan.studio.pro .can-plan-tag{border:1px solid var(--accent-deep);background:var(--accent-deep);color:#fff}
.can-plan.studio.free .can-plan-tag{border:1px solid var(--accent);color:var(--accent-deep)}
.can-plan.creator .can-plan-tag{border:1px solid var(--blue);color:var(--blue-deep)}
.can-plan-name h3{margin:0;font-size:22px;font-weight:850;line-height:1.45}
.can-plan.studio .can-plan-name h3{color:var(--accent-deep)}
.can-plan.creator .can-plan-name h3{color:var(--blue-deep)}
.can-plan-price{grid-column:3;grid-row:1;margin:0;text-align:right;font-size:13px;font-weight:700;color:var(--text);line-height:1.55}
.can-plan-note{grid-column:3;grid-row:2;margin:0;text-align:right;font-size:12px;color:var(--muted);line-height:1.65}
.can-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0;list-style:none}
/* スマホだけ: 横にスライドできることを示す案内と、いま何枚目かの点 */
.can-swipe{display:none}
.can-item{min-width:0}
.can-illu{aspect-ratio:240/140;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:linear-gradient(160deg,#fff8f2,#fdf1e6)}
.can-plan.creator .can-illu{background:linear-gradient(160deg,#f6f8ff,#eaf0ff)}
.can-illu svg{display:block;width:100%;height:100%;font-family:var(--sans)}
.can-copy{min-width:0;padding-top:12px}
.can-no{display:block;margin-bottom:5px;font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--accent-deep)}
.can-plan.creator .can-no{color:var(--blue-deep)}
.can-copy h4{font-size:16px;font-weight:800;line-height:1.5;word-break:auto-phrase;text-wrap:pretty}
.can-copy p{margin-top:5px;font-size:13px;line-height:1.65;color:var(--muted);word-break:auto-phrase;text-wrap:pretty}

/* Shared miniature UI illustration language. */
.il-card{fill:#fff;stroke:var(--line);stroke-width:1}
.il-card-accent{stroke:var(--accent);stroke-width:2}
.il-line{fill:#e9ebef}
.il-t,.il-small,.il-count{font-family:var(--sans);font-weight:700;fill:var(--text)}
.il-t{font-size:11px}.il-small{font-size:9px}.il-count{font-size:12px}
.il-on-accent,.il-on-blue{fill:#fff}
.il-accent-fill{fill:#ff8a3c}.il-accent-soft{fill:rgba(255,138,60,.14)}.il-accent-text{fill:#cf5a17}
.il-accent-outline{fill:#fff;stroke:#ff8a3c;stroke-width:1.5}
.il-accent-stroke{fill:none;stroke:#cf5a17;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.il-cursor{fill:#1b1e24;stroke:#fff;stroke-width:1.5;stroke-linejoin:round}
.il-send{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.il-open{fill:#75b96e}.il-maybe{fill:#ff9d5b}.il-full{fill:#df6a7d}
.il-open-soft{fill:rgba(46,125,50,.12)}.il-open-text{fill:#2e7d32}
.il-avatar-studio{fill:rgba(255,138,60,.18);stroke:#cf5a17;stroke-width:1.5}
.il-avatar-creator{fill:#7c9cff;stroke:#3a56c4;stroke-width:1.5}
.il-avatar-face{fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round}
.il-blue-soft{fill:rgba(124,156,255,.16)}.il-blue-fill{fill:#7c9cff}.il-blue-text{fill:#3a56c4}
.il-envelope-line{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.il-notice{fill:#c0293f}.il-notice-text{font-family:var(--sans);font-size:9px;font-weight:800;fill:#fff}
.il-thumbs rect{fill:rgba(124,156,255,.16);stroke:rgba(58,86,196,.35)}
.il-thumbs circle{fill:#ffbd63}.il-thumbs path{fill:none;stroke:#3a56c4;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.il-bubble{fill:#fff;stroke:#7c9cff;stroke-width:1.5;stroke-linejoin:round}

/* Message flow */
.flow-lead{max-width:780px}
.flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin-top:44px;list-style:none}
.flow-step{position:relative;min-width:0}
.flow-step:not(:last-child)::after{content:"→";position:absolute;top:83px;right:-23px;color:var(--accent-deep);font-size:24px;font-weight:800;line-height:1}
.flow-no{display:grid;place-items:center;width:32px;height:32px;margin:0 auto 12px;border-radius:999px;background:var(--accent-deep);color:#fff;font-family:var(--mono);font-size:13px;font-weight:800}
.flow-illu{aspect-ratio:200/120;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--panel-2)}
.flow-illu svg{display:block;width:100%;height:100%;font-family:var(--sans)}
.flow-copy{min-width:0;padding-top:14px;text-align:center}
.flow-copy h3{font-size:16px;font-weight:800;line-height:1.5}
.flow-copy p{margin-top:5px;font-size:13px;line-height:1.65;color:var(--muted)}
.flow-note{max-width:880px;margin:28px auto 0;text-align:center;font-size:12.5px;line-height:1.8;color:var(--muted);text-wrap:balance}
.flow-zero{display:grid;grid-template-columns:auto minmax(0,560px);justify-content:center;column-gap:48px;align-items:center;margin-top:34px;padding:28px 32px;border:2px solid var(--accent);border-radius:18px;background:var(--panel);box-shadow:0 16px 36px rgba(207,90,23,.08)}
.flow-zero-price{display:flex;flex-direction:column;align-items:center}
.flow-zero-price span{font-size:13px;font-weight:800;color:var(--accent-deep)}
.flow-zero-price strong{font-family:var(--disp);font-size:72px;font-weight:900;line-height:1;color:var(--accent-deep);font-variant-numeric:tabular-nums}
.flow-zero-copy h3{font-size:20px;font-weight:850;line-height:1.5}
.flow-zero-copy p{margin-top:8px;font-size:14px;line-height:1.75;color:var(--muted)}
.il-envelope{fill:#fff;stroke:#ff8a3c;stroke-width:2}.il-envelope-accent{fill:none;stroke:#ff8a3c;stroke-width:2;stroke-linejoin:round}
.il-diamond{fill:#ff8a3c}.il-lock-badge{fill:#fff;stroke:#cf5a17;stroke-width:1.5}.il-lock{fill:none;stroke:#cf5a17;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.il-check-row{fill:rgba(46,125,50,.07);stroke:rgba(46,125,50,.28);stroke-width:1}.il-check{fill:#2e7d32}.il-check-mark{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.il-meshup-label{fill:#f1f2f4;stroke:#c7cbd2;stroke-width:1}.il-meshup-dash{fill:none;stroke:#b5bac3;stroke-width:1.5;stroke-dasharray:3 3}
.il-person-studio{fill:#ff8a3c}.il-person-creator{fill:#7c9cff}.il-person-icon{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.il-direct-arrow{fill:none;stroke:#3b414c;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.il-mini-mail{fill:#fff;stroke:#3b414c;stroke-width:1}.il-mini-mail-line{fill:none;stroke:#3b414c;stroke-width:1.2;stroke-linejoin:round}

/* Pricing reassurance */
.pricing-assure{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:var(--muted);font-size:13.5px;font-weight:600;line-height:1.6}
.pricing-assure .ui-icon{width:16px;height:16px;flex:none}

@media(max-width:860px){
  #problem .cards3{gap:12px;margin-top:34px}
  .flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 30px}
  .flow-step:not(:last-child)::after{content:none}
  .flow-step:nth-child(1)::after,.flow-step:nth-child(3)::after{content:"→";top:83px;right:-23px}
  .flow-step:nth-child(2)::after{content:"↙";display:block;top:auto;right:auto;bottom:-35px;left:0}
}

@media(max-width:720px){
  .can-plan{padding:20px 16px}
  .can-plan-head{grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:14px}
  .can-plan-icon{width:52px;height:52px;grid-row:1/3}
  .can-plan-name{grid-row:1/3}
  .can-plan-price{grid-column:2;grid-row:3;margin-top:4px;text-align:left}
  .can-plan-note{grid-column:2;grid-row:4;text-align:left}
  .can-items{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:80%;gap:12px;overflow-x:auto;margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .can-items::-webkit-scrollbar{display:none}
  .can-item{display:block;scroll-snap-align:start}
  .can-swipe{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-6px 0 -10px;font-size:12.5px;font-weight:700;color:var(--muted)}
  .can-swipe-text{display:inline-flex;align-items:center;gap:6px}
  .can-swipe-arrow{display:inline-block;color:var(--accent-deep);animation:can-nudge 1.4s ease-in-out infinite}
  .can-plan.creator .can-swipe-arrow{color:var(--blue-deep)}
  .can-dots{display:inline-flex;gap:6px}
  .can-dots i{width:7px;height:7px;border-radius:999px;background:var(--line);transition:background .2s,width .2s}
  .can-dots i.is-on{width:18px;background:var(--accent-deep)}
  .can-plan.creator .can-dots i.is-on{background:var(--blue-deep)}
  .can-copy{padding-top:12px}
  .can-copy h4{font-size:15.5px}
  .flow-zero{grid-template-columns:1fr;gap:18px;padding:26px 22px;text-align:center}
  .flow-zero-price strong{font-size:64px}
}

@media(max-width:520px){
  #problem .card{gap:14px;padding:19px 17px}
  #problem .concept-icon{width:44px;height:44px}
  #problem .card h3{font-size:16.5px;line-height:1.5}
  .problem-break{display:none}
  .can-plans{margin-top:34px}
  .can-plan-name h3{font-size:20px}
  .can-plan-tag{font-size:11px}
  .flow-steps{grid-template-columns:1fr;gap:36px;margin-top:36px}
  .flow-step{display:grid;grid-template-columns:32px 120px minmax(0,1fr);gap:12px;align-items:center}
  .flow-no{margin:0}
  .flow-illu{width:120px}
  .flow-copy{padding:0;text-align:left}
  .flow-copy h3{font-size:15.5px}
  .flow-copy p{font-size:12.5px}
  .flow-step:nth-child(1)::after,.flow-step:nth-child(2)::after,.flow-step:nth-child(3)::after{content:"↓";display:block;top:auto;right:auto;bottom:-30px;left:50%;transform:translateX(-50%)}
  .flow-note{margin-top:24px;text-align:left}
  .pricing-assure{align-items:flex-start;font-size:13px}
  .pricing-assure .ui-icon{margin-top:3px}
}

@media(max-width:375px){
  .can-plan{padding:18px 13px}
  .can-plan-head{grid-template-columns:48px minmax(0,1fr);column-gap:11px}
  .can-plan-icon{width:48px;height:48px}
  .can-plan-icon .ui-icon{width:25px;height:25px}
  .can-plan-price,.can-plan-note{grid-column:2}
  .can-items{margin-inline:-13px;padding-inline:13px;scroll-padding-inline:13px}
  .can-copy h4{font-size:15px;line-height:1.45}
  .can-copy p{font-size:12.5px}
  .flow-step{grid-template-columns:28px 112px minmax(0,1fr);gap:9px}
  .flow-no{width:28px;height:28px}
  .flow-illu{width:112px}
  .flow-copy h3{font-size:15px}
}

/* Value: 見出しをカードの外に出す */
#value .value-feature-out{border-bottom:0;padding-bottom:0;margin:36px 0 20px}
#value .value-feature-out + .value-grid{margin-top:0}
@media(max-width:720px){#value .value-feature-out{margin:28px 0 16px}}

/* Pricing: カード下の「料金のきまり」。「完全無料」を大きく1行、残り3つは小さく3列 */
.plans-promises{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden}
.plans-promises li{display:flex;align-items:center;gap:10px;padding:14px 20px;font-size:13px;font-weight:700;line-height:1.6;color:var(--muted);word-break:auto-phrase;text-wrap:pretty;border-top:1px solid var(--line)}
.plans-promises li:nth-child(n+3){border-left:1px solid var(--line)}
.plans-promises li.promise-main{grid-column:1/-1;justify-content:center;gap:14px;padding:22px 24px;border-top:0;background:rgba(46,125,50,.07);font-size:21px;font-weight:850;color:var(--green);text-align:center}
.promise-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;flex:none;background:var(--accent-soft);color:var(--accent-deep)}
.promise-icon .ui-icon{width:16px;height:16px}
.promise-main .promise-icon{width:40px;height:40px;background:var(--green);color:#fff}
.promise-main .promise-icon .ui-icon{width:22px;height:22px}
@media(max-width:860px){.plans-promises li{padding:13px 16px}.plans-promises li.promise-main{font-size:19px}}
@media(max-width:620px){
  .plans-promises{grid-template-columns:1fr;margin-top:22px}
  .plans-promises li:nth-child(n+3){border-left:0}
  .plans-promises li.promise-main{justify-content:flex-start;text-align:left;padding:18px 16px;font-size:17px;gap:12px}
  .promise-main .promise-icon{width:34px;height:34px}
}

@keyframes can-nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media(prefers-reduced-motion:reduce){.can-swipe-arrow{animation:none}}

/* Intro video: poster + play button until clicked; the video file is not requested before that. */
#intro-video{padding-bottom:0;scroll-margin-top:56px}
.intro-video-note{margin:-6px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.intro-video-frame{position:relative;width:100%;max-width:960px;aspect-ratio:16/9;margin:32px auto 0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#f3f4f6;box-shadow:0 16px 36px rgba(27,30,36,.10)}
.intro-video-el{display:block;width:100%;height:100%;background:#000;object-fit:contain}
.intro-video-cover{display:none}
.js .intro-video-cover{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer;font:inherit}
.intro-video-cover img{display:block;width:100%;height:100%;object-fit:cover}
.intro-video-play{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:96px;height:96px;margin:-48px 0 0 -48px;border-radius:999px;background:var(--accent-deep);color:#fff;box-shadow:0 10px 28px rgba(207,90,23,.38),0 0 0 8px rgba(255,255,255,.55);transition:transform .2s ease,background-color .2s ease}
.intro-video-play svg{width:38px;height:38px;margin-left:5px;fill:currentColor}
.intro-video-cover:hover .intro-video-play{transform:scale(1.06);background:var(--accent)}
.intro-video-cover:focus-visible{outline:3px solid var(--blue-deep);outline-offset:-3px}
.intro-video-frame.is-started .intro-video-cover{display:none}
@media(max-width:720px){
  .intro-video-frame{margin-top:24px;border-radius:14px}
  .intro-video-play{top:59%;width:60px;height:60px;margin:-30px 0 0 -30px;box-shadow:0 6px 18px rgba(207,90,23,.38),0 0 0 4px rgba(255,255,255,.55)}
  .intro-video-play svg{width:24px;height:24px;margin-left:3px}
}
@media(prefers-reduced-motion:reduce){.intro-video-play{transition:none}.intro-video-cover:hover .intro-video-play{transform:none}}
