/* Scoped above Macchiato's element defaults; also used inside Gutenberg. */
body .josho-course-page{--jc-ink:#17243d;--jc-orange:#f3981c;--jc-blue:#5bc2d8;--jc-paper:#fffefb;color:var(--jc-ink);background:var(--jc-paper);font-family:"Noto Sans CJK JP","Hiragino Kaku Gothic ProN",sans-serif;line-height:1.85;overflow-wrap:anywhere;max-width:1240px;margin-inline:auto}
body .josho-course-page *{box-sizing:border-box;min-width:0}
body .josho-course-page :is(h1,h2,h3,p,figure,ul){color:inherit;padding:0;border:0;background:none;box-shadow:none;margin:0 0 20px;letter-spacing:normal;line-height:1.85}
body .josho-course-page :is(h1,h2,h3)::before,body .josho-course-page :is(h1,h2,h3)::after{display:none}
body .josho-course-page h1{font-size:clamp(29px,4vw,50px);line-height:1.55;font-weight:800}
body .josho-course-page h2{font-size:clamp(24px,2.8vw,32px);line-height:1.6;font-weight:700}
body .josho-course-page h3{font-size:21px;line-height:1.65;font-weight:700}
body .josho-course-page p{font-size:15px}
body .josho-course-page .jc-eyebrow{font-family:Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.16em;margin-bottom:22px}
body .josho-course-page .jc-overview-hero{padding:70px 5% 48px;position:relative;isolation:isolate;overflow:hidden}
body .josho-course-page .jc-overview-hero:after{content:"COURSES" / "";position:absolute;right:2%;top:0;font:900 clamp(70px,14vw,170px)/1 Arial,sans-serif;letter-spacing:-.075em;opacity:.045;z-index:-1;pointer-events:none}
body .josho-course-page .jc-overview-hero:before,body .josho-course-page .jc-hero-copy:before{content:"";display:block;width:60px;height:6px;background:linear-gradient(90deg,var(--jc-orange) 50%,var(--jc-blue) 50%);margin-bottom:28px}
body .josho-course-page .jc-overview-hero p{max-width:700px}
body .josho-course-page :is(.jc-cards,.jc-compare-grid,.jc-points){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
body .josho-course-page .jc-cards{padding:0 5%}
body .josho-course-page .jc-card{background:white;border:1px solid #e1e4e3;display:flex;flex-direction:column}
body .josho-course-page .jc-card-copy{padding:26px;flex:1;display:flex;flex-direction:column}
body .josho-course-page .jc-card-copy h2{font-size:23px}
body .josho-course-page .jc-card-copy .jc-link{margin-top:auto}
body .josho-course-page .jc-media{background:#edf1e9;position:relative;margin:0;display:grid;align-items:center}
body .josho-course-page .jc-photo{margin:0;width:100%}
body .josho-course-page .jc-photo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;margin:0;border-radius:0;box-shadow:none}
body .josho-course-page .jc-card .jc-media{aspect-ratio:.86}
/* Empty standard Image blocks remain editable, without shipping student photos or broken URLs. */
body .josho-course-page .jc-media:not(:has(img)){min-height:220px;background:linear-gradient(135deg,#eef2ed 48%,#e2ecea 48%,#e2ecea 52%,#eef2ed 52%)}
body .josho-course-page .jc-compare{padding:72px 5%}
body .josho-course-page .jc-compare-item{padding:26px;background:#f0f0e7;border-top:5px solid var(--jc-blue)}
body .josho-course-page .jc-compare-item:nth-child(2){border-color:var(--jc-orange)}
body .josho-course-page .jc-compare-item .jc-term{font-size:12px;font-weight:700;margin:24px 0 6px}
body .josho-course-page .jc-note{font-size:12px;color:#465165;margin:24px 0 0}
body .josho-course-page .jc-shared{margin:0 5% 64px;padding:45px;background:var(--jc-ink);color:white}
body .josho-course-page .jc-back{padding:22px 5%}
body .josho-course-page .jc-back p{margin:0}
body .josho-course-page .jc-hero{display:grid;grid-template-columns:1.05fr .95fr;background:var(--jc-ink);color:white}
body .josho-course-page .jc-hero-copy{padding:54px 9%;align-self:center}
body .josho-course-page .jc-hero-copy h1{font-size:clamp(29px,3.2vw,44px)}
body .josho-course-page .jc-course-name{font-size:clamp(22px,2.8vw,34px);font-weight:700;line-height:1.55}
body .josho-course-page .jc-detail-body{padding:64px 5%}
body .josho-course-page .jc-points{padding:28px 0 50px;gap:32px}
body .josho-course-page .jc-point{border-top:4px solid var(--jc-blue);padding-top:24px}
body .josho-course-page .jc-point:nth-child(2){border-color:var(--jc-orange)}
body .josho-course-page .jc-interest{background:#e6f2f4;padding:35px 40px;margin-bottom:46px}
body .josho-course-page ul{list-style:disc;padding-left:24px}
body .josho-course-page li{margin-bottom:14px;font-size:15px}
body .josho-course-page .jc-future{border-left:6px solid var(--jc-orange);padding:0 0 0 28px;margin-bottom:50px;max-width:820px}
body .josho-course-page .jc-related{display:flex;gap:14px;flex-wrap:wrap}
body .josho-course-page .jc-link{font-weight:700;font-size:13px;margin-bottom:0}
body .josho-course-page .jc-link a{color:inherit;text-decoration:underline;text-underline-offset:.25em;display:inline-block;padding:12px 4px}
body .josho-course-page .jc-link a:focus-visible{outline:3px solid var(--jc-ink);outline-offset:3px}
body .josho-course-page :is(.jc-hero,.jc-shared) a:focus-visible{outline-color:var(--jc-orange)}
@media(max-width:800px){body .josho-course-page :is(.jc-cards,.jc-compare-grid,.jc-points,.jc-hero){grid-template-columns:1fr}body .josho-course-page .jc-overview-hero{padding:42px 6% 30px}body .josho-course-page .jc-card{display:grid;grid-template-columns:.8fr 1.2fr}body .josho-course-page .jc-card .jc-media{aspect-ratio:auto}body .josho-course-page .jc-card-copy{padding:24px}body .josho-course-page .jc-hero-copy{padding:40px 7%}body .josho-course-page .jc-hero .jc-media{padding:0 10%}body .josho-course-page .jc-shared{padding:30px}body .josho-course-page .jc-compare,body .josho-course-page .jc-detail-body{padding:40px 6%}body .josho-course-page .jc-interest{padding:26px}}
@media(max-width:480px){body .josho-course-page .jc-card{display:flex}body .josho-course-page .jc-card .jc-media{aspect-ratio:.95}body .josho-course-page .jc-hero .jc-media{padding:0}body .josho-course-page .jc-hero-copy{padding:32px 7%}body .josho-course-page h1{font-size:29px}body .josho-course-page .jc-future{padding-left:20px}body .josho-course-page .jc-related{display:block}}
/* Classic themes add this wrapper; let the native Groups participate in the grid. */
body .josho-course-page .wp-block-group > .wp-block-group__inner-container{display:contents}
body .josho-course-page li::before{content:none!important}
/* Keep Macchiato's visited/hover accent from reducing contrast on pale surfaces. */
body .josho-course-page .jc-link a:any-link,body .josho-course-page .jc-link a:visited,body .josho-course-page .jc-link a:hover,body .josho-course-page .jc-link a:active{color:var(--jc-ink)}
body .josho-course-page :is(.jc-hero,.jc-shared) .jc-link a:any-link{color:var(--jc-paper)}
