/* Load after learning.css. All layout changes apply only to the phone homepage. */
.home .classes-preview-timing{font-size:12px;color:#7f6848;line-height:1.8;margin:-18px 0 24px}
@media(max-width:720px){
  .home .section{padding-block:28px}
  .home h2{font-size:24px;line-height:1.5;letter-spacing:.015em}
  .home .section-heading,.home .teachers-section .section-heading{margin-bottom:20px}
  .home .section-heading .eyebrow{margin-bottom:8px}
  .home .section-heading .plain-link{margin-top:10px;min-height:44px;align-items:center}
  .home .eyebrow{font-size:9px;margin-bottom:10px}
  .home .hero{height:auto;min-height:440px;padding-bottom:68px}
  .home .hero-content{padding-top:30px}
  .home .hero h1{font-size:32px;line-height:1.4}
  .home .hero-kicker{font-size:12px;letter-spacing:.06em;margin-bottom:13px}
  .home .hero-description{font-size:12px;line-height:1.9;margin:17px 0 20px}
  .home .hero-actions{gap:18px;flex-wrap:wrap}
  .home .hero .button{min-height:46px;padding:12px 16px;font-size:12px;gap:16px}
  .home .hero-link{min-height:44px;align-items:center}
  .home .hero-japanese{position:static;writing-mode:horizontal-tb;margin-top:20px;font-size:11px;letter-spacing:.18em}
  .home .hero-index{bottom:21px}
  .home .campus-caption{bottom:22px}
  .home .latest-note{padding-block:12px}
  .home .path-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
  .home .path-start-card{display:flex;flex-direction:column;padding:14px 0 8px;min-width:0}
  .home .path-start-number{margin-bottom:8px;font-size:16px}
  .home .path-start-card h3{font-size:16px;line-height:1.5;margin-bottom:9px}
  .home .path-start-card p{font-size:12px;line-height:1.75;margin-bottom:10px}
  .home .path-start-link{font-size:11px;min-height:34px}
  .home .path-start-more{margin-top:10px;padding-top:12px}
  .home .path-start-more p{margin-bottom:5px;font-size:11px}
  .home .path-start-more>div{gap:0 16px}
  .home .path-start-more a{font-size:11px;min-height:40px}
  .home .results-showcase{padding-block:28px}
  .home .results-showcase-heading{margin-bottom:20px}
  .home .results-showcase h2{font-size:32px}
  .home .results-showcase-description{font-size:13px;line-height:1.8;margin-top:10px}
  .home .results-showcase-heading>.learning-link{margin-top:12px;min-height:44px}
  .home .results-feature-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc(100% - 24px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:4px 2px 14px;scrollbar-width:thin;scrollbar-color:var(--gold) #ffffff25}
  .home .result-highlight{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.75fr);column-gap:18px;padding:18px 20px}
  .home .result-highlight-lead{padding-top:16px}
  .home .result-highlight{scroll-snap-align:start}
  .home .result-highlight:focus-visible{outline-offset:-5px}
  .home .result-highlight-top{grid-column:1/-1;font-size:12px;margin-bottom:12px}
  .home .result-highlight-status{padding:3px 9px;font-size:10px}
  .home .result-highlight-schools{margin:0;align-self:center}
  .home .result-highlight-schools h3{font-size:19px;line-height:1.45;margin-bottom:10px}
  .home .result-highlight-schools h3:last-child{margin-bottom:0}
  .home .result-highlight-lead h3{font-size:25px}
  .home .result-highlight-schools h3 span{font-size:12px;line-height:1.6;margin-top:3px}
  .home .result-highlight-bottom{margin:0;border-top:0;border-left:1px solid #ded7ca;padding:0 0 0 16px;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
  .home .result-highlight-subject{display:block;font-size:11px}
  .home .result-highlight-subject>span{display:block;margin-top:2px}
  .home .result-highlight-score{gap:8px;flex-wrap:wrap;margin:9px 0 11px}
  .home .result-highlight-score>span:first-child{font-size:21px}
  .home .result-highlight-score .result-highlight-arrow{font-size:15px}
  .home .result-highlight-score strong{font-size:35px}
  .home .result-highlight-link{gap:5px;font-size:10px;line-height:1.7}
  .home .result-highlight-link b{font-size:18px}
  .home .results-showcase-note{font-size:10px;line-height:1.8;margin-top:15px}
  .home .public-class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .home .public-class-card{padding:17px 15px;min-height:0}
  .home .class-number{font-size:18px;line-height:1.2;margin-bottom:10px}
  .home .public-class-card h3{font-size:17px;line-height:1.55}
  .home .public-class-card>p{font-size:12px;line-height:1.8;margin:11px 0 16px}
  .home .classes-preview-timing{margin:-8px 0 16px;font-size:11px}
  .home .public-class-card .class-card-link{margin-top:auto;padding-top:10px;min-height:40px;font-size:11px;line-height:1.6;gap:6px}
  .home .class-consult-banner{padding:22px;margin-top:24px;gap:18px}
  .home .class-consult-banner h3{font-size:21px}
  .home .class-consult-banner p:last-child{font-size:12px;line-height:1.85;margin-top:10px}
  .home .class-consult-banner .button{min-height:44px}
  .home .teachers-section{padding-block:28px}
  .home .featured-teacher{margin-bottom:18px}
  .home .featured-teacher__portrait{height:250px}
  .home .featured-teacher__copy{padding:22px}
  .home .featured-teacher__eyebrow{margin-bottom:12px}
  .home .featured-teacher h3{font-size:29px;margin-bottom:8px}
  .home .featured-teacher__qualification{font-size:14px;line-height:1.75}
  .home .featured-teacher__invitation{font-size:20px;line-height:1.65;margin:16px 0 10px;padding-top:15px}
  .home .featured-teacher__description{font-size:12px;line-height:1.85}
  .home .featured-teacher__actions{display:flex;gap:10px;margin-top:18px}
  .home .featured-teacher__actions .button{min-width:0;min-height:44px;font-size:12px;padding:10px 12px;gap:9px}
  .home .featured-teacher__note{font-size:11px;line-height:1.7;margin-top:12px}
  .home .teachers-section .teacher-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc(100% - 24px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:4px 2px 14px;scrollbar-width:thin;scrollbar-color:#a2865c #dedfd9}
  .home .teachers-section .teacher-card{display:grid;grid-template-columns:82px minmax(0,1fr);min-width:0;scroll-snap-align:start}
  .home .teachers-section .teacher-card:focus-visible{outline-offset:-5px}
  .home .teachers-section .teacher-portrait{aspect-ratio:auto;min-height:105px;height:100%}
  .home .teachers-section .teacher-card-body{padding:12px 15px}
  .home .teachers-section .teacher-role{font-size:11px;min-height:0;line-height:1.6}
  .home .teachers-section .teacher-card h3{font-size:20px;margin:4px 0 6px}
  .home .teachers-section .teacher-qualification{font-size:11px;min-height:0;line-height:1.7}
  .home .classroom-preview{gap:22px}
  .home .classroom-preview-copy h2{font-size:26px;line-height:1.5;margin-bottom:14px}
  .home .classroom-preview-copy>p:not(.eyebrow){font-size:13px;line-height:1.85}
  .home .classroom-preview-copy ul{margin:14px 0 18px;font-size:12px;line-height:1.8}
  .home .classroom-preview-copy li{padding:6px 0}
  .home .materials-preview-layout{gap:22px}
  .home .materials-preview h2{font-size:26px}
  .home .materials-preview-description{font-size:13px;line-height:1.85;margin:14px 0 18px}
  .home .news-editorial-grid{gap:12px}
  .home .news-editorial-card{padding:20px 22px}
  .home .news-editorial-card .news-meta{margin-bottom:12px;font-size:10px}
  .home .news-editorial-card h3{font-size:21px;line-height:1.55}
  .home .news-editorial-card .news-summary{font-size:12px;line-height:1.8;margin:12px 0 16px}
  .home .news-editorial-card .news-read{min-height:40px;font-size:12px}
  .home .news-footnote{margin-top:18px;display:block;font-size:11px;line-height:1.8}
  .home .news-footnote a{display:inline-flex;min-height:44px;align-items:center}
  .home .program-grid{gap:10px}
  .home .program-card{min-height:0;padding:17px 15px}
  .home .card-top{font-size:8px;min-height:20px}
  .home .card-top b{font-size:18px}
  .home .card-title{font-size:19px;line-height:1.5;margin:9px 0}
  .home .card-description{font-size:12px;line-height:1.8;margin-bottom:14px}
  .home .card-bottom{font-size:10px;line-height:1.7;padding-top:10px}
  .home .section-note{font-size:11px;line-height:1.8;margin-top:14px}
  .home .courses-layout{gap:18px}
  .home .course-feature{min-height:0;padding:18px 22px}
  .home .course-feature h3{font-size:23px;margin-top:13px}
  .home .course-feature>p{padding-top:14px;font-size:11px}
  .home .course-row{min-height:88px;padding-block:14px;grid-template-columns:50px minmax(0,1fr) 18px;gap:12px}
  .home .course-code{font-size:19px}
  .home .course-row strong{font-size:17px}
  .home .course-row small{font-size:11px;line-height:1.8}
  .home .highlights{padding-block:20px;row-gap:16px}
  .home .about-section{padding-block:28px}
  .home .about-layout{gap:24px}
  .home .about-statement h2{font-size:28px}
  .home .about-statement>p:not(.eyebrow){font-size:13px;line-height:1.9;margin:16px 0}
  .home .resource-panel{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:20px;align-items:start;padding-top:20px}
  .home .resource-label{grid-column:1/-1;margin-bottom:10px}
  .home .resource-number{grid-column:1;grid-row:2/5;font-size:60px;line-height:1;margin:3px 0 0;white-space:nowrap}
  .home .resource-number span{font-size:32px;top:9px}
  .home .resource-panel h3{grid-column:2;font-size:19px}
  .home .resource-panel p{grid-column:2;font-size:12px;line-height:1.8;margin:8px 0 12px}
  .home .resource-tags{grid-column:1/-1;margin-top:4px}
  .home .about-principles{gap:18px;margin-top:24px;padding-top:22px}
  .home .about-principles p{font-size:12px;line-height:1.8}
  .home .process{gap:24px 18px}
  .home .process li{padding-top:16px}
  .home .step-number{font-size:29px;margin-bottom:10px}
  .home .step-en{margin-bottom:7px}
  .home .process h3{font-size:16px;margin-bottom:9px}
  .home .process p{font-size:12px;line-height:1.85}
  .home .support-note{margin-top:22px;padding-top:18px}
  .home .support-note p{font-size:12px;line-height:1.8;margin:10px 0}
  .home .guide{gap:18px}
  .home .guide-heading h2{margin-bottom:10px}
  .home .questions summary{font-size:13px;padding-block:16px;line-height:1.7}
  .home .questions details p{font-size:12px;line-height:1.85;padding-bottom:18px}
  .home .contact-section{padding-block:28px}
  .home .contact-inner h2{font-size:27px}
  .home .contact-action{margin-top:20px}
  .home .contact-inline{margin-top:24px;padding-top:20px}
  .home .contact-inline .contact-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
  .home .contact-inline .contact-item{gap:7px 10px;padding-bottom:12px}
  .home .contact-inline .contact-item>a small{margin-left:0;width:100%}
  .home .contact-inline .contact-item:has(>a[href^="mailto:"]){grid-column:1/-1}
}
@media(max-width:359px){
  .home .hero h1{font-size:29px}
  .home .hero-actions{gap:10px}
  .home .hero .button{gap:10px;padding-inline:13px}
  .home .public-class-grid{gap:10px}
  .home .public-class-card{padding:15px 12px}
  .home .public-class-card h3{font-size:16px}
  .home .result-highlight{grid-template-columns:minmax(0,1fr) 108px;padding:16px;gap:12px}
  .home .result-highlight-lead{padding-top:13px}
  .home .result-highlight-bottom{padding-left:12px}
  .home .result-highlight-schools h3{font-size:18px}
  .home .result-highlight-lead h3{font-size:23px}
  .home .result-highlight-score{gap:6px}
  .home .result-highlight-score>span:first-child{font-size:19px}
  .home .result-highlight-score strong{font-size:31px}
  .home .featured-teacher__copy{padding:20px}
}
