/* Layout: navy hero band (site nav + page heading), then light sections. Top page: three entry cards in the hero, then a three-column story. */
:root{
  --bg:#EBEEF5; --surface:#FFFFFF; --ink:#182032; --muted:#4E5567; --line:#CDD4E3;
  --accent:#4162AE; --on-accent:#FFFFFF; --accent-soft:#DDE3F3;
  --band:#233C6F; --on-band:#E8ECF9; --band-muted:#BAC7E3; --band-accent:#ACC1F1;
  --danger:#A12A2A;
  --font-body:'Noto Sans JP',system-ui,-apple-system,'Hiragino Sans','Yu Gothic',sans-serif;
  --font-display:'Space Grotesk','Noto Sans JP',system-ui,sans-serif;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#10141E; --surface:#161F30; --ink:#DEE3EF; --muted:#A2ACC3; --line:#2E384F;
    --accent:#8FAEF1; --on-accent:#10141E; --accent-soft:#1E2B46;
    --band:#1D3053; --on-band:#E8ECF9; --band-muted:#ACBAD7; --band-accent:#ACC1F1;
    --danger:#F19A9A;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#10141E; --surface:#161F30; --ink:#DEE3EF; --muted:#A2ACC3; --line:#2E384F;
  --accent:#8FAEF1; --on-accent:#10141E; --accent-soft:#1E2B46;
  --band:#1D3053; --on-band:#E8ECF9; --band-muted:#ACBAD7; --band-accent:#ACC1F1;
  --danger:#F19A9A;
  color-scheme:dark;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.85;line-break:strict;word-break:auto-phrase;overflow-wrap:break-word}
.nb{display:inline-block}
h1,h2,h3{margin:0;text-wrap:balance;line-height:1.4}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
a{color:var(--accent)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px}

.inner{max-width:980px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.section{padding-block:56px}
.section + .section{padding-top:0}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;color:var(--accent);margin-bottom:10px}
h2{font-size:clamp(23px,4vw,30px);font-weight:700;margin-bottom:16px}
.lead{color:var(--muted);max-width:42em}

/* hero + nav */
.hero{background:var(--band);color:var(--on-band);margin-top:calc(-1 * env(safe-area-inset-top,0px));padding-top:calc(env(safe-area-inset-top,0px) + 20px);padding-bottom:56px}
.top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:48px}
.mark{font-family:var(--font-display);font-weight:700;font-size:24px;letter-spacing:.01em;color:var(--on-band);text-decoration:none}
.mark span{color:var(--band-accent)}
.nav{display:flex;flex-wrap:wrap;gap:4px 22px}
.nav a{color:var(--on-band);font-size:14px;font-weight:500;text-decoration:none;padding:6px 0;border-bottom:1px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--band-muted)}
.hero h1{font-size:clamp(28px,5.6vw,48px);font-weight:700;max-width:18em}
.hero .sub{color:var(--band-muted);max-width:36em;font-size:17px;margin-top:16px}
.hero.is-top h1{font-size:clamp(30px,6.4vw,54px)}

.entries{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin-top:40px}
.entry{position:relative;display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:76px;padding:18px 52px 18px 22px;border-radius:8px;background:var(--on-band);color:var(--band);text-decoration:none}
.entry:hover{filter:brightness(.94)}
.entry-t{font-weight:700;font-size:18px;line-height:1.5}
.entry-d{font-size:14px;line-height:1.6;opacity:.8}
.entry .arrow{position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:700}
.hero-note{margin-top:24px;font-size:14px;color:var(--band-muted);max-width:40em}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 28px;border-radius:8px;background:var(--accent);color:var(--on-accent);font-weight:700;font-size:16px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1.4}
.btn:hover{filter:brightness(1.08)}
.btn-line{background:transparent;color:var(--accent);border:2px solid var(--accent)}
.btn-line:hover{filter:none;background:var(--accent-soft)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px 16px;margin-top:24px}
.note{font-size:14px;color:var(--muted);margin-top:12px}
.ph{background:var(--accent-soft);padding:0 .3em;border-radius:3px}

/* top: three columns */
.trio{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px}
.col{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:24px;min-width:0}
.col h2{font-size:19px;margin-bottom:14px}
.col li{position:relative;padding:8px 0 8px 22px}
.col li + li{border-top:1px solid var(--line)}
.col li::before{content:"";position:absolute;left:2px;top:1.2em;width:8px;height:8px;border-radius:50%;background:var(--muted)}
.col.is-strong{background:var(--accent-soft);border-color:transparent}
.col.is-strong li::before{background:var(--accent)}
.col.is-us{border:2px solid var(--accent)}
.col.is-us li::before{background:var(--accent)}
.col.is-weak h2{color:var(--muted)}
.banner{margin-top:24px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:18px 22px;font-size:15px;color:var(--muted)}

/* student / teacher */
.statement{font-size:clamp(20px,3.6vw,28px);font-weight:700;line-height:1.6;max-width:30em;text-wrap:balance}
.statement-sub{margin-top:16px;color:var(--muted);max-width:40em}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;margin-top:24px}
.grid li{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:16px 20px;min-width:0;font-weight:500}
.pains li{font-weight:400}
.callout{margin-top:20px;background:var(--accent-soft);border-radius:8px;padding:20px 24px;font-weight:700}
.checks{display:grid;gap:12px;margin-top:8px}
.checks li{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:16px 20px 16px 52px}
.checks li::before{content:"";position:absolute;left:20px;top:1.15em;width:14px;height:8px;border-left:3px solid var(--accent);border-bottom:3px solid var(--accent);transform:rotate(-45deg)}
.price{margin-top:8px}
.price summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 28px;border-radius:8px;background:var(--accent);color:var(--on-accent);font-weight:700;cursor:pointer}
.price summary::-webkit-details-marker{display:none}
.price summary::after{content:"＋";font-weight:700}
.price[open] summary::after{content:"－"}
.price-body{margin-top:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:22px 24px;display:grid;gap:14px;max-width:44em}
.price-body p{margin:0}
.small{font-size:14px;color:var(--muted)}
.empty{background:var(--surface);border:1px dashed var(--line);border-radius:8px;padding:36px 24px;max-width:44em}
.empty strong{display:block;font-size:20px;margin-bottom:8px}

/* form */
.form{display:grid;gap:20px;max-width:640px;margin-top:24px}
.field{display:grid;gap:6px}
.field label{font-weight:700;font-size:15px}
.field input,.field textarea{width:100%;font:inherit;font-size:16px;line-height:1.6;color:var(--ink);background:var(--surface);border:1px solid var(--muted);border-radius:8px;padding:12px 14px}
.field textarea{min-height:200px;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.status{min-height:1.6em;font-size:15px;font-weight:500}
.status.is-ok{color:var(--accent)}
.status.is-err{color:var(--danger)}
dl.op{display:grid;grid-template-columns:max-content 1fr;gap:6px 20px;margin:16px 0 0;font-size:15px}
dl.op dt{color:var(--muted)}
dl.op dd{margin:0;min-width:0}

/* illustrations: fixed palette on a fixed light panel so they read the same in both themes */
.s-navy{fill:#233C6F}.s-navy2{fill:#365599}.s-teal{fill:#4C70C5}.s-lt{fill:#C0CFEF}
.s-skin{fill:#F3CDAF}.s-hair{fill:#2A3038}.s-hair2{fill:#6B4A3A}.s-ink{fill:#2A3038}
.s-grn{fill:#7DBE92}.s-grn2{fill:#4E9C6C}.st-grn{fill:none;stroke:#4E9C6C;stroke-linecap:round;stroke-linejoin:round}
.s-yel{fill:#F2C14E}.s-yel2{fill:#E0A92E}.s-wh{fill:#FFFFFF}
.s-wood{fill:#E3BE91}.s-wood2{fill:#C99F6E}.s-floor{fill:#CDD8F0}
.st-navy,.st-ink,.st-wh,.st-teal,.st-yel2{fill:none;stroke-linecap:round;stroke-linejoin:round}
.st-navy{stroke:#233C6F}.st-ink{stroke:#2A3038}.st-wh{stroke:#FFFFFF}.st-teal{stroke:#4C70C5}.st-yel2{stroke:#E0A92E}
.art{background:#DBE3F5;border-radius:16px;padding:12px;width:100%;max-width:440px;justify-self:center}
.art svg,.ico svg{display:block;width:100%;height:auto}
.art.is-small{max-width:260px}
.ico{width:72px;height:72px;flex:none;background:#DBE3F5;border-radius:18px;padding:8px}
.sec-head{display:flex;align-items:center;gap:18px;margin-bottom:12px}
.sec-head > div{min-width:0}
.sec-head h2{margin-bottom:0}
.sec-head .eyebrow{margin-bottom:4px}
.col .ico{margin-bottom:14px}
.split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px 48px;align-items:center}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px 40px;align-items:center}
.hero-grid .art{justify-self:end}
@media (max-width:760px){
  .split,.hero-grid{grid-template-columns:1fr}
  .hero-grid .art{display:none}
  .split .art{max-width:360px}
  .split .art.is-small{max-width:200px;justify-self:start}
}
.empty .ico{margin-bottom:16px}
.btn-ico{display:inline-block;width:36px;height:36px;flex:none;background:#DBE3F5;border-radius:10px;padding:4px}
.btn-ico svg{display:block;width:100%;height:auto}
.price + .btn-row{margin-top:16px}
.frame{background:var(--surface);border:2px solid var(--accent);border-radius:12px;padding:clamp(16px,3vw,28px)}
.frame .grid{margin-top:0}
.frame .grid li{background:var(--bg)}
.frame .statement{margin-top:24px}

footer{border-top:1px solid var(--line);padding-block:28px;font-size:13px;color:var(--muted)}
.foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 18px}
.foot a{color:var(--muted)}
.foot p{margin:0}
@media (max-width:520px){
  .section{padding-block:44px}
  .top{margin-bottom:36px}
  dl.op{grid-template-columns:1fr;gap:0}
  dl.op dd{margin-bottom:10px}
}

.hero-tag{display:inline-block;margin-bottom:18px;padding:6px 16px;border-radius:999px;background:var(--band-accent);color:var(--band);font-weight:700;font-size:15px;letter-spacing:.08em;line-height:1.6}

.hero.is-top{padding-bottom:88px}

/* top page: white tab bar */
.hero.is-top{padding-top:0}
.bar{background:#fff;margin-top:calc(-1 * 0px);padding-top:env(safe-area-inset-top,0px);margin-bottom:56px;box-shadow:0 1px 0 #D7DCE7}
.bar .top{margin-bottom:0;padding-block:10px;flex-wrap:nowrap}
.bar .mark{color:#2D2F34}
.bar .mark span{color:inherit}
.bar .nav{align-items:center;gap:4px 8px;flex-wrap:nowrap}
.bar .nav a{color:#383C42;font-size:15px;font-weight:500;padding:10px 16px;border-bottom:0;border-radius:8px;white-space:nowrap}
.bar .nav a:hover{background:#E6E9F3}
.bar .nav a[aria-current="page"]{color:var(--accent);font-weight:700}
.bar .nav a.cta{display:flex;flex-direction:column;align-items:center;gap:3px;background:var(--accent);color:#fff;padding:8px 20px;line-height:1.2;font-size:13px;font-weight:700;margin-left:8px}
.bar .nav a.cta:hover{filter:brightness(1.08);background:var(--accent)}
.bar .nav a.cta[aria-current="page"]{color:#fff}
.mail-ico{width:26px;height:20px;display:block}
@media (max-width:760px){.bar .top{flex-wrap:wrap}.bar .nav{flex-wrap:wrap}}
.bar .mark{font-size:28px;font-weight:700;letter-spacing:.01em}
.bar .mark .m1{color:inherit}
.bar .mark .m2{color:inherit}

/* top page: photo hero with diagonal purple wash on the left */
.hero.is-top{position:relative;overflow:hidden;background-color:#1D2539;background-size:cover;background-position:center;min-height:calc(100vh - 0px);display:flex;flex-direction:column}
.hero.is-top::before{content:"";position:absolute;inset:0;background:rgba(35,60,111,.6);clip-path:polygon(0 0,52% 0,28% 100%,0 100%);z-index:0}
.hero.is-top .bar{position:relative;z-index:2;margin-bottom:0}
.hero.is-top .hero-body{position:relative;z-index:1;flex:1;display:flex;align-items:center;padding-block:48px}
.hero.is-top .hero-grid{display:block;width:100%}
.hero.is-top h1{max-width:9em}
@media (max-width:760px){.hero.is-top::before{clip-path:none;background:rgba(35,60,111,.82)}}
.hero.is-top .hero-body{width:100%}
.bar .mark{font-family:'Sora','Noto Sans JP',sans-serif;font-size:28px;font-weight:700;letter-spacing:.06em;background:linear-gradient(100deg,#173165 0%,#3D67C2 50%,#7EA3F7 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.hero.is-top{background-size:cover;background-position:center top;background-repeat:no-repeat}

.bar .mark{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:currentColor;color:#233C6F}
.bar .mark .m1{color:#233C6F}
.bar .mark .m2{color:#547CD7}
.hero.is-top .hero-body{align-items:flex-start;padding-top:96px}
.hero-sub{display:inline-block;font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:500;font-size:clamp(18px,2vw,27px);letter-spacing:.12em;line-height:1.6;color:#fff;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.9);white-space:nowrap}
.hero-script{font-family:'Mr Dafoe','Brush Script MT',cursive;font-size:clamp(84px,11vw,144px);line-height:1.15;color:#fff;margin-top:22px;padding-left:12px;white-space:nowrap}
@media (max-width:760px){.hero-sub{white-space:normal}.hero.is-top .hero-body{padding-top:48px}}
.hero.is-top .hero-body{align-items:center;padding-top:48px;padding-bottom:96px}
.hero-copy{display:inline-block;text-align:center}
.hero-sub rt{font-family:'Poppins','Noto Sans JP',sans-serif;font-size:.62em;letter-spacing:.12em;font-weight:500;color:#fff}
.hero-script{padding-left:0}
.hero-sub rt{word-spacing:-.16em}
.hero-sub rt{word-spacing:-.3em}
.hero-sub rt{word-spacing:-.42em}
.hero-sub rt{word-spacing:0}
.hero-sub .rg{display:inline-block;width:.18em}
.hero-script{display:block;transform:rotate(-4deg);transform-origin:50% 60%}
.hero-sub{position:relative;top:8px}
.hero-sub rt{color:#ACC1F1}
.bar .top{padding-block:5px}
.bar .nav a{padding-block:8px}
.bar .nav a.cta{padding:5px 18px}
@media (max-width:760px){
  .bar .top{gap:0 12px;padding-block:4px}
  .bar .mark{font-size:22px}
  .bar .nav{flex-wrap:nowrap;gap:0;width:100%;justify-content:space-between;margin-left:-8px;margin-right:-8px;width:calc(100% + 16px)}
  .bar .nav a{padding:8px 6px;font-size:13px}
  .bar .nav a.cta{margin-left:0;padding:4px 10px;font-size:11px}
  .mail-ico{width:20px;height:15px}
}
.bar .mark .le{color:#8FAEF1}
.bar .mark .le{color:#547CD7}
@media (max-width:760px){.hero-copy{display:block;width:100%;text-align:center}.hero-script{padding-left:0}}
@media (max-width:760px){.hero-sub rt{position:relative;top:6px}}

/* custom ruby (positioned explicitly so iOS Safari and desktop agree) */
.hero-sub{margin-top:14px}
.rb{position:relative;display:inline-block}
.rb .rt{position:absolute;left:50%;bottom:calc(100% - 7px);transform:translateX(-50%);font-family:'Poppins','Noto Sans JP',sans-serif;font-size:.62em;font-weight:500;letter-spacing:.12em;line-height:1;color:#ACC1F1;white-space:nowrap}
.rb .rg{display:inline-block;width:.18em}
@media (max-width:760px){.rb .rt{bottom:calc(100% - 3px)}}
.bar .nav a.cta,.bar .nav a.cta:hover{background:#294788}
@media (max-width:760px){.hero-script{transform:translateX(-7px) translateY(6px) rotate(-5deg)}}
@media (max-width:760px){.hero-sub{padding-bottom:3px;border-bottom-width:.5px}}
.bar .mark{font-family:'Playfair Display','Times New Roman',Times,serif;font-weight:700;font-size:32px;letter-spacing:.02em}
@media (max-width:760px){.bar .mark{font-size:26px}}
.bar .nav a{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:500;letter-spacing:.06em}
.bar .nav a.cta,.bar .nav a[aria-current="page"]{font-weight:700}
@media (max-width:760px){
  .script-frame{display:inline-block;margin-top:34px;padding:0 6px 2px;--c:rgba(255,255,255,.9);
    background:
      linear-gradient(var(--c),var(--c)) 0 0/13px .35px no-repeat,
      linear-gradient(var(--c),var(--c)) 0 0/.35px 13px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 0/13px .35px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 0/.35px 13px no-repeat,
      linear-gradient(var(--c),var(--c)) 0 100%/13px .35px no-repeat,
      linear-gradient(var(--c),var(--c)) 0 100%/.35px 13px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 100%/13px .35px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 100%/.35px 13px no-repeat}
  .script-frame .hero-script{margin-top:0;line-height:1.02}
}
@media (max-width:760px){.hero.is-top:not(.is-compact){background-image:var(--hero-m)!important;background-size:cover;background-position:right top}}
@media (max-width:760px){.hero.is-top::before{background:rgba(35,60,111,.66);clip-path:polygon(0 0,100% 0,100% 70%,0 90%)}}
@media (max-width:760px){.hero-copy{position:relative;top:16px}}

/* HOME: top-page style */
.hero.is-compact{min-height:0}
.hero.is-compact .hero-body{flex:none;padding-block:64px 72px;align-items:center}
.hero.is-compact h1{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:700;color:#fff;letter-spacing:.08em;margin:0;font-size:clamp(28px,4vw,40px)}
@media (max-width:760px){.hero.is-compact .hero-body{padding-block:40px 48px}.hero.is-compact::before{clip-path:none;background:rgba(35,60,111,.7)}}
.hero.is-compact h1{max-width:none;white-space:nowrap}
@media (max-width:760px){.hero.is-compact h1{font-size:min(6.2vw,28px);letter-spacing:.04em}}
@media (max-width:760px){.hero.is-compact .hero-body{padding-block:40px 0}}
.trio .col h2{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:700;letter-spacing:.08em}
.trio .col li{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:500;letter-spacing:.04em}
/* ==PC-FOLLOW-MOBILE== */
@media (prefers-color-scheme:light){main:has(.trio){background:#fff}}
@media all{
  main:has(.trio) .section{padding-block:0}
  main:has(.trio) .section>.inner{padding-left:0;padding-right:0}
  .trio{gap:0}
  .trio .col,.trio .col.is-us{border:0;border-radius:0;padding:36px max(24px,env(safe-area-inset-left,0px)) 36px}
}
@media (prefers-color-scheme:light){
  .trio .col.is-strong{background:#F1F3F7}
}
@media all{
  .trio .col li{padding-left:0}
  .trio .col li::before{display:none}
}
@media (prefers-color-scheme:light){
  body:has(.trio) footer{background:#fff}
}
@media all{
  .trio .col .ico{display:none}
  body:has(.trio) footer{border-top:0}
}
.trio .col .us-h{color:#233C6F}
.trio .col .us-h .le{color:#547CD7}
.trio .col .us-h .wa{color:var(--ink)}
/* teacher page: top-page style */
.hero.is-compact .eyebrow{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;color:#CFDBF7;font-weight:500;letter-spacing:.12em;margin:0 0 6px}
main:has(.pains,.stu) h2,main:has(.pains,.stu) .sec-head h2{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:700;letter-spacing:.08em}
main:has(.pains,.stu) li,main:has(.pains,.stu) .callout,main:has(.pains,.stu) .btn{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.04em}
main:has(.pains,.stu) li,main:has(.pains,.stu) .callout{font-weight:500}
main:has(.pains,.stu) .callout{font-weight:700}
@media (prefers-color-scheme:light){main:has(.pains,.stu){background:#fff}}
@media all{
  main:has(.pains,.stu) .sec-head .ico{display:none}
  .pains{gap:0;margin-top:12px}
  .pains li{border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0}
  .pains li:first-child{border-top:0}
  main:has(.pains,.stu) .col.is-us{border:0;padding:0}
  main:has(.pains,.stu) .col li{padding-left:0}
  main:has(.pains,.stu) .col li::before{display:none}
}
.hl{position:relative;display:inline-block;z-index:0;white-space:nowrap}
.hl::after{content:"";position:absolute;left:-4px;right:-4px;bottom:.26em;height:.3em;background:rgba(158,142,196,.42);transform:skewX(-32deg);z-index:-1}
.hero.is-compact h1.t-h1{font-size:clamp(34px,4.8vw,52px)}
@media (max-width:760px){.hero.is-compact h1.t-h1{font-size:min(8.4vw,34px)}}
.bs{color:#233C6F}
.bs .le{color:#547CD7}
/* teacher: form button */
main:has(.pains,.stu) .btn,main:has(.pains,.stu) .btn:hover{background:#2A3E7C;border-radius:0}
@media all{
  main:has(.pains,.stu) .band-work{padding-block:36px}
  main:has(.pains,.stu) .sec-callout{padding-top:28px}
}
@media (prefers-color-scheme:light){
  main:has(.pains,.stu) .band-work{background:#F1F3F7}
  main:has(.pains,.stu) .callout{background:#fff;padding-left:0;padding-right:0}
}
@media all{
  main:has(.pains,.stu) .band-work .col{background:transparent;border-radius:0}
  main:has(.pains,.stu) .sec-callout{padding-bottom:12px}
  main:has(.pains,.stu) .sec-callout .callout{margin-top:0}
}
.dl{text-decoration:underline dotted;text-decoration-color:#46458F;text-decoration-thickness:1px;text-underline-offset:.32em}
@media all{
  main:has(.pains,.stu) .sec-callout{padding-top:4px}
  main:has(.pains,.stu) .sec-callout .callout{border-left:2px solid #D8DBE3;padding-left:18px;margin-left:6px;border-radius:0}
}
@media all{
  main:has(.pains,.stu) .sec-callout{padding-top:18px;padding-bottom:0}
  main:has(.pains,.stu) .sec-callout .callout{padding-top:6px;padding-bottom:6px}
  main:has(.pains,.stu) .sec-callout + .section{padding-top:28px}
}
.hero.is-compact h1.t-h1::before{content:"";display:block;width:132px;height:6px;margin-bottom:16px;background:#fff;clip-path:polygon(0 0,100% 50%,0 100%)}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:96px;height:5px;margin-bottom:12px}}
.hero.is-compact h1.t-h1::before{clip-path:polygon(0 0,80% 0,100% 50%,80% 100%,0 100%)}
@media all{main:has(.pains,.stu) .sec-callout .callout{border-left-color:#C8C5DD}}
.hero.is-compact h1.t-h1::before{width:190px;height:9px;background:#C4C8D2}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:140px;height:7px}}
.hero.is-compact h1.t-h1::before{height:12px;background:rgba(210,214,224,.55);clip-path:polygon(0 0,calc(100% - 10.4px) 0,100% 50%,calc(100% - 10.4px) 100%,0 100%)}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{height:10px;clip-path:polygon(0 0,calc(100% - 8.7px) 0,100% 50%,calc(100% - 8.7px) 100%,0 100%)}}
.hero.is-compact h1.t-h1::before{width:150px;height:9px;margin-bottom:8px;background:rgba(210,214,224,.38);clip-path:polygon(0 0,calc(100% - 7.8px) 0,100% 50%,calc(100% - 7.8px) 100%,0 100%)}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:110px;height:7px;margin-bottom:6px;clip-path:polygon(0 0,calc(100% - 6.1px) 0,100% 50%,calc(100% - 6.1px) 100%,0 100%)}}
.hero.is-compact h1.t-h1::before{width:100px;height:5px;clip-path:none}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:72px;height:4px;clip-path:none}}
.hero.is-compact h1.t-h1::before{width:140px;height:15px;margin-bottom:3px;clip-path:none;background:
  linear-gradient(rgba(176,160,236,.5),rgba(176,160,236,.5)) 0 0/140px 5px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/100px 5px no-repeat}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:100px;height:12px;margin-bottom:2px;background:
  linear-gradient(rgba(176,160,236,.5),rgba(176,160,236,.5)) 0 0/100px 4px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/72px 4px no-repeat}}
.hero.is-compact h1.t-h1::before{width:180px;height:17px;margin-bottom:3px;clip-path:none;background:
  linear-gradient(rgba(150,156,238,.5),rgba(150,156,238,.5)) 0 0/180px 3px no-repeat,
  linear-gradient(rgba(180,185,231,.44),rgba(180,185,231,.44)) 0 7px/140px 3px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/100px 3px no-repeat}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:128px;height:13.5px;margin-bottom:2px;background:
  linear-gradient(rgba(150,156,238,.5),rgba(150,156,238,.5)) 0 0/128px 2.5px no-repeat,
  linear-gradient(rgba(180,185,231,.44),rgba(180,185,231,.44)) 0 5.5px/100px 2.5px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/72px 2.5px no-repeat}}
.hero.is-compact h1.t-h1::before{height:14.5px;background:
  linear-gradient(rgba(150,156,238,.5),rgba(150,156,238,.5)) 0 0/180px 1.5px no-repeat,
  linear-gradient(rgba(180,185,231,.44),rgba(180,185,231,.44)) 0 6.5px/140px 1.5px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/100px 1.5px no-repeat}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{height:11.75px;background:
  linear-gradient(rgba(150,156,238,.5),rgba(150,156,238,.5)) 0 0/128px 1.25px no-repeat,
  linear-gradient(rgba(180,185,231,.44),rgba(180,185,231,.44)) 0 5.25px/100px 1.25px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/72px 1.25px no-repeat}}
.hero.is-compact h1.t-h1::before{width:4.5em;background:
  linear-gradient(rgba(150,156,238,.5),rgba(150,156,238,.5)) 0 0/100% 1.5px no-repeat,
  linear-gradient(rgba(180,185,231,.44),rgba(180,185,231,.44)) 0 6.5px/140px 1.5px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/100px 1.5px no-repeat}
@media (max-width:760px){.hero.is-compact h1.t-h1::before{width:4.23em;background:
  linear-gradient(rgba(150,156,238,.5),rgba(150,156,238,.5)) 0 0/100% 1.25px no-repeat,
  linear-gradient(rgba(180,185,231,.44),rgba(180,185,231,.44)) 0 5.25px/100px 1.25px no-repeat,
  linear-gradient(rgba(210,214,224,.38),rgba(210,214,224,.38)) 0 100%/72px 1.25px no-repeat}}
.dl{text-decoration:none;padding-bottom:.3em;background:radial-gradient(circle at 50% 50%,#3C3AA8 0,#3C3AA8 .8px,transparent 1.1px) 0 100%/7px 3px repeat-x;-webkit-box-decoration-break:clone;box-decoration-break:clone}
#teacher-form-link{position:relative;margin-left:12px}
#teacher-form-link::before,#teacher-form-link::after{content:"";position:absolute;width:14px;height:14px;pointer-events:none}
#teacher-form-link::before{left:-8px;top:-8px;border-top:1px solid #B5B9C6;border-left:1px solid #B5B9C6}
#teacher-form-link::after{right:-8px;bottom:-8px;border-bottom:1px solid #B5B9C6;border-right:1px solid #B5B9C6}
#teacher-form-link::before{left:-3px;top:-3px;border-top:3px solid #B5B9C6;border-left:3px solid #B5B9C6}
#teacher-form-link::after{right:-3px;bottom:-3px;border-bottom:3px solid #B5B9C6;border-right:3px solid #B5B9C6}
/* student page: match teacher page */
main:has(.stu) .statement,main:has(.stu) .statement-sub,main:has(.stu) .note,main:has(.stu) .small,main:has(.stu) .price-body p,main:has(.stu) .price summary,main:has(.stu) .btn-line,main:has(.stu) .eyebrow{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.04em}
main:has(.stu) .statement{letter-spacing:.08em}
main:has(.stu) .price summary,main:has(.stu) .btn-line{border-radius:0;font-size:16px}
main:has(.stu) .price summary{background:#2A3E7C;color:#fff}
main:has(.stu) .btn-line{background:transparent;color:#2A3E7C;border:2px solid #2A3E7C}
@media all{
  main:has(.stu) .frame{background:transparent;border:0;border-radius:0;padding:0}
  main:has(.stu) .frame .grid{gap:0;margin-top:12px}
  main:has(.stu) .frame .grid li{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0}
  main:has(.stu) .frame .grid li:first-child{border-top:0}
  main:has(.stu) .checks{gap:0}
  main:has(.stu) .checks li{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px 0 16px 34px}
  main:has(.stu) .checks li:first-child{border-top:0}
  main:has(.stu) .checks li::before{left:4px}
  main:has(.stu) .price-body{background:#E4E8F0;border:0;border-radius:0;padding:20px 18px}
}
@media all{main:has(.stu) .band-work + .section{padding-top:36px}}
@media all{
  main:has(.pains) .sec-callout .callout{position:relative}
  main:has(.pains) .sec-callout .callout::before{content:"";position:absolute;left:4px;top:6%;bottom:6%;width:1.5px;background:#C4C8EA}
}
.statement .em-ind{font-size:1.22em;color:#2A3E7C;line-height:1.5}
main:has(.stu) .statement-sub{color:var(--ink)}
@media all{
  main:has(.stu) .stmt-home{position:relative;font-size:16px;font-weight:700;letter-spacing:.04em;max-width:none;border-left:2px solid #C8C5DD;padding:6px 0 6px 18px;margin-left:6px;margin-top:28px;border-radius:0}
  main:has(.stu) .stmt-home::before{content:"";position:absolute;left:4px;top:6%;bottom:6%;width:1.5px;background:#C4C8EA}
}
@media all{
  main:has(.stu) .sec-stmt{padding-top:36px;padding-bottom:0}
  main:has(.stu) .sec-stmt + .section{padding-top:44px}
}
main:has(.stu) .btn-ico{display:none}
main:has(.stu) .btn-row .btn-line,main:has(.stu) .btn-row .btn-line:hover{position:relative;margin-left:12px;background:#2A3E7C;color:#fff;border:0;border-radius:0;filter:none}
main:has(.stu) .btn-row .btn-line::before,main:has(.stu) .btn-row .btn-line::after{content:"";position:absolute;width:14px;height:14px;pointer-events:none}
main:has(.stu) .btn-row .btn-line::before{left:-3px;top:-3px;border-top:3px solid #B5B9C6;border-left:3px solid #B5B9C6}
main:has(.stu) .btn-row .btn-line::after{right:-3px;bottom:-3px;border-bottom:3px solid #B5B9C6;border-right:3px solid #B5B9C6}
main:has(.stu) .price-body .zero{color:#2A3E7C}
main:has(.stu) .price summary{background:#44506E}
@media all{
  main:has(.stu) .frame .grid{margin-top:0}
  main:has(.stu) .frame .grid li{padding:8px 0;font-size:inherit;line-height:inherit}
  main:has(.stu) .frame .grid li:first-child{padding-top:8px}
}
@media all{main:has(.stu) .section:has(+ .section .price){padding-bottom:16px}}
@media all{
  main:has(.stu) .sec-head .ico{display:block;width:40px;height:40px;padding:0;background:transparent;border-radius:0;color:#2A3E7C}
  main:has(.stu) .sec-head{gap:12px}
}
@media all{main:has(.stu) .price + .btn-row{margin-top:28px}}
@media all{main:has(.stu) .sec-head .ico .s-teal{fill:#233C6F}}
@media all{
  main:has(.stu) .price + .btn-row,.btn-row:has(#teacher-form-link){justify-content:center}
  main:has(.stu) .btn-row .btn-line,#teacher-form-link{margin-left:0}
}
/* contact: match other pages */
main:has(.cf) .cf-lead,main:has(.cf) .field label,main:has(.cf) .field input,main:has(.cf) .field textarea,main:has(.cf) .btn,main:has(.cf) .status{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.04em}
main:has(.cf) .cf-lead{margin:0 0 28px;font-weight:500}
main:has(.cf) .field label{font-weight:700}
main:has(.cf) .field input,main:has(.cf) .field textarea{border-radius:0;border:1px solid #C8C5DD;background:#fff}
main:has(.cf) .btn,main:has(.cf) .btn:hover{position:relative;background:#2A3E7C;color:#fff;border:0;border-radius:0;filter:none}
main:has(.cf) .btn::before,main:has(.cf) .btn::after{content:"";position:absolute;width:14px;height:14px;pointer-events:none}
main:has(.cf) .btn::before{left:-3px;top:-3px;border-top:3px solid #B5B9C6;border-left:3px solid #B5B9C6}
main:has(.cf) .btn::after{right:-3px;bottom:-3px;border-bottom:3px solid #B5B9C6;border-right:3px solid #B5B9C6}
@media (prefers-color-scheme:light){main:has(.cf){background:#fff}}
.bar .nav a.cta,.bar .nav a.cta:hover{background:#1B2C5C}
.bar .nav a.cta,.bar .nav a.cta:hover{border-radius:0}
@media all{.statement .em-ind{display:inline-block;margin-top:12px}}
@media all{main:has(.stu) .band-work + .sec-stmt{padding-top:14px}}
@media all{main:has(.cf) .form > div:last-child{text-align:center}}
/* footer + legal pages */
.site-foot{border-top:1px solid #D5D9E4;background:#fff;padding:24px 16px 32px}
.site-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-size:12px;letter-spacing:.04em}
.site-foot a{color:#5A6178;text-decoration:none}
.site-foot a:hover{color:#233C6F}
main:has(.legal){font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.04em}
.legal .inner{max-width:760px}
.legal h2{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-size:17px;font-weight:700;color:#233C6F;margin:32px 0 8px;letter-spacing:.06em}
.legal h2:first-child{margin-top:0}
.legal p,.legal li{line-height:1.9;font-size:15px}
.legal ul{margin:6px 0 6px 1.2em;padding:0;list-style:disc}
.legal-tbl{margin:0}
.legal-tbl > div{display:grid;grid-template-columns:11em 1fr;gap:4px 20px;padding:16px 0;border-top:1px solid #D5D9E4}
.legal-tbl > div:last-child{border-bottom:1px solid #D5D9E4}
.legal-tbl dt{font-weight:700;color:#233C6F;font-size:14px}
.legal-tbl dd{margin:0;font-size:15px;line-height:1.8}
@media all{.legal-tbl > div{grid-template-columns:1fr}}
@media (prefers-color-scheme:light){main:has(.legal){background:#fff}}
/* plain (white / black) legal page */
.hero:has(.plain-hero){background-image:none!important;min-height:0}
.hero:has(.plain-hero)::before,.hero:has(.plain-hero)::after{display:none}
.hero:has(.plain-hero) .hero-body{display:none}
main:has(.is-plain){background:#fff;color:#000}
.is-plain h2{color:#000;font-size:18px;margin:44px 0 10px}
.is-plain p,.is-plain li{color:#000}
.plain-title{font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:700;color:#000;text-align:center;font-size:22px;line-height:1.6;letter-spacing:.06em;margin:16px 0 48px}
.plain-title .en{display:block;font-size:22px}
.hero:has(.plain-hero){background:#fff!important;padding:0!important;min-height:0!important;height:auto!important}
.hero:has(.plain-hero) .bar{border-bottom:1px solid #E3E5EC}
.site-foot nav{max-width:980px;margin:0 auto;justify-content:flex-start}
.site-foot nav{flex-direction:column;align-items:flex-start;gap:12px}
.plain-title{font-size:18px;line-height:1.35}
.plain-title .en{font-size:18px}
.is-plain .legal-tbl dt,.is-plain .legal-tbl dd{color:#000}
.is-plain .legal-tbl{margin-top:0}
.legal p,.legal li,.legal-tbl dd{font-size:13px;line-height:1.65}
.legal-tbl dt{font-size:13px}
.legal h2{font-size:15px;margin:28px 0 6px}
.is-plain h2{font-size:15px;margin:28px 0 6px}
.legal ul{margin:4px 0 4px 1.2em}
.legal p{margin:0 0 6px}
.legal-tbl > div{padding:12px 0}
/* PC: 1カラム（スマホ版と同じ並び） */
main:has(.trio) .trio{grid-template-columns:1fr}
main:has(.pains,.stu) .grid{grid-template-columns:1fr;gap:0}
main:has(.pains) .pains li{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:16px 0}
main:has(.pains) .pains li:first-child{border-top:0}
main:has(.pains) .pains{margin-top:12px}
.site-foot{padding-inline:0}
.site-foot nav{box-sizing:border-box;padding-inline:max(16px,env(safe-area-inset-left,0px))}
/* PC: ルビを少し離す／筆記体を中央揃え */
@media (min-width:761px){
  .rb .rt{bottom:calc(100% - 6px);font-family:'Poppins','Noto Sans JP',sans-serif;font-weight:400;color:#AFB4DC}
  .hero-sub{padding-bottom:3px;border-bottom-width:.5px;text-indent:4px}
  .hero.is-top::before{clip-path:polygon(0 0,49% 0,25% 100%,0 100%)}
  .hero-copy{position:relative;top:60px;left:-66px}
  .rb .rg{width:.3em}
  .bar .inner.top{max-width:none;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}
  .rb .rt{font-size:.58em;transform:translateX(calc(-50% - 2px))}
  .bar .mark{line-height:1.5}
  .bar .nav a.cta{padding:3px 18px}
  .hero-script{transform:translateX(var(--dx,0px)) rotate(-6deg)}
  .script-frame{display:block;width:fit-content;margin:42px auto 0;padding:0 6px 2px;--c:rgba(255,255,255,.9);
    background:
      linear-gradient(var(--c),var(--c)) 0 0/18px .6px no-repeat,
      linear-gradient(var(--c),var(--c)) 0 0/.6px 18px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 0/18px .6px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 0/.6px 18px no-repeat,
      linear-gradient(var(--c),var(--c)) 0 100%/18px .6px no-repeat,
      linear-gradient(var(--c),var(--c)) 0 100%/.6px 18px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 100%/18px .6px no-repeat,
      linear-gradient(var(--c),var(--c)) 100% 100%/.6px 18px no-repeat}
  .script-frame .hero-script{margin-top:0;line-height:1.02}
}
.t-pc{display:none}
@media (min-width:761px){.t-sp{display:none}.t-pc{display:inline}}
@media (min-width:761px){.script-frame{position:relative;left:-4px}}
@media (min-width:761px){.site-foot{background:#F1F2F4}}
@media (min-width:761px){
  main:has(.cf) .split{display:block}
  main:has(.cf) .form{max-width:760px;width:100%;margin:24px auto 0}
  main:has(.cf) .form > div:last-child{text-align:center;padding-top:12px}
}
@media (min-width:761px){main:has(.stu) .statement-sub{font-size:18px}}
@media (min-width:761px){main:has(.pains) .band-work + .sec-callout{padding-top:42px}}
@media (min-width:761px){main:has(.stu) .price + .btn-row{margin-top:40px}}
@media (min-width:761px){main:has(.pains) .btn-row:has(#teacher-form-link){padding-top:12px}}
/* mobile base (PC rules below override) */
.pm-q::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:-22px;width:220px;height:8px;background:linear-gradient(rgba(158,163,224,.52),rgba(158,163,224,.52)) 50% 0/220px 1.5px no-repeat,linear-gradient(rgba(180,185,231,.55),rgba(180,185,231,.55)) 50% 100%/160px 1.5px no-repeat}
main:has(.pc-merge){padding-bottom:28px}
/* ==== PC: トップページとHOMEを統合 ==== */
.pc-merge,.nav-pc,.pcbr{display:none}
@media (min-width:761px){
  .pc-merge{display:block}
  .nav-m{display:none}
  .nav-pc{display:inline-block}
  main:has(.pc-merge){background:#fff}
  main:has(.trio) .pm-head{padding-block:56px 28px}
  main:has(.trio) .pc-merge .section:not(.pm-head){padding-block:0}
  main:has(.trio) .pm-head > .inner{max-width:none;padding-left:56px;padding-right:24px}
  .pm-q{position:relative;isolation:isolate;width:fit-content;text-align:left;margin:0 0 28px;font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:700;font-size:28px;letter-spacing:.06em;line-height:1.5;color:#1C2230}
  .pm-q .u{position:relative;isolation:isolate}
  .pm-q .u1::after{right:.5em!important}
  .pm-q .u::after{content:"";position:absolute;z-index:-1;left:-4px;right:-4px;bottom:4px;height:7px;background:rgba(35,60,111,.16);clip-path:polygon(0 0,calc(100% - 28px) 0,100% 100%,28px 100%);pointer-events:none}
  .pc-merge .col.is-us ul{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
  .pc-merge .col.is-us li,.pc-merge .col.is-us li + li{border:0;padding:20px 22px 24px;background:#fff}
  .pc-merge .col.is-us ul{margin-top:26px}
  .pc-merge .col.is-us li{position:relative}
  .pc-merge .col.is-us li::after{content:"";position:absolute;left:0;top:-8px;width:1.5px;height:calc(100% - 32px);background:rgba(165,170,235,.58)}
  .pc-merge .col.is-us li::before{display:block!important;content:"";position:absolute;left:0;top:-8px;width:160px;height:8px;border-radius:0;background:
    linear-gradient(rgba(150,156,238,.6),rgba(150,156,238,.6)) 0 0/160px 1.5px no-repeat,
    linear-gradient(rgba(180,185,231,.55),rgba(180,185,231,.55)) 0 100%/140px 1.5px no-repeat}
  .pc-merge .hl{display:inline;white-space:normal}
  .pc-merge .hl::after{display:none}
  .pc-merge .pcbr{display:inline}
  main:has(.trio) .pc-merge .section:not(.pm-head) > .inner{max-width:none;padding-left:0;padding-right:0}
  .pc-merge .trio .col,.pc-merge .trio .col.is-us{padding-left:56px;padding-right:56px}
  main:has(.trio) .pc-merge .trio{grid-template-columns:1fr 1fr}
  .pc-merge .col.is-us{grid-column:1 / -1}
  main:has(.trio) .pc-merge .trio{gap:0}
  .pc-merge .trio .col.is-strong{margin-right:56px;border-radius:0}
  .pc-merge .col h2{font-size:25px}
  .pc-merge .col li{font-size:18px}
}
@media all{
  body:has(.pc-merge) footer{border-top:1px solid #D5D9E4}
}
@media (min-width:761px){body:has(.trio) footer.site-foot{background:#F1F2F4;border-top:1px solid #D5D9E4}}

@media (min-width:761px){
  .pc-merge .trio .col.is-strong{position:relative}
  .pc-merge .trio .col.is-strong::before,.pc-merge .trio .col.is-strong::after{content:"";position:absolute;width:22px;height:22px;pointer-events:none}
  .pc-merge .trio .col.is-strong::before{left:0;top:0;border-top:3px solid #B4BEDB;border-left:3px solid #B4BEDB}
  .pc-merge .trio .col.is-strong::after{right:0;bottom:0;border-bottom:3px solid #B4BEDB;border-right:3px solid #B4BEDB}
}
@media (min-width:761px){.pc-merge .col.is-us{margin-top:28px}}
@media (min-width:761px){.pc-merge .col h2 .navy-t{color:#233C6F}}
@media (min-width:761px){
  .pc-merge .trio .col.is-weak{grid-column:2;grid-row:1}
  .pc-merge .trio .col.is-strong{grid-column:1;grid-row:2;margin-right:0;margin-left:56px}
}
@media (min-width:761px){
  .pc-merge .trio .col.is-strong{margin-left:28px}
  .pc-merge .trio .col.is-weak{padding-right:28px}
}
@media (min-width:761px){.pc-merge .trio .col.is-strong{margin-top:16px}}
@media (min-width:761px){.pc-merge .trio .col.is-weak{position:relative;top:-16px}}
.pc-art{display:none}
@media (min-width:761px){.pc-merge .trio .pc-art{display:block;grid-column:1;grid-row:1;align-self:center;justify-self:center;width:520px;max-width:calc(100% - 56px);height:auto;opacity:.8;pointer-events:none}}
@media (min-width:761px){.pc-merge .trio .pc-art{position:relative;left:40px}}
@media (min-width:761px){.pc-merge .trio .pc-art{left:20px;width:460px}}
@media (min-width:761px){
  main:has(.stu) .band-work{background:#fff}
  main:has(.stu) .band-work > .inner{box-sizing:border-box;width:612px;max-width:none;margin:0 0 0 68px;padding:36px 56px 32px;background:#F1F3F7}
}
@media (min-width:761px){.hero.is-compact .hero-body{max-width:none;padding-left:56px}}
@media (min-width:761px){main:has(.stu) .stmt-home{font-size:22px;padding:8px 0 8px 24px;margin-left:6px;margin-top:0}main:has(.stu) .sec-stmt{padding-top:72px}}
@media (min-width:761px){main:has(.stu) .sec-stmt + .section{padding-top:64px}main:has(.stu) .sec-stmt + .section > .inner{position:relative;left:-42px}}
@media (min-width:761px){main:has(.stu) .price{text-align:center}main:has(.stu) .price-body{margin-inline:auto;text-align:left}main:has(.stu) .btn-row{justify-content:center}main:has(.stu) .btn-row .btn-line,main:has(.stu) .btn-row .btn-line:hover{margin-left:0}}
@media (min-width:761px){main:has(.stu) .band-work{margin-top:-40px}}
@media (min-width:761px){main:has(.stu) .statement-sub{font-size:22px}}
@media (min-width:761px){main:has(.stu) .band-work .grid li{font-size:18px}}
@media (min-width:761px){main:has(.stu) .checks li{font-size:18px}}
@media (min-width:761px){main:has(.stu) .price{margin-top:28px}main:has(.stu) .price summary,main:has(.stu) .btn-row .btn-line{font-size:19px;min-height:60px;padding:14px 40px}}
.pc-art2{display:none}
@media (min-width:761px){main:has(.stu) .band-work{position:relative}main:has(.stu) .band-work > .pc-art2{display:block;position:absolute;left:724px;top:50%;transform:translateY(-50%);width:480px;height:auto;opacity:.85;pointer-events:none}}
@media (min-width:761px){main:has(.stu) .band-work > .pc-art2{width:420px;left:754px}}
.btn-row.pc-btn{display:none}
@media (min-width:761px){
  main:has(.stu) .sec-stmt > .inner{box-sizing:border-box;width:612px;max-width:none;margin:0 0 0 68px;padding:0}
  main:has(.stu) .stmt-home{width:fit-content;margin-left:auto;margin-right:auto}
  main:has(.stu) .btn-row.pc-btn{display:flex;justify-content:center;margin-top:40px}
  main:has(.stu) .price + .btn-row{display:none}
}
@media (min-width:761px){
  main:has(.stu) .sec-stmt > .inner{width:auto;margin-left:124px}
  main:has(.stu) .stmt-home{margin-left:0;margin-right:0}
  main:has(.stu) .btn-row.pc-btn{justify-content:flex-start}
}
@media (min-width:761px){main:has(.stu) .sec-stmt > .inner{margin-left:68px}}
@media (min-width:761px){main:has(.stu) .statement:not(.stmt-home),main:has(.stu) .statement-sub{text-align:center;max-width:none;margin-left:auto;margin-right:auto}}
@media (min-width:761px){main:has(.stu) .sec-stmt{padding-top:56px}main:has(.stu) .btn-row.pc-btn{margin-top:56px}}
@media (min-width:761px){main:has(.stu) .sec-stmt{padding-top:62px}}
@media (min-width:761px){main:has(.stu) .band-work + .sec-stmt{padding-top:20px}}
@media (min-width:761px){main:has(.stu) .sec-stmt + .section > .inner{left:0;width:fit-content;max-width:none;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}}
@media (min-width:761px){main:has(.stu) .sec-stmt + .section{padding-top:76px}}
/* ==== 講師ページ PC: 生徒ページの左右反転レイアウト ==== */
@media (min-width:761px){
  main:has(.pains) .section:has(.pains) > .inner{box-sizing:border-box;width:612px;max-width:none;margin:0 0 0 68px;padding:0}
  main:has(.pains) .band-work{background:#fff}
  main:has(.pains) .band-work > .inner{box-sizing:border-box;width:612px;max-width:none;margin:0 68px 0 auto;padding:36px 56px 32px;background:#F1F3F7}
  main:has(.pains) .sec-callout > .inner,
  main:has(.pains) .sec-callout + .section > .inner{box-sizing:border-box;width:auto;max-width:none;margin:0 0 0 600px;padding:0}
  main:has(.pains) .btn-row:has(#teacher-form-link){justify-content:flex-start}
  main:has(.pains) .btn-row .btn,main:has(.pains) .btn-row .btn:hover{margin-left:0}
}
@media (min-width:761px){main:has(.pains) .sec-callout .callout{margin-left:0}}
@media (min-width:761px){main:has(.pains) .band-work > .inner{width:540px;margin:0 0 0 600px;padding:36px 44px 32px}}
@media (min-width:761px){
  main:has(.pains) .band-work > .inner{width:612px;margin:0 0 0 640px;padding:36px 56px 32px}
  main:has(.pains) .sec-callout > .inner,main:has(.pains) .sec-callout + .section > .inner{margin-left:640px}
}
@media (min-width:761px){main:has(.pains) .btn-row .btn{min-height:60px;padding-top:14px;padding-bottom:14px}}
@media (min-width:761px){main:has(.pains) .band-work + .sec-callout{padding-top:20px}main:has(.pains) .sec-callout + .section{padding-top:44px}}
@media (min-width:761px){
  main:has(.pains) .section:has(.pains) > .inner{width:500px;margin:0 0 0 84px}
  main:has(.pains) .band-work > .inner{width:588px;margin:0 0 0 664px}
  main:has(.pains) .sec-callout > .inner,main:has(.pains) .sec-callout + .section > .inner{margin-left:664px}
}
@media (min-width:761px){main:has(.pains) .pains li,main:has(.pains) .band-work li{font-size:18px}}
@media (min-width:761px){main:has(.pains) .band-work > .inner{margin-left:640px}main:has(.pains) .sec-callout > .inner,main:has(.pains) .sec-callout + .section > .inner{margin-left:640px}}
@media (min-width:761px){main:has(.pains) .sec-callout .callout{font-size:22px;padding:8px 0 8px 24px}}
@media (min-width:761px){
  main:has(.pains) .section:has(.pains) > .inner{width:528px;margin-left:56px}
  main:has(.pains) .band-work > .inner{width:584px;margin-left:668px}
  main:has(.pains) .sec-callout > .inner,main:has(.pains) .sec-callout + .section > .inner{margin-left:668px}
}
@media (min-width:761px){
  main:has(.pains) .section:has(.pains) > .inner{width:528px;margin-left:76px}
  main:has(.pains) .band-work > .inner{width:584px;margin-left:648px}
  main:has(.pains) .sec-callout > .inner,main:has(.pains) .sec-callout + .section > .inner{margin-left:648px}
}
@media (min-width:761px){main:has(.pains) .band-work{margin-top:-40px}}
@media (min-width:761px){
  .pm-q .u::after{display:none}
  .pc-merge .col h2{font-size:30px}
  .pc-merge .col .us-h{font-size:34px}
  .pc-merge .trio .col.is-weak{padding-right:84px}
}
@media (min-width:761px){main:has(.pc-merge){padding-bottom:40px}}
@media (min-width:761px){.site-foot nav{font-size:14px}}
@media (min-width:761px){
  main:has(.trio) .pm-head > .inner{padding-left:24px;padding-right:24px}
  .pm-q{margin:0 auto 52px;text-align:center}
  .pm-q::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:-24px;width:340px;height:8px;background:linear-gradient(rgba(150,156,238,.6),rgba(150,156,238,.6)) 50% 0/340px 1.5px no-repeat,linear-gradient(rgba(180,185,231,.55),rgba(180,185,231,.55)) 50% 100%/260px 1.5px no-repeat}
}
@media (min-width:761px){.pm-q{color:#2A3E7C}}
@media (min-width:761px){.pm-q{font-size:34.16px;letter-spacing:2.24px}}
@media (min-width:761px){.site-foot,body:has(.trio) footer.site-foot{border-top:0}}
@media (min-width:761px){.site-foot nav{align-items:center;justify-content:center;text-align:center}}
@media (min-width:761px){main:has(.cf) .btn{min-height:60px;padding-top:14px;padding-bottom:14px}main:has(.cf) .form > div:last-child{padding-top:22px}}
@media (min-width:761px){main:has(.cf) .field label{font-size:18px}}
@media (min-width:761px){
  main:has(.pains) .band-work > .inner{position:relative}
  main:has(.pains) .band-work > .inner::before,main:has(.pains) .band-work > .inner::after{content:"";position:absolute;width:22px;height:22px;pointer-events:none}
  main:has(.pains) .band-work > .inner::before{left:0;top:0;border-top:3px solid #B4BEDB;border-left:3px solid #B4BEDB}
  main:has(.pains) .band-work > .inner::after{right:0;bottom:0;border-bottom:3px solid #B4BEDB;border-right:3px solid #B4BEDB}
}
.pc-art3{display:none}
@media (min-width:761px){main:has(.pains) .band-work{position:relative}main:has(.pains) .band-work > .pc-art3{display:block;position:absolute;left:170px;top:50%;transform:translateY(-50%);width:360px;height:auto;opacity:.85;pointer-events:none}}
@media (min-width:761px){
  .hl-pc{background:linear-gradient(rgba(158,142,196,.42),rgba(158,142,196,.42)) 0 calc(100% - .12em)/100% .3em no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 2px}
  main:has(.pains) .band-work > .pc-art3{width:320px;left:190px}
}
@media (min-width:761px){main:has(.pains) .band-work > .pc-art3{width:280px;left:210px;opacity:1}}
@media (min-width:761px){main:has(.pains) .band-work > .pc-art3{opacity:1}}
@media (min-width:761px){main:has(.pains) .band-work > .pc-art3{opacity:.8}}
@media (min-width:761px){main:has(.pains) .band-work > .pc-art3{width:250px;left:225px}}
/* ==== フッター: 全幅共通（色=PC版、文字中央揃え） ==== */
html{background:#F1F2F4}
.site-foot,body .site-foot,body:has(.trio) footer.site-foot,body:has(.pc-merge) footer.site-foot{background:#F1F2F4;border-top:0}
.site-foot nav{align-items:center;justify-content:center;text-align:center;max-width:none}
/* ==== スマホ: トップページにHOMEを統合（まず見出しのみ） ==== */
.pc-merge{display:block}
.pc-merge .pm-head{background:#fff}
main:has(.pc-merge) .pm-head{padding-block:52px 28px}
@media (min-width:761px){main:has(.trio) .pm-head{padding-block:56px 28px}}
.pc-merge .pm-head > .inner{padding-left:16px;padding-right:16px;text-align:center}
.pm-q{position:relative;margin:0 0 30px;text-align:center;font-family:'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;font-weight:700;font-size:22px;letter-spacing:.06em;line-height:1.6;color:#2A3E7C}
.pm-q .u{display:block}
@media (min-width:761px){
  .pc-merge .section:not(.pm-head){display:block}
  .pm-q .u{display:inline}
}
@media (min-width:761px){.pm-q{margin:0 auto 52px;text-align:center;font-size:34.16px;letter-spacing:2.24px;line-height:1.5;color:#2A3E7C}}
.pc-merge .col h2 .navy-t{color:#233C6F}
/* mobile: Be-sideは */
.pc-merge .col.is-us{padding-top:56px}
.pc-merge .col .us-h{font-size:24px}
@media (min-width:761px){.pc-merge .col.is-us{padding-top:36px}.pc-merge .col .us-h{font-size:34px}}
/* mobile: 講師ページ 役目は・登録ボタンを少し下げ */
main:has(.pains) .sec-callout{padding-top:34px}
main:has(.pains) .btn-row:has(#teacher-form-link){padding-top:18px}
@media (min-width:761px){main:has(.pains) .sec-callout{padding-top:20px}main:has(.pains) .btn-row:has(#teacher-form-link){padding-top:12px}}
/* mobile: トップ見出しを講師ページに統一 */
.pc-merge .col h2{font-size:23px}
@media (min-width:761px){.pc-merge .col h2{font-size:30px}.pc-merge .col .us-h{font-size:34px}}
/* mobile: 生徒ページ 冒頭文を中央・トップ見出しと同サイズ */
main:has(.stu) p.statement:not(.stmt-home){text-align:center;font-size:22px;letter-spacing:.06em;line-height:1.6}
@media (min-width:761px){main:has(.stu) p.statement:not(.stmt-home){font-size:28px;letter-spacing:2.24px;line-height:44.8px}}
main:has(.stu) p.statement:not(.stmt-home) .em-ind{font-size:1em}
@media (min-width:761px){main:has(.stu) p.statement:not(.stmt-home) .em-ind{font-size:1.22em}}
.m-br{display:inline}
@media (min-width:761px){.m-br{display:none}}
/* mobile: 下層ページのヒーロー画像をPCのように横長に */
@media (max-width:760px){
  .hero.is-compact{min-height:0!important;padding-bottom:0;background-size:100% auto;background-position:50% 84px}
  .hero.is-compact .hero-body{padding-block:38px 76px}
  .hero.is-compact::before{clip-path:polygon(0 0,86% 0,60% 100%,0 100%);background:rgba(35,60,111,.6)}
}
/* mobile: 先生一覧ボタンをご自宅が〜の下へ（中央） */
main:has(.stu) .btn-row.pc-btn{display:flex;justify-content:center;margin-top:50px}
main:has(.stu) .price + .btn-row{display:none}
@media (min-width:761px){main:has(.stu) .btn-row.pc-btn{justify-content:flex-start;margin-top:56px}}
/* mobile: ボタン色を少し暗く */
main:has(.stu) .btn-row.pc-btn .btn,#teacher-form-link,main form button.btn{background-color:#23346C!important}
@media (min-width:761px){main:has(.stu) .btn-row.pc-btn .btn,#teacher-form-link,main form button.btn{background-color:#2A3E7C!important}}
/* mobile: 料金ボタン縦幅統一・安心設計を下げ */
main:has(.stu) .price summary{height:48px;padding-top:0;padding-bottom:0}
main:has(.stu) .sec-stmt + .section{padding-top:56px}
@media (min-width:761px){main:has(.stu) .price summary{height:auto;padding-top:14px;padding-bottom:14px}main:has(.stu) .sec-stmt + .section{padding-top:76px}}
/* mobile: 送信ボタンを少し下げ */
main form button.btn{margin-top:20px}
@media (min-width:761px){main form button.btn{margin-top:0}}
/* mobile: 括弧・句点は添えるだけ（中央揃えの対象外） */
.hg,.hg-r{display:inline-block;width:0;white-space:nowrap}
.hg{position:relative;left:-1em}
@media (min-width:761px){.hg,.hg-r{display:inline;width:auto}.hg{position:static}}
.statement .s1{position:relative;left:6px}
@media (min-width:761px){.statement .s1{left:0}}
/* mobile: 仲介手数料0 をより鮮やかに */
main:has(.stu) .price-body .zero{color:#2347C8}
@media (min-width:761px){main:has(.stu) .price-body .zero{color:#2A3E7C}}
/* mobile: 生徒ページのフッターを少し下げ */
main:has(.stu){padding-bottom:20px}
@media (min-width:761px){main:has(.stu){padding-bottom:0}}
/* mobile: 料金についてボタンを中央 */
main:has(.stu) .price{text-align:center}
main:has(.stu) .price-body{text-align:left}
.statement .em-ind{position:relative;left:-6px}
@media (min-width:761px){.statement .em-ind{position:static;left:0}}
main:has(.stu) .price{margin-top:22px}
@media (min-width:761px){main:has(.stu) .price{margin-top:28px}}
main:has(.stu) .statement-sub{position:relative;left:3px}
@media (min-width:761px){main:has(.stu) .statement-sub{position:static;left:0}}
/* mobile: 活用法ボックスの中身を少し右へ */
main:has(.stu) .band-work > .inner{padding-left:26px;padding-right:26px}
main:has(.stu) .band-work .note{margin-left:-4px}
@media (min-width:761px){main:has(.stu) .band-work > .inner{padding-left:56px;padding-right:56px}main:has(.stu) .band-work .note{margin-left:0}}
/* mobile: 講師ページの見出し・箇条書きを少し右へ（左右対称） */
main:has(.pains) .section:has(h2) > .inner{padding-left:21px;padding-right:21px}
@media (min-width:761px){
  main:has(.pains) .section:not(.band-work):has(h2) > .inner{padding-left:0;padding-right:0}
  main:has(.pains) .section.band-work > .inner{padding-left:56px;padding-right:56px}
}
/* mobile: 講師ページのフッターを少し下げ */
main:has(.pains){padding-bottom:20px}
@media (min-width:761px){main:has(.pains){padding-bottom:0}}
@media (max-width:760px){.hero-copy{position:relative;top:38px}.hero.is-top::before{clip-path:polygon(0 0,100% 0,100% calc(70% + 4px),0 calc(90% + 4px))}}
