/* StudyLink Jr — parent LP visual system, junior-specific content */
.jr-wordmark{display:flex;align-items:center;gap:5px}.jr-wordmark b{color:#1299db;font-size:27px;font-weight:900;line-height:1}.jr-wordmark .header__wordmark{margin-bottom:0!important}.header__logo-sub{font-size:10px!important}
.jr-hero{padding:100px 24px 35px;background:#f6fbff}.jr-hero__frame{position:relative;max-width:1360px;min-height:650px;margin:auto;overflow:hidden;border-radius:30px;background:white;isolation:isolate}.jr-hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.jr-hero__copy{position:relative;z-index:2;padding:55px 0 45px 5%;width:59%;color:#16385f}.jr-hero__eyebrow{font-size:16px;font-weight:700;letter-spacing:.08em;margin:0 0 22px}.jr-hero__time{font-size:21px;font-weight:900;margin:0 0 12px}.jr-hero__time strong{font-size:40px;color:#159fda}.jr-hero h1{font-size:clamp(34px,3.4vw,52px);line-height:1.65;letter-spacing:.01em;font-weight:900;margin:0 0 20px}.jr-hero h1 span{color:#159fda;text-decoration:underline;text-decoration-color:#ffdb6c;text-decoration-thickness:9px;text-underline-offset:6px}.jr-hero__lead{font-size:20px;line-height:1.9;font-weight:700;margin:0 0 8px}.jr-hero__lead b{color:#159fda;font-size:25px}.jr-hero__schedule{font-size:14px;font-weight:700;margin:0 0 22px}.jr-hero__cta{position:relative;display:block;width:max-content;max-width:100%;background:#ffdc60;color:#173b64;border-radius:50px;padding:13px 32px 16px;text-align:center;font-size:23px;font-weight:900;box-shadow:0 5px 0 #dbaa2d;text-decoration:none;transition:transform .2s}.jr-hero__cta:hover{transform:translateY(-2px)}.jr-hero__cta small{display:block;font-size:13px;margin-bottom:3px}.jr-hero__teacher{position:absolute;width:230px;height:230px;object-fit:contain;right:10px;bottom:-20px;z-index:1}.jr-rhythm-note{margin-bottom:32px}.jr-time{font-size:23px!important;line-height:1.35!important}.jr-time small{display:block;font-size:16px}.jr-monitor__card{max-width:810px;margin:35px auto 0;background:white;border:3px solid #1b54a3;border-radius:24px;text-align:center;padding:38px 30px;box-shadow:0 10px 0 #e0ebf8}.jr-monitor__label{font-weight:700;color:#1b54a3}.jr-monitor__price{font-size:23px;font-weight:700;margin:12px 0}.jr-monitor__price strong{font-size:58px;color:#1b54a3;margin-left:12px}.jr-monitor__detail{font-weight:700;margin:22px 0}.jr-monitor__note{font-size:14px;color:#56697e;line-height:1.9;margin-top:22px}.jr-source-note{color:#5a6b84;font-size:14px;margin:25px 0}.jr-footer-brand{color:#173b64;font-size:26px;font-weight:900;text-align:left}.jr-footer-brand b{color:#159fda;margin-left:4px}.jr-footer-brand small{display:block;font-size:11px}.footer2__logo{display:flex!important;align-items:center;justify-content:center;gap:12px}.footer2__logo>img{width:65px!important;height:auto}.vs2__bubble small{display:block;font-size:13px;margin-top:8px}.jr-manabo-notice{max-width:850px;margin:0 auto 30px;padding:22px 28px;border:2px solid #1b54a3;border-radius:16px;background:#fff;text-align:center}.jr-manabo-notice strong{display:block;color:#1b54a3;font-size:21px}.jr-manabo-notice p{margin:10px 0 0}.jr-monitor .btn{white-space:normal}.jr-source-note+.mind-quotes{margin-top:15px}
@media(max-width:1100px) and (min-width:820px){.jr-hero__frame{min-height:620px}.jr-hero__copy{width:65%}.jr-hero h1{font-size:38px}.jr-hero__photo{object-position:60% center}.jr-hero__teacher{width:190px;height:190px}}
@media(max-width:819px){.jr-wordmark b{font-size:23px}.header__logo-sub{font-size:8px!important}.jr-hero{padding:80px 12px 24px}.jr-hero__frame{min-height:820px;border-radius:22px;background:#fff}.jr-hero__photo{top:350px;height:440px;object-fit:cover;object-position:76% center}.jr-hero__frame:after{content:"";position:absolute;top:345px;left:0;right:0;height:75px;background:linear-gradient(#fff,transparent);z-index:1;pointer-events:none}.jr-hero__copy{width:100%;padding:25px 18px 0;text-align:center}.jr-hero__eyebrow{font-size:12px;margin-bottom:10px;letter-spacing:.04em}.jr-hero__time{font-size:15px;margin-bottom:9px}.jr-hero__time strong{font-size:31px}.jr-hero h1{font-size:clamp(28px,7.5vw,43px);line-height:1.65;margin-bottom:12px}.jr-hero__lead{font-size:16px;line-height:1.75}.jr-hero__lead b{font-size:21px}.jr-hero__schedule{font-size:12px;margin:9px 0}.jr-hero__cta{position:absolute;top:690px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:360px;font-size:21px;padding:13px 16px}.jr-hero__cta:hover{transform:translateX(-50%) translateY(-2px)}.jr-hero__teacher{width:165px;height:165px;right:auto;left:-8px;bottom:145px;z-index:2}.jr-time{font-size:18px!important}.jr-time small{font-size:13px}.jr-monitor__card{padding:28px 17px}.jr-monitor__price strong{font-size:49px}.jr-monitor__card .btn{font-size:16px!important;padding:18px 12px!important;min-width:0!important;width:100%}.jr-footer-brand{font-size:22px}.jr-manabo-notice{padding:20px 16px}.jr-manabo-notice strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.jr-hero__cta{transition:none}}
.jr-hero{padding-top:28px}.jr-time{flex-direction:column;width:82px!important;height:82px!important;gap:2px;letter-spacing:0}.jr-rhythm-note{grid-column:1 / -1;order:1;text-align:center!important}.rhythm .sec-title{margin-bottom:20px!important}
@media(max-width:819px){.jr-hero{padding-top:24px}.jr-hero__frame{min-height:770px}.jr-hero__photo{top:330px;height:400px}.jr-hero__frame:after{top:325px}.jr-hero__cta{top:650px}.jr-hero__teacher{bottom:145px}.jr-time{width:74px!important;height:74px!important;font-size:19px!important}.jr-time small{font-size:14px}.jr-rhythm-note{margin-top:0!important;margin-bottom:10px!important;font-size:13px!important}}
@media(min-width:820px){.rhythm .jr-rhythm-note{grid-row:3;order:0;margin:0 0 12px!important}.rhythm .timeline,.rhythm .ovice--rhythm{grid-row:4!important}}

/* Supplied Jr banner: crop transparent outer padding in the header. */
.header__logo{min-width:0;flex-shrink:0}
.jr-header-logo{display:block;width:300px;height:66px;object-fit:cover;object-position:center}
@media(max-width:819px){.jr-header-logo{width:250px;height:55px}.header__menu-toggle{flex-shrink:0}}
@media(max-width:374px){.jr-header-logo{width:224px;height:49px}}

/* Compact, non-linked footer banner; navy matches the footer. */
.footer{padding-top:32px;background:#12204f}
.jr-footer-banner{width:min(440px,100%);aspect-ratio:4.4;margin:0 auto 20px;overflow:hidden;background:#12204f}
.jr-footer-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 56%}
@media(max-width:819px){.jr-footer-banner{width:min(330px,100%);margin-bottom:18px}}

/* Hero LINE CTA: luminous yellow surface and visible light sweep. */
.jr-hero__cta {
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #FFF200 0%, #FFD400 55%, #FFB700 100%);
  color: #163A77;
  border: 2px solid #ffcb00;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.9), 0 5px 0 #dfa600, 0 0 22px rgba(255,211,0,.8);
  animation: jrHeroGlow 2s ease-in-out infinite;
}
.jr-hero__cta::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% 0;
  width: 45%;
  z-index: 1;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.9) 50%, rgba(255,255,255,.55) 60%, transparent 100%);
  transform: translateX(-160%) skewX(-24deg);
  animation: jrHeroShine 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes jrHeroShine {
  0% { transform: translateX(-160%) skewX(-24deg); }
  40%, 100% { transform: translateX(360%) skewX(-24deg); }
}
@keyframes jrHeroGlow {
  0%, 100% { box-shadow: inset 0 2px 0 rgba(255,255,255,.9), 0 5px 0 #dfa600, 0 0 18px rgba(255,211,0,.7); }
  50% { box-shadow: inset 0 2px 0 rgba(255,255,255,.9), 0 5px 0 #dfa600, 0 0 34px rgba(255,211,0,.95); }
}
@media (prefers-reduced-motion: reduce) {
  .jr-hero__cta { animation: none; }
  .jr-hero__cta::after { animation: none; display: none; }
}

/* Make the audience clear and preserve space before the CTA. */
.jr-hero__eyebrow { font-size: 20px; line-height: 1.6; }
.jr-hero__lead { margin-bottom: 24px; }
@media (max-width: 819px) {
  .jr-hero__eyebrow { font-size: clamp(14px, 3.8vw, 17px); letter-spacing: .02em; }
}

/* Brand headline: rising white plates with sky-blue depth. */
.jr-hero h1.jr-hero__headline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 3.65vw, 54px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.045em;
  margin: 30px 0 32px;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.jr-hero h1.jr-hero__headline span {
  color: #092454;
  text-decoration: none;
}
.jr-hero__headline-line {
  display: inline-block;
  padding: .13em .25em .2em;
  background: linear-gradient(135deg, #fff 65%, #f2faff);
  border-radius: 5px;
  box-shadow: 5px 7px 0 #a8dcf4, 0 2px 14px rgba(29,93,143,.06);
  white-space: nowrap;
}
.jr-hero__headline-line--future { margin-top: .22em; font-size: 1.16em; }
.jr-hero h1 .jr-hero__headline-particle { font-size: .65em; margin-left: .08em; }
.jr-hero h1.jr-hero__headline .jr-hero__headline-accent {
  color: #ffb800;
  font-size: 1.2em;
  letter-spacing: -.025em;
  margin-right: .06em;
}
@media (min-width: 820px) and (max-width: 1100px) {
  .jr-hero h1.jr-hero__headline { font-size: clamp(30px, 3.65vw, 40px); }
}
@media (max-width: 819px) {
  .jr-hero h1.jr-hero__headline {
    font-size: clamp(24px, 6.8vw, 43px);
    margin: 22px 0 28px;
    transform-origin: center;
  }
  .jr-hero__headline-line { box-shadow: 3px 5px 0 #a8dcf4; }
}

/* Mobile: generous photo with the teacher over the laptop and CTA below. */
@media (max-width: 819px) {
  .jr-hero { padding: 8px 12px 16px; }
  .jr-hero__frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 18px 0 18px;
  }
  .jr-hero__copy { display: contents; }
  .jr-hero__eyebrow {
    grid-row: 1;
    margin: 0 10px 6px;
    text-align: center;
    font-size: clamp(13px, 3.6vw, 16px);
  }
  .jr-hero h1.jr-hero__headline {
    grid-row: 2;
    font-size: clamp(23px, 6.3vw, 38px);
    margin: 12px 12px 18px;
    text-align: center;
  }
  .jr-hero__lead {
    grid-row: 3;
    margin: 0 10px 14px;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
  }
  .jr-hero__lead b { font-size: 18px; }
  .jr-hero__photo {
    grid-row: 4;
    grid-column: 1;
    position: relative;
    inset: auto;
    display: block;
    height: clamp(240px, 35svh, 320px);
    object-position: 76% center;
  }
  .jr-hero__teacher {
    grid-row: 4;
    grid-column: 1;
    position: relative;
    inset: auto;
    align-self: end;
    justify-self: start;
    width: 140px;
    height: 140px;
    margin-left: 12px;
    margin-bottom: 88px;
    z-index: 2;
  }
  .jr-hero__cta {
    grid-row: 5;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100% - 28px);
    max-width: 360px;
    margin: 10px auto 0;
    padding: 8px 12px 10px;
    font-size: 20px;
    text-align: center;
    z-index: 2;
  }
  .jr-hero__cta:hover { transform: translateY(-2px); }
  .jr-hero__frame::after { display: none; }
}
