@charset "UTF-8";
body.home-page{margin:0;color:#343e3e;background:#faf8f3;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;line-height:1.9}
.home-page main *{box-sizing:border-box}.home-page main{margin-top:var(--site-header-height,48px)}
.home-page h1,.home-page h2,.home-page h3,.home-page p{margin:0}.home-page main a{color:inherit;text-underline-offset:5px}
.home-page main :focus-visible{outline:3px solid #9c512e;outline-offset:5px}
.home-page .skip{position:fixed;left:12px;top:-100px;z-index:200;background:white;padding:8px 16px}.home-page .skip:focus{top:8px}
.home-hero{display:grid;position:relative;isolation:isolate;min-height:0;aspect-ratio:1717/916;margin:auto;background:#f2eee6}
.hero-photo{position:absolute;inset:0;margin:0;min-width:0;z-index:-2}
.hero-photo picture,.hero-photo img{display:block;width:100%;height:100%}
.hero-photo img{object-fit:cover;object-position:left center}
.home-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 35%,rgba(1,104,183,.08) 50%,rgba(1,104,183,.56) 74%,rgba(1,104,183,.68))}
.photo-pending{padding:40px;text-align:center;color:#535d59;border:1px solid #aeb3a8;margin:32px;font-size:14px;max-width:26rem}
.photo-pending span{display:block;font-family:Georgia,serif;letter-spacing:.2em;font-size:12px;margin-bottom:12px}
.hero-copy{width:42%;margin-left:auto;padding:48px clamp(24px,3.4vw,64px);align-self:center;min-width:0;color:#f2eee6}
.home-hero .hero-rule{background:#7CCEF5}


.hero-subtitle{font-size:clamp(14px,1.45vw,20px);font-weight:400;line-height:1.6;letter-spacing:0}
.hero-rule{width:64px;height:1px;background:#0168B7;border:0;margin:24px 0 28px}
.home-page h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:400;font-size:clamp(32px,3.4vw,58px);line-height:1.35;letter-spacing:0;white-space:nowrap}

.home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.home-page main .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 24px;background:#465b51;color:#fff;text-decoration:none;font-size:14px;border:1px solid #465b51}
.home-page main .button.secondary{background:transparent;color:#344c41}.home-page main .button:hover{background:#344c41;color:#fff}
.home-section{max-width:1160px;margin:auto;padding:90px 32px;scroll-margin-top:80px}
.section-label{font:12px/1.5 Georgia,serif;letter-spacing:.18em;color:#8b6245;margin-bottom:15px!important}
.home-page main h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(25px,3vw,36px);font-weight:500;line-height:1.65;letter-spacing:.04em}
.intro{text-align:center;max-width:850px}.intro p:last-child{margin-top:25px;font-size:16px;line-height:2.2}
.course-zone{background:#edece4}.section-top{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:36px}
.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.course-card{background:#faf8f3;padding:28px;min-width:0;border-top:2px solid #8d7960;display:flex;flex-direction:column}
.course-card .language{font:italic 19px Georgia,serif;color:#806d52;margin-bottom:10px}.home-page main h3{font-size:22px;font-weight:500;margin-bottom:16px}
.course-card p{font-size:14px}.course-card a{margin-top:auto;padding-top:22px;min-height:48px;font-size:14px}.online{font-size:12px;color:#52604f;margin-top:18px!important}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:40px}.story{border-top:1px solid #b9b8aa;padding-top:22px}.story small{color:#8b6245;letter-spacing:.12em}.story h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;margin-top:12px!important}.story p{font-size:15px}
.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;border-top:1px solid #cbc9bd;padding-top:34px}.service-grid p{font-size:15px;margin:16px 0!important}.service-grid a{display:inline-block;padding:10px 0}
.trial-zone{background:#e8e8de;text-align:center}.trial-zone .home-section{max-width:850px}.trial-zone p{margin-top:22px;font-size:15px}.trial-zone .home-actions{justify-content:center}
@media(max-width:959px){.course-card{padding:22px}}
@media(max-width:959px){.home-hero{display:flex;flex-direction:column;aspect-ratio:auto;background:#f2eee6}.home-hero::before{content:none}.hero-photo{position:relative;inset:auto;z-index:auto;aspect-ratio:1670/942}.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(242,238,230,0) 68%,rgba(242,238,230,.35) 84%,#f2eee6 100%)}.hero-photo img{object-fit:contain}.hero-copy{width:100%;margin:0;padding:26px 24px 48px;text-align:center;color:#343e3e}.home-hero .hero-rule{width:48px;margin:20px auto 24px;background:#0168B7}.home-hero h1{font-size:clamp(30px,7.7vw,46px);white-space:normal}.hero-subtitle{font-size:clamp(13px,3.5vw,20px);white-space:nowrap;letter-spacing:0}}
@media(max-width:767px){.home-section{padding:58px 24px}.section-top{display:block}.section-top>a{display:inline-block;margin-top:18px}.course-grid,.story-grid,.service-grid{grid-template-columns:1fr}.course-grid{gap:14px}.course-card{padding:25px}.story-grid{gap:28px}.home-actions .button{flex:1 1 100%}.photo-pending{padding:25px;margin:24px}.intro{text-align:left}}
@media(prefers-reduced-motion:no-preference){.home-page main .button{transition:background .18s,color .18s}}

/* PCスクロール試作：220pxだけとどまり、既存の次セクションが重なる。 */
@media (min-width:960px) and (prefers-reduced-motion:no-preference){
 .hero-scroll-stage{height:calc(100vw * 916 / 1717 + 220px);margin-bottom:-220px}
 .home-hero{position:sticky;top:var(--site-header-height,48px)}
 .hero-scroll-stage + .intro{position:relative;background:#faf8f3;box-shadow:0 0 0 100vmax #faf8f3;clip-path:inset(0 -100vmax)}
}

/* 承認済みB案：以下はFVだけに適用。 */
@font-face{font-family:"SCHOLARUM Trial Shippori";src:url("fonts/shippori-mincho-600-copy.ttf") format("truetype");font-style:normal;font-weight:600;font-display:swap}
/* 2026-11-20 承認B案のFV限定反映。 */
@media(min-width:960px){
 .home-hero .hero-copy{width:35%;padding:24px 20px 24px 24px}
 .home-hero .hero-subtitle{font-size:clamp(15px,calc(2.34375vw - 9px),21px);white-space:nowrap}
}
.home-hero .hero-rule{height:1px;background:#7CCEF5}
@media(max-width:959px){
 .home-hero .hero-copy{width:100%;padding:30px 24px 48px;color:#343E3E}
 .home-hero .hero-rule{background:#D98B64}
}

.home-page .home-hero h1{font-family:"SCHOLARUM Trial Shippori","Yu Mincho","Hiragino Mincho ProN",serif;font-weight:600;font-size:clamp(36px,calc(4.458333vw - 5.7px),58.5px);letter-spacing:-.02em;line-height:1.25;font-synthesis:none}
.home-hero .hero-rule{width:144px;margin:24px 0 28px}
@media(max-width:959px){
 .home-page .home-hero h1{font-size:clamp(30px,8.7vw,46px);letter-spacing:-.01em;line-height:1.35}
 .home-hero .hero-rule{width:104px;margin:20px auto 24px}
 .home-hero .hero-copy{padding-top:22px;padding-bottom:48px}
 .home-hero .hero-photo::after{background:linear-gradient(to bottom,rgba(242,238,230,0) 65%,rgba(242,238,230,.35) 83%,#F2EEE6 98%)}
}

/* 句読点を含む各行の可視輪郭を独立して中心へ。直線には適用しない。 */
@media(max-width:959px){
 .home-hero .hero-subtitle{font-size:15px;font-weight:500;letter-spacing:.01em;line-height:1.6;color:#343E3E;white-space:nowrap}
 .home-hero .hero-line{display:inline-block;white-space:nowrap}
 .home-hero .hero-font-ready .hero-line--first{transform:translateX(.2555em)}
 .home-hero .hero-font-ready .hero-line--second{transform:translateX(.2985em)}
}
