
/* ===== Light / clear visual redesign ===== */
:root{
  --ink:#1b232c;
  --charcoal:#222831;
  --soft-gray:#f6f7f8;
  --line2:#e5e7ea;
}
body{color:var(--ink);background:#fff}
.site-header{border-top:0;background:#fff}
.header-top{height:102px}
.brand-mark{background:#fff;color:#0b579f;border:1px solid #dfe4e8;clip-path:none;border-radius:12px}
.brand-text strong{color:#20262d}
.utility{color:#39434e}
.global-nav{background:#fff;color:#222;border-top:1px solid #e7e9ec;border-bottom:1px solid #dfe3e7}
.home-link,.nav-toggle{color:#20262d;border-left:1px solid #e7e9ec}
.nav-group:last-child{border-right:1px solid #e7e9ec}
.nav-toggle:hover,.home-link:hover{background:#f6f7f8;color:#0b69c7}
.nav-toggle span{color:#7a838d}

/* Hero: preserve natural photo color. */
.hero-slider{background:#eee;min-height:590px}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(0,0,0,.64) 0%,
    rgba(0,0,0,.49) 34%,
    rgba(0,0,0,.17) 61%,
    rgba(0,0,0,.02) 82%);
}
.hero-slider .hero-inner{min-height:590px}
.hero-slider .hero-copy{width:50%}
.hero-slider .hero-copy h1{font-size:clamp(42px,4.7vw,66px);text-shadow:0 2px 15px rgba(0,0,0,.18)}
.hero-slider .hero-eyebrow{color:#fff;opacity:.9}
.hero-slider .button-primary{background:#fff;color:#222;border:1px solid #fff}
.hero-slider .button-primary:hover{background:#f2f2f2}
.slider-arrow{background:rgba(20,20,20,.36);border-color:rgba(255,255,255,.75)}
.slider-dot.is-active{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.25)}

/* Slider thumbnails become bright cards rather than another dark-blue band. */
.slider-tabs{padding:22px 0 10px;background:#fff}
.slider-tab-grid{gap:14px}
.slider-tab{
  min-height:140px;
  border:1px solid #e1e4e7;
  border-radius:8px;
  background:#fff;
  color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.04);
}
.slider-tab::after{background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.03) 75%)}
.slider-tab.is-active{border-color:var(--tab-color,#0b69c7)}
.slider-tab:nth-child(1){--tab-color:#1670bd}
.slider-tab:nth-child(2){--tab-color:#8250a7}
.slider-tab:nth-child(3){--tab-color:#56a33d}
.slider-tab:nth-child(4){--tab-color:#e07a24}
.slider-tab.is-active::before{background:var(--tab-color)}
.slider-tab small{background:var(--tab-color);padding:2px 7px;border-radius:20px;width:max-content}
.slider-tab strong{font-size:17px}

/* Main content: white space and restrained accent colors. */
.intro{background:#fff}
.section-kicker{color:#6a737d}
.section-heading h2{color:#20262d}
.section-heading p:last-child{color:#626b75}
.pillar-grid{gap:16px}
.pillar-card{
  border:1px solid #e4e6e9;
  border-top:4px solid var(--accent);
  box-shadow:none;
  border-radius:8px;
}
.pillar-card:hover{box-shadow:0 12px 30px rgba(0,0,0,.08)}
.pillar-icon{background:#f7f7f7}

/* Replace the large blue band with a light, readable message block. */
.future-banner{
  color:#222;
  background:#f4f5f6;
  border-top:1px solid #e7e8ea;
  border-bottom:1px solid #e7e8ea;
}
.future-banner:after{color:rgba(0,0,0,.025)}
.future-banner .section-kicker.light{color:#6b737b}
.future-copy p{color:#515961}
.future-banner .button-light{
  background:#222831;color:#fff;border:1px solid #222831;
}
.future-banner .button-light:hover{background:#111}

/* Quick links are color-coded but remain mostly white. */
.quick-links{background:#fff}
.quick-card{box-shadow:none;border-radius:7px}
.quick-card:hover{box-shadow:0 10px 26px rgba(0,0,0,.07)}
.quick-icon{background:#f6f6f6}

/* News and social are neutral. */
.news-section{background:#f7f8f9;border-top:1px solid #eceef0}
.news-title h2,.social-inner h2{color:#222831}
.news-list a{border-bottom-color:#dfe2e5}
.social-section{background:#fff}
.social-links a{border-radius:5px;background:#fff}

/* Footer: charcoal rather than blue. */
.site-footer{background:#20252b}
.footer-mark{background:#fff;color:#0b579f;border:0}
.footer-bottom{color:#cdd1d5}

@media(max-width:900px){
  .global-nav{background:#fff;color:#222}
  .home-link,.nav-toggle{color:#222;border-bottom:1px solid #e7e9ec}
  .hero-slider .hero-copy{width:76%}
}
@media(max-width:600px){
  .hero-slider .hero-copy{width:88%}
  .hero-slider .hero-copy h1{font-size:38px}
  .slider-tab-grid{gap:8px}
}


/* ===== v3: smaller hero + stronger text separation ===== */
.hero-slider{
  min-height:460px;
  background:#f2f3f4;
}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(0,0,0,.34) 0%,
    rgba(0,0,0,.14) 38%,
    rgba(0,0,0,.03) 72%,
    rgba(0,0,0,0) 100%);
}
.hero-slider .hero-inner{
  min-height:460px;
  align-items:center;
}
.hero-slider .hero-copy{
  width:min(520px,46%);
  background:rgba(255,255,255,.93);
  color:#20262d;
  padding:28px 32px 30px;
  border-radius:10px;
  box-shadow:0 12px 34px rgba(0,0,0,.14);
  backdrop-filter:blur(6px);
}
.hero-slider .hero-copy h1{
  color:#20262d;
  text-shadow:none;
  font-size:clamp(34px,3.8vw,52px);
  line-height:1.28;
  margin-bottom:16px;
}
.hero-slider .hero-eyebrow{
  color:#5f6a75;
  opacity:1;
  margin-bottom:16px;
}
.hero-slider .hero-lead{color:#20262d;font-size:18px}
.hero-slider .hero-text{color:#56616d;font-size:14px}
.hero-slider .text-link{color:#0b69c7}
.hero-slider .button-primary{
  background:#222831;color:#fff;border-color:#222831;
}
.hero-slider .button-primary:hover{background:#111}
.slider-arrow{background:rgba(255,255,255,.88);color:#222;border-color:#d9dde1}
.slider-arrow:hover{background:#fff}
.slider-dots{bottom:18px}
.slider-dot{background:rgba(255,255,255,.70);border:1px solid rgba(0,0,0,.15)}
.slider-dot.is-active{background:#222;box-shadow:0 0 0 3px rgba(255,255,255,.65)}
.slider-tabs{padding-top:14px}
.slider-tab{min-height:108px}
.slider-tab-inner{min-height:108px;padding:12px}
.slider-tab strong{font-size:15px}
.slider-tab span{font-size:11px}

@media(max-width:900px){
  .hero-slider{min-height:420px}
  .hero-slider .hero-inner{min-height:420px}
  .hero-slider .hero-copy{width:min(540px,74%)}
}
@media(max-width:600px){
  .hero-slider{min-height:390px}
  .hero-slider .hero-inner{min-height:390px}
  .hero-slider .hero-copy{
    width:calc(100% - 42px);
    padding:22px 22px 24px;
  }
  .hero-slider .hero-copy h1{font-size:32px}
  .hero-slider .hero-text{display:none}
  .hero-slider .hero-actions{margin-top:18px}
  .slider-tab{min-height:92px}
  .slider-tab-inner{min-height:92px}
  .slider-tab span{display:none}
}


/* ===== v4: clean hero ===== */
.slider-tabs{display:none!important}

.hero-slider{
  min-height:440px;
  background:#e9ecef;
}
.hero-slider .hero-inner{
  min-height:440px;
}
.hero-slide img{
  object-fit:cover;
  object-position:center;
}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.43) 32%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,.03) 78%,
    rgba(0,0,0,0) 100%);
}
.hero-slider .hero-copy{
  width:min(570px,52%);
  background:transparent;
  color:#fff;
  padding:0;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
}
.hero-slider .hero-copy h1{
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.30);
  font-size:clamp(35px,4vw,54px);
}
.hero-slider .hero-eyebrow{
  color:#fff;
  text-shadow:0 1px 8px rgba(0,0,0,.28);
}
.hero-slider .hero-lead{color:#fff}
.hero-slider .hero-text{color:#f3f3f3;text-shadow:0 1px 7px rgba(0,0,0,.25)}
.hero-slider .text-link{color:#fff}
.hero-slider .button-primary{
  background:#fff;
  color:#20262d;
  border-color:#fff;
}
.slider-dots{bottom:16px}

@media(max-width:900px){
  .hero-slider,.hero-slider .hero-inner{min-height:410px}
  .hero-slider .hero-copy{width:70%}
}
@media(max-width:600px){
  .hero-slider,.hero-slider .hero-inner{min-height:380px}
  .hero-slider .hero-copy{width:82%;padding-left:8px}
  .hero-slider .hero-copy h1{font-size:31px}
}


/* ===== v5: white header + blue global navigation ===== */
.global-nav{
  background:linear-gradient(90deg,#0a4fa4,#003e89);
  color:#fff;
  border-top:0;
  border-bottom:0;
}
.home-link,.nav-toggle{
  color:#fff;
  border-left:1px solid rgba(255,255,255,.24);
}
.nav-group:last-child{
  border-right:1px solid rgba(255,255,255,.24);
}
.nav-toggle:hover,.home-link:hover{
  background:rgba(255,255,255,.09);
  color:#fff;
}
.nav-toggle span{color:#fff}
.nav-panel{
  background:#fff;
  color:#20262d;
}
.nav-panel a{color:#20262d}
.nav-panel a:hover{background:#f3f7fb;color:#0b69c7}

@media(max-width:900px){
  .global-nav{background:#06458e;color:#fff}
  .home-link,.nav-toggle{
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.18);
  }
}


/* ===== v6: final hero image replacement ===== */
.hero-slide:nth-child(1) img{object-position:center 52%}
.hero-slide:nth-child(2) img{object-position:center 48%}
.hero-slide:nth-child(3) img{object-position:center 50%}
.hero-slide:nth-child(4) img{object-position:center 45%}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(0,0,0,.56) 0%,
    rgba(0,0,0,.39) 29%,
    rgba(0,0,0,.13) 52%,
    rgba(0,0,0,.02) 76%,
    rgba(0,0,0,0) 100%);
}


/* ===== v8: sticky global navigation ===== */
.global-nav{
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
}
.site-header{
  position:relative;
  z-index:110;
}
@media(max-width:900px){
  .global-nav{
    position:static;
    box-shadow:none;
  }
}


/* ===== v9: agreed final hero images ===== */
.hero-slide:nth-child(1) img{object-position:center 52%}
.hero-slide:nth-child(2) img{object-position:center 46%}
.hero-slide:nth-child(3) img{object-position:center 52%}
.hero-slide:nth-child(4) img{object-position:center 48%}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.40) 28%,
    rgba(0,0,0,.14) 51%,
    rgba(0,0,0,.03) 76%,
    rgba(0,0,0,0) 100%);
}


/* ===== v10: robust fixed blue navigation ===== */
.global-nav.nav-fixed{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:1000;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}
.nav-spacer{
  display:none;
  height:62px;
}
.nav-spacer.is-active{
  display:block;
}
@media(max-width:900px){
  .global-nav.nav-fixed{
    position:static !important;
    box-shadow:none;
  }
  .nav-spacer,
  .nav-spacer.is-active{
    display:none;
  }
}


/* ===== v12: TOP information hierarchy cleanup ===== */
/* Four pillars are informational cards, not navigation links. */
.pillar-card{
  cursor:default;
  text-decoration:none;
}
.pillar-card:hover{
  transform:none;
  box-shadow:none;
}


/* ===== v15: richer "find your future" section ===== */
.future-banner{
  padding:82px 0 76px;
  background:#f5f7f8;
  color:#20262d;
}
.future-heading{
  max-width:820px;
  margin:0 auto 38px;
  text-align:center;
}
.future-heading h2{
  color:#20262d;
  font-size:clamp(34px,4.2vw,52px);
  line-height:1.35;
  margin-bottom:20px;
}
.future-intro{
  max-width:760px;
  margin:0 auto;
  color:#58636e !important;
  line-height:2;
  font-size:16px;
}
.future-card-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  max-width:1040px;
  margin:0 auto;
}
.future-card{
  position:relative;
  background:#fff;
  border:1px solid #e0e5e9;
  border-radius:10px;
  padding:34px 34px 32px;
  box-shadow:0 7px 22px rgba(25,42,60,.045);
}
.future-card:nth-child(1){border-top:4px solid #1670bd}
.future-card:nth-child(2){border-top:4px solid #8250a7}
.future-card:nth-child(3){border-top:4px solid #56a33d}
.future-card-wide{
  grid-column:1 / -1;
  padding-right:38px;
}
.future-number{
  display:block;
  margin-bottom:14px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  color:#87919b;
}
.future-card h3{
  margin:0 0 15px;
  color:#20262d;
  font-size:24px;
  line-height:1.5;
}
.future-card p{
  margin:0;
  color:#5a6570 !important;
  line-height:1.9;
  font-size:15px;
}
.future-card p strong{color:#27323c}
.future-fields{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.future-fields span{
  min-width:72px;
  padding:8px 15px;
  border-radius:999px;
  background:#eef6eb;
  border:1px solid #d4e8cd;
  color:#3f7832;
  font-size:13px;
  font-weight:800;
  text-align:center;
}
.future-message{
  margin:38px auto 0 !important;
  text-align:center;
  color:#4c5660 !important;
  font-size:20px;
  line-height:1.8;
}
.future-message strong{
  color:#0b579f;
  font-size:26px;
}

@media(max-width:700px){
  .future-banner{padding:60px 0}
  .future-card-grid{grid-template-columns:1fr}
  .future-card-wide{grid-column:auto}
  .future-card{padding:27px 24px}
  .future-card h3{font-size:21px}
  .future-message{font-size:17px}
  .future-message strong{font-size:21px}
}


/* ===== v16 final hero image set ===== */
.hero-slide:nth-child(1) img{object-position:center 52%}
.hero-slide:nth-child(2) img{object-position:center 48%}
.hero-slide:nth-child(3) img{object-position:center 50%}
.hero-slide:nth-child(4) img{object-position:center 46%}
.hero-slide::after{
  background:linear-gradient(90deg,
    rgba(0,0,0,.58) 0%,
    rgba(0,0,0,.41) 29%,
    rgba(0,0,0,.15) 52%,
    rgba(0,0,0,.03) 76%,
    rgba(0,0,0,0) 100%);
}


/* ===== v19: concluding future message one step larger ===== */
.future-message{
  font-size:24px;
}
.future-message strong{
  font-size:30px;
}
@media(max-width:700px){
  .future-message{font-size:20px}
  .future-message strong{font-size:25px}
}


/* ===== v20: keep quick-navigation heading on one line on desktop ===== */
.quick-links .section-heading h2{
  white-space:nowrap;
  font-size:clamp(30px,3.6vw,46px);
}
@media(max-width:600px){
  .quick-links .section-heading h2{
    white-space:normal;
    font-size:30px;
  }
}


/* ===== v21: prevent awkward 3-line future heading ===== */
.future-heading h2{
  white-space:nowrap;
  font-size:clamp(32px,3.6vw,46px);
}
@media(max-width:700px){
  .future-heading h2{
    white-space:normal;
    font-size:30px;
  }
}

/* ===== v22: restore 「まだ、」 and keep the heading in two lines ===== */
.future-heading h2{
  white-space:normal;
  font-size:clamp(30px,3.35vw,43px);
}
.future-heading h2 br{display:block}

/* preparing navigation items */
.nav-preparing{display:inline-flex;align-items:center;gap:5px;opacity:.72;cursor:default}
.nav-preparing small{font-size:.62em;font-weight:800;color:#c62828;white-space:nowrap}

/* v13: align preparing nav items with normal navigation links */
.nav-preparing{
  font:inherit;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  letter-spacing:inherit;
  vertical-align:middle;
}
.nav-preparing small{
  font-size:9px;
  line-height:1;
}

/* v14: keep each preparing menu item as one normal nav item */
.nav-preparing{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  white-space:nowrap;
}
.nav-preparing small{
  display:block;
  font-size:8px;
  line-height:1;
}

/* v15: dropdown preparing items align with 授業紹介 */
.nav-preparing{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100%;
  box-sizing:border-box;
  text-align:left !important;
  white-space:nowrap;
}
.nav-preparing small{
  display:inline-block;
  margin-left:7px;
  font-size:8px;
  line-height:1;
}

/* v16: preparing entries exactly match normal dropdown item typography/alignment */
.nav-preparing{
  display:block !important;
  width:auto !important;
  margin:0 !important;
  padding:14px 22px !important;
  box-sizing:border-box !important;
  color:#1d2630 !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.4 !important;
  letter-spacing:0 !important;
  text-align:left !important;
  white-space:nowrap !important;
  border-top:1px solid #e5e9ed;
}
.nav-preparing small{
  display:inline !important;
  margin-left:7px !important;
  padding:0 !important;
  color:#d84b4b !important;
  font-size:9px !important;
  font-weight:800 !important;
  line-height:1 !important;
  vertical-align:middle !important;
}

/* v17: slightly reduce preparing dropdown item text */
.nav-preparing{
  font-size:15px !important;
}

/* v18: reduce preparing dropdown item text a little more */
.nav-preparing{
  font-size:14px !important;
}

.footer-preparing{color:inherit;opacity:.72;cursor:default}
