/* LP と診断の見た目。アプリ本体（css/ の各ファイル）とは別。
   白地に空色の見出し、紺の本文、オレンジのピル型ボタン。区切りに空色の帯を使う。 */
:root{
  --sky:#3FB8EC; --sky-deep:#1E78C4; --sky-25:#E9F5FF; --sky-100:#C9F2FF; --sky-sel:#E8F8FF;
  --navy:#001958; --ink:#111927; --ink2:#4D5761; --ink3:#6C737F;
  --line:#E5E7EB; --gray-50:#F9FAFB; --gray-100:#F3F4F6;
  --orange:#F69200; --orange-hover:#F3963F; --orange-soft:#FFDEC0;
  --yellow:#FFC700; --green:#00A48D;
  --surface:#FFFFFF;
  --shadow:0 20px 25px -5px rgba(0,0,0,.08),0 8px 10px -6px rgba(0,0,0,.06);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--surface);color:var(--ink);
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",system-ui,-apple-system,sans-serif;
  font-size:16px;line-height:1.9;-webkit-font-smoothing:antialiased}
h1,h2,h3{line-height:1.35;letter-spacing:-.01em;margin:0;font-weight:800}
p{margin:0}
button{font:inherit;cursor:pointer;border:0}
img{max-width:100%}
a{color:var(--sky-deep)}

/* ---- 共通の部品 ---- */
.cta{display:inline-block;background:var(--orange);color:#fff;font-weight:800;font-size:18px;text-decoration:none;
  padding:18px 44px;border-radius:999px;transition:background .15s ease,transform .12s ease}
.cta:hover{background:var(--orange-hover);transform:translateY(-1px)}
.cta.sm{font-size:15px;padding:11px 22px;white-space:nowrap}
/* ログインはプロダクトの青。オレンジの CTA と役割が違うことが分かるように */
.cta.login{background:var(--sky-deep)}
.cta.login:hover{background:var(--sky)}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.sec{padding:88px 0}
.sec h2{font-size:34px;text-align:center;margin-bottom:16px}
.sec h2 .b{color:var(--sky)}
.sec .lead{font-size:16px;color:var(--ink3);text-align:center;max-width:36em;margin:0 auto 44px}
.band{background:var(--sky);color:#fff}
.band h2{color:#fff}
.band .lead{color:rgba(255,255,255,.9)}
.micro{font-size:12.5px;color:var(--ink3)}
.band .micro{color:rgba(255,255,255,.8)}
/* 表の下に添える注記 */
.fine{display:block;text-align:center;margin-top:18px}

/* ---- ヘッダー ---- */
.nav{position:sticky;top:0;z-index:5;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:68px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;color:var(--navy);text-decoration:none}
.logo .mark{width:34px;height:34px;border-radius:50%;background:var(--sky);display:grid;place-items:center;color:#fff;font-size:17px}
.logo small{display:block;font-size:10px;color:var(--sky-deep);letter-spacing:.14em;line-height:1;margin-bottom:3px}
.nav .r{display:flex;align-items:center;gap:14px}
.ghost{color:var(--ink2);text-decoration:none;font-size:14px;font-weight:700}
.ghost:hover{color:var(--sky-deep)}

/* ---- ヒーロー ---- */
.hero{padding:76px 0 0;text-align:center;overflow:hidden}
.hero h1{font-size:44px;color:var(--sky);margin-bottom:12px}
/* h1 の下の売り文句。見出しより小さく、本文より目立たせる */
.hero .sub{font-size:16px;font-weight:700;color:var(--sky-deep);margin:0 auto 18px;max-width:34em}
.hero .lead{font-size:17px;color:var(--ink2);margin:0 auto 30px;max-width:46em;text-align:center}
.hero .micro{display:block;margin-top:12px}
/* 会話の見本。写真の相手 2 人と、英語の吹き出し */
.mock{position:relative;max-width:760px;margin:44px auto 0;padding:34px 20px 0;
  background:linear-gradient(180deg,var(--sky-25),var(--sky-100));border-radius:var(--radius) var(--radius) 0 0;min-height:330px}
.mock .who{position:absolute;bottom:0;width:190px;height:230px;border-radius:120px 120px 0 0;overflow:hidden;background:#fff;
  box-shadow:0 -6px 24px rgba(0,25,88,.12)}
.mock .who img{width:100%;height:100%;object-fit:cover;object-position:top}
.mock .who.l{left:16%}.mock .who.r{right:16%}
.bub{position:absolute;background:#fff;color:var(--navy);font-weight:700;font-size:14.5px;line-height:1.45;padding:10px 14px;
  border-radius:18px;box-shadow:0 6px 18px rgba(0,25,88,.10);max-width:230px;text-align:left}
.bub::after{content:"";position:absolute;bottom:-8px;left:22px;border:8px solid transparent;border-top-color:#fff;border-bottom:0}
.bub.you{background:var(--navy);color:#fff}
.bub.you::after{border-top-color:var(--navy);left:auto;right:22px}
.bub.b1{left:6%;top:30px}.bub.b2{right:6%;top:52px}.bub.b3{left:38%;top:150px}.bub.b4{right:24%;top:210px}
.bub small{display:block;font-weight:500;font-size:12px;color:var(--ink3);margin-top:2px}
.bub.you small{color:rgba(255,255,255,.75)}

/* ---- 数字の帯 ---- */
.facts{background:var(--sky);color:#fff;padding:26px 0}
.facts ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:0;flex-wrap:wrap}
.facts li{padding:6px 26px;text-align:center;border-left:1px solid rgba(255,255,255,.35)}
.facts li:first-child{border-left:0}
.facts b{display:block;font-size:26px;line-height:1.25}
.facts span{font-size:13px;opacity:.9}

/* ---- 会話シナリオ ---- */
.scenes .grp{font-size:15px;color:var(--sky-deep);text-align:center;margin:0 0 16px;letter-spacing:.04em}
.scenes .row+.grp{margin-top:34px}
.scenes .row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.scene{background:var(--gray-50);border:1px solid var(--line);border-radius:18px;padding:16px 16px;display:flex;align-items:center;gap:13px;text-align:left}
.scene .pic{width:48px;height:48px;flex:none;display:grid;place-items:center;font-size:24px;background:var(--sky-25);border-radius:14px}
.scene .tx{min-width:0}
.scene b{display:block;font-size:14.5px;color:var(--navy);line-height:1.5}
.scene span{display:block;font-size:12px;color:var(--ink3);line-height:1.6;margin-top:2px}
.scenes .micro.center{display:block;margin-top:28px}

/* ---- 特徴。左右交互に、絵と説明 ---- */
/* 自己紹介を先に仕上げる、の 3 段 */
.steps3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.steps3 li{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 20px}
.steps3 b{display:block;font-size:17px;color:var(--navy);margin-bottom:8px}
.steps3 span{display:block;font-size:14.5px;color:var(--ink2);line-height:1.7}
.feat{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center;padding:56px 0}
.feat:nth-child(even) .art{order:2}
.feat h3{font-size:30px;color:var(--ink);margin-bottom:16px}
.feat h3 .b{color:var(--sky)}
.feat p{color:var(--ink2);font-size:15.5px}
.art{background:var(--sky-25);border-radius:var(--radius);padding:30px;min-height:300px;display:flex;flex-direction:column;justify-content:center;gap:12px}
/* 絵 1: 割り込み */
.art .line{display:flex;align-items:flex-end;gap:10px}
.art .line.you{flex-direction:row-reverse}
.art .ava{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none;border:2px solid #fff}
.art .say{background:#fff;border-radius:16px;padding:9px 14px;font-weight:700;font-size:14px;color:var(--navy);max-width:74%;box-shadow:0 4px 12px rgba(0,25,88,.08)}
.art .say.cut{color:var(--ink3);font-weight:500}
.art .line.you .say{background:var(--navy);color:#fff}
.art .note{align-self:center;font-size:12px;color:var(--sky-deep);font-weight:700;background:#fff;border-radius:999px;padding:4px 12px}
/* 絵 2 と 絵 3: 講評と、続く仕組み */
.fb{background:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 4px 12px rgba(0,25,88,.08);display:grid;gap:10px}
.fb .h{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--sky-deep)}
.fb .ok{display:flex;gap:10px;font-size:14.5px;color:var(--navy);font-weight:700}
.fb .ok::before{content:"✓";color:var(--green);font-weight:800}
.fb .fix{display:flex;gap:10px;font-size:14.5px;color:var(--ink2)}
.fb .fix::before{content:"1";flex:none;width:20px;height:20px;border-radius:50%;background:var(--orange);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}
.fb .memo{font-size:12.5px;color:var(--ink3);border-top:1px dashed var(--line);padding-top:9px}

/* ---- 比較表。青い帯に白いカード ---- */
.cmp{overflow-x:auto}
.cmp table{border-collapse:separate;border-spacing:10px 0;width:100%;min-width:640px}
.cmp th,.cmp td{padding:16px 12px;text-align:center;vertical-align:middle;font-size:14px}
.cmp th{font-weight:800;font-size:15px;color:var(--navy);background:#fff;border-radius:18px 18px 0 0}
.cmp th small{display:block;font-weight:500;font-size:11.5px;color:var(--ink3)}
.cmp td{background:#fff;color:var(--ink2);border-top:1px solid var(--line)}
.cmp tr:last-child td{border-radius:0 0 18px 18px}
.cmp td:first-child,.cmp th:first-child{background:transparent;color:#fff;font-weight:800;text-align:left;border:0}
.cmp .me th{background:var(--sky-25);color:var(--sky-deep)}
.cmp .me td{background:var(--sky-25)}
.cmp .m{display:block;font-size:22px;line-height:1;margin-bottom:4px}
.cmp .m.o{color:var(--sky-deep)}.cmp .m.t{color:var(--ink3)}.cmp .m.x{color:var(--ink3)}
.cmp td.me{background:var(--sky-25);color:var(--navy)}

/* ---- 料金 ---- */
/* プランの表。列はプラン、料金、できること。狭い画面ではカードに組み替える */
.ptab{width:100%;max-width:820px;margin:0 auto;border-collapse:collapse;background:#fff}
.ptab th,.ptab td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.ptab thead th{font-size:12.5px;font-weight:800;letter-spacing:.06em;color:var(--sky-deep);border-bottom:2px solid var(--sky-100)}
.ptab tbody th{font-size:15px;font-weight:800;color:var(--navy);white-space:nowrap}
.ptab .yen{font-size:15px;font-weight:800;color:var(--navy);white-space:nowrap}
.ptab tbody td:last-child{font-size:14px;color:var(--ink2)}
.ptab tbody tr.hi{background:var(--sky-25)}
.ptab tbody tr:last-child th,.ptab tbody tr:last-child td{border-bottom:0}
/* 法人の LP で使う 2 枚のプランのカード */
.plans{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;max-width:760px;margin:0 auto}
.planbox{background:#fff;border:2px solid var(--line);border-radius:20px;padding:26px;text-align:center}
.planbox.hi{border-color:var(--sky)}
.planbox .t{font-size:14px;font-weight:800;color:var(--sky-deep);letter-spacing:.06em}
.planbox .p{font-size:36px;font-weight:800;color:var(--navy);margin:8px 0 2px}
.planbox .p small{font-size:14px;font-weight:700;color:var(--ink3)}
.planbox .d{font-size:13.5px;color:var(--ink3)}
.price p.center{text-align:center;color:var(--ink2);margin-top:22px;font-size:14.5px}

/* ---- FAQ ---- */
.faq details{border-bottom:1px solid var(--line);padding:6px 0}
.faq summary{cursor:pointer;font-weight:700;padding:14px 32px 14px 0;list-style:none;position:relative;color:var(--navy)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"＋";position:absolute;right:4px;color:var(--sky)}
.faq details[open] summary::after{content:"−"}
.faq p{padding:0 0 16px;font-size:14.5px;color:var(--ink2)}

/* ---- 末尾の帯 ---- */
.last{text-align:center;padding:76px 0}
.last h2{margin-bottom:10px}
.last p{margin-bottom:28px}
.last .cta{background:#fff;color:var(--orange)}
.last .cta:hover{background:var(--orange-soft)}
footer{padding:30px 0 44px;font-size:13px;color:var(--ink3)}
footer .wrap{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;justify-content:space-between}
footer a{color:var(--ink3)}

/* ---- 診断 ---- */
.quiz{position:fixed;inset:0;z-index:20;background:#fff;display:flex;flex-direction:column}
.quiz[hidden]{display:none}
.qhead{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;padding:10px 8px}
.qhead .back,.qhead .close{background:none;color:var(--ink3);font-size:22px;line-height:1;padding:10px;border-radius:12px}
.qhead .back:hover,.qhead .close:hover{background:var(--gray-100);color:var(--navy)}
.qhead .back[disabled]{opacity:.25;cursor:default}
/* 見出しの下に「残り N 問」。帯と合わせて、あとどれだけ答えるかが分かる */
.qmid{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.3}
.sect{text-align:center;font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--sky-deep)}
.qmid .left{font-size:12px;font-weight:700;color:var(--ink3)}
.bar{height:5px;background:var(--gray-100);margin:0 16px;border-radius:999px;overflow:hidden}
.bar i{display:block;height:100%;width:0;background:var(--sky);transition:width .3s ease}
.qbody{flex:1;overflow-y:auto;display:flex;flex-direction:column;align-items:center;padding:30px 20px calc(30px + env(safe-area-inset-bottom))}
/* 下に貼り付いたボタンの帯があるときは、その高さぶん本文を空ける */
.qbody.hasfix{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
.qin{width:100%;max-width:520px;display:flex;flex-direction:column;gap:12px}
.qin h2{font-size:24px;text-align:center;color:var(--navy)}
.qin .sub{font-size:14px;color:var(--ink3);text-align:center;margin-top:-4px;margin-bottom:6px}
/* 選択肢は親指で押しやすい高さにする。押した瞬間に色が変わる */
.opt{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;text-align:left;background:#fff;
  border:2px solid var(--line);border-radius:16px;padding:16px 18px;font-size:16px;font-weight:700;color:var(--navy);
  transition:border-color .12s ease,background .12s ease}
.opt:hover{border-color:var(--sky)}
.opt.on,.opt:active{border-color:var(--sky);background:var(--sky-sel)}
.opt .em{font-size:22px;line-height:1}
.scale{display:flex;gap:10px;justify-content:center}
.scale button{flex:1;max-width:80px;min-height:56px;aspect-ratio:1;border-radius:16px;background:#fff;border:2px solid var(--line);
  font-weight:800;font-size:18px;color:var(--navy)}
.scale button:hover{border-color:var(--sky);background:var(--sky-sel)}
.scale button.on,.scale button:active{border-color:var(--sky);background:var(--sky-sel);color:var(--sky-deep)}
.ends{display:flex;justify-content:space-between;font-size:13px;color:var(--ink3);margin-top:-4px}
.words{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.words button{background:#fff;border:2px solid var(--line);border-radius:12px;min-height:56px;padding:11px 18px;font-size:16px;font-weight:600;color:var(--navy)}
.words button.on,.words button:active{border-color:var(--sky);background:var(--sky-sel);color:var(--sky-deep)}
.qin input[type=text],.qin input[type=email]{font:inherit;font-size:18px;padding:15px 16px;border-radius:14px;
  border:2px solid var(--line);background:#fff;width:100%;color:var(--navy)}
.qin input:focus{outline:none;border-color:var(--sky)}
.qin .cta{margin-top:8px;text-align:center;width:100%}
.qin .cta[disabled]{opacity:.4;cursor:default;transform:none}
.link{background:none;color:var(--ink3);font-size:14px;text-decoration:underline;padding:6px}
/* 画面の下に貼り付くボタンの帯。選択肢が長くても「次へ」を見失わない */
.qfix{position:fixed;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line)}
.qfix .cta{margin-top:0;max-width:520px}
.qfix .link{padding:2px 6px}
.note-em{font-size:46px;text-align:center}
.center{text-align:center}
/* プランを作っている画面 */
.bars{display:flex;flex-direction:column;gap:16px;width:100%}
.brow{display:flex;flex-direction:column;gap:6px}
.brow .t{display:flex;justify-content:space-between;font-size:14px;font-weight:700;color:var(--ink2)}
.brow .track{height:8px;background:var(--gray-100);border-radius:999px;overflow:hidden}
.brow .track i{display:block;height:100%;width:0;background:var(--sky);transition:width .4s linear}
.ask{position:fixed;inset:0;background:rgba(0,25,88,.45);display:grid;place-items:center;padding:24px;z-index:30}
.ask .box{background:#fff;border-radius:20px;padding:26px 22px;max-width:380px;width:100%;text-align:center;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px;color:var(--navy);font-weight:700}
.ask .row{display:flex;gap:10px}
.ask .row button{flex:1;border-radius:999px;padding:13px;font-weight:800;font-size:16px;background:var(--gray-100);color:var(--navy)}
.ask .row button.yes{background:var(--orange);color:#fff}
/* 結果 */
.plan{background:var(--sky-25);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:12px}
.plan .row{display:flex;justify-content:space-between;gap:16px;font-size:15px;border-bottom:1px dashed rgba(0,25,88,.15);padding-bottom:10px}
.plan .row:last-child{border-bottom:0;padding-bottom:0}
.plan .row span:first-child{color:var(--ink3);white-space:nowrap}
.plan .row span:last-child{font-weight:800;text-align:right;color:var(--navy)}
.saved{font-size:13px;color:var(--ink3);text-align:center}
.saved.bad{color:#B42318}
/* 結果の下の「このプランで始める」 */
.qin h3.start{font-size:19px;text-align:center;color:var(--navy);margin-top:14px}

@media (max-width:820px){
  .hero h1{font-size:34px}
  .sec{padding:60px 0}
  .sec h2{font-size:26px}
  .steps3{grid-template-columns:1fr;gap:12px}
  .feat{grid-template-columns:1fr;gap:22px;padding:36px 0}
  .feat:nth-child(even) .art{order:0}
  .feat h3{font-size:24px}
  .plans{grid-template-columns:1fr}
  .scenes .row{grid-template-columns:repeat(2,1fr)}
  .mock{min-height:280px}
  .mock .who{width:140px;height:180px}
  .mock .who.l{left:6%}.mock .who.r{right:6%}
  .bub{font-size:13px;max-width:170px}
  .bub.b3{left:30%;top:110px}.bub.b4{right:8%;top:170px}
  .facts li{padding:6px 18px}
  .facts b{font-size:24px}
}

/* スマホ。数字の帯は 2 列、シナリオは 1 列、料金の表はカードに組み替える */
@media (max-width:560px){
  .hero h1{font-size:29px}
  .hero .sub{font-size:14.5px}
  .hero .lead{font-size:15.5px}
  /* 会話の見本は、狭いと 4 つの吹き出しが写真に重なる。相手の問いと自分の答えの 2 つだけにする */
  .mock{min-height:300px;padding-top:26px}
  .mock .who{width:126px;height:160px}
  .mock .who.l{left:4%}.mock .who.r{right:4%}
  .bub.b2,.bub.b4{display:none}
  .bub.b1{left:4%;top:14px}
  .bub.b3{left:auto;right:4%;top:104px}
  .facts ul{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 0}
  .facts li{border-left:0;padding:4px 8px}
  .facts b{font-size:19px}
  .facts span{font-size:12px}
  .scenes .row{grid-template-columns:1fr}
  .ptab,.ptab thead,.ptab tbody,.ptab tr,.ptab th,.ptab td{display:block;width:100%}
  .ptab thead{display:none}
  .ptab tbody tr{border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin-bottom:12px}
  .ptab tbody tr.hi{border-color:var(--sky)}
  .ptab tbody th,.ptab tbody td{padding:0;border-bottom:0}
  .ptab .yen{color:var(--sky-deep);margin:2px 0 4px}
  /* 上のバー。ロゴの文字が 1 字ずつ折れないよう、名前を 1 行に固定して小さくし、ボタンも詰める */
  .nav .wrap{gap:8px;height:60px}
  .logo{gap:6px;font-size:14px;white-space:nowrap;flex:none}
  .logo .mark{width:28px;height:28px;font-size:14px}
  .logo small{display:none}
  .nav .r{gap:6px}
  .nav .cta.sm{font-size:13px;padding:9px 12px}
  .cmp table{min-width:560px;border-spacing:6px 0}
  .cmp th,.cmp td{padding:12px 8px;font-size:13px}
}
