/* COMPASS オンライン学習（HP の /service/）。宣伝サイト /guide と同じ内容・同じ見た目。
   build_hp_service.py で /guide の CSS から作る（すべて .cg の中だけに効く） */
.cg{font-family:"Hiragino Sans","Noto Sans JP","Yu Gothic UI","Meiryo",sans-serif;letter-spacing:0;line-height:1.8;color:#1a1a1a}
.cg .btn{margin-top:0;letter-spacing:.04em;border:0;font-family:inherit}
.cg .btn-ghost{border:2px solid #0d1b3a}
.cg .cta-band .btn-ghost{border-color:#fff}
.cg .hero{padding:0;text-align:left}
.cg .hero:before,.cg .hero::before{display:none}
.cg a:hover{color:inherit}
.cg{
  --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);
}
.cg *{box-sizing:border-box;margin:0;padding:0}
.cg{scroll-behavior:smooth}
.cg{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}
.cg img{max-width:100%;display:block}
.cg a{color:inherit}
.cg .wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.cg .gh{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(6px);border-bottom:1px solid var(--line)}
.cg .gh .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:60px}
.cg .gh .brand{font-weight:800;letter-spacing:.06em;color:var(--navy);text-decoration:none;font-size:17px;white-space:nowrap}
.cg .gh .brand small{color:var(--gold);font-weight:700;margin-left:6px;font-size:12px;letter-spacing:.1em}
.cg .gh nav{display:flex;gap:18px;font-size:13.5px}
.cg .gh nav a{text-decoration:none;color:var(--navy2);white-space:nowrap}
.cg .gh nav a:hover{color:var(--rose)}
.cg .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){.cg .gh nav{display:none}
}
.cg .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}
.cg .btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.12)}
.cg .btn-line{background:var(--green);color:#fff}
.cg .btn-navy{background:var(--navy);color:#fff}
.cg .btn-ghost{border:2px solid var(--navy);color:var(--navy);background:#fff}
.cg .hero{position:relative;background:radial-gradient(1200px 500px at 80% -10%,#f3e8d2 0,transparent 60%),linear-gradient(180deg,#fff, var(--ivory));overflow:hidden}
.cg .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}
.cg .hero .wrap{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center;padding-top:56px;padding-bottom:64px}
.cg .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}
.cg .hero h1{font-size:clamp(30px,4.6vw,50px);line-height:1.3;color:var(--navy);letter-spacing:.02em}
.cg .hero h1 em{font-style:normal;color:var(--rose)}
.cg .hero p.lead{margin:18px 0 26px;font-size:16px;color:var(--muted);max-width:520px}
.cg .hero .cta{display:flex;flex-wrap:wrap;gap:12px}
.cg .hero .shots{position:relative;height:540px}
.cg .hero .shots .phone{position:absolute;width:230px}
.cg .hero .shots .p1{left:4%;top:40px;transform:rotate(-6deg)}
.cg .hero .shots .p2{left:34%;top:0;z-index:2}
.cg .hero .shots .p3{right:0;top:60px;transform:rotate(6deg)}
@media(max-width:860px){.cg .hero .wrap{grid-template-columns:1fr;padding-top:36px}
.cg .hero .shots{height:400px;max-width:420px;margin:0 auto;width:100%}
.cg .hero .shots .phone{width:42%}
.cg .hero .shots .p1{left:0}
.cg .hero .shots .p2{left:29%}
.cg .hero .shots .p3{right:0}

}
.cg .phone{border-radius:30px;background:#111;padding:8px;box-shadow:var(--shadow)}
.cg .phone img{border-radius:23px;width:100%;aspect-ratio:390/800;object-fit:cover;object-position:top}
.cg .phone.full img{aspect-ratio:auto}
.cg .paper{background:#fff;border-radius:6px;box-shadow:0 8px 26px rgba(13,27,58,.16);overflow:hidden;border:1px solid #eee}
.cg .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:-34px;position:relative;z-index:3}
.cg .stat{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px 14px;text-align:center}
.cg .stat b{display:block;font-size:30px;color:var(--rose);line-height:1.2}
.cg .stat span{font-size:12.5px;color:var(--muted)}
@media(max-width:700px){.cg .stats{grid-template-columns:repeat(2,1fr)}
}
.cg .sec{padding:84px 0}
.cg .sec.alt{background:var(--ivory)}
.cg .sec.dark{background:var(--navy);color:#fff}
.cg .sec-h{text-align:center;margin-bottom:44px}
.cg .sec-h .no{display:inline-block;font-weight:800;color:var(--gold);letter-spacing:.2em;font-size:13px}
.cg .sec-h h2{font-size:clamp(24px,3.4vw,34px);color:var(--navy);line-height:1.4;margin-top:4px}
.cg .sec.dark .sec-h h2{color:#fff}
.cg .sec-h p{color:var(--muted);margin-top:10px;font-size:15px}
.cg .sec.dark .sec-h p{color:#cfd6e4}
.cg .svc4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cg .svc4 a{display:block;text-decoration:none;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:transform .15s}
.cg .svc4 a:hover{transform:translateY(-3px)}
.cg .svc4 .th{height:180px;overflow:hidden;background:var(--rose-pale);display:flex;justify-content:center;padding-top:16px}
.cg .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}
.cg .svc4 .th.paper-th{background:#fff4e8}
.cg .svc4 .tx{padding:16px 18px 20px}
.cg .svc4 h3{color:var(--navy);font-size:17px}
.cg .svc4 p{font-size:13px;color:var(--muted);margin-top:4px}
@media(max-width:960px){.cg .svc4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){.cg .svc4{grid-template-columns:1fr}
}
.cg .feature{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:72px}
.cg .feature:last-child{margin-bottom:0}
.cg .feature.rev .media{order:2}
.cg .feature h3{font-size:24px;color:var(--navy);line-height:1.45;margin-bottom:12px}
.cg .feature h3 small{display:block;color:var(--rose);font-size:13px;letter-spacing:.12em;margin-bottom:4px}
.cg .feature p{color:#333;font-size:15px;margin-bottom:10px}
.cg .feature ul.ck{margin-top:8px}
.cg .feature ul.ck li{list-style:none;padding-left:28px;position:relative;margin:6px 0;font-size:14.5px}
.cg .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}
.cg .feature .media{display:flex;gap:14px;justify-content:center;align-items:flex-start}
.cg .feature .media .phone{width:46%;max-width:240px}
@media(max-width:860px){.cg .feature{grid-template-columns:1fr;gap:26px}
.cg .feature.rev .media{order:0}
}
.cg .gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cg .gallery figure{text-align:center}
.cg .gallery figcaption{font-size:13px;color:var(--muted);margin-top:10px;line-height:1.6}
.cg .gallery figcaption b{display:block;color:var(--navy);font-size:14px}
@media(max-width:860px){.cg .gallery{grid-template-columns:repeat(2,1fr)}
}
.cg .flow{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;counter-reset:f}
.cg .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}
.cg .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}
.cg .flow li b{display:block;color:var(--navy);font-size:15px;margin-bottom:4px}
.cg .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){.cg .flow{grid-template-columns:1fr}
.cg .flow li:not(:last-child):after{right:50%;top:auto;bottom:-14px;border-left-color:transparent;border-top-color:var(--gold)}
}
.cg .papers{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:start}
.cg .papers .paper{aspect-ratio:210/297}
.cg .papers .paper img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.cg .papers figcaption{text-align:center;font-size:13px;color:var(--muted);margin-top:10px}
.cg .papers figcaption b{display:block;color:var(--navy)}
@media(max-width:860px){.cg .papers{grid-template-columns:repeat(2,1fr)}
}
.cg .three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cg .three .box{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.cg .three .box .im{height:220px;overflow:hidden;background:#f3f0e8}
.cg .three .box .im img{width:100%;height:100%;object-fit:cover;object-position:top}
.cg .three .box .tx{padding:18px 20px 22px}
.cg .three .box h3{color:var(--navy);font-size:18px}
.cg .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}
.cg .three .box p{font-size:13.5px;color:#333;margin-top:6px}
@media(max-width:860px){.cg .three{grid-template-columns:1fr}
}
.cg .menu-t{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);font-size:14px}
.cg .menu-t th,.cg .menu-t td{padding:14px 12px;border-bottom:1px solid #eee;text-align:center}
.cg .menu-t thead th{background:var(--navy);color:#fff;font-weight:700}
.cg .menu-t tbody th{text-align:left;color:var(--navy)}
.cg .menu-t td.y{color:var(--rose);font-weight:800;font-size:18px}
.cg .menu-t td.n{color:#ccc}
.cg .menu-t tr.set{background:var(--rose-pale)}
.cg .scroll-x{overflow-x:auto}
.cg .wide{border-radius:12px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
.cg .note{font-size:13px;color:var(--muted);margin-top:10px}
.cg .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}
.cg .cta-band{background:linear-gradient(135deg,var(--navy),#2b3f6b);color:#fff;text-align:center;padding:70px 20px}
.cg .cta-band h2{font-size:clamp(22px,3vw,30px)}
.cg .cta-band p{color:#d5dbe8;margin:10px 0 24px}
.cg .cta-band .row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.cg .cta-band .btn-ghost{background:transparent;color:#fff;border-color:#fff}
.cg .cta-band .id{margin-top:14px;font-size:13px;color:#cfd6e4}
.cg .gf{background:#0a1430;color:#aeb7cb;font-size:12.5px;padding:28px 0;text-align:center}
.cg .gf a{color:#dfe5f1;margin:0 8px}
.cg .man-hero{background:linear-gradient(180deg,#fff,var(--ivory));padding:44px 0 34px;text-align:center}
.cg .man-hero h1{color:var(--navy);font-size:clamp(24px,3.6vw,34px)}
.cg .man-hero p{color:var(--muted);margin-top:6px}
.cg .toc{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}
.cg .toc a{background:#fff;border:1px solid var(--line);border-radius:99px;padding:6px 14px;font-size:13px;text-decoration:none;color:var(--navy)}
.cg .toc a:hover{border-color:var(--rose);color:var(--rose)}
.cg .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}
.cg .step:last-child{border-bottom:0}
.cg .step .shot{max-width:260px}
.cg .step .shot.wide-shot{max-width:none}
.cg .step h2{color:var(--navy);font-size:21px;display:flex;align-items:center;gap:10px;margin-bottom:12px}
.cg .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}
.cg .step p{font-size:15px;margin-bottom:10px}
.cg .step ol,.cg .step ul{margin:6px 0 12px 1.4em;font-size:15px}
.cg .step li{margin:4px 0}
.cg .step .tip{background:var(--rose-pale);border-radius:12px;padding:12px 16px;font-size:14px;margin-top:10px}
.cg .step .tip.ok{background:#eaf7ee}
.cg .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}
.cg .mini{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.cg .mini figure{width:170px}
.cg .mini figcaption{font-size:12.5px;color:var(--muted);text-align:center;margin-top:6px}
@media(max-width:760px){.cg .step{grid-template-columns:1fr;gap:18px}
.cg .step .shot{margin:0 auto;width:72%}
.cg .mini figure{width:46%}
}
.cg .faq details{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:10px}
.cg .faq summary{cursor:pointer;padding:14px 18px;font-weight:700;color:var(--navy)}
.cg .faq details>div{padding:0 18px 16px;font-size:14.5px}
.cg .chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.cg .chips span{background:#fff;border:2px solid var(--rose);color:var(--rose);font-weight:800;border-radius:99px;padding:6px 18px;font-size:15px}
.cg .chips.small span{border-width:1px;font-weight:700;font-size:13.5px;padding:4px 14px;color:var(--navy);border-color:var(--line)}
.cg .chips em{font-style:normal;color:var(--muted);font-size:13px;align-self:center;margin-right:4px}
.cg .center-note{text-align:center;color:var(--muted);margin-top:14px}
.cg .sub-h{text-align:center;color:var(--navy);font-size:22px;margin:54px 0 24px}
.cg .gallery.g3{grid-template-columns:repeat(3,1fr);max-width:820px;margin:0 auto}
@media(max-width:700px){.cg .gallery.g3{grid-template-columns:repeat(3,1fr);gap:10px}
.cg .gallery.g3 figcaption{font-size:11.5px}
}
.cg .steps5{counter-reset:s;list-style:none}
.cg .steps5 li{counter-increment:s;position:relative;padding:0 0 22px 62px;font-size:15px;color:#333}
.cg .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}
.cg .steps5 li:not(:last-child):after{content:"";position:absolute;left:21px;top:48px;bottom:4px;width:2px;background:var(--gold-pale)}
.cg .steps5 li b:first-child{display:block;color:var(--navy);font-size:18px;margin-bottom:2px}
.cg .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)}
.cg .goal b{color:var(--rose)}
.cg #online .feature .media .phone{width:72%;max-width:300px}
.cg .choose{margin-top:70px;background:var(--ivory);border-radius:var(--radius);padding:36px 24px}
.cg .choose h3{text-align:center;color:var(--navy);font-size:22px}
.cg .choose>p{text-align:center;color:var(--muted);margin:6px 0 22px}
.cg .two{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:820px;margin:0 auto}
.cg .two .opt{background:#fff;border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.cg .two .opt .im{height:200px;overflow:hidden;background:#f3f0e8}
.cg .two .opt .im img{width:100%;height:100%;object-fit:cover;object-position:top}
.cg .two .opt .tx{padding:16px 18px 20px;font-size:14px;color:#333}
.cg .two .opt .tx b{display:block;color:var(--navy);font-size:18px;margin-bottom:4px}
.cg .two.big{max-width:none}
.cg .two.big .opt .im{height:260px}
.cg .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){.cg .two{grid-template-columns:1fr}
}
.cg .two-wide{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:40px}
.cg .two-wide figcaption{text-align:center;font-size:13px;color:var(--muted);margin-top:8px}
@media(max-width:760px){.cg .two-wide{grid-template-columns:1fr}
}
.cg #report .feature .media .phone{width:70%;max-width:300px}
.cg .year-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:40px;align-items:start}
.cg .year-shots{display:grid;gap:16px}
.cg .ck.light li{color:#e8ecf5;list-style:none;padding-left:28px;position:relative;margin:10px 0;font-size:15px}
.cg .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){.cg .year-grid{grid-template-columns:1fr}
}
.cg .phone.tall img{aspect-ratio:390/1000}
.cg #online .feature{align-items:center}
.cg .svc4 .th.wide-th{background:#eef1f7;padding:14px 10px 0}
.cg .svc4 .th.wide-th img{width:100%;border-radius:10px 10px 0 0;object-position:left top}
.cg{--serif:"游明朝","Yu Mincho",YuMincho,"Hiragino Mincho ProN","Noto Serif JP",serif}
.cg .gh .wrap{height:64px}
.cg .gh .brand{display:flex;align-items:center}
.cg .gh .brand img{height:44px;width:auto}
.cg .hero h1,.cg .sec-h h2,.cg .feature h3,.cg .sub-h,.cg .choose h3,.cg .three .box h3,.cg .svc4 h3,.cg .man-hero h1,.cg .step h2,.cg .cta-band h2,.cg .steps5 li b:first-child,.cg .two .opt .tx b{font-family:var(--serif);font-weight:700;letter-spacing:.04em}
.cg .hero h1{font-weight:600}
.cg .hero .eyebrow{background:transparent;color:var(--rose);border:1px solid var(--gold);letter-spacing:.24em}
.cg .sec-h .no{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:15px;color:var(--gold)}
.cg .sec-h h2:after{content:"";display:block;width:44px;height:1px;background:var(--gold);margin:16px auto 0}
.cg .svc4 .th,.cg .svc4 .th.paper-th,.cg .svc4 .th.wide-th{background:var(--ivory)}
.cg .svc4 a{border-top:2px solid var(--gold)}
.cg .chips span{border-width:1px;font-weight:700}
.cg .stat b{font-family:var(--serif)}
.cg .steps5 li:before,.cg .step h2 i,.cg .num{background:var(--navy);color:var(--gold-pale)}
.cg .feature ul.ck li:before,.cg .ck.light li:before{background:var(--gold);color:#fff}
.cg .goal{border-left-color:var(--gold)}
.cg .btn-navy{background:var(--navy)}
.cg .gf .logo{height:40px;width:auto;margin:0 auto 10px;opacity:.9;filter:brightness(1.6)}
.cg .year-grid ul.ck li{list-style:none;padding-left:28px;position:relative;margin:10px 0;font-size:15px}
.cg .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}
.cg .year-grid{grid-template-columns:1fr;gap:28px}
.cg .year-grid ul.ck{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;max-width:820px;margin:0 auto}
.cg .year-shots{grid-template-columns:1fr 1fr;gap:20px}
.cg .year-shots figure:first-child{grid-column:1 / -1}
.cg .year-shots figure:nth-child(3) .wide{max-height:640px}
.cg .year-shots figure:nth-child(3) .wide img{object-fit:cover;object-position:top}
@media(max-width:760px){.cg .year-grid ul.ck,.cg .year-shots{grid-template-columns:1fr}
}
.cg .hero .hero-logo{width:240px;height:auto;margin:0 0 18px -6px}
@media(max-width:860px){.cg .hero .hero-logo{width:200px}
}
.cg .gh .brand img{height:48px}

