@font-face{font-family:"SJ Editorial";font-style:normal;font-weight:500;font-display:swap;src:url('/local/sjjlptui/assets/editorial-500-b60ffb0ee2b4.ttf') format('truetype');}
@font-face{font-family:"SJ Editorial";font-style:normal;font-weight:600;font-display:swap;src:url('/local/sjjlptui/assets/editorial-600-8ab6a1db2d7c.ttf') format('truetype');}
@font-face{font-family:"SJ Editorial";font-style:normal;font-weight:700;font-display:swap;src:url('/local/sjjlptui/assets/editorial-700-adefc53e7b3d.ttf') format('truetype');}
/* Homepage: compact header, aligned controls, and proportional artwork. */
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .navbar-area {
  padding:0!important; min-height:56px!important;
}
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-navbar .navbar {
  height:52px!important; min-height:52px!important; padding:0!important; align-items:center!important;
}
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-navbar :is(.navbar-collapse,.navbar-nav,.others-options) {
  align-items:center!important; min-height:0!important; margin-top:0!important; margin-bottom:0!important;
}
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-navbar .navbar-nav>.nav-item>.nav-link {
  padding-top:0!important; padding-bottom:0!important; line-height:1.4!important;
}
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-navbar .navbar-brand {
  display:flex!important; align-items:center!important; align-self:center!important; height:32px!important; padding:0!important; margin-top:0!important; margin-bottom:0!important;
}
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-navbar .navbar-brand img {
  width:80px!important; min-width:0!important; height:32px!important; max-height:32px!important; object-fit:contain!important; transform:none!important; margin:0!important;
}
html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .navbar-area .default-btn {
  display:inline-flex!important; align-items:center!important; justify-content:center!important; height:36px!important; min-height:36px!important; padding:7px 12px!important; margin:0!important; line-height:1.4!important;
}
/* Remove the 800px cap so larger displays retain the laptop's proportions. */
html body#page-site-index #s3-home-v2-hero::before { width:60%!important; }
@media(max-width:1199px) {html body#page-site-index #s3-home-v2-hero::before {width:68%!important;}}
@media(max-width:1199px) {
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .navbar-area {min-height:40px!important;}
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) :is(.main-responsive-nav,.main-responsive-menu,.main-responsive-menu .mean-bar) {
    height:36px!important; min-height:36px!important; padding-top:0!important; padding-bottom:0!important;
  }
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-responsive-nav .container {padding-top:0!important; padding-bottom:0!important;}
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-responsive-menu>.logo {
    height:26px!important; min-height:0!important; display:flex!important; align-items:center!important; align-self:center!important;
  }
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-responsive-menu>.logo :is(a,img) {
    height:26px!important; min-height:0!important; max-height:26px!important; transform:none!important; margin-top:0!important; margin-bottom:0!important;
  }
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .main-responsive-menu>.option-item {align-self:center!important;}
  html body#page-site-index:not(#sj-unused-header):not(#sj-header65-unused):not(#sj-guest-header-unused) .navbar-area .default-btn {
    height:30px!important; min-height:30px!important; padding:4px 12px!important;
  }
}






body#page-site-index #s3-home-v2-hero{display:flex!important;flex-direction:column!important;min-height:0!important;height:auto!important;padding:0!important;background:#fffef4!important;overflow:hidden!important}




body#page-site-index #s3-home-v2-hero::before{content:"";display:block!important;position:relative!important;inset:auto!important;order:0;flex:0 0 auto;width:min(800px,68%)!important;margin:18px 0 0 3%!important;border-radius:14px;height:auto!important;aspect-ratio:4/3;background-image:url("https://3sjapan.net/images/3SJapan-home-8755c18781a7.png")!important;background-position:center!important;background-size:contain!important;background-repeat:no-repeat!important;opacity:1!important;transform:none!important;filter:none!important;z-index:0!important}




body#page-site-index #s3-home-v2-hero::after,body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__scene{display:none!important}




body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__copy{position:relative!important;order:1;box-sizing:border-box!important;width:min(1160px,calc(100% - 40px))!important;max-width:none!important;margin:0 auto!important;padding:32px 20px 24px!important;text-align:center!important;transform:none!important;translate:none!important;top:auto!important;left:auto!important;background:transparent!important;border-radius:0!important}




body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__brand{margin:0 0 10px!important;color:#e52323!important;-webkit-text-fill-color:#e52323!important;background:none!important;text-shadow:none!important}




body#page-site-index #s3-home-v2-hero h1{font-size:clamp(24px,3vw,40px)!important;line-height:1.3!important;margin:0 0 12px!important;color:#25233f!important;text-shadow:none!important}




body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__lead{max-width:820px!important;margin:0 auto!important;color:#56536c!important;line-height:1.6!important}




body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__rule{margin:14px auto!important}




body#page-site-index #s3-home-v2-hero .s3-home-v2-quick{position:relative!important;order:2;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;translate:none!important;width:min(1160px,calc(100% - 40px))!important;margin:0 auto 24px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;z-index:1!important}




body#page-site-index #s3-home-v4-rail{margin-top:0!important;top:auto!important;transform:none!important}




@media(max-width:767px){body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__copy{width:calc(100% - 24px)!important;padding:24px 10px 20px!important}body#page-site-index #s3-home-v2-hero .s3-home-v2-quick{width:calc(100% - 24px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:18px!important}}





/* Public library courses use native resource sections, which the exam catalogue hides. */
html body#page-course-view-topics.category-8:not(#sj-unused-free) .course-content {display:block!important; visibility:visible!important;}
html body#page-course-view-topics.category-8:not(#sj-unused-free) :is(#s3-course-modern,#s3-premium-rail,#theme_boost-drawers-courseindex,.drawer-toggler,.drawer-left-toggle,.page-banner-area) {display:none!important;}
html body#page-course-view-topics.category-8.s3-premium:not(#sj-unused-free) #page.container {margin:0 auto!important; width:calc(100% - 32px)!important; max-width:1040px!important; padding:26px 12px!important;}
html body#page-course-view-topics.category-8:not(#sj-unused-free) .course-content .section {display:block!important;}
html body#page-course-view-topics.category-8:not(#sj-unused-free) .course-content .activity {display:block!important; width:100%!important;}
html body#page-course-view-topics.category-8:not(#sj-unused-free) .course-content .activity-item {width:100%!important;}
html body#page-course-view-topics.category-8:not(#sj-unused-free) #region-main::before {display:none!important;}
html body#page-course-view-topics.category-8:not(#sj-unused-free) .course-content :is(.activity,.activity-item,.activity-altcontent) {border:0!important; box-shadow:none!important; padding:0!important; background:transparent!important;}
.sj-free-course-intro h2 {font-size:26px!important; font-weight:800!important; line-height:1.6!important; color:#23324c!important; margin:14px 0 6px!important;}
.sj-free-course-intro p {color:#c72c47!important; font-weight:750!important;}
.sj-free-course-intro rt {font-size:.5em!important; font-weight:700!important; color:#23324c!important;}
.sj-free-course-guide ruby rt {color:#23324c!important; font-weight:750!important; font-size:12px!important;}
.sj-free-course-guide {padding:24px; margin:12px 0; border:1px solid #dce6ed; border-radius:18px; background:#f7fbfe; color:#26384a;}
.sj-free-course-guide h3 {font-size:22px!important; line-height:1.6!important; color:#26384a!important; margin:0 0 10px!important;}
.sj-free-course-guide rt {font-size:.5em!important;}
.sj-free-course-guide p,.sj-free-course-guide li {line-height:1.8!important;}
.sj-free-course-guide .sj-free-pending {display:inline-block; padding:8px 13px; border-radius:10px; background:#fff1d8; color:#825912; font-weight:600;}
.sj-free-course-guide ruby rt {color:#23324c!important; font-weight:750!important; font-size:12px!important;}
/* One actual homepage image; no hidden legacy hero image underneath. */
html body#page-site-index:not(#sj-home-legacy) #s3-home-v2-hero::before,
html body#page-site-index:not(#sj-home-legacy) #s3-home-v2-hero::after {content:none!important;display:none!important;background:none!important;}
html body#page-site-index:not(#sj-home-legacy) #sj-home-art {display:block!important;grid-column:1!important;grid-row:1!important;width:calc(100% - 3vw)!important;max-width:none!important;min-width:0!important;height:auto!important;aspect-ratio:4/3!important;object-fit:contain!important;margin:18px 0 0 3vw!important;border:0!important;border-radius:14px!important;transform:none!important;opacity:1!important;}
@media(max-width:999px){html body#page-site-index:not(#sj-home-legacy) #sj-home-art{width:94%!important;margin:18px 3% 0!important;}}
/* Reference layout: cream paper, editorial type, full-colour industry photographs. */
html body#page-site-index #s3-home-v2-hero {display:grid!important;grid-template-columns:63% 34%!important;column-gap:0!important;align-items:start!important;}
html body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__copy {grid-column:1!important;grid-row:2!important;}
html body#page-site-index #s3-home-v2-hero .s3-home-v2-quick {grid-column:1/-1!important;grid-row:3!important;}
html body#page-site-index #sj-free-library {grid-column:2!important;grid-row:1/span 2!important;position:relative!important;min-width:0!important;box-sizing:border-box!important;margin:14px 0 12px 24px!important;padding:0!important;border:0!important;border-radius:0!important;background:#fffdf8!important;box-shadow:none!important;color:#07162d!important;text-align:left!important;}
#sj-free-library * {box-sizing:border-box;}
#sj-free-library .sj-free-header {margin:0 0 12px!important;padding:0!important;border:0!important;background:none!important;}
#sj-free-library .sj-free-eyebrow {margin:0 0 5px!important;color:#f15a1b!important;font:700 10px/1.3 "SJ Editorial","Times New Roman",serif!important;letter-spacing:2px!important;}
html body#page-site-index #sj-free-library h2 {display:block!important;margin:0!important;color:#07162d!important;font:700 clamp(31px,2.65vw,47px)/1.03 "SJ Editorial","Times New Roman",serif!important;letter-spacing:-1.2px!important;text-align:left!important;}
#sj-free-library .sj-free-title-line {display:flex!important;align-items:center!important;gap:12px!important;}
#sj-free-library .sj-free-badge {display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:6px 10px!important;border-radius:30px!important;background:#ff0808!important;color:#fff!important;white-space:nowrap!important;font:750 clamp(11px,.95vw,15px)/1.2 "Segoe UI",Arial,sans-serif!important;letter-spacing:0!important;}
#sj-free-library .sj-free-title-sub {display:block!important;font:inherit!important;color:inherit!important;}
#sj-free-library .sj-free-intro {margin:8px 0 0!important;padding-top:7px!important;border-top:1px solid #d8d8d1!important;color:#3e4d59!important;font:500 13px/1.3 "SJ Editorial","Times New Roman",serif!important;}
#sj-free-library .sj-free-list {display:grid!important;gap:7px!important;list-style:none!important;margin:0!important;padding:0!important;}
#sj-free-library .sj-free-list li {min-width:0!important;list-style:none!important;margin:0!important;padding:0!important;}
#sj-free-library .sj-free-card {position:relative!important;display:grid!important;grid-template-columns:56% 44%!important;align-items:stretch!important;gap:0!important;isolation:isolate!important;height:clamp(72px,11vh,108px)!important;min-height:0!important;padding:0!important;overflow:hidden!important;border:1px solid #d9dcd9!important;border-radius:10px!important;background:#fffdf8!important;color:#07162d!important;box-shadow:none!important;text-decoration:none!important;transition:border-color .18s,box-shadow .18s!important;}
#sj-free-library .sj-free-card::before,#sj-free-library .sj-free-card::after {content:none!important;display:none!important;background:none!important;}
#sj-free-library .sj-free-card:hover {border-color:#f7651b!important;box-shadow:0 3px 12px #d55b1314!important;transform:none!important;}
#sj-free-library .sj-free-card:focus-visible {outline:3px solid #f7651b!important;outline-offset:3px!important;}
#sj-free-library .sj-free-name {position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:1px!important;min-width:0!important;padding:5px 10px 5px 14px!important;font-family:"SJ Editorial","Times New Roman",serif!important;color:#07162d!important;line-height:1.1!important;}
#sj-free-library .sj-free-number {display:block!important;color:#f15a1b!important;font:600 11px/1 "SJ Editorial","Times New Roman",serif!important;}
#sj-free-library .sj-free-vi {display:block!important;white-space:nowrap!important;color:#07162d!important;font:700 clamp(18px,1.55vw,27px)/1.1 "SJ Editorial","Times New Roman",serif!important;letter-spacing:-.6px!important;}
#sj-free-library .sj-free-ja {display:block!important;margin:2px 0 0!important;color:#07162d!important;}
html body#page-site-index #sj-free-library ruby {ruby-position:over!important;white-space:nowrap!important;font:700 11px/1.1 "Yu Gothic","Segoe UI",sans-serif!important;color:#07162d!important;}
html body#page-site-index #sj-free-library ruby rt {display:ruby-text!important;visibility:visible!important;opacity:1!important;font:750 8px/1 "Yu Gothic","Segoe UI",sans-serif!important;color:#07162d!important;}
#sj-free-library .sj-free-en {display:block!important;margin:2px 0 0!important;max-width:100%!important;color:#182638!important;font:700 clamp(8px,.62vw,11px)/1.2 "SJ Editorial","Times New Roman",serif!important;letter-spacing:1px!important;text-transform:uppercase!important;}
#sj-free-library .sj-free-photo {display:block!important;position:relative!important;margin:0!important;width:100%!important;min-width:0!important;height:100%!important;overflow:hidden!important;}
html body#page-site-index #sj-free-library .sj-free-photo img {display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;object-fit:cover!important;object-position:var(--sj-photo-position,center)!important;opacity:1!important;filter:none!important;}
#sj-free-library .sj-free-arrow {position:absolute!important;display:grid!important;place-items:center!important;right:8px!important;bottom:7px!important;top:auto!important;width:25px!important;height:25px!important;border-radius:50%!important;background:#ff6518!important;color:#fff!important;font:500 21px/1 Arial,sans-serif!important;z-index:2!important;}
#sj-free-library .sj-free-note {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:9px 0 0!important;padding:0!important;border:0!important;font:500 10px/1.4 "Segoe UI",Arial,sans-serif!important;color:#42525d!important;}
#sj-free-library .sj-free-note strong {display:block!important;font:650 10px/1.4 "Segoe UI",Arial,sans-serif!important;color:#344651!important;}
#sj-free-library .sj-free-note p {margin:2px 0 0!important;font:500 10px/1.4 "Segoe UI",Arial,sans-serif!important;color:#42525d!important;}
#sj-free-library .sj-free-note a {display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;height:36px!important;min-height:36px!important;margin:0!important;padding:7px 12px!important;border:0!important;border-radius:9px!important;background:#00ff00!important;color:#071c0e!important;font:750 14px/1.4 "Segoe UI",Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important;}
#sj-free-library .sj-free-note a:hover {filter:brightness(.94);}
#sj-free-library .sj-free-note a:focus-visible {outline:3px solid #f7651b;outline-offset:3px;}
@media(min-width:1000px) and (max-height:680px) {
 #sj-free-library .sj-free-header {margin-bottom:9px!important;}
 #sj-free-library .sj-free-list {gap:6px!important;}
}
@media(max-width:1199px) and (min-width:1000px) {
 html body#page-site-index #sj-free-library {margin-left:12px!important;}
 #sj-free-library .sj-free-name {padding-left:10px!important;}
 #sj-free-library .sj-free-vi {font-size:17px!important;}
 #sj-free-library .sj-free-en {font-size:8px!important;letter-spacing:.5px!important;}
 #sj-free-library .sj-free-title-line {gap:8px!important;}
 #sj-free-library .sj-free-note a {height:30px!important;min-height:30px!important;padding:4px 12px!important;}
}
@media(max-width:999px) {
 html body#page-site-index #s3-home-v2-hero {grid-template-columns:100%!important;}
 html body#page-site-index #sj-free-library {grid-column:1!important;grid-row:2!important;width:calc(100% - 32px)!important;max-width:640px!important;margin:22px auto 12px!important;padding:18px!important;border:1px solid #e2e4df!important;border-radius:16px!important;}
 html body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__copy {grid-column:1!important;grid-row:3!important;}
 html body#page-site-index #s3-home-v2-hero .s3-home-v2-quick {grid-row:4!important;}
 #sj-free-library .sj-free-eyebrow {font-size:11px!important;letter-spacing:2.2px!important;margin-bottom:8px!important;}
 html body#page-site-index #sj-free-library h2 {font-size:clamp(32px,8.3vw,52px)!important;}
 #sj-free-library .sj-free-badge {font-size:12px!important;padding:8px 11px!important;}
 #sj-free-library .sj-free-intro {font-size:16px!important;margin-top:12px!important;padding-top:10px!important;}
 #sj-free-library .sj-free-header {margin-bottom:18px!important;}
 #sj-free-library .sj-free-list {gap:10px!important;}
 #sj-free-library .sj-free-card {height:clamp(132px,34vw,176px)!important;grid-template-columns:55% 45%!important;border-radius:11px!important;}
 #sj-free-library .sj-free-name {padding:10px 8px 10px 12px!important;gap:4px!important;}
 #sj-free-library .sj-free-number {font-size:14px!important;}
 #sj-free-library .sj-free-vi {font-size:clamp(21px,5.6vw,32px)!important;letter-spacing:-.7px!important;}
 #sj-free-library .sj-free-ja {margin-top:2px!important;}
 html body#page-site-index #sj-free-library ruby {font-size:12px!important;}
 html body#page-site-index #sj-free-library ruby rt {font-size:9px!important;}
 #sj-free-library .sj-free-en {font-size:9px!important;letter-spacing:.8px!important;}
 #sj-free-library .sj-free-arrow {width:29px!important;height:29px!important;font-size:24px!important;right:9px!important;bottom:9px!important;}
 #sj-free-library .sj-free-note {margin-top:14px!important;}
 #sj-free-library .sj-free-note strong,#sj-free-library .sj-free-note p {font-size:10px!important;}
 #sj-free-library .sj-free-note a {height:30px!important;min-height:30px!important;font-size:13px!important;padding:4px 12px!important;}
}
@media(max-width:350px) {
 html body#page-site-index #sj-free-library {padding:13px!important;}
 html body#page-site-index #sj-free-library h2 {font-size:30px!important;}
 #sj-free-library .sj-free-title-line {gap:8px!important;}
 #sj-free-library .sj-free-badge {font-size:11px!important;padding:7px 9px!important;}
 #sj-free-library .sj-free-name {padding-left:9px!important;}
 #sj-free-library .sj-free-vi {font-size:19px!important;}
 #sj-free-library .sj-free-en {font-size:8px!important;letter-spacing:.5px!important;}
 #sj-free-library .sj-free-note {align-items:flex-start!important;}
}
@media(prefers-reduced-motion:reduce) {#sj-free-library .sj-free-card {transition:none!important;}}
/* The site-wide Japanese type rule must not replace the reference's Latin serif. */
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) :is(h2,.sj-free-title-line,.sj-free-title-sub,.sj-free-name,.sj-free-vi,.sj-free-en,.sj-free-number,.sj-free-intro,.sj-free-eyebrow) {font-family:"SJ Editorial","Times New Roman",serif!important;}
html body#page-site-index #sj-free-library:not(#sj-font-guard) .sj-free-title-line {font-size:inherit!important;line-height:inherit!important;font-weight:inherit!important;}
html body#page-site-index #sj-free-library:not(#sj-font-guard) .sj-free-ja {font-size:11px!important;line-height:11px!important;}
@media(min-width:1000px) {
 html body#page-site-index #sj-free-library .sj-free-name {gap:0!important;padding-top:4px!important;padding-bottom:4px!important;min-height:0!important;}
 html body#page-site-index #sj-free-library .sj-free-number {font-size:10px!important;line-height:10px!important;}
 html body#page-site-index #sj-free-library .sj-free-ja {margin-top:0!important;}
 html body#page-site-index #sj-free-library .sj-free-en {margin-top:0!important;}
 html body#page-site-index #sj-free-library .sj-free-list li:nth-child(2) img {object-position:58% 28%!important;}
 html body#page-site-index #sj-free-library .sj-free-list li:nth-child(3) img {object-position:45% 39%!important;}
 html body#page-site-index #sj-free-library .sj-free-list li:nth-child(4) img {object-position:61% 28%!important;}
 html body#page-site-index #sj-free-library .sj-free-list li:nth-child(5) img {object-position:39% 15%!important;}
}

/* One localized industry name and a fixed English subtitle, matching the supplied reference. */
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-family:"SJ Editorial","Times New Roman",serif!important;font-size:clamp(35px,2.8vw,50px)!important;font-weight:600!important;line-height:1.04!important;letter-spacing:-1.2px!important;}
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) .sj-free-title-line>span:not(.sj-free-badge) {font:inherit!important;letter-spacing:inherit!important;color:inherit!important;}
html body#page-site-index #sj-free-library .sj-free-card {grid-template-columns:50% 50%!important;}
html body#page-site-index #sj-free-library .sj-free-name {justify-content:center!important;gap:5px!important;padding:7px 12px 7px 16px!important;}
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) .sj-free-vi {font-family:"SJ Editorial","Times New Roman",serif!important;font-size:clamp(23px,2.05vw,36px)!important;font-weight:500!important;line-height:1.14!important;letter-spacing:-.8px!important;}
html body#page-site-index #sj-free-library .sj-free-number {font-size:12px!important;font-weight:500!important;line-height:1!important;}
html body#page-site-index #sj-free-library .sj-free-en {font-size:clamp(9px,.72vw,12px)!important;font-weight:600!important;line-height:1.2!important;letter-spacing:1.2px!important;margin:0!important;}
html body#page-site-index #sj-free-library:not(#sj-photo-crop) .sj-free-list li img {object-position:var(--sj-photo-position,center)!important;}
html body#page-site-index #sj-free-library .sj-free-vi ruby {font:inherit!important;color:inherit!important;}
html body#page-site-index #sj-free-library .sj-free-vi ruby rt {font-family:"Yu Mincho","Noto Serif JP",serif!important;font-size:.42em!important;line-height:1!important;font-weight:500!important;letter-spacing:0!important;}
html body#page-site-index #sj-free-library[data-sj-free-locale="ja"]:not(#sj-font-guard):not(#sj-type-guard) :is(h2,.sj-free-title-line,.sj-free-title-sub,.sj-free-vi) {font-family:"Yu Mincho","Noto Serif JP","SJ Site Japanese",serif!important;}
html body#page-site-index #sj-free-library[data-sj-free-locale="my"]:not(#sj-font-guard):not(#sj-type-guard) :is(h2,.sj-free-title-line,.sj-free-title-sub,.sj-free-vi) {font-family:"Myanmar Text","Noto Sans Myanmar",sans-serif!important;letter-spacing:0!important;}
html body#page-site-index #sj-free-library[data-sj-free-locale="my"] .sj-free-vi {font-size:clamp(16px,1.3vw,24px)!important;white-space:normal!important;line-height:1.4!important;}
html body#page-site-index #sj-free-library[data-sj-free-locale="id"] .sj-free-badge {font-size:12px!important;}
@media(min-width:1000px) {
 html body#page-site-index #sj-free-library .sj-free-name {gap:3px!important;padding-top:5px!important;padding-bottom:5px!important;}
 html body#page-site-index #sj-free-library[data-sj-free-locale="ja"] .sj-free-name {gap:2px!important;padding-top:3px!important;padding-bottom:3px!important;}
 html body#page-site-index #sj-free-library[data-sj-free-locale="ja"]:not(#sj-font-guard):not(#sj-type-guard) .sj-free-vi {font-size:clamp(21px,1.65vw,30px)!important;margin-top:0!important;}
 html body#page-site-index #sj-free-library[data-sj-free-locale="ja"] .sj-free-number {font-size:10px!important;}
}
@media(max-width:1199px) and (min-width:1000px) {
 html body#page-site-index #sj-free-library .sj-free-name {padding-left:11px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) .sj-free-vi {font-size:23px!important;}
 html body#page-site-index #sj-free-library .sj-free-en {font-size:8px!important;letter-spacing:.7px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-size:33px!important;}
}
@media(max-width:999px) {
 html body#page-site-index #sj-free-library .sj-free-card {grid-template-columns:50% 50%!important;}
 html body#page-site-index #sj-free-library .sj-free-name {padding:12px!important;gap:10px!important;}
 html body#page-site-index #sj-free-library .sj-free-number {font-size:16px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) .sj-free-vi {font-size:clamp(22px,6.5vw,36px)!important;font-weight:500!important;}
 html body#page-site-index #sj-free-library .sj-free-en {font-size:10px!important;letter-spacing:1px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-size:clamp(34px,9vw,56px)!important;}
 html body#page-site-index #sj-free-library[data-sj-free-locale="my"]:not(#sj-font-guard):not(#sj-type-guard) .sj-free-vi {font-size:18px!important;}
}
@media(max-width:350px) {
 html body#page-site-index #sj-free-library .sj-free-name {padding:9px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) .sj-free-vi {font-size:21px!important;}
 html body#page-site-index #sj-free-library .sj-free-en {font-size:8.5px!important;letter-spacing:.7px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-size:31px!important;}
}

/* One clean frame around the library introduction, with a brighter free badge. */
html body#page-site-index #sj-free-library .sj-free-header {padding:9px 13px!important;border:1px solid #dedcd5!important;border-radius:13px!important;background:#fffdf8!important;}
html body#page-site-index #sj-free-library .sj-free-eyebrow {font-size:9px!important;line-height:1.5!important;letter-spacing:.35px!important;margin-bottom:5px!important;}
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-size:clamp(32px,2.42vw,46px)!important;}
html body#page-site-index #sj-free-library .sj-free-title-line {gap:12px!important;}
html body#page-site-index #sj-free-library .sj-free-badge {margin-left:10px!important;background:#ffff00!important;color:#000!important;font-size:clamp(16.5px,1.425vw,22.5px)!important;padding:6px 11px!important;flex:0 0 auto!important;}
html body#page-site-index #sj-free-library .sj-free-intro {border:0!important;padding:0!important;margin-top:6px!important;}
@media(min-width:1000px) and (max-height:680px){html body#page-site-index #sj-free-library .sj-free-header {padding-top:7px!important;padding-bottom:7px!important;margin-bottom:8px!important;}html body#page-site-index #sj-free-library .sj-free-card {height:clamp(69px,10.6vh,108px)!important;}}
@media(max-width:999px){
 html body#page-site-index #sj-free-library .sj-free-header {padding:13px!important;}
 html body#page-site-index #sj-free-library .sj-free-eyebrow {font-size:10px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-size:clamp(31px,8.1vw,51px)!important;}
 html body#page-site-index #sj-free-library .sj-free-title-line {gap:8px!important;}
 html body#page-site-index #sj-free-library .sj-free-badge {font-size:18px!important;margin-left:7px!important;padding:7px 10px!important;}
 html body#page-site-index #sj-free-library .sj-free-intro {font-size:14px!important;}
}
@media(max-width:350px){
 html body#page-site-index #sj-free-library .sj-free-header {padding:10px!important;}
 html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) h2 {font-size:27px!important;letter-spacing:-1px!important;}
 html body#page-site-index #sj-free-library .sj-free-title-line {gap:5px!important;}
 html body#page-site-index #sj-free-library .sj-free-badge {font-size:16.5px!important;margin-left:5px!important;padding:6px 8px!important;}
}

/* Upright supporting copy; both community-resource lines share the existing PDF size. */
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) :is(.sj-free-eyebrow,.sj-free-intro) {font-family:"Segoe UI",Arial,sans-serif!important;font-style:normal!important;}
html body#page-site-index #sj-free-library:not(#sj-font-guard):not(#sj-type-guard) .sj-free-note :is(strong,p) {font-family:"Segoe UI",Arial,sans-serif!important;font-style:normal!important;font-size:10px!important;line-height:1.4!important;font-weight:750!important;color:#000!important;}

/* Reduce only the five thumbnail frames; preserve the card layout and all type sizes. */
html body#page-site-index #sj-free-library .sj-free-photo {width:75%!important;height:75%!important;align-self:center!important;justify-self:center!important;border-radius:6px!important;}
html body#page-site-index #sj-free-library .sj-free-arrow {right:calc(6.25% + 6px)!important;bottom:calc(12.5% + 5px)!important;width:19px!important;height:19px!important;font-size:16px!important;}
@media(max-width:999px){html body#page-site-index #sj-free-library .sj-free-arrow {width:22px!important;height:22px!important;font-size:18px!important;right:calc(6.25% + 7px)!important;bottom:calc(12.5% + 7px)!important;}}

/* Requested modest desktop alignment of the intro with the CTA area. */
@media (min-width: 1000px) {
 html body#page-site-index #s3-home-v2-hero .s3-home-v2-hero__copy {
  transform: translateX(-28px)!important;
 }
}
