/* COMPASS オンライン学習（/guide・/guide/plan・/tango/manual）の共通スタイル */
:root{
  --navy:#0d1b3a;--navy2:#1e2f52;--gold:#c5a059;--gold-pale:#efe4cc;--ivory:#f7f3ea;
  --rose:#a8864a;--rose-pale:#f6efe0;--logo:#b49a7c;--green:#06c755;--ink:#1a1a1a;--muted:#5d6472;--line:#e6dfcf;
  --radius:18px;--shadow:0 10px 30px rgba(13,27,58,.10);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Hiragino Sans","Noto Sans JP","Yu Gothic UI","Meiryo",sans-serif;color:var(--ink);background:#fff;line-height:1.8;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}

/* ヘッダー */
.gh{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(6px);border-bottom:1px solid var(--line)}
.gh .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px}
.gh .brand{font-weight:800;letter-spacing:.06em;color:var(--navy);text-decoration:none;font-size:17px;white-space:nowrap}
.gh .brand small{color:var(--gold);font-weight:700;margin-left:6px;font-size:12px;letter-spacing:.1em}
.gh nav{display:flex;gap:18px;font-size:13.5px}
.gh nav a{text-decoration:none;color:var(--navy2);white-space:nowrap}
.gh nav a:hover{color:var(--rose)}
.gh .form-mini{background:linear-gradient(180deg,#c9a965,#a8864a);color:#fff;text-decoration:none;font-weight:700;font-size:13px;padding:7px 16px;border-radius:99px;white-space:nowrap}
.gh .line-mini{background:var(--green);color:#fff;text-decoration:none;font-weight:700;font-size:13px;padding:7px 14px;border-radius:99px;white-space:nowrap}
@media(max-width:860px){.gh nav{display:none}}

/* ボタン */
.btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:700;border-radius:99px;padding:14px 26px;font-size:15px;transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.12)}
.btn-line{background:var(--green);color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy{background:var(--navy);color:#fff}
.btn-ghost{border:2px solid var(--navy);color:var(--navy);background:#fff}

/* ヒーロー */
.hero{position:relative;background:radial-gradient(1200px 500px at 80% -10%,#f3e8d2 0,transparent 60%),linear-gradient(180deg,#fff, var(--ivory));overflow:hidden}
.hero:before{content:"";position:absolute;left:-60px;bottom:-40px;width:520px;height:310px;background:url('img/logo_learning.png') left bottom/contain no-repeat;opacity:.07;pointer-events:none}
.hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center;padding-top:56px;padding-bottom:64px}
.hero .eyebrow{display:inline-block;background:var(--navy);color:var(--gold-pale);font-size:12px;letter-spacing:.18em;padding:4px 12px;border-radius:99px;margin-bottom:16px}
.hero h1{font-size:clamp(30px,4.6vw,50px);line-height:1.3;color:var(--navy);letter-spacing:.02em}
.hero h1 em{font-style:normal;color:var(--rose)}
.hero p.lead{margin:18px 0 26px;font-size:16px;color:var(--muted);max-width:520px}
.hero .cta{display:flex;flex-wrap:wrap;gap:12px}
.hero .shots{position:relative;height:540px}
.hero .shots .phone{position:absolute;width:230px}
.hero .shots .p1{left:4%;top:40px;transform:rotate(-6deg)}
.hero .shots .p2{left:34%;top:0;z-index:2}
.hero .shots .p3{right:0;top:60px;transform:rotate(6deg)}
@media(max-width:860px){
  .hero .wrap{grid-template-columns:1fr;padding-top:36px}
  .hero .shots{height:400px;max-width:420px;margin:0 auto;width:100%}
  .hero .shots .phone{width:42%}
  .hero .shots .p1{left:0}.hero .shots .p2{left:29%}.hero .shots .p3{right:0}
}

/* スマホの枠 */
.phone{border-radius:30px;background:#111;padding:8px;box-shadow:var(--shadow)}
.phone img{border-radius:23px;width:100%;aspect-ratio:390/800;object-fit:cover;object-position:top}
.phone.full img{aspect-ratio:auto}
.paper{background:#fff;border-radius:6px;box-shadow:0 8px 26px rgba(13,27,58,.16);overflow:hidden;border:1px solid #eee}

/* 数字 */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:-34px;position:relative;z-index:3}
.stat{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 14px;text-align:center}
.stat b{display:block;font-size:30px;color:var(--rose);line-height:1.2}
.stat span{font-size:12.5px;color:var(--muted)}
@media(max-width:700px){.stats{grid-template-columns:repeat(2,1fr)}}

/* セクション */
.sec{padding:84px 0}
.sec.alt{background:var(--ivory)}
.sec.dark{background:var(--navy);color:#fff}
.sec-h{text-align:center;margin-bottom:44px}
.sec-h .no{display:inline-block;font-weight:800;color:var(--gold);letter-spacing:.2em;font-size:13px}
.sec-h h2{font-size:clamp(24px,3.4vw,34px);color:var(--navy);line-height:1.4;margin-top:4px}
.sec.dark .sec-h h2{color:#fff}
.sec-h p{color:var(--muted);margin-top:10px;font-size:15px}
.sec.dark .sec-h p{color:#cfd6e4}

/* サービスのカード */
.svc4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.svc4 a{display:block;text-decoration:none;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:transform .15s}
.svc4 a:hover{transform:translateY(-3px)}
.svc4 .th{height:180px;overflow:hidden;background:var(--rose-pale);display:flex;justify-content:center;padding-top:16px}
.svc4 .th img{width:62%;border-radius:14px 14px 0 0;box-shadow:0 4px 16px rgba(0,0,0,.15);object-fit:cover;object-position:top}
.svc4 .th.paper-th{background:#fff4e8}
.svc4 .tx{padding:16px 18px 20px}
.svc4 h3{color:var(--navy);font-size:17px}
.svc4 p{font-size:13px;color:var(--muted);margin-top:4px}
@media(max-width:960px){.svc4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.svc4{grid-template-columns:1fr}}

/* 画像＋文の段 */
.feature{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:72px}
.feature:last-child{margin-bottom:0}
.feature.rev .media{order:2}
.feature h3{font-size:24px;color:var(--navy);line-height:1.45;margin-bottom:12px}
.feature h3 small{display:block;color:var(--rose);font-size:13px;letter-spacing:.12em;margin-bottom:4px}
.feature p{color:#333;font-size:15px;margin-bottom:10px}
.feature ul.ck{margin-top:8px}
.feature ul.ck li{list-style:none;padding-left:28px;position:relative;margin:6px 0;font-size:14.5px}
.feature ul.ck li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--rose);color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;margin-top:3px}
.feature .media{display:flex;gap:14px;justify-content:center;align-items:flex-start}
.feature .media .phone{width:46%;max-width:240px}
@media(max-width:860px){.feature{grid-template-columns:1fr;gap:26px}.feature.rev .media{order:0}}

/* 画面のギャラリー */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.gallery figure{text-align:center}
.gallery figcaption{font-size:13px;color:var(--muted);margin-top:10px;line-height:1.6}
.gallery figcaption b{display:block;color:var(--navy);font-size:14px}
@media(max-width:860px){.gallery{grid-template-columns:repeat(2,1fr)}}

/* 定期テスト対策パック */
.flow{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;counter-reset:f}
.flow li{list-style:none;background:#fff;border-radius:14px;padding:18px 14px;box-shadow:var(--shadow);position:relative;counter-increment:f;font-size:13.5px}
.flow li:before{content:counter(f);display:flex;width:30px;height:30px;border-radius:50%;background:var(--navy);color:var(--gold-pale);font-weight:800;align-items:center;justify-content:center;margin-bottom:8px}
.flow li b{display:block;color:var(--navy);font-size:15px;margin-bottom:4px}
.flow li:not(:last-child):after{content:"";position:absolute;right:-10px;top:50%;border:6px solid transparent;border-left-color:var(--gold)}
@media(max-width:860px){.flow{grid-template-columns:1fr}.flow li:not(:last-child):after{right:50%;top:auto;bottom:-14px;border-left-color:transparent;border-top-color:var(--gold)}}
.papers{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:start}
.papers .paper{aspect-ratio:210/297}
.papers .paper img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.papers figcaption{text-align:center;font-size:13px;color:var(--muted);margin-top:10px}
.papers figcaption b{display:block;color:var(--navy)}
@media(max-width:860px){.papers{grid-template-columns:repeat(2,1fr)}}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.three .box{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.three .box .im{height:220px;overflow:hidden;background:#f3f0e8}
.three .box .im img{width:100%;height:100%;object-fit:cover;object-position:top}
.three .box .tx{padding:18px 20px 22px}
.three .box h3{color:var(--navy);font-size:18px}
.three .box h3 span{display:inline-block;background:var(--rose);color:#fff;font-size:12px;border-radius:99px;padding:1px 10px;margin-right:6px;vertical-align:2px}
.three .box p{font-size:13.5px;color:#333;margin-top:6px}
@media(max-width:860px){.three{grid-template-columns:1fr}}
.menu-t{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);font-size:14px}
.menu-t th,.menu-t td{padding:14px 12px;border-bottom:1px solid #eee;text-align:center}
.menu-t thead th{background:var(--navy);color:#fff;font-weight:700}
.menu-t tbody th{text-align:left;color:var(--navy)}
.menu-t td.y{color:var(--rose);font-weight:800;font-size:18px}
.menu-t td.n{color:#ccc}
.menu-t tr.set{background:var(--rose-pale)}
.scroll-x{overflow-x:auto}

/* 横長の画像（予定表など） */
.wide{border-radius:12px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
.note{font-size:13px;color:var(--muted);margin-top:10px}
.soon{display:inline-block;background:var(--gold-pale);color:#7a5a1d;border-radius:99px;font-size:12px;padding:1px 10px;font-weight:700;vertical-align:2px;white-space:nowrap}

/* 申し込みの帯 */
.cta-band{background:linear-gradient(135deg,var(--navy),#2b3f6b);color:#fff;text-align:center;padding:70px 20px}
.cta-band h2{font-size:clamp(22px,3vw,30px)}
.cta-band p{color:#d5dbe8;margin:10px 0 24px}
.cta-band .row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.cta-band .btn-ghost{background:transparent;color:#fff;border-color:#fff}
.cta-band .id{margin-top:14px;font-size:13px;color:#cfd6e4}

.gf{background:#0a1430;color:#aeb7cb;font-size:12.5px;padding:28px 0;text-align:center}
.gf a{color:#dfe5f1;margin:0 8px}

/* マニュアル */
.man-hero{background:linear-gradient(180deg,#fff,var(--ivory));padding:44px 0 34px;text-align:center}
.man-hero h1{color:var(--navy);font-size:clamp(24px,3.6vw,34px)}
.man-hero p{color:var(--muted);margin-top:6px}
.toc{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}
.toc a{background:#fff;border:1px solid var(--line);border-radius:99px;padding:6px 14px;font-size:13px;text-decoration:none;color:var(--navy)}
.toc a:hover{border-color:var(--rose);color:var(--rose)}
.step{display:grid;grid-template-columns:260px 1fr;gap:36px;align-items:start;padding:40px 0;border-bottom:1px solid #eee;scroll-margin-top:70px}
.step:last-child{border-bottom:0}
.step .shot{max-width:260px}
.step .shot.wide-shot{max-width:none}
.step h2{color:var(--navy);font-size:21px;display:flex;align-items:center;gap:10px;margin-bottom:12px}
.step h2 i{font-style:normal;display:inline-flex;width:34px;height:34px;flex:none;border-radius:50%;background:var(--rose);color:#fff;font-size:16px;align-items:center;justify-content:center}
.step p{font-size:15px;margin-bottom:10px}
.step ol,.step ul{margin:6px 0 12px 1.4em;font-size:15px}
.step li{margin:4px 0}
.step .tip{background:var(--rose-pale);border-radius:12px;padding:12px 16px;font-size:14px;margin-top:10px}
.step .tip.ok{background:#eaf7ee}
.kbd{display:inline-block;border:1px solid #d9d9d9;border-bottom-width:2px;border-radius:6px;background:#fff;padding:0 8px;font-size:13px;white-space:nowrap}
.mini{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.mini figure{width:170px}
.mini figcaption{font-size:12.5px;color:var(--muted);text-align:center;margin-top:6px}
@media(max-width:760px){.step{grid-template-columns:1fr;gap:18px}.step .shot{margin:0 auto;width:72%}.mini figure{width:46%}}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:10px}
.faq summary{cursor:pointer;padding:14px 18px;font-weight:700;color:var(--navy)}
.faq details>div{padding:0 18px 16px;font-size:14.5px}

/* --- 2026-10-16 再構成 --- */
.chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.chips span{background:#fff;border:2px solid var(--rose);color:var(--rose);font-weight:800;border-radius:99px;padding:6px 18px;font-size:15px}
.chips.small span{border-width:1px;font-weight:700;font-size:13.5px;padding:4px 14px;color:var(--navy);border-color:var(--line)}
.chips em{font-style:normal;color:var(--muted);font-size:13px;align-self:center;margin-right:4px}
.center-note{text-align:center;color:var(--muted);margin-top:14px}
.sub-h{text-align:center;color:var(--navy);font-size:22px;margin:54px 0 24px}
.gallery.g3{grid-template-columns:repeat(3,1fr);max-width:820px;margin:0 auto}
@media(max-width:700px){.gallery.g3{grid-template-columns:repeat(3,1fr);gap:10px}.gallery.g3 figcaption{font-size:11.5px}}
.steps5{counter-reset:s;list-style:none}
.steps5 li{counter-increment:s;position:relative;padding:0 0 22px 62px;font-size:15px;color:#333}
.steps5 li:before{content:counter(s);position:absolute;left:0;top:0;width:44px;height:44px;border-radius:50%;background:var(--navy);color:var(--gold-pale);font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center}
.steps5 li:not(:last-child):after{content:"";position:absolute;left:21px;top:48px;bottom:4px;width:2px;background:var(--gold-pale)}
.steps5 li b:first-child{display:block;color:var(--navy);font-size:18px;margin-bottom:2px}
.goal{margin-top:6px;background:var(--rose-pale);border-left:5px solid var(--rose);border-radius:10px;padding:14px 18px;font-size:16px;color:var(--navy)}
.goal b{color:var(--rose)}
#online .feature .media .phone{width:72%;max-width:300px}
.choose{margin-top:70px;background:var(--ivory);border-radius:var(--radius);padding:36px 24px}
.choose h3{text-align:center;color:var(--navy);font-size:22px}
.choose>p{text-align:center;color:var(--muted);margin:6px 0 22px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:820px;margin:0 auto}
.two .opt{background:#fff;border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.two .opt .im{height:200px;overflow:hidden;background:#f3f0e8}
.two .opt .im img{width:100%;height:100%;object-fit:cover;object-position:top}
.two .opt .tx{padding:16px 18px 20px;font-size:14px;color:#333}
.two .opt .tx b{display:block;color:var(--navy);font-size:18px;margin-bottom:4px}
.two.big{max-width:none}
.two.big .opt .im{height:260px}
.num{display:inline-flex;width:30px;height:30px;border-radius:50%;background:var(--rose);color:#fff;font-weight:800;align-items:center;justify-content:center;margin-bottom:6px}
@media(max-width:700px){.two{grid-template-columns:1fr}}
.two-wide{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}
.two-wide figcaption{text-align:center;font-size:13px;color:var(--muted);margin-top:8px}
@media(max-width:760px){.two-wide{grid-template-columns:1fr}}
#report .feature .media .phone{width:70%;max-width:300px}
.year-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:40px;align-items:start}
.year-shots{display:grid;gap:16px}
.ck.light li{color:#e8ecf5;list-style:none;padding-left:28px;position:relative;margin:10px 0;font-size:15px}
.ck.light li:before{content:"✓";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:var(--gold);color:var(--navy);font-size:12px;display:flex;align-items:center;justify-content:center}
@media(max-width:860px){.year-grid{grid-template-columns:1fr}}

.phone.tall img{aspect-ratio:390/1000}
#online .feature{align-items:center}

.svc4 .th.wide-th{background:#eef1f7;padding:14px 10px 0}
.svc4 .th.wide-th img{width:100%;border-radius:10px 10px 0 0;object-position:left top}

/* --- トーンをそろえる（ロゴ・HP と同じ 紺・金・アイボリー、見出しは明朝）--- */
:root{--serif:"游明朝","Yu Mincho",YuMincho,"Hiragino Mincho ProN","Noto Serif JP",serif}
.gh .wrap{height:64px}
.gh .brand{display:flex;align-items:center}
.gh .brand img{height:44px;width:auto}
.hero h1,.sec-h h2,.feature h3,.sub-h,.choose h3,.three .box h3,.svc4 h3,.man-hero h1,.step h2,.cta-band h2,.steps5 li b:first-child,.two .opt .tx b{font-family:var(--serif);font-weight:700;letter-spacing:.04em}
.hero h1{font-weight:600}
.hero .eyebrow{background:transparent;color:var(--rose);border:1px solid var(--gold);letter-spacing:.24em}
.sec-h .no{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:15px;color:var(--gold)}
.sec-h h2:after{content:"";display:block;width:44px;height:1px;background:var(--gold);margin:16px auto 0}
.svc4 .th,.svc4 .th.paper-th,.svc4 .th.wide-th{background:var(--ivory)}
.svc4 a{border-top:2px solid var(--gold)}
.chips span{border-width:1px;font-weight:700}
.stat b{font-family:var(--serif)}
.steps5 li:before,.step h2 i,.num{background:var(--navy);color:var(--gold-pale)}
.feature ul.ck li:before,.ck.light li:before{background:var(--gold);color:#fff}
.goal{border-left-color:var(--gold)}
.btn-navy{background:var(--navy)}
.gf .logo{height:40px;width:auto;margin:0 auto 10px;opacity:.9;filter:brightness(1.6)}
.year-grid ul.ck li{list-style:none;padding-left:28px;position:relative;margin:10px 0;font-size:15px}
.year-grid ul.ck li:before{content:"✓";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:var(--gold);color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center}
/* 05 通年プラン: 箇条書きを上に2列、画面は下に幅いっぱい */
.year-grid{grid-template-columns:1fr;gap:28px}
.year-grid ul.ck{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;max-width:820px;margin:0 auto}
.year-shots{grid-template-columns:1fr 1fr;gap:20px}
.year-shots figure:first-child{grid-column:1 / -1}
.year-shots figure:nth-child(3) .wide{max-height:640px}
.year-shots figure:nth-child(3) .wide img{object-fit:cover;object-position:top}
@media(max-width:760px){.year-grid ul.ck,.year-shots{grid-template-columns:1fr}}
/* 新しいロゴ（COMPASS online learning） */
.hero .hero-logo{width:240px;height:auto;margin:0 0 18px -6px}
@media(max-width:860px){.hero .hero-logo{width:200px}}
.gh .brand img{height:48px}

/* 公開キャンペーン（無料モニター募集） */
.btn-gold{background:linear-gradient(180deg,#c9a965,#a8864a);color:#fff;box-shadow:0 6px 16px rgba(168,134,74,.35)}
.hero .campaign{background:#fff;border:1px solid #e6d7b5;border-left:4px solid #a8864a;border-radius:10px;padding:12px 16px;margin:0 0 22px;
  font-size:14.5px;line-height:1.8;color:#3a3a3a;max-width:520px}
.hero .campaign b{color:#8a6a2e}

/* キャンペーン: レベル判定 → テキスト選定 → スケジュール管理 → 目標達成 */
.flow4{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0 12px;padding:0;max-width:580px}
.flow4 li{position:relative;background:#fff;border:1px solid #e6d7b5;border-radius:10px;padding:12px 6px 10px;text-align:center;font-size:12px;line-height:1.5;color:#5d6472;letter-spacing:0}
.flow4 li:not(:last-child):after{content:"\25B6";position:absolute;right:-10px;top:50%;transform:translateY(-50%);font-size:9px;color:#a8864a;z-index:1}
.flow4 .n{display:block;width:22px;height:22px;line-height:22px;margin:0 auto 4px;border-radius:50%;background:#a8864a;color:#fff;font-size:12px;font-weight:700}
.flow4 b{display:block;font-size:13.5px;color:#0d1b3a;margin-bottom:2px;font-weight:700}
.flow4 small{display:block;font-size:11px}
.flow4 .key{background:#0d1b3a;border-color:#0d1b3a;color:#efe4cc;transform:scale(1.06);box-shadow:0 8px 18px rgba(13,27,58,.25)}
.flow4 .key b{color:#fff;font-size:15px}
.flow4 .key .n{background:#c5a059}
.flow4 .key:before{content:"まずはここから";position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:#a8864a;color:#fff;font-size:10px;padding:1px 9px;border-radius:99px;white-space:nowrap;letter-spacing:.05em}
.flow4 .goal{background:#f6efe0;border-color:#c5a059}
.flow-sup{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;max-width:580px;margin:0 0 20px;padding:10px 14px;border:1px dashed #c5a059;border-radius:10px;background:#fffdf8;font-size:13px;line-height:1.6;color:#3a3a3a;text-align:left}
.flow-sup b{color:#8a6a2e;width:100%}
.flow-sup i{font-style:normal;font-weight:700;color:#0d1b3a;margin-right:6px}
@media(max-width:600px){.flow4{grid-template-columns:repeat(2,1fr);gap:18px 12px}.flow4 li:nth-child(2):after{display:none}.flow4 .key{transform:none}}

/* オンライン学習の流れ（時系列） */
.tl{list-style:none;position:relative;margin:10px auto 0;padding:0;max-width:1000px}
.tl:before{content:"";position:absolute;left:23px;top:10px;bottom:30px;width:3px;background:linear-gradient(#0d1b3a,#c5a059);border-radius:2px}
.tl-i{position:relative;display:grid;grid-template-columns:1fr 1.15fr;gap:32px;align-items:start;padding:0 0 52px 70px}
.tl-tx{padding-top:8px}
.tl-n{position:absolute;left:0;top:0;width:49px;height:49px;border-radius:50%;background:#a8864a;color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px #fff}
.tl-i.key .tl-n{background:#0d1b3a;width:56px;height:56px;left:-3px;font-size:22px}
.tl-tx h3{font-size:22px;color:var(--navy);margin-bottom:8px}
.tl-i.key .tl-tx h3:after{content:"まずはここから";display:inline-block;margin-left:10px;vertical-align:middle;font-size:11px;font-family:inherit;letter-spacing:.05em;background:#a8864a;color:#fff;padding:2px 10px;border-radius:99px}
.tl-tx p{font-size:15px;color:#333;line-height:1.9}
.tl-m img{width:100%;border-radius:12px;box-shadow:var(--shadow);background:#fff}
.tl-m > img{max-height:440px;object-fit:cover;object-position:top}
.tl-m .phone img{border-radius:23px;box-shadow:none}
.tl-pair{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;align-items:center}
.tl-m .tl-ph{max-width:230px;margin:0 auto}
.tl-goal{padding-bottom:10px}
.tl-goal .tl-n{background:linear-gradient(180deg,#c9a965,#a8864a);font-size:22px}
.tl-goal .tl-tx{grid-column:1/-1;background:#f6efe0;border:1px solid #c5a059;border-radius:14px;padding:16px 20px}
.tl-goal .tl-tx h3{color:#8a6a2e}
.tl-help{max-width:1000px;margin:20px auto 40px;background:#0d1b3a;color:#efe4cc;border-radius:16px;padding:20px 24px 18px 70px;position:relative}
.tl-help:before{content:"\1F468\200D\1F3EB";position:absolute;left:20px;top:18px;font-size:30px}
.tl-help b{display:block;color:#fff;font-size:19px;margin-bottom:6px}
.tl-help p{font-size:14.5px;line-height:1.9}
.tl-help p b{display:inline;font-size:inherit;color:#e9cf96;margin:0}
@media(max-width:860px){
  .tl:before{left:17px}
  .tl-i{grid-template-columns:1fr;gap:14px;padding:0 0 36px 52px}
  .tl-n{width:37px;height:37px;font-size:16px}
  .tl-i.key .tl-n{width:42px;height:42px;left:-2px;font-size:18px}
  .tl-tx h3{font-size:19px}
  .tl-help{padding:18px 18px 16px 58px}
  .tl-help:before{left:14px;font-size:26px}
}

/* リモート指導（完全に自宅で）と、有料の補強指導（対面かリモート） */
.tl-remote{max-width:1000px;margin:0 auto 38px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;background:#eef2f9;border:2px solid #0d1b3a;border-radius:14px;padding:14px 20px}
.tl-home{background:#0d1b3a;color:#fff;font-weight:700;font-size:13px;padding:3px 12px;border-radius:99px;white-space:nowrap}
.tl-remote b{font-size:17px;color:#0d1b3a;line-height:1.6}
.tl-remote small{width:100%;font-size:13.5px;color:#5d6472;line-height:1.7}
.tl-help .paid{display:inline-block;margin-left:10px;vertical-align:middle;background:#c5a059;color:#0d1b3a;font-size:12px;padding:1px 10px;border-radius:99px}
.tl-opt{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.tl-opt span{background:#fff;color:#0d1b3a;font-weight:700;border-radius:99px;padding:5px 18px;font-size:14.5px}

/* COMPASS のしくみ: 4つのシステムと、使い方（一貫指導／アラカルト） */
.sys4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.sys4 a{display:block;text-decoration:none;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:transform .15s}
.sys4 a:hover{transform:translateY(-3px)}
.sys4 .th{height:170px;overflow:hidden;background:var(--rose-pale);display:flex;justify-content:center;align-items:flex-start;padding-top:16px}
.sys4 .th img{width:78%;border-radius:12px 12px 0 0;box-shadow:0 4px 16px rgba(0,0,0,.15);object-fit:cover;object-position:top}
.sys4 .th.paper-th{background:#fff4e8}.sys4 .th.paper-th img{width:62%}
.sys4 .tx{padding:14px 18px 20px}
.sys4 .k{display:block;font-size:11px;font-weight:800;letter-spacing:.16em;color:var(--gold)}
.sys4 h3{color:var(--navy);font-size:17px;margin-top:2px}
.sys4 p{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.7}
.sys-common{text-align:center;margin:22px 0 0;font-size:14px;color:var(--navy);font-weight:700}
.ways{display:grid;grid-template-columns:1.25fr 1fr;gap:18px;margin-top:6px}
.way{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px 26px;box-shadow:var(--shadow)}
.way h3{font-size:21px;color:var(--navy);margin-bottom:8px}
.way h3 small{display:block;font-size:11px;letter-spacing:.2em;color:var(--gold);margin-bottom:2px}
.way p{font-size:14.5px;color:#333;line-height:1.9}
.way.main{background:var(--navy);border-color:var(--navy);color:#efe4cc}
.way.main h3{color:#fff}.way.main p{color:#e6e9f0}.way.main p b{color:#e9cf96}
.way .tag{position:absolute;top:-12px;left:22px;background:linear-gradient(180deg,#c9a965,#a8864a);color:#fff;font-size:12px;font-weight:700;padding:2px 12px;border-radius:99px}
.sys-chips{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 16px}
.sys-chips span{background:rgba(255,255,255,.12);border:1px solid rgba(233,207,150,.5);color:#fff;font-size:12.5px;padding:3px 12px;border-radius:99px}
.way.main .btn-navy{background:#fff;color:var(--navy)}
.way ul.ck{margin-top:10px}.way ul.ck a{color:var(--navy);font-weight:700}
.way ul.ck li{list-style:none;padding-left:28px;position:relative;margin:8px 0;font-size:14.5px}
.way ul.ck li:before{content:"✓";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:var(--gold);color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center}
.alc{display:inline-block;margin-top:12px;font-size:12.5px;font-weight:700;color:#8a6a2e;background:#f6efe0;border:1px solid #e6d7b5;padding:3px 14px;border-radius:99px}
@media(max-width:960px){.sys4{grid-template-columns:repeat(2,1fr)}.ways{grid-template-columns:1fr}}
@media(max-width:520px){.sys4{grid-template-columns:1fr}.sys4 .th{height:150px}}
/* 外部へ送る情報について */
.ext{width:100%;border-collapse:collapse;margin:18px 0;font-size:13.5px;background:#fff}
.ext th,.ext td{border:1px solid var(--line);padding:9px 10px;text-align:left;vertical-align:top}
.ext th{background:var(--ivory)}
.ext .muted,.sec .muted{color:var(--muted);font-size:12.5px}
@media(max-width:620px){.ext{font-size:12.5px}.ext th,.ext td{padding:7px 6px}}
/* 広告のリンク先（/guide/lp/…） */
.lp-note{margin-top:14px;font-size:13px;color:var(--muted)}
.lp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lp-cards>div{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 18px;box-shadow:var(--shadow)}
.lp-cards b{display:block;color:var(--navy);font-size:16px;line-height:1.5;margin-bottom:6px}
.lp-cards p{font-size:14px;color:var(--muted)}
.lp-pts{display:grid;gap:34px}
.lp-pt{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center}
.lp-pt:nth-child(even) .m{order:-1}
.lp-pt .k{font-size:12px;letter-spacing:.16em;color:var(--rose);font-weight:700}
.lp-pt h3{font-size:22px;color:var(--navy);line-height:1.45;margin:4px 0 10px}
.lp-pt p{font-size:15px}
.lp-pt .m img{border-radius:12px;box-shadow:var(--shadow);margin:0 auto}
.lp-pt .lp-ph{width:230px;margin:0 auto}
.lp-pt .lp-ph img{box-shadow:none}
.lp-tbl{overflow-x:auto}
.lp-tbl table{width:100%;min-width:620px;border-collapse:collapse;font-size:14px;background:#fff}
.lp-tbl th,.lp-tbl td{border:1px solid var(--line);padding:11px 12px;text-align:left;vertical-align:top}
.lp-tbl tr:first-child th{background:var(--navy);color:#fff;text-align:center}
.lp-tbl tr:not(:first-child) th{background:var(--ivory);white-space:nowrap}
.lp-tbl .me{background:var(--rose-pale);font-weight:700;color:var(--navy)}
.lp-tbl tr:first-child th.me{background:var(--rose);color:#fff}
.lp-steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.lp-steps li{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 16px;text-align:center}
.lp-steps .n{display:inline-flex;width:34px;height:34px;border-radius:50%;background:var(--navy);color:var(--gold-pale);align-items:center;justify-content:center;font-weight:800;margin-bottom:8px}
.lp-steps b{display:block;color:var(--navy);line-height:1.5}
.lp-steps small{display:block;font-size:13px;color:var(--muted);margin-top:6px;line-height:1.6}
.lp-faq{max-width:820px;margin:0 auto}
.lp-faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;padding:14px 18px}
.lp-faq summary{cursor:pointer;font-weight:700;color:var(--navy)}
.lp-faq p{margin-top:8px;font-size:14.5px;color:#333}
@media(max-width:860px){.lp-cards{grid-template-columns:1fr}.lp-pt{grid-template-columns:1fr;gap:14px}.lp-pt:nth-child(even) .m{order:0}
  .lp-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.lp-steps{grid-template-columns:1fr}.lp-pt h3{font-size:19px}}
/* 質問ボックス・料金（宣伝ページ・広告のリンク先） */
.qb-wrap{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}
ol.qsteps{list-style:none;padding:0;margin:0;counter-reset:q}
ol.qsteps li{counter-increment:q;position:relative;padding:0 0 18px 52px}
ol.qsteps li:before{content:counter(q);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:var(--navy);color:var(--gold-pale);display:flex;align-items:center;justify-content:center;font-weight:800}
ol.qsteps b{display:block;color:var(--navy);font-size:17px}ol.qsteps span{display:block;font-size:14.5px;color:#333}
.qb-shots{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qb-shots img{border-radius:14px;box-shadow:var(--shadow);border:1px solid var(--line)}
.qb-shots figcaption{text-align:center;font-size:12.5px;color:var(--muted);margin-top:6px}
.qb-more{margin-top:22px;background:#fff8e6;border:1px solid #ecd9a8;border-radius:12px;padding:12px 16px;font-size:14.5px;text-align:center}
table.price td.pr{font-weight:800;color:var(--navy);white-space:nowrap}table.price{min-width:520px}
ul.pnote{max-width:860px;margin:16px auto 0;padding-left:20px;font-size:13.5px;color:var(--muted)}ul.pnote li{margin-bottom:4px}
@media(max-width:860px){.qb-wrap{grid-template-columns:1fr}}
.lp-tbl table.price{min-width:0}
@media(max-width:620px){table.price th,table.price td{padding:9px 7px;font-size:13px}table.price tr:not(:first-child) th{white-space:normal}table.price td.pr{white-space:normal}}

/* 合格実績（/admin/ads で入れて公開したときだけ出る） */
.res-wrap{display:grid;gap:14px;max-width:900px;margin:0 auto}
.res-g{background:#fff;border:1px solid #eadfc8;border-radius:12px;padding:14px 18px}
.res-g>b{display:block;color:#a8823a;letter-spacing:.1em;margin-bottom:8px}
.res-s{display:flex;flex-wrap:wrap;gap:6px 8px}.res-s span{background:#faf6ee;border-radius:14px;padding:3px 12px;font-size:14px}
.res-note{text-align:center;color:#888;font-size:12px;margin-top:12px}
.lp-mid{padding:4px 0 24px;text-align:center}
.cta{display:flex;flex-wrap:wrap;gap:12px}.lp-mid .cta,.sec .cta{justify-content:center}
.cta .btn,.cta-band .row .btn{flex:1 1 280px;max-width:340px;min-height:59px;justify-content:center;text-align:center;box-sizing:border-box}

/* 無料の予想問題の LP（/guide/lp/yosou） */
.yo-shots{position:relative;height:500px}
.yo-shots .paper{position:absolute;width:58%;aspect-ratio:210/297}
.yo-shots .paper img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.yo-shots .a{left:2%;top:46px;transform:rotate(-4deg)}
.yo-shots .b{right:2%;top:0;transform:rotate(3deg);z-index:2}
.yo-tags{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0 0 18px}
.yo-tags span{background:#fff;border:1px solid #eadfc8;border-radius:99px;padding:3px 12px;font-size:13.5px;color:var(--navy);font-weight:700}
.cta.yo .btn-gold{flex:1 1 320px;max-width:420px;font-size:17px}
.cta.yo .btn-line{flex:0 1 200px;min-height:48px;font-size:14px}
.papers.yo .paper.ph{background:#111;border-radius:22px;padding:6px;border:0}
.papers.yo .paper.ph img{border-radius:16px}
.yo-free{max-width:820px;margin:22px auto 0;background:#fff8e6;border:1px solid #ecd9a8;border-radius:12px;padding:14px 18px;font-size:14.5px}
@media(max-width:860px){
  .yo-shots{height:330px;max-width:420px;margin:0 auto;width:100%}
}
.lp-steps.yo3{grid-template-columns:repeat(3,1fr)}
@media(max-width:620px){.lp-steps.yo3{grid-template-columns:1fr}.yo-tags span{font-size:12.5px;padding:2px 10px}}
